/* ============================================================
   BRIDGEVANTI — global styles
   Palette pulled from the logo: bridge green + growth gold on a
   deep green-black ("after-hours ledger") base.
   ============================================================ */

:root {
  --ink: #06140d;
  --deep: #0a2016;
  --raise: #0f2c1f;
  --raise-2: #143826;
  --line: rgba(238, 243, 238, 0.12);
  --line-strong: rgba(238, 243, 238, 0.24);
  --paper: #eef3ee;
  --mute: #a3b8ab;
  --green: #1db46f;
  --green-deep: #0b7a48;
  --gold: #f4b63b;
  --gold-deep: #d9951c;
  --danger: #ff8a7a;

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 32px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;

  --z-header: 40;
  --z-menu: 50;
  --z-loader: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px;
  border-radius: var(--radius-s); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 12vw, 168px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--deep { background: var(--deep); }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}
.mega {
  font-size: clamp(3.2rem, 11.5vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.86;
}
h1 { font-size: clamp(2.9rem, 8vw, 7.4rem); }
h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -0.02em; line-height: 1.05; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--mute); max-width: 38ch; }
.section--paper .lede { color: #3d5246; }
p { max-width: 64ch; }
.muted { color: var(--mute); }
.gold { color: var(--gold); }
.green { color: var(--green); }
.num { font-variant-numeric: tabular-nums; }

/* Placeholder marker for info the client still needs to supply */
.ph {
  border-bottom: 2px dashed var(--gold);
  color: var(--gold);
  font-style: normal;
}
.section--paper .ph { color: var(--gold-deep); border-color: var(--gold-deep); }

/* Line-mask reveal (JS splits headings into .line > .line-inner) */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line-inner { display: block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-med) var(--ease-out);
  touch-action: manipulation;
  position: relative;
}
.btn:hover { --bg: #ffc95c; }
.btn:active { transform: scale(0.97); }
.btn--ghost { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { --bg: rgba(238, 243, 238, 0.08); }
.btn--green { --bg: var(--green); --fg: var(--ink); }
.btn--green:hover { --bg: #2fcb82; }
.section--paper .btn--ghost { --fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(6, 20, 13, 0.3); }
.section--paper .btn--ghost:hover { --bg: rgba(6, 20, 13, 0.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn .ico { width: 18px; height: 18px; }

.text-link {
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size var(--dur-med) var(--ease-out);
}
.text-link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  transition: background var(--dur-med) ease, transform var(--dur-med) var(--ease-out), border-color var(--dur-med) ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 20, 13, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; transition: transform var(--dur-med) var(--ease-out); transform-origin: left center; }
.brand img { height: 56px; width: auto; }
.site-header.is-scrolled .brand { transform: scale(0.86); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; padding: 10px 14px; border-radius: 999px;
  font-size: 0.96rem; font-weight: 500; color: var(--mute);
  transition: color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.nav a:hover { color: var(--paper); background: rgba(238, 243, 238, 0.06); }
.nav a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
.nav .ext::after { content: "↗"; margin-left: 4px; font-size: 0.8em; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 46px; padding: 0 20px; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--line-strong);
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--paper);
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast) ease;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--deep);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 104px var(--gutter) 32px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  visibility: hidden;
  transition: clip-path 600ms var(--ease-in-out), visibility 0s linear 600ms;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path 700ms var(--ease-in-out), visibility 0s; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em;
  font-size: clamp(2.6rem, 11vw, 4.4rem); line-height: 1.05;
  text-decoration: none; padding: 4px 0;
}
.mobile-menu nav a[aria-current="page"] { color: var(--gold); }
.mobile-menu .btn { width: 100%; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; z-index: calc(var(--z-menu) + 1); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  background: var(--ink); display: grid; place-items: center;
}
.loader-inner { display: grid; gap: 22px; justify-items: center; }
.loader img { width: min(300px, 64vw); height: auto; }
.loader-bar { width: min(300px, 64vw); height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.loader-count { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--mute); font-variant-numeric: tabular-nums; }
html.no-loader .loader { display: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: auto -20% -40% -20%; height: 90%;
  background: radial-gradient(ellipse at 50% 100%, rgba(29, 180, 111, 0.22), transparent 62%);
  pointer-events: none;
}
.hero-bridge {
  position: absolute; left: 0; right: 0; top: 14%; width: 100%; height: auto;
  pointer-events: none; opacity: 0.95;
}
.hero-title { position: relative; }
.hero-title .gold { color: var(--gold); }
.hero-foot {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end;
  margin-top: clamp(28px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-foot .btn-row { justify-content: flex-end; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; color: var(--mute); font-size: 0.95rem; }
.hero-meta strong { color: var(--paper); font-weight: 600; display: block; }

/* page heroes (inner pages) */
.page-hero { padding-top: clamp(150px, 20vw, 220px); padding-bottom: clamp(48px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero .lede { margin-top: 28px; }
.crumb { color: var(--mute); font-size: 0.95rem; margin-bottom: 20px; display: inline-flex; gap: 8px; align-items: center; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--paper); }

/* ---------- Marquee (partners) ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 26px; position: relative; }
.marquee-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; color: var(--mute); font-size: 0.95rem; }
.marquee-head span:first-child { max-width: 60ch; }
.marquee-track { display: flex; width: max-content; gap: 0; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.partner {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem); color: var(--paper); white-space: nowrap;
  padding-inline: clamp(24px, 3vw, 48px);
  display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 48px);
  opacity: 0.85;
}
.partner::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.partner--more { color: var(--mute); font-weight: 500; }
.partner--flagship { color: var(--gold); opacity: 1; font-size: clamp(2rem, 4.4vw, 3.6rem); position: relative; }
.partner--flagship small {
  position: absolute; left: clamp(24px, 3vw, 48px); top: -0.9em;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0; color: var(--mute);
}
.marquee { padding-top: 34px; }
.marquee-track { padding-top: 14px; }

/* ---------- Section heads ---------- */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head .lede { justify-self: end; }
.sec-index { color: var(--gold); font-weight: 600; font-size: 0.95rem; margin-bottom: 18px; display: block; }
.section--paper .sec-index { color: var(--green-deep); }

/* ---------- Services (horizontal on desktop) ---------- */
.services-pin { position: relative; }
.services-track { display: flex; gap: 20px; padding-inline: var(--gutter); will-change: transform; }
.svc {
  flex: 0 0 min(560px, 82vw);
  min-height: 560px;
  border-radius: var(--radius-l);
  background: var(--raise);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.svc:nth-child(2) { background: var(--green-deep); border-color: transparent; }
.svc:nth-child(3) { background: var(--paper); color: var(--ink); }
.svc:nth-child(4) { background: var(--gold); color: var(--ink); border-color: transparent; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc-ico { width: 64px; height: 64px; }
.svc-ico svg { width: 100%; height: 100%; }
.svc h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.045em; line-height: 0.95; }
.svc p { opacity: 0.85; margin-top: 16px; }
.svc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; font-size: 0.9rem; opacity: 0.8; }
.svc a.btn { align-self: flex-start; }
.svc:nth-child(3) .btn, .svc:nth-child(4) .btn { --bg: var(--ink); --fg: var(--paper); }
.svc-count { font-family: var(--font-display); font-weight: 700; font-size: 1rem; opacity: 0.7; }

/* ---------- How it works ---------- */
.steps { position: relative; display: grid; gap: 0; }
.steps-path { position: absolute; left: 31px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.steps-path i { position: absolute; inset: 0 0 auto 0; height: 0; background: linear-gradient(var(--green), var(--gold)); }
.step {
  display: grid; grid-template-columns: 64px 1fr 1.1fr; gap: clamp(20px, 4vw, 64px);
  padding-block: clamp(28px, 4vw, 48px); align-items: start; position: relative;
}
.step + .step { border-top: 1px solid var(--line); }
.step-dot {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); border: 1.5px solid var(--line-strong);
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; position: relative; z-index: 1;
  transition: background var(--dur-med) ease, color var(--dur-med) ease, border-color var(--dur-med) ease;
}
.step.is-active .step-dot { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.step h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.04em; }
.step p { color: var(--mute); }
.step .text-link { display: inline-block; margin-top: 14px; color: var(--paper); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; align-items: stretch; }
.plan {
  border-radius: var(--radius-l); padding: clamp(26px, 3vw, 40px);
  background: #fff; border: 1px solid rgba(6, 20, 13, 0.12);
  display: flex; flex-direction: column; gap: 24px;
}
.plan--featured { background: var(--ink); color: var(--paper); border-color: transparent; position: relative; overflow: hidden; }
.plan--featured::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 182, 59, 0.35), transparent 65%); pointer-events: none;
}
.plan-tag { align-self: flex-start; background: var(--gold); color: var(--ink); font-weight: 600; font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -0.04em; }
.plan .price-line { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; }
.plan--featured .price-line { color: var(--gold); }
.plan p { color: #3d5246; }
.plan--featured p { color: var(--mute); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: auto; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.98rem; }
.plan li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--green-deep); }
.plan--featured li svg { color: var(--green); }
.plan .btn { width: 100%; }
.plan:not(.plan--featured) .btn { --bg: var(--ink); --fg: var(--paper); }
.plan:not(.plan--featured) .btn:hover { --bg: var(--raise-2); }
.pricing-note {
  margin-top: 16px; padding: 22px 26px; border-radius: var(--radius-m);
  background: rgba(6, 20, 13, 0.05); display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.pricing-note strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq-list { border-top: 1px solid rgba(6, 20, 13, 0.15); }
.faq details { border-bottom: 1px solid rgba(6, 20, 13, 0.15); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid rgba(6, 20, 13, 0.25); position: relative; transition: background var(--dur-fast) ease, transform var(--dur-med) var(--ease-out); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--dur-med) var(--ease-out); }
.faq details[open] summary .pm { background: var(--gold); border-color: var(--gold); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 0 28px; color: #3d5246; overflow: hidden; }
.faq .answer p + p { margin-top: 12px; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder-photo { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--raise); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform-origin: 50% 50%; }
.founder-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(6, 20, 13, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 14px 18px; border-radius: var(--radius-m); color: var(--paper);
}
.founder-photo figcaption strong { display: block; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.02em; }
.founder-photo figcaption span { color: var(--mute); font-size: 0.92rem; }
.founder blockquote {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance;
}
.founder blockquote::before { content: "“"; color: var(--gold); display: block; font-size: 2.2em; line-height: 0.6; margin-bottom: 8px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 8px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 5.5vw, 5rem); letter-spacing: -0.05em; line-height: 1; }
.stat p { color: var(--mute); margin-top: 10px; font-size: 0.98rem; }

