/* ─────────────────────────────────────────────────────────────────────────────
   Sabe AI — front page and /pricing, December 2026 (UX pass).
   Loaded only on "/" and "/pricing", and scoped to .s-page, so it cannot leak into the contact form
   or the 404 page. Colours come from the site tokens in theme-navy.css (--sabe-*),
   so the page follows the light/dark toggle and matches the header: navy is the one
   action colour, teal is the accent.
   ───────────────────────────────────────────────────────────────────────────── */

.s-page {
    --s-ink: var(--sabe-ink, #0F172A);
    --s-ink-2: var(--sabe-muted, #334155);
    --s-ink-3: #55647A;
    --s-bg: var(--sabe-page, #FFFFFF);
    --s-bg-2: var(--sabe-page-alt, #F8FAFC);
    --s-card: #FFFFFF;
    --s-line: rgba(15, 23, 42, 0.10);
    --s-line-2: rgba(15, 23, 42, 0.18);
    --s-primary: var(--sabe-primary, #1E3A8A);
    --s-primary-strong: var(--sabe-primary-strong, #172E6E);
    --s-on-primary: var(--sabe-on-primary, #FFFFFF);
    --s-accent: var(--sabe-accent, #14B8A6);
    --s-accent-ink: var(--sabe-accent-ink, #0F766E);
    --s-accent-soft: rgba(20, 184, 166, 0.12);
    --s-primary-soft: rgba(30, 58, 138, 0.08);
    --s-warn: #B45309;
    --s-warn-soft: #FFFBEB;
    --s-no: #B91C1C;
    --s-grad: linear-gradient(92deg, #1E3A8A 0%, #0F766E 100%);
    --s-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 28px -14px rgba(15, 23, 42, 0.18);
    --s-shadow-lg: 0 2px 4px rgba(15, 23, 42, 0.05), 0 34px 70px -30px rgba(30, 58, 138, 0.42);
    --s-radius: 16px;
    --s-maxw: 1200px;
    color: var(--s-ink);
}

[data-theme-color="dark"] .s-page {
    --s-ink-3: #94A3B8;
    --s-card: #111827;
    --s-line: rgba(148, 163, 184, 0.18);
    --s-line-2: rgba(148, 163, 184, 0.34);
    --s-accent-soft: rgba(94, 234, 212, 0.12);
    --s-primary-soft: rgba(59, 130, 246, 0.14);
    --s-warn: #FBBF24;
    --s-warn-soft: rgba(251, 191, 36, 0.08);
    --s-no: #F87171;
    --s-grad: linear-gradient(92deg, #93C5FD 0%, #5EEAD4 100%);
    --s-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px -14px rgba(0, 0, 0, 0.7);
    --s-shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 34px 70px -30px rgba(0, 0, 0, 0.9);
}

/* The template's full-screen loader hides a server-rendered page until jQuery runs.
   There is nothing to wait for here. */
#global-loader { display: none !important; }

.s-page .s-wrap {
    max-width: var(--s-maxw);
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 1240px) { .s-page .s-wrap { padding: 0 12px; } }

.s-page .s-sec {
    padding: clamp(56px, 7vw, 104px) 0;
    background: var(--s-bg);
    position: relative;
}
.s-page .s-sec[id] { scroll-margin-top: 72px; }
.s-page .s-tint { background: var(--s-bg-2); }

.s-page h1,
.s-page h2,
.s-page h3,
.s-page h4 {
    color: var(--s-ink);
    line-height: 1.12;
    letter-spacing: -0.022em;
    font-weight: 650;
    margin: 0 0 0.5em;
    text-wrap: balance;
}
.s-page h1 { font-size: clamp(2.35rem, 5.2vw, 3.85rem); letter-spacing: -0.035em; font-weight: 700; line-height: 1.04; }
.s-page h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); max-width: 24ch; }
.s-page h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 0.4em; }
.s-page h4 { font-size: 0.98rem; }
.s-page p { color: var(--s-ink-2); margin: 0 0 1em; text-wrap: pretty; }
.s-page a { color: var(--s-accent-ink); }

.s-page .s-grad {
    background: var(--s-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--s-primary);
}

.s-page .s-head { margin-bottom: clamp(28px, 4vw, 44px); }
.s-page .s-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--s-accent-ink);
    font-weight: 700;
    margin-bottom: 16px;
}
.s-page .s-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--s-accent);
}
.s-page .s-lead {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    color: var(--s-ink-2);
    max-width: 60ch;
    margin-bottom: 0;
}

/* ── icons ─────────────────────────────────────────────────────────────────── */
.s-page .s-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--s-accent-soft);
    color: var(--s-accent-ink);
    flex: 0 0 auto;
}
.s-page .s-ico .sabe-icon { width: 22px; height: 22px; vertical-align: 0; stroke-width: 1.8; }
.s-page .s-ico-sm { width: 30px; height: 30px; border-radius: 9px; }
.s-page .s-ico-sm .sabe-icon { width: 16px; height: 16px; }
.s-page .s-ico-lg { width: 52px; height: 52px; border-radius: 14px; }
.s-page .s-ico-lg .sabe-icon { width: 26px; height: 26px; }
.s-page .s-ico-mute { background: rgba(100, 116, 139, 0.12); color: var(--s-ink-3); }
.s-page .s-ico-on { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }

/* ── buttons ───────────────────────────────────────────────────────────────── */
.s-page .s-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 620;
    font-size: 0.98rem;
    line-height: 1.2;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.s-page .s-btn .sabe-icon { width: 18px; height: 18px; vertical-align: 0; transition: transform 0.15s ease; }
.s-page .s-btn:hover { text-decoration: none; transform: translateY(-1px); }
.s-page .s-btn:hover .sabe-icon { transform: translateX(3px); }
.s-page .s-btn:focus-visible { outline: 3px solid var(--s-accent); outline-offset: 2px; }
.s-page .s-btn-primary {
    background: var(--s-primary);
    color: var(--s-on-primary);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2), 0 10px 22px -10px rgba(30, 58, 138, 0.7);
}
.s-page .s-btn-primary:hover { background: var(--s-primary-strong); color: var(--s-on-primary); }
[data-theme-color="dark"] .s-page .s-btn-primary:hover { color: #FFFFFF; }
.s-page .s-btn-ghost { border-color: var(--s-line-2); color: var(--s-ink); background: var(--s-card); }
.s-page .s-btn-ghost:hover { border-color: var(--s-primary); color: var(--s-ink); }
.s-page .s-btn-light { background: #FFFFFF; color: #12235A; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6); }
.s-page .s-btn-light:hover { color: #12235A; background: #F1F5F9; }
.s-page .s-btn-block { display: flex; width: 100%; }

/* ── hero ──────────────────────────────────────────────────────────────────── */
.s-page .s-hero {
    padding-top: clamp(40px, 5.5vw, 84px);
    padding-bottom: clamp(48px, 6vw, 92px);
    overflow: hidden;
    background:
        radial-gradient(60% 70% at 88% 8%, rgba(20, 184, 166, 0.16) 0%, rgba(20, 184, 166, 0) 62%),
        radial-gradient(50% 60% at 4% 0%, rgba(30, 58, 138, 0.11) 0%, rgba(30, 58, 138, 0) 60%),
        var(--s-bg);
}
.s-page .s-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--s-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--s-line) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(70% 80% at 70% 10%, #000 0%, transparent 70%);
    mask-image: radial-gradient(70% 80% at 70% 10%, #000 0%, transparent 70%);
    opacity: 0.55;
    pointer-events: none;
}
.s-page .s-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(32px, 5vw, 68px);
    align-items: center;
}
.s-page .s-hero .s-lead { max-width: 52ch; margin-top: 22px; }
.s-page .s-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.s-page .s-trust {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 0.9rem;
    color: var(--s-ink-2);
}
.s-page .s-trust li { display: inline-flex; align-items: center; gap: 7px; }
.s-page .s-trust .sabe-icon { width: 18px; height: 18px; color: var(--s-accent-ink); vertical-align: 0; }

/* hero illustration: a drawn portal, not a screenshot */
.s-page .s-mock {
    background: var(--s-card);
    border: 1px solid var(--s-line);
    border-radius: 18px;
    box-shadow: var(--s-shadow-lg);
    overflow: hidden;
    font-size: 0.86rem;
}
.s-page .s-mock-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--s-line);
    background: var(--s-bg-2);
}
.s-page .s-dots { display: inline-flex; gap: 6px; }
.s-page .s-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--s-line-2); }
.s-page .s-mock-title { font-weight: 650; color: var(--s-ink); font-size: 0.84rem; }
.s-page .s-mock-pill {
    margin-left: auto;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--s-ink-3);
    border: 1px solid var(--s-line-2);
    border-radius: 99px;
    padding: 3px 9px;
}
.s-page .s-mock-body { padding: 16px; display: grid; gap: 14px; }
.s-page .s-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.s-page .s-kpi {
    border: 1px solid var(--s-line);
    border-radius: 12px;
    padding: 12px;
    background: var(--s-bg);
    min-width: 0;
}
.s-page .s-kpi span { display: block; font-size: 0.72rem; color: var(--s-ink-3); font-weight: 600; }
.s-page .s-kpi b { display: block; font-size: 1.38rem; letter-spacing: -0.03em; color: var(--s-ink); font-weight: 700; line-height: 1.25; }
.s-page .s-kpi em { display: block; font-style: normal; font-size: 0.72rem; color: var(--s-accent-ink); font-weight: 600; }
.s-page .s-feed { border: 1px solid var(--s-line); border-radius: 12px; background: var(--s-bg); }
.s-page .s-feed-h,
.s-page .s-decide-h {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--s-ink-3);
}
.s-page .s-feed-h { padding: 11px 12px 5px; }
.s-page .s-feed-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-top: 1px solid var(--s-line);
}
.s-page .s-feed-row:first-of-type { border-top: 0; }
.s-page .s-feed-row p { margin: 0; flex: 1; font-size: 0.84rem; line-height: 1.35; color: var(--s-ink-2); }
.s-page .s-feed-row b { color: var(--s-ink); font-weight: 640; }
.s-page .s-feed-row time { font-size: 0.72rem; color: var(--s-ink-3); font-variant-numeric: tabular-nums; }
.s-page .s-decide {
    border: 1px solid rgba(180, 83, 9, 0.35);
    background: var(--s-warn-soft);
    border-radius: 12px;
    padding: 12px;
}
.s-page .s-decide-h { color: var(--s-warn); display: flex; align-items: center; gap: 8px; }
.s-page .s-decide p { margin: 6px 0 10px; font-size: 0.86rem; color: var(--s-ink); line-height: 1.4; }
.s-page .s-decide-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.s-page .s-decide-btns span {
    font-size: 0.78rem;
    font-weight: 640;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--s-line-2);
    background: var(--s-card);
    color: var(--s-ink);
}
.s-page .s-decide-btns .is-yes { background: var(--s-primary); border-color: var(--s-primary); color: var(--s-on-primary); }
.s-page .s-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--s-warn);
    box-shadow: 0 0 0 0 rgba(180, 83, 9, 0.5);
}

