/* ============================================================
   Boxford Nutrition Center — Brand Design System
   Fonts: Fraunces (display) + DM Sans (body)
   ------------------------------------------------------------
   COLOR VALUES were sampled from the stationery artwork.
   Confirm against 01. Brand Guidelines PDF and adjust here only —
   every page reads these variables.
   ============================================================ */

:root {
    /* Core palette */
    --pine:        #12494B;   /* deep teal green — primary brand */
    --pine-deep:   #0D3739;
    --pine-soft:   #1E6265;
    --cream:       #F0E2D0;   /* page background */
    --cream-light: #F8F0E6;
    --cream-dark:  #E4D2BB;
    --tan:         #BFA07C;   /* gold/tan accent, rules, icons */
    --tan-light:   #D6BE9E;
    --sage:        #7D9A85;   /* secondary green */
    --coral:       #E0785E;   /* highlight / call to action */
    --coral-deep:  #C25F47;

    /* Text */
    --ink:         #12494B;
    --ink-soft:    #4A5B57;
    --ink-muted:   #7C8985;
    --on-dark:     #F5EDE2;

    /* Type */
    --display: "Fraunces", Georgia, "Times New Roman", serif;
    --body:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Layout */
    --max:     1180px;
    --gutter:  clamp(20px, 5vw, 48px);
    --radius:  14px;
    --arch:    140px 140px 14px 14px;  /* logo-inspired dome */

    --shadow:     0 2px 12px rgba(18, 73, 75, .06);
    --shadow-lg:  0 12px 40px rgba(18, 73, 75, .10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;   /* stop iOS inflating text on rotate */
    text-size-adjust: 100%;
}
body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(18, 73, 75, .12);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--coral-deep); }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
    font-family: var(--body);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--tan);
    margin: 0 0 .9rem;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); }
.serif-accent { font-style: italic; font-family: var(--display); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--pine { background: var(--pine); color: var(--on-dark); }
.section--pine h1, .section--pine h2, .section--pine h3 { color: var(--on-dark); }
.section--pine .eyebrow { color: var(--tan-light); }
.section--light { background: var(--cream-light); }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-center { max-width: 62ch; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .01em;
    padding: 15px 32px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--pine); color: var(--on-dark); border-color: var(--pine); }
.btn--primary:hover { background: var(--pine-deep); border-color: var(--pine-deep); color: var(--on-dark); }
.btn--coral { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn--coral:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: #fff; }
.btn--ghost { border-color: var(--pine); color: var(--pine); }
.btn--ghost:hover { background: var(--pine); color: var(--on-dark); }
.btn--light { background: var(--cream); color: var(--pine); }
.btn--light:hover { background: #fff; color: var(--pine); }
.btn--outline-light { border-color: rgba(245,237,226,.5); color: var(--on-dark); }
.btn--outline-light:hover { background: var(--on-dark); color: var(--pine); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(240, 226, 208, .92);
    -webkit-backdrop-filter: blur(10px);   /* Safari/iOS needs the prefix */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(191, 160, 124, .3);
}
.nav {
    /* Wider than the article container: the nav has 8 links plus a CTA and a
       logo, which needs ~1070px. At the 1180px content width it had 12px of
       headroom and the CTA clipped. The header may run wider than the text. */
    max-width: 1340px;
    margin: 0 auto;
    padding: 14px var(--gutter);
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
}
.brand-mark { display: flex; align-items: center; gap: 12px; }
.brand-mark img { height: 46px; width: auto; }
.brand-logo { height: 52px; width: auto; max-width: 230px; object-fit: contain; }
@media (max-width: 560px) { .brand-logo { height: 42px; max-width: 180px; } }
.brand-mark__text { display: flex; flex-direction: column; line-height: 1; }
.brand-mark__name {
    font-family: var(--display); font-weight: 600; font-size: 1.32rem;
    color: var(--pine); letter-spacing: .06em;
}
.brand-mark__sub {
    font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
    color: var(--tan); margin-top: 4px;
}
.nav-links {
    display: flex; align-items: center;
    gap: clamp(11px, 1.3vw, 22px);
    flex: 1 1 auto; justify-content: flex-end;
    min-width: 0; margin-right: 18px;
}
/* The call to action sits outside the link list so it can never be
   squeezed or clipped by it, however many links there are. */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-links a {
    font-size: .92rem; font-weight: 400; color: var(--ink-soft);
    padding: 6px 0; position: relative;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1.5px; background: var(--coral); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--pine); }
.nav-cta { white-space: nowrap; flex-shrink: 0; }
.nav-cta:hover { transform: none; }
.nav-links > li { flex-shrink: 0; }
.nav-links > li > a:not(.nav-cta) { white-space: nowrap; }
.nav-toggle {
    display: none; background: none; border: 0; cursor: pointer;
    padding: 8px; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--pine); transition: .25s; }

