/* =====================================================================
   Stack2 — Site CSS
   Layers: fonts → design tokens → typography → marketing sections →
           Bootstrap overrides → blog / pagination helpers
   ===================================================================== */

/* ---------------------------------------------------------------------
   Web fonts
   --------------------------------------------------------------------- */
@font-face {
    font-family: 'Petita';
    src: url('fonts/Petita.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Scuper';
    src: url('fonts/Scuper.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ---------------------------------------------------------------------
   Design tokens
   --------------------------------------------------------------------- */
:root {
    /* Brand core */
    --brand-dark:          #1a1a1e;
    --brand-green:         #6fd957;
    --brand-bg:            #f5f5f5;
    --brand-dark-deeper:   #0a121a;

    /* Surfaces */
    --app-bg:              #f5f5f5;
    --app-surface:         #ffffff;
    --app-surface-raised:  #f0f0f0;
    --app-border:          rgba(0,0,0,0.08);
    --app-border-subtle:   rgba(0,0,0,0.05);

    /* Text */
    --fg1:                 #1a1a1e;
    --fg2:                 #5a5a64;
    --fg3:                 #9a9aa8;
    --fg-on-dark:          #f5f5f5;
    --fg-on-dark-muted:    rgba(245,245,245,0.72);

    /* Accent – Stack2 green */
    --app-accent:          #6fd957;
    --app-accent-hover:    #42ac27;
    --app-accent-text:     #1e7200;
    --app-accent-text-hover: #145200;
    --app-accent-subtle:   rgba(111,217,87,0.10);
    --app-accent-border:   rgba(111,217,87,0.30);

    /* Shadows */
    --app-shadow:    0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --app-shadow-md: 0 4px 14px rgba(0,0,0,0.09), 0 2px 4px rgba(0,0,0,0.05);
    --app-shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);

    /* Focus ring */
    --focus-ring: 0 0 0 3px rgba(111,217,87,0.22);

    /* Radii */
    --app-radius-sm:   0.4rem;
    --app-radius:      0.6rem;
    --app-radius-lg:   0.75rem;
    --app-radius-pill: 100px;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4rem;
    --space-8: 6rem;

    /* Typography – family */
    --font-display: 'Petita', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-body:    'Petita', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Typography – scale */
    --fs-eyebrow:    0.67rem;
    --fs-meta:       0.72rem;
    --fs-label:      0.78rem;
    --fs-body:       0.875rem;
    --fs-h6:         0.95rem;
    --fs-h5:         1.05rem;
    --fs-h4:         1.2rem;
    --fs-h3:         1.45rem;
    --fs-h2:         1.85rem;
    --fs-h1:         2.4rem;
    --fs-display:    3.25rem;

    --lh-tight:  1.15;
    --lh-snug:   1.25;
    --lh-normal: 1.45;
    --lh-loose:  1.7;

    --ls-eyebrow: 0.10em;
    --ls-display: -0.015em;

    /* Override Bootstrap 5 link colour variables */
    --bs-link-color:           #1e7200;
    --bs-link-color-rgb:       30, 114, 0;
    --bs-link-hover-color:     #145200;
    --bs-link-hover-color-rgb: 20, 82, 0;
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: var(--lh-normal);
    color: var(--fg1);
    background-color: var(--app-bg);
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

/* Global link colour — overrides Bootstrap's default blue */
a {
    color: var(--app-accent-text) !important;
    text-decoration: none !important;
}
a:hover {
    color: var(--app-accent-text-hover) !important;
    text-decoration: underline !important;
}

/* Marketing headings */
.site-main h1, .site-main h2,
.site-main .h1, .site-main .h2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: var(--ls-display);
    line-height: var(--lh-snug);
}

/* =========================
   Page container
   ========================= */
.site-main { width: 100%; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-dark { background: var(--brand-dark-deeper); color: var(--fg-on-dark); }
.section-dark .eyebrow { background: rgba(255,255,255,0.08); color: rgba(245,245,245,0.85); }

/* =========================
   Site nav — Bootstrap navbar with design-system styling
   ========================= */
.site-header {
    position: sticky; top: 0; z-index: 100;
}

.site-header .site-navbar {
    background: var(--brand-dark-deeper) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    /* Use Bootstrap's padding var to set row height — avoids the min-height
       fight that causes the logo to jump when collapse opens */
    --bs-navbar-padding-y: 1.1rem;
    --bs-navbar-padding-x: 0;
}

/* container-fluid inside .navbar gets display:flex from Bootstrap automatically;
   we just constrain its width and set horizontal padding here */
.site-header .site-nav-container {
    max-width: 1180px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Logo */
.site-header .site-nav-brand { padding: 0; }
.site-header .site-nav-brand img { height: 28px; display: block; }

/* Nav links */
.site-header .site-nav-links .nav-link {
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important; font-weight: 500 !important;
    color: rgba(245,245,245,0.78) !important;
    padding: 6px 0.6rem !important;
}
.site-header .site-nav-links .nav-link:hover,
.site-header .site-nav-links .nav-link:focus {
    color: var(--fg-on-dark) !important;
}

/* Dropdown menus */
.site-header .site-dropdown {
    background: #111820;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--app-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.3);
    padding: 0.4rem 0;
    margin-top: 0.35rem !important;
    min-width: 13rem;
}
.site-header .site-dropdown .dropdown-item {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(245,245,245,0.78) !important;
    padding: 0.42rem 0.75rem;
    margin: 0 0.4rem;
    width: calc(100% - 0.8rem);
    border-radius: var(--app-radius-sm);
    background: transparent;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.site-header .site-dropdown .dropdown-item:hover,
.site-header .site-dropdown .dropdown-item:focus {
    background: rgba(255,255,255,0.08) !important;
    color: var(--fg-on-dark) !important;
}
.site-header .site-dropdown .dropdown-item i {
    font-size: 0.85em;
    width: 1.1rem;
    flex: none;
    text-align: center;
    margin-right: 0.55rem;
    color: rgba(245,245,245,0.4);
}
.site-header .site-dropdown .dropdown-item:hover i,
.site-header .site-dropdown .dropdown-item:focus i {
    color: var(--brand-green);
}
.site-header .site-dropdown .dropdown-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 0.3rem 0;
}
.site-header .site-dropdown .dropdown-header {
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245,245,245,0.35);
    padding: 0.4rem 1rem 0.2rem;
}

/* Mega menu (used by the For Business / For Agencies dropdowns) — both are now a
   single-column panel, so there's just one shape here rather than a base two-column
   layout plus modifier overrides. */
.site-header .site-dropdown-mega {
    grid-template-columns: 1fr;
    min-width: 16rem;
    padding: 0.9rem 1.1rem;
}
/* Bootstrap toggles display via .show — only switch to grid once shown,
   otherwise the menu overrides .dropdown-menu's display:none and stays open */
.site-header .site-dropdown-mega.show { display: grid; }
.site-header .site-dropdown-mega .site-dropdown-col { display: flex; flex-direction: column; }
.site-header .site-dropdown-mega .dropdown-header { padding: 0.6rem 0.75rem 0.25rem; }
.site-header .site-dropdown-mega .dropdown-divider { margin: 0.4rem 0.25rem; }

.site-header .site-dropdown-mega .dropdown-subheader {
    font-size: 0.64rem;
    color: rgba(245,245,245,0.42);
}
.site-header .site-dropdown-mega .site-dropdown-subgroup {
    margin-top: 0.5rem;
    padding: 0.5rem 0.5rem 0.6rem;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--app-radius-sm);
}

/* Sign in link */
.site-nav-login {
    font-family: var(--font-body);
    font-size: 0.9rem !important; font-weight: 500;
    color: rgba(245,245,245,0.78) !important;
    padding: 6px 10px;
    text-decoration: none !important;
    white-space: nowrap;
}
.site-nav-login:hover { color: var(--fg-on-dark) !important; text-decoration: none !important; }

/* Hamburger toggler */
.site-header .site-nav-toggler {
    border: 1px solid rgba(255,255,255,0.22) !important;
    border-radius: var(--app-radius-sm) !important;
    color: var(--fg-on-dark) !important;
    padding: 0.3rem 0.5rem !important;
    font-size: 1.3rem !important;
    line-height: 1;
}
.site-header .site-nav-toggler:focus { box-shadow: none !important; }

/* Mobile compact CTA */
.site-nav-cta-mobile { padding: 0.45rem 0.85rem !important; font-size: 0.85rem !important; }

/* Mobile collapse panel */
@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        border-top: 1px solid rgba(255,255,255,0.06);
        padding-bottom: 1.25rem;
    }
    /* .site-header is position:sticky, so once open the collapse panel is
       pinned under the navbar row and page scroll can't reach content that
       runs past the viewport (e.g. the full Solutions mega menu) — give the
       panel its own scroll region instead. */
    .site-header .navbar-collapse.show {
        max-height: calc(100vh - 4.2rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .site-header .site-nav-links .nav-link {
        padding: 0.55rem 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
        font-size: 1rem !important;
    }
    .site-header .site-nav-cta-desktop { padding-top: 0.75rem !important; }
    .site-header .site-nav-cta-desktop .site-nav-login { padding-left: 0 !important; }
}

/* =========================
   Marketing buttons
   ========================= */
.mbtn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.7rem 1.2rem;
    border-radius: var(--app-radius-sm);
    font-size: 0.95rem; font-weight: 600;
    border: 1px solid transparent;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
    text-decoration: none;
}
.mbtn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.mbtn-primary { background: var(--app-accent); color: var(--brand-dark) !important; border-color: var(--app-accent); }
.mbtn-primary:hover { background: var(--app-accent-hover); border-color: var(--app-accent-hover); color: var(--brand-dark) !important; text-decoration: none !important; }
.mbtn-dark { background: var(--brand-dark); color: #f5f5f5 !important; border-color: var(--brand-dark); }
.mbtn-dark:hover { background: #2e2e35; border-color: #2e2e35; color: var(--fg-on-dark) !important; text-decoration: none !important; }
.mbtn-outline-light { background: transparent; color: var(--fg-on-dark) !important; border-color: rgba(255,255,255,0.22); }
.mbtn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); color: var(--fg-on-dark) !important; text-decoration: none !important; }
.mbtn-outline-dark { background: transparent; color: var(--brand-dark) !important; border-color: rgba(0,0,0,0.2); }
.mbtn-outline-dark:hover { background: var(--app-surface-raised); text-decoration: none !important; }
.mbtn-lg { padding: 0.9rem 1.5rem; font-size: 1rem; }

/* =========================
   Eyebrow chip
   ========================= */
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(245,245,245,0.85);
    background: var(--brand-dark);
    border-radius: 100px;
    padding: 0.35em 0.95em;
}
.eyebrow > i { color: var(--brand-green); font-size: 0.82rem; }
.eyebrow.eyebrow-soft { background: rgba(111,217,87,0.12); color: var(--app-accent-text); }
.eyebrow.eyebrow-soft > i { color: var(--app-accent-text); }