/* ---------- Funding band ---------- */
.funding-band {
  border-radius: var(--radius-l); overflow: hidden; position: relative;
  background: var(--green-deep); padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end;
}
.funding-band h2 { color: var(--paper); }
.funding-band p { color: rgba(238, 243, 238, 0.85); }
.fund-groups { display: grid; gap: 10px; }
.fund-group { background: rgba(6, 20, 13, 0.28); border-radius: var(--radius-m); padding: 18px 20px; }
.fund-group strong { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.fund-group span { color: rgba(238, 243, 238, 0.82); font-size: 0.95rem; }
.funding-band .btn-row { margin-top: 28px; }

/* ---------- Industries / chips ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-cloud span {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: -0.02em;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--line-strong);
}

.chip-cloud .chip--flagship { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- Big CTA ---------- */
.cta-big { text-align: left; overflow: hidden; }
.cta-big .mega { color: var(--paper); }
.cta-big .mega .gold { color: var(--gold); }
.cta-big .btn-row { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- Funding choice pop-up ---------- */
.fund-dialog {
  width: min(920px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto;
  padding: 0; border: 0; background: transparent; color: var(--paper); overflow: visible;
}
.fund-dialog::backdrop { background: rgba(3, 10, 7, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fund-dialog-inner {
  position: relative; background: var(--deep); border: 1px solid var(--line-strong); border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 48px); max-height: calc(100dvh - 32px); overflow-y: auto;
}
.fund-dialog h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 12px; padding-right: 48px; }
.fund-close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: transparent; border: 1.5px solid var(--line-strong);
  transition: background var(--dur-fast) ease;
}
.fund-close:hover { background: rgba(238, 243, 238, 0.08); }
.fund-close svg { width: 20px; height: 20px; }
.fund-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-block: 28px 20px; }
.fund-choice {
  display: grid; gap: 12px; align-content: start; text-decoration: none;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-m);
  background: var(--paper); color: var(--ink);
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-fast) ease;
}
.fund-choice:nth-child(2) { background: var(--gold); }
.fund-choice:hover { transform: translateY(-4px); }
.fund-choice .fund-ico { width: 40px; height: 40px; color: var(--green-deep); }
.fund-choice:nth-child(2) .fund-ico { color: var(--ink); }
.fund-choice h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.035em; }
.fund-choice p { color: #3d5246; font-size: 0.97rem; }
.fund-choice:nth-child(2) p { color: #3b2a07; }
.fund-choice .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 6px; }
.fund-choice .go svg { width: 18px; height: 18px; transition: transform var(--dur-med) var(--ease-out); }
.fund-choice:hover .go svg { transform: translate(3px, -3px); }
body.dialog-open { overflow: hidden; }
@media (max-width: 680px) { .fund-choices { grid-template-columns: 1fr; } }

/* ---------- Generic cards (services page, about) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-size: 1.5rem; }
.card p { color: var(--mute); font-size: 0.98rem; }
.card svg { width: 36px; height: 36px; color: var(--gold); }

.svc-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.svc-detail:first-of-type { border-top: 0; }
.svc-detail h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.svc-detail .feature-list { list-style: none; padding: 0; display: grid; gap: 0; }
.svc-detail .feature-list li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.svc-detail .feature-list li:first-child { border-top: 1px solid var(--line); }
.svc-detail .feature-list svg { width: 22px; height: 22px; color: var(--green); margin-top: 3px; }
.svc-detail .feature-list strong { display: block; font-weight: 600; }
.svc-detail .feature-list span { color: var(--mute); font-size: 0.97rem; }
.svc-detail .btn-row { margin-top: 28px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(6, 20, 13, 0.15); }
.value { padding: 32px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid rgba(6, 20, 13, 0.15); }
.value h3 { font-size: 1.8rem; margin-bottom: 12px; }
.value p { color: #3d5246; }

.story { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-body p { font-size: 1.15rem; line-height: 1.65; color: var(--paper); }
.story-body p + p { margin-top: 20px; }
.story-body .note { font-size: 0.92rem; color: var(--mute); margin-top: 28px; padding: 14px 16px; border: 1px dashed var(--gold); border-radius: var(--radius-s); }
.story .founder-photo { position: sticky; top: 110px; }

/* ---------- Forms (shared) ---------- */
.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 600; font-size: 0.98rem; }
.field .hint { color: var(--mute); font-size: 0.9rem; }
.req { color: var(--gold); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  background: rgba(238, 243, 238, 0.04); color: var(--paper);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-s);
  transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease;
  font-size: 1rem;
}
.textarea { min-height: 130px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: rgba(163, 184, 171, 0.7); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(238, 243, 238, 0.4); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); background: rgba(238, 243, 238, 0.07); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a3b8ab' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.select option { background: var(--deep); color: var(--paper); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.9rem; display: none; }
.field.has-error .field-error { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-status { margin-top: 16px; font-size: 0.98rem; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--green); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Option cards (survey + analysis) */
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.option .opt-body {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 18px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-m);
  background: rgba(238, 243, 238, 0.03);
  transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease, transform var(--dur-med) var(--ease-out);
}
.option .opt-body svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--gold); }
.option .opt-title { font-weight: 600; line-height: 1.25; display: block; }
.option .opt-sub { color: var(--mute); font-size: 0.88rem; line-height: 1.35; display: block; margin-top: 2px; }
.option .opt-check {
  margin-left: auto; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--line-strong); display: grid; place-items: center;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.option input[type="checkbox"] ~ .opt-body .opt-check { border-radius: 7px; }