/* Below this the eight links cannot fit alongside the logo and CTA,
   so switch to the hamburger rather than squeezing them. */
@media (max-width: 1240px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--cream-light);
        border-bottom: 1px solid var(--cream-dark);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .nav-links.open { max-height: 460px; }
    .nav-links li { border-top: 1px solid rgba(191,160,124,.25); }
    .nav-links a { display: block; padding: 15px var(--gutter); }
    .nav-links a::after { display: none; }
    .nav-links { margin-right: 0; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(64px, 11vw, 132px) 0 clamp(56px, 9vw, 104px);
}
.hero__inner {
    display: grid; gap: clamp(32px, 5vw, 64px); align-items: center;
    grid-template-columns: 1.05fr .95fr;
}
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: .35em; }
.hero__tagline {
    font-family: var(--display); font-style: italic;
    font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--tan);
    margin: 0 0 1.2em;
}
.hero__art {
    background: var(--pine); border-radius: var(--arch);
    aspect-ratio: 4 / 4.6; display: flex; align-items: center; justify-content: center;
    padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow-lg);
    max-width: 460px; margin-left: auto;
}
.hero__art img { max-height: 100%; width: 100%; height: auto; }
@media (max-width: 900px) { .hero__art { margin: 0 auto; max-width: 380px; } }
.hero-stats {
    display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px);
    margin-top: 44px; padding-top: 30px;
    border-top: 1px solid rgba(191,160,124,.4);
}
.hero-stat__num {
    font-family: var(--display); font-size: 1.9rem; font-weight: 600;
    color: var(--pine); line-height: 1; display: block;
}
.hero-stat__label {
    font-size: .82rem; letter-spacing: .06em; color: var(--ink-muted); margin-top: 6px;
}

/* ---------- Cards ---------- */
.card {
    background: var(--cream-light);
    border: 1px solid rgba(191,160,124,.35);
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 34px);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--tan); }
.card__icon {
    width: 46px; height: 46px; margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(125,154,133,.18);
    color: var(--pine); font-size: 1.15rem;
}
.card h3 { margin-bottom: .4em; }
.card p { font-size: .96rem; }
.card--pine { background: var(--pine); border-color: transparent; color: var(--on-dark); }
.card--pine h3 { color: var(--on-dark); }
.card--pine .card__icon { background: rgba(245,237,226,.14); color: var(--tan-light); }

/* Program card */
.program {
    background: var(--cream-light);
    border: 1px solid rgba(191,160,124,.35);
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 32px);
    display: flex; flex-direction: column; gap: 16px;
    transition: transform .22s ease, box-shadow .22s ease;
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.program__tag {
    font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--coral-deep); background: rgba(224,120,94,.14);
    padding: 4px 12px; border-radius: 100px; white-space: nowrap;
}
.program h3 { margin: 0; }
.program__list { display: flex; flex-direction: column; gap: 9px; }
.program__list li {
    font-size: .93rem; color: var(--ink-soft);
    padding-left: 22px; position: relative;
}
.program__list li::before {
    content: ""; position: absolute; left: 0; top: .62em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--sage);
}
.program__link { margin-top: auto; font-weight: 500; font-size: .93rem; color: var(--pine); }
.program__link::after { content: " →"; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 68px; }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; left: 0; top: -4px;
    font-family: var(--display); font-size: 1.6rem; font-weight: 600;
    color: var(--tan);
}
.step h3 { margin-bottom: .35em; }
.step p { font-size: .96rem; }