/* =========================
   Section heading
   ========================= */
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section-head h2 {
    font-family: var(--font-body);
    font-size: clamp(1.85rem, 3.4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 1rem 0 0.75rem;
    color: var(--fg1);
    text-wrap: balance;
}
.section-dark .section-head h2 { color: var(--fg-on-dark); }
.section-head p { font-size: 1.05rem; color: var(--fg2); line-height: 1.55; margin: 0; text-wrap: balance; }
.section-dark .section-head p { color: rgba(245,245,245,0.7); }

/* =========================
   Hero
   ========================= */
.hero {
    position: relative;
    background: var(--brand-dark-deeper);
    color: var(--fg-on-dark);
    overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(111,217,87,0.10), transparent 60%),
        radial-gradient(700px 460px at 8% 110%, rgba(111,217,87,0.06), transparent 65%);
    pointer-events: none;
}
.hero-wrap { position: relative; z-index: 1; padding: 6rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }

.hero-display {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.4vw, 4.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.02;
    margin: 1rem 0 1.25rem;
    color: var(--fg-on-dark);
    text-wrap: balance;
}
.hero-display .accent,
.page-hero-title .accent,
.section-head .accent { color: var(--brand-green); }
.hero-sub {
    font-size: 1.125rem; line-height: 1.55;
    color: rgba(245,245,245,0.78);
    max-width: 38rem; margin: 0 0 1.75rem;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-trust {
    display: flex; gap: 1.25rem; margin-top: 1.75rem;
    color: rgba(245,245,245,0.6); font-size: 0.85rem; flex-wrap: wrap;
    align-items: center;
}
.hero-trust .dot { color: rgba(245,245,245,0.3); }
.hero-trust i { color: var(--brand-green); }

/* Hero "browser" mock */
.hero-mock {
    background: #15181d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.85rem;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 12px 24px -8px rgba(0,0,0,0.4);
    overflow: hidden;
}
.hero-mock-chrome {
    display: flex; align-items: center; gap: 8px;
    padding: 0.7rem 1rem;
    background: #1d2026;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-mock-chrome .tlight { width: 11px; height: 11px; border-radius: 50%; background: #3a3d44; }
.hero-mock-url {
    margin-left: 1rem; flex: 1;
    background: #0f1216; border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.4rem; padding: 4px 10px;
    font-family: var(--font-mono); font-size: 0.78rem;
    color: rgba(245,245,245,0.55);
    display: inline-flex; align-items: center; gap: 6px;
}
.hero-mock-url .lock { color: var(--brand-green); }
.hero-mock-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.hero-mock-row {
    display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem;
    background: #1a1d22; border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.5rem;
}
.hero-mock-row .ico {
    width: 32px; height: 32px; border-radius: 0.4rem;
    background: rgba(111,217,87,0.12); color: var(--brand-green);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.hero-mock-row .l { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hero-mock-row .l b { font-size: 0.85rem; color: var(--fg-on-dark); font-weight: 600; }
.hero-mock-row .l span { font-size: 0.75rem; color: rgba(245,245,245,0.55); font-family: var(--font-mono); }
.hero-mock-row .val { font-size: 0.78rem; color: rgba(245,245,245,0.72); font-family: var(--font-mono); }
.hero-mock-row .ok { color: var(--brand-green); }

/* Single-column hero variant (partner-first hero, no dashboard mock) */
.hero-grid-single { grid-template-columns: 1fr; max-width: 44rem; margin: 0 auto; text-align: center; }
.hero-grid-single .hero-cta,
.hero-grid-single .hero-trust { justify-content: center; }
.hero-grid-single .hero-sub { max-width: none; }
.hero-sub-personality { font-size: 1rem; color: rgba(245,245,245,0.6); }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-wrap { padding: 4rem 0 3.5rem; }
}
@media (max-width: 600px) {
    .hero-display { font-size: 2.1rem; }
    .hero-sub { font-size: 1rem; }
    .hero-trust { font-size: 0.78rem; gap: 0.75rem; }
    .wrap { padding: 1.25rem 1.25rem; }
}

/* =========================
   Page hero (inner pages)
   ========================= */
.page-hero {
    position: relative;
    background: var(--brand-dark-deeper);
    color: var(--fg-on-dark);
    overflow: hidden;
}
.page-hero::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(800px 420px at 80% -20%, rgba(111,217,87,0.09), transparent 60%),
        radial-gradient(600px 380px at 10% 120%, rgba(111,217,87,0.05), transparent 65%);
    pointer-events: none;
}
.page-hero-wrap {
    position: relative; z-index: 1;
    padding: 4rem 0 3.5rem;
    text-align: center;
}
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 1rem 0 1rem;
    color: var(--fg-on-dark);
    text-wrap: balance;
}
.page-hero-sub {
    font-size: 1.1rem;
    line-height: 1.55;
    color: rgba(245,245,245,0.72);
    max-width: 38rem;
    margin: 0 auto;
}
@media (max-width: 600px) {
    .page-hero-wrap { padding: 3rem 0 2.5rem; }
    .page-hero-title { font-size: 1.85rem; }
    .page-hero-sub { font-size: 1rem; }
}

/* =========================
   Hero product shot (straddles the hero / next-section boundary)
   ========================= */
.hero-shot-wrap { position: relative; z-index: 2; margin-top: -2.5rem; }
.hero-shot {
    max-width: 1080px; margin: 0 auto;
    background: #15181d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--app-radius-lg);
    box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5), 0 12px 30px -10px rgba(0,0,0,0.35);
    overflow: hidden;
}
.hero-shot-frame { position: relative; height: 560px; overflow: hidden; }
.hero-shot-frame img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: auto;
    display: block;
}
.hero-shot-frame::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(21,24,29,0.94) 100%);
    pointer-events: none;
}
.hero-shot-caption {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.85rem 1rem;
    font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
    color: rgba(245,245,245,0.7);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-shot-caption i { color: var(--brand-green); }
@media (max-width: 900px) {
    .hero-shot-wrap { margin-top: -2rem; }
    .hero-shot-frame { height: 400px; }
}
@media (max-width: 600px) {
    .hero-shot-wrap { margin-top: -1.25rem; }
    .hero-shot-frame { height: 260px; }
    .hero-shot-caption { font-size: 0.76rem; padding: 0.7rem 0.9rem; }
}

/* =========================
   Platform showcase (homepage) — soft green backdrop, screenshot does the selling
   ========================= */
.platform-showcase {
    background:
        radial-gradient(1000px 520px at 50% 0%, rgba(111,217,87,0.08), transparent 65%),
        linear-gradient(180deg, #f2f8ef, #eef6ec);
    border-top: 1px solid rgba(111,217,87,0.15);
    overflow-x: hidden;
}
.platform-showcase-label {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--fg3);
    margin: 3.5rem 0 1.25rem;
}
.platform-showcase-visual { position: relative; max-width: 1180px; margin: 0 auto; }
.platform-showcase-visual::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 115%; height: 115%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(111,217,87,0.32), rgba(111,217,87,0.1) 60%, transparent 78%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}
.platform-showcase-shot {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    border-radius: 1.5rem;
    box-shadow: 0 30px 70px -20px rgba(20,60,10,0.22), 0 12px 30px -10px rgba(20,60,10,0.12);
}
.platform-showcase-shot .hero-shot-frame { height: 640px; }
.platform-showcase-shot .hero-shot-frame::after {
    background: linear-gradient(to bottom, transparent 85%, rgba(21,24,29,0.55) 100%);
}
@media (max-width: 900px) {
    .platform-showcase-shot .hero-shot-frame { height: 440px; }
}
@media (max-width: 600px) {
    .platform-showcase-shot .hero-shot-frame { height: 280px; }
}
.platform-showcase-proof {
    text-align: center;
    font-size: 0.9rem;
    color: var(--fg3);
    margin: 2.75rem 0 0;
}
.platform-showcase-cta { display: flex; justify-content: center; margin-top: 1.75rem; }

/* Domain search (inside page-hero) */
.domain-search { margin: 2rem auto 0; max-width: 34rem; }
.domain-search .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--fg-on-dark);
    border-radius: var(--app-radius) 0 0 var(--app-radius);
    padding: 0.65rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
}
.domain-search .form-control::placeholder { color: rgba(245,245,245,0.38); }
.domain-search .form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(111,217,87,0.25);
    color: var(--fg-on-dark);
    outline: none;
}
.domain-search-hint { margin-top: 0.65rem; font-size: 0.82rem; color: rgba(245,245,245,0.4); }

/* =========================
   Trust strip
   ========================= */
.trust { background: white; border-top: 1px solid var(--app-border); border-bottom: 1px solid var(--app-border); }
.trust-wrap { padding: 1.75rem 0; display: flex; flex-direction: column; align-items: center; gap: 0.85rem; text-align: center; }
.trust-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg3); font-weight: 700; }
.trust-logos { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; align-items: center; }
.trust-logo {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.05rem; color: var(--fg3);
    letter-spacing: -0.01em; opacity: 0.85;
}
.trust-logo .dot { color: var(--brand-green); }
.trust-logo-img {
    height: 28px; width: auto; max-width: 130px; object-fit: contain;
    filter: grayscale(1); opacity: 0.6;
    transition: filter .15s, opacity .15s;
}
.trust-logo-img:hover { filter: grayscale(0); opacity: 1; }

