/* ═══════════════════════════════════════════════
   DOCKSNAP — Light Mode Design System
   Direction: Light background + Cyan accent
   Fonts: Outfit (headings) + Sora (body)
   ═══════════════════════════════════════════════ */

/* Design system v2 tokens (design-system 3.1), light set only: whether the site follows the OS dark
   setting is owner question 1. Migration step 1 (design-system 10.2): the v1 names below are aliases
   of these, so every button and cyan label gets the contrast fix at once with no rule changes. Rules
   rebuilt in P1 use the v2 names; the aliases go once nothing uses them (P2 week 1). */
:root {
    --brand: #009DDF;
    --action: #00719F;
    --action-hover: #005B80;
    --action-active: #004A69;
    --on-action: #FFFFFF;
    --ink: #1A1A2E;
    --text-muted: #525A69;
    --surface: #FFFFFF;
    --surface-paper: #F5F5F7;
    --surface-tint: #EBF6FB;
    --surface-frame: #0F172A;
    --on-frame: #CBD5E1;
    --line: #D8DAE0;
    --line-strong: #7A808C;
    --focus: #1A1A2E;
    --danger: #B42335;
    --danger-tint: #FBEDEF;
    --success: #1D7A46;
    --success-tint: #EAF5EE;
    --note: #8A5A00;
    --note-tint: #FBF3E3;
}

/* v1 names, aliased to v2 (design-system 10.1-10.2 step 1). */
:root {
    --green: var(--action);
    --green-dark: var(--action-hover);
    --green-glow: rgba(0, 157, 223, 0.25);
    --green-bg: rgba(0, 157, 223, 0.08);
    --black: var(--surface);
    --off-black: var(--surface-paper);
    --dark-gray: var(--surface-paper);
    --mid-gray: var(--line);
    --text-gray: var(--text-muted);
    --white: var(--ink);
    --red: var(--danger);
    --red-bg: var(--danger-tint);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Sora', sans-serif;
    --max-w: 1200px;
    --section-pad: clamp(4rem, 8vw, 7rem);
}

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

/* No motion anywhere (design-system 8). In-page links jump. The reduced-motion block below is the
   only exemption: a safety net for anything embedded. */
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .stat-number, .money-line {
    font-family: var(--font-heading);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.section-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--green);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 640px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.7rem 1.6rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    /* A two-line label breaks between words, not after "30-" */
    text-align: center;
    justify-content: center;
    text-wrap: balance;
}
.btn-primary {
    background: var(--green);
    color: var(--black);
}
.btn-primary:hover {
    background: var(--white);
    box-shadow: 0 10px 40px var(--green-glow);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--mid-gray);
}
.btn-ghost:hover {
    border-color: var(--green);
    color: var(--green);
}
.btn-large {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
    font-weight: 900;
}

/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: calc(1.2rem + env(safe-area-inset-top, 0px)) 2rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 157, 223, 0.15);
}
.nav .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

/* --- Brand group: logo --- */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
/* The logo gives way on phones instead of shrinking (homepage-spec 3): the 36px wordmark from 1,120px,
   26px below that, and the icon alone below 480px. (The spec's 380px was measured with the P1 button;
   today's uppercase button is wider, so on a 390-430px phone the wordmark wouldn't fit beside it.) */
.nav-logo-full { height: 36px; width: auto; }
.nav-logo-icon { display: none; width: 32px; height: 32px; }
@media (max-width: 1119px) {
    .nav-logo-full { height: 26px; }
}
@media (max-width: 479px) {
    .nav-logo-full { display: none; }
    .nav-logo-icon { display: block; }
}
.nav-logo .logo-text .primary {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #009DDF, #031059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.nav-brand-divider {
    width: 1px;
    height: 32px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 16px;
    flex-shrink: 0;
}
.nav-aviloo {
    display: flex;
    align-items: center;
    text-decoration: none;
    opacity: 0.85;
}
.nav-aviloo:hover { opacity: 1; }
.nav-aviloo img {
    height: 38px;
    width: auto;
    display: block;
}

/* --- Hamburger (hidden on desktop) --- */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    min-width: 44px;
    min-height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 5px;
    z-index: 1001;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
}
.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Nav actions (right side) --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-cta {
    background: var(--green);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.7rem 1.6rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}
.nav-cta:hover {
    background: var(--white);
}
.nav-cta--ghost {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--mid-gray);
}
.nav-cta--ghost:hover {
    background: transparent;
    border-color: var(--green);
    color: var(--green);
}
.nav-cta--green {
    color: var(--green);
    border-color: var(--green);
}

/* The trial button sits outside the menu, so it shows at every width (homepage-spec 3). The full row
   (logo, seven links, Tools, the button) shows from 1,120px, with links and the button on a little less
   padding until 1,280px; below 1,120px the links and Tools collapse behind the Menu button and the row is
   logo · button · Menu (it used to collapse at 900px, which squeezed the logo to nothing and wrapped the
   button between 901 and 1,270px). main.js's matchMedia uses the same 1,119px. The button keeps its
   label on one line and never shrinks. */
.nav-cta { white-space: nowrap; flex-shrink: 0; }
.nav-menu { margin-left: auto; }

/* --- Nav menu (links + CTA) --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

/* --- Nav link / dropdown trigger --- */
.nav-link {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-gray);
    padding: 0.6rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}
.nav-link:hover { color: var(--white); }
.nav-link svg { opacity: 0.4; }
/* 1,120-1,279px: the full row on a little less padding (see the note above "Nav menu"). After the
   .nav-link and .nav-cta rules so it wins. */
