/* Tampa Robotaxi — site styles. Brand tokens live in :root; change them here. */
:root {
  color-scheme: dark;
  --bg: #07090d;
  --surface: #0e131b;
  --surface-2: #131a25;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #e9eef5;
  --muted: #9ba8ba;          /* 7.9:1 on --bg */
  --gold: #d8b46a;           /* champagne gold accent */
  --gold-hi: #f4dfa8;
  --gold-lo: #a8813d;
  --gold-glow: rgba(216, 180, 106, .18);
  --teal: #5fd4de;
  --amber: #f2b84b;
  --green: #4ade80;
  --danger: #ff8a8a;
  --radius: 18px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { color: #fff; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 650; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--gold-hi); text-underline-offset: .18em; text-decoration-color: rgba(244, 223, 168, .45); }
a:hover { text-decoration-color: currentColor; }
strong { color: #fff; }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--gold); color: #120d03; padding: .6em 1em; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 8px; }

.gold-text {
  background: linear-gradient(100deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker, .eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(216,180,106,.55); } 70% { box-shadow: 0 0 0 10px rgba(216,180,106,0); } 100% { box-shadow: 0 0 0 0 rgba(216,180,106,0); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 13, .55); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { background: rgba(7, 9, 13, .86); border-bottom-color: var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; transition: min-height .3s cubic-bezier(.2,.7,.2,1); }
.is-scrolled .header-inner { min-height: 58px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .02em; margin: 0; }
.brand-thin { font-weight: 300; margin-left: .3em; color: var(--muted); }
.site-nav { display: none; margin-left: auto; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .5rem .8rem; color: var(--muted); text-decoration: none; font-size: .92rem; border-radius: 999px; }

.header-inner > .btn { margin-left: auto; }
@media (min-width: 860px) { .site-nav { display: block; } .header-inner > .btn { margin-left: 0; } }

/* Buttons */
.btn { white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75em 1.5em;
  border-radius: 999px; font: inherit; font-weight: 650; letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-sm { min-height: 40px; padding: .45em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); color: #140f04; box-shadow: 0 6px 24px rgba(216,180,106,.25), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(216,180,106,.35), inset 0 1px 0 rgba(255,255,255,.4); color: #140f04; }
.btn-outline { color: var(--gold-hi); border-color: rgba(216,180,106,.5); background: rgba(216,180,106,.06); }
.btn-outline:hover { background: rgba(216,180,106,.14); color: #fff; }
fieldset[disabled] .btn { background: #2a313c; color: #8792a2; box-shadow: none; cursor: not-allowed; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 3rem 0 4rem; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(216,180,106,.16), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(95,212,222,.08), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero-bg::after {
  content: ""; position: absolute; left: -20%; right: -20%; bottom: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: .5; transform: rotate(-4deg);
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 30rem; margin: 0; }

/* Hero bento grid: headline tile, status tiles, form tile */
.bento { display: grid; gap: 14px; grid-template-areas: "head" "stats" "form"; }
@media (min-width: 980px) {
  .bento { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr auto; grid-template-areas: "head form" "stats form"; gap: 16px; }
  .hero { padding: 3.5rem 0 4.5rem; }
}
.tile {
  position: relative; border: 1px solid var(--line-strong); border-radius: 22px;
  background:
    radial-gradient(320px circle at var(--mx, -999px) var(--my, -999px), rgba(216,180,106,.09), transparent 60%),
    linear-gradient(160deg, rgba(23,30,42,.75), rgba(10,13,19,.85));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tile-head { grid-area: head; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.tile-head::after {
  content: ""; position: absolute; right: -15%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(216,180,106,.22), transparent 65%);
}
.tile-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin: 0 0 1rem; }
.tile-head h1 .gold-text { display: block; }
.tile-head .eyebrow { align-self: flex-start; margin-bottom: 1.5rem; white-space: nowrap; }
@media (max-width: 380px) { .tile-head .eyebrow { letter-spacing: .1em; font-size: .7rem; } }
@media (min-width: 980px) { .tile-head { padding: 2.5rem; min-height: 26rem; } .tile-head .eyebrow { margin-bottom: auto; } .tile-head h1 { margin-top: 3rem; } }
.tile-stats { grid-area: stats; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 980px) { .tile-stats { gap: 16px; } }
.tile-stat { padding: .9rem 1rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.stat-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.stat-value { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: #fff; font-size: 1rem; margin-top: auto; }
@media (min-width: 600px) { .tile-stat { padding: 1.1rem 1.25rem; } .stat-value { font-size: 1.1rem; } }
@media (max-width: 599px) {
  .tile-stats { grid-template-columns: 1fr; gap: 8px; }
  .tile-stat { flex-direction: row; justify-content: space-between; align-items: center; padding: .75rem 1rem; border-radius: 14px; }
  .stat-value { margin-top: 0; }
}
.tile-form { grid-area: form; }
.tile-form:focus { outline: none; }
.tile-form .signup { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-amber { background: var(--amber); }
.dot-green { background: var(--green); }
.dot-muted { background: var(--muted); }

/* Sign-up card */
.signup {
  position: relative; padding: 1.5rem; border-radius: 22px;
  background:
    radial-gradient(360px circle at var(--mx, -999px) var(--my, -999px), rgba(216,180,106,.07), transparent 60%),
    linear-gradient(180deg, rgba(23, 30, 42, .92), rgba(14, 19, 27, .95));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(216,180,106,.08);
}
.signup::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(244,223,168,.7), rgba(216,180,106,0) 35%, rgba(216,180,106,0) 70%, rgba(216,180,106,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (min-width: 600px) { .signup { padding: 2rem; } }
.signup-head h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.signup-head .kicker { margin-bottom: .4rem; }
.form-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset[disabled] { opacity: .55; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; gap: 0 .9rem; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: .85rem; font-weight: 550; color: var(--text); margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--muted); font-size: .9em; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff; background: rgba(4, 6, 10, .7);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: .7em .9em; min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
select option { background: var(--surface); color: #fff; }
::placeholder { color: #6f7b8c; }
textarea { resize: vertical; min-height: 72px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 550; margin: .35rem 0 0; }
.hint { font-size: .82rem; color: var(--muted); margin: .4rem 0 0; }
.field-more { margin: 0 0 1rem; }
.field-more summary { cursor: pointer; font-size: .88rem; color: var(--gold-hi); width: max-content; border-radius: 6px; }
.field-more[open] summary { margin-bottom: .6rem; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: start; margin-bottom: .8rem; }
.field-check input { width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: var(--gold); }
.field-check label { font-size: .85rem; font-weight: 400; color: var(--muted); margin: 0; line-height: 1.5; }
.field-check .field-error { grid-column: 2; }
.btn-block { margin-top: .5rem; }
.form-fine { font-size: .8rem; color: var(--muted); margin: .9rem 0 0; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; font-size: .92rem; font-weight: 550; border: 1px solid; }
.form-status-ok { background: rgba(74,222,128,.08); border-color: rgba(74,222,128,.35); color: #b8f5cf; }
.form-status-error { background: rgba(255,138,138,.08); border-color: rgba(255,138,138,.35); color: #ffc9c9; }
.form-status-warn { background: rgba(242,184,75,.08); border-color: rgba(242,184,75,.35); color: #f8dca4; margin: 0 0 1.25rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: linear-gradient(180deg, var(--surface), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); max-width: 40rem; }

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--bg); padding: 1.75rem; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.step-num { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .15em; color: var(--gold); margin-bottom: 1.5rem; font-variant-numeric: tabular-nums; }

.area-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.area { padding: .55rem 1rem; border-radius: 999px; font-size: .92rem; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); }
.area.badge-live { border-color: rgba(74,222,128,.45); color: #c8f7d9; }
.area.badge-planned { color: var(--text); }
.area.badge-planned::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: .55rem; vertical-align: middle; }

.faq-wrap { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 1.7fr; gap: 4rem; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; font-weight: 550; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.4rem; font-weight: 300; transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 2rem; }

.partner-band { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 860px) { .partner-band { grid-template-columns: 1fr auto; gap: 3rem; } }
.partner-band .section-lead { margin-bottom: 0; }

/* Legal pages */
.page-head { padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--line); background: radial-gradient(50rem 20rem at 90% -20%, rgba(216,180,106,.12), transparent 60%); }
.page-head .lead { margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.25rem; margin-top: 2em; }
.prose p, .prose li { color: #cdd5e0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.callout { border-radius: 12px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; border: 1px solid rgba(242,184,75,.35); background: rgba(242,184,75,.08); }
.callout p { margin: 0; color: #f8dca4; }
.draft-note { background: rgba(242,184,75,.12); color: #f8dca4; font-size: .9em; padding: 0 .3em; border-radius: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 2rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold-hi); }
.fine { font-size: .8rem; color: #7d8a9c; max-width: 60rem; margin-bottom: .6rem; }
.fine strong { color: var(--text); }

/* ---------------------------------------------------------------- Motion & delight
   Everything here is decorative and is disabled by the prefers-reduced-motion rule at the top. */

/* Tiles rise in, staggered */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bento > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.bento > .tile-stats { animation-delay: .12s; }
.bento > .tile-form { animation-delay: .2s; }
.tile-stat { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.tile-stat:nth-child(1) { animation-delay: .25s; }
.tile-stat:nth-child(2) { animation-delay: .33s; }
.tile-stat:nth-child(3) { animation-delay: .41s; }

/* Headline tile: content above the glow, slow gold shimmer, drifting glow */
.tile-head > * { position: relative; z-index: 1; }
.tile-head h1 .gold-text {
  background-image: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 25%, var(--gold-hi) 45%, #fff6dc 50%, var(--gold-hi) 55%, var(--gold) 75%, var(--gold-lo) 100%);
  background-size: 250% 100%; background-position: 100% 0;
  animation: shimmer 7s ease-in-out 1s infinite;
}
@keyframes shimmer { 0%, 15% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
.tile-head::after { z-index: 0; animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-18%, 22%) scale(1.15); } }

/* Form progress meter */
.progress[hidden] { display: none; }
.progress { display: flex; align-items: center; gap: .75rem; margin: -.5rem 0 1.25rem; }
.progress-track { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.progress-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: right; }
.signup.is-ready .progress-label { color: var(--gold-hi); }

/* Gold button sheen once the form is complete */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); opacity: 0; pointer-events: none; }
@keyframes sheen { 0% { left: -60%; opacity: 1; } 100% { left: 130%; opacity: 1; } }
.signup.is-ready .btn-gold::after { animation: sheen 1.1s ease .1s 1; }

/* Rider pass shown after a successful sign-up */
.rider-pass {
  position: relative; border-radius: 18px; padding: 1.25rem 1.25rem 1rem; margin-top: .5rem;
  background: linear-gradient(135deg, rgba(244,223,168,.14), rgba(216,180,106,.04) 45%, rgba(255,255,255,.02));
  border: 1px solid rgba(216,180,106,.45);
  animation: pass-in .7s cubic-bezier(.2, .8, .2, 1.1) both;
}
.rider-pass[hidden] { display: none; }
@keyframes pass-in { from { opacity: 0; transform: translateY(10px) scale(.97) rotateX(12deg); } to { opacity: 1; transform: none; } }
.pass-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.pass-brand { display: flex; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pass-check { width: 34px; height: 34px; }
.pass-check circle { fill: rgba(216,180,106,.12); stroke: var(--gold); stroke-width: 1.5; }
.pass-check path { fill: none; stroke: var(--gold-hi); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 0; animation: check .5s ease .45s both; }
@keyframes check { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
.pass-title { font-size: 1.45rem; font-weight: 650; color: #fff; letter-spacing: -.02em; margin: 0 0 1rem; }
.pass-meta { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: .75rem; margin: 0; padding-top: .9rem; border-top: 1px dashed rgba(216,180,106,.35); }
.pass-meta dt { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pass-meta dd { margin: .15rem 0 0; font-size: .9rem; font-weight: 600; color: #fff; }

/* ---------------------------------------------------------------- Scroll & hover polish
   Inspired by modern product sites: blur-up reveals, arrow-chip buttons, sibling dimming. */
:root { --ease-snap: cubic-bezier(.86, 0, .07, 1); --ease-soft: cubic-bezier(.2, .7, .2, 1); }

/* Scroll reveal (targets get .reveal from site.js; hidden only when JS runs and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .reveal {
    opacity: 0; transform: translateY(22px); filter: blur(8px);
    transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft), filter .8s var(--ease-soft);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  html:not(.no-js) .reveal.is-visible { opacity: 1; transform: none; filter: none; }
}

/* Section headings: a faint one-time sheen as they arrive */
.section h2.reveal.is-visible {
  background-image: linear-gradient(105deg, #fff 0 40%, var(--gold-hi) 50%, #fff 60% 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: heading-sheen 1.6s var(--ease-soft) .35s 1 both;
}
@keyframes heading-sheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }

/* Nav links: dim the others, gold underline grows from the centre */
.site-nav a { position: relative; transition: color .2s ease, opacity .2s ease; }
.site-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: .3rem; height: 1px; background: var(--gold); transition: left .3s var(--ease-soft), right .3s var(--ease-soft); }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { left: .8rem; right: .8rem; }
@media (hover: hover) { .site-nav ul:hover a:not(:hover) { opacity: .55; } }

/* Arrow-chip buttons: the chip tightens into a circle and the arrow nudges forward */
.btn-cta { position: relative; padding-right: 4.25rem; }
.btn-cta.btn-block { padding-left: 4.25rem; }
.btn-chip {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  height: calc(100% - 12px); width: 3rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #140f04; color: var(--gold-hi);
  transition: width .35s var(--ease-snap), background-color .3s ease, color .3s ease;
}
.btn-chip svg { transition: transform .4s var(--ease-soft); transform: translateX(-2px); }
.btn-cta:hover .btn-chip, .btn-cta:focus-visible .btn-chip { width: 38px; }
.btn-cta:hover .btn-chip svg, .btn-cta:focus-visible .btn-chip svg { transform: translateX(2px); }
.btn-gold.btn-cta:hover .btn-chip, .btn-gold.btn-cta:focus-visible .btn-chip { background: #fff; color: #140f04; }
.btn-outline .btn-chip { background: var(--gold); color: #140f04; }
.btn-outline.btn-cta:hover .btn-chip, .btn-outline.btn-cta:focus-visible .btn-chip { background: #fff; }
.btn-gold:hover { transform: none; }
fieldset[disabled] .btn-chip { background: #3a414d; color: #8792a2; }

/* How-it-works cards: gold rule draws across the top, number lifts, siblings dim */
.steps li { position: relative; transition: background .35s ease, opacity .35s ease; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gold-hi), var(--gold-lo)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-snap); }
.step-num { transition: transform .4s var(--ease-soft), color .3s ease; }
@media (hover: hover) {
  .steps li:hover { background: var(--surface); }
  .steps li:hover::before { transform: scaleX(1); }
  .steps li:hover .step-num { transform: translateY(-4px); color: var(--gold-hi); }
  .steps:hover li:not(:hover) { opacity: .6; }
}

/* Area chips: lift with a gold edge, siblings dim */
.area { transition: border-color .25s ease, background .25s ease, transform .3s var(--ease-soft), opacity .25s ease; }
@media (hover: hover) {
  .area:hover { border-color: rgba(216,180,106,.6); background: rgba(216,180,106,.08); transform: translateY(-2px); }
  .area-list:hover .area:not(:hover) { opacity: .6; }
}

/* FAQ: smooth body, hover tint, icon spins */
.faq-body { overflow: hidden; }
.faq summary { transition: color .2s ease, padding-left .3s var(--ease-soft); }
.faq summary::after { transition: transform .35s var(--ease-snap), color .2s ease; }
.faq details.is-closing summary::after { transform: translateY(-50%) rotate(0deg); }
@media (hover: hover) {
  .faq summary:hover { color: var(--gold-hi); padding-left: .35rem; }
  .faq summary:hover::after { color: var(--gold-hi); }
}

/* Soft blurred glows behind the alternate sections */
.section-alt { position: relative; overflow: hidden; isolation: isolate; }
.section-alt::before {
  content: ""; position: absolute; z-index: -1; width: 38rem; height: 22rem; right: -10rem; top: -6rem; border-radius: 50%;
  background: rgba(216,180,106,.10); filter: blur(110px); pointer-events: none;
}

/* Footer links: gentle fade */
.footer-links a { transition: color .2s ease, opacity .2s ease; }
@media (hover: hover) { .footer-links:hover a:not(:hover) { opacity: .6; } }