@media (min-width: 961px) {
    /* keep the second half of the headline on one line of its own */
    .s-page h1 { font-size: clamp(2.6rem, 4.3vw, 3.5rem); }
    .s-page .s-grad { display: block; white-space: nowrap; }
}
@media (max-width: 960px) {
    .s-page .s-hero-grid { grid-template-columns: 1fr; }
    .s-page .s-mock { max-width: 560px; }
}
@media (max-width: 420px) {
    .s-page .s-kpi b { font-size: 1.12rem; }
    .s-page .s-kpi { padding: 10px 8px; }
    .s-page .s-feed-row time { display: none; }
    .s-page .s-cta-row .s-btn { width: 100%; }
    .s-page .s-eyebrow { font-size: 0.68rem; letter-spacing: 0.09em; gap: 8px; }
    .s-page .s-eyebrow::before { width: 14px; }
}

/* ── recognition strip ─────────────────────────────────────────────────────── */
.s-page .s-signs {
    padding: 26px 0;
    border-top: 1px solid var(--s-line);
    border-bottom: 1px solid var(--s-line);
    background: var(--s-bg-2);
}
.s-page .s-signs-in { display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; }
.s-page .s-signs-h { font-size: 1rem; margin: 0; letter-spacing: -0.01em; white-space: nowrap; max-width: none; }
.s-page .s-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.s-page .s-chips li {
    font-size: 0.86rem;
    font-weight: 560;
    color: var(--s-ink-2);
    background: var(--s-card);
    border: 1px solid var(--s-line);
    border-radius: 99px;
    padding: 7px 14px;
}

