:root {
    /* ---------------------------------------------------------------
       Oakstone Assist design tokens — warm, accessible minimalism.
       One source of truth. Component rules consume these and do not
       redeclare raw values.

       Contrast, measured against the surface each colour sits on:
         --green-700 #15803D on white ............ 5.02:1  AA
         white on --green-700 .................... 5.02:1  AA
         --ink-900  #16271E on --page ........... 14.67:1  AA
         --ink-700  #3A4A42 on --page ............ 8.80:1  AA
         --ink-500  #5A6B62 on --page ............ 5.30:1  AA
         --green-800 #0F5132 on --sage ........... 8.42:1  AA
       The previous action green #16A34A measured 3.30:1 on white and
       failed AA for the white button text that sat on it.
       --------------------------------------------------------------- */

    /* -- Brand & colour ------------------------------------------- */
    --green-900: #0B3D26;        /* deepest, for headings            */
    --green-800: #0F5132;        /* link text, card headings         */
    --green-700: #15803D;        /* primary action (AA on white)     */
    --green-600: #16A34A;        /* decorative only — never behind   */
                                 /* white text                       */
    --sage-100:  #EDF5EE;        /* pale accent surface              */
    --sage-200:  #DCEADF;        /* accent border                    */
    --page:      #F7F8F5;        /* warm off-white page              */
    --surface:   #FFFFFF;        /* cards                            */
    --surface-alt: #F2F4EF;      /* banded section, warmer than page */
    --ink-900:   #16271E;        /* headings — deep green-charcoal   */
    --ink-700:   #3A4A42;        /* body copy                        */
    --ink-500:   #5A6B62;        /* supporting copy, still AA        */
    --line:      #E2E7DF;        /* hairline, warm                   */
    --line-soft: #EDF0EA;
    --danger:    #B42318;

    /* legacy aliases — older rules keep resolving */
    --primary: var(--green-700);
    --primary-dark: var(--green-800);
    --secondary: var(--green-700);
    --secondary-dark: var(--green-800);
    --trust-green: var(--green-800);
    --action-green: var(--green-700);
    --text-main: var(--ink-900);
    --text-muted: var(--ink-500);
    --bg-light: var(--surface-alt);
    --bg-alt: var(--surface);
    --white: var(--surface);
    --border: var(--line);
    --green-50: var(--sage-100);
    --green-100: var(--sage-200);

    /* -- Typography ------------------------------------------------
       One family. Weight carries the hierarchy, not a second face,
       so nothing extra is downloaded.                              */
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --fs-xs:    0.875rem;                        /* 14 — eyebrow      */
    --fs-sm:    0.9375rem;                       /* 15 — disclosures  */
    --fs-label: 1rem;                            /* 16 — field labels */
    --fs-base:  1.0625rem;                       /* 17 — body         */
    --fs-lg:    1.1875rem;                       /* 19 — lead         */
    --fs-h4:    clamp(1.0625rem, 0.3vw + 1rem, 1.125rem);
    --fs-h3:    clamp(1.1875rem, 0.5vw + 1.05rem, 1.3125rem);
    --fs-h2:    clamp(1.5rem,  1.2vw + 1.15rem, 2rem);
    --fs-h1:    clamp(2rem,    2.1vw + 1.3rem, 2.875rem);
    --lh-tight: 1.18;
    --lh-head:  1.25;
    --lh-body:  1.6;
    --measure:  66ch;

    /* -- Spacing (4 / 8 / 12 / 16 / 24 / 32 / 48 / 64) ------------- */
    --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
    --s-5: 20px;  --s-6: 24px;  --s-8: 32px;  --s-12: 48px; --s-16: 64px;

    /* -- Layout ---------------------------------------------------- */
    --container: 1180px;
    --container-narrow: 820px;
    --gutter: 20px;
    --section-y: 72px;
    --gap: 24px;
    --card-pad: 26px;

    /* -- Radius ---------------------------------------------------- */
    --r-sm: 10px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-pill: 999px;

    /* -- Elevation — softly raised, never heavy -------------------- */
    --shadow-xs: 0 1px 2px rgb(22 39 30 / 4%);
    --shadow-sm: 0 1px 3px rgb(22 39 30 / 6%), 0 1px 2px rgb(22 39 30 / 4%);
    --shadow-md: 0 2px 6px rgb(22 39 30 / 6%), 0 6px 16px rgb(22 39 30 / 6%);
    --shadow-lg: 0 8px 28px rgb(22 39 30 / 10%);
    --shadow-btn: 0 1px 2px rgb(15 81 50 / 20%);
    --ring: 0 0 0 3px rgb(21 128 61 / 28%);

    /* -- Controls -------------------------------------------------- */
    --control-h: 54px;           /* comfortable for older users       */
    --field-h: 48px;             /* form inputs: tighter, but still    */
                                 /* above the 44px touch-target floor  */
    --control-pad-x: 16px;
    --btn-min-h: 54px;
    --btn-pad-y: 15px;
    --btn-pad-x: 24px;

    --transition: 150ms ease;

    /* Breakpoints, published so the scripts can read them instead of
       hard-coding their own copies. These had drifted apart once already. */
    --bp-nav: 1150;              /* navigation collapses to the menu       */
    --bp-bar: 900;               /* sticky call bar appears                */
    --bp-heroform: 900;          /* hero form moves below the offers       */
    --bp-shorttext: 600;         /* shortened hero sentence                */
    --bp-popup: 1025;            /* exit popup's minimum width             */

    /* legacy alias */
    --section-padding: var(--section-y);
}

/* Breakpoints: 1150px (nav collapse), 1024, 900, 768, 600, 390, 360. */

@media (max-width: 768px) {
    :root {
        --section-y: 44px;
        --card-pad: 22px;
        --gap: 20px;
        --gutter: 20px;
    }
}

@media (max-width: 360px) {
    :root { --gutter: 14px; --card-pad: 18px; }}

/* Breakpoints used throughout: 1024px (lap), 768px (tablet),
   600px (large phone), 390px (phone), 360px (small phone).      */

@media (max-width: 768px) {
    :root {
        --section-y: 40px;
        --card-pad: 22px;
        --gap: 20px;
        --gutter: 20px;
    }
}

@media (max-width: 360px) {
    :root { --gutter: 14px; --card-pad: 18px; }}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font);
    font-size: var(--fs-base);
    color: var(--ink-700);
    background-color: var(--page);
    line-height: var(--lh-body);
    overflow-x: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Keyboard users should not have to tab the whole header on every page.
   Hidden until focused, then a normal, visible control. */
