/* OCdragon site layer. styles.css holds the base tokens, type, buttons, nav, hero and phone mockup;
   this file adds the multi-page structure and the section compositions on top. */

:root { --ease: cubic-bezier(.22, .8, .3, 1); --radius: 30px; interpolate-size: allow-keywords; }
@property --p { syntax: "<number>"; inherits: true; initial-value: 1; }
svg { width: 1em; height: 1em; }
.kicker { display: none; }
.lead { font-size: 21px; color: var(--forest); }
.lead em { font-style: italic; color: var(--deep); }

/* ---------- Navigation ---------- */
.nav-links > a[aria-current="page"] { color: var(--deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-links > a:not(.button):hover { color: var(--deep); }

/* Early-access calls-to-action use copy only; the tick remains available for other actions. */
.nav-links .button .tick,
.actions .button .tick,
.waitlist-form .button .tick,
.cta-band .button .tick { display: none; }

/* ---------- Shared bits ---------- */
.status-pill { display: inline-block; margin-bottom: 18px; padding: 6px 13px; border-radius: 999px; font: 500 12px/1.3 JetBrains, monospace; letter-spacing: .04em; }
.status-pill.planned { border: 1px solid var(--deep); color: var(--deep); background: #fff; }
.status-pill.research { color: #fff; background: var(--forest); }
.status-pill.live { color: #fff; background: var(--deep); }
.demo-label { margin: 26px 0 0; text-align: center; color: #5d6a7f; font-size: 14px; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.arrow-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.round-btn { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid #ffffff66; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.round-btn:hover { background: #ffffff1f; transform: translateY(-2px); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn:disabled { opacity: .35; cursor: default; transform: none; }
button { font-family: inherit; }

/* ---------- 1 · Hero ---------- */
.hero-copy h1 { font-size: clamp(3.1rem, 6.6vw, 6.3rem); }
.hero-copy h1 em { font-style: normal; color: var(--green); }
.hero-copy small { color: #4f6275; }
.hero-character img { width: min(790px, 64vw); right: -82px; bottom: -36px; }

/* ---------- 2 · Checking loop ---------- */
.loop { position: relative; z-index: 4; margin-top: -40px; padding: 90px 0 120px; border-radius: 42px 42px 0 0; background: #fff; box-shadow: 0 -18px 45px -38px #123d2e66; }
.loop-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.loop-intro h2 { margin: 0; }
.loop-intro p:last-child { margin-bottom: 0; }
.loop-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.loop-step { position: relative; display: flex; flex-direction: column; min-height: 510px; padding: 26px 24px 0; overflow: hidden; border-radius: 28px; background: var(--mint); transition: transform .25s var(--ease), box-shadow .25s; }
.loop-step:nth-child(2) { margin-top: 36px; }
.loop-step:nth-child(3) { margin-top: 72px; background: var(--mint2); }
.loop-step:nth-child(4) { margin-top: 108px; background: var(--forest); }
.loop-step:nth-child(4) h3, .loop-step:nth-child(4) p { color: #fff; }
.loop-step:nth-child(4) .step-no { color: #80e3b8; border-color: #ffffff55; }
.loop-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-no { align-self: flex-start; margin-bottom: 22px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--deep); font: 500 12px JetBrains, monospace; }
.loop-step p { font-size: 15px; }
.loop-step img { position: absolute; bottom: 0; left: 50%; display: block; width: auto; max-width: none; height: 290px; transform: translateX(-50%); pointer-events: none; }
.loop-step:nth-child(1) img { height: 365px; transform: translateX(-47%); }
.loop-step:nth-child(2) img { height: 270px; transform: translateX(-54%); }
.loop-step:nth-child(3) img { height: 290px; left: -46px; transform: none; }
.loop-step:nth-child(4) img { height: 315px; }
.loop-note { max-width: 640px; margin: 50px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.loop-note a { color: var(--deep); font-weight: 600; }

/* ---------- 3 · Vault showcase ---------- */
.vault { position: relative; overflow: hidden; background: var(--mint); }
.vault-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.vault-head p { max-width: 590px; margin: 0 auto; font-size: 19px; }
.vault-stage { position: relative; display: grid; grid-template-columns: 1fr 320px 1fr; grid-template-rows: repeat(3, auto); column-gap: 64px; row-gap: 22px; align-items: center; }
.callouts { display: contents; list-style: none; }
.callouts li:nth-child(1) { grid-area: 1 / 1; justify-self: end; }
.callouts li:nth-child(2) { grid-area: 2 / 1; margin-right: 40px; justify-self: end; }
.callouts li:nth-child(3) { grid-area: 3 / 1; justify-self: end; }
.callouts li:nth-child(4) { grid-area: 1 / 3; margin-top: 40px; }
.vault-phone { grid-area: 1 / 2 / 4 / 3; justify-self: center; width: 320px; height: 650px; }
.callout { display: flex; gap: 14px; max-width: 330px; padding: 18px 20px; border: 1px solid transparent; border-radius: 22px; background: #fff; box-shadow: var(--shadow); color: var(--body); text-align: left; font-size: 15px; line-height: 1.45; cursor: pointer; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.callout svg { flex: 0 0 auto; width: 36px; height: 36px; padding: 8px; border-radius: 12px; color: var(--deep); background: var(--mint2); }
.callout strong { display: block; margin-bottom: 2px; color: var(--forest); font: 700 17px Jakarta, sans-serif; letter-spacing: -.02em; }
.callout:hover, .callout:focus-visible, .callout[aria-pressed="true"] { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 24px 50px -30px #123d2e88; }
.vault-dragon { transform: scaleX(-1); position: absolute; right: max(22px, calc(50% - 580px)); bottom: 0; width: 340px; max-width: none; pointer-events: none; }
.phone-screen { position: relative; }
.ui-lock { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; color: var(--deep); background: var(--mint2); font: 500 10px JetBrains, monospace; }
.ui-lock svg { width: 11px; height: 11px; }
.ui-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; border-radius: 14px; }
.tile { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; color: #3e4a43; background: #ece6da; }
.tile svg { width: 40px; height: 40px; }
.tile small { position: absolute; left: 7px; bottom: 5px; color: #3e4a43; font: 500 9px JetBrains, monospace; }
.t-window { background: #dcecf4; } .t-door { background: #efe1cf; } .t-lock { background: #e8e4ef; } .t-iron, .t-plug { background: #e3e8e4; }
.ui-capture { position: absolute; left: 50%; bottom: 18px; display: grid; place-items: center; width: 52px; height: 52px; border: 4px solid #fff; border-radius: 50%; color: #fff; background: var(--deep); box-shadow: 0 8px 20px -6px #0b765588; transform: translateX(-50%); }
.ui-capture svg { width: 22px; height: 22px; }
[data-area] { transition: box-shadow .25s, transform .25s var(--ease); }
.vault-stage[data-highlight="lock"] [data-area="lock"],
.vault-stage[data-highlight="separate"] [data-area="separate"],
.vault-stage[data-highlight="grid"] [data-area="grid"] { box-shadow: 0 0 0 3px var(--green), 0 0 0 9px #10b98133; }
.vault-stage[data-highlight="separate"] [data-area="separate"] { border-radius: 6px; }
.vault-stage[data-highlight="capture"] [data-area="capture"] { box-shadow: 0 0 0 3px var(--green), 0 0 0 10px #10b98133; transform: translateX(-50%) scale(1.08); }

/* ---------- 4 · Before / after ---------- */
.organize { background: #fff; }
.organize-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.organize-layout > div:first-child p { font-size: 18px; }
.segmented { display: inline-flex; gap: 4px; margin-top: 18px; padding: 5px; border-radius: 999px; background: var(--mint2); }
.segmented button { min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--forest); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--deep); box-shadow: 0 6px 18px -10px #123d2e66; }
.compare { display: grid; grid-template-columns: 1fr 0fr; gap: 0; transition: grid-template-columns .55s var(--ease), gap .55s var(--ease); }
.compare[data-view="after"] { grid-template-columns: 1fr 1fr; gap: 18px; }
.album { min-width: 0; padding: 20px; overflow: hidden; border-radius: 26px; background: var(--mint); transition: opacity .45s; }
.album-vault { padding: 20px 0; opacity: 0; color: #fff; background: var(--forest); }
.compare[data-view="after"] .album-vault { padding: 20px; opacity: 1; }
.album-title { display: flex; align-items: center; gap: 7px; margin: 0 0 14px; color: var(--forest); font-weight: 600; white-space: nowrap; }
.album-vault .album-title { color: #fff; }
.album-title svg { width: 15px; height: 15px; }
.album-count { margin-left: auto; color: #5d6a7f; font: 500 12px JetBrains, monospace; }
.album-vault .album-count { color: #a9ecc9; }
.album-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.compare[data-view="after"] .album-grid { grid-template-columns: repeat(3, 1fr); }
.ptile { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; color: #4a524c; background: #ece6da; }
.ptile svg { width: 46%; height: 46%; }
.ptile.p-door { background: #efe1cf; } .ptile.p-window { background: #dcecf4; } .ptile.p-lock { background: #e8e4ef; } .ptile.p-iron { background: #e3e8e4; }
.ptile.p-mountain { color: #2c6e94; background: #cfe8f7; }
.ptile.p-cake { color: #b5543a; background: #fde2d6; }
.ptile.p-heart { color: #a3456d; background: #f6dbe6; }

/* ---------- 5 · Insights ---------- */
.insights { overflow: hidden; background: var(--mint2); }
.insights-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.insights-copy { position: relative; }
.insights-copy > p { font-size: 18px; }
.insight-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; padding: 0; margin: 28px 0 0; list-style: none; font-size: 15px; color: var(--body); }
.insight-features strong { display: block; color: var(--forest); }
.insights-dragon { display: block; width: 280px; margin: 34px 0 calc(-1 * clamp(95px, 12vw, 155px)); }
.dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--forest); box-shadow: var(--shadow); }
.dash-card { padding: 20px; border: 1px solid #ffffff1f; border-radius: 20px; background: #ffffff0d; }
.dash-card h3 { margin: 0 0 18px; color: #fff; font-size: 15px; letter-spacing: -.01em; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; }
.bars span { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; outline-offset: 2px; }
.bars i { display: block; width: 100%; height: calc(var(--v) * 110px); border-radius: 7px; background: #80e3b8; transition: background .2s, transform .2s; transform-origin: bottom; }
.bars span:hover i, .bars span:focus-visible i { background: #fff; }
.bars b { color: #cfeadd; font: 500 11px JetBrains, monospace; }
.heat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.heat span { position: relative; height: 70px; border-radius: 9px; background: color-mix(in srgb, #80e3b8 calc(var(--v) * 100%), #ffffff14); }
.heat-labels { display: flex; justify-content: space-between; margin-top: 8px; color: #cfeadd; font: 500 11px JetBrains, monospace; }
.dash-cats ul { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.dash-cats li { display: grid; grid-template-columns: 80px 1fr 38px; gap: 10px; align-items: center; color: #e6f5ee; font-size: 13px; }
.dash-cats i { height: 9px; border-radius: 9px; background: linear-gradient(90deg, #80e3b8 calc(var(--v) * 100%), #ffffff1a 0); }
.dash-cats b { color: #80e3b8; font: 500 12px JetBrains, monospace; text-align: right; }
.dash-progress svg { display: block; width: 100%; height: 90px; color: #80e3b8; overflow: visible; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; z-index: 5; bottom: calc(100% + 8px); left: 50%; padding: 6px 9px; border-radius: 8px; color: var(--forest); background: #fff; font: 500 11px JetBrains, monospace; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.bars [data-tip]:hover::after, .bars [data-tip]:focus-visible::after { bottom: calc(var(--v) * 110px + 30px); }

/* ---------- 6 · A gentler way forward ---------- */
.forward { background: #fff; }
.forward-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.forward-copy p { font-size: 18px; }
.forward-copy .button { margin-top: 12px; }
.retention-demo { position: relative; min-height: 520px; padding: 32px 32px 0; overflow: hidden; border-radius: var(--radius); background: var(--mint); }
.rd-photo { position: relative; display: grid; grid-template-columns: 96px 1fr 44px; gap: 16px; align-items: center; padding: 14px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); transition: opacity .6s var(--ease), filter .6s var(--ease), transform .6s var(--ease); }
.rd-image { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; color: #3e4a43; background: #ece6da; }
.rd-image svg { width: 50px; height: 50px; }
.rd-meta strong { display: block; color: var(--forest); }
.rd-left { color: #5d6a7f; font: 500 12px JetBrains, monospace; }
.rd-ring { --p: 1; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--deep) calc(var(--p) * 360deg), var(--line) 0); -webkit-mask: radial-gradient(circle, transparent 14px, #000 15px); mask: radial-gradient(circle, transparent 14px, #000 15px); transition: --p .6s; }
.retention-demo[data-step="4"] .rd-photo { opacity: .28; filter: blur(2px) grayscale(1); transform: scale(.97); }
.rd-steps { position: relative; display: flex; justify-content: space-between; gap: 6px; padding: 0; margin: 28px 0 0; list-style: none; }
.rd-steps::before { content: ""; position: absolute; top: 50%; left: 6%; right: 6%; height: 2px; background: var(--line); }
.rd-steps button { position: relative; min-width: 56px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--forest); font: 500 13px JetBrains, monospace; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.rd-steps button:hover { border-color: var(--deep); }
.rd-steps button[aria-pressed="true"] { border-color: var(--deep); background: var(--deep); color: #fff; }
.rd-dragon { position: absolute; right: 24px; bottom: 0; width: 250px; pointer-events: none; }
/* Sunset scene behind the demo: decorative canvas, everything else sits above it. */
.rd-sky { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.retention-demo > :not(.rd-sky):not(.rd-dragon) { position: relative; z-index: 1; }
.rd-dragon { z-index: 1; }
/* "Cleared" happens at night: keep the message readable, let only the photo fade away. */
.rd-photo { transition: opacity .6s var(--ease), filter .6s var(--ease), transform .6s var(--ease), background .6s var(--ease), box-shadow .6s var(--ease); }
.retention-demo[data-step="4"] .rd-photo { opacity: 1; filter: none; transform: scale(.98); background: #ffffff1f; box-shadow: none; }
.retention-demo[data-step="4"] .rd-image { opacity: .35; filter: blur(2px) grayscale(1); }
.retention-demo[data-step="4"] .rd-meta strong { color: #fff; }
.retention-demo[data-step="4"] .rd-left { color: #d6efe3; }
.rd-image, .rd-meta strong, .rd-left { transition: opacity .6s var(--ease), filter .6s var(--ease), color .6s var(--ease); }

/* ---------- 7 · Science preview ---------- */
.sci-preview { background: var(--mint); }
.sci-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px 80px; align-items: center; }
.sci-head h2 { max-width: 620px; }
.sci-head p { max-width: 540px; font-size: 18px; }
.cycle { position: relative; width: min(380px, 100%); margin: 0 auto; color: var(--deep); }
.cycle-art > svg { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.cy { position: absolute; font-size: 14px !important; padding: 7px 15px; border-radius: 999px; color: var(--forest); background: #fff; box-shadow: var(--shadow); font: 700 15px Jakarta, sans-serif; white-space: nowrap; transform: translate(-50%, -50%); }
.cycle-art { position: relative; }
.cy-1 { top: 15%; left: 50%; } .cy-2 { top: 50%; left: 86%; } .cy-3 { top: 85%; left: 50%; color: #fff; background: var(--deep); } .cy-4 { top: 50%; left: 14%; }
.cycle figcaption { max-width: 300px; margin: 18px auto 0; color: var(--body); font-size: 14px; line-height: 1.45; text-align: center; }
.sci-themes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 0; margin: 20px 0 0; list-style: none; counter-reset: theme; }
.sci-themes li { padding-top: 22px; border-top: 2px solid var(--forest); counter-increment: theme; }
.sci-themes li::before { content: "0" counter(theme); display: block; margin-bottom: 10px; color: var(--deep); font: 500 13px JetBrains, monospace; }
.sci-themes p { margin: 0; font-size: 15px; }

/* ---------- 8 · Community videos ---------- */
.community { overflow: hidden; background: var(--forest); }
.community h2 { color: #fff; }
.community-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.community-head p { max-width: 520px; margin: 0; color: #fff; font-size: 18px; }
.carousel-controls { display: flex; gap: 10px; }
/* Phones: no arrow buttons. Under the videos, one dot per video follows the swipe, next to a nudging arrow. */
.video-hint { display: none; }
@media (max-width: 800px) {
  .video-hint { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
  .video-dots { display: inline-flex; gap: 7px; }
  .video-dots i { width: 7px; height: 7px; border-radius: 50%; background: #ffffff40; transition: width .3s var(--ease), background .3s; }
  .video-dots i.on { width: 22px; border-radius: 7px; background: #fff; }
  .video-swipe { color: #ffffffb3; font: 500 14px JetBrains, monospace; }
  .video-swipe::after { content: "→"; display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .video-swipe::after { animation: none; } }
.video-track { display: flex; gap: 22px; padding: 10px 0 64px; margin: -10px 0 -44px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; list-style: none; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.video-track::-webkit-scrollbar { display: none; }
.video-card { flex: 0 0 calc((100% - 44px) / 3); container-type: inline-size; scroll-snap-align: start; transition: transform .25s var(--ease); }
.video-card:hover { transform: translateY(-6px); }
.video-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 26px; background: linear-gradient(160deg, #1d5a44, #0e2f23); }
.video-thumb.v2 { background: linear-gradient(160deg, #2a6a52, #123d2e); }
.video-thumb.v3 { background: linear-gradient(160deg, #0b7655, #0e3326); }
.video-thumb.v4 { background: linear-gradient(160deg, #245c48, #14201b); }
.video-thumb.v5 { background: linear-gradient(160deg, #1a6b4f, #102a20); }
.video-load { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; color: #fff; background: radial-gradient(120% 80% at 50% 30%, #2a7a5c 0%, transparent 70%); font: inherit; cursor: pointer; }
.video-load:hover .play { transform: scale(1.08); }
.video-load:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 26px; }
.vl-tag { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: #ffffff26; backdrop-filter: blur(6px); font: 500 11px JetBrains, monospace; }
.vl-tag svg { width: 12px; height: 12px; }
.consent-note { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #ffffffa8; font-size: 11px; line-height: 1.4; text-align: center; }
.video-thumb[data-ig].is-loading .play { animation: vl-pulse 1s ease-in-out infinite; pointer-events: none; }
@keyframes vl-pulse { 50% { transform: scale(.92); opacity: .75; } }
/* Instagram embeds stay untouched inside; the card around them is styled like a phone frame. */
.video-thumb[data-ig] { padding: 8px; border: 1px solid #ffffff24; box-shadow: 0 30px 34px -30px #000c, inset 0 1px 0 #ffffff1a; transition: box-shadow .3s var(--ease); }
.video-card:hover .video-thumb[data-ig] { box-shadow: 0 36px 38px -30px #000d, inset 0 1px 0 #ffffff26; }
.video-thumb[data-ig] .video-load { inset: 8px; border-radius: 20px; overflow: hidden; }
.video-thumb[data-ig] { aspect-ratio: auto; height: calc(125cqw + 187.5px); }
.video-thumb[data-ig].is-loaded { height: var(--embed-h, auto); background: #0e2f23; }
.video-thumb iframe { width: 100%; height: 100%; border: 0; border-radius: 20px; background: #fff; }
.video-thumb[data-ig].is-loading iframe { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); opacity: 0; }
.video-thumb[data-ig].is-loading .video-load::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, #ffffff1f 50%, transparent 70%); background-size: 250% 100%; animation: vl-shimmer 1.4s linear infinite; }
@keyframes vl-shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .video-thumb[data-ig].is-loading .video-load::before { animation: none; } }
.v-meta a { color: inherit; text-underline-offset: 3px; }
.v-icon { position: absolute; top: 18%; width: 46%; height: auto; aspect-ratio: 1; color: #ffffff2a; transition: transform .4s var(--ease); }
.video-card:hover .v-icon { transform: scale(1.06); }
.play { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: var(--forest); background: #fff; box-shadow: 0 14px 30px -12px #0008; transition: transform .25s var(--ease); }
.play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-card:hover .play { transform: scale(1.08); }
.soon { position: absolute; left: 16px; bottom: 16px; padding: 5px 11px; border-radius: 999px; color: #fff; background: #ffffff26; font: 500 11px JetBrains, monospace; backdrop-filter: blur(6px); }
.v-caption { margin: 14px 0 4px; color: #fff; font-weight: 600; }
.v-meta { margin: 0; color: #cfeadd; font: 500 12px/1.6 JetBrains, monospace; }

/* ---------- Accordion (FAQ preview + FAQ page) ---------- */
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; color: var(--forest); font: 600 18px Hanken, sans-serif; list-style: none; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--deep); background: var(--mint2); font-size: 22px; line-height: 1; transition: transform .3s var(--ease), background .2s; }
.accordion summary:hover::after { background: var(--line); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.accordion details[open]::details-content { block-size: auto; }
.accordion .answer p { max-width: 640px; margin: 0 0 20px; padding-right: 40px; font-size: 16px; }

/* ---------- 10 · FAQ preview ---------- */
.faq-preview { background: var(--mint); }
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-aside h2 { margin-bottom: 26px; }
.faq-box { position: relative; margin-top: 120px; padding: 22px 34px 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.faq-box .accordion details:first-child { border-top: 0; }
.faq-box .accordion details:last-child { border-bottom: 0; }
.faq-peek { position: absolute; z-index: 2; right: 46px; bottom: calc(100% - 8px); width: 290px; pointer-events: none; }

/* ---------- 11 · Final CTA ---------- */
.join { position: relative; background: var(--deep); }
.join p, .join small, .consent { color: #fff; }
.join .button.light { color: var(--deep); }
.join h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.join-layout { grid-template-columns: .9fr 1.1fr; }
.join { --join-pad: clamp(60px, 7vw, 96px); overflow: hidden; padding: var(--join-pad) 0; }
.join-layout > img.join-wave { width: min(600px, 46vw); max-width: none; margin: 0 -30px calc(-1 * var(--join-pad)) 0; align-self: end; justify-self: end; transform: scaleX(-1); filter: none; }

/* ---------- Footer ---------- */
.footer-layout p, .footer-layout a, .footer-layout span, .footer-notes p, .sources li { color: #f1faf5; }
.footer-layout a:hover { color: #80e3b8; }

/* ---------- Subpages ---------- */
.page-hero { position: relative; padding: 170px 0 100px; overflow: hidden; background: linear-gradient(135deg, #e5f8ee, #f9fdfb 61%, #d5f2e2); }
.page-hero::after { content: ""; position: absolute; right: -12vw; top: -22vw; width: 50vw; height: 50vw; border-radius: 50%; background: #10b9811a; }
.page-hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; }
.page-hero h1 { margin-bottom: 22px; font-size: clamp(2.9rem, 6vw, 5.6rem); }
.page-hero p { max-width: 600px; font-size: 20px; }
.page-hero img { justify-self: end; width: min(330px, 100%); margin-bottom: -100px; }
.page-hero.no-art .page-hero-layout { grid-template-columns: 1fr; }
.section.white { background: #fff; }
.section.mint2 { background: var(--mint2); }
.section.dark { background: var(--forest); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head p { font-size: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cta-band { padding: 80px 0; background: var(--deep); }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }

/* How it works: walkthrough steps */
.walk { display: grid; gap: 26px; padding: 0; margin: 0; list-style: none; }
.walk li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 26px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.walk li > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--deep); background: var(--mint2); }
.walk li > span svg { width: 26px; height: 26px; }
.walk h3 { margin-bottom: 4px; }
.walk p { margin: 0; font-size: 16px; }
.walk .status-pill { margin: 8px 0 0; }
.walk-layout { display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: start; }
.walk-layout .phone { position: sticky; top: 110px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.facts li { padding: 26px; border: 1px solid #ffffff33; border-radius: 24px; }
.facts li svg { width: 34px; height: 34px; margin-bottom: 14px; color: #80e3b8; }
.facts p { margin: 0; font-size: 15px; }

/* Science page: editorial reading layout */
.reading { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 70px; align-items: start; }
.chapter-nav { position: sticky; top: 110px; }
.chapter-nav p { margin-bottom: 10px; color: #5d6a7f; font: 500 12px JetBrains, monospace; letter-spacing: .1em; }
.chapter-nav ol { padding: 0; margin: 0; list-style: none; border-left: 2px solid var(--line); }
.chapter-nav a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--body); font-size: 15px; text-decoration: none; }
.chapter-nav a:hover, .chapter-nav a.active { border-color: var(--deep); color: var(--deep); font-weight: 600; }
.chapter { max-width: 700px; padding: 0 0 80px; scroll-margin-top: 110px; }
.chapter + .chapter { padding-top: 70px; border-top: 1px solid var(--line); }
.chapter .ch-no { display: block; margin-bottom: 12px; color: var(--deep); font: 500 13px JetBrains, monospace; }
.chapter h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.chapter p, .chapter li { font-size: 18px; line-height: 1.7; }
.chapter li { color: var(--body); margin-bottom: 8px; }
.callout-box { margin: 30px 0; padding: 24px 26px; border-left: 4px solid var(--deep); border-radius: 0 20px 20px 0; background: #fff; }
.callout-box.hypothesis { border-color: #b7791f; background: #fffaf0; }
.callout-box strong.label { display: block; margin-bottom: 6px; color: var(--deep); font: 500 12px JetBrains, monospace; letter-spacing: .1em; }
.callout-box.hypothesis strong.label { color: #8a5a00; }
.callout-box p { margin: 0; font-size: 17px; }
.spectrum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 30px 0; overflow: hidden; border-radius: 20px; }
.spectrum div { padding: 22px; background: var(--mint2); }
.spectrum div:nth-child(2) { background: var(--line); }
.spectrum div:nth-child(3) { color: #fff; background: var(--forest); }
.spectrum div:nth-child(3) h3, .spectrum div:nth-child(3) p { color: #fff; }
.spectrum h3 { font-size: 17px; }
.spectrum p { margin: 0; font-size: 14px !important; line-height: 1.5 !important; }
.loop-diagram { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0; padding: 0; list-style: none; }
.loop-diagram li { margin: 0; padding: 10px 18px; border-radius: 999px; color: var(--forest); background: #fff; box-shadow: var(--shadow); font: 700 16px Jakarta, sans-serif; }
.loop-diagram li.arrow { padding: 0; color: var(--deep); background: none; box-shadow: none; }
.compare-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.compare-cols > div { padding: 22px; border-radius: 20px; background: #fff; }
.compare-cols > div:last-child { background: #fffaf0; }
.compare-cols h3 { font-size: 17px; }
.compare-cols ul { padding-left: 18px; margin: 0; }
.compare-cols li { font-size: 15px !important; }
.refs details { padding: 16px 0; border-top: 1px solid var(--line); }
.refs summary { color: var(--forest); font-weight: 600; cursor: pointer; }
.refs details p { margin: 10px 0 0; font-size: 15px; }
.refs a { color: var(--deep); font-weight: 600; }

/* Our story */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.founder { padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.founder .avatar { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 20px; border-radius: 50%; color: var(--deep); background: var(--mint2); font: 800 26px Jakarta, sans-serif; }
.founder .role { margin-bottom: 14px; color: var(--deep); font: 500 13px JetBrains, monospace; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: st; }
.stages li { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: 24px; background: #fff; counter-increment: st; }
.split .stages { grid-template-columns: 1fr; }
.split .stages li { display: grid; grid-template-columns: 90px 1fr; column-gap: 12px; }
.split .stages li::before { grid-row: span 2; margin: 4px 0 0; }
.stages li::before { content: "Step " counter(st); display: block; margin-bottom: 14px; color: var(--deep); font: 500 12px JetBrains, monospace; }
.stages li.now { border-color: var(--deep); color: #fff; background: var(--deep); }
.stages li.now::before, .stages li.now h3, .stages li.now p { color: #fff; }
.stages p { margin: 0; font-size: 15px; }
.statement { padding: clamp(90px, 11vw, 140px) 0; background: #fff; text-align: center; }
.statement p { max-width: 900px; margin: 0 auto; color: var(--forest); font: 800 clamp(1.9rem, 4vw, 3.3rem)/1.15 Jakarta, sans-serif; letter-spacing: -.04em; }
.statement p span { color: var(--green); }

/* Partners block (moved to Our story) */
.partners { background: var(--forest); }
.partners > div > p:not(.kicker), .partners .partner-layout > div > p { color: #fff; }
.partner-notes { --mw: 290px; --mr: 1.0; position: relative; overflow: hidden; min-height: 580px; padding: 31px 31px calc(var(--mw) * var(--mr) + 24px); border-color: #ffffff66; border-radius: 32px; }
.partner-notes p { color: #fff; }
.partner-notes p:first-child { border-bottom-color: #ffffff55; }
.partner-notes .partner-dragon { position: absolute; right: 30px; bottom: 0; width: var(--mw); max-width: none; margin: 0; pointer-events: none; }

/* Legal pages share the site chrome */
.legal-page { padding: 150px 0 110px; }
.legal-page .wordmark { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .vault-stage { grid-template-columns: 1fr 280px 1fr; column-gap: 30px; }
  .loop-step { min-height: 470px; }
}

@media (max-width: 900px) {
  .loop-intro, .organize-layout, .insights-layout, .forward-layout, .sci-layout, .faq-split, .split, .walk-layout, .reading, .page-hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .loop-steps { display: flex; gap: 14px; margin: 0 -22px; padding: 10px 22px 14px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .loop-steps::-webkit-scrollbar { display: none; }
  .loop-step { flex: 0 0 74%; margin-top: 0 !important; min-height: 440px; scroll-snap-align: start; }
  .loop-step img { height: 250px !important; }
  .loop-step:nth-child(3) img { left: -40px; }
  .vault-stage { grid-template-columns: 1fr; row-gap: 14px; }
  .callouts { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; }
  .callouts li { grid-area: auto !important; margin: 0 !important; justify-self: stretch !important; }
  .callout { max-width: none; width: 100%; }
  .vault-phone { grid-area: auto; order: -1; }
  .vault { padding-bottom: 230px; }
  .vault-dragon { right: 16px; width: 210px; }
  .insights-dragon { display: none; }
  .sci-themes { grid-template-columns: 1fr; gap: 22px; }
  .faq-box { margin-top: 110px; }
  .walk-layout .phone { display: none; }
  .chapter-nav { position: static; }
  .chapter-nav ol { display: flex; flex-wrap: wrap; gap: 4px 14px; border-left: 0; }
  .chapter-nav a { padding: 4px 0; border-left: 0; }
  .facts, .founders, .stages { grid-template-columns: 1fr; }
  .page-hero img { justify-self: center; width: 220px; margin-bottom: -100px; }
}

@media (max-width: 800px) {
  .hero-character img { width: 610px; right: -72px; bottom: -35px; }
  .loop { padding: 70px 0 90px; }
  .community-head { flex-direction: column; align-items: flex-start; }
  .carousel-controls { display: none; }
  .dashboard { grid-template-columns: 1fr; padding: 20px; }
  .insight-features { grid-template-columns: 1fr; }
  .retention-demo { min-height: 500px; padding: 22px 18px 0; }
  .rd-steps button { min-width: 0; padding: 6px 8px; font-size: 12px; }
  .rd-dragon { width: 190px; }
  .faq-box { padding: 14px 20px 18px; }
  .faq-peek { width: 210px; right: 20px; }
  .join-layout { grid-template-columns: 1fr; }
  .join-layout > img.join-wave { width: min(420px, 100vw); margin: 20px -20px calc(-1 * var(--join-pad)) auto; transform: scaleX(-1); }
  .partner-notes { --mw: 220px; min-height: 0; padding-bottom: calc(var(--mw) * var(--mr) + 20px); }
  .partner-notes .partner-dragon { right: 20px; }
  .spectrum, .compare-cols { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
  .hero-character img { width: 510px; right: -74px; }
  .album { padding: 12px; }
  .compare[data-view="after"] .album-vault { padding: 12px; }
  .album-grid { gap: 5px; }
  .compare[data-view="after"] { gap: 10px; }
  .album-title { font-size: 13px; }
  .album-count { display: none; }
  .partner-notes { --mw: 170px; }
  .rd-photo { grid-template-columns: 72px 1fr 40px; }
}
.est-note { display: block; margin-top: 8px; color: #cfeadd; font-size: 12px; line-height: 1.5; }
.footer-layout .wordmark span { display: inline; margin: 0; color: #57b987; }

/* FAQ hero: the dragon peeks over the hero's bottom edge, hands overlapping the section below. */
.page-hero:has(.peek) { overflow-x: clip; overflow-y: visible; z-index: 2; }
.page-hero img.peek { position: relative; z-index: 3; width: min(640px, 56vw); max-width: none; margin-right: -40px; margin-bottom: calc(-100px - 8px); }
@media (max-width: 900px) { .page-hero img.peek { width: min(380px, 90vw); margin-right: 0; margin-bottom: calc(-100px - 20px); } }

/* =====================================================================
   Scroll motion. Everything here is progressive enhancement: without JS
   (or with prefers-reduced-motion) the page is the same static layout.
   ===================================================================== */
@property --fill { syntax: "<number>"; inherits: true; initial-value: 1; }

/* Fixed nav so it stays with you while scenes pin. */
.site-header { position: fixed; top: 14px; }

/* Hero stays put; the rounded white panel slides over it. */
.hero-stack { position: relative; isolation: isolate; }
.hero-stack .hero { position: sticky; top: 0; z-index: 0; }
.hero-stack .hero-layout { opacity: calc(1 - var(--hp, 0) * .55); translate: 0 calc(var(--hp, 0) * -36px); scale: calc(1 - var(--hp, 0) * .035); transform-origin: 50% 0; will-change: opacity, translate, scale; }
.hero-stack .hero-character img { translate: 0 calc(var(--hp, 0) * 50px); }
.hero-stack .loop { z-index: 4; }

/* Scroll reveals */
.anim [data-reveal] { opacity: 0; translate: 0 30px; transition: opacity .75s var(--ease) calc(var(--i, 0) * 85ms), translate .9s var(--ease) calc(var(--i, 0) * 85ms); }
.anim [data-reveal].in { opacity: 1; translate: 0 0; }
.anim [data-reveal="left"] { translate: -34px 0; }
.anim [data-reveal="right"] { translate: 34px 0; }
.anim [data-reveal="pop"] { translate: 0 60px; scale: .96; transition-property: opacity, translate, scale; }
.anim [data-reveal].in { scale: 1; }

/* Dashboard draws itself in */
.bars i { transition: background .2s, transform .9s var(--ease) calc(var(--k, 0) * 70ms); }
.bars span:nth-child(2) i { --k: 1; } .bars span:nth-child(3) i { --k: 2; } .bars span:nth-child(4) i { --k: 3; }
.bars span:nth-child(5) i { --k: 4; } .bars span:nth-child(6) i { --k: 5; } .bars span:nth-child(7) i { --k: 6; }
.anim .dashboard:not(.in) .bars i { transform: scaleY(0); }
.heat span { transition: opacity .6s var(--ease) calc(var(--k, 0) * 90ms), scale .6s var(--ease) calc(var(--k, 0) * 90ms); }
.heat span:nth-child(2) { --k: 1; } .heat span:nth-child(3) { --k: 2; } .heat span:nth-child(4) { --k: 3; } .heat span:nth-child(5) { --k: 4; } .heat span:nth-child(6) { --k: 5; }
.anim .dashboard:not(.in) .heat span { opacity: 0; scale: .6; }
.dash-cats i { --fill: 1; background: linear-gradient(90deg, #80e3b8 calc(var(--v) * var(--fill) * 100%), #ffffff1a 0); transition: --fill 1.1s var(--ease) .3s; }
.anim .dashboard:not(.in) .dash-cats i { --fill: 0; }
.dash-progress polyline { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .4s; }
.dash-progress circle { transition: opacity .4s calc(.4s + var(--k, 0) * .3s); }
.dash-progress circle:nth-child(2) { --k: 1; } .dash-progress circle:nth-child(3) { --k: 2; } .dash-progress circle:nth-child(4) { --k: 3; }
.anim .dashboard:not(.in) .dash-progress polyline { stroke-dashoffset: 1; }
.anim .dashboard:not(.in) .dash-progress circle { opacity: 0; }

/* Pinned scenes: the page holds still while the demo plays with your scroll. */
@media (min-width: 901px) and (min-height: 640px) {
  .pin.pin-on { padding: 0; }
  .pin.pin-on[data-pin="compare"] { height: 175vh; }
  .pin.pin-on[data-pin="retention"] { height: 190vh; }
  .pin.pin-on .rd-ring { transition: none; }
  .pin.pin-on > .pin-stage { position: sticky; top: 0; display: flex; align-items: center; height: 100svh; padding: 96px 0 70px; }
  .pin.pin-on > .pin-stage > .container { width: min(1160px, calc(100% - 44px)); }
  .pin.pin-on > .pin-stage::after { content: ""; position: absolute; left: 50%; bottom: 30px; width: 140px; height: 4px; border-radius: 4px; translate: -50% 0; background: linear-gradient(90deg, var(--deep) calc(var(--p, 0) * 100%), #0b765526 0); }
  .pin.pin-on .retention-demo { min-height: min(520px, 62svh); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stack .hero { position: relative; }
  .hero-stack .hero-layout, .hero-stack .hero-character img { opacity: 1; translate: none; scale: 1; }
  .anim [data-reveal] { opacity: 1; translate: none; scale: 1; transition: none; }
}

/* 404: the sleepy dragon lies on the section floor. */
.lost { position: relative; min-height: min(86svh, 820px); padding: 150px 0 0; overflow: hidden; background: linear-gradient(135deg, #e5f8ee, #f9fdfb 61%, #d5f2e2); }
.lost::after { content: ""; position: absolute; right: -12vw; top: -22vw; width: 50vw; height: 50vw; border-radius: 50%; background: #10b9811a; }
.lost-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: end; min-height: inherit; }
.lost-copy { align-self: center; padding-bottom: 80px; }
.lost-code { margin: 0 0 6px; color: var(--green); font: 800 1.1rem/1 JetBrains, monospace; letter-spacing: .2em; }
.lost-copy h1 { margin-bottom: 20px; font-size: clamp(2.8rem, 5.6vw, 5.2rem); }
.lost-copy > p:not(.lost-code) { max-width: 480px; font-size: 19px; }
.lost-art { position: relative; justify-self: end; width: min(700px, 100%); }
.lost-art img { display: block; width: 100%; }
@media (max-width: 800px) {
  .lost { padding-top: 120px; min-height: 0; }
  .lost-layout { grid-template-columns: 1fr; gap: 0; }
  .lost-copy { padding-bottom: 20px; }
  .lost-art { justify-self: center; width: min(480px, 112%); margin-right: -6%; }
}


/* =====================================================================
   Mobile pass: no sideways panning, calmer hero, clearer swipe strip.
   ===================================================================== */
html, body { overflow-x: clip; }
* { -webkit-tap-highlight-color: transparent; }

/* Button feedback */
.button { transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.button:active { transform: translateY(0) scale(.97); box-shadow: none; }
.button .tick { transition: translate .2s var(--ease); }
.button:hover .tick { translate: 3px 0; }
.round-btn:active, .segmented button:active, .rd-steps button:active, .callout:active { scale: .96; }
.segmented button, .rd-steps button, .callout, .round-btn { transition-property: background, color, border-color, box-shadow, transform, scale; }
.accordion summary:active::after { scale: .9; }

/* Swipe hint under the checking-loop strip (small screens only) */
.loop-hint { display: none; }
@media (max-width: 900px) {
  .loop-hint { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; color: #5d6a7f; font: 500 12px JetBrains, monospace; letter-spacing: .06em; }
  .loop-hint .dots { display: inline-flex; gap: 7px; }
  .loop-hint .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: width .3s var(--ease), background .3s; }
  .loop-hint .dots i.on { width: 22px; border-radius: 7px; background: var(--deep); }
  .loop-hint .swipe::after { content: " →"; display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
}
@keyframes nudge { 50% { translate: 4px 0; } }
@media (prefers-reduced-motion: reduce) { .loop-hint .swipe::after { animation: none; } }

@media (max-width: 800px) {
  /* Strip sits exactly inside the 16px page gutter, so it can never widen the page. */
  .loop-steps { margin: 0 -16px; padding: 10px 16px 14px; scroll-padding-left: 16px; }
  .loop-step { flex: 0 0 64%; min-height: 400px; padding: 22px 20px 0; }
  .loop-step img { height: 215px !important; }
  .loop-step:nth-child(2) img { left: 50%; transform: translateX(-52%); }
  .loop-step:nth-child(3) img { left: 50%; transform: translateX(-52%); }
  .loop-step:nth-child(4) img { height: 235px !important; }
  .loop-step h3 { font-size: 1.2rem; }
  .loop-step p { font-size: 14px; }

  /* Hero: dragon sits higher so its face is clear of the white panel. */
  .hero { min-height: 800px; }
  .hero-layout { min-height: 670px; }
  .hero-character { height: 380px; }
  .hero-character img { bottom: 36px; }

  /* Burger menu morphs into a cross; the sheet fades and drops in. */
  .nav-toggle { position: relative; }
  .nav-toggle > span:not(.sr-only) { position: absolute; left: 11px; right: 11px; margin: 0; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
  .nav-toggle > span:nth-child(1) { top: 14px; }
  .nav-toggle > span:nth-child(2) { top: 21px; }
  .nav-toggle > span:nth-child(3) { top: 28px; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
  .nav-links { display: flex; visibility: hidden; opacity: 0; translate: 0 -10px; scale: .97; transform-origin: top right; pointer-events: none; transition: opacity .25s var(--ease), translate .35s var(--ease), scale .35s var(--ease), visibility 0s .35s; }
  .nav-links.open { visibility: visible; opacity: 1; translate: 0 0; scale: 1; pointer-events: auto; transition-delay: 0s; }
  .nav-links > * { opacity: 0; translate: 0 8px; transition: opacity .3s var(--ease), translate .4s var(--ease); }
  .nav-links.open > * { opacity: 1; translate: 0 0; transition-delay: calc(var(--n, 0) * 45ms + 90ms); }
  .nav-links { gap: 2px; }
  .nav-links > a:not(.button) { padding: 9px 4px; font-size: 17px; }
  .nav-links > .button { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links, .nav-links > *, .nav-toggle > span { transition: none !important; }
}

/* Dragons that stand on the bottom edge of their section */
.dragon-floor { position: relative; overflow: hidden; }
.floor-dragon { position: absolute; bottom: 0; right: max(22px, calc(50% - 560px)); width: 390px; max-width: none; pointer-events: none; }
@media (max-width: 900px) {
  .dragon-floor { padding-bottom: 300px; }
  .floor-dragon { right: auto; left: 50%; margin-left: -135px; width: 270px; }
}

/* Insights dragon stands on the section floor instead of hanging off the text column. */
.insights { position: relative; padding-bottom: calc(clamp(95px, 12vw, 155px) + 150px); }
@media (max-width: 900px) { .insights { padding-bottom: clamp(95px, 12vw, 155px); } }
.insights-copy { position: static; }
.insights-dragon { position: absolute; bottom: 0; left: max(22px, calc(50% - 560px)); width: 280px; max-width: none; margin: 0; pointer-events: none; }

/* Checking-loop cards: the dragons sit behind the text, so copy is never covered when the layout gets tight. */
.loop-step > :not(img) { position: relative; z-index: 2; }
.loop-step > img { z-index: 0; }

/* Honeypot: invisible to people, tempting to bots. */
.waitlist-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.waitlist-form button[disabled] { opacity: .7; cursor: progress; }
.consent span { line-height: 1.5; }

/* Sign-up form: two columns of fields, then the consent boxes, then the button. */
.join-layout > div { min-width: 0; }
.waitlist-form { grid-template-columns: 1fr 1fr; gap: 12px 14px; max-width: 640px; align-items: end; }
.wf-field { display: grid; gap: 6px; min-width: 0; }
.wf-field label { color: #fff; font-size: 13px; font-weight: 600; }
.wf-field label span { font-weight: 400; opacity: .85; }
.waitlist-form .wf-field input { width: 100%; }
.waitlist-form .consent, .waitlist-form .wf-submit, .waitlist-form .form-status, .waitlist-form .hp { grid-column: 1 / -1; }
.waitlist-form .consent { align-items: flex-start; gap: 10px; font-size: 13px; }
.waitlist-form .consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.waitlist-form .consent a { color: #fff; }
.waitlist-form .wf-submit { justify-self: start; min-width: 220px; margin-top: 4px; }
@media (max-width: 800px) { .waitlist-form { grid-template-columns: 1fr; } .waitlist-form .wf-submit { justify-self: stretch; } }
.state-page .lost-copy { padding-bottom: 60px; }
.state-page .lost-copy .st-text { max-width: 480px; font-size: 19px; }
.state-page .actions { margin-top: 24px; }

[hidden] { display: none !important; }
.waitlist-form .wf-field input { height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 16px Hanken, sans-serif; }
.waitlist-form .wf-field input::placeholder { color: #7a8794; }
.waitlist-form .wf-field input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.waitlist-form .wf-field input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.waitlist-form .wf-field input[type="number"]::-webkit-inner-spin-button { display: none; }

/* ---------- Consent banner (Instagram embeds) ---------- */
.link-button { display: block; margin: 7px 0; padding: 0; border: 0; background: none; color: #f1faf5; font: inherit; font-size: 15px; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: #80e3b8; }
.consent-banner { position: fixed; z-index: 40; top: 50%; left: 50%; width: min(1080px, calc(100% - 48px)); max-height: calc(100vh - 48px); overflow-y: auto; padding: 44px 64px 48px; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .35); transform: translate(-50%, -50%); animation: cb-in .25s ease; }
body:has(.consent-banner)::after { content: ""; position: fixed; z-index: 39; inset: 0; background: rgba(10, 28, 21, .62); pointer-events: none; }
.consent-banner p { margin: 0; }
.cb-eyebrow { color: var(--body); font-size: 15px; }
.cb-title { margin-top: 6px !important; color: var(--forest); font: 600 clamp(26px, 3.2vw, 36px)/1.2 Jakarta, sans-serif; letter-spacing: -.02em; outline: none; }
.cb-text { max-width: 940px; margin-top: 26px !important; color: #2c3a34; font-size: 15.5px; line-height: 1.65; }
.cb-text a { color: var(--forest); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.cb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.cb-btn { min-height: 56px; padding: 14px 30px; border: 0; border-radius: 10px; font: 600 16px Hanken, sans-serif; cursor: pointer; transition: background .15s, color .15s; }
/* Two equal buttons, as on large brand sites: the main choice solid green, the other a quiet light fill. */
.cb-primary { background: var(--deep); color: #fff; }
.cb-primary:hover { background: #09664a; }
.cb-ghost { background: #e1ebe5; color: var(--forest); }
.cb-ghost:hover { background: #d1ded6; }
.cb-btn:focus-visible, .cb-link:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.cb-link { padding: 10px 6px; border: 0; background: none; color: var(--forest); font: 500 15px Hanken, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cb-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 760px; padding: 16px 0; border-top: 1px solid var(--line); cursor: default; }
.cb-option:first-of-type { margin-top: 22px; }
label.cb-option { cursor: pointer; }
.cb-option strong { display: block; color: var(--forest); font-size: 16px; }
.cb-option span { color: var(--body); font-size: 14px; line-height: 1.5; }
.cb-option > span.cb-always { flex: none; color: var(--deep); font: 500 12px JetBrains, monospace; white-space: nowrap; }
.cb-switch { appearance: none; flex: none; position: relative; width: 48px; height: 28px; margin: 0; border-radius: 6px; background: #c5d3cc; cursor: pointer; transition: background .15s; }
.cb-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 4px; background: #fff; transition: transform .15s ease; }
.cb-switch:checked { background: var(--deep); }
.cb-switch:checked::after { transform: translateX(20px); }
@keyframes cb-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 10px)); } }
@media (max-width: 700px) {
  .consent-banner { width: calc(100% - 24px); max-height: calc(100vh - 24px); padding: 26px 22px 28px; }
  .cb-text { margin-top: 18px !important; font-size: 15px; }
  .cb-actions { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .cb-btn { width: 100%; }
  .cb-link { align-self: center; }
}

/* Carousel: always whole cards, never a cut-off one. 3 per row, 2 on tablets, 1 on phones. */
@media (max-width: 1080px) { .video-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 700px) {
  .video-track { max-width: 360px; margin-inline: auto; }
  .video-card { flex-basis: 100%; }
}

/* Retention demo on phones: the card sticks below the fixed nav while the scroll distance plays the animation. */
.pin-sticky .forward-layout { display: block; }
.pin-sticky .forward-copy { margin-bottom: 28px; }
.pin-sticky .retention-demo { position: sticky; top: 84px; }
.pin-sticky .forward-layout::after { content: ""; display: block; height: 130svh; }
.pin-sticky .rd-ring { transition: none; }

/* Legal pages: long German texts need a readable document layout. */
.legal-date { margin: -6px 0 0; color: var(--body); font: 500 13px JetBrains, monospace; }
.legal-page .container { width: min(780px, calc(100% - 44px)); }
.legal-page h1 { font-size: clamp(2.1rem, 8vw, 4.4rem); hyphens: auto; overflow-wrap: anywhere; }
.legal-page .container > .button { display: flex; width: fit-content; margin: 0 auto; }
.legal-card.legal-doc { max-width: none; padding: 44px 48px; }
.legal-doc h2, .legal-doc h3 { letter-spacing: -.01em; line-height: 1.25; }
.legal-doc h2 { margin: 2.2em 0 .6em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 1.45rem; }
.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-doc h3 { margin: 1.7em 0 .4em; font-size: 1.1rem; }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.legal-doc p { margin: 0 0 1em; }
.legal-doc ul { margin: 0 0 1em; padding-left: 1.3em; }
.legal-doc li { margin-bottom: .35em; }
.legal-doc a { color: var(--deep); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 700px) { .legal-card.legal-doc { padding: 26px 22px; } }

/* The button marker is an arrow, not a tick (same element, redrawn). */
.tick { width: 16px; height: 16px; border: 0; transform: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 32h40M36 14l18 18-18 18'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 32h40M36 14l18 18-18 18'/%3E%3C/svg%3E") center / contain no-repeat; }


.waitlist-form .wf-wide { grid-column: 1 / -1; }
.wf-error { min-height: 0; color: #ffd6d6; font-size: 12.5px; line-height: 1.35; }
.wf-error:empty { display: none; }
.waitlist-form .wf-field input[aria-invalid="true"] { box-shadow: 0 0 0 3px #ff9a9a; }
.waitlist-form { align-items: start; }

/* Consent boxes: bigger, rounded, whole row is the hit area. */
.waitlist-form .consent { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid #ffffff40; border-radius: 18px; background: #ffffff14; font-size: 14px; line-height: 1.45; cursor: pointer; transition: background .2s, border-color .2s; }
.waitlist-form .consent:hover { background: #ffffff1f; border-color: #ffffff66; }
.waitlist-form .consent:has(input:checked) { background: #ffffff26; border-color: #ffffffa6; }
.waitlist-form .consent:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
.waitlist-form .consent input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 28px; height: 28px; margin: 0; border: 2px solid #ffffffb3; border-radius: 9px; background: transparent; display: grid; place-content: center; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.waitlist-form .consent input::after { content: ""; width: 13px; height: 7px; border-left: 3px solid var(--deep); border-bottom: 3px solid var(--deep); transform: rotate(-45deg) scale(0) translateY(-1px); transition: transform .2s var(--ease); }
.waitlist-form .consent input:checked { background: #fff; border-color: #fff; }
.waitlist-form .consent input:checked::after { transform: rotate(-45deg) scale(1) translateY(-1px); }
.waitlist-form .consent:active input { transform: scale(.92); }
.waitlist-form .consent a { text-underline-offset: 3px; }
.waitlist-form .consent input[aria-invalid="true"] { border-color: #ff9a9a; }
@media (max-width: 800px) { .waitlist-form .consent { padding: 14px; gap: 12px; } }

/* Name and email stack; required fields carry a star. */
.waitlist-form { grid-template-columns: 1fr; max-width: 520px; }
.req { color: #ffd479; font-weight: 700; }
.wf-legend { grid-column: 1 / -1; margin: -2px 0 0; color: #ffffffd9; font-size: 13px; order: 3; }
.waitlist-form .form-status { order: 5; }
.waitlist-form .wf-submit { order: 4; }
.waitlist-form .consent .req { margin-left: 2px; }

/* Form tuning: smaller legend and tiles, bigger button. */
.wf-legend { font-size: 11.5px; opacity: .85; }
.waitlist-form .consent { padding: 10px 14px; gap: 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; }
.waitlist-form .consent input { width: 24px; height: 24px; border-radius: 8px; }
.waitlist-form .consent input::after { width: 11px; height: 6px; border-left-width: 2.5px; border-bottom-width: 2.5px; }
.waitlist-form .wf-submit { min-height: 62px; min-width: 280px; padding: 16px 34px; font-size: 18px; }
@media (max-width: 800px) { .waitlist-form .consent { padding: 10px 12px; } .waitlist-form .wf-submit { min-height: 60px; width: 100%; } }

/* "* Required" reads like a footnote. The .waitlist-form prefix matters: ".join p { font-size: 18px }" would win otherwise. */
.waitlist-form .wf-legend { margin: 0; font-size: 11px; line-height: 1.3; letter-spacing: .02em; opacity: .75; }
.waitlist-form .wf-legend .req { font-size: inherit; }

/* Thank-you pop-up after sending the waitlist form. */
.wf-dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 28px; background: #fff; box-shadow: 0 30px 80px -20px #0009; overflow: visible; }
.wf-dialog::backdrop { background: #0b2a1fb3; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wf-dialog-card { position: relative; display: grid; justify-items: center; gap: 10px; padding: 18px 30px 30px; text-align: center; }
.wf-dialog-dragon { display: block; width: 210px; height: auto; margin-top: -92px; filter: drop-shadow(0 10px 8px #123d2e26); }
.wf-dialog h3 { margin: 0; color: var(--forest); font-size: 1.7rem; letter-spacing: -.03em; }
.wf-dialog p { margin: 0; color: var(--body); font-size: 16px; line-height: 1.6; }
.wf-dialog-ok { margin-top: 10px; min-width: 160px; }
.wf-dialog-close { position: absolute; top: 8px; right: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--forest); font-size: 26px; line-height: 1; cursor: pointer; }
.wf-dialog-close:hover { background: var(--mint2); }
body:has(dialog[open]) { overflow: hidden; }

/* Entrance: the card springs in, the dragon bounces up and waves, the text rises one line after another, confetti pops. */
.wf-dialog[open] { animation: wf-pop .55s cubic-bezier(.34, 1.56, .64, 1) both; }
.wf-dialog[open]::backdrop { animation: wf-fade .4s ease both; }
.wf-dialog-card > * { animation: wf-rise .55s var(--ease) both; }
.wf-dialog-card > h3 { animation-delay: .24s; }
.wf-dialog-card > p { animation-delay: .32s; }
.wf-dialog-card > .wf-dialog-ok { animation-delay: .4s; }
.wf-dialog-card > .wf-dialog-dragon { transform-origin: 50% 90%; animation: wf-dragon .85s cubic-bezier(.34, 1.56, .64, 1) .1s both, wf-wave 1.1s ease-in-out 1s 3; }
.wf-confetti { position: absolute; left: 50%; top: 6px; width: 0; height: 0; pointer-events: none; }
.wf-confetti i { position: absolute; width: 8px; height: 13px; margin: -6px 0 0 -4px; border-radius: 3px; background: var(--c); opacity: 0; animation: wf-confetti 1.2s cubic-bezier(.15, .75, .3, 1) var(--d) forwards; }
.wf-dialog.is-error .wf-dialog-dragon { filter: grayscale(.5) drop-shadow(0 10px 8px #123d2e26); }
.wf-dialog.is-shake .wf-dialog-card { animation: wf-shake .45s ease; }
@keyframes wf-pop { from { opacity: 0; transform: translateY(30px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes wf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wf-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes wf-dragon { 0% { opacity: 0; transform: translateY(46px) scale(.65) rotate(-8deg); } 60% { opacity: 1; transform: translateY(-10px) scale(1.05) rotate(3deg); } 100% { opacity: 1; transform: none; } }
@keyframes wf-wave { 0%, 100% { transform: none; } 30% { transform: rotate(-3deg) translateY(-3px); } 65% { transform: rotate(3deg); } }
@keyframes wf-confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.5); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); } }
@keyframes wf-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-9px); } 45% { transform: translateX(8px); } 70% { transform: translateX(-5px); } 88% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) {
  .wf-dialog[open], .wf-dialog[open]::backdrop, .wf-dialog-card > *, .wf-dialog-card > .wf-dialog-dragon, .wf-dialog.is-shake .wf-dialog-card { animation: none; }
  .wf-confetti { display: none; }
}