@media (max-width: 760px) {
    .s-page .s-signs-in { flex-direction: column; align-items: flex-start; gap: 12px; }
    .s-page .s-chips { flex: none; width: 100%; }
    .s-page .s-chips li { font-size: 0.82rem; padding: 6px 12px; }
}

/* ── cards and grids ───────────────────────────────────────────────────────── */
.s-page .s-grid { display: grid; gap: 18px; }
.s-page .s-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-page .s-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.s-page .s-g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .s-page .s-g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) {
    .s-page .s-g3, .s-page .s-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .s-page .s-g3, .s-page .s-g4, .s-page .s-g5 { grid-template-columns: 1fr; }
}

.s-page .s-card {
    background: var(--s-card);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    padding: 24px;
    box-shadow: var(--s-shadow);
}
.s-page .s-card h3 { color: var(--s-ink); margin-top: 16px; }
.s-page .s-card p { font-size: 0.95rem; line-height: 1.55; margin: 0; }
.s-page .s-alt { background: var(--s-bg-2); box-shadow: none; }
.s-page .s-work { transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.s-page .s-work:hover { transform: translateY(-3px); border-color: var(--s-accent); }

.s-page .s-answer {
    margin-top: 18px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--s-radius);
    color: #FFFFFF;
    background-color: #1E3A8A;
    background-image: linear-gradient(105deg, #1E3A8A 0%, #134E6B 62%, #0F766E 100%);
    box-shadow: var(--s-shadow-lg);
}
.s-page .s-answer h3 { color: #FFFFFF; font-size: 1.3rem; margin: 0 0 6px; }
.s-page .s-answer p { color: rgba(255, 255, 255, 0.9); margin: 0; font-size: 1.04rem; line-height: 1.55; max-width: 76ch; }

.s-page .s-inline-cta { margin: 28px 0 0; font-size: 0.98rem; }
.s-page .s-inline-cta a,
.s-page .s-faq-head a { font-weight: 640; white-space: nowrap; text-decoration: none; }
.s-page .s-inline-cta a:hover,
.s-page .s-faq-head a:hover { text-decoration: underline; }
.s-page .s-inline-cta .sabe-icon,
.s-page .s-faq-head .sabe-icon { width: 16px; height: 16px; }

/* phones: icon beside the text, so six cards do not cost six screens */
@media (max-width: 640px) {
    .s-page .s-alt,
    .s-page .s-work,
    .s-page .s-sec-item {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 14px;
        padding: 18px;
    }
    .s-page .s-alt > .s-ico,
    .s-page .s-work > .s-ico,
    .s-page .s-sec-item > .s-ico { grid-row: 1 / span 2; }
    .s-page .s-alt h3,
    .s-page .s-work h3,
    .s-page .s-sec-item h3 { margin-top: 0; }
    .s-page .s-answer { flex-direction: column; gap: 14px; }
}

/* ── three parts ───────────────────────────────────────────────────────────── */
.s-page .s-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
@media (max-width: 900px) { .s-page .s-steps { grid-template-columns: 1fr; } }
.s-page .s-step {
    position: relative;
    background: var(--s-card);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    padding: 26px;
    box-shadow: var(--s-shadow);
}
.s-page .s-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.s-page .s-step-n {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--s-line-2);
    font-variant-numeric: tabular-nums;
}
.s-page .s-step h3 { font-size: 1.22rem; }
.s-page .s-step p { font-size: 0.95rem; line-height: 1.55; }
.s-page .s-step .s-step-key {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px dashed var(--s-line-2);
    color: var(--s-ink);
    font-weight: 560;
}
@media (min-width: 901px) {
    .s-page .s-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 52px;
        right: -19px;
        width: 19px;
        height: 2px;
        background: var(--s-accent);
        opacity: 0.6;
    }
}

