/* ============================================================
   Car Broker Network - marketing design system
   Aesthetic: premium accreditation board / trust seal
   Palette: light blue + yellow + white
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Archivo:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* light blue scale */
  --blue-50:  #f3f8ff;
  --blue-100: #e3eefc;
  --blue-200: #c4ddf8;
  --blue-300: #93c2f0;
  --blue-400: #5aa0e3;
  --blue-500: #2f7fd1;
  --blue-600: #1f63ab;
  --blue-700: #184e88;
  --blue-800: #143e6b;
  /* yellow accent */
  --yellow:      #ffd23f;
  --yellow-soft: #fff4cc;
  --yellow-deep: #e0a800;
  /* neutrals */
  --white:    #ffffff;
  --paper:    #f6faff;
  --paper-2:  #eef5fe;
  --ink:      #122035;
  --ink-soft: #4a5d77;
  --line:     #d9e6f6;
  --line-soft: rgba(31,99,171,.16);
  --on-dark:  #eaf2fc;
  --on-dark-soft: #b6cbe6;
  --shadow:   0 24px 60px -28px rgba(20,62,107,.45);
  --shadow-sm: 0 12px 30px -18px rgba(20,62,107,.4);
  --radius:   16px;
  --maxw:     1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.mono { font-family: 'IBM Plex Mono', monospace; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .74rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue-600); font-weight: 600;
}
.section { padding: 96px 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: 52px; }
.section__head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 18px; color: var(--blue-800); }
.section__head p { font-size: 1.12rem; color: var(--ink-soft); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: 'Archivo', sans-serif; font-weight: 600; font-size: .98rem;
  padding: .92em 1.5em; border-radius: 11px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }
/* primary solid */
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 14px 28px -14px rgba(24,78,136,.75); }
.btn--primary:hover { background: var(--blue-700); }
/* yellow accent (dark text on yellow fill) */
.btn--accent { background: var(--yellow); color: var(--ink); box-shadow: 0 14px 28px -14px rgba(224,168,0,.6); }
.btn--accent:hover { background: var(--yellow-deep); color: #2a2204; }
/* outline secondary on light bg */
.btn--outline { background: transparent; color: var(--blue-700); border-color: var(--blue-300); }
.btn--outline:hover { background: var(--blue-50); border-color: var(--blue-500); }
/* ghost (on dark bg) */
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.42); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.05rem; }

/* ---------- top utility bar ---------- */
.util {
  background: var(--blue-800); color: var(--on-dark-soft);
  font-size: .8rem; letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,210,63,.22);
}
.util .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 18px; }
.util__left { display: flex; align-items: center; gap: 10px; }
.util__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,210,63,.25); }
.util a { color: var(--yellow); font-weight: 600; }
.util a:hover { color: #fff; }
.util__right { display: flex; gap: 20px; align-items: center; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { box-shadow: 0 10px 30px -20px rgba(20,62,107,.4); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__seal { height: 46px; width: auto; flex: none; object-fit: contain; }
.brand__name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.18rem; color: var(--blue-800); letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
.brand__name span { display: block; font-family: 'IBM Plex Mono', monospace; font-size: .58rem; letter-spacing: .24em; color: var(--blue-600); margin-top: 4px; font-weight: 500; }
.nav__menu { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 20px; margin-left: 22px; }
.nav__links { display: flex; gap: 13px; align-items: center; }
.nav__links a { font-size: .87rem; color: var(--ink-soft); font-weight: 500; white-space: nowrap; transition: color .15s; }
.nav__links a:hover { color: var(--blue-700); }
.nav__cta { display: flex; gap: 9px; align-items: center; flex: none; }
.nav__cta .btn { padding: .68em 1.05em; font-size: .88rem; }
.nav__toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(170deg, var(--blue-50), var(--blue-100) 60%, var(--blue-200)); color: var(--ink); overflow: hidden; }
.hero::before { /* soft trust texture */
  content: ""; position: absolute; inset: 0; opacity: .7; pointer-events: none; z-index: 1;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,210,63,.16), transparent 42%),
    radial-gradient(circle at 18% 88%, rgba(47,127,209,.12), transparent 50%),
    repeating-radial-gradient(circle at 80% 20%, rgba(31,99,171,.05) 0 1px, transparent 1px 16px);
}
/* photographic hero backdrop (video, with poster/static fallback) */
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
/* legibility scrim: keeps the left bright for dark Fraunces text, lets the photo breathe on the right/bottom */
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(243,248,255,.96) 0%, rgba(243,248,255,.9) 30%, rgba(227,238,252,.72) 56%, rgba(196,221,248,.42) 100%),
    linear-gradient(to top, rgba(243,248,255,.85), rgba(243,248,255,0) 38%);
}
.hero .wrap { position: relative; z-index: 3; padding-top: 70px; padding-bottom: 88px; }
.hero__row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-top: 14px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--blue-300); background: rgba(255,255,255,.6); border-radius: 100px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--blue-800); margin-bottom: 16px; line-height: 1.08; max-width: 20ch; }
.hero h1 em { font-style: italic; color: var(--blue-600); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .04em; height: .28em; background: var(--yellow); opacity: .55; z-index: -1; border-radius: 4px; }
.hero__sub { font-size: 1.2rem; color: var(--ink-soft); max-width: 33em; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__trust { display: inline-flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--blue-700); font-weight: 500; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; }
.hero__trust svg { color: var(--blue-600); flex: none; }

