:root {
    /* Color Palette */
    --color-primary: #FF6600;      /* Orange */
    --color-primary-dark: #E65C00;
    --color-secondary: #2ECC71;    /* Green */
    --color-secondary-dark: #27AE60;
    --color-bg: #FFFFFF;           /* Neutral Background */
    --color-dark: #1A1A1A;         /* Near Black */
    --color-light: #F5F5F5;        /* Very Light Gray */
    --color-white: #FFFFFF;
    --color-text: #333333;         /* Dark Gray */
    --color-text-light: #666666;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--color-dark);
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Allow features section to be wider */
.what-is-section .container,
.benefits-section .container {
    max-width: 1400px;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--color-primary);
}

/* Header */
.site-header {
    padding: var(--spacing-sm) 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
}

.logo-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

/* Desktop Navigation */
.desktop-nav {
    display: none; /* Hidden by default (mobile-first) */
    gap: var(--spacing-md);
}

.desktop-nav a {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.95rem;
}

.desktop-nav a:hover {
    color: var(--color-primary);
}

/* Simple Header Links (static pages) */
.header-links {
    display: flex;
    gap: var(--spacing-md);
}

.header-links a {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.95rem;
}

.header-links a:hover {
    color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-dark);
    cursor: pointer;
    padding: 0.5rem;
    display: block; /* Visible on mobile */
}

/* Mobile Side Drawer */
.mobile-side-drawer {
    position: fixed;
    top: 0;
    right: -280px; /* Hidden off-canvas */
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 200;
    padding: var(--spacing-md);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.mobile-side-drawer.is-open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.close-drawer {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-light);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-nav a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-light);
}

.mobile-nav a:hover {
    color: var(--color-primary);
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Media Query for Desktop Header */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }

    .desktop-nav {
        display: flex;
    }
}

/* Buttons */
.app-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
    justify-content: center;
}

.btn-store {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    font-size: 0.75rem;
    border: 2px solid transparent;
    width: auto;
    min-width: 170px;
    height: auto;
    white-space: nowrap;
}

.btn-store strong {
    font-size: 1rem;
    display: block;
}

.btn-store:hover {
    transform: translateY(-2px);
    background-color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-apple {
    background-color: #000;
}

.btn-google {
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
}
.btn-google:hover {
    background-color: #f8f8f8;
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--spacing-xl) + 2rem);
    padding-bottom: var(--spacing-lg);
    background: linear-gradient(to bottom, #f9fbfd 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-subhead {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-content {
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background-color: #fff;
    border-radius: 40px;
    border: 12px solid var(--color-dark);
    position: relative;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.3);
    margin: 0 auto;
    overflow: hidden;
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotate(-5deg);
}

.phone-notch {
    /* old notch hidden — dynamic island is provided via pseudo-elements on phone containers */
    display: none;
}

/* Shared Dynamic Island for phone containers */
.phone-screen::before,
.phone-frame-small::before {
    content: '';
    position: absolute;
    top: var(--island-top);
    left: 50%;
    transform: translateX(-50%);
    width: var(--island-width);
    height: var(--island-height);
    background-color: var(--color-dark);
    border-radius: var(--island-radius);
    z-index: 30;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Camera / sensor dot inside the island */
.phone-screen::after,
.phone-frame-small::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    background-color: #444;
    border-radius: 50%;
    z-index: 31;
    top: calc(var(--island-top) + (var(--island-height) / 2));
    transform: translateY(-50%);
    left: calc(50% - (var(--island-width) / 2) + var(--island-dot-inset));
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #0d0d0d;
    position: relative;
    overflow: hidden;
    --island-top: 8px;
    --island-height: 22px;
    --island-width: 56px;
    --island-radius: 12px;
    --island-dot-inset: 16px;
}

.screenshot-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.screen-placeholder {
    position: absolute;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-text-light);
    font-size: 1.5rem;
    left: -1px;
    top: -1px;
    border-radius: 12px;
    box-shadow: none;
    transition: transform 0.5s ease;
}