.skip-link {
    position: absolute;
    left: var(--s-4);
    top: -100px;
    z-index: 2000;
    background: var(--surface);
    color: var(--green-800);
    border: 2px solid var(--green-700);
    border-radius: var(--r-sm);
    padding: var(--s-3) var(--s-4);
    font-weight: 600;
    text-decoration: none;
    transition: top 120ms ease;
}
.skip-link:focus {
    top: var(--s-2);
    /* explicit :focus, not :focus-visible — the link is reached by Tab but
       may also be focused programmatically, and it must show either way */
    outline: 3px solid var(--green-700);
    outline-offset: 2px;
}
main:focus { outline: none; }

/* Level and appearance are separate concerns: these keep a heading
   looking exactly as it did while its level is corrected for the
   document outline. */
.h-as-h3 { font-size: var(--fs-h3); }
.h-as-h4 { font-size: var(--fs-h4); }

/* Links. There was no base rule at all, so every content link that did
   not carry a class fell back to the browser's default blue — including
   the policy and email links inside the pricing cards. */
a {
    color: var(--green-800);
    text-underline-offset: 2px;
}
a:hover { color: var(--green-700); }
/* links that live inside a coloured surface keep that surface's colour */
.btn, nav a, .logo, .footer a, .header-cta, .oa-bar a, .oa-exit-call { color: inherit; }
.btn-primary, .btn-primary:hover { color: #fff; }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: var(--lh-head);
    color: var(--ink-900);
    text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    color: var(--ink-700);
}

/* long-form copy stays within a readable measure */
.section-header p,
.legal-content p,
.about-hook p { max-width: var(--measure); }
.section-header p { margin-inline: auto; }

/* Header */
header {
    position: sticky;
    top: 0;
    height: 68px;
    background: rgb(255 255 255 / 85%);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
    flex: 1 0 0;
}

nav {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: clamp(10px, 1.5vw, 24px);
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--s-5);
    flex: 1 0 0;
    justify-content: flex-end;
    border-left: 1px solid var(--line);
    padding-left: var(--s-5);
    min-width: 0;
}

/* Between the nav collapsing and the sticky bottom bar appearing there
   must still be a visible way to call, so the header keeps a compact
   call button through the tablet range. */
@media (max-width: 1150px) {
    /* DOM order is logo, toggle, nav, phone. Visually the toggle belongs
       at the right edge, so the order is set here rather than by moving
       the markup, which would change the tab order for the worse. */
    .nav-wrapper { gap: var(--s-4); }
    .logo { order: 1; flex: 0 1 auto; margin-right: auto; }
    .header-right { order: 2; }
    .menu-toggle { order: 3; margin-left: 0; }

    .header-right {
        flex: 0 0 auto;
        border-left: none;
        padding-left: 0;
        margin-right: 0;
    }
    .header-cta {
        gap: var(--s-2);
        padding: var(--s-2) var(--s-3);
        border-radius: var(--r-sm);
        background: var(--sage-100);
        border: 1px solid var(--sage-200);
    }
    .header-cta .cta-label { display: none; }
    .header-cta .phone-number { font-size: 1.0625rem; }
}

/* below this the bottom action bar carries the call, so the header can
   give its width back to the logo */
@media (max-width: 620px) {
    .header-right { display: none; }
}

.header-cta {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    line-height: 1;
}

.header-cta .cta-label {
    font-weight: 700;
    opacity: 0.8;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-cta .phone-number {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.2rem;
}

.header-cta:hover {
    color: var(--primary-dark);
}

.header-cta:hover .phone-number {
    text-decoration: underline;
}

/* Hero Section */
/* A warm band rather than flat white, with a very soft sage wash on
   one side. No gradient stops you can see — it reads as paper. */
.hero {
    display: flex;
    align-items: center;
    background-color: var(--page);
    /* The photograph sits under a wash of the page colour that is almost
       solid on the left, where the headline is, and thins towards the
       right. That is what keeps it barely-there rather than decorative. */
    background-image:
        linear-gradient(100deg,
            rgb(247 248 245 / 99%)  0%,
            rgb(247 248 245 / 97%) 34%,
            rgb(247 248 245 / 86%) 58%,
            rgb(247 248 245 / 68%) 100%),
        url('https://images.pexels.com/photos/4130210/pexels-photo-4130210.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-position: center, center 28%;
    background-size: cover, cover;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--line);
    padding: var(--s-12) 0 var(--s-12);
    position: relative;
    overflow: hidden;
}

/* One column, centred text spanning the full width: the wash has to be
   near-solid everywhere or headline text lands on the busiest part of the
   photograph. */
@media (max-width: 900px) {
    .hero {
        background-image:
            linear-gradient(180deg,
                rgb(247 248 245 / 98%)  0%,
                rgb(247 248 245 / 97%) 55%,
                rgb(247 248 245 / 94%) 100%),
            url('https://images.pexels.com/photos/4130210/pexels-photo-4130210.jpeg?auto=compress&cs=tinysrgb&w=1600');
        background-position: center, center 20%;
    }
}

/* A background photograph is decoration. If the visitor has asked for
   reduced data, drop it rather than pulling 200KB they did not want. */
@media (prefers-reduced-data: reduce) {
    .hero { background-image: none; }
}

.oa-kicker {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
    /* 15px, not 14: a small uppercase label is the easiest thing on the
       page to lose, and this audience is the least able to afford that */
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--green-800);
    background: var(--sage-100);
    border: 1px solid var(--sage-200);
    padding: 5px var(--s-3);
    border-radius: var(--r-pill);
    margin: 0 0 var(--s-4);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: var(--s-12);
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: var(--fs-h1);
    line-height: var(--lh-tight);
    letter-spacing: -0.02em;
    margin-bottom: var(--s-4);
    color: var(--ink-900);
    max-width: 16ch;
}
/* the deliberate break is for wide screens only; on a narrow screen the
   headline wraps naturally instead of breaking in an odd place */
@media (max-width: 1024px) { .h1-break { display: none; } }

.hero-content .subheadline {
    font-size: var(--fs-lg);
    line-height: 1.55;
    margin-bottom: var(--s-6);
    max-width: 46ch;
    color: var(--ink-700);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: var(--s-3);
    margin-bottom: var(--s-5);
}
/* the call action is deliberately the heavier of the pair */
/* the call action is the primary next step, so it carries more weight
   than the form's own submit sitting beside it */
.hero-actions .btn-call {
    font-size: var(--fs-lg);
    min-height: 60px;
    padding-inline: var(--s-8);
}
.hero-actions .btn-secondary { min-height: 60px; }

/* ---------------------------------------------------------------
   One button system. Every action on the site is a .btn plus one
   variant; nothing is styled independently. Buttons grow with their
   label — min-height, never a fixed height — so a wrapped label is
   never clipped.
   --------------------------------------------------------------- */
.btn {
    padding: var(--btn-pad-y) var(--btn-pad-x);
    min-height: var(--btn-min-h);
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: var(--fs-base);
    font-family: inherit;
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition),
                color var(--transition), box-shadow var(--transition);
}