/* =========================
   Plan cards
   ========================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }
.plans-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .plans-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans-4 { grid-template-columns: 1fr; } }

.plan {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex; flex-direction: column;
    box-shadow: var(--app-shadow);
    position: relative;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.plan:hover { box-shadow: var(--app-shadow-md); }
.plan-name {
    font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg2);
    margin: 0 0 0.5rem;
}
.plan-tag { font-size: 0.95rem; color: var(--fg2); margin: 0 0 1.25rem; line-height: 1.4; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 1.25rem; }
.plan-price .num { font-family: var(--font-body); font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--fg1); line-height: 1; }
.plan-price .unit { font-size: 0.85rem; color: var(--fg2); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.45rem 0; font-size: 0.92rem; color: var(--fg1); border-top: 1px solid var(--app-border-subtle); }
.plan li:first-child { border-top: none; }
.plan li > i { color: var(--brand-green); margin-top: 0.15rem; }

.plan.featured {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: var(--fg-on-dark);
    box-shadow: 0 18px 40px -18px rgba(0,0,0,0.5);
}
.plan.featured .plan-name,
.plan.featured .plan-tag,
.plan.featured .plan-price .unit { color: rgba(245,245,245,0.7); }
.plan.featured .plan-price .num { color: var(--fg-on-dark); }
.plan.featured li { color: var(--fg-on-dark); border-color: rgba(255,255,255,0.08); }
.plan.featured li > i { color: var(--brand-green); }

.plan-flag {
    position: absolute; top: -10px; right: 1.25rem;
    background: var(--brand-green); color: var(--brand-dark);
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.3em 0.85em; border-radius: 100px;
}
.plan-flag-muted { background: var(--app-border); color: var(--fg2); }

/* Waitlist widget — "Join the waitlist" CTA embedded in a plan card, in place of a buy button */
.waitlist-widget { margin-top: auto; }
.waitlist-trigger { width: 100%; }
.waitlist-form { display: flex; flex-direction: column; gap: 0.6rem; }
.waitlist-form-actions { display: flex; align-items: center; gap: 0.9rem; }
.waitlist-cancel { background: none; border: none; padding: 0; font-size: 0.85rem; color: var(--fg3); cursor: pointer; text-decoration: underline; }
.waitlist-cancel:hover { color: var(--fg1); }
.waitlist-success { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--fg1); margin: 0; line-height: 1.4; }
.waitlist-success i { color: var(--app-accent-text); font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1em; }

/* Storage size picker within plan cards */
.plan-size-picker { margin-bottom: 1.25rem; }
.plan-size-label {
    display: block;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
    color: var(--fg3); margin-bottom: 0.4rem;
}
.plan-size-select {
    width: 100%;
    background: var(--app-bg);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 0.45rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--fg1);
    cursor: pointer;
}
.plan-size-select:focus { outline: 2px solid var(--brand-green); outline-offset: 1px; border-color: var(--brand-green); }
.plan.featured .plan-size-label { color: rgba(245,245,245,0.45); }
.plan.featured .plan-size-select {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
    color: var(--fg-on-dark);
    color-scheme: dark;
}

/* =========================
   Feature tiles
   ========================= */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .features-grid { grid-template-columns: 1fr; } }

.feature-tile {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 1.6rem 1.5rem;
    box-shadow: var(--app-shadow);
}
.feature-tile-ico {
    width: 40px; height: 40px;
    background: rgba(111,217,87,0.14);
    color: var(--app-accent-text);
    border-radius: 0.5rem;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}
.feature-tile h3 {
    font-family: var(--font-body); font-size: 1.1rem; font-weight: 700;
    letter-spacing: -0.01em; margin: 0 0 0.5rem;
    color: var(--fg1);
}
.feature-tile p { font-size: 0.95rem; color: var(--fg2); line-height: 1.55; margin: 0; }

/* Plan-scope badge on feature tiles + group headings (Platform page) */
.feat-group-head {
    display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap;
    margin: 2.5rem 0 1.25rem;
}
.feat-group-head:first-child { margin-top: 0; }
.feat-group-head h3 {
    font-family: var(--font-body); font-size: 1.15rem; font-weight: 700;
    letter-spacing: -0.01em; margin: 0; color: var(--fg1);
}
.feat-group-head .feat-group-note { font-size: 0.9rem; color: var(--fg3); margin: 0; }
.feat-badge {
    display: block; width: fit-content; font-size: 0.64rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.25em 0.7em; border-radius: 100px; margin-bottom: 0.85rem;
}
.feat-badge-core { background: rgba(111,217,87,0.16); color: var(--app-accent-text); }
.feat-badge-addon { background: rgba(255,176,32,0.16); color: #c98a12; }
.feat-badge-platform { background: rgba(120,150,255,0.16); color: #6b86ff; }
.feat-badge-soon { background: var(--app-border); color: var(--fg2); }

/* "How the trial starts" 3-step strip (Platform page) */
.trial-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .trial-steps { grid-template-columns: 1fr; } }
.trial-step { display: flex; gap: 1rem; align-items: flex-start; }
.trial-step-num {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(111,217,87,0.14); color: var(--app-accent-text);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.95rem;
}
.trial-step h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0.3rem 0 0.35rem; color: var(--fg1); }
.trial-step p { font-size: 0.92rem; color: var(--fg2); line-height: 1.5; margin: 0; }

/* Per-site add-on panel next to the Core plan (Platform page) */
.addon-panel {
    background: var(--app-surface); border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg); padding: 1.6rem 1.75rem; box-shadow: var(--app-shadow);
}
.addon-panel h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin: 0 0 0.75rem; color: var(--fg1); }
.addon-panel .addon-price { font-weight: 700; color: var(--app-accent-text); }
.addon-example {
    margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--app-border);
    font-size: 0.95rem; color: var(--fg2); line-height: 1.55;
}

/* =========================
   Platform showcase (screenshot + copy rows)
   ========================= */
.showcase-row { display: flex; align-items: center; gap: 3.5rem; margin-bottom: 5rem; }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { flex-direction: row-reverse; }
.showcase-media { flex: 1 1 56%; min-width: 0; }
.showcase-media img {
    width: 100%; height: auto; display: block;
    border-radius: var(--app-radius-lg);
    border: 1px solid var(--app-border);
    box-shadow: var(--app-shadow-md);
}
.showcase-copy { flex: 1 1 44%; min-width: 0; }
.showcase-copy h3 {
    font-family: var(--font-body); font-size: 1.5rem; font-weight: 700;
    letter-spacing: -0.01em; margin: 0.75rem 0 0.75rem; color: var(--fg1);
}
.showcase-copy > p { font-size: 1rem; color: var(--fg2); line-height: 1.6; margin: 0 0 1.1rem; }
.showcase-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.showcase-list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.92rem; color: var(--fg1); line-height: 1.5; }
.showcase-list li > i { color: var(--app-accent-text); margin-top: 0.2rem; flex-shrink: 0; }
@media (max-width: 860px) {
    .showcase-row, .showcase-row.reverse { flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
}

/* =========================
   Audience split (For Businesses / For Agencies)
   ========================= */
.audience-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.audience-card {
    background: var(--app-bg);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--app-shadow);
}
.audience-card h3 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.6rem; color: var(--fg1); }
.audience-card > p { font-size: 0.98rem; color: var(--fg2); line-height: 1.55; margin: 0 0 1.25rem; }
.audience-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; }
.audience-list li { display: flex; gap: 0.55rem; align-items: center; font-size: 0.92rem; color: var(--fg1); }
.audience-list li > i { color: var(--app-accent-text); }
@media (max-width: 700px) { .audience-split { grid-template-columns: 1fr; } }

/* =========================
   FAQ
   ========================= */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    overflow: hidden;
    box-shadow: var(--app-shadow);
}
.faq-trigger {
    width: 100%; background: transparent; border: none;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1.1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1.02rem; font-weight: 600;
    color: var(--fg1); text-align: left; cursor: pointer;
}
.faq-trigger:hover { background: var(--app-surface-raised); }
.faq-trigger i { color: var(--fg2); transition: transform .15s; flex-shrink: 0; }
.faq-item.open .faq-trigger i { transform: rotate(180deg); color: var(--brand-dark); }
.faq-body {
    display: none;
    padding: 0 1.25rem 1.25rem;
    font-size: 0.95rem; color: var(--fg2); line-height: 1.6;
    max-width: 60ch;
}
.faq-item.open .faq-body { display: block; }

/* Native <details> FAQ (crawlable, no JS) — same look as .faq-item */
.platform-faq {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    box-shadow: var(--app-shadow);
    overflow: hidden;
    margin-bottom: 0.6rem;
}
.platform-faq > summary {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1.1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1.02rem; font-weight: 600;
    color: var(--fg1); cursor: pointer; list-style: none;
}
.platform-faq > summary::-webkit-details-marker { display: none; }
.platform-faq > summary::after {
    content: "\F282"; font-family: "bootstrap-icons";
    color: var(--fg2); font-weight: normal; transition: transform .15s; flex-shrink: 0;
}
.platform-faq[open] > summary::after { transform: rotate(180deg); color: var(--brand-dark); }
.platform-faq > summary:hover { background: var(--app-surface-raised); }
.platform-faq > div {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.95rem; color: var(--fg2); line-height: 1.6;
    max-width: 60ch;
}
.platform-faq > div a { color: var(--brand-dark); }

/* =========================
   CTA band
   ========================= */