@media (min-width: 1120px) and (max-width: 1279px) {
    .nav-link { padding-left: 0.5rem; padding-right: 0.5rem; }
    .nav-cta { padding-left: 1rem; padding-right: 1rem; }
}

/* --- Dropdown menu --- */
.nav-dropdown {
    position: relative;
}

/* Invisible bridge that keeps hover alive between trigger and menu */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 16px;
    pointer-events: none;
}
.nav-dropdown:hover::after,
.nav-dropdown.is-open::after {
    pointer-events: auto;
}

.nav-dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 8px);
    left: -1rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 280px;
    padding: 0.5rem;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    pointer-events: none;
}

/* Shown on hover or when open, at once (no motion) */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.nav-dropdown:hover .nav-link svg,
.nav-dropdown.is-open .nav-link svg {
    transform: rotate(180deg);
    opacity: 0.7;
}

.nav-dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
}
.nav-dropdown-item:hover {
    background: rgba(0, 157, 223,0.06);
}
.nav-dropdown-item:hover .nav-dropdown-title {
    color: var(--green);
}
.nav-dropdown-title {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 0.15rem;
}
.nav-dropdown-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    opacity: 0.7;
}

/* --- Mobile nav --- */
@media (max-width: 1119px) {
    .nav { padding: 0.8rem 1rem; }
    .nav .container { position: relative; padding: 0; }
    /* logo · button · Menu: the button and Menu sit at the right; the open menu is out of the flow. */
    .nav-cta {
        margin-left: auto;
        position: relative;
        z-index: 1001;
    }
    .nav-brand-divider { margin: 0 10px; height: 24px; }
    .nav-aviloo img { height: 28px; }
    .nav-hamburger { display: flex; }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 3rem;
        gap: 0;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-menu.open { display: flex; }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-dropdown { width: 100%; }
    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        width: 100%;
        justify-content: space-between;
        color: var(--white);
    }

    .nav-dropdown-menu {
        display: none;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        padding: 0 0 0.5rem 1rem;
        min-width: 0;
        margin-top: 0;
    }
    .nav-dropdown.active .nav-dropdown-menu { display: block; }
    .nav-dropdown.active .nav-link svg { transform: rotate(180deg); }
    .nav-dropdown-item { padding: 0.6rem 0; }
    .nav-dropdown-item:hover { background: transparent; }

}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}
.hero-eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--green);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.hero-stat {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(6rem, 18vw, 14rem);
    line-height: 0.9;
    color: var(--green);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 80px var(--green-glow);
}
.hero-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    line-height: 1.3;
    max-width: 700px;
    margin: 1.5rem auto 0;
    position: relative;
    z-index: 1;
}
.hero-sub {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-gray);
    max-width: 600px;
    margin: 1.5rem auto 0;
    position: relative;
    z-index: 1;
}
.hero-sub strong { color: var(--white); }
.hero-cta {
    display: inline-block;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}
/* The micro line under the hero's trial button (trial terms; templates-spec 8.1).
   #525A69 is design-system v2 --text-muted: 6.9:1 on white. */
.hero-micro {
    font-size: 0.9rem;
    color: #525A69;
    max-width: 600px;
    margin: 1.25rem auto 0;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════
   SPLIT SECTION (Problem / Opportunity)
   ═══════════════════════════════════════════════ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    position: relative;
    z-index: 2;
    background: var(--black);
}
.split-panel {
    padding: clamp(3rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split-problem {
    background: var(--off-black);
    border-right: 1px solid var(--mid-gray);
    position: relative;
    overflow: hidden;
}
.split-problem::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.split-opportunity {
    background: var(--off-black);
    position: relative;
    overflow: hidden;
}
.split-opportunity::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(225deg, rgba(0, 157, 223, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.split-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.split-problem .split-label { color: var(--red); }
.split-opportunity .split-label { color: var(--green); }
.split-stat-item {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.split-stat-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}
.split-problem .split-stat-num { color: var(--red); }
.split-opportunity .split-stat-num { color: var(--green); }
.split-stat-text {
    font-size: 1rem;
    color: var(--text-gray);
    margin-top: 0.4rem;
    line-height: 1.4;
    max-width: 360px;
}

/* ═══════════════════════════════════════════════
   BIG NUMBERS
   ═══════════════════════════════════════════════ */
.big-numbers {
    padding: 6rem 2rem;
    background: var(--dark-gray);
    position: relative;
    overflow: hidden;
}
.big-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.big-numbers-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.big-num-item {
    padding: 2rem 1rem;
    position: relative;
}
.big-num-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--mid-gray);
}
.big-num-item:last-child::after { display: none; }
.big-num-value {
    font-family: var(--font-heading);
    font-weight: 900;
    /* Sized for two-word values ("Your Devices"), which wrap onto two balanced lines at most */
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    text-wrap: balance;
    color: var(--green);
    line-height: 1.05;
    text-shadow: 0 0 40px var(--green-glow);
}
.big-num-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.big-num-badge {
    display: inline-block;
    background: rgba(0, 157, 223, 0.1);
    border: 1px solid rgba(0, 157, 223, 0.2);
    color: var(--green);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.8rem;
    margin-top: 0.6rem;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════ */
.how-it-works {
    padding: 7rem 2rem;
    background: var(--black);
    text-align: center;
}
.how-it-works .section-sub {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 4rem;
}
.steps-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--green));
    opacity: 0.3;
}
.step {
    padding: 0 1.5rem;
    position: relative;
}
.step-num {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--dark-gray);
    border: 2px solid var(--green);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--green);
    position: relative;
    z-index: 1;
}
.step-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.step-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   THE SCIENCE (head-to-head)
   ═══════════════════════════════════════════════ */