.s-page .s-quote {
    border: 0;
    border-left: 3px solid var(--s-accent);
    padding: 4px 0 4px 22px;
    margin: 40px 0 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.35;
    color: var(--s-ink);
}
.s-page .s-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.93rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--s-ink-2);
    font-style: normal;
}

/* ── security band (dark in both modes) ────────────────────────────────────── */
.s-page .s-dark {
    --s-ink: #F1F5F9;
    --s-ink-2: #CBD5E1;
    --s-accent-ink: #5EEAD4;
    --s-accent-soft: rgba(94, 234, 212, 0.13);
    background-color: #0B1120;
    background-image:
        radial-gradient(55% 80% at 100% 0%, rgba(20, 184, 166, 0.20) 0%, rgba(20, 184, 166, 0) 60%),
        radial-gradient(50% 80% at 0% 100%, rgba(30, 58, 138, 0.55) 0%, rgba(30, 58, 138, 0) 65%);
}
.s-page .s-dark h2 { max-width: 22ch; }
.s-page .s-sec-item {
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(148, 163, 184, 0.06);
    border-radius: 14px;
    padding: 20px;
}
.s-page .s-sec-item h3 { font-size: 1rem; margin-top: 16px; color: #F1F5F9; }
.s-page .s-sec-item p { font-size: 0.89rem; line-height: 1.5; margin: 0; color: #CBD5E1; }

/* ── engagement timeline ───────────────────────────────────────────────────── */
.s-page .s-line {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    position: relative;
}
.s-page .s-line::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--s-accent) 0%, var(--s-primary) 100%);
    opacity: 0.35;
}
.s-page .s-line li { position: relative; }
.s-page .s-line-n {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--s-bg);
    border: 2px solid var(--s-accent);
    color: var(--s-accent-ink);
    font-weight: 700;
    margin-bottom: 16px;
}
.s-page .s-line p { font-size: 0.94rem; line-height: 1.55; margin: 0; }
@media (max-width: 860px) {
    .s-page .s-line { grid-template-columns: 1fr; gap: 26px; }
    .s-page .s-line::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; }
    .s-page .s-line li { padding-left: 60px; }
    .s-page .s-line-n { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ── pricing ───────────────────────────────────────────────────────────────── */
.s-page .s-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
@media (max-width: 940px) { .s-page .s-price-grid { grid-template-columns: 1fr; max-width: 560px; } }

.s-page .s-plan {
    position: relative;
    border: 1px solid var(--s-line);
    border-radius: 18px;
    padding: 28px 26px 26px;
    background: var(--s-card);
    box-shadow: var(--s-shadow);
    display: flex;
    flex-direction: column;
}
.s-page .s-plan.s-featured {
    border: 2px solid var(--s-primary);
    box-shadow: var(--s-shadow-lg);
}
.s-page .s-plan h3 { font-size: 1.22rem; color: var(--s-ink); margin-bottom: 6px; }
.s-page .s-tag {
    position: absolute;
    top: -13px;
    left: 24px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--s-on-primary);
    background: var(--s-primary);
    padding: 5px 12px;
    border-radius: 99px;
}
.s-page .s-desc { font-size: 0.93rem; line-height: 1.5; margin: 0 0 18px; min-height: 3em; }
.s-page .s-price {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--s-ink);
    font-variant-numeric: tabular-nums;
}
.s-page .s-price small,
.s-page .s-price span {
    font-size: 0.9rem;
    font-weight: 560;
    color: var(--s-ink-3);
    letter-spacing: 0;
}
.s-page .s-terms {
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--s-ink);
    font-weight: 600;
    margin: 10px 0 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--s-line);
}
.s-page .s-terms span { color: var(--s-ink-3); font-weight: 500; }
.s-page .s-plan ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    font-size: 0.93rem;
    color: var(--s-ink-2);
    display: grid;
    gap: 10px;
}
.s-page .s-plan ul li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.s-page .s-plan ul .sabe-icon {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: var(--s-accent-ink);
    stroke-width: 2.6;
    vertical-align: 0;
}
.s-page .s-plan .s-btn { margin-top: auto; }