.cta-band {
    background: var(--brand-dark);
    color: var(--fg-on-dark);
    border-radius: var(--app-radius-lg);
    padding: 3rem 2.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    position: relative; overflow: hidden;
}
.cta-band::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(600px 220px at 100% 0%, rgba(111,217,87,0.18), transparent 65%);
    pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
    font-family: var(--font-body); font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.4rem;
    color: var(--fg-on-dark);
}
.cta-band p { color: rgba(245,245,245,0.72); margin: 0; font-size: 1rem; }
.cta-band .cta-actions { display: flex; gap: 0.6rem; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 760px) {
    .cta-band { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
}

/* Start a conversation — cta-band with an inline form, text left / form right */
.start-convo {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.75rem;
    align-items: center;
    padding: 3rem 2.5rem;
}
.start-convo .eyebrow.eyebrow-soft { background: rgba(255,255,255,0.1); color: var(--brand-green); }
.start-convo .eyebrow.eyebrow-soft > i { color: var(--brand-green); }
.start-convo-copy h2 {
    font-family: var(--font-body);
    font-size: clamp(1.6rem, 2.6vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 1rem 0 0.9rem;
    color: var(--fg-on-dark);
    text-wrap: balance;
}
.start-convo-copy > p:not(.start-convo-note) {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(245,245,245,0.75);
    margin: 0;
    max-width: 30rem;
}
.start-convo-note {
    font-size: 0.92rem;
    font-style: italic;
    color: rgba(245,245,245,0.55);
    margin: 1.5rem 0 0;
}
.start-convo-note a { color: var(--brand-green) !important; text-decoration: underline !important; }
.start-convo-note a:hover { color: var(--fg-on-dark) !important; }
.site-form-card.start-convo-form-card {
    margin: 0;
    max-width: none;
    padding: 2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
}
.start-convo-form-card .site-form-field label { color: var(--fg-on-dark); }
.start-convo-form-card .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--fg-on-dark);
}
.start-convo-form-card .form-control::placeholder { color: rgba(245,245,245,0.4); }
.start-convo-form-card .form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(111,217,87,0.25);
    color: var(--fg-on-dark);
}
.start-convo-form-card .site-form-errors { color: #f87171; }
.start-convo-form-card .site-form-success { color: var(--fg-on-dark); }
.start-convo-form-card .site-form-success i { color: var(--brand-green); }
@media (max-width: 860px) {
    .start-convo { grid-template-columns: 1fr; padding: 2.25rem 1.75rem; }
}
@media (max-width: 600px) {
    .site-form-card.start-convo-form-card { padding: 1.5rem 1.25rem; }
}

/* =========================
   Site footer
   ========================= */
.site-footer { background: var(--brand-dark-deeper); color: rgba(245,245,245,0.75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
.footer-brand img { height: 28px; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.55; color: rgba(245,245,245,0.6); margin: 0; max-width: 18rem; }
.footer-social { display: flex; gap: 0.65rem; margin-top: 1.25rem; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.1rem; height: 2.1rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(245,245,245,0.75) !important;
    font-size: 1rem;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { background: rgba(111,217,87,0.16); color: var(--brand-green) !important; }
.footer-col h6 {
    font-family: var(--font-body); font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 0.1em; font-weight: 700; color: rgba(245,245,245,0.5);
    margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.9rem; color: rgba(245,245,245,0.78) !important; text-decoration: none !important; }
.footer-col a:hover { color: var(--fg-on-dark) !important; text-decoration: none !important; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.25rem; margin-top: 3rem;
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    font-size: 0.82rem; color: rgba(245,245,245,0.5);
}
.footer-bottom-right { display: flex; gap: 1rem; }
.footer-bottom a { color: rgba(245,245,245,0.5); text-decoration: none; }
.footer-bottom a:hover { color: rgba(245,245,245,0.8); }

/* =========================
   Founder story
   ========================= */
.founder-grid { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: center; }
.founder-photo {
    width: 260px; height: 347px;
    object-fit: cover;
    border-radius: var(--app-radius-lg);
    box-shadow: var(--app-shadow);
}
@media (max-width: 700px) {
    .founder-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .founder-photo { margin: 0 auto; }
}

/* =========================
   IT Support section
   ========================= */
.itsupport {
    padding: 5rem 0;
    background: var(--app-bg);
    border-top: 1px solid var(--app-border);
}
.itsupport-grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem; align-items: start;
}
.itsupport h2 {
    font-family: var(--font-body);
    font-size: clamp(1.85rem, 3.4vw, 2.5rem);
    font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 1rem 0 0.75rem;
    color: var(--fg1);
    text-wrap: balance;
}
.itsupport-lead { font-size: 1.1rem; line-height: 1.55; color: var(--fg2); margin: 0 0 1.1rem; max-width: 36rem; }
.itsupport-lead:last-of-type { margin-bottom: 1.75rem; }
.itsupport-list {
    list-style: none; padding: 0; margin: 0 0 1rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem 1.5rem;
}
.itsupport-list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.95rem; color: var(--fg1); }
.itsupport-list li > i { color: var(--app-accent-text); margin-top: 0.15rem; font-size: 1rem; }
.itsupport-list-note { font-size: 0.85rem; color: var(--fg3); margin: 0 0 2rem; max-width: 34rem; }

/* Condensed "what we take care of" — four pillars, detail collapsed by default */
.itsupport-pillars-heading {
    display: block; font-family: var(--font-body); font-weight: 700;
    font-size: 1.05rem; letter-spacing: -0.005em; color: var(--fg1);
    margin: 0 0 1.1rem;
}
.itsupport-pillars {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.5rem;
    margin: 0 0 1.5rem;
}
.itsupport-pillar-label {
    display: block; font-family: var(--font-body); text-transform: uppercase;
    letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 700;
    color: var(--app-accent-text); margin: 0 0 0.35rem;
}
.itsupport-pillar p { font-size: 0.92rem; color: var(--fg2); line-height: 1.5; margin: 0; max-width: 22rem; }
.itsupport-details { margin: 0 0 2rem; }
.itsupport-details > summary {
    cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 0.4rem;
    font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
    color: var(--app-accent-text);
}
.itsupport-details > summary::-webkit-details-marker { display: none; }
.itsupport-details > summary:hover { text-decoration: underline; }
.itsupport-details > summary i { font-size: 0.75rem; transition: transform .15s; }
.itsupport-details[open] > summary i { transform: rotate(180deg); }
.itsupport-details[open] > summary { margin-bottom: 1.1rem; }
.itsupport-details .itsupport-list { margin-top: 0.2rem; }
@media (max-width: 480px) {
    .itsupport-pillars { grid-template-columns: 1fr; }
}
.itsupport-foot { font-size: 0.88rem; color: var(--fg2); padding-top: 1.25rem; border-top: 1px solid var(--app-border-subtle); max-width: 32rem; }

.itsupport-pricetile {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 1.75rem 1.6rem 1.5rem;
    box-shadow: var(--app-shadow);
    position: relative;
}
.itsupport-pricetile .eyebrow { margin-bottom: 1.1rem; }
.itsupport-pricetile-title {
    font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
    line-height: 1.25; letter-spacing: -0.01em; color: var(--fg1);
    margin: 0 0 0.65rem; text-wrap: balance;
}
.itsupport-pricetile-sub { font-size: 0.88rem; color: var(--fg2); margin: 0 0 1.4rem; }
.itsupport-pricetile-list {
    list-style: none; padding: 1rem 0 0; margin: 0 0 1rem;
    border-top: 1px solid var(--app-border-subtle);
    display: grid; gap: 0.6rem;
}
.itsupport-pricetile-list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.92rem; color: var(--fg1); }
.itsupport-pricetile-list li > i { color: var(--app-accent-text); margin-top: 0.15rem; font-size: 0.95rem; }
.itsupport-pricetile-note { font-size: 0.8rem; color: var(--fg3); margin: 0 0 1.5rem; line-height: 1.5; }
.itsupport-pricetile-formlead { font-size: 0.85rem; color: var(--fg2); margin: 0 0 0.9rem; line-height: 1.5; }
.itsupport-pricetile-form { gap: 0.85rem; }
.itsupport-pricetile-form .site-form-submit { margin-top: 0.15rem; }
.itsupport-pricetile .site-form-success { justify-content: flex-start; text-align: left; padding: 0.25rem 0 1rem; }
.itsupport-pricetile .mbtn { width: 100%; justify-content: center; }
.itsupport-pricetile-foot { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--app-border-subtle); font-size: 0.78rem; color: var(--fg3); line-height: 1.5; }

@media (max-width: 860px) {
    .itsupport-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .itsupport-list { grid-template-columns: 1fr; }
}

/* =========================
   Case study
   ========================= */
.casestudy { padding: 5rem 0; }
.case-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 3rem;
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 3rem; align-items: center;
    box-shadow: var(--app-shadow);
    position: relative; overflow: hidden;
}
.case-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--brand-green);
}
.case-meta { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem; }
.case-meta-logo {
    width: 56px; height: 56px;
    background: var(--brand-dark); color: var(--fg-on-dark);
    font-family: var(--font-display); font-weight: 700; font-size: 1.45rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 0.55rem; letter-spacing: -0.04em; flex-shrink: 0;
}
.case-meta-logo .accent { color: var(--brand-green); }
.case-meta-text { display: flex; flex-direction: column; gap: 2px; }
.case-meta-text strong { font-size: 1rem; font-weight: 700; color: var(--fg1); }
.case-meta-text span { font-size: 0.84rem; color: var(--fg2); }
.case-quote {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    letter-spacing: -0.015em; line-height: 1.25;
    color: var(--fg1);
    margin: 0 0 1.25rem;
    text-wrap: balance;
}
.case-quote::before { content: '\201C'; color: var(--brand-green); margin-right: 0.1em; }
.case-quote::after  { content: '\201D'; color: var(--brand-green); }
.case-attribution { font-size: 0.88rem; color: var(--fg2); margin: 0; }
.case-attribution strong { color: var(--fg1); font-weight: 700; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.case-stat {
    padding: 1.25rem;
    background: var(--app-bg); border: 1px solid var(--app-border-subtle);
    border-radius: var(--app-radius);
    display: flex; flex-direction: column; gap: 0.4rem;
}
.case-stat-num {
    font-family: var(--font-display); font-weight: 700;
    font-size: 2rem; line-height: 1; letter-spacing: -0.02em; color: var(--fg1);
}
.case-stat-num .accent { color: var(--app-accent-text); }
.case-stat-label { font-size: 0.85rem; color: var(--fg2); line-height: 1.35; }

@media (max-width: 860px) {
    .case-card { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; }
    .case-stats { grid-template-columns: 1fr 1fr; }
}

/* =========================
   Reviews
   ========================= */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; align-items: start; }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 1.75rem;
    display: flex; flex-direction: column;
    box-shadow: var(--app-shadow);
}
.review-card--wide { grid-column: 1 / -1; }
.review-logo { height: 32px; max-width: 140px; width: auto; object-fit: contain; object-position: left; margin-bottom: 1.25rem; }
.review-quote {
    font-size: 0.98rem; line-height: 1.6; color: var(--fg1);
    margin: 0 0 1.25rem; flex: 1;
    white-space: pre-line;
}
.review-quote::before { content: '\201C'; color: var(--brand-green); margin-right: 0.1em; }
.review-quote::after  { content: '\201D'; color: var(--brand-green); }
.review-attribution { font-size: 0.85rem; color: var(--fg2); margin: 0; }
.review-attribution strong { color: var(--fg1); font-weight: 700; }