/* ---------- Feature split ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 68px); align-items: center; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media--arch { border-radius: var(--arch); }

/* ---------- Checklist ---------- */
.checklist li {
    position: relative; padding-left: 34px; margin-bottom: 14px; font-size: .98rem;
}
.checklist li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--sage); color: #fff;
    font-size: .72rem; display: flex; align-items: center; justify-content: center;
}
.section--pine .checklist li::before { background: var(--tan); color: var(--pine); }

/* ---------- Quote ---------- */
.quote {
    font-family: var(--display); font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.4;
    color: var(--ink); max-width: 22ch;
}
.section--pine .quote { color: var(--on-dark); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(191,160,124,.4); }
.faq-q {
    width: 100%; background: none; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 22px 0; text-align: left;
    font-family: var(--display); font-size: 1.08rem; font-weight: 600; color: var(--ink);
}
.faq-q__icon { color: var(--tan); font-size: 1.4rem; line-height: 1; transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-q__icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a p { padding-bottom: 22px; font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pine); color: var(--on-dark); text-align: center; }
.cta-band h2 { color: var(--on-dark); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-line {
    display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px;
}
.contact-line__icon {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
    background: rgba(191,160,124,.2); color: var(--tan);
    display: flex; align-items: center; justify-content: center;
}
.contact-line__label {
    font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-muted); margin-bottom: 2px;
}
.contact-line__value { color: var(--ink); font-weight: 500; }

/* ---------- Arabic copy inside cards ---------- */
.card-ar {
    direction: rtl;
    text-align: right;
    font-size: .95rem;
    line-height: 1.9;
    color: var(--ink-soft);
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(191, 160, 124, .35);
    font-family: "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
}

/* ---------- Calculator ---------- */
.calc-grid { display: grid; gap: clamp(24px, 4vw, 44px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }

.field { display: block; margin-bottom: 18px; }
.field__label {
    display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-muted); margin-bottom: 7px;
}
.field input, .field select {
    width: 100%; padding: 13px 16px;
    border: 1px solid rgba(191,160,124,.55); border-radius: 10px;
    background: #fff; color: var(--ink);
}

/* Native selects render inconsistently on Android/iOS — strip the OS chrome
   and draw our own chevron so it matches the rest of the form. */
.field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 44px;
    line-height: 1.4;
    text-overflow: ellipsis;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23BFA07C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 9px;
}
.field select::-ms-expand { display: none; }
.field select:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
/* Dropdown list itself (limited control, but keeps Android from going white-on-white) */
.field select option { color: var(--ink); background: #fff; padding: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.seg { display: flex; gap: 10px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
    flex: 1; text-align: center; cursor: pointer;
    padding: 12px 10px; border-radius: 10px;
    border: 1px solid rgba(191,160,124,.55);
    background: #fff; color: var(--ink-soft); font-size: .95rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.seg input:checked + label { background: var(--pine); border-color: var(--pine); color: var(--on-dark); }

.result-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.result-card {
    background: var(--cream-light); border: 1px solid rgba(191,160,124,.35);
    border-radius: var(--radius); padding: 18px 20px;
}
.result-card--hero { background: var(--pine); border-color: transparent; grid-column: 1 / -1; }
.result-card__label {
    font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-muted); margin-bottom: 6px;
}
.result-card--hero .result-card__label { color: var(--tan-light); }
.result-card__value {
    font-family: var(--display); font-size: 1.9rem; font-weight: 600;
    color: var(--pine); line-height: 1.1;
}
.result-card--hero .result-card__value { color: var(--on-dark); font-size: clamp(2.2rem, 6vw, 3rem); }
.result-card__unit { font-family: var(--body); font-size: .9rem; font-weight: 400; color: var(--ink-muted); }
.result-card--hero .result-card__unit { color: rgba(245,237,226,.7); }
.result-card__note { font-size: .84rem; color: var(--ink-muted); margin-top: 4px; }
.result-card--hero .result-card__note { color: rgba(245,237,226,.75); }