/* iPhone home indicator (gray line) at bottom of every screen placeholder */
.screen-placeholder::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 6px;
    background: #e6e6e6;
    border-radius: 999px;
    z-index: 25;
    opacity: 0.9;
}

.screen-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    pointer-events: none;
}

/* Stacked Effect */
.screen-1 {
    z-index: 3;
    transform: rotate(0deg);
}

/* Sections General */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-lead {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    width: 100%;
}

.feature-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform var(--transition-normal);
    text-align: center;
    min-width: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.feature-text {
    flex: 1;
}

.feature-card h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark);
}

.feature-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Tablet: 2 columns */
@media (max-width: 1023px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: single column with left-aligned icon */
@media (max-width: 599px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        display: flex;
        align-items: flex-start;
        text-align: left;
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }

    .feature-icon {
        font-size: 1.8rem;
        margin-bottom: 0;
        flex-shrink: 0;
        margin-top: 0.2rem;
    }

    .feature-text {
        flex: 1;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }
}

/* How It Works */
.how-it-works-section {
    background-color: #f9fbfd;
}

.step-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

/* make step rows positioned so we can place full-width separators */
.step-row {
    position: relative;
}

/* Full-width gray separator before the 2nd step */
.step-row:nth-of-type(2)::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -28px;
    width: 100vw;
    height: 6px;
    background: #e6e6e6;
    z-index: 1;
}

/* Center first step and hide its visual column */
.step-row:nth-of-type(1) {
    justify-content: center;
}

.step-row:nth-of-type(1) .step-visual {
    display: none;
}

.step-row:last-child {
    margin-bottom: 0;
}

.step-content {
    text-align: center;
    max-width: 500px;
}

.step-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    background: rgba(255, 102, 0, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: var(--spacing-sm);
}

.phone-frame-small {
    width: 240px;
    height: 480px;
    background: #fff;
    border: 8px solid var(--color-dark);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    --island-top: 8px;
    --island-height: 22px;
    --island-width: 70px;
    --island-radius: 14px;
    --island-dot-inset: 16px;
}

.placeholder-content {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Rules Section */
.rules-section {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.rules-card {
    max-width: 800px;
    margin: 0 auto;
}

/* Grid wrapper for rules cards (Ground Rules + Personal Rules) */
.rules-grid {
    display: grid;
    gap: var(--spacing-md);
}

/* When rules are placed in the grid, limit card width so text stays readable */
.rules-grid .rules-card {
    max-width: 560px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
}

@media (min-width: 900px) {
    .rules-grid {
        /* ensure each column keeps a comfortable minimum width so text doesn't wrap too much */
        grid-template-columns: repeat(2, minmax(420px, 1fr));
        gap: var(--spacing-lg);
        align-items: start;
        justify-content: center;
        max-width: 1500px;
        margin: 0 auto;
    }
    .rules-card h2 {
        text-align: center;
    }
    /* ensure cards remain centered inside each grid column */
    .rules-grid .rules-card {
        max-width: 720px;
        margin: 0 auto;
    }
}

/* Allow the rules section container to expand wider than the site container on large screens */
.rules-section > .container {
    max-width: 1500px;
    width: 95%;
}

@media (min-width: 1100px) {
    /* On wider screens, allow two columns inside each card but keep minimum tile width */
    .rules-card .rules-list {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        gap: 1rem;
    }
}

.rules-card h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
}

.mode-label {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: -4rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
    display: block;
}

.rules-list {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: 1fr; /* make each rule item span full card width by default */
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.04);
    padding: 0.6rem; /* compact padding */
    border-radius: calc(var(--radius-sm) - 2px);
}

.rule-icon {
    font-size: 1rem;
    background: rgba(255,255,255,0.08);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--color-primary);
}

/* Personal rules specific icon color */
.personal-rule-icon {
    color: var(--color-secondary);
    background: rgba(46,204,113,0.08);
}