.science {
    padding: var(--section-pad) 2rem;
    background: var(--off-black);
    position: relative;
    overflow: hidden;
}
.science::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
}

/* Head-to-head comparison */
.science-h2h {
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}
.h2h-side {
    flex: 1;
    padding: 3rem 2.5rem;
    text-align: center;
}
.h2h-bad {
    background: rgba(220, 53, 69, 0.04);
    border: 1px solid rgba(220, 53, 69, 0.12);
    border-right: none;
}
.h2h-good {
    background: rgba(0, 157, 223, 0.04);
    border: 1px solid rgba(0, 157, 223, 0.12);
    border-left: none;
}
.h2h-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.h2h-bad .h2h-label { color: var(--red); }
.h2h-good .h2h-label { color: var(--green); }
.h2h-stat {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.h2h-bad .h2h-stat {
    color: var(--red);
    text-shadow: 0 0 40px rgba(220, 53, 69, 0.3);
}
.h2h-good .h2h-stat {
    color: var(--green);
    text-shadow: 0 0 40px rgba(0, 157, 223, 0.3);
}
.h2h-caption {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.h2h-detail {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}
.h2h-vs {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    color: var(--text-gray);
    letter-spacing: 0.1em;
    background: var(--off-black);
    border: 1px solid var(--mid-gray);
    width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    z-index: 1;
}

/* Punchline */
.science-punchline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.5;
}
.science-punchline strong {
    color: var(--red);
}

/* Badges */
.science-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.sci-badge {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 0.6rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
}

/* Supporting copy */
.science-supporting {
    max-width: 700px;
    margin: 2.5rem auto 0;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}
.science-supporting strong {
    color: var(--white);
    font-weight: 700;
}

/* Mobile: stack the h2h */
@media (max-width: 650px) {
    .science-h2h {
        flex-direction: column;
        align-items: stretch;
    }
    .h2h-bad { border-right: 1px solid rgba(220, 53, 69, 0.12); border-bottom: none; }
    .h2h-good { border-left: 1px solid rgba(0, 157, 223, 0.12); border-top: none; }
    .h2h-vs {
        width: 48px;
        height: 48px;
        margin: -24px auto;
        position: relative;
        z-index: 2;
    }
    .h2h-side { padding: 2.5rem 1.5rem; }
}

/* ═══════════════════════════════════════════════
   MONEY TALK (ROI calculator)
   ═══════════════════════════════════════════════ */
.money {
    padding: 7rem 2rem;
    background: var(--black);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.money-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.money-calculator {
    max-width: 700px;
    margin: 3rem auto 0;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 3rem;
    position: relative;
    z-index: 1;
}
.money-line {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--mid-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.money-line:last-child { border-bottom: none; padding-bottom: 0; }
.money-line .label { color: var(--text-gray); text-align: left; }
.money-line .value { font-weight: 900; white-space: nowrap; margin-left: 2rem; }
.money-line.cost .value { color: var(--white); }
.money-line.revenue .value { color: var(--green); }
.money-line.roi {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--green);
    border-bottom: none;
}
.money-line.roi .value {
    color: var(--green);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-shadow: 0 0 30px var(--green-glow);
}
.money-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════
   COMPLIANCE
   ═══════════════════════════════════════════════ */
.compliance {
    padding: 7rem 2rem;
    background: var(--off-black);
    position: relative;
}
.compliance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.compliance-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.compliance-headline {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 3rem;
}
.compliance-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}
.compliance-item {
    padding: 2rem;
    background: var(--dark-gray);
    border-left: 3px solid var(--red);
}
.compliance-item-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.6rem;
}
.compliance-item-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}
.compliance-kicker {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-gray);
    line-height: 1.5;
    max-width: 650px;
    margin: 0 auto;
}
.compliance-kicker strong {
    color: var(--white);
    font-style: normal;
}

/* ═══════════════════════════════════════════════
   ICON CARDS (Why DockSnap section)
   ═══════════════════════════════════════════════ */
.aviloo-icon {
    width: 160px;
    margin: 0 auto 1rem;
    filter: none;
    mix-blend-mode: normal;
}

/* ═══════════════════════════════════════════════
   SOCIAL PROOF
   ═══════════════════════════════════════════════ */
.proof {
    padding: 5rem 2rem;
    background: var(--black);
    text-align: center;
    border-top: 1px solid var(--mid-gray);
    border-bottom: 1px solid var(--mid-gray);
}
.proof-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}
.proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    opacity: 0.4;
}
.proof-logo-placeholder {
    width: 120px;
    height: 50px;
    background: var(--mid-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.aviloo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--white);
    letter-spacing: 0.05em;
}
.aviloo-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
}

/* ═══════════════════════════════════════════════
   CTA / FORM SECTION
   ═══════════════════════════════════════════════ */
.final-cta {
    padding: 7rem 2rem;
    background: var(--off-black);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}
.final-cta .section-title { margin-bottom: 3rem; }
/* The trial terms and the Chuck line under the final buttons. Ink (#1A1A2E), not grey, because the
   section sits on a lightened photo. */