/* the call action carries the number, readable without tapping */
.btn-call > svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn-num { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* focus must stay obvious for keyboard users, including on the
   popup's close control */
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--green-700);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--green-700);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

.btn-primary {
    background: var(--green-700);
    border-color: var(--green-700);
    color: #fff;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    background: var(--green-800);
    border-color: var(--green-800);
}

.btn-secondary {
    background: var(--surface);
    color: var(--green-800);
    border-color: var(--sage-200);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--sage-100);
    border-color: var(--green-700);
}

/* the form's own submit is clearly actionable but quieter than the
   call action it sits beside */
.form-submit {
    width: 100%;
    background: var(--green-700);
    border-color: var(--green-700);
    color: #fff;
    box-shadow: none;
    min-height: 50px;
    font-size: var(--fs-base);
}
.form-submit:hover { background: var(--green-800); border-color: var(--green-800); }

/* Waiting for a phone number. Greyed, but still focusable and still
   clickable — pressing it explains what is missing instead of doing
   nothing. The contrast here is deliberately kept legible: a disabled
   control that cannot be read is not a hint, it is a dead end. */
.form-submit[aria-disabled="true"],
.oa-exit-submit[aria-disabled="true"] {
    background: #E6EBE8;
    border-color: #8A948E;        /* 3.13:1 against the white card, so the
                                     button's edge is still visible while it
                                     waits — a grey block that fades into the
                                     card reads as "nothing here" */
    color: #5C6B63;               /* 4.66:1 on that fill: AA for body text */
    box-shadow: none;
    cursor: not-allowed;
}
.form-submit[aria-disabled="true"]:hover,
.oa-exit-submit[aria-disabled="true"]:hover {
    background: #E6EBE8;
    border-color: #8A948E;
}

.btn-sm {
    padding: var(--s-3) var(--s-4);
    min-height: 44px;
    font-size: var(--fs-sm);
    border-radius: var(--r-sm);
    margin-top: var(--s-4);
}

.trust-line {
    font-size: var(--fs-sm);
    color: var(--ink-500);
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: var(--s-2);
    max-width: 46ch;
    margin-bottom: var(--s-2);
}

/* Hero Form Card */
/* Compact, left-aligned, with a pale sage heading area so it reads as
   a distinct panel without competing with the call button. No fixed
   height — validation errors and the success banner must be able to
   grow the card. */
.form-card {
    background: var(--surface);
    padding: 0;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
    max-width: 440px;
    margin: 0 auto;
    overflow: hidden;
}
.form-card > form { padding: var(--s-5) var(--card-pad) var(--card-pad); }

.form-card-head {
    display: flex;
    align-items: flex-start;
    gap: var(--s-3);
    background: var(--sage-100);
    border-bottom: 1px solid var(--sage-200);
    padding: var(--s-4) var(--card-pad);
}
.form-card-icon {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--sage-200);
    color: var(--green-800);
    display: flex; align-items: center; justify-content: center;
}
.form-card-icon svg { width: 19px; height: 19px; }

.form-card h2 {
    font-size: var(--fs-h3);
    margin: 0 0 2px;
    text-align: left;
    color: var(--ink-900);
}

.form-group {
    margin-bottom: var(--s-4);
}

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: var(--s-2);
    color: var(--ink-900);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: var(--control-h);
    padding: var(--s-3) var(--control-pad-x);
    border-radius: var(--r-sm);
    border: 1px solid #CBD5E1;
    font-family: inherit;
    font-size: var(--fs-base);
    color: var(--ink-900);
    background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: var(--ring);
}

.form-footer {
    margin-top: var(--s-4);
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--ink-500);
    line-height: 1.5;
}

.form-footer p:first-child {
    font-size: var(--fs-sm);
    margin: 0 auto;
    max-width: 44ch;
}

.privacy-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--secondary);
    font-weight: 700;
}

/* Sections General */
section {
    padding: var(--section-y) 0;
    position: relative;
}

section:nth-of-type(even) {
    background-color: var(--surface-alt);
}

section:nth-of-type(odd) {
    background-color: var(--page);
}

.service-content section {
    display: block;
    min-height: auto;
    padding: 0;
    margin-bottom: 40px;
    background-color: transparent !important;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--s-8);
    width: 100%;
}

.section-header h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--s-3);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    align-items: stretch;
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }}

/* Cards */
.card {
    background: var(--surface);
    padding: var(--card-pad);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
}

/* a small icon on pale sage gives the service cards character without
   turning the page into a grid of ornaments */
.card-icon {
    width: 42px; height: 42px;
    border-radius: var(--r-md);
    background: var(--sage-100);
    border: 1px solid var(--sage-200);
    color: var(--green-800);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--s-4);
    flex: 0 0 auto;
}
.card-icon svg { width: 21px; height: 21px; }

.card:hover {
    border-color: var(--sage-200);
    box-shadow: var(--shadow-md);
}

.card h3 {
    font-size: var(--fs-h4);
    margin-bottom: var(--s-2);
    color: var(--ink-900);
}

.card p {
    font-size: var(--fs-base);
    color: var(--ink-700);
    flex-grow: 1;
    margin: 0;
}

/* a card's action always sits on the baseline of its row */
.card > .btn,
.card > a.btn-sm { margin-top: auto; align-self: flex-start; }

/* Services */
.services {
    background-color: var(--bg-light);
}

/* How It Works */
.steps-section {
    background-color: var(--bg-alt);
}

/* Responsive Optimization Fixes */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
        min-height: auto;
    }

    .section-header {
        margin-bottom: var(--s-6);
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--s-3);
    }

    .form-card,
    .card {
        padding: var(--card-pad);
        border-radius: var(--r-md);
    }

    .footer-grid {
        gap: 30px;
    }

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

    .footer-info-item {
        justify-content: center;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Fixes */
@media (max-width: 1100px) {
    .hero {
        padding: var(--s-8) 0 var(--section-y);
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        gap: var(--s-8);
    }

    .hero-content .subheadline {
        margin-left: auto;
        margin-right: auto;
        color: var(--text-main);
        }

    .hero-actions {
        justify-content: center;
    }

    .trust-line {
        justify-content: center;
    }

    .form-card {
        margin: 0 auto;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 10px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    

    
    .hero {
        padding-top: 60px;
    }
    header { height: 60px; }
    
    .logo { flex: none; }}

/* About Section */
.about-section {
    padding: var(--section-y) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    gap: var(--s-12);
    align-items: start;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }}

.about-hook h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: var(--lh-head);
    margin-bottom: var(--s-3);
    color: var(--ink-900);
}