.option .opt-check svg { width: 14px; height: 14px; color: var(--ink); opacity: 0; }
.option:hover .opt-body { border-color: rgba(238, 243, 238, 0.45); }
.option input:checked ~ .opt-body { border-color: var(--gold); background: rgba(244, 182, 59, 0.1); }
.option input:checked ~ .opt-body .opt-check { background: var(--gold); border-color: var(--gold); }
.option input:checked ~ .opt-body .opt-check svg { opacity: 1; }
.option input:focus-visible ~ .opt-body { outline: 3px solid var(--gold); outline-offset: 3px; }
.option:active .opt-body { transform: scale(0.985); }

/* Range slider */
.range-wrap { display: grid; gap: 14px; }
.range-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--gold) var(--fill, 30%), var(--line-strong) var(--fill, 30%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 5px solid var(--gold); margin-top: -11px; box-shadow: 0 0 0 6px rgba(244, 182, 59, 0.18); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 5px solid var(--gold); }
.range-scale { display: flex; justify-content: space-between; color: var(--mute); font-size: 0.88rem; }

/* ---------- Survey ---------- */
.survey-shell { min-height: 100svh; padding-top: 110px; padding-bottom: 40px; display: flex; flex-direction: column; }
.survey-top { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(32px, 6vh, 64px); }
.progress { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 6px; transition: width 600ms var(--ease-out); }
.progress-label { color: var(--mute); font-size: 0.95rem; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 110px; text-align: right; }
.survey-stage { flex: 1; position: relative; }
.q { max-width: 980px; }
.q[hidden] { display: none; }
.q-kicker { color: var(--gold); font-weight: 600; margin-bottom: 16px; display: block; }
.q h1, .q h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); letter-spacing: -0.045em; margin-bottom: 14px; }
.q .q-help { color: var(--mute); margin-bottom: clamp(24px, 4vh, 40px); font-size: 1.05rem; }
.q:focus { outline: none; }
.survey-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: clamp(28px, 5vh, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.survey-nav .hint-key { color: var(--mute); font-size: 0.9rem; }
.q-error { color: var(--danger); margin-top: 16px; display: none; }
.q-error.is-visible { display: block; }

/* Results */
.results-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.plan-name { color: var(--gold); }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 48px; }
.rec { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; display: grid; gap: 10px; align-content: start; }
.rec .rec-kind { color: var(--green); font-weight: 600; font-size: 0.92rem; }
.rec h3 { font-size: 1.6rem; }
.rec p { color: var(--mute); font-size: 0.97rem; }
.rec a { margin-top: 6px; }
.next-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.path-card {
  display: grid; gap: 14px; text-decoration: none; padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-l); background: var(--paper); color: var(--ink);
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-fast) ease;
  position: relative; overflow: hidden;
}
.path-card:nth-child(2) { background: var(--gold); }
.path-card:hover { transform: translateY(-4px); }
.path-card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.04em; }
.path-card p { color: #3d5246; }
.path-card:nth-child(2) p { color: #3b2a07; }
.path-card .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.path-card .go svg { width: 20px; height: 20px; transition: transform var(--dur-med) var(--ease-out); }
.path-card:hover .go svg { transform: translateX(4px); }

/* ---------- Analysis (rocket-style quiz + live sidebar) ---------- */
.tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--raise); border: 1px solid var(--line); gap: 4px; margin-top: 36px; }
.tab { min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: var(--mute); font-weight: 600; transition: background var(--dur-fast) ease, color var(--dur-fast) ease; }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.tab:hover:not([aria-selected="true"]) { color: var(--paper); }
.tab-panel[hidden] { display: none; }