.final-cta-micro {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 1.25rem auto 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1A1A2E;
}
.final-cta-micro + .final-cta-micro { margin-top: 0.5rem; }
.final-cta-micro a { text-decoration: underline; text-underline-offset: 3px; }
.cta-form {
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    position: relative;
    z-index: 1;
}
.cta-form input,
.cta-form select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}
.cta-form input::placeholder { color: var(--text-gray); }
.cta-form input:focus,
.cta-form select:focus { border-color: var(--green); }
.cta-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23a0a0a0'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
    color: var(--text-gray);
}
.cta-form select option {
    background: var(--dark-gray);
    color: var(--white);
}
.cta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.cta-submit {
    width: 100%;
    padding: 1.1rem;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}
.cta-submit:hover {
    background: var(--white);
    box-shadow: 0 10px 40px var(--green-glow);
}
.cta-note {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   MEGA FOOTER
   ═══════════════════════════════════════════════ */
.footer-mega {
    background: var(--black);
    position: relative;
    overflow: hidden;
}
.footer-mega::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 157, 223, 0.04) 0%, transparent 70%);
    pointer-events: none;
}
.footer-accent-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), #031059, transparent);
    opacity: 0.6;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

/* Footer grid — 4 columns */
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 0.9fr 1.2fr;
    gap: 2rem;
}

/* Brand column */
.footer-col-brand { padding-right: 1rem; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
}
.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.15;
    color: var(--white);
}
.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.footer-aviloo-badge {
    display: inline-flex;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--mid-gray);
    background: rgba(0, 0, 0, 0.03);
}
.footer-aviloo-badge:hover {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.04);
}
.footer-aviloo-badge a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-decoration: none;
}
.footer-aviloo-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-gray);
    font-weight: 600;
}

/* Column titles */
.footer-col-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--green);
}

/* Link lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a,
.footer-links span {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-decoration: none;
}
.footer-links a:hover { color: var(--green); }

/* Contact links with icons */
.footer-links-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}
.footer-links-contact svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

/* Footer CTA button */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.4rem;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}
.footer-cta-btn:hover {
    background: #0080B8;
}

/* Separator */
.footer-separator {
    height: 1px;
    background: var(--mid-gray);
    margin: 2.5rem 0;
    opacity: 0.5;
}

/* Stats ribbon */
.footer-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.footer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}
.footer-stat-value {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--green);
    text-shadow: 0 0 20px var(--green-glow);
    line-height: 1;
}
.footer-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-gray);
    font-weight: 600;
}

/* Legal bar */
.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-legal-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.footer-legal-left span {
    font-size: 0.75rem;
    color: var(--text-gray);
    opacity: 0.7;
}
.footer-legal-entity {
    font-size: 0.7rem !important;
    opacity: 0.5 !important;
}
.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-legal-links a {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-decoration: none;
    opacity: 0.6;
}
.footer-legal-links a:hover {
    opacity: 1;
    color: var(--green);
}

/* Disclaimer */
.footer-disclaimer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.65rem;
    color: var(--text-gray);
    opacity: 0.4;
    line-height: 1.6;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Footer responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-col-brand { grid-column: 1 / -1; padding-right: 0; }
    .footer-stats { flex-wrap: wrap; }
    .footer-stat { min-width: 80px; }
}
@media (max-width: 600px) {
    .footer-inner { padding: 3rem 1.5rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .footer-legal { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-legal-links { gap: 1rem; }
}
/* Trust cards — Tested. Assured. Certified. */
.trust-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--mid-gray);
    background: rgba(0, 0, 0, 0.03);
}
.trust-card:hover {
    border-color: var(--green);
}
.trust-card-icon {
    margin-bottom: 1.25rem;
}
.trust-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}
.trust-card-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}
.certified-banner {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.certified-banner-inner {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 2.5rem;
    border: 1px solid rgba(0, 157, 223, 0.3);
    background: rgba(0, 157, 223, 0.04);
}
.certified-banner-inner:hover {
    border-color: rgba(0, 157, 223, 0.5);
    background: rgba(0, 157, 223, 0.06);
}
.certified-banner-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .trust-card { padding: 1.5rem 1rem; }
    .certified-banner-inner { flex-direction: column; gap: 0.75rem; padding: 1.5rem; }
    .certified-banner-divider { width: 3rem; height: 1px; }
}

.footer-aviloo-badge {
    margin: 1.5rem auto;
    padding: 1.25rem 2rem;
    border: 1px solid var(--mid-gray);
    display: inline-flex;
    background: rgba(0, 0, 0, 0.03);
}
.footer-aviloo-badge:hover {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.04);
}

/* ═══════════════════════════════════════════════
   PAGE BODY (inner pages)
   ═══════════════════════════════════════════════ */
.page-body {
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 800px;
}
.page-body h2, .page-body h3 {
    color: var(--white);
    margin: 2rem 0 1rem;
}
.page-body p { margin-bottom: 1rem; }
/* Links in running text are always underlined (design-system 6.1; axe link-in-text-block): the action
   blue alone is too close to the body grey to mark a link. */
.page-body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.page-body a:hover { text-decoration-thickness: 2px; }
.page-body a.btn,
.comparison-body a.btn { color: var(--black); text-decoration: none; }
.page-body a.btn:hover,
.comparison-body a.btn:hover { text-decoration: none; }
.page-body ul, .page-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
.page-body li { margin-bottom: 0.5rem; }
.page-body strong { color: var(--white); }
.page-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border: 1px solid var(--mid-gray);
}
.page-body p:has(> img:only-child) { margin: 0; }

