/* =========================================================
   You the Jury — Design System
   Friendly B2C panel: crimson + gold on ink
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  /* Dark base — deep warm ink */
  --navy-950: #17141f;
  --navy-900: #221c2c;
  --navy-800: #2f2738;
  --navy-700: #be123c;
  /* Primary — crimson */
  --indigo-600: #e11d48;
  --indigo-500: #f43f5e;
  --indigo-50: #fff1f3;

  /* Reward / earn / success — gold */
  --green-600: #b8860b;
  --green-500: #ec9f12;
  --green-400: #fbbf24;
  --green-50: #fdf3da;

  /* Premium gold (stars, tiers, focus-group) */
  --gold-600: #c98a14;
  --gold-500: #f0a91e;
  --gold-400: #ffc24d;
  --gold-50: #fff6e3;

  /* Neutrals — warm */
  --ink: #211b29;
  --slate-700: #4f4654;
  --slate-500: #756a78;
  --slate-400: #a097a2;
  --line: #ece5e0;
  --line-soft: #f3eee9;
  --bg: #ffffff;
  --bg-soft: #faf6f0;
  --bg-tint: #f6efe6;
  --white: #ffffff;

  /* Effects */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(33, 27, 41, .06), 0 1px 3px rgba(33, 27, 41, .04);
  --shadow: 0 8px 24px rgba(33, 27, 41, .09);
  --shadow-lg: 0 24px 60px rgba(33, 27, 41, .15);
  --shadow-glow: 0 18px 50px rgba(225, 29, 72, .32);

  --maxw: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--indigo-600);
  background: var(--indigo-50);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow--green { color: var(--green-600); background: var(--green-50); }
.eyebrow--gold { color: var(--gold-600); background: var(--gold-50); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.h-section { font-size: clamp(30px, 4.4vw, 46px); }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--slate-500); max-width: 620px; }
.center .lede { margin-left: auto; margin-right: auto; }