/* =========================
   Why Stack2 — Compare (V3)
   ========================= */
.why-compare { display: flex; flex-direction: column; gap: 0.75rem; max-width: 1020px; margin: 0 auto; }
.why-compare-row { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 1rem; align-items: stretch; }
.why-compare-cell {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 1.35rem 1.5rem;
    display: flex; flex-direction: column; gap: 0.35rem;
}
.why-compare-cell.them { background: var(--app-bg); }
.why-compare-cell.them h4 { color: var(--fg2); }
.why-compare-cell.us {
    border-color: rgba(111,217,87,0.45);
    box-shadow: 0 0 0 1px rgba(111,217,87,0.18), var(--app-shadow);
    position: relative; overflow: hidden;
}
.why-compare-cell.us::before {
    content: ''; position: absolute; top: 0; left: 0; bottom: 0;
    width: 3px; background: var(--brand-green);
}
.why-compare-tag {
    font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.why-compare-cell.them .why-compare-tag { color: var(--fg3); }
.why-compare-cell.us   .why-compare-tag { color: var(--app-accent-text); }
.why-compare-cell h4 {
    font-family: var(--font-body); font-size: 1.05rem; font-weight: 700;
    letter-spacing: -0.01em; line-height: 1.3;
    margin: 0.15rem 0 0.2rem; color: var(--fg1);
}
.why-compare-cell p { font-size: 0.88rem; line-height: 1.5; color: var(--fg2); margin: 0; }
.why-compare-arrow {
    align-self: center;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--brand-dark); color: var(--brand-green);
    font-size: 1rem; flex-shrink: 0;
}
@media (max-width: 860px) {
    .why-compare-row { grid-template-columns: 1fr; gap: 0.6rem; }
    .why-compare-arrow { transform: rotate(90deg); justify-self: center; }
}

/* =========================
   Why Stack2 — Small by design
   ========================= */
.why-small-section { overflow: hidden; }
.why-small-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4.5rem; align-items: center; }
.why-small-copy h2 {
    font-family: var(--font-body);
    font-size: clamp(1.85rem, 3.4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 1rem 0 1.5rem;
    color: var(--fg1);
    text-wrap: balance;
}
.why-small-lead {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--fg1);
    margin: 0 0 0.85rem;
}
.why-small-copy > p:not(.why-small-lead):not(.why-small-founder) {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--fg2);
    max-width: 32rem;
    margin: 0;
}
.why-small-list {
    list-style: none;
    margin: 2.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.why-small-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--fg1);
}
.why-small-list li i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.6rem; height: 1.6rem; flex-shrink: 0;
    border-radius: 50%;
    background: var(--app-accent-subtle);
    color: var(--app-accent-hover);
    font-size: 0.8rem;
}
.why-small-founder {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--fg2);
    margin: 2.25rem 0 0;
    max-width: 32rem;
}
.why-small-cta { margin-top: 2rem; }
.why-small-photo {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--app-radius-lg);
    box-shadow: var(--app-shadow-lg);
    justify-self: center;
}
@media (max-width: 860px) {
    .why-small-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .why-small-photo { order: -1; max-width: 280px; }
    .why-small-copy > p, .why-small-founder { margin-left: auto; margin-right: auto; }
    .why-small-list { align-items: center; }
    .why-small-list li { justify-content: center; }
    .why-small-copy .hero-cta { justify-content: center; }
}

/* =========================
   Why Stack2 — Stats
   ========================= */
.why-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
}
.why-stat {
    text-align: center;
    padding: 0 2rem;
    border-left: 1px solid var(--app-border);
}
.why-stat:first-child { border-left: none; }
.why-stat-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem;
    border-radius: 50%;
    background: rgba(111,217,87,0.14);
    color: var(--app-accent-text);
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}
.why-stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--fg1);
}
.why-stat-label {
    font-size: 0.92rem;
    color: var(--fg2);
    margin-top: 0.6rem;
    line-height: 1.4;
}
.why-stats-tagline {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fg1);
    letter-spacing: -0.01em;
    max-width: 34rem;
    margin: 3.5rem auto 0;
    padding-top: 2.25rem;
    border-top: 1px solid var(--app-border);
}
.why-stats-footnote {
    text-align: center;
    font-size: 0.85rem;
    color: var(--fg3);
    max-width: 34rem;
    margin: 0.85rem auto 0;
}
@media (max-width: 700px) {
    .why-stats-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 280px; }
    .why-stat { border-left: none; border-top: 1px solid var(--app-border); padding: 2rem 0 0; }
    .why-stat:first-child { border-top: none; padding-top: 0; }
}

/* .mbtn inside Bootstrap input-group (search bars) */
.input-group .input-group-btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* =====================================================================
   Bootstrap compatibility overrides (kept from original site.css)
   ===================================================================== */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Legacy class kept for non-homepage pages */