/* Blog card (reused on blog listing) */
.blog-card {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    border-color: var(--green);
}
.blog-card--has-image { padding: 0; overflow: hidden; }
.blog-card__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--mid-gray);
}
.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-card__body { display: flex; flex-direction: column; flex: 1; }
.blog-card--has-image .blog-card__body { padding: 1.5rem 2rem 2rem; }
.blog-card__author { margin-top: auto; }
.blog-card .card-date {
    font-size: 0.75rem;
    color: var(--green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.blog-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Contact form (standalone page) */
.contact-form {
    max-width: 600px;
    display: grid;
    gap: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-gray); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--green); }
.contact-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
}
.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23a0a0a0'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
    color: var(--text-gray);
}
.contact-form select option {
    background: var(--dark-gray);
    color: var(--white);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group { margin-bottom: 0; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split-problem { border-right: none; border-bottom: 1px solid var(--mid-gray); }
    .big-numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .big-num-item:nth-child(2)::after { display: none; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .steps-grid::before { display: none; }
    .science-badges { justify-content: center; }
    .compliance-items { grid-template-columns: 1fr; }
    .money-line { flex-direction: column; text-align: center; gap: 0.3rem; }
    .money-line .value { margin-left: 0; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hero { padding: 7rem 1.5rem 4rem; }
    .split-panel { padding: 2.5rem 1.5rem; }
    .big-numbers-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .big-num-item { padding: 1.5rem 0.5rem; }
    .big-num-item::after { display: none; }
    .steps-grid { grid-template-columns: 1fr; }
    .money-calculator { padding: 2rem 1.5rem; }
    .cta-form-row { grid-template-columns: 1fr; }
    .proof-logos { gap: 1.5rem; }
}

/* Three stat tiles (homepage, until claim('setup') renders the fourth): one row of three down to 601px,
   then one column. */
.big-numbers-grid--three { grid-template-columns: repeat(3, 1fr); max-width: 960px; }
@media (min-width: 601px) and (max-width: 900px) {
    .big-numbers-grid--three { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .big-numbers-grid--three .big-num-item:nth-child(2)::after { display: block; }
}
@media (max-width: 600px) {
    .big-numbers-grid--three { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   VIDEO SECTION (contained card)
   ═══════════════════════════════════════════════ */
.video-section {
    padding: 6rem 2rem;
    background: var(--black);
}
.video-card {
    max-width: 900px;
    margin: 2rem auto 0;
    border: 1px solid var(--mid-gray);
    overflow: hidden;
    position: relative;
}
.video-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    z-index: 3;
}
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255,255,255,0.8);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}
.video-play-btn svg { margin-left: 4px; }
.video-play-btn:hover {
    border-color: var(--green);
    background: rgba(0, 157, 223, 0.12);
}
.video-meta {
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dark-gray);
    border-top: 1px solid var(--mid-gray);
}
.video-meta-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
}
.video-meta-duration {
    font-size: 0.75rem;
    color: var(--text-gray);
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════
   VIDEO MODAL
   ═══════════════════════════════════════════════ */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}
.video-modal.open {
    opacity: 1;
    pointer-events: all;
}
.video-modal-inner {
    width: 90vw;
    max-width: 1000px;
    position: relative;
}
.video-modal video {
    width: 100%;
    display: block;
    background: #000;
}
.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--mid-gray);
    background: var(--black);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-modal-close:hover { border-color: var(--green); }

/* ═══════════════════════════════════════════════
   STEP IMAGES (How It Works)
   ═══════════════════════════════════════════════ */
.step-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--mid-gray);
    margin-bottom: 1.5rem;
    position: relative;
}
.step-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}
.step-img::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
}
.step:hover .step-img::before { transform: scaleX(1); }
.step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════
   CERTIFICATE GALLERY (horizontal scroll)
   ═══════════════════════════════════════════════ */
.cert-gallery {
    margin: 3rem -2rem 3rem;
    overflow: hidden;
}
.cert-gallery-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 2rem 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cert-gallery-track::-webkit-scrollbar { display: none; }
.cert-gallery-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    border: 1px solid var(--mid-gray);
    overflow: hidden;
}
.cert-gallery-card:hover { border-color: rgba(0, 157, 223, 0.4); }
.cert-gallery-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}
.cert-gallery-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(255,255,255,0.6) 100%);
    pointer-events: none;
}
.cert-gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cert-gallery-card-body {
    padding: 1.25rem;
    background: var(--dark-gray);
}
.cert-gallery-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}
.cert-gallery-card-text {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   FINAL CTA BACKGROUND IMAGE
   ═══════════════════════════════════════════════ */
.final-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.final-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.7);
}
.final-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(245,245,247,0.85) 0%, rgba(245,245,247,0.6) 50%, rgba(245,245,247,0.9) 100%);
}

/* Page hero image (inner pages) */
.page-hero-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    margin-top: 60px;
}
.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}
.page-hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.85) 100%);
}
.page-hero-image + section {
    padding-top: var(--section-pad) !important;
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

/* Why DockSnap — icon cards */
.why-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mid-gray);
    background: var(--dark-gray);
}

@media (max-width: 768px) {
    .cert-gallery-card { flex: 0 0 260px; }
}
@media (max-width: 600px) {
    .cert-gallery-track {
        flex-direction: column;
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 0.5rem 2rem 1.5rem;
    }
    .cert-gallery-card {
        flex: none;
        width: 100%;
    }
    .cert-gallery { overflow: visible; }
}