.analysis { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.a-steps { display: grid; gap: 16px; }
.a-step { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 36px); transition: border-color var(--dur-med) ease, opacity var(--dur-med) ease; }
.a-step.is-locked { opacity: 0.45; pointer-events: none; }
.a-step.is-done { border-color: rgba(29, 180, 111, 0.5); }
.a-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.a-step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); font-family: var(--font-display); font-weight: 700; flex-shrink: 0; transition: background var(--dur-med) ease, border-color var(--dur-med) ease, color var(--dur-med) ease; }
.a-step.is-done .a-step-num { background: var(--green); border-color: var(--green); color: var(--ink); }
.a-step h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.05; }
.a-step .btn { margin-top: 22px; }
.mix { display: grid; gap: 18px; }
.mix-row { display: grid; grid-template-columns: 150px 1fr 56px; gap: 14px; align-items: center; }
.mix-row output { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.mix-total { color: var(--mute); font-size: 0.92rem; }

.sidebar { position: sticky; top: 100px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; display: grid; gap: 20px; }
.sidebar .label { color: var(--mute); font-size: 0.92rem; }
.sidebar .est { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 4vw, 3.6rem); letter-spacing: -0.05em; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.sidebar .est-sub { color: var(--mute); font-size: 0.92rem; }
.side-progress { display: grid; gap: 8px; }
.side-list { list-style: none; padding: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.side-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; }
.side-list li span:first-child { color: var(--mute); }
.side-list li span:last-child { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.disclaimer { color: var(--mute); font-size: 0.85rem; line-height: 1.5; }

/* Calculator */
.calc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.calc-inputs { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; }
.calc-out { display: grid; gap: 14px; }
.calc-hero { background: var(--paper); color: var(--ink); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 40px); }
.calc-hero .label { color: #3d5246; }
.calc-hero .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 8vw, 6.4rem); letter-spacing: -0.055em; line-height: 0.95; font-variant-numeric: tabular-nums; color: var(--green-deep); margin-block: 8px; }
.calc-hero p { color: #3d5246; }
.bars { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
.bar-row { display: grid; gap: 8px; }
.bar-row .bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: 0.97rem; }
.bar-row .bar-label span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { height: 14px; border-radius: 8px; background: rgba(238, 243, 238, 0.06); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 8px; transition: width 700ms var(--ease-out); }
.bar--now i { background: var(--danger); }
.bar--cd i { background: var(--gold); }
.bar--ip i { background: var(--green); }
.bar--flat i { background: #6fb1ff; }

.success-panel { text-align: left; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-l); background: var(--raise); border: 1px solid rgba(29, 180, 111, 0.5); }
.success-panel h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.success-panel .ok-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; margin-bottom: 22px; }
.success-panel .ok-ico svg { width: 28px; height: 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.contact-list .k { color: var(--mute); font-size: 0.92rem; }
.contact-list .v { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.form-card { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 3.5vw, 44px); }

/* ---------- Legal page ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 48px; margin-bottom: 14px; letter-spacing: -0.03em; }
.legal p, .legal li { color: var(--mute); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 14px; }
.legal strong { color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); border-top: 1px solid var(--line); padding-top: clamp(64px, 9vw, 120px); padding-bottom: 32px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 240px; height: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--mute); max-width: 34ch; }
.footer-col h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--mute); letter-spacing: 0; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-word {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8;
  font-size: clamp(3.4rem, 15.5vw, 15.5rem); color: var(--raise-2); white-space: nowrap; user-select: none;
  margin-bottom: 32px;
}
.legal-notes { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 8px; color: var(--mute); font-size: 0.86rem; }
.legal-notes p { max-width: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--mute); font-size: 0.86rem; margin-top: 20px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); }

/* ---------- Motion helpers ---------- */
.reveal { opacity: 0; transform: translateY(40px); }
html.no-js .reveal, html.reduced-motion .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .header-cta .btn--ghost { display: none; }
}
@media (max-width: 1240px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .analysis { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky; top: auto; bottom: 12px; z-index: 5; order: 2;
    grid-template-columns: 1fr auto; padding: 16px 20px; gap: 6px 16px; align-items: center;
    background: rgba(10, 32, 22, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .sidebar .est { font-size: 2rem; grid-row: span 2; order: 2; }
  .sidebar .side-list, .sidebar .disclaimer, .sidebar .side-progress { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .header-inner { height: 76px; }
  .brand img { height: 46px; }
  .hero-foot, .sec-head, .faq, .founder, .funding-band, .story, .svc-detail, .contact-grid, .results-head, .calc { grid-template-columns: 1fr; }
  .hero-foot .btn-row { justify-content: flex-start; }
  .sec-head .lede { justify-self: start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .step { grid-template-columns: 64px 1fr; }
  .step > div:last-child { grid-column: 2; }
  .card-grid, .values { grid-template-columns: 1fr; }
  .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid rgba(6, 20, 13, 0.15); }
  .next-paths { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .story .founder-photo { position: relative; top: 0; max-width: 420px; }
  .svc { min-height: 0; }
  .services-track { flex-direction: column; padding-inline: var(--gutter); }
  .svc { flex-basis: auto; width: 100%; }
  .mix-row { grid-template-columns: 1fr 56px; }
  .mix-row input { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 520px) {
  .brand img { height: 38px; }
  .header-inner { gap: 10px; }
  .header-cta { gap: 8px; }
  .header-cta .btn { min-height: 44px; padding: 0 16px; font-size: 0.92rem; }
  .footer-top { grid-template-columns: 1fr; }
  .options { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .survey-nav .btn { flex: 1; }
  .survey-nav .hint-key { display: none; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 0 12px; }
  .stat .big { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