.section-head { max-width: 680px; margin: 0 auto 56px; }
.section-head .lede { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600) 55%, #be123c);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px rgba(225, 29, 72, .45); }
.btn--dark { color: #fff; background: var(--navy-900); box-shadow: var(--shadow); }
.btn--dark:hover { transform: translateY(-2px); background: var(--navy-800); }
.btn--ghost { color: var(--ink); background: #fff; border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--slate-400); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy-900); box-shadow: var(--shadow); }
.btn--white:hover { transform: translateY(-2px); }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(33, 27, 41, .06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { width: 32px; height: 36px; flex: none; }
.brand__word { font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
.brand__word span { color: var(--indigo-600); }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-weight: 600; font-size: 15px; color: var(--slate-700); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__login { font-weight: 700; font-size: 15px; color: var(--ink); }
.nav__login:hover { color: var(--indigo-600); }
.btn--sm { padding: 11px 20px; font-size: 15px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 90px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 480px at 88% -8%, var(--indigo-50), transparent 60%),
    radial-gradient(720px 420px at -5% 8%, var(--green-50), transparent 58%),
    linear-gradient(180deg, #fff, var(--bg-soft));
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 56px; align-items: center;
}
.hero__copy, .hero__visual { min-width: 0; }
.hero__visual, .mock { max-width: 100%; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; margin: 22px 0 0;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--indigo-600), #f43f5e 50%, var(--gold-500));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__sub { font-size: clamp(17px, 2vw, 20px); color: var(--slate-500); margin: 22px 0 32px; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 38px; height: 38px; border-radius: 50%; margin-left: -10px;
  border: 2.5px solid #fff; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; box-shadow: var(--shadow-sm);
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__trust-text { font-size: 14px; color: var(--slate-500); font-weight: 500; }
.hero__trust-text b { color: var(--ink); font-weight: 700; }
.stars { color: var(--gold-500); letter-spacing: 2px; font-size: 14px; }

/* Hero visual: case-review app mockup */
.mock {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 22px; transform: rotate(.4deg);
}
.mock::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); pointer-events: none;
}
.mock__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock__tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--indigo-600); background: var(--indigo-50); padding: 6px 12px; border-radius: 999px; }
.mock__pay { font-size: 13px; font-weight: 800; color: var(--green-600); background: var(--green-50); padding: 6px 12px; border-radius: 999px; }
.mock__case {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--bg-soft);
}
.mock__case h4 { font-size: 16px; margin-bottom: 6px; }
.mock__case p { font-size: 13.5px; color: var(--slate-500); }
.mock__bar { height: 8px; background: var(--line); border-radius: 99px; margin: 16px 0 6px; overflow: hidden; }
.mock__bar i { display: block; height: 100%; width: 64%; border-radius: 99px; background: linear-gradient(90deg, var(--green-400), var(--green-500)); }
.mock__meta { font-size: 12px; color: var(--slate-400); font-weight: 600; }
.mock__q { margin-top: 16px; font-weight: 700; font-size: 14.5px; }
.mock__opts { display: grid; gap: 10px; margin-top: 12px; }
.mock__opt { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--slate-700); transition: .2s; }
.mock__opt i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.mock__opt.is-on { border-color: var(--green-500); background: var(--green-50); color: var(--ink); }
.mock__opt.is-on i { border-color: var(--green-500); background: var(--green-500); box-shadow: inset 0 0 0 3px #fff; }
.mock__submit { margin-top: 16px; }

.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 13px 16px; display: flex; align-items: center; gap: 12px;
}
.float-card .fc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card b { font-size: 15px; display: block; }
.float-card small { font-size: 12px; color: var(--slate-500); }
.float-card--pay { right: -22px; top: 18%; animation: floaty 6s var(--ease) infinite; }
.float-card--tier { left: -26px; bottom: 14%; animation: floaty 6s var(--ease) infinite 1.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Logo / trust strip ---------- */
.trustbar { background: var(--navy-950); color: #fff; padding: 30px 0; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trustbar__item { text-align: center; }
.trustbar__num { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.trustbar__num .accent { color: var(--green-400); }
.trustbar__label { font-size: 13.5px; color: #b8a9b0; font-weight: 500; margin-top: 4px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step__n { font-size: 13px; font-weight: 800; color: var(--indigo-600); letter-spacing: .1em; }
.step__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin: 14px 0 18px; background: var(--indigo-50); color: var(--indigo-600); }
.step__ic svg { width: 28px; height: 28px; }
.step h3 { font-size: 20px; margin-bottom: 9px; }
.step p { font-size: 15px; color: var(--slate-500); }
.step--g .step__ic { background: var(--green-50); color: var(--green-600); }
.step--gold .step__ic { background: var(--gold-50); color: var(--gold-600); }

/* ---------- Ladder / rewards ---------- */
.ladder { background: var(--bg-soft); }
.ladder__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ladder__grid > * { min-width: 0; }
.ladder__steps { display: grid; gap: 16px; }
.rung {
  display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rung:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.rung__amt { font-size: 26px; font-weight: 800; letter-spacing: -.02em; flex: none; min-width: 92px; }
.rung__body h4 { font-size: 17px; margin-bottom: 2px; }
.rung__body p { font-size: 14px; color: var(--slate-500); }
.rung--1 { border-left: 4px solid var(--indigo-500); }
.rung--1 .rung__amt { color: var(--indigo-600); }
.rung--2 { border-left: 4px solid var(--green-500); }
.rung--2 .rung__amt { color: var(--green-600); }
.rung--3 { border-left: 4px solid var(--gold-500); background: linear-gradient(100deg, #fff, var(--gold-50)); }
.rung--3 .rung__amt { color: var(--gold-600); }

/* Tiers */
.tiers { display: grid; gap: 14px; }
.tier { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.tier__badge { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; font-size: 18px; }
.tier--bronze .tier__badge { background: linear-gradient(140deg, #d08b54, #a4663a); }
.tier--silver .tier__badge { background: linear-gradient(140deg, #c4cdd9, #8a96a8); }
.tier--gold .tier__badge { background: linear-gradient(140deg, var(--gold-400), var(--gold-600)); }
.tier__body { flex: 1; }
.tier__body b { font-size: 16px; }
.tier__body p { font-size: 13.5px; color: var(--slate-500); }
.tier__mult { font-weight: 800; color: var(--green-600); font-size: 15px; }

/* ---------- Features / value props ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature {
  display: flex; gap: 18px; padding: 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); transition: .3s var(--ease);
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.feature__ic svg { width: 25px; height: 25px; }
.feature h3 { font-size: 18px; margin-bottom: 7px; }
.feature p { font-size: 14.5px; color: var(--slate-500); }
.ic-green { background: var(--green-50); color: var(--green-600); }
.ic-indigo { background: var(--indigo-50); color: var(--indigo-600); }
.ic-gold { background: var(--gold-50); color: var(--gold-600); }

/* ---------- Civic band ---------- */
.civic { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.civic::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 360px at 85% 110%, rgba(225, 29, 72, .42), transparent 60%), radial-gradient(560px 300px at 5% -10%, rgba(240, 169, 30, .22), transparent 60%); }
.civic .wrap { position: relative; }
.civic__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 50px; align-items: center; }
.civic__grid > * { min-width: 0; }
.civic h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.civic p { color: #cabfc6; font-size: 17px; margin-top: 18px; }
.civic__list { margin-top: 26px; display: grid; gap: 14px; }
.civic__list li { display: flex; gap: 13px; align-items: flex-start; color: #f3ebe6; font-size: 15.5px; }
.civic__list .chk { width: 24px; height: 24px; border-radius: 8px; background: rgba(240, 169, 30, .22); color: var(--green-400); display: grid; place-items: center; flex: none; }
.civic__list .chk svg { width: 15px; height: 15px; }
.quote-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(6px); }
.quote-card p { color: #fff; font-size: 19px; font-weight: 600; line-height: 1.5; margin: 0; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote-card .who span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; }
.quote-card .who b { display: block; font-size: 14.5px; }
.quote-card .who small { color: #b0a3ab; font-size: 13px; }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: .3s var(--ease); }
.tcard:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.tcard .stars { margin-bottom: 14px; display: block; }
.tcard p { font-size: 15px; color: var(--slate-700); }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tcard .who span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 15px; }
.tcard .who b { display: block; font-size: 14.5px; }
.tcard .who small { color: var(--slate-400); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-weight: 700; font-size: 17.5px; color: var(--ink); }
.faq__q .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--bg-tint); color: var(--indigo-600); display: grid; place-items: center; flex: none; transition: .3s; }
.faq__item.is-open .faq__q .ic { background: var(--indigo-600); color: #fff; transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 4px 24px; color: var(--slate-500); font-size: 15.5px; max-width: 680px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; border-radius: var(--radius-xl); padding: 64px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--indigo-600));
  color: #fff; text-align: center;
}
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 280px at 80% 120%, rgba(240, 169, 30, .42), transparent 55%); }
.cta__inner { position: relative; }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.cta p { color: #e7d9d2; font-size: 18px; margin: 16px auto 32px; max-width: 540px; }
.cta .btn--primary { box-shadow: 0 18px 50px rgba(225, 29, 72, .55); }
.cta__note { margin-top: 18px; font-size: 13.5px; color: #b8a9b0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #cabfc6; padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer__nav { justify-self: end; text-align: right; }
.footer__nav .footer__links a { display: block; }
.footer .brand__word { color: #fff; }
.footer .brand__word span { color: #fb7185; }
.footer__about { color: #b0a3ab; font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: .02em; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { color: #c2b3ba; font-size: 14.5px; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #a294a0; flex-wrap: wrap; }

/* ---------- Signup modal / screener ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10, 21, 49, .55); backdrop-filter: blur(4px); animation: fade .25s ease; }
.modal__card {
  position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .35s var(--ease);
  max-height: 92vh; display: flex; flex-direction: column;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal__head { padding: 24px 28px 0; }
.modal__progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 14px; }
.modal__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-400), var(--green-500)); border-radius: 99px; transition: width .4s var(--ease); width: 16.66%; }
.modal__counter { text-align: center; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.modal__counter span { color: var(--indigo-600); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--slate-500); transition: .2s; z-index: 2; }
.modal__close:hover { background: var(--bg-soft); color: var(--ink); }
.modal__body { padding: 8px 28px 8px; overflow-y: auto; }
.modal__step { display: none; }
.modal__step.is-active { display: block; animation: fade .3s ease; }
.modal__step h3 { font-size: 23px; margin-bottom: 8px; }
.modal__step .sub { font-size: 14.5px; color: var(--slate-500); margin-bottom: 22px; }
.modal__substep { text-align: center; font-size: 16px; font-weight: 600; color: var(--slate-700); margin: 2px 0 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.field-note { font-size: 13.5px; font-weight: 700; color: var(--indigo-600); text-align: center; margin: 18px 0 8px; }
.field-note span { color: var(--slate-500); font-weight: 500; }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.field input, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; transition: .2s; background: var(--bg-soft); color: var(--ink);
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23647089' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select:has(option[value=""]:checked) { color: var(--slate-400); }
.field input:focus, .field select:focus { outline: none; border-color: var(--indigo-500); background: #fff; box-shadow: 0 0 0 4px var(--indigo-50); }
.field input.is-error, .field select.is-error { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.sso { display: grid; gap: 12px; margin-bottom: 18px; }
.sso__btn { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 15px; transition: .2s; }
.sso__btn:hover { border-color: var(--slate-400); background: var(--bg-soft); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--slate-400); font-size: 13px; font-weight: 600; margin: 6px 0 18px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.choices { display: grid; gap: 11px; margin-bottom: 8px; }
.choice { display: flex; align-items: center; gap: 13px; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 13px; font-weight: 600; font-size: 14.5px; transition: .2s; cursor: pointer; }
.choice:hover { border-color: var(--slate-400); }
.choice input { position: absolute; opacity: 0; }
.choice .box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; transition: .2s; }
.choice .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.choice:has(input:checked) { border-color: var(--green-500); background: var(--green-50); }
.choice:has(input:checked) .box { background: var(--green-500); border-color: var(--green-500); }
.choice:has(input:checked) .box svg { opacity: 1; }
.choice--radio .box { border-radius: 50%; }

.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 13px; padding: 16px; margin: 4px 0 8px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; }
.consent .box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--slate-400); flex: none; display: grid; place-items: center; margin-top: 1px; transition: .2s; }
.consent .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.consent:has(input:checked) .box { background: var(--green-500); border-color: var(--green-500); }
.consent:has(input:checked) .box svg { opacity: 1; }
.consent span { font-size: 14px; color: var(--slate-700); font-weight: 500; }

.modal__foot { padding: 18px 28px 26px; display: flex; gap: 12px; }
.modal__foot .btn { flex: 1; }
.modal__back { flex: 0 0 auto !important; padding-left: 18px; padding-right: 18px; }

.success { text-align: center; padding: 12px 8px 16px; }
.success__ic { width: 76px; height: 76px; border-radius: 50%; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; margin: 0 auto 22px; }
.success__ic svg { width: 38px; height: 38px; }
.success h3 { font-size: 25px; margin-bottom: 10px; }
.success p { color: var(--slate-500); font-size: 15px; margin-bottom: 24px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero__grid, .ladder__grid, .civic__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__visual { max-width: 440px; margin: 0 auto; }
  .float-card { display: none; }
  .steps, .tgrid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__nav { justify-self: start; text-align: left; }
  .cta { padding: 48px 28px; }

  .nav__links, .nav__cta .nav__login, .nav__cta .btn--sm { display: none; }
  .burger { display: grid; }
  .mobile-menu {
    position: fixed; inset: 72px 0 0; z-index: 55; background: #fff; padding: 28px 24px;
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .28s ease, transform .35s var(--ease), visibility .35s;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a { font-size: 19px; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .mobile-menu .btn { margin-top: 20px; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

@media (max-width: 480px) {
  .float-card { display: none; }
  .rung { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rung__amt { min-width: 0; }
  .modal__foot { flex-wrap: wrap; }
}

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