/* Loft at night: one warm dark page, cream ink, lamp orange as the one accent and the only light source.
   Motion: entrances from scale .97 + opacity 0, presses scale .97 in 150ms, transform and opacity only,
   UI motion under 300ms. The rare moments (first load, cards made, joined) get the big motion. */
:root {
  --base: #17130F; --card: #241D17; --card-2: #2D251D; --ink: #F5EEE2; --ink-2: #B9AC9B; --ink-3: #8A7F72;
  --line: rgba(245, 238, 226, 0.10);
  --walnut: #C9A27E; --lamp-text: #F2A05E; --lamp-1: #F2701E; --lamp-2: #D24A08; --glow: #F2792B;
  --night-1: #1F1D33; --night-2: #120F0C;
  --sky-1: #12152E; --sky-2: #1B1F3A; --sky-3: #2E2346; --sky-4: #6B3344; --sky-5: #C55B2C; --sky-6: #F2A04E;
  --walnut-1: #523726; --walnut-2: #3B2719; --olive-1: #566C22; --olive-2: #3E4F17; --brick-1: #A54A28; --brick-2: #7E331A; --cream: #F3EEE4;
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.28);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.36);
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --in-out: cubic-bezier(0.65, 0, 0.35, 1);
  interpolate-size: allow-keywords;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--base); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
body::before { content: ""; position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 10px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header: logo left, links right */
.top { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-family: var(--serif); font-size: 28px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; padding: 8px 12px; margin-left: -12px; }
.nav { display: flex; gap: 4px; font-size: 15px; margin-right: -12px; }
.top.solid { position: static; border-bottom: 1px solid var(--line); }
.narrow { max-width: 720px; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px; border-radius: 12px; opacity: 0.7; transition: opacity 150ms ease-out; }
.nav a:hover { opacity: 1; }

/* Type */
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 82px); line-height: 1.03; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 19px; letter-spacing: -0.015em; margin: 0 0 6px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--walnut); margin: 0 0 12px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 31em; margin: 18px auto 0; text-wrap: pretty; }
.section-lede { color: var(--ink-2); max-width: 30em; margin: 16px 0 0; text-wrap: pretty; }

/* Buttons: big targets, squash on press. The orange pill is the app's own main button. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1 var(--sans); letter-spacing: -0.01em; border: 0; cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; transition: scale 150ms ease-out, filter 150ms ease-out, box-shadow 200ms ease-out;
}
.btn:active { scale: 0.97; }
.btn-lamp {
  color: #fff; background: linear-gradient(180deg, #F78A3A 0%, var(--lamp-1) 45%, var(--lamp-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(110, 36, 0, 0.3), 0 1px 2px rgba(150, 52, 4, 0.3), 0 8px 20px rgba(210, 74, 8, 0.22);
  text-shadow: 0 1px 0 rgba(140, 46, 0, 0.35);
}
@media (hover: hover) { .btn-lamp:hover { filter: brightness(1.05); } }
.btn:disabled { cursor: default; }
.btn-light { background: var(--card-2); color: var(--ink); border: 1px solid var(--line); min-height: 44px; padding: 0 20px; font-size: 15px; }
@media (hover: hover) { .btn-light:hover { box-shadow: var(--shadow); } }

/* Waitlist: one cream pill holding the field and the button */
.waitlist { width: 100%; max-width: 520px; margin: 32px auto 0; }
.field-row {
  display: flex; gap: 8px; padding: 7px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow-lift);
  border: 1.5px solid var(--line); transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}