.s-page .s-sub { margin: 44px 0 16px; font-size: 1.08rem; }
.s-page .s-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .s-page .s-tiers { grid-template-columns: 1fr; } }
.s-page .s-tier {
    border: 1px solid var(--s-line);
    border-radius: 14px;
    padding: 20px;
    background: var(--s-card);
}
.s-page .s-tier h4 { margin: 0 0 4px; }
.s-page .s-price-sm {
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: -0.02em;
    color: var(--s-ink);
    margin-bottom: 8px;
}
.s-page .s-tier p { font-size: 0.9rem; line-height: 1.5; margin: 0; }

.s-page .s-drivers {
    margin-top: 18px;
    padding: 20px 24px;
    background: var(--s-card);
    border: 1px dashed var(--s-line-2);
    border-radius: 14px;
}
.s-page .s-drivers h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.s-page .s-drivers h4 .sabe-icon { color: var(--s-accent-ink); }
.s-page .s-drivers ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.92rem;
    color: var(--s-ink-2);
    columns: 2;
    column-gap: 40px;
}
.s-page .s-drivers li { break-inside: avoid; padding: 3px 0; }
@media (max-width: 760px) { .s-page .s-drivers ul { columns: 1; } }

/* ── fit ───────────────────────────────────────────────────────────────────── */
.s-page .s-fit { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; }
@media (max-width: 860px) { .s-page .s-fit { grid-template-columns: 1fr; } }
.s-page .s-fit-col {
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    padding: 28px;
    background: var(--s-card);
    box-shadow: var(--s-shadow);
}
.s-page .s-fit-yes { border-top: 3px solid var(--s-accent); }
.s-page .s-fit-no { background: var(--s-bg-2); box-shadow: none; border-top: 3px solid var(--s-line-2); }
.s-page .s-fit-col h3 { font-size: 1.15rem; margin-bottom: 16px; }
.s-page .s-fit-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.s-page .s-fit-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; line-height: 1.5; color: var(--s-ink-2); }
.s-page .s-fit-col strong { color: var(--s-ink); font-weight: 640; }
.s-page .s-fit-col .sabe-icon { width: 18px; height: 18px; margin-top: 3px; stroke-width: 2.6; vertical-align: 0; }
.s-page .s-fit-yes .sabe-icon { color: var(--s-accent-ink); }
.s-page .s-fit-no .sabe-icon { color: var(--s-no); }