.about-hook p {
    font-size: 18px;
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Related Services (SEO) */
.related-services {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.related-services h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.related-services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .related-services-grid {
        grid-template-columns: minmax(0, 1fr);
    }}

.related-service-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: block;
}

.related-service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.related-service-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.related-service-card p {
    font-size: var(--fs-base);
    color: var(--ink-700);
    margin: 0;
    line-height: 1.5;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.decision-text {
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.trust-bullets {
    list-style: none;
    margin-bottom: 40px;
}

.trust-bullets li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 1.05rem;
}

.trust-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
}

.contact-details-secondary {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    margin: 0;
}

.micro-trust-line {
    font-weight: 600;
    color: var(--ink-500);
    font-size: var(--fs-sm);
}

/* Legal Sections */
.legal-section {
    padding: 80px 0;
    background: var(--white);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-main);
}

.legal-content h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-muted);
}

.legal-content li strong {
    color: var(--text-main);
}

.scam-box {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    padding: 40px;
    border-radius: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.scam-box h2 {
    color: #B45309;
    margin-bottom: 20px;
}

.scam-box a {
    color: #B45309;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #0F172A;
    color: #F3F4F6;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }}

.footer-brand .logo {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #FFF;
}

.footer-brand p {
    color: #D1D5DB;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #FFF;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

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

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

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #9CA3AF;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #CBD5E1;
    font-size: var(--fs-sm);
}

/* Footer */
.disclaimer-bar {
    background: var(--bg-light);
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-sm);
    color: var(--ink-500);
    line-height: 1.6;
}

/* Pricing */
.pricing-section {
    background-color: var(--bg-light);
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 0;
        background: var(--white);
        overflow: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 40px 24px;
        gap: 20px;
        text-align: center;
    }

    nav a {
        font-size: 1.1rem;
        display: block;
    }}

/* ===== Shared UI additions (revamp) ===== */
.section-header h1 {
    font-size: 2.2rem;
    color: var(--text-main, #1a2b22);
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.2;
}

/* Unique state intro paragraph */
/* Converted page H1s inherit the former h2 look */
main .section-header h1,
main .about-hook h1,
main .page-section h1:not(.hero h1) {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

/* ============================================================
   Responsive navigation overhaul
   ============================================================ */
header nav a {
    padding: 10px 2px;           /* larger touch/click targets */
    display: inline-block;
}

/* Wide desktop: comfortable spacing */
@media (min-width: 1201px) {
    header nav ul { gap: 26px; }
}

/* Header gets a wider container than page content — the full nav plus
   the CALL label need ~1300px, which the 1200px content cap can't give */
header .container { max-width: 1400px; }
@media (max-width: 1420px) {
    header .header-cta .cta-label { display: none; }}
/* Compact desktop / small laptop: tighten gaps */
@media (max-width: 1200px) {
    header nav ul { gap: 16px; }
    header .header-right { padding-left: 12px; }
}
@media (max-width: 1024px) {
    header nav a { font-size: 0.85rem; }
    header nav ul { gap: 12px; }
    header .logo { font-size: 1.15rem; }}

/* Tablet & phone: hamburger panel */
@media (max-width: 1150px) {
    header { height: 62px; }
    .menu-toggle { display: flex; }
    header .logo { flex: none; }

    header nav {
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: 0;
        overflow: hidden;
        background: var(--white, #fff);
        box-shadow: var(--shadow-lg, 0 12px 30px rgba(0,0,0,0.15));
        transition: max-height 0.35s ease;
        display: block;
        z-index: 999;
    }
    header nav.nav-open { max-height: calc(100vh - 62px); overflow-y: auto; }

    header nav ul {
        flex-direction: column;
        padding: 18px 24px calc(24px + env(safe-area-inset-bottom));
        gap: 0;
        text-align: center;
    }
    header nav ul li { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
    header nav ul li:last-child { border-bottom: none; }
    header nav a {
        font-size: 1.05rem;
        display: block;
        padding: 15px 10px;      /* 44px+ touch target */
    }
    .nav-call-item { padding-top: 14px; }
    .nav-call-btn {
        display: block;
        background: var(--primary, #1a5632);
        color: #fff !important;
        border-radius: 12px;
        font-weight: 800;
        font-size: 1.1rem;
        padding: 15px !important;
    }
    body.menu-locked { overflow: hidden; }
}

/* Small phones */
@media (max-width: 380px) {
    header .logo { font-size: 1rem; }
    header .logo img { height: 40px !important; }
}
/* Hide the desktop-only call item on wide screens */
@media (min-width: 1151px) {
    .nav-call-item { display: none; }
}

/* ============================================================
   Offer pricing (was / now)
   ============================================================ */
/* ============================================================
   Header overlap fix: logo keeps its natural width, nav shares
   the rest, nothing can slide over anything.
   ============================================================ */
header .logo { flex: 0 0 auto; }
header nav { flex: 1 1 auto; min-width: 0; overflow: hidden; }
header .header-right { flex: 0 0 auto; }
@media (min-width: 1151px) {
    header nav { overflow: visible; }}
@media (max-width: 768px) {  /* room for the floating ribbons when stacked */
}
.about-cta {
    display: inline-block;
    margin-top: var(--s-6);
}
.footer-review-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* ============================================================
   Two-line call buttons — label above, number below
   ============================================================ */
.btn-call2 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    line-height: 1.2;
    padding: 12px 24px;
    text-align: center;
}
.btn-call2-lead {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    opacity: 0.9;
    white-space: nowrap;
}
.btn-call2-lead svg { width: 15px; height: 15px; flex: 0 0 auto; }
.btn-call2-num {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* block-width variants keep the pricing and about cards tidy */
.btn-call2.btn-senior,
.btn-call2.svc-call2 { display: flex; width: 100%; box-sizing: border-box; padding: 13px 18px; }
.about-cta.btn-call2 { width: auto; min-width: 290px; }

@media (max-width: 600px) {
    .btn-call2 { width: 100%; box-sizing: border-box; }
    .about-cta.btn-call2 { width: 100%; min-width: 0; }
    .btn-call2-num { font-size: 1.22rem; }}
@media (max-width: 360px) {
    .btn-call2-num { font-size: 1.1rem; }
    .btn-call2-lead { font-size: 0.78rem; }}

/* ============================================================
   About section — who we are / what we do / why trust us
   ============================================================ */

.about-block-title {
    font-size: var(--fs-xs);
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin: 0 0 var(--s-2);
    padding: 0;
    border: none;
}

/* ============================================================
   About section — compact, professional, trust-building
   ============================================================ */

.about-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary, #1a5632);
    margin-bottom: 10px;
}
.about-lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink-700); margin: 0; }

.about-how { margin-top: 24px; }
.about-how p { font-size: var(--fs-base); line-height: var(--lh-body); color: var(--ink-700); margin: 0; }
.about-pillars {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 26px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #e4ede8;
}
.about-pillar h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main, #1a2b22);
    margin: 0 0 4px;
    padding-left: 15px;
    position: relative;
}
.about-pillar h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary, #1a5632);
}
.about-pillar p { font-size: var(--fs-base); line-height: 1.55; color: var(--ink-700); margin: 0; padding-left: var(--s-4); }