.field-row:focus-within { border-color: rgba(242, 121, 43, 0.6); box-shadow: 0 0 0 4px rgba(242, 121, 43, 0.16), var(--shadow-lift); }
.field { flex: 1; min-width: 0; height: 54px; padding: 0 12px 0 22px; font: inherit; font-size: 17px; color: var(--ink); background: none; border: 0; outline: none; appearance: none; }
.field::placeholder { color: var(--ink-3); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14.5px; color: var(--ink-2); margin: 14px 12px 0; min-height: 22px; text-align: center; text-wrap: pretty; }
.waitlist.invalid .field-row { border-color: #E0533D; box-shadow: 0 0 0 4px rgba(224, 83, 61, 0.14), var(--shadow-lift); }
.waitlist.invalid .form-msg { color: #FF9C86; }
.waitlist.shake .field-row { animation: shake 360ms ease-out; }
@keyframes shake { 0%{transform:translateX(0)} 16%{transform:translateX(-10px)} 33%{transform:translateX(10px)} 50%{transform:translateX(-6px)} 66%{transform:translateX(6px)} 83%{transform:translateX(-3px)} 100%{transform:translateX(0)} }
.joined {
  display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 70px; padding: 8px 26px 8px 18px; margin: 0 auto; width: fit-content; max-width: 100%;
  background: var(--card); border: 1.5px solid rgba(242, 121, 43, 0.5); border-radius: 999px; box-shadow: var(--shadow-lift); text-align: left; overflow-wrap: anywhere;
}
.joined img { width: 34px; flex: none; filter: drop-shadow(0 0 12px rgba(242, 121, 43, 0.8)); }
.joined-email { color: var(--ink-2); }
.joined.pop { animation: pop 520ms var(--out) both; }
.joined.pop img { animation: lamp-on 720ms var(--out) both; }
@keyframes pop {
  0% { opacity: 0; transform: translateY(10px) scale(0.97); }
  45% { opacity: 1; transform: translateY(-6px) scale(1.06, 0.95); }
  70% { transform: translateY(2px) scale(0.98, 1.03); }
  100% { transform: none; }
}
@keyframes lamp-on {
  0% { filter: brightness(0.55) saturate(0.4); transform: scale(0.9) rotate(-10deg); }
  50% { filter: brightness(1.2) drop-shadow(0 4px 18px rgba(242, 121, 43, 0.9)); transform: scale(1.22, 1.1) rotate(5deg); }
  75% { transform: scale(0.96, 1.03) rotate(-2deg); }
  100% { transform: none; }
}

/* Hero: the whole loop in one scene. You write, it becomes a coin, the coin turns on a light. */
.hero { position: relative; overflow: hidden; text-align: center; padding: 104px 0 250px;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 34%, var(--sky-3) 60%, var(--sky-4) 80%, var(--sky-5) 93%, var(--sky-6) 100%); }
.hero .wrap { position: relative; z-index: 1; }
.stars { position: absolute; inset: 0 0 auto 0; width: 100%; height: 300px; }
.skyline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 190px; }
.scene { position: relative; isolation: isolate; display: grid; grid-template-columns: 270px minmax(0, 500px); gap: 56px; align-items: center; justify-content: center; margin: 0 auto 8px; }
.note { position: relative; text-align: left; background: var(--card); border-radius: var(--radius); padding: 20px 22px 22px; box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line); rotate: -3deg; }
.note small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--walnut); }
.typed { font-family: var(--serif); font-size: 21px; line-height: 1.35; letter-spacing: -0.01em; margin: 8px 0 18px; min-height: 2.7em; text-wrap: balance; }
.typed span { background: linear-gradient(var(--ink), var(--ink)) no-repeat; -webkit-background-clip: text; background-clip: text; }
.chips { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 9px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #DDF0B8; background: rgba(120, 170, 30, 0.22); box-shadow: inset 0 0 0 1px rgba(150, 200, 60, 0.35); }
.chip i { width: 16px; height: 16px; border-radius: 50%; background: #8DBE2A; position: relative; }
.chip i::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 8px; border: solid #17130F; border-width: 0 2px 2px 0; rotate: 42deg; }
.scene-window { position: relative; }
/* The room's own glow, once every light is on */
.scene-window::before { content: ""; position: absolute; inset: 6% -8% -2%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 121, 43, 0.30), rgba(242, 121, 43, 0)); opacity: 0; transition: opacity 600ms ease-out; }
/* A soft shadow so the room sits in the sky */
.scene-window::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: 1%; height: 8%; z-index: -1; border-radius: 50%; background: rgba(6, 6, 16, 0.55); filter: blur(18px); }
.scene[data-step="3"] .scene-window::before, .scene:not([data-step]) .scene-window::before { opacity: 1; }
.hero h1 { margin-top: 28px; transition: color 420ms ease-out, text-shadow 420ms ease-out; text-shadow: 0 0 60px rgba(242, 121, 43, 0.3); }
.hero-replay { margin-top: 14px; }

