/*
 * Rush Broadband — marketing home stylesheet (v2 — light theme).
 *
 * Visual direction: light-dominant (white / off-white), brand maroon
 * used as ACCENT only (CTAs, links, badges, keyword highlight). Inspired
 * by aussiebroadband.com.au, superloop.com, exetel.com.au — clean,
 * generous whitespace, plan-tile-first hierarchy.
 *
 * Mobile-first: rules outside media queries target mobile; @media
 * (min-width: ...) breakpoints scale up.
 *
 * Sections:
 *   1. Tokens
 *   2. Base + layout primitives
 *   3. Site header (always solid, light)
 *   4. Hero (light, generous)
 *   5. Plans + plan-tile
 *   6. Why / How / Default plans / FAQ
 *   7. CTA stripe
 *   8. Footer
 *   9. Responsive scale-ups
 */

/* ── 1. Tokens ──────────────────────────────────────────────── */
:root {
    /* Brand */
    --rush-maroon       : #A00C30;
    --rush-maroon-hover : #8A0A28;
    --rush-maroon-soft  : #FCEEF1;
    --rush-maroon-line  : #F2D5DC;

    /* Neutrals */
    --ink-900           : #0F1115;
    --ink-800           : #1F2228;
    --ink-700           : #2D323A;
    --ink-600           : #4B525C;
    --ink-500           : #6B7280;
    --ink-400           : #9CA3AF;
    --ink-300           : #D1D5DB;
    --ink-200           : #E5E7EB;
    --ink-100           : #F1F2F4;
    --paper             : #FFFFFF;
    --paper-soft        : #FAFAF8;
    --paper-warm        : #FBF7F4;

    /* Effects */
    --shadow-xs         : 0 1px 2px rgba(15, 17, 21, 0.04);
    --shadow-sm         : 0 2px 8px rgba(15, 17, 21, 0.06);
    --shadow-md         : 0 8px 24px rgba(15, 17, 21, 0.08);
    --shadow-lg         : 0 20px 50px rgba(15, 17, 21, 0.10);
    --shadow-cta        : 0 8px 20px rgba(160, 12, 48, 0.25);

    /* Type */
    --font-display      : 'Sora', 'Poppins', system-ui, sans-serif;
    --font-body         : 'Poppins', system-ui, sans-serif;

    /* Easing */
    --ease-out          : cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 2. Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* `hidden` attribute is set on .address-status, .address-results,
   .address-field-clear etc. The UA stylesheet hides via display:none
   but any explicit `display: flex` / `display: block` in our CSS
   overrides it — so make the attribute authoritative everywhere. */
[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    /* Account for sticky header height when anchor-scrolling */
    scroll-padding-top: 72px;
}

body.home-body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink-800);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rush-maroon); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--rush-maroon-hover); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

p { margin: 0 0 1rem; }

/* Layout containers (mobile-first padding) */
.section-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section-head {
    max-width: 720px;
    margin: 0 0 2.5rem;
}
.section-head.center {
    margin: 0 auto 2.5rem;
    text-align: center;
}
.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--rush-maroon);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    line-height: 1.1;
    margin: 0 0 0.85rem;
    color: var(--ink-900);
}
.section-sub {
    font-size: 1.05rem;
    color: var(--ink-500);
    margin: 0;
}
.brand-mark { color: var(--rush-maroon); }

/* Buttons (mobile-tap friendly) */
.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.35rem;
    min-height: 48px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s var(--ease-out), box-shadow 0.15s;
    white-space: nowrap;
}
.site-btn-primary {
    background: var(--rush-maroon);
    color: var(--paper);
    border-color: var(--rush-maroon);
    box-shadow: var(--shadow-cta);
}
.site-btn-primary:hover {
    background: var(--rush-maroon-hover);
    border-color: var(--rush-maroon-hover);
    color: var(--paper);
    transform: translateY(-1px);
}
.site-btn-secondary {
    background: var(--paper);
    color: var(--ink-900);
    border-color: var(--ink-200);
}
.site-btn-secondary:hover {
    border-color: var(--ink-400);
    color: var(--ink-900);
}
.site-btn-ghost {
    background: transparent;
    color: var(--ink-900);
    border-color: var(--ink-200);
}
.site-btn-ghost:hover { border-color: var(--ink-700); color: var(--ink-900); }
.site-btn-large { padding: 1.05rem 1.65rem; font-size: 1rem; min-height: 56px; }