/* ═══════════════════════════════════════════════
   LOGO CAROUSEL
   ═══════════════════════════════════════════════ */
.logo-carousel {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-carousel-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: max-content;
}
.logo-carousel-track img {
    height: 35px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%) brightness(0.4);
    flex-shrink: 0;
}
.logo-carousel-track img:hover { opacity: 0.8; }

/* ═══════════════════════════════════════════════
   FAQ PAGE
   ═══════════════════════════════════════════════ */
.faq-section {
    padding: calc(var(--section-pad) + 4rem) 2rem var(--section-pad);
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}
.faq-sidebar {
    position: sticky;
    top: 6rem;
}
.faq-item {
    border-bottom: 1px solid var(--mid-gray);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-question:hover { color: var(--green); }
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--green);
    flex-shrink: 0;
}
.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 1.25rem;
}
.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}
.faq-answer p strong { color: var(--white); }
@media (max-width: 900px) {
    .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
    .faq-sidebar { position: static; }
}

/* ═══════════════════════════════════════════════
   CALCULATOR PAGE
   ═══════════════════════════════════════════════ */
.calc-hero {
    padding: 8rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.calc-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.calc-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}
.calc-main {
    padding: 0 2rem 6rem;
    position: relative;
    z-index: 1;
}
.calc-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.calc-card {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 2.5rem;
}
.calc-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--green);
}
.calc-card-header h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
}
.calc-step-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.calc-inputs {
    display: grid;
    gap: 1.5rem;
}
.calc-field label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.calc-field input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--black);
    border: 1px solid var(--mid-gray);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
}
.calc-field input::placeholder { color: var(--text-gray); }
.calc-field input:focus { border-color: var(--green); }
.field-required {
    color: var(--green);
    font-weight: 700;
    margin-left: 0.15em;
}
.field-optional {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-gray);
    opacity: 0.6;
    margin-left: 0.4em;
    text-transform: lowercase;
    letter-spacing: 0.03em;
}
.calc-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.4rem;
}
.calc-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.calc-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}
.calc-note {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-align: center;
}
.calc-error {
    color: var(--red);
    font-size: 0.85rem;
    text-align: center;
}

/* Results hero */
.calc-results-hero {
    text-align: center;
    padding: 3rem 0;
}
.calc-big-results {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
.calc-result-card {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 2rem 1.5rem;
    text-align: center;
}
.calc-result-card.accent {
    border-color: var(--green);
    position: relative;
    overflow: hidden;
}
.calc-result-card.accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--green-bg);
    pointer-events: none;
}
.calc-result-value {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--green);
    line-height: 1;
    text-shadow: 0 0 30px var(--green-glow);
    position: relative;
}
.calc-result-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.8rem;
    font-weight: 600;
    position: relative;
}

/* Breakdown */
.calc-breakdown {
    display: grid;
    gap: 0;
}
.calc-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    gap: 2rem;
}
.calc-line:last-child { border-bottom: none; }
.calc-line-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.4;
}
.calc-line-label .calc-hint { margin-top: 0.25rem; }
.calc-line-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    white-space: nowrap;
    text-align: right;
}
.calc-line-value.green { color: var(--green); }
.calc-line-value.red { color: var(--red); }
.calc-line.highlight {
    background: var(--black);
    margin: 0 -2.5rem;
    padding: 1rem 2.5rem;
    border-bottom: none;
}
.calc-line.green-line { border-top: 2px solid var(--green); }
.calc-line.roi-line {
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--green);
    border-bottom: none;
}
.calc-line.roi-line .calc-line-value {
    font-size: 1.8rem;
    text-shadow: 0 0 30px var(--green-glow);
}
.calc-note-box {
    background: var(--red-bg);
    border-left: 3px solid var(--red);
    padding: 1.2rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: 1rem;
}
.calc-note-box strong { color: var(--white); }

/* CTA */
.calc-cta-section {
    text-align: center;
    padding: 4rem 0;
    position: relative;
}
.calc-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.3;
}

/* Scorecard */
.calc-scorecard {
    margin-top: 2rem;
}
.sc-question {
    margin-bottom: 1.5rem;
}
.sc-q-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 0.8rem;
}
.sc-options {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.sc-opt {
    padding: 0.6rem 1.2rem;
    background: var(--black);
    border: 1px solid var(--mid-gray);
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}
.sc-opt:hover {
    border-color: var(--green);
    color: var(--green);
}
.sc-opt.selected {
    background: var(--green);
    color: var(--black);
    border-color: var(--green);
}
.sc-score-display {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}
.sc-score-ring {
    width: 120px;
    height: 120px;
    position: relative;
    flex-shrink: 0;
}
.sc-score-ring svg { width: 100%; height: 100%; }
.sc-score-number {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: var(--white);
}
.sc-persona {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.sc-persona-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}
.sc-action-box {
    background: var(--green-bg);
    border-left: 3px solid var(--green);
    padding: 1.2rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: 1.5rem;
}
.sc-action-box strong { color: var(--white); }

/* Pillar cards */
.calc-pillar {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    margin-bottom: 1rem;
}
.calc-pillar:hover { border-color: rgba(0, 0, 0, 0.1); }
.calc-pillar-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    flex-shrink: 0;
}
.calc-pillar-content { flex: 1; }
.calc-pillar-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.calc-pillar-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.calc-pillar-desc strong { color: var(--white); }
.calc-pillar-stat {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.calc-pillar-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1;
}
.calc-pillar-num.green { color: var(--green); }
.calc-pillar-context {
    font-size: 0.85rem;
    color: var(--text-gray);
}
.calc-pillar-detail {
    font-size: 0.8rem;
    color: var(--text-gray);
    opacity: 0.7;
}

