/* Illuminate: landing page. Dark, immersive, editorial. Self-hosted fonts (OFL): Fraunces, Inter. */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --night: #0A0B1F;
  --night-2: #12142F;
  --indigo: #2F3A8F;
  --indigo-hi: #8B9CFF;
  --gold: #E3B94F;
  --gold-deep: #B7811A;
  --gold-soft: #F6E7BF;
  --cream: #FBF7EF;
  --ink: #1F2340;
  --text: #ECE8F5;
  --muted: #A7A9C6;
  --line: rgba(255, 255, 255, .12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* film grain */
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { max-width: 100%; }
img { height: auto; } /* width/height attributes only reserve space; never let them stretch an image */
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: block; }
.fine { font-size: .88rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 30px;
  background: linear-gradient(180deg, #F2CD6B, var(--gold) 55%, #CF9F33); color: #1b1503; font-weight: 700; font-size: 1.02rem;
  border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 12px 40px -8px rgba(227, 185, 79, .55);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 18px 54px -8px rgba(227, 185, 79, .75); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: 0 0 0 1.5px var(--line) inset; }
.btn.ghost:hover { box-shadow: 0 0 0 1.5px var(--gold) inset; color: var(--gold); }
.btn.dark { background: var(--ink); color: #fff; box-shadow: 0 12px 34px -10px rgba(31, 35, 64, .7); }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.stuck { background: rgba(10, 11, 31, .88); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font: 600 1.3rem var(--serif); letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav .btn { min-height: 44px; padding: 8px 20px; font-size: .92rem; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 104px 0 76px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 50% at 50% 78%, rgba(227, 185, 79, .38), transparent 70%), radial-gradient(70% 60% at 20% 0%, rgba(47, 58, 143, .65), transparent 70%), radial-gradient(60% 60% at 90% 30%, rgba(139, 156, 255, .18), transparent 70%); }
#embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.flame { width: clamp(78px, 9vw, 112px); height: auto; margin: 0 auto 14px; display: block; filter: drop-shadow(0 0 40px rgba(227, 185, 79, .65)); animation: glow 3.4s ease-in-out infinite; }
.flame .fl { transform-origin: 50% 100%; animation: flicker 2.6s ease-in-out infinite; transform-box: fill-box; }
.flame .fl2 { animation-duration: 1.9s; animation-delay: -.7s; }
@keyframes flicker { 0%, 100% { transform: scale(1, 1) skewX(0); } 25% { transform: scale(1.03, 1.06) skewX(-1.4deg); } 55% { transform: scale(.98, .97) skewX(1.2deg); } 80% { transform: scale(1.02, 1.04) skewX(-.6deg); } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 34px rgba(227, 185, 79, .55)); } 50% { filter: drop-shadow(0 0 70px rgba(227, 185, 79, .85)); } }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.9rem); font-weight: 600; line-height: .98; letter-spacing: -.035em; margin: 0 auto 22px; max-width: 14ch; font-variation-settings: "opsz" 144; }
.hero h1 .line { display: block; overflow: hidden; padding: .02em 0 .2em; margin-bottom: -.12em; }
.hero h1 .w { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .09s); }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero h1 em .w { background: linear-gradient(100deg, #FFE9A8, var(--gold) 45%, #E7A93A); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
@keyframes rise { to { transform: translateY(0); } }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .fine { margin-top: 20px; }
.fade-in { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.scrollcue { position: absolute; bottom: 22px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line); border-radius: 14px; }
.scrollcue::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--night-2); }
.mq-row { display: flex; width: max-content; animation: mq 46s linear infinite; }
.mq-row + .mq-row { margin-top: 10px; animation-direction: reverse; animation-duration: 58s; }
.mq-row span { font: 500 clamp(1.6rem, 4vw, 3rem)/1.1 var(--serif); white-space: nowrap; padding-right: 2.2rem; color: transparent; -webkit-text-stroke: 1px rgba(236, 232, 245, .55); letter-spacing: .02em; }
.mq-row span b { color: var(--gold); -webkit-text-stroke: 0; font-weight: 600; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Statement */
.statement { padding: clamp(90px, 16vw, 200px) 0; }
.statement p { font: 500 clamp(2rem, 5.6vw, 4.6rem)/1.08 var(--serif); letter-spacing: -.025em; margin: 0; }
.statement .w { opacity: .16; transition: opacity .5s var(--ease), color .5s; }
.statement .w.on { opacity: 1; }
.statement .w.gold.on { color: var(--gold); font-style: italic; }

/* Tour: six-step carousel (swipe, arrows, dots) */
.tour { padding: 40px 0 120px; position: relative; overflow-x: clip; }
.tour-head { margin-bottom: 32px; }
.tour h2, .try h2, .bento h2, .vote h2, .faq h2 { font-size: clamp(2.2rem, 6vw, 4.8rem); }
.try-grid > *, .pledge > *, .bento-grid > * { min-width: 0; }
.car-track { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 28px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 72px; align-items: center; padding: 12px 8px 24px 104px; }
/* Phone frame height follows the screen height so the step, the arrows and the whole screenshot fit in one view */
.slide-shot { height: clamp(380px, calc(100svh - 230px), 620px); display: flex; justify-content: center; }
.slide-phone { height: 100%; width: auto; max-width: 100%; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 42px; border: 9px solid #1b1d3d; background: var(--cream); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8), 0 0 70px -6px rgba(227, 185, 79, .32); }
.slide-text { max-width: 520px; }
.slide-text .n { font: italic 400 clamp(3.5rem, 8vw, 6.5rem)/1 var(--serif); color: var(--gold); margin-bottom: 8px; }
.slide-text h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.slide-text p { color: var(--muted); font-size: 1.12rem; }
.car-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 8px; }
.carousel { position: relative; }
/* Chunky gold arrows beside the screenshot; main.js sets --ay (height of the screenshot's middle) and --axl/--axr */
.car-arrow { position: absolute; z-index: 3; top: var(--ay, 50%); left: var(--axl, 0); width: 64px; height: 64px; padding: 4px; border: 0; background: none; cursor: pointer; color: var(--gold); transform: translateY(-50%); filter: drop-shadow(0 6px 14px rgba(227, 185, 79, .4)); transition: transform .2s var(--ease), opacity .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.car-arrow.next { left: var(--axr, auto); right: auto; }
.car-arrow svg { display: block; width: 100%; height: 100%; }
.car-arrow:hover:not(:disabled) { color: #F4D27C; transform: translateY(-50%) scale(1.1); }
.car-arrow:active:not(:disabled) { transform: translateY(-50%) scale(.94); }
.car-arrow:disabled { opacity: .22; cursor: default; filter: none; }
.car-arrow:focus-visible, .car-dot:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 12px; }
.car-dots { display: flex; gap: 2px; }
.car-dot { width: 32px; height: 44px; border: 0; padding: 0; cursor: pointer; background: transparent; position: relative; }
.car-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 99px; transform: translate(-50%, -50%); background: rgba(255, 255, 255, .28); transition: width .3s var(--ease), background .3s; }
.car-dot[aria-current="true"]::after { width: 26px; background: var(--gold); }

/* Demo */
.try { padding: 120px 0; background: radial-gradient(70% 60% at 80% 50%, rgba(47, 58, 143, .55), transparent 70%), var(--night-2); border-block: 1px solid var(--line); }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.try p.big { font-size: 1.2rem; color: var(--muted); max-width: 30em; }
.demo { background: var(--cream); color: var(--ink); border-radius: 28px; padding: 28px; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 0 90px -20px rgba(227, 185, 79, .45); transform: rotate(-1.2deg); transition: transform .5s var(--ease); }
.demo:hover, .demo:focus-within { transform: none; }
.demo .meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.demo .ref { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; color: #855C00; }
.chip { font: 600 .82rem/1 var(--sans); padding: 7px 14px; border-radius: 999px; background: var(--gold-soft); color: #855C00; transition: background .3s, color .3s; }
.chip.bad { background: #F9DDD8; color: #A93226; }
.track { height: 5px; background: #E7DFCF; border-radius: 3px; overflow: hidden; margin-bottom: 18px; }
.track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width .5s var(--ease); }
.verse { font: 500 clamp(1.5rem, 3vw, 2rem)/1.7 var(--serif); letter-spacing: .02em; margin: 0 0 20px; min-height: 4.4em; }
.verse .cur { background: var(--gold-soft); color: var(--indigo); font-weight: 700; border-radius: 6px; padding: 0 4px; }
.verse .cur.shake { animation: shake .4s; background: #F9DDD8; color: #A93226; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.demo form { display: flex; gap: 10px; }
.demo input { flex: 1; min-width: 0; font: 500 1.1rem var(--sans); padding: 15px 16px; border-radius: 14px; border: 1.5px solid #857C66; background: #fff; color: var(--ink); }
.demo input:focus-visible { outline-color: var(--indigo); }
.demo .go { min-height: 0; padding: 0 22px; border-radius: 14px; background: var(--indigo); color: #fff; box-shadow: none; }
.demo .row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.linkbtn { background: none; border: 0; color: var(--indigo); font: 600 .95rem var(--sans); cursor: pointer; padding: 10px 4px; min-height: 44px; }
.demo .win { display: none; text-align: center; padding: 6px 0 4px; }
.demo.done .win { display: block; animation: fadeUp .6s var(--ease); }
.demo.done form, .demo.done .row { display: none; }
.win h3 { font-size: 2rem; margin: 6px 0; color: var(--ink); }
.win p { color: #5F6379; margin-bottom: 14px; }

/* Bento */
.bento { padding: 130px 0; }
.bento-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.tile { position: relative; overflow: hidden; border-radius: 28px; padding: 30px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line); min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .5s var(--ease), border-color .3s; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(227, 185, 79, .2), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover { transform: translateY(-4px); border-color: rgba(227, 185, 79, .45); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 1.7rem; margin-bottom: .3em; position: relative; }
.tile p { color: var(--muted); margin: 0; position: relative; }
.tile .big { font: 600 clamp(3.4rem, 8vw, 6.4rem)/.9 var(--serif); letter-spacing: -.04em; color: var(--gold); margin-bottom: 14px; position: relative; }
.t-a { grid-column: span 4; background: radial-gradient(80% 90% at 90% 0%, rgba(227, 185, 79, .22), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); }
.t-b { grid-column: span 2; }
.t-c, .t-d, .t-e { grid-column: span 2; }
.t-f { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; position: relative; }
.chips span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(227, 185, 79, .5); color: var(--gold); font-weight: 600; font-size: .9rem; }
.chips span:nth-child(n+3) { background: rgba(227, 185, 79, .12); }
.theme-pair { display: flex; gap: 10px; margin-bottom: 14px; position: relative; }
.theme-pair i { flex: 1; height: 64px; border-radius: 14px; border: 1px solid var(--line); }
.theme-pair i:first-child { background: var(--cream); }
.theme-pair i:last-child { background: #12131C; }
.hang { font: 500 1.7rem/1.4 var(--serif); letter-spacing: .04em; color: var(--gold); margin-bottom: 12px; position: relative; }

/* Founding */
.founding { background: var(--cream); color: var(--ink); padding: 130px 0; position: relative; overflow: hidden; }
.founding::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -350px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 185, 79, .45), transparent 65%); }
.founding .eyebrow { color: #855C00; }
.founding h2 { font-size: clamp(2.6rem, 8vw, 6.6rem); max-width: 11ch; position: relative; }
.founding h2 em { color: var(--gold-deep); font-weight: 400; }
.founding .lead { color: #5F6379; margin-left: 0; max-width: 34em; position: relative; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 46px 0; position: relative; }
.perk { background: #fff; border-radius: 26px; padding: 30px; border: 1px solid #E7DFCF; box-shadow: 0 20px 50px -30px rgba(31, 35, 64, .35); transition: transform .5s var(--ease); }
.perk:hover { transform: translateY(-6px) rotate(-.4deg); }
.perk .i { font: italic 400 3.4rem/1 var(--serif); color: var(--gold-deep); }
.perk h3 { font-size: 1.5rem; margin: 10px 0 8px; color: var(--ink); }
.perk p { color: #5F6379; margin: 0; }
.pledge { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: var(--text); border-radius: 32px; padding: 44px; position: relative; overflow: hidden; }
.pledge::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 185, 79, .4), transparent 65%); }
.pledge h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.pledge p { color: var(--muted); }
.progress { height: 14px; background: rgba(255, 255, 255, .12); border-radius: 999px; overflow: hidden; margin: 18px 0 8px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: 999px; }
.pledge .stat { font: 600 1.05rem var(--sans); color: var(--text); }
.pledge .cta { position: relative; z-index: 1; text-align: center; }
.pledge .cta .fine { margin-top: 14px; }
.pledge .cta .fine a { color: var(--gold); }

/* Vote */
.vote { padding: 130px 0; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 44px 0; }
.logo-card { margin: 0; padding: 14px; border-radius: 26px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); transition: transform .35s var(--ease), border-color .3s; transform-style: preserve-3d; }
.logo-card:hover { border-color: var(--gold); }
.logo-card img { width: 100%; aspect-ratio: 1; display: block; border-radius: 18px; margin-bottom: 14px; }
.logo-card figcaption { color: var(--muted); font-size: .93rem; line-height: 1.45; padding: 0 6px 6px; }
.logo-card strong { display: block; color: var(--text); font: 600 1.15rem var(--serif); margin-bottom: 2px; }
.vote .how { max-width: 46em; color: var(--muted); }

/* Builder + FAQ */
.builder { padding: 40px 0 120px; }
.builder blockquote { margin: 0; font: 500 clamp(1.5rem, 3.4vw, 2.6rem)/1.25 var(--serif); letter-spacing: -.015em; max-width: 24em; }
.builder cite { display: block; margin-top: 18px; font: 600 .95rem var(--sans); color: var(--gold); font-style: normal; }
.faq { padding: 40px 0 130px; }
details { border-top: 1px solid var(--line); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 500 clamp(1.15rem, 2.2vw, 1.5rem)/1.3 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 2rem/1 var(--sans); color: var(--gold); transition: transform .35s var(--ease); flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); max-width: 44em; padding-bottom: 22px; margin: 0; }

/* Final CTA + footer */
.final { position: relative; text-align: center; padding: 150px 0 130px; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 50% 100%, rgba(227, 185, 79, .45), transparent 70%), radial-gradient(60% 60% at 50% 0%, rgba(47, 58, 143, .5), transparent 70%); }
.final h2 { font-size: clamp(2.8rem, 10vw, 8.4rem); line-height: .93; max-width: 12ch; margin: 0 auto 36px; letter-spacing: -.04em; }
.final h2 em { font-weight: 400; color: var(--gold); }
footer { padding: 36px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer a { color: var(--muted); }
footer a:hover { color: var(--gold); }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.reveal.in { opacity: 1; transform: none; }
/* Hover lifts for revealed cards. Needs .in in the selector to beat .reveal.in (same specificity, later rule), and no reveal delay on hover. */
.tile.reveal, .perk.reveal, .pledge.reveal { transition: opacity .9s var(--ease), transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.tile.in:hover { transform: translateY(-4px); transition-delay: 0s; }
.perk.in:hover { transform: translateY(-6px) rotate(-.4deg); transition-delay: 0s; }
.pledge.in:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -30px rgba(227, 185, 79, .55), 0 0 0 1px rgba(227, 185, 79, .35) inset; transition-delay: 0s; }
.pledge::after { transition: transform .8s var(--ease); }
.pledge:hover::after { transform: scale(1.18); }

/* Legal pages */
.doc { background: var(--cream); color: var(--ink); }
.doc::before { display: none; }
.doc main { max-width: 720px; margin: 0 auto; padding: 120px 24px 80px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: .3em; }
.doc h2 { font-size: 1.5rem; margin-top: 1.6em; }
.doc a { color: var(--indigo); }
.doc .fine { color: #5F6379; }
.doc .nav .brand { color: var(--ink); }
.doc .nav.stuck { background: rgba(251, 247, 239, .85); border-color: #E7DFCF; }
.doc ol li, .doc ul li { margin-bottom: .6em; }

@media (max-width: 960px) {
  /* Phones and tablets: arrows on top, then the step, then the screenshot filling the rest of the screen */
  .slide { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 4px 4px 8px; height: clamp(440px, calc(100svh - 150px), 780px); }
  .slide-text { order: -1; flex: none; }
  .slide-text .n { display: inline; font-size: 1.15rem; font-style: normal; font-family: var(--sans); font-weight: 700; letter-spacing: .08em; margin: 0; }
  .slide-text .n::after { content: " of 06"; color: var(--muted); font-weight: 600; }
  .slide-text h3 { font-size: 1.45rem; margin: .2em 0 .3em; }
  .slide-text p { font-size: .98rem; line-height: 1.5; margin: 0; }
  .slide-shot { flex: 1 1 0; min-height: 0; height: auto; width: 100%; }
  .slide-phone { border-radius: 30px; border-width: 6px; }
  .car-arrow { width: 52px; height: 52px; }
  /* leave room for an arrow on each side of the screenshot */
  .slide-phone { max-height: calc((100vw - 48px - 124px) * 2); }
  .try-grid, .pledge { grid-template-columns: minmax(0, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .t-a, .t-f { grid-column: span 2; }
  .t-b, .t-c, .t-d, .t-e { grid-column: span 1; }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .logos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .bento-grid { grid-template-columns: minmax(0, 1fr); }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: span 1; }
  .tile { min-height: 200px; padding: 24px; }
  .pledge { padding: 28px; }
  .nav .btn { padding: 8px 16px; font-size: .86rem; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html, .car-track { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .hero h1 .w { transform: none; }
  .fade-in, .reveal { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
  .mq-row { animation: none; }
}

/* Contact form (contact.html) */
.contact-form { display: grid; gap: 18px; margin-top: 28px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff;
  border: 1.5px solid #D9D0BE; border-radius: 12px; padding: 12px 14px; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; border-color: var(--indigo); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; }