/* Start poses, set by the script. Without scripts the finished scene shows. */
.scene[data-step] .typed span { color: transparent; background-size: 0% 100%; }
.scene[data-step].typing .typed span, .scene[data-step].typed-done .typed span { background-size: 100% 100%; }
.scene.typing .typed span { transition: background-size 1300ms steps(60); }
.scene[data-step] .chip { opacity: 0.32; filter: saturate(0); }
.scene[data-step] .chip i { background: rgba(245, 238, 226, 0.25); }
.scene[data-step] .chip i::after { opacity: 0; }
.scene[data-step] .chip.done { opacity: 1; filter: none; animation: chip-pop 420ms var(--out); }
.scene[data-step] .chip.done i { background: #8DBE2A; }
.scene[data-step] .chip.done i::after { opacity: 1; }
@keyframes chip-pop { 0% { transform: scale(0.97); } 40% { transform: scale(1.16, 0.92); } 70% { transform: scale(0.96, 1.04); } 100% { transform: none; } }
.scene[data-step="0"] ~ h1 { color: rgba(245, 238, 226, 0.22); text-shadow: none; }
.scene[data-step="1"] ~ h1 { color: rgba(245, 238, 226, 0.45); text-shadow: none; }
.scene[data-step="2"] ~ h1 { color: rgba(245, 238, 226, 0.7); text-shadow: none; }
/* The room takes the coin with a small bounce */
.scene-window.bump { animation: bump 420ms var(--out); }
@keyframes bump { 0% { transform: none; } 35% { transform: translateY(-6px) scale(1.03, 0.98); } 70% { transform: translateY(2px) scale(0.99, 1.01); } 100% { transform: none; } }
/* The coin */
.coin { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle at 35% 28%, #FFF3C4 0%, #FFE08A 30%, #E8A21C 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 244, 200, 0.7), inset 0 -3px 0 rgba(160, 100, 0, 0.45), 0 3px 0 #B87A0C, 0 0 22px rgba(255, 200, 80, 0.7); }
.coin::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(160, 100, 0, 0.4); }

/* The room: four pictures stacked. A light comes on by fading the next picture in. */
.room { position: relative; aspect-ratio: 1300 / 1084; }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 380ms ease-out; }
.room img[data-room="dark"] { opacity: 1; }
.room[data-lit="one"] [data-room="one"],
.room[data-lit="two"] [data-room="one"], .room[data-lit="two"] [data-room="two"],
.room[data-lit="all"] [data-room="one"], .room[data-lit="all"] [data-room="two"], .room[data-lit="all"] [data-room="all"] { opacity: 1; }

/* Sections share the one flat page colour */
section:not(.hero) { padding: 96px 0; }

/* The window: the loft, seen from outside at night */
.window { background: linear-gradient(180deg, #262340, #1B1622 70%, #15110E); border-radius: 28px; box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(245, 238, 226, 0.08); overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.step { background: linear-gradient(180deg, var(--walnut-1), var(--walnut-2)); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.10); }
.step:nth-child(2) { background: linear-gradient(180deg, var(--olive-1), var(--olive-2)); }
.step:nth-child(3) { background: linear-gradient(180deg, var(--brick-1), var(--brick-2)); }
.step .num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 20px; border-radius: 50%; font-weight: 600; font-size: 15px; color: var(--base); background: var(--cream); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; }
.step p { margin: 0; color: rgba(243, 238, 228, 0.82); font-size: 16px; text-wrap: pretty; }

/* Two-column sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.point { border-left: 2px solid var(--olive-1); padding-left: 22px; margin-top: 32px; max-width: 30em; }
.point p { margin: 0; color: var(--ink-2); font-size: 16px; }
.demo-note { font-size: 14px; color: var(--ink-3); margin: 28px 0 0; }

/* Phone: the Write screen turning into Cards */
.device { justify-self: center; width: 100%; max-width: 360px; }
.screen {
  position: relative; height: 560px; overflow: hidden; background: var(--base); border-radius: 46px;
  box-shadow: 0 0 0 10px #2E261F, 0 0 0 11px rgba(245, 238, 226, 0.14), 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 60px rgba(0, 0, 0, 0.45);
  margin: 11px;
}
.view { position: absolute; inset: 0; padding: 40px 20px 20px; display: flex; flex-direction: column; gap: 12px; transition: transform 260ms var(--out), opacity 200ms ease-out; }
.screen-title { font-family: var(--serif); font-size: 30px; letter-spacing: -0.02em; margin: 0 4px 6px; }
.paper { background: var(--card); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 20px 22px; font-family: var(--serif); font-size: 18px; line-height: 1.5; flex: 1; }
.paper p { margin: 0 0 8px; }
.make { width: 100%; cursor: default; transition: transform 150ms ease-out; }
.count { margin: 0 4px; font-size: 14px; color: var(--ink-2); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 16px 18px; }
.card small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--walnut); }
.card b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; margin-top: 4px; }
.card span { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.card em { display: block; font-style: normal; font-size: 13px; color: var(--lamp-text); margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
/* Poses: write (start), pressed, cards (end). Without scripts the end pose shows. */
.js .device[data-pose="write"] .cards-view, .js .device[data-pose="pressed"] .cards-view { transform: translateX(28px) scale(0.97); opacity: 0; }
.device[data-pose="pressed"] .make { transform: scale(0.96); filter: brightness(0.94); }
.device[data-pose="cards"] .write-view, .device:not([data-pose]) .write-view { transform: translateX(-28px) scale(0.97); opacity: 0; }
.device[data-pose="cards"].play .card { animation: pop 520ms var(--out) both; }
.device[data-pose="cards"].play .card + .card { animation-delay: 110ms; }
.replay-row { display: flex; justify-content: center; min-height: 44px; margin-top: 18px; }

/* Lit and dimmed */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
figure { position: relative; isolation: isolate; margin: 0; }
figure.lit::before { content: ""; position: absolute; inset: 4% -6% 14%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 121, 43, 0.26), rgba(242, 121, 43, 0)); }
figcaption { display: flex; align-items: center; justify-content: center; gap: 9px; color: #F5EEE2; font-weight: 600; font-size: 15px; padding: 10px 0 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #7A7166; }
.dot.lit { background: var(--glow); box-shadow: 0 0 10px var(--glow); }

/* Who lives in the loft */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 440px; width: 100%; justify-self: center; }
.face img { width: 100%; border-radius: 32px; box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line); }
.face:first-child { rotate: -3deg; }
.face:last-child { rotate: 3deg; translate: 0 18px; }
.moods { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; max-width: 30em; }
.moods li { color: var(--ink-2); padding-left: 22px; position: relative; }
.moods li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.moods strong { color: var(--ink); font-weight: 600; }