/* ── faq ───────────────────────────────────────────────────────────────────── */
.s-page .s-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.s-page .s-faq-head { margin: 0; }
.s-page .s-faq-head p { font-size: 0.98rem; margin: 6px 0 0; }
@media (min-width: 901px) { .s-page .s-faq-head { position: sticky; top: 96px; } }
@media (max-width: 900px) { .s-page .s-faq-grid { grid-template-columns: 1fr; } }
.s-page .s-faq details {
    border: 1px solid var(--s-line);
    border-radius: 14px;
    background: var(--s-card);
    padding: 0 20px;
    margin-bottom: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.s-page .s-faq details[open] { border-color: var(--s-line-2); box-shadow: var(--s-shadow); }
.s-page .s-faq summary {
    cursor: pointer;
    font-weight: 620;
    font-size: 1.01rem;
    color: var(--s-ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 17px 0;
}
.s-page .s-faq summary::-webkit-details-marker { display: none; }
.s-page .s-faq summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--s-accent-soft);
    color: var(--s-accent-ink);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1;
}
.s-page .s-faq details[open] summary::after { content: "–"; }
.s-page .s-faq summary:focus-visible { outline: 3px solid var(--s-accent); outline-offset: 4px; border-radius: 6px; }
.s-page .s-faq p { margin: 0; padding: 0 0 18px; font-size: 0.96rem; line-height: 1.6; max-width: 70ch; }

/* ── final cta ─────────────────────────────────────────────────────────────── */
.s-page .s-final {
    background-color: #1E3A8A;
    background-image:
        radial-gradient(60% 120% at 100% 0%, rgba(20, 184, 166, 0.55) 0%, rgba(20, 184, 166, 0) 60%),
        linear-gradient(120deg, #172E6E 0%, #1E3A8A 55%, #134E6B 100%);
    text-align: center;
}
.s-page .s-final-in { max-width: 760px; }
.s-page .s-final h2 { color: #FFFFFF; max-width: none; font-size: clamp(1.9rem, 4vw, 3rem); }
.s-page .s-final .s-lead { color: rgba(255, 255, 255, 0.9); margin: 0 auto 30px; }
.s-page .s-final-fine { color: rgba(255, 255, 255, 0.75); font-size: 0.88rem; margin: 18px 0 0; }

/* The template gives the footer a top margin; after a full-bleed band it reads as a gap. */
.landing-layout .s-page + .footer-section { margin-top: 0 !important; }

/* ── sticky action, phones only ────────────────────────────────────────────── */
.s-page .s-sticky { display: none; }
@media (max-width: 640px) {
    .s-page .s-sticky:not([hidden]) {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: var(--s-bg);
        border-top: 1px solid var(--s-line);
        box-shadow: 0 -10px 26px -14px rgba(15, 23, 42, 0.35);
    }
    /* the template's back-to-top button would sit on top of the action bar */
    #back-to-top { display: none !important; }
}

/* ── motion: progressive, CSS-only, off for anyone who asks for less ───────── */
@keyframes s-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}
@keyframes s-pulse {
    0% { box-shadow: 0 0 0 0 rgba(180, 83, 9, 0.5); }
    100% { box-shadow: 0 0 0 9px rgba(180, 83, 9, 0); }
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .s-page .s-pulse { animation: s-pulse 1.8s ease-out infinite; }
    .s-page .s-hero-copy > * { animation: s-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .s-page .s-hero-copy > :nth-child(2) { animation-delay: 0.05s; }
    .s-page .s-hero-copy > :nth-child(3) { animation-delay: 0.1s; }
    .s-page .s-hero-copy > :nth-child(4) { animation-delay: 0.15s; }
    .s-page .s-hero-copy > :nth-child(5) { animation-delay: 0.2s; }
    .s-page .s-mock { animation: s-rise 0.8s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    @supports (animation-timeline: view()) {
        .s-page .s-reveal {
            animation: s-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 42%;
        }
    }
}

/* header: the shared menu wraps at laptop widths once the labels are longer than Home/Services */
.nav-header-main .nav-link { white-space: nowrap; }
.nav-header-main .nav > .nav-item { white-space: nowrap; }
@media (max-width: 1200px) and (min-width: 992px) {
    .nav-header-main .nav-link { font-size: 0.86rem; padding-left: 8px; padding-right: 8px; }
}
/* tablets: six unwrapped labels used to push the logo out of the header */
@media (max-width: 991.98px) and (min-width: 768px) {
    .landing-layout .banner-section .nav-header-main .header-logo { flex: 0 0 auto; }
    .landing-layout .banner-section .nav-header-main .nav .nav-item .nav-link { font-size: 0.8rem; padding-left: 6px; padding-right: 6px; }
}

/* ═════════════════════════════════════════════════════════════════════════════
   /pricing, and the pricing pointer on the front page
   ═════════════════════════════════════════════════════════════════════════════ */

.s-page .s-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* front page: pointer to /pricing */
.s-page .s-teaser-sec { padding: clamp(36px, 5vw, 64px) 0; }
.s-page .s-teaser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
    padding: clamp(24px, 3.4vw, 40px);
    border-radius: 18px;
    background: var(--s-card);
    border: 1px solid var(--s-line);
    border-left: 4px solid var(--s-accent);
    box-shadow: var(--s-shadow);
}
.s-page .s-teaser > div { flex: 1 1 420px; }
.s-page .s-teaser h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); max-width: 26ch; }
.s-page .s-teaser p { margin: 0; max-width: 58ch; font-size: 1rem; }
.s-page .s-teaser .s-eyebrow { margin-bottom: 12px; }