/* ── 3. Site header (always solid + light) ──────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.site-header[data-scrolled="true"] {
    border-bottom-color: var(--ink-200);
    box-shadow: var(--shadow-xs);
}

.site-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.site-brand {
    display: inline-flex;
    align-items: center;
}
.site-brand img {
    height: 36px;
    width: auto;
}

.site-nav {
    display: none; /* mobile: hidden, drawer-only */
    align-items: center;
    gap: 1.6rem;
    margin-left: auto;
    margin-right: 1rem;
}
.site-nav a {
    color: var(--ink-700);
    font-weight: 500;
    font-size: 0.95rem;
}
.site-nav a:hover { color: var(--rush-maroon); }

.site-cta {
    display: none; /* mobile: hidden */
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}
.site-link {
    color: var(--ink-700);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
}
.site-link:hover { color: var(--rush-maroon); }

.site-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}
.site-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink-900);
    margin: 3px 0;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.site-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-drawer {
    display: none;
    flex-direction: column;
    padding: 0.5rem 1.25rem 1.25rem;
    background: var(--paper);
    border-top: 1px solid var(--ink-100);
}
.site-drawer[data-open="true"] { display: flex; }
.site-drawer a {
    padding: 0.95rem 0.25rem;
    color: var(--ink-900);
    font-weight: 500;
    border-bottom: 1px solid var(--ink-100);
    font-size: 1rem;
}
.site-drawer a:last-child { border-bottom: 0; }
.site-drawer .site-btn { align-self: stretch; margin-top: 1rem; }

/* ── 4. Hero ────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 3rem 0 4rem;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(160, 12, 48, 0.05) 0%, transparent 70%),
        var(--paper);
    /* No overflow:hidden here — the address-results dropdown is a
       descendant and needs to extend below the hero edge when the
       result list is long. The maroon glows are now clipped by
       .hero-bg directly (smaller scope). */
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-copy { max-width: 620px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    background: var(--rush-maroon-soft);
    border: 1px solid var(--rush-maroon-line);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--rush-maroon);
    margin-bottom: 1.2rem;
}
.hero-eyebrow i { font-size: 0.7rem; }

.hero-headline {
    font-size: clamp(2rem, 7vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink-900);
    margin: 0 0 1.1rem;
    font-weight: 700;
}

.hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--ink-500);
    max-width: 560px;
    margin: 0 0 1.85rem;
    line-height: 1.55;
}

/* Address search */
.address-form {
    max-width: 580px;
    margin: 0 0 1.5rem;
    position: relative;
}
.address-field {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--paper);
    border: 1.5px solid var(--ink-200);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.address-field:focus-within {
    border-color: var(--rush-maroon);
    box-shadow: 0 0 0 4px var(--rush-maroon-soft);
}
.address-field-icon {
    position: absolute;
    left: 1rem;
    color: var(--ink-400);
    font-size: 1rem;
    pointer-events: none;
}
.address-field input {
    width: 100%;
    padding: 1rem 3rem 1rem 2.75rem;
    border: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 16px; /* prevent iOS zoom */
    color: var(--ink-900);
    outline: none;
    border-radius: 12px;
}
.address-field input::placeholder { color: var(--ink-400); }
.address-field-clear {
    position: absolute;
    right: 0.6rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--ink-100);
    border: 0;
    color: var(--ink-500);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.address-field-clear:hover { background: var(--ink-200); color: var(--ink-700); }
.address-spinner {
    position: absolute;
    right: 1rem;
    width: 20px; height: 20px;
}
.spinner {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2.5px solid var(--ink-200);
    border-top-color: var(--rush-maroon);
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.address-results {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0.4rem;
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-height: 320px;
    overflow-y: auto;
    position: absolute;
    left: 0; right: 0;
    /* Bumped well above any sibling section. Each section underneath the
       hero is in normal flow at the default z-index, so 50 is safe headroom. */
    z-index: 50;
}
.address-results li {
    padding: 0.85rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--ink-800);
    font-size: 0.95rem;
    transition: background 0.1s;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
}
.address-results li:hover,
.address-results li[data-active="true"] {
    background: var(--rush-maroon-soft);
    color: var(--rush-maroon);
}
.address-results li i { color: var(--ink-300); font-size: 0.85rem; }
.address-results li.no-results,
.address-results li.search-error {
    cursor: default;
    color: var(--ink-500);
    font-style: italic;
}
.address-results li.no-results:hover,
.address-results li.search-error:hover { background: transparent; }