/* Closing */
.cta { text-align: center; }
.panel { border-radius: 40px; padding: 72px 24px 64px; background: linear-gradient(180deg, var(--olive-1), var(--olive-2)); box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.panel .section-lede, .panel .form-msg { color: rgba(243, 238, 228, 0.82); }
.panel .field-row, .panel .joined { background: var(--base); }
.checker { height: 32px; background: conic-gradient(var(--cream) 25%, var(--base) 0 50%, var(--cream) 0 75%, var(--base) 0) 0 0 / 32px 32px; }
.cta .section-lede { margin-left: auto; margin-right: auto; }
.cta-lamp { width: 88px; margin: 0 auto 24px; filter: drop-shadow(0 0 30px rgba(242, 121, 43, 0.6)); }

footer { padding: 28px 0 40px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
footer nav { display: flex; gap: 4px; margin-right: -12px; }
footer a { color: var(--ink-2); text-decoration: none; padding: 12px; border-radius: 12px; }
footer a:hover { color: var(--ink); }

/* Support, privacy and terms */
.doc { padding: 56px 0 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 12px; }
.doc h2 { font-family: var(--sans); font-weight: 650; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; margin: 44px 0 10px; }
.doc h3 { font-size: 17px; margin: 28px 0 6px; }
.doc p, .doc li { color: #D8CEC0; }
.doc a { color: var(--lamp-text); text-underline-offset: 3px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: #D8CEC0; }
.doc th { color: var(--ink); }
.doc .section-lede { margin: 0 0 32px; }
.contact { background: var(--card); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 32px; box-shadow: inset 0 0 0 1px rgba(242, 121, 43, 0.4); }
.contact p { margin: 0; }
.contact p + p { margin-top: 4px; color: var(--ink-2); }
details { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); margin: 12px 0; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 20px 12px 24px; font-weight: 600; cursor: pointer; list-style: none; border-radius: 18px; }
summary::-webkit-details-marker { display: none; }
summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 121, 43, 0.16); color: var(--lamp-text); transition: transform 220ms var(--out); }
details[open] summary .plus { transform: rotate(45deg); }
details::details-content { block-size: 0; overflow: clip; transition: block-size 220ms var(--out), content-visibility 220ms allow-discrete; }
details[open]::details-content { block-size: auto; }
details .answer { padding: 0 24px 22px; }
details .answer p { margin: 0 0 10px; color: var(--ink-2); }
details .answer p:last-child { margin-bottom: 0; }

/* Scroll reveal, once */
.js .reveal { opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 280ms var(--out), transform 280ms var(--out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .scene { grid-template-columns: minmax(0, 460px); gap: 0; }
  .note { width: min(270px, 78%); margin: 0 0 -8px 4px; z-index: 1; }
}
@media (max-width: 860px) {
  section:not(.hero) { padding: 72px 0; }
  .steps, .split { grid-template-columns: 1fr; gap: 14px; }
  .split { gap: 44px; }
  .split.flip .pair { order: 2; }
  .step { padding: 24px; }
}
@media (max-width: 560px) {
  .hero { padding: 88px 0 200px; }
  .skyline { height: 150px; }
  .panel { border-radius: 30px; padding: 56px 18px 48px; margin: 0 -8px; }
  .typed { font-size: 19px; }
  .field-row { flex-direction: column; border-radius: 30px; padding: 8px; }
  .field { flex: none; width: 100%; text-align: center; padding: 0 12px; }
  .waitlist .btn { width: 100%; }
  .joined { border-radius: 30px; }
  .pair { gap: 12px; }
  figcaption { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