/* hero seal art */
.hero__art { display: flex; justify-content: center; align-items: center; }
.sealwrap { position: relative; width: min(380px, 80vw); aspect-ratio: 1; filter: drop-shadow(0 30px 50px rgba(20,62,107,.25)); }
.sealwrap .ring { position: absolute; inset: 0; animation: spin 50s linear infinite; }
.sealwrap .ring--rev { animation-direction: reverse; animation-duration: 70s; inset: 14%; opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }
.sealwrap .core { position: absolute; inset: 26%; display: grid; place-items: center; text-align: center;
  border-radius: 50%; background: radial-gradient(circle at 38% 30%, var(--blue-500), var(--blue-700)); box-shadow: inset 0 0 0 5px rgba(255,210,63,.5); }

/* staggered entrance */
.rise { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .27s; }
.d4 { animation-delay: .38s; } .d5 { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- credential strip ---------- */
.creds { background: var(--blue-800); color: var(--on-dark); }
.creds .wrap { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; align-items: center; padding: 22px 24px; }
.creds span { font-family: 'IBM Plex Mono', monospace; font-size: .82rem; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 9px; }
.creds span::before { content: ""; width: 7px; height: 7px; background: var(--yellow); transform: rotate(45deg); }

/* ---------- generic 3-card grid ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-300); }
/* optional photo at the top of a card (sits inside the rounded corners) */
.card--photo { padding: 0; overflow: hidden; }
.card--photo .card__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--line); }
.card--photo .card__body { padding: 26px 26px 30px; }
.card--photo .card__ic { margin-top: -44px; position: relative; box-shadow: 0 8px 20px -10px rgba(20,62,107,.5); }
.card__ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); margin-bottom: 18px; }
.card__ic--accent { background: var(--yellow-soft); color: var(--yellow-deep); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--blue-800); }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- honest guarantees grid (review slot) ---------- */
.guarantees { background: var(--paper); }
.card--num .card__num { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--blue-600); }
.card--guarantee { border-top: 4px solid var(--yellow); }

/* ---------- pain-point trio ---------- */
.pain { background: #fff; position: relative; overflow: hidden; }
.pain .card { background: var(--paper); }
.pain .card__ic { background: var(--blue-800); color: var(--yellow); }

/* ---------- faint photo backdrop for light sections ---------- */
/* image sits at low opacity behind a strong paper wash so dark text stays crisp (WCAG safe) */
.section--photo-soft { position: relative; overflow: hidden; }
.section--photo-soft .sec__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.section--photo-soft .sec__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.section--photo-soft::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(246,250,255,.86) 0%, rgba(246,250,255,.78) 42%, rgba(238,245,254,.84) 100%); }
.section--photo-soft .wrap { position: relative; z-index: 2; }
/* white-based section (pain) wants a slightly whiter wash than the paper-based one */
.pain.section--photo-soft::after {
  background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.8) 44%, rgba(243,248,255,.86) 100%); }