.bg-stack2      { background-color: #0A121A; color: white; }
.bg-stack2-green { background-color: #6FD957; }

/* Bootstrap green brand overrides */
.bg-primary     { background-color: #6FD957 !important; }
.border-primary { border-color: #6FD957 !important; }
.text-primary   { color: #6FD957 !important; }
.btn-primary    { background-color: #6FD957; border-color: #6FD957; color: #1a1a1e; font-family: var(--font-body); }
.btn-primary:hover { background-color: #42AC27; border-color: #42AC27; color: #1a1a1e; }
.btn-outline-primary { border-color: #6FD957; color: #1e7200; }
.btn-outline-primary:hover { background-color: #6FD957; border-color: #42AC27; color: white; }

/* Accordion (used on non-homepage pages) */
.accordion-button { background-color: #6FD957 !important; color: white !important; }
.accordion-button:not(.collapsed) { background-color: #6FD957 !important; color: white !important; }
.accordion-button:hover { background-color: #42AC27 !important; }
.accordion-button:focus { box-shadow: 0 0 0 0.25rem rgba(111,217,87,0.25); }
.accordion-button::after { filter: brightness(0) invert(1); }

/* Blog styles */
.blog-content { line-height: 1.8; font-size: 1.1rem; }
.blog-content img { max-width: 100%; height: auto; border-radius: 0.375rem; margin: 1.5rem 0; }
.blog-content p { margin-bottom: 1.5rem; }
.blog-content h1, .blog-content h2, .blog-content h3,
.blog-content h4, .blog-content h5, .blog-content h6 { margin-top: 2rem; margin-bottom: 1rem; font-weight: 600; }
.blog-content blockquote { border-left: 4px solid #6FD957; padding-left: 1.5rem; margin: 1.5rem 0; font-style: italic; color: #6c757d; }
.blog-content pre { background-color: #f8f9fa; padding: 1rem; border-radius: 0.375rem; overflow-x: auto; }
.blog-content ul, .blog-content ol { margin-bottom: 1.5rem; padding-left: 2rem; }
.blog-content a { color: #6FD957; text-decoration: underline; }
.blog-content a:hover { color: #42AC27; }

/* Pagination */
.pagination .page-link { color: #6FD957; border-color: #dee2e6; }
.pagination .page-link:hover { color: white; background-color: #6FD957; border-color: #6FD957; }
.pagination .page-item.active .page-link { background-color: #6FD957; border-color: #6FD957; color: white; }
.pagination .page-item.disabled .page-link { color: #6c757d; background-color: white; border-color: #dee2e6; }

/* =====================================================================
   Promo / QR landing page (/promo)
   ===================================================================== */

/* Hero */
.promo-hero {
    position: relative;
    background: var(--brand-dark-deeper);
    color: var(--fg-on-dark);
    overflow: hidden;
}
.promo-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(900px 500px at 70% -10%, rgba(111,217,87,0.13), transparent 55%),
        radial-gradient(600px 400px at 5% 110%, rgba(111,217,87,0.07), transparent 60%);
    pointer-events: none;
}
.promo-hero-wrap {
    position: relative; z-index: 1;
    padding: 5rem 0 4rem;
    text-align: center;
    max-width: 52rem;
    margin: 0 auto;
}
.promo-eyebrow {
    color: var(--brand-green) !important;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}
.promo-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 1rem 0 1.25rem;
    color: var(--fg-on-dark);
    text-wrap: balance;
}
.promo-accent { color: var(--brand-green); }
.promo-hero-sub {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--fg-on-dark-muted);
    max-width: 34rem;
    margin: 0 auto 2rem;
}
.promo-hero-bonus {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(111,217,87,0.1);
    border: 1px solid rgba(111,217,87,0.25);
    border-radius: var(--app-radius-lg);
    padding: 0.9rem 1.25rem;
    font-size: 0.92rem;
    color: var(--fg-on-dark-muted);
    max-width: 30rem;
    margin: 0 auto 2.25rem;
    text-align: left;
}
.promo-hero-bonus strong { color: var(--fg-on-dark); }
.promo-gift-ico {
    color: var(--brand-green);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.promo-hero-cta { min-width: 14rem; justify-content: center; }

/* Offer grid */
.promo-section { background: var(--app-bg); }
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 1024px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .promo-grid { grid-template-columns: 1fr; } }

.promo-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--app-shadow);
    position: relative;
    transition: box-shadow .15s, transform .15s;
}
.promo-card:hover { box-shadow: var(--app-shadow-md); transform: translateY(-2px); }

.promo-card-featured {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: var(--fg-on-dark);
    box-shadow: 0 18px 40px -18px rgba(0,0,0,0.45);
}
.promo-card-featured .promo-card-title { color: var(--fg-on-dark); }
.promo-card-featured .promo-card-desc { color: var(--fg-on-dark-muted); }
.promo-card-featured .promo-card-list li { color: var(--fg-on-dark); border-color: rgba(255,255,255,0.08); }
.promo-card-featured .promo-price-unit { color: rgba(245,245,245,0.55); }
.promo-card-featured .promo-price-num { color: var(--fg-on-dark); }

.promo-flag {
    position: absolute; top: -11px; right: 1.25rem;
    background: var(--brand-green); color: var(--brand-dark);
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.3em 0.85em; border-radius: 100px;
}

.promo-card-ico {
    width: 46px; height: 46px;
    background: rgba(111,217,87,0.13);
    color: var(--app-accent-text);
    border-radius: 0.6rem;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.promo-card-ico-dark {
    background: rgba(111,217,87,0.15);
    color: var(--brand-green);
}

.promo-card-body { flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.promo-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fg1);
    margin: 0;
    line-height: 1.2;
}
.promo-card-desc {
    font-size: 0.88rem;
    color: var(--fg2);
    line-height: 1.55;
    margin: 0;
}
.promo-card-list {
    list-style: none;
    padding: 0; margin: 0.25rem 0 0;
    display: flex; flex-direction: column; gap: 0;
}
.promo-card-list li {
    display: flex; align-items: flex-start; gap: 0.55rem;
    padding: 0.38rem 0;
    font-size: 0.875rem;
    color: var(--fg1);
    border-top: 1px solid var(--app-border-subtle);
}
.promo-card-list li:first-child { border-top: none; }
.promo-card-list li > i { color: var(--brand-green); flex-shrink: 0; margin-top: 0.1rem; }

.promo-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--app-border);
    flex-wrap: wrap;
}
.promo-card-featured .promo-card-footer { border-color: rgba(255,255,255,0.1); }

.promo-price { display: flex; align-items: baseline; gap: 0.3rem; }
.promo-price-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fg1);
    line-height: 1;
}
.promo-price-unit { font-size: 0.78rem; color: var(--fg2); }

.promo-buy-btn { flex-shrink: 0; }

/* Free bonus section */
.promo-bonus-section {
    background: var(--brand-dark-deeper);
    padding: 4rem 0;
}
.promo-bonus-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(111,217,87,0.2);
    border-radius: var(--app-radius-lg);
    padding: 2.5rem;
    max-width: 54rem;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .promo-bonus-card { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.75rem; }
}
.promo-bonus-ico {
    width: 64px; height: 64px;
    background: rgba(111,217,87,0.15);
    color: var(--brand-green);
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}
.promo-bonus-body { color: var(--fg-on-dark-muted); }
.promo-bonus-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--fg-on-dark);
    margin: 0.5rem 0 0.75rem;
    line-height: 1.15;
}
.promo-bonus-body p { font-size: 0.95rem; line-height: 1.6; margin: 0 0 1rem; }
.promo-bonus-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0;
}
.promo-bonus-list li {
    display: flex; align-items: flex-start; gap: 0.55rem;
    padding: 0.38rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.promo-bonus-list li:first-child { border-top: none; }
.promo-bonus-list li > i { color: var(--brand-green); flex-shrink: 0; margin-top: 0.1rem; }

/* Trust strip */
.promo-trust-section { background: var(--app-surface); border-top: 1px solid var(--app-border); }
.promo-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 720px) { .promo-trust-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.promo-trust-item { text-align: center; }
.promo-trust-ico {
    font-size: 1.75rem;
    color: var(--app-accent-text);
    display: block;
    margin-bottom: 0.75rem;
}
.promo-trust-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--fg1);
}
.promo-trust-item p { font-size: 0.88rem; color: var(--fg2); line-height: 1.55; margin: 0; }

/* =========================
   Newsletter signup (control)
   ========================= */
.newsletter-signup-card {
    background: var(--app-surface-raised);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 2.5rem;
    max-width: 30rem;
    margin: 0 auto;
    text-align: center;
}
.newsletter-signup-head h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin: 0.6rem 0 0.5rem; }
.newsletter-signup-head p { color: var(--fg2); line-height: 1.55; margin: 0 0 1.5rem; }
.newsletter-signup-form { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter-signup-row { width: 100%; }
.newsletter-signup-card .form-control { padding: 0.65rem 1rem; }
.newsletter-signup-errors {
    color: #b91c1c;
    font-size: 0.85rem;
    text-align: left;
    margin-top: -0.25rem;
}
.newsletter-signup-errors ul { margin: 0; padding-left: 1.1rem; }
.newsletter-signup-fineprint { font-size: 0.8rem; color: var(--fg3); margin: 1rem 0 0; }

/* "Prefer scrolling?" social follow line, under the newsletter signup */
.newsletter-follow { font-size: 0.9rem; color: var(--fg3); margin: 1.5rem 0 0; }
.newsletter-follow-link { color: var(--app-accent-text) !important; font-weight: 600; text-decoration: none !important; }
.newsletter-follow-link:hover { text-decoration: underline !important; }
a.newsletter-follow-link:hover { color: var(--app-accent-text-hover) !important; }
.newsletter-signup-success {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    font-size: 1.05rem;
    padding: 1rem 0;
}
.newsletter-signup-success i { color: var(--app-accent-text); font-size: 1.4rem; flex-shrink: 0; }

/* Compact mode — single inline bar for embedding in tight spaces (footers, sidebars, in-content) */
.newsletter-signup-compact { max-width: 26rem; }
.newsletter-signup-compact .newsletter-signup-form { gap: 0; }
.newsletter-signup-compact .newsletter-signup-errors { display: none; }
@media (max-width: 480px) {
    .newsletter-signup-card { padding: 1.75rem 1.25rem; }
}

/* =========================
   Site form (contact / partner application)
   Same visual language as the newsletter signup card, sized for longer forms.
   ========================= */
.site-form-card {
    background: var(--app-surface-raised);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 2.5rem;
    max-width: 40rem;
    margin: 0 auto;
    text-align: left;
}
.site-form { display: flex; flex-direction: column; gap: 1.1rem; }
.site-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .site-form-grid { grid-template-columns: 1fr; } }
.site-form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.site-form-field label { font-size: 0.88rem; font-weight: 600; color: var(--fg1); }
.site-form textarea.form-control { min-height: 8rem; resize: vertical; }
.site-form-errors {
    color: #b91c1c;
    font-size: 0.85rem;
}
.site-form-errors ul { margin: 0; padding-left: 1.1rem; }
.site-form-submit { align-self: flex-start; margin-top: 0.25rem; }
.site-form-success {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    font-size: 1.05rem;
    padding: 1rem 0;
}
.site-form-success i { color: var(--app-accent-text); font-size: 1.4rem; flex-shrink: 0; }
@media (max-width: 480px) {
    .site-form-card { padding: 1.75rem 1.25rem; }
}

/* Free books landing page */
.book-section { background: var(--app-bg); }
.book-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 860px;
    margin: 0 auto;
}
@media (max-width: 720px) { .book-grid { grid-template-columns: 1fr; } }

.book-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--app-shadow);
    transition: box-shadow .15s, transform .15s;
}
.book-card:hover { box-shadow: var(--app-shadow-md); transform: translateY(-2px); }

.book-card-cover {
    width: 100%;
    border-radius: 0.75rem;
    background: rgba(111,217,87,0.13);
    display: flex; align-items: center; justify-content: center;
    padding: 1.75rem 1rem;
}
.book-card-cover-dark { background: var(--brand-dark); }
.book-card-cover img {
    width: 148px;
    max-width: 55%;
    height: auto;
    border-radius: 0.35rem;
    box-shadow: 0 14px 30px -10px rgba(0,0,0,0.4);
}

.book-card-body { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.book-card-eyebrow { align-self: flex-start; }
.book-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--fg1);
    margin: 0.15rem 0 0;
    line-height: 1.2;
}
.book-card-subtitle {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--fg2);
    margin: 0;
    line-height: 1.4;
}
.book-card-desc {
    font-size: 0.88rem;
    color: var(--fg2);
    line-height: 1.55;
    margin: 0.25rem 0 0;
}
.book-card-list {
    list-style: none;
    padding: 0; margin: 0.25rem 0 0;
    display: flex; flex-direction: column; gap: 0;
}
.book-card-list li {
    display: flex; align-items: flex-start; gap: 0.55rem;
    padding: 0.38rem 0;
    font-size: 0.875rem;
    color: var(--fg1);
    border-top: 1px solid var(--app-border-subtle);
}
.book-card-list li:first-child { border-top: none; }
.book-card-list li > i { color: var(--brand-green); flex-shrink: 0; margin-top: 0.1rem; }

.book-card-footer { padding-top: 1rem; border-top: 1px solid var(--app-border); }
.book-download-btn { width: 100%; justify-content: center; }

/* =========================
   Callback widget (floating "Call me back")
   Sits bottom-left so it doesn't collide with the Zoho SalesIQ chat
   bubble, which anchors bottom-right.
   ========================= */