.address-status {
    margin: 0.85rem 0 0;
    padding: 0.85rem 1rem;
    background: var(--paper-warm);
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--ink-600);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
/* Two flex children — icon + message span. Wrapping <a> inside the
   span (rather than as a sibling) keeps the link from being broken
   into its own flex item, which collapses the weird three-column
   layout the original markup produced. */
.address-status > i { flex-shrink: 0; margin-top: 0.15rem; color: var(--ink-400); }
.address-status > span { flex: 1; min-width: 0; }
.address-status a { font-weight: 600; }
.address-status.warn {
    background: #FFF8E6;
    border-color: #F5E2A8;
    color: #76600F;
}
.address-status.warn i { color: #B8861E; }
.address-status.warn a { color: #76600F; text-decoration: underline; }
.address-status.err {
    background: var(--rush-maroon-soft);
    border-color: var(--rush-maroon-line);
    color: var(--rush-maroon-hover);
}
.address-status.err i { color: var(--rush-maroon); }

.hero-trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.5rem;
    color: var(--ink-600);
    font-size: 0.9rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust i {
    color: var(--rush-maroon);
    font-size: 0.85rem;
}

/* Hero visual — small plan-preview card, light themed */
.hero-visual { display: none; /* hidden on mobile; shown ≥ 920px */ }
.preview-card {
    background: var(--paper);
    border: 1px solid var(--ink-200);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    max-width: 320px;
    width: 100%;
}
.preview-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.preview-card-name {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink-900);
    font-size: 1rem;
}
.preview-card-tag {
    background: var(--rush-maroon-soft);
    color: var(--rush-maroon);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
}
.preview-card-speed {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}
.preview-card-speed .num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.75rem;
    color: var(--ink-900);
    line-height: 1;
    letter-spacing: -0.02em;
}
.preview-card-speed .unit {
    color: var(--ink-500);
    font-weight: 600;
    font-size: 1rem;
}
.preview-card-row {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--ink-100);
    font-size: 0.88rem;
    color: var(--ink-600);
}
.preview-card-row:last-child { border-bottom: 0; }
.preview-card-row strong { color: var(--ink-900); font-weight: 600; }
.preview-card-cta {
    margin-top: 1.25rem;
    display: block;
    width: 100%;
    padding: 0.85rem;
    background: var(--ink-900);
    color: var(--paper);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
    border: 0;
}

/* ── 5. Plans-for-address section ────────────────────────────── */
.plans-section {
    background: var(--paper-soft);
    padding: 3.5rem 0 4rem;
    border-top: 1px solid var(--ink-100);
}
.plans-section[data-revealed="true"] {
    animation: slide-up 0.4s var(--ease-out);
}
@keyframes slide-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.plans-fine-print {
    text-align: center;
    color: var(--ink-400);
    font-size: 0.82rem;
    margin: 1.85rem 0 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.plan-tile {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.plan-tile:hover {
    transform: translateY(-2px);
    border-color: var(--ink-300);
    box-shadow: var(--shadow-md);
}
.plan-tile.featured {
    border-color: var(--rush-maroon);
    box-shadow: 0 0 0 1px var(--rush-maroon), var(--shadow-sm);
}
.plan-tile-badge {
    position: absolute;
    top: -10px;
    left: 1.5rem;
    background: var(--rush-maroon);
    color: var(--paper);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}
.plan-tile-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    color: var(--ink-900);
}
.plan-tile-ideal {
    font-size: 0.82rem;
    color: var(--ink-500);
    margin: 0 0 1.25rem;
    min-height: 2.5em;
    line-height: 1.4;
}
.plan-tile-speed {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}
.plan-tile-speed .speed-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink-900);
}
.plan-tile-speed .speed-unit {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-500);
}
.plan-tile-up {
    font-size: 0.82rem;
    color: var(--ink-500);
    margin: 0 0 1.25rem;
}
.plan-tile-up strong { color: var(--ink-700); font-weight: 600; }
.plan-tile-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin: 0 0 0.3rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--ink-100);
}
.plan-tile-price-amount {
    font-family: var(--font-display);
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--ink-900);
    line-height: 1;
    letter-spacing: -0.02em;
}
.plan-tile-price-strike {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--ink-300);
    text-decoration: line-through;
    margin-right: 0.3rem;
}
.plan-tile-price-period {
    font-size: 0.88rem;
    color: var(--ink-500);
}
.plan-tile-promo {
    font-size: 0.78rem;
    color: var(--rush-maroon);
    font-weight: 600;
    margin: 0 0 1.25rem;
    min-height: 1.4em;
}