.about-why {
    margin: 24px 0 0;
    padding: 16px 18px;
    background: #f4f8f5;
    border-left: 4px solid var(--primary, #1a5632);
    border-radius: 0 12px 12px 0;
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    color: var(--ink-700);
}
.about-why strong { color: var(--text-main, #1a2b22); }

/* ---------- company facts card ---------- */
.company-card {
    background: #fff;
    border: 1px solid #e2ebe6;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(20, 45, 32, 0.08);
    overflow: hidden;
    position: sticky;
    top: 92px;
}
.company-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: var(--primary, #1a5632);
}
.company-card-head img { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.company-card-head strong { display: block; color: #fff; font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.company-card-head span { display: block; color: #cfe6da; font-size: 0.82rem; }

.company-facts { margin: 0; padding: 6px 22px 4px; }
.company-fact { padding: 13px 0; border-bottom: 1px solid #edf3f0; }
.company-fact:last-child { border-bottom: none; }
.company-fact dt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8a948f;
    margin-bottom: 4px;
}
.cf-ico { display: inline-flex; width: 16px; height: 16px; color: var(--primary, #1a5632); flex: 0 0 auto; }
.cf-ico svg { width: 100%; height: 100%; }
.company-fact dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main, #1a2b22);
}

.company-card-call {
    background: #f4f8f5;
    border-top: 1px solid #e2ebe6;
    padding: 16px 22px 18px;
    text-align: center;
}
.cc-label { display: block; font-size: 0.8rem; font-weight: 700; color: #6a766f; letter-spacing: 0.02em; }
.cc-number {
    display: block;
    margin: 3px 0 4px;
    font-size: 1.42rem;
    font-weight: 800;
    color: var(--primary, #1a5632);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}
.cc-number:hover { text-decoration: underline; }
.cc-note { display: block; font-size: 0.8rem; color: #6a766f; }

@media (max-width: 992px) {
    .about-grid { grid-template-columns: minmax(0, 1fr); }
    .company-card { position: static; max-width: 460px; margin: 0 auto; }}
@media (max-width: 560px) {
    .about-pillars { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .about-cta { width: 100%; }}

/* room around the logo and the call block */
header .nav-wrapper { gap: var(--s-8); }
header nav ul { padding: 0 6px; }
@media (max-width: 1560px) {
    header .header-cta .cta-label { display: none; }}
@media (max-width: 1100px) {
    header nav ul { gap: 11px; }
    header nav a { font-size: 0.82rem; }}

/* With eight nav items the "NEED HELP? CALL:" label no longer fits at any
   width without crowding — the number alone is what people act on. */
header .header-cta .cta-label { display: none !important; }
header .header-cta .phone-number { font-size: 1.28rem !important; }
@media (max-width: 1150px) {
    header nav ul { gap: 9px; }
    header nav a { font-size: 0.8rem; }}

/* ============================================================
   Cookie consent banner and preferences modal
   ============================================================ */
.oak-cc {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 10000;
    background: #fff;
    border-top: 3px solid var(--primary, #1a5632);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
}
.oak-cc-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.oak-cc-text { flex: 1 1 460px; min-width: 0; }
.oak-cc-text strong { display: block; font-size: 1.02rem; color: var(--text-main, #1a2b22); margin-bottom: 3px; }
.oak-cc-text p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: #4d5a53; }
.oak-cc-text a { color: var(--primary, #1a5632); font-weight: 600; }
.oak-cc-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.oak-cc-btn {
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 11px 18px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid var(--primary, #1a5632);
    background: #fff;
    color: var(--primary, #1a5632);
    white-space: nowrap;
}
.oak-cc-btn:hover { background: #eef5f1; }
.oak-cc-accept { background: #16a34a; border-color: #16a34a; color: #fff; }
.oak-cc-accept:hover { background: #128a3e; }
.oak-cc-manage { border-color: #cfdcd5; color: #4d5a53; }
.oak-cc-btn:focus-visible { outline: 3px solid #16a34a; outline-offset: 2px; }

.oak-ccm-overlay {
    position: fixed; inset: 0; z-index: 10001;
    background: rgba(10, 26, 16, 0.55);
    display: flex; align-items: center; justify-content: center;
    padding: 16px; overflow-y: auto;
}
.oak-ccm {
    background: #fff; border-radius: 16px; width: 540px; max-width: 100%;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3); margin: auto;
}
.oak-ccm-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; border-bottom: 1px solid #e8efeb;
}
.oak-ccm-head h2 { font-size: 1.2rem; margin: 0; }
.oak-ccm-x { border: none; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #7b8781; }
.oak-ccm-x:focus-visible { outline: 3px solid #16a34a; outline-offset: 2px; }
.oak-ccm-body { padding: 8px 22px 4px; }
.oak-ccm-row {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 14px 0; border-bottom: 1px solid #f0f5f2;
}
.oak-ccm-row strong { font-size: 0.98rem; color: var(--text-main, #1a2b22); }
.oak-ccm-row p { margin: 3px 0 0; font-size: 0.87rem; line-height: 1.5; color: #5a665f; }
.oak-ccm-row input[type="checkbox"] { width: 22px; height: 22px; margin-top: 2px; accent-color: #16a34a; flex: 0 0 auto; }
.oak-ccm-always { font-size: 0.8rem; font-weight: 700; color: #7b8781; white-space: nowrap; margin-top: 2px; }
.oak-ccm-gpc, .oak-ccm-note { font-size: 0.83rem; line-height: 1.55; color: #6a766f; margin: 12px 0 0; }
.oak-ccm-gpc { background: #f4f8f5; border-radius: 8px; padding: 10px 12px; }
.oak-ccm-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 16px 22px; border-top: 1px solid #e8efeb; background: #f8fbf9; border-radius: 0 0 16px 16px;
}
.oak-ccm-foot a { font-size: 0.88rem; color: var(--primary, #1a5632); font-weight: 600; }
.oak-ccm-foot > div { display: flex; gap: 9px; flex-wrap: wrap; }
.footer-cookie-link { background: none; border: none; font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; padding: 0; text-align: left; }
.footer-cookie-link:hover { text-decoration: underline; }

@media (max-width: 720px) {
    .oak-cc-actions { width: 100%; }
    .oak-cc-btn { flex: 1 1 100%; text-align: center; }}

/* bento */

/* steps */

/* pricing */

/* release info */

/* help */

/* legal page tables */
.legal-rev { font-size: 0.92rem; color: #6a766f; }
.legal-table-wrap { overflow-x: auto; margin: 14px 0 18px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 720px; }
.legal-table th, .legal-table td { border: 1px solid #e2ebe6; padding: 9px 11px; text-align: left; vertical-align: top; }
.legal-table th { background: #f4f8f5; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; color: #4d5a53; }
.legal-table code { font-size: 0.84rem; word-break: break-word; }

.policy-pdf-link { margin: 0 0 14px; }
.policy-pdf-link a { display: inline-block; font-size: 0.9rem; font-weight: 700; color: var(--pc-green, #16a34a); border: 2px solid currentColor; border-radius: 8px; padding: 7px 14px; text-decoration: none; }
.policy-pdf-link a:hover { background: #f0fdf4; }

/* ============================================================
   Oakstone Assist — request-led components
   ============================================================ */
.oa-eyebrow {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--green-800);
    background: var(--sage-100);
    border: 1px solid var(--sage-200);
    padding: 5px var(--s-3);
    border-radius: var(--r-pill);
    margin-bottom: var(--s-4);
}

.hero-note {
    font-size: var(--fs-sm);
    color: var(--ink-500);
    margin-top: var(--s-2);
    line-height: 1.55;
    max-width: 48ch;
}

/* ---------- numbered steps ---------- */
.oa-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: var(--s-6);
    max-width: 780px;
}
.oa-steps li { display: flex; gap: var(--s-4); align-items: flex-start; }
.oa-step-n {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    border-radius: var(--r-pill);
    background: var(--sage-100);
    border: 1px solid var(--sage-200);
    color: var(--green-800);
    font-weight: 700;
    font-size: var(--fs-base);
    display: flex; align-items: center; justify-content: center;
}
.oa-steps h3 { font-size: var(--fs-h4); margin: 0 0 var(--s-1); }
.oa-steps p { font-size: var(--fs-base); color: var(--ink-700); margin: 0; }
.oa-steps-compact { gap: var(--s-4); }

/* ---------- the paid offers ----------
   Two paid cards side by side. Equal height, and each card's action is
   pushed to the bottom so the two buttons sit on one line. */
.oa-offers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
}
.oa-offer {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--card-pad);
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* quiet differentiation between the two paid cards — a tinted rule along
   the top of the annual one, not a "Best Value" badge */
.oa-offers .oa-offer:last-child { border-top: 3px solid var(--sage-200); }
.oa-offer h3 { font-size: var(--fs-h3); margin: 0 0 var(--s-2); }
.oa-price {
    margin: 0 0 var(--s-1);
    display: flex;
    align-items: baseline;
    gap: var(--s-2);
    flex-wrap: wrap;
}
.oa-price-main {
    font-size: 2.375rem;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.oa-price-unit { font-size: var(--fs-sm); color: var(--ink-500); font-weight: 600; }
.oa-price-equiv { font-size: var(--fs-sm); color: var(--ink-500); margin: 0 0 var(--s-4); }
.oa-offer-lead {
    font-size: var(--fs-base);
    color: var(--ink-700);
    margin: 0 0 var(--s-4);
}
.oa-list { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.oa-list li {
    position: relative;
    padding-left: var(--s-6);
    margin-bottom: var(--s-2);
    font-size: var(--fs-base);
    line-height: 1.55;
    color: var(--ink-700);
}
.oa-list li::before {
    content: "";
    position: absolute;
    left: var(--s-1);
    top: .6em;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green-600);
}
.oa-list-lg li { margin-bottom: var(--s-3); }
/* The note and the action travel together at the foot of the card, so a
   shorter card collects its slack above the note instead of opening a gap
   between the note and the button. */
.oa-offer-note {
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: var(--ink-500);
    border-top: 1px solid var(--line-soft);
    padding-top: var(--s-3);
    margin: auto 0 var(--s-4);
}
.oa-offer-cta { align-self: stretch; }
.oa-assurance {
    text-align: center;
    margin-top: var(--s-6);
    font-size: var(--fs-base);
    color: var(--ink-500);
}

/* ---------- the free starting step ----------
   Deliberately NOT a third price card: a single quiet band above the two
   paid choices, so the free step reads as where you begin rather than as
   a product competing with them. */
.oa-start {
    max-width: 960px;
    margin: 0 auto var(--s-8);
    background: var(--sage-100);
    border: 1px solid var(--sage-200);
    border-radius: var(--r-lg);
    padding: var(--s-6) var(--card-pad);
    display: flex;
    align-items: center;
    gap: var(--s-6);
    flex-wrap: wrap;
}
.oa-start-text { flex: 1 1 320px; min-width: 0; }
.oa-start h3 {
    font-size: var(--fs-h3);
    margin: 0 0 var(--s-2);
    color: var(--green-800);
}
.oa-start p { margin: 0; color: var(--ink-700); font-size: var(--fs-base); }
.oa-start .btn { flex: 0 0 auto; }

/* ---------- scheduled care ---------- */
.oa-care { background: var(--surface-alt); }

/* the two halves of the annual plan, side by side so the difference
   between "ask any time" and "five planned appointments" is visible at
   a glance rather than buried in a list */
.oa-care-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
    align-items: stretch;
    margin-bottom: var(--s-6);
}
.oa-care-col {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    padding: var(--card-pad);
}
.oa-care-col h3 {
    font-size: var(--fs-h3);
    margin: 0 0 var(--s-3);
    color: var(--green-700);
}
.oa-care-col > p { margin: 0 0 var(--s-4); color: var(--ink-700); }
.oa-care-subhead {
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 var(--s-3);
}
.oa-care-small {
    font-size: var(--fs-sm);
    color: var(--ink-500);
    border-top: 1px solid var(--line-soft);
    padding-top: var(--s-3);
    margin: var(--s-4) 0 0;
}
.oa-care-note {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--card-pad);
    margin-bottom: var(--s-6);
}
.oa-care-note h3 { font-size: var(--fs-h4); margin-bottom: var(--s-3); }
.oa-care-note .oa-list li { color: var(--ink-500); }
.oa-care-note .oa-list li::before { background: #94A3B8; }
.oa-care-foot {
    margin-top: var(--s-6);
    padding-top: var(--s-6);
    border-top: 1px solid var(--line);
}
.oa-care-foot h3 { font-size: var(--fs-h4); margin: 0 0 var(--s-3); }
.oa-care-foot .oa-list li { font-size: var(--fs-sm); color: var(--ink-700); }

/* ---------- closing call block ---------- */
.oa-final { text-align: center; max-width: 720px; margin: 0 auto; }
.oa-final h2 { margin-bottom: var(--s-2); }
.oa-final > p { font-size: var(--fs-lg); color: var(--ink-700); }
.oa-final-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin: var(--s-6) 0 var(--s-4);
}

/* ---------- notes / terms boxes ---------- */
.oa-note-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--card-pad);
    max-width: 880px;
    margin: 0 auto;
}
.oa-note-box h2 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.oa-terms-note { padding-top: 0; }

/* ---------- very narrow screens, or a raised browser font size ----------
   The type scale is in rem so it grows with the reader's own font-size
   setting, which is right. But a clamp() floor in rem grows with it too,
   and at a 24px root a 2rem floor is 48px — more than a 320px screen can
   take. Capping the floors in vw here keeps the reader's preference
   working while stopping the text from running off the edge. */
@media (max-width: 420px) {
    :root {
        --fs-h1: clamp(1.5rem, 8.5vw, 2.25rem);
        --fs-h2: clamp(1.35rem, 7vw, 1.875rem);
        --fs-h3: clamp(1.1rem, 5.2vw, 1.3125rem);
    }
    /* The kicker must not shrink below the 15px floor — it is a label a
       visitor reads, not a disclosure. It wraps instead, and the tighter
       letter-spacing buys the room that shrinking would have. */
    .oa-kicker {
        font-size: var(--fs-sm);
        letter-spacing: .03em;
        padding: 4px var(--s-2);
        white-space: normal;
    }
    .oa-price-main { font-size: clamp(1.6rem, 9vw, 2.375rem); }
    .btn-num, .oa-cta-num { font-size: clamp(1rem, 4.6vw, 1.3rem); }
}

/* Headings are the longest unbreakable things on the page; let a very long
   word break rather than push the layout wide. */
h1, h2, h3, h4 { overflow-wrap: break-word; }

/* ---------- phone field ----------
   A static country prefix sitting inside the field's border, so it reads
   as one control. The flag is an inline SVG rather than the regional
   emoji: Windows renders that emoji as the letters "US" in a box, and
   most of this site's visitors are on Windows. */
.phone-field {
    display: flex;
    align-items: stretch;
    border: 1px solid #C3CEC6;
    border-radius: var(--r-sm);
    background: var(--surface);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.phone-field:focus-within {
    border-color: var(--green-700);
    box-shadow: var(--ring);
}
.phone-field:has(input[aria-invalid="true"]) { border-color: var(--danger); }

.phone-prefix {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    flex: 0 0 auto;
    padding: 0 var(--s-3);
    background: var(--surface-alt);
    border-right: 1px solid var(--line);
    color: var(--ink-700);
    font-size: var(--fs-base);
    font-weight: 600;
    user-select: none;
}
.phone-cc { font-variant-numeric: tabular-nums; }

/* the input loses its own border — the wrapper carries it now */
.phone-field input,
.oa-form .phone-field input,
.oa-exit-form .phone-field input {
    border: none;
    border-radius: 0;
    flex: 1 1 auto;
    min-width: 0;
    letter-spacing: .02em;
}
.phone-field input:focus,
.oa-form .phone-field input:focus,
.oa-exit-form .phone-field input:focus {
    outline: none;
    box-shadow: none;
}

/* described to screen readers, invisible on screen */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ---------- forms ---------- */
.oa-form .form-group { margin-bottom: var(--s-3); }
.oa-form label {
    display: block;
    font-size: var(--fs-label);
    font-weight: 600;
    margin-bottom: var(--s-1);
    color: var(--ink-900);
}
.oa-form .req { color: var(--danger); }
.oa-form .opt { font-weight: 400; color: var(--ink-500); }
.oa-form input {
    width: 100%;
    box-sizing: border-box;
    min-height: var(--field-h);
    padding: var(--s-2) var(--control-pad-x);
    font-size: var(--fs-base);
    font-family: inherit;
    color: var(--ink-900);
    background: var(--surface);
    border: 1px solid #CBD5E1;
    border-radius: var(--r-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.oa-form input:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: var(--ring);
}
.oa-form input[aria-invalid="true"] { border-color: var(--danger); }
.oa-form input:disabled { background: #F1F5F9; color: var(--ink-500); }

.field-error {
    margin: var(--s-2) 0 0;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--danger);
}
.form-hint { font-size: var(--fs-sm); color: var(--ink-500); margin: 0 0 var(--s-3); }
/* A secondary notice rather than reading copy, so this is the one piece
   of text allowed below the 15px floor. Contrast stays at AA so it reads
   as quiet, not faint. */
.form-disclosure {
    font-size: var(--fs-xs);
    line-height: 1.45;
    color: var(--ink-500);
    margin: var(--s-2) 0 var(--s-3);
}
.form-disclosure a { color: var(--green-800); font-weight: 600; }
.form-alt {
    text-align: left;
    font-size: var(--fs-sm);
    margin-top: var(--s-3);
    color: var(--ink-500);
}
.form-alt a { font-weight: 700; color: var(--green-800); white-space: nowrap; }
.form-card-sub {
    font-size: var(--fs-sm);
    color: var(--ink-700);
    margin: 0;
    line-height: 1.5;
}
.form-banner {
    padding: var(--s-3) var(--s-4);
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    line-height: 1.55;
    margin-bottom: var(--s-4);
    font-weight: 600;
}
.form-banner-ok { background: var(--green-50); border: 1px solid var(--green-100); color: #14532D; }
.form-banner-error { background: #FEF2F2; border: 1px solid #FECACA; color: var(--danger); }
.form-banner a { font-weight: 800; color: inherit; white-space: nowrap; }

/* ---------- mobile action bar ---------- */
.oa-bar { display: none; }
@media (max-width: 900px) {
    .oa-bar {
        display: flex; gap: 10px; position: fixed; z-index: 9000;
        left: 0; right: 0; bottom: 0;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,0.97); border-top: 1px solid var(--border);
        box-shadow: 0 -4px 14px rgba(0,0,0,0.08);
        transition: transform 0.2s ease;
    }
    .oa-bar-hidden { transform: translateY(110%); }
    .oa-bar a {
        flex: 1 1 0; min-height: 52px; display: flex; align-items: center; justify-content: center;
        gap: 8px; border-radius: 10px; font-weight: 800; font-size: 1rem; text-decoration: none;
    }
    .oa-bar-call { background: var(--primary); color: #fff; }
    .oa-bar-call svg { width: 18px; height: 18px; }
    .oa-bar-cb { background: #fff; color: var(--primary-dark); border: 2px solid var(--primary); }
    body { padding-bottom: 78px; }}

/* ---------- desktop exit popup ---------- */
.oa-exit-overlay {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s-5);
    /* a restrained neutral backdrop, not a green wash */
    background: rgb(22 39 30 / 45%);
    opacity: 0;
    transition: opacity .18s ease;
}
.oa-exit-overlay.visible { opacity: 1; }

.oa-exit {
    position: relative;
    width: 100%;
    max-width: 440px;
    /* short laptop screens must scroll inside the dialog rather than
       have the disclosure and the button clipped off the bottom */
    max-height: calc(100vh - var(--s-12));
    max-height: calc(100dvh - var(--s-12));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(8px);
    transition: transform .18s ease;
}
.oa-exit-overlay.visible .oa-exit { transform: translateY(0); }

.oa-exit-body { padding: var(--s-8) var(--card-pad) var(--card-pad); }
.oa-exit h2 {
    font-size: var(--fs-h3);
    margin: 0 0 var(--s-2);
    color: var(--ink-900);
}
.oa-exit > .oa-exit-body > p {
    color: var(--ink-700);
    font-size: var(--fs-base);
    margin: 0 0 var(--s-5);
}

.oa-exit-x {
    position: absolute;
    top: var(--s-2);
    right: var(--s-2);
    width: 44px; height: 44px;        /* comfortable touch target */
    border: none;
    background: none;
    color: var(--ink-500);
    cursor: pointer;
    border-radius: var(--r-pill);
    display: flex; align-items: center; justify-content: center;
}
.oa-exit-x svg { width: 20px; height: 20px; }
.oa-exit-x:hover { background: var(--surface-alt); color: var(--ink-900); }
.oa-exit-x:focus {
    outline: 3px solid var(--green-700);
    outline-offset: 2px;
    background: var(--surface-alt);
    color: var(--ink-900);
}

.oa-exit-call { width: 100%; }

/* a quiet divider, not a labelled "or" between two equal choices */
.oa-exit-div {
    height: 1px;
    background: var(--line);
    margin: var(--s-6) 0 var(--s-5);
}
.oa-exit-sub {
    font-weight: 600;
    color: var(--ink-900);
    font-size: var(--fs-base);
    margin: 0 0 var(--s-3);
}

.oa-exit-form { text-align: left; }
.oa-exit-form label {
    display: block;
    font-size: var(--fs-label);
    font-weight: 600;
    margin-bottom: var(--s-2);
    color: var(--ink-900);
}
.oa-exit-form input {
    width: 100%;
    box-sizing: border-box;
    min-height: var(--control-h);
    padding: var(--s-3) var(--control-pad-x);
    font-size: var(--fs-base);
    font-family: inherit;
    color: var(--ink-900);
    background: var(--surface);
    border: 1px solid #C3CEC6;
    border-radius: var(--r-sm);
}
.oa-exit-form input:focus {
    outline: none;
    border-color: var(--green-700);
    box-shadow: var(--ring);
}
.oa-exit-form input[aria-invalid="true"] { border-color: var(--danger); }
.oa-exit-form input:disabled { background: var(--surface-alt); color: var(--ink-500); }

/* secondary weight: the call above it stays the primary action */
.oa-exit-submit { width: 100%; min-height: 50px; }
.oa-exit-submit:disabled { background: var(--surface-alt); color: var(--ink-500); cursor: default; }

.oa-exit-note {
    font-size: var(--fs-xs);
    color: var(--ink-500);
    text-align: left;
    margin: var(--s-3) 0 0;
    line-height: 1.45;
}
/* never the default browser blue */
.oa-exit-note a { color: var(--green-800); font-weight: 600; }
.oa-exit .field-error, .oa-exit .form-banner { text-align: left; }

@media (max-width: 480px) {
    .oa-exit-overlay { padding: var(--s-3); align-items: flex-end; }
    .oa-exit { max-height: calc(100dvh - var(--s-8)); }}

/* ---------- partner page ---------- */
.oa-partner-hero { background: var(--surface-alt); }
.oa-partner-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: var(--s-12);
    align-items: start;
}
.oa-partner-grid h1 { font-size: var(--fs-h1); margin-bottom: var(--s-3); }
.oa-partner-lead {
    font-size: var(--fs-lg); line-height: 1.6; color: var(--ink-700);
    margin-bottom: var(--s-6); max-width: 52ch;
}
.oa-partner-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.oa-partner-note { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--ink-500); }
.oa-partner-cols {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: var(--s-12);
    margin-bottom: var(--s-8);
}
.oa-partner-cols h2 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.oa-partner-close { margin: var(--s-4) 0; font-size: var(--fs-base); color: var(--ink-700); }

/* the mobile action bar yields to the cookie banner */
body.oak-cc-open .oa-bar { display: none; }

/* ---------- 404 / 410 ---------- */
.oa-error { background: var(--surface-alt); }
.oa-error-box {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    padding: var(--s-12) var(--card-pad);
}
.oa-error-box h1 { font-size: var(--fs-h2); margin-bottom: var(--s-3); }
.oa-error-box > p {
    color: var(--ink-700);
    margin: 0 auto var(--s-6);
    max-width: 46ch;
}
.oa-error-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-bottom: var(--s-6);
}
.oa-error-call {
    font-size: var(--fs-sm);
    color: var(--ink-500);
    margin: 0 auto;
    max-width: 44ch;
    padding-top: var(--s-4);
    border-top: 1px solid var(--line-soft);
}
.oa-error-call a { font-weight: 700; color: var(--green-700); white-space: nowrap; }

@media (max-width: 560px) {
    .oa-error-box { padding: var(--s-8) var(--card-pad); }
    .oa-error-actions { flex-direction: column; }
    .oa-error-actions .btn { width: 100%; }}

/* ---------- the relocated hero form ---------- */
.oa-callback-slot { background: var(--surface-alt); }
.oa-callback-slot .form-card { max-width: 560px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .oa-offers { grid-template-columns: minmax(0, 1fr); }
    .oa-care-grid, .oa-care-split, .oa-partner-grid, .oa-partner-cols { grid-template-columns: minmax(0, 1fr); }
    .oa-start { flex-direction: column; align-items: stretch; gap: var(--s-4); }
    /* the 320px flex-basis is a WIDTH on the desktop row; once the band
       stacks it becomes a HEIGHT and opens a 320px gap above the button */
    .oa-start-text { flex: 0 1 auto; }
    .oa-start .btn { width: 100%; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .hero-actions .btn, .oa-final-actions .btn, .oa-partner-actions .btn { width: 100%; }
    .hero-actions, .oa-partner-actions, .oa-final-actions { flex-direction: column; }
    .oa-price-main { font-size: 1.875rem; }}
@media (prefers-reduced-motion: reduce) {
    .oa-exit-overlay, .oa-exit, .oa-bar { transition: none; }}

/* Long unbreakable strings — an email address, a URL, a code span — can
   otherwise set a grid or flex item's minimum width and push the whole
   layout past the viewport when the window narrows. */
.oa-list li, .card p, .legal-content p, .legal-content li,
.form-disclosure, .oa-offer-note, .footer-info-item {
    overflow-wrap: break-word;
}