/* hero: pick where you are starting */
.s-page .s-doors {
    background: var(--s-card);
    border: 1px solid var(--s-line);
    border-radius: 18px;
    box-shadow: var(--s-shadow-lg);
    padding: 10px;
}
.s-page .s-doors-h {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--s-ink-3);
    padding: 10px 12px 8px;
}
.s-page .s-door {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    border-radius: 12px;
    border-top: 1px solid var(--s-line);
    text-decoration: none;
    color: var(--s-ink);
    transition: background-color 0.15s ease;
}
.s-page .s-door:hover { background: var(--s-bg-2); text-decoration: none; color: var(--s-ink); }
.s-page .s-door:focus-visible { outline: 3px solid var(--s-accent); outline-offset: -2px; }
.s-page .s-door-t { flex: 1; min-width: 0; }
.s-page .s-door-t b { display: block; font-weight: 640; font-size: 0.98rem; line-height: 1.3; color: var(--s-ink); }
.s-page .s-door-t em { display: block; font-style: normal; font-size: 0.84rem; color: var(--s-accent-ink); font-weight: 600; margin-top: 2px; }
.s-page .s-door-p {
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--s-ink);
    white-space: nowrap;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.s-page .s-door-p small { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0; color: var(--s-ink-3); line-height: 1; }
@media (max-width: 960px) { .s-page .s-doors { max-width: 560px; } }
@media (max-width: 420px) {
    .s-page .s-door { gap: 10px; padding: 12px 8px; }
    .s-page .s-door .s-ico { width: 36px; height: 36px; }
    .s-page .s-door-p { font-size: 1.05rem; }
}
@media (min-width: 961px) {
    .s-page.s-pricing h1 { font-size: clamp(2.5rem, 4vw, 3.3rem); }
}

/* two build cards, larger than the three-up grid */
.s-page .s-price-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .s-page .s-price-2 { grid-template-columns: 1fr; max-width: 560px; } }
.s-page .s-price-2 .s-plan { padding: 34px 32px 30px; }
.s-page .s-price-2 .s-price { font-size: 3rem; }
.s-page .s-price-2 .s-desc { min-height: 0; font-size: 0.98rem; }
@media (max-width: 420px) {
    .s-page .s-price-2 .s-plan { padding: 28px 22px 24px; }
    .s-page .s-price-2 .s-price { font-size: 2.5rem; }
}