/* ---------- alternating color bands ---------- */
.band { position: relative; overflow: hidden; }
/* photographic backdrop for a blue band: image sits under the gradient at low opacity */
.band--photo .band__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.band--photo .band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.band--photo.band--blue::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(165deg, rgba(24,78,136,.82), rgba(20,62,107,.92)); }
.band--blue { background: linear-gradient(165deg, var(--blue-700), var(--blue-800)); color: var(--on-dark); }
.band--blue .section__head h2 { color: #fff; }
.band--blue .section__head p { color: var(--on-dark-soft); }
.band--blue .eyebrow { color: var(--yellow); }
.band--blue::before { content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background: repeating-radial-gradient(circle at 12% 120%, rgba(255,210,63,.06) 0 1px, transparent 1px 22px); }
.band--soft { background: var(--yellow-soft); color: var(--ink); }
.band--soft .section__head h2 { color: var(--blue-800); }
.band .wrap { position: relative; z-index: 2; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 8px; }
.feature__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.feature h4 { font-family: 'Fraunces', serif; font-size: 1.18rem; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: .95rem; line-height: 1.55; }
/* on blue band */
.band--blue .feature__ic { background: rgba(255,255,255,.1); color: var(--yellow); }
.band--blue .feature h4 { color: #fff; }
.band--blue .feature p { color: var(--on-dark-soft); }
/* on soft yellow band */
.band--soft .feature__ic { background: var(--blue-100); color: var(--blue-700); }
.band--soft .feature h4 { color: var(--blue-800); }
.band--soft .feature p { color: var(--ink-soft); }

/* ---------- the standard (checklist) ---------- */
.standard { background: var(--paper-2); }
.standard__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: start; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--yellow); border-radius: 10px; }
.checklist li svg { color: var(--blue-600); flex: none; margin-top: 2px; }
.checklist b { color: var(--blue-800); font-family: 'Archivo'; font-weight: 600; }
.checklist small { display: block; color: var(--ink-soft); font-size: .88rem; margin-top: 3px; }

/* ---------- process tracks ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.track { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.track--broker { border-top: 4px solid var(--blue-500); }
.track--dealer { border-top: 4px solid var(--yellow); }
.track h3 { font-size: 1.55rem; color: var(--blue-800); margin-bottom: 6px; }
.track__tag { font-family: 'IBM Plex Mono'; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.steps { list-style: none; counter-reset: s; margin-top: 24px; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: 'IBM Plex Mono'; font-weight: 600; font-size: .85rem; color: var(--blue-700); border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; flex: none; background: var(--blue-50); }
.steps b { color: var(--blue-800); }
.steps p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- 3-step flow (Apply -> Verify -> Access) ---------- */
.flow { background: var(--paper); }
.flowline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 980px; margin: 0 auto; }
.flowline::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--blue-300), var(--yellow), var(--blue-300)); z-index: 0; }
.flowstep { position: relative; z-index: 1; text-align: center; }
.flowstep__badge { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue-500); color: var(--blue-600); box-shadow: var(--shadow-sm); }
.flowstep__badge svg { color: var(--blue-600); }
.flowstep h3 { font-size: 1.32rem; color: var(--blue-800); margin-bottom: 8px; }
.flowstep p { color: var(--ink-soft); font-size: .96rem; max-width: 24em; margin: 0 auto; }
.flowstep__n { font-family: 'IBM Plex Mono'; font-size: .72rem; letter-spacing: .2em; color: var(--blue-600); display: block; margin-bottom: 8px; text-transform: uppercase; }

/* ---------- centered mission/principle statement ---------- */
.mission { background: var(--white); text-align: center; }
.mission .wrap { max-width: 860px; }
.mission__mark { color: var(--ink); background: var(--yellow); width: 64px; height: 64px; padding: 16px; border-radius: 50%; margin: 0 auto 24px; box-shadow: 0 14px 30px -16px rgba(224,168,0,.7); }
.mission p.lead { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.3; color: var(--blue-800); letter-spacing: -.01em; }
.mission .attrib { margin-top: 22px; font-family: 'IBM Plex Mono'; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-600); }

