/* Insurance Hub — brand stylesheet
   Palette: deep trust blue (regulation/credibility) + teal (action/savings)
   Formula shared with nutrisize.health: white canvas, pastel radial hero,
   heavy ink headlines, pill kickers, white cards with tinted hairlines. */

:root {
    --blue-900: #0a2e5c;
    --blue-700: #0e4c8c;
    --blue-600: #1268b3;
    --blue-100: #e5f0fa;
    --teal-700: #0b6e5c;
    --teal-600: #0d8a72;
    --teal-100: #e0f5ef;
    --amber-600: #b45309;
    --amber-500: #d97706;
    --red-500: #dc2626;
    --ink: #101d2e;
    --ink-soft: #3f5166;
    --ink-faint: #6e8095;
    --paper: #ffffff;
    --paper-tint: #f3f8fc;
    --line: #dbe7f2;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(10, 46, 92, 0.08);
    --maxw: 1100px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 74px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.sr-only, .skip {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus {
    position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto;
    clip: auto; background: var(--blue-900); color: #fff; padding: 10px 16px;
    border-radius: 8px; text-decoration: none;
}

/* ---------- Navigation ---------- */

nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 17px; color: var(--blue-900);
    letter-spacing: -0.02em; text-decoration: none;
}
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
    color: var(--ink-soft); font-size: 15px; font-weight: 500;
    text-decoration: none; padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { color: var(--blue-700); }
.nav-links .nav-cta {
    background: var(--teal-600); color: #fff; font-weight: 600;
    padding: 8px 18px; border-radius: 999px; margin-left: 10px;
}
.nav-links .nav-cta:hover { background: var(--teal-700); color: #fff; }

.menu-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 10px; cursor: pointer;
}
.menu-btn span:not(.sr-only) {
    width: 22px; height: 2px; background: var(--blue-900); border-radius: 2px; display: block;
}

/* ---------- Hero ---------- */

.hero {
    background:
        radial-gradient(1000px 500px at 85% -10%, var(--blue-100) 0%, transparent 60%),
        radial-gradient(900px 500px at 10% 110%, var(--teal-100) 0%, transparent 60%),
        var(--paper-tint);
    padding: 84px 0 72px;
    text-align: center;
}

.kicker {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--teal-700);
    background: var(--teal-100); border-radius: 999px; padding: 4px 14px; margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(34px, 5.5vw, 56px);
    font-weight: 900; letter-spacing: -0.03em; line-height: 1.12;
    color: var(--blue-900);
}
.hero h1 .accent { color: var(--teal-600); }

.hero .tagline {
    margin-top: 14px; font-size: clamp(17px, 2.4vw, 21px);
    font-weight: 600; color: var(--blue-700);
}

.hero .lede {
    margin: 20px auto 0; max-width: 720px;
    font-size: 17px; color: var(--ink-soft);
}

.cta-row {
    margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center; align-items: center;
}

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 26px; border-radius: 12px;
    font-weight: 700; font-size: 15.5px; text-decoration: none;
    transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: 0 6px 18px rgba(13,138,114,.28); }
.btn-primary:hover { background: var(--teal-700); }
.btn-ghost { background: #fff; color: var(--blue-900); border: 2px solid var(--blue-100); }
.btn-ghost:hover { border-color: var(--blue-600); }

.soon {
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    background: rgba(255,255,255,.22); padding: 3px 8px; border-radius: 999px;
}

/* Hero proof mockup */

.phone {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px; padding: 22px;
    box-shadow: 0 12px 34px rgba(10, 46, 92, 0.14);
    max-width: 430px; margin: 44px auto 0;
    text-align: left;
}

.phone-top {
    display: flex; justify-content: space-between; align-items: center;
    gap: 8px; margin-bottom: 16px; flex-wrap: wrap;
}
.phone-title { font-weight: 700; font-size: 14px; color: var(--blue-900); }

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.chip-live { background: var(--teal-100); color: var(--teal-700); }
.pulse {
    width: 7px; height: 7px; border-radius: 50%; background: var(--teal-600);
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(13,138,114,.4); }
    70% { box-shadow: 0 0 0 7px rgba(13,138,114,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,138,114,0); }
}

.quote-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: 12px; padding: 13px 16px; margin-bottom: 10px;
}
.quote-card.best {
    border: 1.5px solid var(--teal-600);
    background: linear-gradient(180deg, #fff, var(--teal-100));
}
.q-rank {
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--teal-700); margin-bottom: 4px;
}
.q-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.q-carrier { font-weight: 700; color: var(--ink); }
.q-price { font-weight: 800; font-size: 18px; color: var(--blue-900); font-variant-numeric: tabular-nums; }
.q-price .per { font-size: 12px; font-weight: 500; color: var(--ink-faint); }
.q-src { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }

.phone-note { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 14px; }