/* Total card */
.calc-total-card {
    margin-top: 2rem;
    background: var(--off-black);
    border: 2px solid var(--green);
    padding: 2rem;
}
.calc-total-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    text-align: center;
}
.calc-total-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-gray);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.calc-total-value {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--white);
    line-height: 1;
}
.calc-total-value.green {
    color: var(--green);
    text-shadow: 0 0 30px var(--green-glow);
}
.calc-total-sub {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.4rem;
}
.calc-total-item.accent {
    position: relative;
}
.calc-total-item.accent::before {
    content: '';
    position: absolute;
    inset: -2rem -1rem;
    background: var(--green-bg);
    pointer-events: none;
}

/* Calculator responsive */
@media (max-width: 900px) {
    .calc-big-results { grid-template-columns: 1fr; }
    .calc-field-row { grid-template-columns: 1fr; }
    .calc-total-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .sc-score-display { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
    .calc-card { padding: 1.5rem; }
    .calc-line.highlight { margin: 0 -1.5rem; padding: 1rem 1.5rem; }
    .calc-pillar { flex-direction: column; gap: 1rem; padding: 1.5rem; }
    .calc-pillar-stat { flex-direction: column; gap: 0.25rem; }
    .sc-options { flex-direction: column; }
}

/* ═══════════════════════════════════════════════
   SCORECARD PAGE (standalone)
   ═══════════════════════════════════════════════ */
.sc-hero {
    padding: 8rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sc-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}
.sc-main {
    padding: 0 2rem 6rem;
}
.sc-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Progress bar */
.sc-progress {
    height: 3px;
    background: var(--mid-gray);
    margin-bottom: 0.5rem;
}
.sc-progress-bar {
    height: 100%;
    background: var(--green);
    width: 0;
}
.sc-progress-text {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-align: right;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Question cards */
.sc-q-card {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 1.75rem 2rem;
    margin-bottom: 1rem;
    position: relative;
}
.sc-q-card.answered {
    border-color: rgba(0, 157, 223, 0.3);
    opacity: 0.7;
}
.sc-q-card.answered:hover {
    opacity: 1;
}
.sc-q-num {
    position: absolute;
    top: 1.75rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--mid-gray);
    line-height: 1;
    opacity: 0.4;
}
.sc-q-card .sc-q-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
    padding-right: 2.5rem;
}
.sc-q-card .sc-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.sc-q-card .sc-opt {
    padding: 0.55rem 1.1rem;
    background: var(--black);
    border: 1px solid var(--mid-gray);
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.sc-q-card .sc-opt:hover {
    border-color: var(--green);
    color: var(--green);
}
.sc-q-card .sc-opt.selected {
    background: var(--green);
    color: var(--black);
    border-color: var(--green);
}

/* Results header */
.sc-results-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 0 3rem;
}
.sc-score-ring-large {
    width: 160px;
    height: 160px;
    position: relative;
    flex-shrink: 0;
}
.sc-score-ring-large svg { width: 100%; height: 100%; }
.sc-score-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.sc-score-big {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--white);
    line-height: 1;
}
.sc-score-of {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
}
.sc-persona-block { flex: 1; }
.sc-persona-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--green);
    color: var(--green);
    margin-bottom: 0.75rem;
}
.sc-persona-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.sc-persona-summary {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Breakdown bars */
.sc-breakdown {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 2rem;
    margin-bottom: 2rem;
}
.sc-breakdown-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--green);
}
.sc-breakdown-row {
    display: grid;
    gap: 1.25rem;
}
.sc-breakdown-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem 1rem;
    align-items: center;
}
.sc-breakdown-bar-bg {
    height: 6px;
    background: var(--mid-gray);
    grid-column: 1 / -1;
    order: -1;
}
.sc-breakdown-bar {
    height: 100%;
    width: 0;
    background: var(--green);
}
.sc-breakdown-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}
.sc-breakdown-score {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--white);
    text-align: right;
}

/* Action plan */
.sc-action-plan {
    margin-bottom: 2rem;
}
.sc-action-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}
.sc-action-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    margin-bottom: 0.5rem;
}
.sc-action-item:hover {
    border-color: rgba(0, 0, 0, 0.06);
}
.sc-action-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.sc-action-item strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.sc-action-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

/* Results CTA */
.sc-results-cta {
    text-align: center;
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--mid-gray);
    margin-top: 1rem;
}
.sc-results-cta h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Scorecard responsive */
@media (max-width: 600px) {
    .sc-results-header { flex-direction: column; text-align: center; gap: 1.5rem; }
    .sc-score-ring-large { width: 130px; height: 130px; }
    .sc-q-card { padding: 1.25rem 1.5rem; }
    .sc-q-num { top: 1.25rem; right: 1.5rem; }
    .sc-q-card .sc-options { flex-direction: column; }
    .sc-action-item { flex-direction: column; gap: 0.75rem; padding: 1rem 1.25rem; }
    .sc-breakdown { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════════
   COMPARISON PAGES
   ═══════════════════════════════════════════════ */
.cmp-hero {
    padding: var(--section-pad) 0;
    padding-top: calc(var(--section-pad) + 5rem);
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 157, 223, 0.06) 0%, transparent 70%),
        linear-gradient(180deg, rgba(0, 157, 223, 0.03) 0%, transparent 60%);
    border-bottom: 1px solid var(--mid-gray);
}
.cmp-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin-top: 1rem;
    line-height: 1.7;
}
.cmp-body-section {
    padding: 0 0 var(--section-pad) 0;
}