.rules-card h2 {
    font-size: 1.25rem;
}

.rule-text strong {
    display: block;
    font-size: 0.95rem; /* compact strong */
    margin-bottom: 0.125rem;
}

.rule-text p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.25;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    width: 100%;
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-md);
    border: 1px solid var(--color-light);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.benefit-text {
    flex: 1;
}

.benefit-item h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
    color: var(--color-dark);
}

.benefit-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.faq-accordion {
    display: grid;
    gap: var(--spacing-sm);
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.faq-item[open] {
    border-color: rgba(255,102,0,0.25);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.faq-item summary::after {
    content: '+';
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-light);
    color: var(--color-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.faq-item[open] summary::after {
    content: '-';
    background: rgba(255,102,0,0.15);
    color: var(--color-primary-dark);
}

.faq-content {
    padding-top: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    border-top: 1px solid var(--color-light);
}

.faq-content p {
    color: var(--color-text);
}

.faq-content p:last-child {
    margin-bottom: 0;
}

.faq-content ul,
.faq-content ol {
    margin-bottom: var(--spacing-sm);
    padding-left: 1.25rem;
    color: var(--color-text);
}

.faq-content ul {
    list-style: disc;
}

.faq-content ol {
    list-style: decimal;
}

.faq-content li {
    margin-bottom: 0.35rem;
}

.faq-content li:last-child {
    margin-bottom: 0;
}

.faq-group + .faq-group {
    margin-top: var(--spacing-lg);
}

.faq-group-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.faq-actions {
    margin-top: var(--spacing-md);
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.6rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-round);
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(255,102,0,0.2);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--color-primary-dark);
    box-shadow: 0 16px 32px rgba(255,102,0,0.28);
}

/* Tablet: 2 columns */
@media (max-width: 1023px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: single column with left-aligned icon */
@media (max-width: 599px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: var(--spacing-sm);
    }

    .benefit-icon {
        font-size: 1.8rem;
        flex-shrink: 0;
        margin-top: 0.2rem;
    }

    .benefit-text {
        flex: 1;
    }

    .benefit-item h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .benefit-item p {
        font-size: 0.85rem;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
}

.cta-section h2 {
    color: var(--color-white);
}

.cta-subhead {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
}

.cta-section .btn-store {
    background-color: var(--color-white);
    color: var(--color-dark);
    border: none;
}
.cta-section .btn-store:hover {
    background-color: #f0f0f0;
}

.cta-section .app-buttons {
    justify-content: center;
}


/* Footer */
footer {
    background-color: #f8f9fa;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--color-light);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-brand strong {
    font-size: 1.25rem;
    color: var(--color-dark);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.copyright {
    text-align: center;
    color: #999;
    font-size: 0.8rem;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries (Desktop) */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }

    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .hero-content {
        align-items: flex-start;
        max-width: 50%;
    }

    .hero-subhead {
        margin: 0;
    }

    /* .features-grid removed to allow 4 columns from base style */

    .step-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .step-row.reverse {
        flex-direction: row-reverse;
    }

    .step-content {
        text-align: left;
        max-width: 45%;
    }

    .rules-list {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Pairing Section */
.pairing-section {
    background-color: var(--color-bg);
    overflow: hidden;
}

.pairing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pairing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    width: 100%;
}

.pairing-card {
    background: var(--color-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.pairing-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.pairing-success {
    color: var(--color-secondary);
}

.pairing-fail {
    color: #e74c3c; /* Red for fail */
}

.pairing-text {
    flex: 1;
}

.pairing-card h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark);
}

.pairing-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Mobile: single column with left-aligned icon */
@media (max-width: 599px) {
    .pairing-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: var(--spacing-sm);
    }

    .pairing-icon {
        font-size: 1.8rem;
        flex-shrink: 0;
        margin-top: 0.2rem;
    }

    .pairing-text {
        flex: 1;
    }

    .pairing-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .pairing-card p {
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) {
    .pairing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