.hero-points {
    list-style: none; margin-top: 30px;
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.hero-points li {
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 18px 8px 38px; font-size: 14px; font-weight: 500; color: var(--ink-soft);
    position: relative;
}
.hero-points li::before {
    content: ""; position: absolute; left: 15px; top: 50%; margin-top: -8px;
    width: 16px; height: 16px;
    background: no-repeat center / contain
      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 8.5 6.5 12 13 4.5" fill="none" stroke="%230d8a72" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* ---------- Sources strip ---------- */

.sources { background: #fff; padding: 30px 0 38px; border-bottom: 1px solid var(--line); }
.sources-label {
    text-align: center; color: var(--ink-faint); font-size: 13px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px;
}
.source-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.source-chips li {
    background: var(--blue-100); color: var(--blue-700);
    border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 14px;
}

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.section.tint { background: var(--paper-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto; }

.eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--teal-700);
    background: var(--teal-100); border-radius: 999px; padding: 4px 14px; margin-bottom: 14px;
}
.eyebrow-light { color: #bdf0d8; background: rgba(255,255,255,.12); }

h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800; letter-spacing: -0.02em; line-height: 1.18;
    color: var(--blue-900); margin-bottom: 12px;
}

h3 { font-size: 18px; font-weight: 700; color: var(--blue-900); line-height: 1.35; }

.section-lede { color: var(--ink-soft); font-size: 16.5px; }
.lede-light { color: #d4e4f5; }

/* Domains */

.domain-grid {
    list-style: none; margin-top: 44px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px;
}
.domain-grid li {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 24px;
    transition: transform .18s, box-shadow .18s;
}
.domain-grid li:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(10,46,92,.13); }
.d-ico {
    width: 46px; height: 46px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; font-size: 22px;
    background: var(--teal-100); margin-bottom: 14px;
}
.domain-grid li:nth-child(even) .d-ico { background: var(--blue-100); }
.domain-grid h3 { margin-bottom: 5px; }
.domain-grid p { font-size: 14.5px; color: var(--ink-soft); }
.domain-grid .card-link { display: block; margin: -24px; padding: 24px; color: inherit; text-decoration: none; border-radius: var(--radius); }
.domain-grid .go { color: var(--teal-600); font-weight: 800; }
.domain-grid .try { display: block; margin-top: 6px; font-size: 13px; color: var(--teal-700); }

/* Steps */

.steps {
    list-style: none; margin-top: 44px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.steps li {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 26px 24px;
}
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--blue-100); color: var(--blue-700); font-weight: 800; font-size: 15px;
    margin-bottom: 14px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 14.5px; color: var(--ink-soft); }

.fineprint {
    margin: 30px auto 0; font-size: 14.5px; color: var(--ink-soft); max-width: 760px;
    background: var(--blue-100); border: 1px solid #cbe1f5; border-radius: var(--radius);
    padding: 16px 20px; text-align: center;
}

/* Versus */

.versus {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px; margin-top: 44px;
}
.v-col { border-radius: 20px; padding: 32px 30px; }
.v-col h3 { margin-bottom: 18px; font-size: 19px; }
.v-col ul { list-style: none; display: grid; gap: 13px; }
.v-col li { padding-left: 30px; position: relative; font-size: 15px; }
.v-col li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
    background: no-repeat center / contain;
}
.v-them { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.v-them li { color: var(--ink-soft); }
.v-them li::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="M5 5l8 8M13 5l-8 8" stroke="%23dc2626" stroke-width="2" stroke-linecap="round"/></svg>');
}
.v-us { background: linear-gradient(120deg, var(--blue-900), var(--teal-700)); }
.v-us h3 { color: #fff; }
.v-us li { color: #eaf7f2; }
.v-us li::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="M4 9.5 7.5 13 14 5.5" fill="none" stroke="%23bdf0d8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* Learn */

.learn-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px; margin-top: 44px;
}
.learn-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 28px 26px;
    display: flex; flex-direction: column; gap: 10px;
}
.learn-card p { font-size: 14.5px; color: var(--ink-soft); }
.card-status {
    margin-top: auto; font-size: 12px !important; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase; color: var(--amber-600) !important;
}

/* Apps band */

.apps-band { padding: 76px 0; }
.apps-band .wrap.apps-grid {
    background: linear-gradient(120deg, var(--blue-900), var(--teal-700));
    border-radius: 24px; padding: clamp(36px, 5vw, 60px);
    max-width: calc(var(--maxw) - 48px);
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(32px, 5vw, 64px); align-items: center;
}
.apps-band h2 { color: #fff; }
.apps-grid .cta-row { margin-top: 26px; justify-content: flex-start; }

.store-pill {
    display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,.4); color: #fff;
    font-weight: 600; font-size: 14.5px; background: rgba(255,255,255,.08);
}

.apps-points { list-style: none; display: grid; gap: 14px; }
.apps-points li {
    color: #d4e4f5; font-size: 14.5px; padding: 15px 18px 15px 46px; position: relative;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
}
.apps-points strong { color: #fff; display: block; margin-bottom: 2px; font-size: 15px; }
.apps-points li::before {
    content: ""; position: absolute; left: 16px; top: 19px; width: 18px; height: 18px;
    background: no-repeat center / contain
      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="M4 9.5 7.5 13 14 5.5" fill="none" stroke="%23bdf0d8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* ---------- Footer ---------- */

footer { background: #0b3d2e; color: #cfe6db; padding: 52px 0 30px; font-size: 14px; }

.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.brand-foot { font-size: 16px; color: #fff; }
.brand-foot img { filter: brightness(1.9); }
.foot-brand p { color: #9dc4b3; font-size: 13.5px; margin-top: 12px; max-width: 30ch; }
.foot-col h4 {
    color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 14px;
}
.foot-col a {
    display: block; color: #eaf7f0; text-decoration: none; font-size: 14px; padding: 4px 0;
}
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-note { color: #9dc4b3; font-size: 13px; margin-bottom: 10px; }

.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); text-align: center; }
.foot-legal p { color: #86ab99; font-size: 13px; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .pulse { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .apps-band .wrap.apps-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .menu-btn { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; padding: 12px 16px 18px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 32px rgba(10,46,92,.14);
    }
    .nav-links.show { display: flex; }
    .nav-links a { padding: 12px 14px; font-size: 16px; }
    .nav-links .nav-cta { margin: 8px 0 0; text-align: center; justify-content: center; }
    .cta-row .btn { flex: 1 1 auto; justify-content: center; }
    .hero { padding: 60px 0 56px; }
    .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}