.macro-bar { display: flex; height: 12px; border-radius: 100px; overflow: hidden; margin: 6px 0 12px; background: var(--cream-dark); }
.macro-bar span { display: block; height: 100%; transition: width .5s ease; }
.macro-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: .86rem; color: var(--ink-muted); }
.macro-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; }

.disclaimer {
    font-size: .86rem; color: var(--ink-muted);
    border-left: 2px solid var(--tan); padding: 4px 0 4px 16px; border-radius: 0; margin-top: 26px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: var(--on-dark); padding: clamp(48px, 6vw, 76px) 0 0; }
.site-footer h4 {
    font-family: var(--body); font-size: .78rem; font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase; color: var(--tan-light);
    margin-bottom: 18px;
}
.site-footer a { color: rgba(245,237,226,.82); font-size: .94rem; }
.site-footer a:hover { color: var(--tan-light); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul li { margin-bottom: 11px; }
.footer-tagline {
    font-family: var(--display); font-style: italic;
    color: var(--tan-light); font-size: 1.05rem; margin-top: 14px;
}
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(245,237,226,.28);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--tan); border-color: var(--tan); color: var(--pine-deep); }
.footer-bottom {
    margin-top: 52px; padding: 22px 0;
    border-top: 1px solid rgba(245,237,226,.14);
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
    font-size: .84rem; color: rgba(245,237,226,.6);
}

/* ---------- Page header ---------- */
.page-head { padding: clamp(52px, 7vw, 88px) 0 clamp(30px, 4vw, 48px); }
.page-head h1 { margin-bottom: .3em; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 22px; } .mt-3 { margin-top: 34px; }
.divider { height: 1px; background: rgba(191,160,124,.4); border: 0; margin: 0; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   iOS / Safari hardening and small-screen behaviour
   ============================================================ */

/* Form fields under 16px make iOS Safari zoom on focus */
input, textarea, select, button { font-family: inherit; font-size: 16px; }
input, textarea { -webkit-appearance: none; appearance: none; border-radius: 10px; }
input:focus, textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }

/* Comfortable touch targets — only where there is no mouse.
   Applying this on desktop distorted the nav pill into a tall oval. */
@media (hover: none), (max-width: 1240px) {
    .nav-links a, .btn, .faq-q, .footer-social a { min-height: 44px; }
}
.btn { touch-action: manipulation; }

/* Respect the notch on the sides of full-width sections */
.wrap {
    padding-left:  max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* Safari ignores hover transforms nicely, but sticky + transform can jitter:
   disable card lift on touch devices */
@media (hover: none) {
    .card:hover, .program:hover, .btn:hover { transform: none; }
}

/* Tablet */
@media (max-width: 780px) {
    body { font-size: 16px; }
    .hero { padding-top: 44px; }
    .hero-stats { gap: 26px; margin-top: 34px; }
    .hero-stat__num { font-size: 1.6rem; }
    .split, .hero__inner { gap: 34px; }
}

/* Phone */
@media (max-width: 560px) {
    :root { --arch: 90px 90px 12px 12px; }
    h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
    h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
    .section { padding: 52px 0; }
    .btn { width: 100%; justify-content: center; }
    .btn-row { flex-direction: column; align-items: stretch; }
    .nav-cta { width: auto; padding: 11px 20px; font-size: .85rem; }
    .step { padding-left: 52px; }
    .step::before { font-size: 1.35rem; }
    .hero-stats { gap: 20px; }
    .hero-stat { flex: 1 1 40%; }
    .quote { max-width: none; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}

/* Very small phones (SE) */
@media (max-width: 360px) {
    :root { --gutter: 18px; }
    .brand-mark img { height: 38px; }
    .brand-mark__name { font-size: 1.15rem; }
}