.callback-widget {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 200;
}
.callback-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--brand-dark);
    color: var(--fg-on-dark);
    border: none;
    border-radius: var(--app-radius-pill);
    padding: 0.85rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--app-shadow-lg);
    cursor: pointer;
    transition: background-color .15s, transform .15s;
}
.callback-toggle:hover { background: #2e2e35; }
.callback-toggle:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.callback-toggle i { color: var(--app-accent); font-size: 1rem; }
.callback-widget.open .callback-toggle i { color: var(--fg-on-dark); }

@media (max-width: 560px) {
    .callback-toggle-label { display: none; }
    .callback-toggle { padding: 0.85rem; border-radius: 50%; }
}

.callback-panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.75rem);
    width: 20rem;
    max-width: calc(100vw - 2.5rem);
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    box-shadow: var(--app-shadow-lg);
    padding: 1.5rem;
    text-align: left;
}
.callback-panel-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    background: none;
    border: none;
    color: var(--fg3);
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.35rem;
}
.callback-panel-close:hover { color: var(--fg1); }
.callback-panel-title {
    font-size: 1.05rem;
    margin: 0 0 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.callback-panel-title i { color: var(--app-accent-text); }
.callback-panel-sub {
    font-size: 0.85rem;
    color: var(--fg2);
    line-height: 1.5;
    margin: 0 0 1.1rem;
}
.callback-form { display: flex; flex-direction: column; gap: 0.9rem; }
.callback-form-submit { width: 100%; justify-content: center; margin-top: 0.15rem; }
.callback-panel-success {
    text-align: center;
    padding: 0.75rem 0 0.25rem;
}
.callback-panel-success i { color: var(--app-accent-text); font-size: 2.25rem; }
.callback-panel-success h3 { margin: 0.6rem 0 0.35rem; font-size: 1.1rem; }
.callback-panel-success p { color: var(--fg2); font-size: 0.88rem; line-height: 1.5; margin: 0; }

/* =========================
   Email page — pricing support blocks
   ========================= */

/* Price-terms + sizing note under the plans */
.price-terms-note {
    max-width: 44rem; margin: 1.5rem auto 0; text-align: center;
    font-size: 0.9rem; color: var(--fg2); line-height: 1.6;
}

/* Email-specific testimonial beside pricing */
.email-proof-quote {
    max-width: 44rem; margin: 2rem auto 0; padding: 1.6rem 1.75rem;
    background: var(--app-surface); border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg); text-align: center;
}
.email-proof-logo { height: 34px; width: auto; margin: 0 auto 1rem; display: block; opacity: 0.9; }
.email-proof-quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--fg1); }
.email-proof-quote figcaption { margin-top: 0.85rem; font-size: 0.88rem; color: var(--fg2); }

/* Home page — single-testimonial spotlight under the trust strip */
.testimonial-spotlight {
    max-width: 42rem; margin: 0 auto; text-align: center; position: relative;
}
.testimonial-spotlight-mark {
    font-size: 2.5rem; color: var(--app-accent-text); opacity: 0.35; line-height: 1;
}
.testimonial-spotlight blockquote {
    margin: 0.75rem 0 0; font-size: 1.35rem; line-height: 1.55;
    font-weight: 500; color: var(--fg1);
}
.testimonial-spotlight figcaption {
    margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.testimonial-spotlight-logo { height: 32px; width: auto; opacity: 0.9; }
.testimonial-spotlight figcaption span { font-size: 0.9rem; color: var(--fg2); }
@media (max-width: 600px) {
    .testimonial-spotlight blockquote { font-size: 1.1rem; }
}

/* Reassurance microcopy under the migration form submit */
.site-form-reassure {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    margin: 0.85rem 0 0; font-size: 0.82rem; color: var(--fg3);
}

/* Sticky mobile CTA */
.email-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--app-surface); border-top: 1px solid var(--app-border);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
    transform: translateY(110%); transition: transform 0.22s ease;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
}
.email-sticky-cta.is-visible { transform: translateY(0); }
.email-sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 40rem; margin: 0 auto; }
.email-sticky-cta-price { font-size: 0.92rem; color: var(--fg1); }
.email-sticky-cta-price strong { color: var(--app-accent-text); }
.email-sticky-cta .mbtn { flex-shrink: 0; }
/* Desktop: keep it a mobile-only aid */
@media (min-width: 861px) { .email-sticky-cta { display: none; } }

/* =========================
   Resource Hub (/resources)
   ========================= */
/* No visible breadcrumb trail on these pages — three rounds of hero/bar placement all read
   as out of place, and the nav + in-content links already carry wayfinding. The hierarchy
   still reaches search results via ResourceSchema.BreadcrumbJsonLd on each page. */

/* Problem-selector chips — plain anchor links to cards below, no JS filtering */
.problem-chips { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; margin: 1.75rem 0 0; }
.problem-chip {
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: var(--app-surface); border: 1px solid var(--app-border);
    border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.9rem; font-weight: 500;
    color: var(--fg1); text-decoration: none; transition: border-color .15s, color .15s;
}
.problem-chip:hover { border-color: var(--brand-green); color: var(--app-accent-text); }
.problem-chip i { color: var(--app-accent-text); }

/* Resource cards */
.resource-grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .resource-grid-2 { grid-template-columns: 1fr; } }

.resource-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 1.6rem 1.5rem;
    box-shadow: var(--app-shadow);
    text-decoration: none; color: inherit; cursor: pointer;
    display: flex; flex-direction: column;
    transition: transform .15s, box-shadow .15s;
}
.resource-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.09); }
.resource-card h3, .resource-card h2 { color: var(--fg1); margin: 0 0 0.5rem; }
.resource-card p { color: var(--fg2); font-size: 0.95rem; line-height: 1.55; margin: 0; flex-grow: 1; }
.resource-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.85rem; }
.resource-format-badge {
    flex-shrink: 0; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--app-border); color: var(--fg2);
}
.resource-format-guide { background: rgba(120,150,255,0.16); color: #6b86ff; }
.resource-format-calculator { background: rgba(255,176,32,0.16); color: #c98a12; }
.resource-format-sop { background: rgba(111,217,87,0.16); color: var(--app-accent-text); }
.resource-format-template { background: rgba(220,120,220,0.16); color: #b355b3; }
.resource-format-book { background: rgba(45,190,190,0.16); color: #1f9e9e; }
.resource-card-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--app-border);
}
.resource-value-cue { font-size: 0.82rem; color: var(--fg3); display: inline-flex; align-items: center; gap: 0.35rem; }
.resource-card-cta { font-size: 0.9rem; font-weight: 600; color: var(--app-accent-text); display: inline-flex; align-items: center; gap: 0.35rem; }

/* Featured card (100-site playbook) — two-column layout: copy + CTA on the left, a
   proof-point stat panel on the right, so the wide card doesn't read as an empty box. */
.resource-card-featured {
    background: var(--brand-dark); color: var(--fg-on-dark); border-color: var(--brand-dark);
    padding: 2.25rem 2.5rem;
}
.resource-featured-layout { display: grid; grid-template-columns: 1fr 15rem; gap: 2.75rem; align-items: center; }
@media (max-width: 780px) { .resource-featured-layout { grid-template-columns: 1fr; } }
/* feature-tile-ico's default icon colour (--app-accent-text) is a dark green built for
   light surfaces — on this dark card it's nearly invisible against its own tinted box.
   Use the bright brand green instead, same as the stat checkmarks below. */
.resource-card-featured .feature-tile-ico { background: rgba(111,217,87,0.2); color: var(--brand-green); margin-bottom: 1rem; }
.resource-card-featured h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.85rem); max-width: 30ch; line-height: 1.25; margin: 0 0 0.75rem; }
.resource-card-featured p.resource-card-desc { color: rgba(245,245,245,0.72); max-width: 48ch; margin: 0 0 1.5rem; }
.resource-featured-cta-row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.resource-card-featured .resource-value-cue { color: rgba(245,245,245,0.6); }
/* eyebrow-soft is tuned for light surfaces (green tint on cream/white); on this card's
   dark background it reads muddy. Match the hero/.section-dark treatment instead —
   an understated translucent-white pill with light text. */
.resource-card-featured .eyebrow.eyebrow-soft { background: rgba(255,255,255,0.1); color: var(--brand-green); }
.resource-featured-stats {
    display: flex; flex-direction: column; gap: 1rem;
    padding-left: 2.25rem; border-left: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 780px) {
    .resource-featured-stats { padding-left: 0; padding-top: 1.5rem; border-left: none; border-top: 1px solid rgba(255,255,255,0.14); }
}
.resource-featured-stat { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.88rem; color: rgba(245,245,245,0.85); line-height: 1.4; }
.resource-featured-stat i { color: var(--brand-green); margin-top: 0.15rem; flex-shrink: 0; }

/* Toolkit banner — combined lead magnet offer */
.toolkit-banner {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center;
    background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-lg);
    padding: 2.25rem; box-shadow: var(--app-shadow);
}
@media (max-width: 860px) { .toolkit-banner { grid-template-columns: 1fr; padding: 1.75rem; } }
.toolkit-banner-copy h2 { margin: 0.5rem 0 0.6rem; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.toolkit-banner-copy > p { color: var(--fg2); margin: 0 0 1rem; }
.toolkit-asset-list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.toolkit-asset-list li { font-size: 0.95rem; color: var(--fg1); display: flex; align-items: flex-start; gap: 0.5rem; }
.toolkit-asset-list i { color: var(--app-accent-text); margin-top: 0.2rem; flex-shrink: 0; }
.toolkit-banner-fineprint { font-size: 0.82rem; color: var(--fg3); margin: 0; }
.toolkit-banner-form { background: var(--app-bg); border: 1px solid var(--app-border); border-radius: var(--app-radius-md, 0.6rem); padding: 1.5rem; }
.toolkit-banner-microcopy { font-size: 0.8rem; color: var(--fg3); text-align: center; margin: 0.85rem 0 0; }
.resource-optional-tag { font-weight: 400; color: var(--fg3); }

/* Care plan calculator */
.calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .calc-layout { grid-template-columns: 1fr; } }
.calc-panel {
    background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-lg);
    padding: 1.75rem; box-shadow: var(--app-shadow);
}
.calc-panel h3 { margin: 0 0 1.25rem; font-size: 1.1rem; }
.calc-input-row { margin-bottom: 1.15rem; }
.calc-input-row label { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.88rem; font-weight: 600; color: var(--fg1); margin-bottom: 0.4rem; }
.calc-input-row label .calc-input-value { color: var(--app-accent-text); font-weight: 700; }
.calc-input-row input[type="range"] { width: 100%; accent-color: var(--brand-green); }
.calc-input-row .calc-input-hint { display: block; font-size: 0.78rem; font-weight: 400; color: var(--fg3); margin-top: 0.25rem; }
.calc-outputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .calc-outputs { grid-template-columns: 1fr; } }
.calc-output-card { background: var(--app-bg); border: 1px solid var(--app-border); border-radius: 0.6rem; padding: 1.1rem 1.2rem; }
.calc-output-card.calc-output-highlight { background: rgba(111,217,87,0.1); border-color: var(--brand-green); }
.calc-output-label { display: block; font-size: 0.78rem; color: var(--fg3); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.35rem; }
.calc-output-value { font-family: var(--font-display, inherit); font-size: 1.5rem; font-weight: 700; color: var(--fg1); }
.calc-output-highlight .calc-output-value { color: var(--app-accent-text); }
.calc-output-sub { font-size: 0.8rem; color: var(--fg3); margin-top: 0.2rem; }
.calc-disclaimer {
    display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.82rem; color: var(--fg3);
    background: var(--app-bg); border: 1px solid var(--app-border); border-radius: 0.6rem; padding: 0.9rem 1.1rem; margin-top: 1.5rem;
}
.calc-disclaimer i { flex-shrink: 0; margin-top: 0.15rem; }