/* Price meta — small label below the dollar amount explaining what
   that number IS (RRP = standard published rate; Venue price = your
   building has a negotiated rate below RRP). Without this label,
   customers can't tell whether the discount is permanent (venue) or
   a temporary promo. */
.plan-tile-price-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.15rem 0 0.85rem;
    font-size: 0.7rem;
}
.plan-tile-price-tag {
    display: inline-block;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}
.plan-tile-price-tag.rrp {
    background: var(--ink-100);
    color: var(--ink-600);
}
.plan-tile-price-tag.venue {
    background: var(--rush-maroon-soft);
    color: var(--rush-maroon);
}
.plan-tile-price-rrp-note {
    color: var(--ink-400);
    font-size: 0.72rem;
    text-decoration: line-through;
}
/* The duration line directly under the price: "for N months, then $X/mo
   ongoing". Shown only for a time-limited promo (first month free, $X off
   for N months) so customers aren't surprised by a higher bill later. The
   Venue/RRP meta sits BELOW this line. */
.plan-tile-price-ongoing {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    color: var(--ink-500);
}
.plan-tile-price-ongoing strong {
    color: var(--ink-700);
}

/* CIS link — sits below the CTA in small print. Required disclosure
   for residential broadband sales (TCP Code), not just a nice-to-have. */
.plan-tile-cis {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
    align-self: center;
    font-size: 0.78rem;
    color: var(--ink-500);
    text-decoration: none;
    border-bottom: 1px dotted var(--ink-300);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}
.plan-tile-cis:hover {
    color: var(--rush-maroon);
    border-bottom-color: var(--rush-maroon);
}
.plan-tile-cis i { font-size: 0.78rem; }
.plan-tile-cta {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem;
    min-height: 48px;
    border-radius: 10px;
    background: var(--ink-900);
    color: var(--paper);
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.15s, transform 0.1s;
    text-decoration: none;
}
.plan-tile-cta:hover { background: var(--rush-maroon); color: var(--paper); transform: translateY(-1px); }
.plan-tile.featured .plan-tile-cta { background: var(--rush-maroon); }
.plan-tile.featured .plan-tile-cta:hover { background: var(--rush-maroon-hover); }

.plans-loading,
.plans-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--ink-400);
    font-size: 0.95rem;
}
.plans-loading .spinner { margin: 0 auto 0.85rem; }

/* ── 6. Why section ─────────────────────────────────────────── */
.why-section {
    padding: 4rem 0;
    background: var(--paper);
    border-top: 1px solid var(--ink-100);
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.why-card {
    padding: 1.75rem 1.5rem;
    background: var(--paper);
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    transition: transform 0.2s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
}
.why-card:hover {
    transform: translateY(-2px);
    border-color: var(--ink-300);
    box-shadow: var(--shadow-sm);
}
.why-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--rush-maroon-soft);
    color: var(--rush-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.why-card h3 {
    font-size: 1.15rem;
    margin: 0 0 0.6rem;
    color: var(--ink-900);
}
.why-card p {
    color: var(--ink-500);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ── How section ─────────────────────────────────────────────── */
.how-section {
    background: var(--paper-soft);
    padding: 4rem 0;
    border-top: 1px solid var(--ink-100);
}
.how-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.how-step {
    background: var(--paper);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--ink-200);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.how-step:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    width: 32px; height: 32px;
    background: var(--ink-900);
    color: var(--paper);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}
.how-step h3 { font-size: 1.1rem; margin: 0 0 0.5rem; color: var(--ink-900); }
.how-step p { color: var(--ink-500); margin: 0; line-height: 1.55; font-size: 0.95rem; }

/* ── Default plans section ───────────────────────────────────── */
.default-plans-section {
    padding: 4rem 0;
    background: var(--paper);
    border-top: 1px solid var(--ink-100);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section {
    padding: 4rem 0;
    background: var(--paper-soft);
    border-top: 1px solid var(--ink-100);
}
.faq-list {
    /* Full width of .section-inner — same as the plan grid and
       how-it-works sections above. */
    background: var(--paper);
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--ink-100); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    transition: background 0.1s;
}
.faq-item summary:hover { background: var(--paper-soft); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--rush-maroon);
    transition: transform 0.2s;
    line-height: 1;
    flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    margin: 0;
    padding: 0 1.5rem 1.5rem;
    color: var(--ink-500);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ── 7. CTA stripe ───────────────────────────────────────────── */
.cta-section {
    padding: 4rem 0;
    background: var(--ink-900);
    color: var(--paper);
    text-align: center;
}
.cta-section h2 {
    color: var(--paper);
    font-size: clamp(1.6rem, 5vw, 2.25rem);
    margin: 0 0 0.6rem;
}
.cta-section p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    margin: 0 0 1.85rem;
}
.cta-section .site-btn-primary {
    background: var(--paper);
    color: var(--ink-900);
    border-color: var(--paper);
    box-shadow: none;
}
.cta-section .site-btn-primary:hover {
    background: var(--rush-maroon);
    color: var(--paper);
    border-color: var(--rush-maroon);
}