/* ── Comparison body — wider than generic page-body ── */
.comparison-body {
    max-width: 960px;
}
.comparison-body h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--white);
    margin: 3.5rem 0 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--mid-gray);
}
.comparison-body h2:first-child {
    border-top: none;
    padding-top: 2.5rem;
    margin-top: 0;
}
.comparison-body h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--white);
    margin: 2rem 0 0.75rem;
}
.comparison-body hr {
    border: none;
    height: 1px;
    background: var(--mid-gray);
    margin: 2.5rem 0;
}

/* ── Tables (comparison + page-body) ── */
.page-body table,
.comparison-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.9rem;
    line-height: 1.5;
}
.page-body thead,
.comparison-body thead {
    position: sticky;
    top: 0;
}
.page-body th,
.comparison-body th {
    background: var(--dark-gray);
    color: var(--green);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--green);
    white-space: nowrap;
}
.page-body th:first-child,
.comparison-body th:first-child {
    color: var(--text-gray);
}
.page-body td,
.comparison-body td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--mid-gray);
    color: var(--text-gray);
    vertical-align: top;
}
.page-body tr:last-child td,
.comparison-body tr:last-child td {
    border-bottom: none;
}
.page-body td:first-child,
.comparison-body td:first-child {
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}
.page-body tr:hover td,
.comparison-body tr:hover td {
    background: rgba(0, 157, 223, 0.03);
}
.page-body td strong,
.comparison-body td strong {
    color: var(--white);
    font-weight: 600;
}

/* Highlight DockSnap column (2nd column in vs tables) */
.comparison-body td:nth-child(2) {
    color: var(--white);
}

/* ── Responsive table wrapper (JS-injected) ── */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--mid-gray);
}
.table-wrap table {
    margin: 0;
}

/* ── Comparison links list (index page) ── */
.comparison-body ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}
.comparison-body ul li {
    margin-bottom: 0;
}
.comparison-body ul li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    border: 1px solid var(--mid-gray);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: -1px;
}
.comparison-body ul li a:hover {
    border-color: var(--green);
    background: rgba(0, 157, 223, 0.04);
    text-decoration: none;
}
.comparison-body ul li a::before {
    content: '→';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}
.comparison-body ul li strong {
    color: var(--white);
}

/* ── CTA button in body ── */
.comparison-body .btn-primary {
    display: inline-block;
    margin-top: 1rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .page-body th,
    .comparison-body th {
        font-size: 0.75rem;
        padding: 0.7rem 0.75rem;
    }
    .page-body td,
    .comparison-body td {
        font-size: 0.82rem;
        padding: 0.65rem 0.75rem;
    }
    .comparison-body h2 {
        font-size: 1.3rem;
    }
    .cmp-subtitle {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .comparison-body ul li a {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
}

/* ═══════════════════════════════════════════════
   NAVIGATION ACCESSIBILITY (site review, 4 Nov 2026: A11Y-03, A11Y-04, DES-07)
   Overrides the NAV and Mobile nav rules above. Nav items and order are
   unchanged; the menu breakpoint is 1,119px (see the note above "Nav menu"). The Tools switcher's own styles live in
   templates/_family_switcher.html.
   ═══════════════════════════════════════════════ */

/* Visible keyboard focus on everything in the nav bar. #00719F is the
   darker brand blue (5.4:1 on white). */
.nav-logo:focus-visible,
.nav-link:focus-visible,
.nav-hamburger:focus-visible,
.nav-cta:focus-visible {
    outline: 2px solid #00719F;
    outline-offset: 2px;
}
.nav-logo:focus-visible,
.nav-link:focus-visible,
.nav-hamburger:focus-visible { border-radius: 4px; }
.nav-link:focus-visible { color: var(--white); }

@media (max-width: 1119px) {
    /* DES-07: the open menu is opaque, so page content doesn't show through. */
    .nav-menu {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    /* The logo and the hamburger (close) button stay above the open menu. */
    .nav-brand,
    .nav-hamburger {
        position: relative;
        z-index: 1001;
    }
    /* An opaque strip behind them, so links scrolled up in a long menu (Tools open) pass under it
       instead of showing through the logo row. */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: calc(4rem + env(safe-area-inset-top, 0px));
        background: #fff;
        border-bottom: 1px solid rgba(0, 157, 223, 0.15);
        z-index: 1;
    }
    /* Inside the phone menu, the Tools panel opens in place, in the menu's own flow, straight under
       its button: it pushes the trial button down instead of covering the Tools button (the old
       fixed sheet sat on top of it). The menu itself scrolls if the list is long. These rules beat
       the switcher's own phone rule (position: fixed below 768px) on specificity. */
    .nav-menu .wb-switcher {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 0.75rem;
    }
    .nav-menu .wb-switcher__panel {
        position: static;
        width: 100%;
        max-width: 420px;
        max-height: none;
        overflow: visible;
        margin-top: 0.5rem;
        box-shadow: none;
    }
}

/* Keyboard focus is visible on every link and button (WCAG 2.4.7). Ink on white is 17:1, and 3.1:1
   against the cyan buttons. The nav keeps its own ring above. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 2px solid #1A1A2E;
    outline-offset: 2px;
}