.s-page .s-why {
    margin-top: 22px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: clamp(22px, 3vw, 30px);
    border-radius: var(--s-radius);
    background-color: #1E3A8A;
    background-image: linear-gradient(105deg, #1E3A8A 0%, #134E6B 62%, #0F766E 100%);
    box-shadow: var(--s-shadow-lg);
}
.s-page .s-why h3 { color: #FFFFFF; font-size: 1.2rem; margin: 0 0 6px; }
.s-page .s-why p { color: rgba(255, 255, 255, 0.92); margin: 0; font-size: 1rem; line-height: 1.6; max-width: 80ch; }
@media (max-width: 640px) { .s-page .s-why { flex-direction: column; gap: 14px; } }

/* care vs assured */
.s-page .s-table-wrap {
    border: 1px solid var(--s-line);
    border-radius: 18px;
    background-color: var(--s-card);
    box-shadow: var(--s-shadow);
    overflow: hidden;
}
.s-page .s-table { width: 100%; border-collapse: collapse; margin: 0; table-layout: fixed; }
.s-page .s-table thead td { width: 44%; }
.s-page .s-table th, .s-page .s-table td { padding: 14px 20px; border: 0; border-top: 1px solid var(--s-line); background: transparent; }
.s-page .s-table thead th, .s-page .s-table thead td { border-top: 0; vertical-align: top; padding-top: 24px; padding-bottom: 20px; }
.s-page .s-table thead th { text-align: center; background-color: var(--s-bg-2); border-left: 1px solid var(--s-line); }
.s-page .s-table thead th:nth-child(2) { box-shadow: inset 0 3px 0 0 var(--s-primary); }
.s-page .s-th-name { display: block; font-size: 1.05rem; font-weight: 650; color: var(--s-ink); letter-spacing: -0.01em; }
.s-page .s-th-price { display: block; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em; color: var(--s-ink); margin-top: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-page .s-th-price small { font-size: 0.82rem; font-weight: 560; letter-spacing: 0; color: var(--s-ink-3); }
.s-page .s-th-note { display: block; font-size: 0.8rem; font-weight: 500; color: var(--s-ink-2); margin-top: 6px; line-height: 1.35; }
.s-page .s-table tbody th { text-align: left; font-weight: 520; font-size: 0.96rem; color: var(--s-ink); line-height: 1.4; }
.s-page .s-table tbody td { text-align: center; border-left: 1px solid var(--s-line); font-size: 0.88rem; color: var(--s-ink-2); }
.s-page .s-table tbody td:nth-child(2) { background-color: var(--s-bg-2); }
.s-page .s-table .sabe-icon { width: 20px; height: 20px; vertical-align: middle; stroke-width: 2.6; }
.s-page .s-table .s-yes { color: var(--s-accent-ink); }
.s-page .s-table .s-no { color: var(--s-ink-3); stroke-width: 2; }
.s-page .s-table .s-table-foot th { font-weight: 650; }
@media (max-width: 640px) {
    .s-page .s-table th, .s-page .s-table td { padding: 12px 8px; }
    .s-page .s-table thead td { width: 38%; }
    .s-page .s-table tbody th { font-size: 0.84rem; padding-left: 14px; }
    .s-page .s-th-name { font-size: 0.9rem; }
    .s-page .s-th-price { font-size: 1.02rem; white-space: normal; }
    .s-page .s-th-price small { display: block; font-size: 0.72rem; }
    .s-page .s-th-note { font-size: 0.7rem; }
    .s-page .s-table tbody td { font-size: 0.76rem; }
}

/* assurance, on the dark band */
.s-page .s-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .s-page .s-g2 { grid-template-columns: 1fr; } }
.s-page .s-assure { padding: 26px; }
.s-page .s-assure h3 { font-size: 1.2rem; }
.s-page .s-assure p { font-size: 0.96rem; }
.s-page .s-assure-price {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #FFFFFF;
    margin: 2px 0 10px;
    font-variant-numeric: tabular-nums;
}
.s-page .s-assure-price small { font-size: 0.85rem; font-weight: 560; letter-spacing: 0; color: #CBD5E1; }
.s-page .s-assure-price span { font-size: 0.9rem; font-weight: 560; letter-spacing: 0; color: #CBD5E1; white-space: nowrap; }
.s-page .s-assure-cta { margin-top: 26px; }
@media (max-width: 640px) {
    .s-page .s-assure { display: block; }
    .s-page .s-assure h3 { margin-top: 14px; }
    .s-page .s-assure-cta { width: 100%; }
}

.s-page .s-fit-even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .s-page .s-fit-even { grid-template-columns: 1fr; } }
.s-page .s-fit-even .s-fit-no .sabe-icon { color: var(--s-ink-3); stroke-width: 2; }
.s-page .s-fit-even .s-fit-yes .sabe-icon { stroke-width: 2; }

.s-page .s-line-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-page .s-tint .s-line-n { background: var(--s-bg-2); }
@media (max-width: 860px) { .s-page .s-line-3 { grid-template-columns: 1fr; } }