/* ── 8. Site footer ──────────────────────────────────────────── */
.site-footer {
    background: var(--paper-soft);
    color: var(--ink-600);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--ink-200);
}
.site-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
.site-footer-brand img { height: 36px; margin-bottom: 0.85rem; }
.site-footer-brand p {
    margin: 0 0 0.25rem;
    color: var(--ink-500);
    font-size: 0.9rem;
}
.site-footer-copy {
    font-size: 0.8rem !important;
    color: var(--ink-400) !important;
    margin-top: 0.85rem !important;
    line-height: 1.5;
}
.site-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.site-footer-cols h5 {
    color: var(--ink-900);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.85rem;
}
.site-footer-cols ul { list-style: none; padding: 0; margin: 0; }
.site-footer-cols li { margin-bottom: 0.5rem; }
.site-footer-cols a {
    color: var(--ink-600);
    font-size: 0.88rem;
}
.site-footer-cols a:hover { color: var(--rush-maroon); }

/* ── 9. Responsive scale-ups (mobile-first) ─────────────────── */

/* Small tablet — start tightening layouts */
@media (min-width: 560px) {
    .section-inner { padding: 0 1.5rem; }
    .hero { padding: 4rem 0 5rem; }
    .hero-headline { font-size: clamp(2.25rem, 5.5vw, 3rem); }
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* Desktop — full layout */
@media (min-width: 920px) {
    .site-nav, .site-cta { display: flex; }
    .site-menu-toggle { display: none; }

    .hero { padding: 5rem 0 6rem; }
    .hero-inner {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
        justify-content: space-between;
    }
    .hero-copy { flex: 1.2; }
    .hero-visual {
        display: flex;
        flex: 0.8;
        justify-content: flex-end;
    }
    .hero-headline { font-size: clamp(2.5rem, 4.5vw, 3.5rem); }

    .plans-section, .why-section, .how-section,
    .default-plans-section, .faq-section, .cta-section {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }
    .section-head, .section-head.center { margin-bottom: 3rem; }

    .plans-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
    .why-grid, .how-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

    .site-footer-inner {
        grid-template-columns: 1.2fr 2fr;
        gap: 4rem;
    }
    .site-footer { padding: 4rem 0 2.5rem; }
}

/* Wide — luxurious spacing */
@media (min-width: 1200px) {
    .section-title { font-size: clamp(1.85rem, 3vw, 2.5rem); }
    .hero-headline { font-size: 3.25rem; }
}

/* Honor reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ── CIS dialog ──────────────────────────────────────────────
   Opened from the plan tiles' Critical Information Summary link so
   the customer never leaves the signup flow. Document body styling
   (plan table, brand headers) comes from legal.css; the overrides
   below strip the standalone page's card chrome inside the modal. */
.cis-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.cis-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 21, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.cis-modal-card {
    position: relative;
    background: var(--paper);
    border-radius: 20px;
    max-width: 760px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.cis-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1rem;
    border-bottom: 1px solid var(--ink-100);
    flex-shrink: 0;
}
.cis-modal-head h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0 0 0.2rem;
}
.cis-modal-head p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--ink-500);
}
.cis-modal-x {
    background: none;
    border: none;
    color: var(--ink-500);
    font-size: 1.15rem;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    border-radius: 8px;
    flex-shrink: 0;
}
.cis-modal-x:hover { color: var(--ink-900); background: var(--paper-soft); }

.cis-modal-body {
    flex: 1;
    overflow-y: auto;
}
/* Strip the standalone-page card chrome when the article renders
   inside the dialog. */
.cis-modal-body.legal-article {
    border: none;
    border-radius: 0;
    padding: 1.25rem 1.5rem;
}
.cis-modal-loading {
    display: flex;
    justify-content: center;
    padding: 3rem 0;
}

@media (max-width: 720px) {
    .cis-modal { padding: 0.75rem; }
    .cis-modal-card { max-height: 92vh; }
    .cis-modal-head { padding: 1.1rem 1.1rem 0.85rem; }
    .cis-modal-body.legal-article { padding: 1rem 1.1rem; }
}