/* Thank-you download page */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .download-grid { grid-template-columns: 1fr; } }
.download-tile {
    background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-lg);
    padding: 1.5rem; box-shadow: var(--app-shadow); text-align: center;
    display: flex; flex-direction: column; align-items: center;
}
.download-tile-ico { width: 48px; height: 48px; margin: 0 auto 0.85rem; border-radius: 0.6rem; background: rgba(111,217,87,0.14); color: var(--app-accent-text); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.download-tile h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.download-tile p { color: var(--fg2); font-size: 0.88rem; margin: 0 0 1rem; }
.download-tile > a.mbtn { margin-top: auto; }
.download-meta { font-size: 0.78rem; color: var(--fg3); margin-top: 0.6rem; }

/* =========================
   Website X-Ray
   ========================= */
.xray-section { position: relative; background: var(--brand-dark-deeper); color: var(--fg-on-dark); overflow: hidden; }
.xray-section::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(111,217,87,0.10), transparent 60%),
        radial-gradient(700px 460px at 8% 110%, rgba(111,217,87,0.06), transparent 65%);
    pointer-events: none;
}
.xray-wrap { position: relative; z-index: 1; padding: 5rem 0; }
.xray-head { max-width: 42rem; margin: 0 auto 2.25rem; text-align: center; }
.xray-head h2 { color: var(--fg-on-dark); }
.xray-head p { color: rgba(245,245,245,0.72); }

.xray-form { max-width: 560px; margin: 0 auto; }
.xray-input-group input.form-control {
    background: #12161c; border: 1px solid rgba(255,255,255,0.12); color: var(--fg-on-dark);
}
.xray-input-group input.form-control::placeholder { color: rgba(245,245,245,0.35); }
.xray-input-group input.form-control:focus { background: #12161c; color: var(--fg-on-dark); border-color: var(--brand-green); box-shadow: 0 0 0 3px rgba(111,217,87,0.18); }
.xray-form-note { text-align: center; font-size: 0.8rem; color: rgba(245,245,245,0.5); margin: 0.7rem 0 0; }
.xray-form-note i { color: var(--brand-green); margin-right: 0.25rem; }

.xray-error {
    max-width: 560px; margin: 1.25rem auto 0; display: flex; gap: 0.6rem; align-items: flex-start;
    background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5;
    border-radius: 0.6rem; padding: 0.85rem 1.1rem; font-size: 0.9rem;
}
.xray-error i { flex-shrink: 0; margin-top: 0.15rem; color: #ef4444; }

/* Control-centre panel */
.xray-panel {
    position: relative; max-width: 880px; margin: 2.5rem auto 0;
    background: #12161c; border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 12px 24px -8px rgba(0,0,0,0.4);
    overflow: hidden; transform-style: preserve-3d;
    transform: perspective(1400px) rotateX(var(--xray-tilt-x, 0deg)) rotateY(var(--xray-tilt-y, 0deg));
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.xray-panel.locked {
    animation: xrayLockIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-color: rgba(111,217,87,0.4);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(111,217,87,0.15), 0 0 40px -8px rgba(111,217,87,0.25);
}
@keyframes xrayLockIn {
    0% { transform: perspective(1400px) scale(1); }
    45% { transform: perspective(1400px) scale(1.015); }
    100% { transform: perspective(1400px) scale(1); }
}

.xray-panel-chrome {
    display: flex; align-items: center; gap: 8px; padding: 0.7rem 1rem;
    background: #1d2026; border-bottom: 1px solid rgba(255,255,255,0.06); position: relative; z-index: 2;
}
.xray-panel-chrome .tlight { width: 11px; height: 11px; border-radius: 50%; background: #3a3d44; }
.xray-panel-url {
    margin-left: 0.75rem; flex: 1; min-width: 0;
    background: #0f1216; border: 1px solid rgba(255,255,255,0.06); border-radius: 0.4rem; padding: 4px 10px;
    font-family: var(--font-mono); font-size: 0.78rem; color: rgba(245,245,245,0.55);
    display: inline-flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.xray-panel-url .lock { color: var(--brand-green); flex-shrink: 0; }
.xray-panel-badge {
    flex-shrink: 0; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; color: rgba(245,245,245,0.4);
    display: none;
}
@media (min-width: 640px) { .xray-panel-badge { display: inline; } }

/* Radar sweep */
.xray-sweep {
    position: absolute; top: 44px; bottom: 0; width: 140px; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(111,217,87,0.16) 45%, rgba(111,217,87,0.35) 50%, rgba(111,217,87,0.16) 55%, transparent);
    mix-blend-mode: screen;
    animation: xraySweep 2.4s ease-in-out infinite;
}
@keyframes xraySweep {
    0% { left: -140px; }
    100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) { .xray-sweep { animation: none; display: none; } }

.xray-panel-body { position: relative; z-index: 1; padding: 1.25rem 1.25rem 0.5rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.xray-checklist { flex: 1 1 380px; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }

.xray-row {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.75rem;
    background: #1a1d22; border: 1px solid rgba(255,255,255,0.05); border-radius: 0.5rem;
    animation: xrayRowIn 0.35s ease both;
}
@keyframes xrayRowIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.xray-row-ico {
    width: 30px; height: 30px; border-radius: 0.4rem; flex-shrink: 0;
    background: rgba(255,255,255,0.06); color: rgba(245,245,245,0.4);
    display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}
.xray-row-label { font-size: 0.85rem; font-weight: 600; color: rgba(245,245,245,0.85); width: 9.5rem; flex-shrink: 0; }
.xray-row-status { position: relative; flex: 1; min-height: 1.15rem; min-width: 0; }
.xray-row-status .tech, .xray-row-status .plain {
    position: absolute; inset: 0; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xray-row-status .tech { font-family: var(--font-mono); font-size: 0.68rem; color: rgba(245,245,245,0.4); animation: xrayTechOut 2s ease forwards; }
.xray-row-status .plain { font-size: 0.85rem; font-weight: 600; opacity: 0; animation: xrayPlainIn 2s ease forwards; }
@keyframes xrayTechOut { 0%, 45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes xrayPlainIn { 0%, 45% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .xray-row-status .tech { display: none; }
    .xray-row-status .plain { opacity: 1; animation: none; }
}
.xray-row-badge { flex-shrink: 0; font-size: 1rem; }
.xray-row-pending { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; color: rgba(245,245,245,0.35); }
.xray-row-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(245,245,245,0.35); animation: xrayPulse 1.2s ease-in-out infinite; }
@keyframes xrayPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* Network nodes */
.xray-nodes { flex: 0 0 auto; display: flex; flex-direction: row; gap: 0.9rem; align-items: center; justify-content: center; padding: 0.5rem 0; }
.xray-node {
    display: flex; flex-direction: column; align-items: center; gap: 0.35rem; font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.05em; color: rgba(245,245,245,0.3);
}
.xray-node i {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.05rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: rgba(245,245,245,0.3);
    transition: all 0.4s ease;
}
.xray-node.active { color: var(--brand-green); }
.xray-node.active i { background: rgba(111,217,87,0.14); border-color: rgba(111,217,87,0.4); color: var(--brand-green); box-shadow: 0 0 16px -2px rgba(111,217,87,0.5); }
@media (min-width: 640px) {
    .xray-nodes { flex-direction: column; border-left: 1px dashed rgba(255,255,255,0.1); padding-left: 1.5rem; }
}

.xray-progress-track { height: 3px; background: rgba(255,255,255,0.06); position: relative; z-index: 1; }
.xray-progress-fill { height: 100%; background: var(--brand-green); transition: width 0.4s ease; }
.xray-progress-label {
    padding: 0.6rem 1.25rem 1rem; font-size: 0.75rem; color: rgba(245,245,245,0.4);
    display: flex; justify-content: space-between; gap: 1rem;
}

/* Summary banner */
.xray-summary {
    max-width: 880px; margin: 1.75rem auto 0; background: #12161c; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem; padding: 1.5rem 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem;
    animation: xrayRowIn 0.4s ease both;
}
.xray-summary-headline { display: flex; align-items: center; gap: 0.85rem; flex: 1 1 260px; }
.xray-summary-headline i { font-size: 1.75rem; color: var(--brand-green); flex-shrink: 0; }
.xray-summary-headline p { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--fg-on-dark); line-height: 1.4; }
.xray-summary-stats { display: flex; gap: 1.5rem; flex: 1 1 260px; }
.xray-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.15rem; }
.xray-stat .n { font-family: var(--font-display, inherit); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.xray-stat .l { font-size: 0.68rem; color: rgba(245,245,245,0.45); line-height: 1.3; margin-top: 0.2rem; }
.xray-stat-high .n { color: #ef4444; }
.xray-stat-medium .n { color: #f59e0b; }
.xray-stat-good .n { color: var(--brand-green); }
.xray-report-btn { flex-shrink: 0; white-space: nowrap; }
.xray-report-form { flex: 1 1 280px; max-width: 360px; }
.xray-report-form input.form-control { background: #0f1216; border: 1px solid rgba(255,255,255,0.12); color: var(--fg-on-dark); }
.xray-report-success { margin: 0; color: var(--brand-green); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }

.xray-finishing-line { text-align: center; font-size: 0.9rem; font-style: italic; color: rgba(245,245,245,0.35); margin: 2rem 0 0; }

@media (max-width: 640px) {
    .xray-wrap { padding: 3.5rem 0; }
    .xray-row-label { width: 6.2rem; font-size: 0.78rem; }
    .xray-panel-body { padding: 1rem 1rem 0.25rem; }
    .xray-summary { padding: 1.25rem; }
    .xray-summary-stats { justify-content: space-between; gap: 0.75rem; }
}