/* ---------- two-strike rule ---------- */
.rule { background: linear-gradient(165deg, var(--blue-800), #0f3158); color: var(--on-dark); text-align: center; position: relative; overflow: hidden; }
.rule::before { content:""; position:absolute; inset:0; z-index:1; opacity:.5; pointer-events:none;
  background: repeating-radial-gradient(circle at 50% -30%, rgba(255,210,63,.06) 0 1px, transparent 1px 24px); }
.rule .wrap { position: relative; z-index: 2; }
.rule .section__head { margin-left: auto; margin-right: auto; }
.rule .section__head h2 { color: #fff; }
.rule .section__head p { color: var(--on-dark-soft); }
.rule .eyebrow { color: var(--yellow); }
.strikeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; max-width: 920px; margin: 12px auto 0; }
.strike { background: rgba(255,255,255,.06); border: 1px solid rgba(255,210,63,.25); border-radius: var(--radius); padding: 26px 20px; }
.strike .num { font-family: 'Fraunces'; font-size: 2.4rem; color: var(--yellow); line-height: 1; }
.strike h4 { font-family: 'Archivo'; font-size: 1.05rem; margin: 8px 0 6px; color: #fff; }
.strike p { font-size: .88rem; color: var(--on-dark-soft); }
.strike--out { background: linear-gradient(160deg, rgba(220,38,38,.26), rgba(127,29,29,.16)); border-color: rgba(248,113,113,.62); }
.strike--out .num { color: #ff6b6b; }
.arrow { color: var(--yellow); font-size: 1.5rem; }

/* ---------- darkened photo backdrop for dark bands (rule + final) ---------- */
/* photo sits at z0 under a heavy blue scrim at z1; gradient background stays as a base color.
   keeps white headlines and yellow accents fully legible (WCAG safe). */
.band-dark__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.band-dark__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.rule .band-dark__bg img { object-position: center 42%; }
.final .band-dark__bg img { object-position: center 60%; }
/* scrim layer that carries the brand gradient over the photo */
.rule .band-dark__scrim { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(165deg, rgba(20,62,107,.82), rgba(15,49,88,.92)); }
.final .band-dark__scrim { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(120deg, rgba(31,99,171,.82), rgba(20,62,107,.93)); }

/* ---------- pricing ---------- */
.pricing { background: var(--paper); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 920px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 38px 34px; position: relative; box-shadow: var(--shadow-sm); }
.plan--feature { border: 2px solid var(--yellow); box-shadow: var(--shadow); }
.plan__flag { position: absolute; top: -13px; left: 34px; background: var(--yellow); color: var(--ink); font-family: 'IBM Plex Mono'; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 6px; font-weight: 600; }
.plan__flag--blue { background: var(--blue-600); color: #fff; }
.plan h3 { font-size: 1.5rem; color: var(--blue-800); }
.plan__price { font-family: 'Fraunces'; font-size: 3rem; color: var(--blue-800); margin: 8px 0 2px; }
.plan__price small { font-family: 'Archivo'; font-size: 1rem; color: var(--ink-soft); font-weight: 500; }
.plan__who { color: var(--ink-soft); margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; }
.plan li svg { color: var(--blue-600); flex: none; margin-top: 3px; }
.plan .btn { width: 100%; justify-content: center; }

/* ---------- faq ---------- */
.faq { background: var(--paper-2); }
.faq__grid { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
details.qa { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; }
details.qa summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: 'Fraunces'; font-size: 1.12rem; color: var(--blue-800); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font-family: 'IBM Plex Mono'; color: var(--blue-500); font-size: 1.4rem; transition: transform .2s; }
details.qa[open] summary::after { transform: rotate(45deg); color: var(--yellow-deep); }
details.qa summary:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
details.qa p { padding: 0 0 20px; color: var(--ink-soft); }

/* ---------- final cta (gradient band) ---------- */
.final { background: linear-gradient(120deg, var(--blue-600), var(--blue-800)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final::before { content:""; position:absolute; inset:0; z-index:1; opacity:.6; pointer-events:none;
  background: radial-gradient(circle at 50% -20%, rgba(255,210,63,.18), transparent 55%),
    repeating-radial-gradient(circle at 50% -40%, rgba(255,210,63,.06) 0 1px, transparent 1px 26px); }
.final .wrap { position: relative; z-index: 2; }
.final h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 16px; color: #fff; }
.final p { color: var(--on-dark); max-width: 38em; margin: 0 auto 30px; font-size: 1.12rem; }
.final .hero__cta { justify-content: center; }

/* ---------- footer ---------- */
.foot { background: var(--blue-800); color: var(--on-dark-soft); font-size: .92rem; padding: 64px 0 30px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.foot h5 { font-family: 'IBM Plex Mono'; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a:hover { color: #fff; }
.foot__brand p { margin-top: 14px; max-width: 30em; }
.foot .brand__name span { color: var(--blue-200); }
.foot__legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--on-dark-soft); }
.foot__disclaim { max-width: 60em; margin-top: 10px; font-size: .8rem; color: #9bb4d4; }

/* ---------- scroll reveal (progressive enhancement: visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rise { animation: none; opacity: 1; transform: none; }
  .sealwrap .ring { animation: none; }
  html { scroll-behavior: auto; }
  /* hide the moving hero video, fall back to the static poster underneath */
  .hero__media video { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero__row { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { white-space: normal; font-size: clamp(2rem, 7vw, 2.9rem); }
  .hero__art { order: -1; }
  .sealwrap { width: min(280px, 70vw); }
  /* on mobile the photo reads as a soft texture; strengthen the scrim so stacked content stays crisp */
  .hero__media img, .hero__media video { object-position: center 30%; }
  .hero__scrim { background:
    linear-gradient(180deg, rgba(243,248,255,.9) 0%, rgba(243,248,255,.82) 45%, rgba(227,238,252,.8) 100%); }
  .cards3, .standard__grid, .tracks, .plans, .foot__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .flowline { grid-template-columns: 1fr; gap: 30px; }
  .flowline::before { display: none; }
  .strikeline { grid-template-columns: 1fr; }
  .strikeline .arrow { transform: rotate(90deg); }
}

/* Nav collapses to the hamburger earlier than the rest of the layout. The full
   horizontal nav (5 links + 2 CTAs) only fits once the wrap reaches its 1180px
   cap, so below that we switch to the dropdown menu. Layout rules stay at 920px. */
@media (max-width: 1180px) {
  .util-hide { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav .wrap { gap: 12px; }
  .nav__menu { display: none; }
  .nav.open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; gap: 14px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px; box-shadow: 0 26px 44px -28px rgba(20,62,107,.55);
  }
  .nav.open .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.open .nav__links a { padding: 13px 2px; font-size: 1.02rem; border-bottom: 1px solid var(--line-soft); }
  .nav.open .nav__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 6px; }
  .nav.open .nav__cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .features { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .brand__name { font-size: 1.05rem; }
  .brand__seal { height: 40px; }
}

/* ===== app shell (auth + dashboards) ===== */
.app { background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
.appbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.appbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.appbar__nav { display: flex; align-items: center; gap: 18px; }
/* :not(.btn) so button links (Apply, Log out) keep their own text color
   instead of inheriting the muted nav-link color over a filled background. */
.appbar__nav a:not(.btn) { color: var(--ink-soft); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.appbar__nav a:not(.btn):hover { color: var(--blue-700); }
.appmain { flex: 1; padding: 40px 0 64px; }
.appfoot { background: var(--blue-800); color: var(--on-dark-soft); font-size: .82rem; padding: 22px 0; }
.appfoot .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.appfoot__d { color: #9bb4d4; }

.flashes { margin-bottom: 22px; display: grid; gap: 10px; }
.flash { padding: 12px 16px; border-radius: 10px; font-size: .95rem; border: 1px solid; }
.flash-success { background: #e7f6ee; border-color: #add9c0; color: #0f7546; }
.flash-error { background: #fde8e8; border-color: #f3b6b6; color: #b42318; }
.flash-warning { background: var(--yellow-soft); border-color: #f0d480; color: #7a5a00; }

.muted { color: var(--ink-soft); }
.authwrap { max-width: 460px; margin: 10px auto; }
.authwrap--wide { max-width: 760px; }
.authcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 34px; box-shadow: var(--shadow-sm); }
.authcard h1 { font-size: 1.8rem; color: var(--blue-800); margin-bottom: 6px; }
.authcard form { margin-top: 22px; }
.field { margin-bottom: 16px; }
.flabel { display: block; font-size: .85rem; font-weight: 600; color: var(--blue-800); margin-bottom: 6px; }
.input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.input:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(90,160,227,.25); }
.hint { display: block; color: var(--ink-soft); font-size: .8rem; margin-top: 5px; }
.err { display: block; color: #b42318; font-size: .8rem; margin-top: 5px; }
.field--err .input { border-color: #e6a2a2; }
.check { margin: 6px 0 16px; }
.check__row { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink); cursor: pointer; }
.check__row input { margin-top: 3px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.formsec { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-600); margin: 8px 0 14px; font-family: 'IBM Plex Mono', monospace; border-top: 1px solid var(--line); padding-top: 18px; }
.btn--block { width: 100%; justify-content: center; margin-top: 8px; }
.authalt { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--ink-soft); }
.authalt a { color: var(--blue-600); font-weight: 600; }

/* dashboards */
.dash h1 { font-size: 1.9rem; color: var(--blue-800); margin-bottom: 4px; }
.dash__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.tile h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-family: 'IBM Plex Mono', monospace; margin-bottom: 10px; }
.tile .big { font-size: 1.5rem; color: var(--blue-800); font-family: 'Fraunces', serif; }
.statpill { display: inline-block; padding: 5px 13px; border-radius: 100px; font-size: .82rem; font-weight: 600; }
.statpill--active { background: #e7f6ee; color: #0f7546; }
.statpill--pending { background: var(--yellow-soft); color: #7a5a00; }
.statpill--suspended { background: #fde8e8; color: #b42318; }
@media (max-width: 560px){ .grid2 { grid-template-columns: 1fr; } .appbar__nav { gap: 12px; } }
