/* ═══ clava ═══
   One idea carried through: the page is a pool. The water is fixed behind
   everything; the middle of the page is a pale sheet floating on it, and the
   closer drops you back in. Colours are sampled from the banner. */

:root {
  --ink: #0c3236;
  --ink-2: rgba(12, 50, 54, .70);
  --ink-3: rgba(12, 50, 54, .48);
  --ink-4: rgba(12, 50, 54, .30);
  --line: rgba(12, 50, 54, .09);
  --sheet: #f3f9f9;
  --card: #e8f3f3;
  --aqua: #8dd3d6;
  --teal: #2f7f85;
  --mint: #cfeadb;
  --up: #1f8a5c;
  --down: #b0573c;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--aqua);
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(47, 127, 133, .22); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }

/* ═══ LOADER ═══ */
.loader {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center; align-content: center; gap: 22px;
  background: var(--sheet);
  transition: opacity .9s var(--ease) .35s, visibility 0s 1.3s;
}
.loader-mark { width: 74px; height: 74px; overflow: visible; }
.loader-mark path {
  fill-opacity: 0;
  stroke-dasharray: 900; stroke-dashoffset: 900;
  animation: draw 1.5s cubic-bezier(.6, 0, .3, 1) .1s forwards, fillin .6s ease 1.25s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; stroke-opacity: 0; } }
.loader-text { margin: 0; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); }
.loader-text span { animation: blink 1.2s infinite both; }
.loader-text span:nth-child(2) { animation-delay: .2s; }
.loader-text span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
body.opening .loader { opacity: 0; visibility: hidden; }

/* ═══ POOL ═══ */
.pool {
  position: fixed; inset: 0; z-index: 0;
  background: #8dd3d6 url(/assets/pool-fallback.jpg) center / cover;
  clip-path: circle(0 at 50% 50%);
  transition: clip-path 1.5s cubic-bezier(.75, 0, .2, 1);
}
body.opening .pool, body.ready .pool { clip-path: circle(150vmax at 50% 50%); }
.pool canvas { display: block; width: 100%; height: 100%; }

/* ═══ GLASS ═══
   Frosted everywhere; Chromium additionally gets SVG refraction (clava.js
   writes a per-element filter and sets backdrop-filter inline). */
.glass {
  background: rgba(255, 255, 255, .40);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25), 0 20px 44px -24px rgba(12, 50, 54, .38);
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn.ink { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(12, 50, 54, .6); }
.btn.ink:hover { background: #134a4f; }
.btn:active { transform: scale(.97); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 13px; }

/* ═══ NAV ═══ */
.nav {
  position: fixed; z-index: 20; top: 16px; left: 50%;
  display: flex; align-items: center; gap: 18px;
  height: 50px; padding: 0 7px 0 16px; border-radius: 999px;
  transform: translate(-50%, -24px); opacity: 0;
  transition: transform 1s var(--ease) .9s, opacity 1s var(--ease) .9s, background .4s;
}
body.ready .nav { transform: translate(-50%, 0); opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 25px; line-height: 1; letter-spacing: -.01em; }
.brand img { display: block; }
.brand span { transform: translateY(-1px); }
.nav-x { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ink); transition: background .2s; }
.nav-x:hover { background: rgba(255, 255, 255, .6); }

/* ═══ TYPE ═══ */
.eyebrow { margin: 0 0 22px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow i { font-style: normal; margin: 0 .55em; opacity: .7; }
.display {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(52px, 9.2vw, 142px); line-height: .94; letter-spacing: -.025em;
  text-wrap: balance;
}
.display.sm { font-size: clamp(46px, 7vw, 108px); }
.ln { display: block; overflow: hidden; padding: 0 .06em .1em; margin-bottom: -.1em; }
.ln > span { display: inline-block; }
/* the second line is cut out of deep water */
.deep {
  color: #1f6c72;
  background: url(/assets/deep.jpg) 0 40% / 170% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: drift 40s linear infinite alternate;
}
@keyframes drift { to { background-position: 100% 60%; } }
.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 76px); line-height: .98; letter-spacing: -.02em; }
.h2 .soft { color: var(--ink-4); }
.sub { margin: 18px 0 0; max-width: 460px; color: var(--ink-2); font-size: 16px; }
.fine { margin: 18px 0 0; font-size: 12.5px; color: var(--ink-3); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ═══ 1 — HERO ═══ */
.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 110px var(--gut) 90px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 46% at 50% 50%, rgba(243, 249, 249, .62), rgba(243, 249, 249, 0) 72%);
}
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.lede { margin: 26px 0 30px; max-width: 470px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.5; color: var(--ink); }

/* entrance: lines slide up out of their mask, the rest fades up */
.intro { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + 700ms); }
.ln > .intro { opacity: 1; transform: translateY(108%); transition-duration: 1.25s; }
body.ready .intro { opacity: 1; transform: none; }

.join { display: flex; align-items: center; gap: 6px; width: min(440px, 100%); height: 56px; padding: 6px 6px 6px 22px; border-radius: 999px; }
.join input[type=email] { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 15px; color: var(--ink); }
.join input::placeholder { color: var(--ink-3); }
.join .btn { height: 44px; }
.join:focus-within { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 4px rgba(255, 255, 255, .45), 0 20px 44px -24px rgba(12, 50, 54, .38); }
.join-msg { min-height: 22px; margin: 12px 0 0; font-size: 13.5px; color: var(--ink); }
.join-msg.err { color: #8a3a2a; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; margin-left: -12px; width: 24px; height: 38px; border-radius: 12px; border: 1.5px solid rgba(12, 50, 54, .35); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ═══ THE SHEET ═══ */
.sheet {
  position: relative; z-index: 2;
  margin: 0 clamp(6px, 1vw, 14px);
  background: var(--sheet);
  border-radius: clamp(26px, 3vw, 40px);
  box-shadow: 0 -30px 80px -40px rgba(12, 50, 54, .45), 0 40px 80px -40px rgba(12, 50, 54, .45);
  padding-bottom: clamp(80px, 12vw, 160px);
}
.head { margin-bottom: clamp(36px, 5vw, 60px); }

/* ═══ 2 — STATEMENT ═══ */
.statement { padding: clamp(110px, 18vh, 200px) var(--gut) clamp(90px, 14vh, 160px); text-align: center; }
.say {
  margin: 0 auto; max-width: 1080px;
  font-family: var(--serif); font-size: clamp(34px, 4.7vw, 70px); line-height: 1.06; letter-spacing: -.018em;
  text-wrap: balance;
}
.say em { font-style: italic; color: var(--teal); }
.say .w { transition: opacity .5s ease; opacity: .14; }
.say .w.on { opacity: 1; }

/* ═══ 3 — STORY ═══ */
.story { position: relative; height: 340vh; }
.story-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 80px);
  max-width: 1240px; margin: 0 auto; padding: 90px var(--gut) 40px;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.steps li { opacity: .26; transition: opacity .6s var(--ease); }
.steps li.on { opacity: 1; }
.steps .n { display: block; font-family: var(--serif); font-size: clamp(44px, 4.8vw, 72px); line-height: .95; letter-spacing: -.02em; }
.steps p { margin: 10px 0 0; max-width: 400px; color: var(--ink-2); font-size: 16px; }

.story-stage { position: relative; height: min(76vh, 640px); display: grid; place-items: center; }
.window { position: absolute; inset: 0; border-radius: 34px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(12, 50, 54, .06), 0 40px 80px -46px rgba(12, 50, 54, .55); }
.window-water { position: absolute; inset: -6%; background: url(/assets/brand/banner.webp) 30% 50% / auto 112%; animation: sway 26s ease-in-out infinite alternate; }
@keyframes sway { to { transform: translate3d(-4%, 2%, 0) scale(1.04); } }
.window::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 30px 60px -30px rgba(255, 255, 255, .6), inset 0 -40px 60px -40px rgba(12, 50, 54, .3); }

.ticket { position: relative; width: min(390px, 86%); padding: 22px 22px 18px; border-radius: 26px; background: rgba(255, 255, 255, .58); }
.t-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.t-head > div { display: flex; align-items: center; gap: 8px; }
.t-side { padding: 3px 9px; border-radius: 999px; background: rgba(31, 138, 92, .14); color: var(--up); font-size: 12px; font-weight: 600; }
.t-lev { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.t-state { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--ink-2); transition: background .3s, color .3s; }
.t-state.done { background: var(--ink); color: #fff; }
.t-clock { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 12px; }
.t-clock #t-days { font-family: var(--mono); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.t-of { color: var(--ink-3); font-size: 13px; }
.t-bar { height: 4px; border-radius: 4px; background: rgba(12, 50, 54, .1); overflow: hidden; }
.t-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #8dbcbb, var(--teal)); }
.t-rows { margin: 16px 0 0; }
.t-rows > div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(12, 50, 54, .08); font-size: 14px; }
.t-rows dt { color: var(--ink-2); }
.t-rows dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.t-rows .yield { margin: 6px -10px 0; padding: 12px 10px; border-top: 0; border-radius: 14px; background: rgba(141, 211, 214, .3); }
.t-rows .yield dt { color: var(--ink); font-weight: 500; }
.t-rows .yield dd { color: var(--teal); font-weight: 600; }
.up { color: var(--up); }
.t-note { margin: 12px 0 0; font-size: 11.5px; color: var(--ink-3); }

/* ═══ 4 — MARKETS ═══ */
.markets { padding-top: clamp(90px, 12vw, 150px); }
.markets .head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.markets .head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 13.5px; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.pill:hover { border-color: rgba(12, 50, 54, .22); color: var(--ink); }
.pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.table { border-top: 1px solid var(--line); }
.tr { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 120px 150px; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tr.th { padding: 12px 4px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.tr .r { text-align: right; }
.tr .m { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tr .tk { flex: none; display: grid; place-items: center; min-width: 54px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--card); font-family: var(--mono); font-size: 12px; letter-spacing: 0; }
.tr .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr .ty { color: var(--ink-3); }
.tr .ap { color: var(--teal); }
.tr.in { animation: rowin .5s var(--ease) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes rowin { from { opacity: 0; transform: translateY(6px); } }

/* ═══ 5 — CALC ═══ */
.calc { padding-top: clamp(100px, 13vw, 170px); }
.calc-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px);
  padding: clamp(26px, 4vw, 56px); border-radius: 34px; background: #fff;
  box-shadow: 0 1px 0 rgba(12, 50, 54, .04), 0 40px 80px -56px rgba(12, 50, 54, .5);
}
.calc-l .h2 { margin-bottom: 36px; }
.field { display: block; margin-top: 26px; }
.f-top { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; color: var(--ink-2); }
.f-top output { font-family: var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: none; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal) var(--p), rgba(12, 50, 54, .1) var(--p)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal) var(--p), rgba(12, 50, 54, .1) var(--p)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(12, 50, 54, .12), 0 4px 12px -2px rgba(12, 50, 54, .35); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(12, 50, 54, .12), 0 4px 12px -2px rgba(12, 50, 54, .35); }
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(47, 127, 133, .25), 0 4px 12px -2px rgba(12, 50, 54, .35); }

.calc-r { display: grid; grid-template-rows: 1.4fr 1fr; gap: 12px; }
.out {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 26px; border-radius: 24px;
  background: url(/assets/brand/banner.webp) 62% 50% / cover;
}
.out::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 100%); }
.out > * { position: relative; }
.out.dim { background: var(--card); }
.out.dim::before { display: none; }
.o-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.o-big { margin: 6px 0 2px; font-family: var(--serif); font-size: clamp(52px, 6.4vw, 96px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.out.dim .o-big { font-size: clamp(40px, 4.4vw, 64px); color: var(--ink-4); }
.o-sub { font-size: 13.5px; color: var(--ink-2); }

/* ═══ 6 — HOW (pool tiles) ═══ */
.how { padding-top: clamp(100px, 13vw, 170px); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: 30px; overflow: hidden; background: #4a9499; padding: 4px; gap: 4px; }
.tile {
  position: relative; min-height: 300px; padding: 26px 24px; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #e9f6f6, #d8eeee);
  border-radius: 6px;
}
.tiles .tile:first-child { border-radius: 26px 6px 6px 26px; }
.tiles .tile:last-child { border-radius: 6px 26px 26px 6px; }
.tile .k { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--teal); }
.tile h3 { margin: auto 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.5vw, 36px); line-height: 1; letter-spacing: -.015em; }
.tile p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ═══ 7 — TERMS ═══ */
.terms { padding-top: clamp(100px, 13vw, 170px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.ledger { margin: 0; border-top: 1px solid var(--line); }
.ledger > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ledger dt { color: var(--ink-3); }
.ledger dd { margin: 0; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: #e0a43c; box-shadow: 0 0 0 4px rgba(224, 164, 60, .18); vertical-align: 1px; }

/* ═══ 8 — FAQ ═══ */
.faq { padding-top: clamp(100px, 13vw, 170px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.qs { border-top: 1px solid var(--line); }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary { position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-size: 17px; font-weight: 500; letter-spacing: -.012em; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .35s var(--ease); }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs p { margin: -4px 0 22px; max-width: 600px; color: var(--ink-2); }
.qs a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* ═══ 9 — CLOSER ═══ */
.closer { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 120px var(--gut) 0; text-align: center; }
.closer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(56% 44% at 50% 46%, rgba(243, 249, 249, .6), rgba(243, 249, 249, 0) 72%); }
.closer .hero-in { margin: auto 0; }
.closer-mark { margin-bottom: 26px; filter: drop-shadow(0 10px 20px rgba(12, 50, 54, .2)); }
.closer .display { margin-bottom: 36px; }
.foot { position: relative; width: calc(100% + 2 * var(--gut) - 32px); max-width: 1408px; margin: 70px 0 16px; padding: 18px 20px 16px; border-radius: 22px; text-align: left; }
.foot-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(12, 50, 54, .1); }
.foot .brand { font-size: 22px; }
.foot-x { font-size: 13.5px; color: var(--ink-2); }
.foot-x:hover { color: var(--ink); }
.foot-legal { margin: 14px 0 0; font-size: 12px; color: var(--ink-2); }

/* ═══ REVEALS ═══ */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles .tile:first-child { border-radius: 26px 6px 6px 6px; }
  .tiles .tile:nth-child(2) { border-radius: 6px 26px 6px 6px; }
  .tiles .tile:nth-child(3) { border-radius: 6px 6px 6px 26px; }
  .tiles .tile:last-child { border-radius: 6px 6px 26px 6px; }
  .terms, .faq { grid-template-columns: 1fr; gap: 0; }
  .calc-card { grid-template-columns: 1fr; }
  .tr { grid-template-columns: minmax(0, 1.5fr) 90px 110px; }
  .tr > :nth-child(2) { display: none; }
}
@media (max-width: 760px) {
  .story { height: 300vh; }
  .story-pin { grid-template-columns: 1fr; align-content: center; gap: 22px; padding-top: 80px; }
  .story-copy .eyebrow { margin-bottom: 12px; }
  .steps { position: relative; display: block; min-height: 118px; }
  .steps li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .steps li.on { opacity: 1; transform: none; }
  .steps .n { font-size: 40px; }
  .steps p { font-size: 15px; }
  .story-stage { height: 58vh; }
  .markets .head { grid-template-columns: 1fr; }
  .tr { grid-template-columns: minmax(0, 1fr) 64px 92px; gap: 10px; font-size: 14px; }
  .tr .tk { min-width: 46px; }
  .tr .nm { font-size: 13.5px; }
  .tiles { grid-template-columns: 1fr; }
  .tiles .tile, .tiles .tile:nth-child(n) { border-radius: 6px; min-height: 210px; }
  .tiles .tile:first-child { border-radius: 26px 26px 6px 6px; }
  .tiles .tile:last-child { border-radius: 6px 6px 26px 26px; }
  .ledger > div { grid-template-columns: 1fr; gap: 2px; }
  .nav { gap: 10px; padding-left: 14px; }
  .foot { width: 100%; }
  .foot-top { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 420px) {
  .join { height: auto; flex-direction: column; padding: 8px; border-radius: 26px; }
  .join input[type=email] { height: 44px; padding: 0 12px; text-align: center; }
  .join .btn { width: 100%; }
}

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

/* refracting glass (Chromium): let the bent water show through */
.glass.lg { background: rgba(255, 255, 255, .2); }
.join.glass.lg { background: rgba(255, 255, 255, .34); }
.t-head b, .t-state { white-space: nowrap; }
@media (max-width: 420px) {
  .ticket { padding: 18px 16px 14px; }
  .t-head { font-size: 13px; }
  .t-side { padding: 2px 7px; font-size: 11px; }
  .t-state { padding: 3px 8px; font-size: 11px; }
}

/* ═══════════════════════════════════════════════════════════════
   v3 — the live site: no waitlist, real numbers, inner pages
   ═══════════════════════════════════════════════════════════════ */
.nav { gap: 14px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 7px 11px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); background: rgba(255, 255, 255, .55); }
.nav.solid, .nav.solid.lg { background: rgba(243, 249, 249, .95); box-shadow: 0 10px 30px -18px rgba(12, 50, 54, .4); }

.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn.glass { color: var(--ink); background: rgba(255, 255, 255, .45); }
.btn.glass:hover { background: rgba(255, 255, 255, .65); }

.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 0 34px; margin: 46px 0 0; padding-top: 18px; border-top: 1px solid rgba(12, 50, 54, .16); }
.stats div { text-align: left; }
.stats dt { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.stats dd { margin: 4px 0 0; font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; }

/* live markets table */
.pill .ct { margin-left: 7px; font-family: var(--mono); font-size: 11px; opacity: .55; }
.table.live .tr { grid-template-columns: minmax(0, 1.6fr) 120px 90px 130px 80px 84px; }
a.tr { transition: background .2s; }
a.tr:hover { background: rgba(141, 211, 214, .14); }
.tr .dn { color: var(--down); }
.tr .sp { display: flex; justify-content: center; }
.spark { width: 120px; height: 30px; }
.spark polyline { stroke: var(--ink-4); }
.spark.up polyline { stroke: var(--up); }
.spark.down polyline { stroke: var(--down); }
.st { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; color: var(--ink-3); background: rgba(12, 50, 54, .06); }
.st.on { color: var(--up); background: rgba(31, 138, 92, .12); }

/* vaults: three jars */
.vaults { padding-top: clamp(100px, 13vw, 170px); }
.jars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.jar { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 390px; padding: 24px 24px 22px; border-radius: 28px; background: #fff; box-shadow: 0 1px 0 rgba(12, 50, 54, .04), 0 30px 70px -52px rgba(12, 50, 54, .5); }
.jar > * { position: relative; }
.jar-water { position: absolute; inset: auto 0 0; height: calc(var(--fill, .6) * 22% + 20px); overflow: hidden; border-radius: 0 0 28px 28px; }
.jar-water span { position: absolute; inset: -30% -10% 0; background: url(/assets/brand/banner.webp) 40% 60% / cover; opacity: .55; animation: sway 22s ease-in-out infinite alternate; }
.jar-water::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; z-index: 1; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); }
.jar header { display: flex; justify-content: space-between; align-items: center; }
.jar .k { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--teal); }
.jar .sym { font-size: 12px; padding: 4px 9px; border-radius: 8px; background: var(--card); }
.jar .apy { margin: 26px 0 18px; font-size: 14px; color: var(--ink-2); }
.jar .apy .mono { display: block; font-family: var(--serif); font-size: clamp(56px, 5.4vw, 80px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.jar dl { margin: 0; }
.jar dl div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.jar dt { color: var(--ink-3); }
.jar dd { margin: 0; }
.jar dd a { text-decoration: underline; text-underline-offset: 3px; }
.jar .src { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-2); }
.jar { padding-bottom: 120px; }
.ticker { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; margin-top: 14px; padding: 18px 24px; border-radius: 22px; background: rgba(141, 211, 214, .22); border-color: rgba(255, 255, 255, .9); }
.tk-l { font-size: 14px; color: var(--ink-2); }
.tk-n { grid-row: span 2; font-size: clamp(26px, 3vw, 40px); color: var(--teal); letter-spacing: -.02em; }
.tk-s { font-size: 12px; color: var(--ink-3); }

/* worked example */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; padding: 4px; border-radius: 999px; background: var(--card); }
.seg button { height: 32px; padding: 0 13px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 13px; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(12, 50, 54, .3); }
#c-vault { margin-top: 26px; }
.calc-l .h2 { margin-bottom: 26px; }
.calc-r { grid-template-rows: auto 1fr; }
.out { min-height: 220px; }
.ledger.tight > div { grid-template-columns: 1fr auto; padding: 12px 0; font-size: 14px; }
.ledger.tight dt { color: var(--ink-2); }

/* the other side */
.house { padding-top: clamp(100px, 13vw, 170px); }
.house-card { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(20px, 3vw, 40px); min-height: 560px; display: flex; align-items: center; }
.house-card .window { border-radius: 0; }
.house-in { position: relative; max-width: 620px; padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; background: rgba(243, 249, 249, .9); box-shadow: 0 30px 70px -40px rgba(12, 50, 54, .55); }
.house-in .sub { max-width: none; }
.house-in .ledger { margin: 26px 0 28px; }
.house-in .ledger > div { grid-template-columns: 120px 1fr; font-size: 14.5px; }

/* keys */
.keys { padding-top: clamp(100px, 13vw, 170px); }
.keycards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.keycard { padding: 26px 24px; border-radius: 26px; background: var(--card); min-height: 250px; display: flex; flex-direction: column; }
.keycard .k { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--teal); }
.keycard h3 { margin: auto 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.5vw, 36px); line-height: 1; letter-spacing: -.015em; }
.keycard p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.fine a, .ledger a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.addr { word-break: break-all; }
.pstate { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-family: var(--sans); font-size: 11px; color: #8a5a12; background: rgba(224, 164, 60, .18); }
.pstate.on { color: var(--up); background: rgba(31, 138, 92, .12); }
.pstate:empty { display: none; }

/* footer */
.foot-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; font-size: 13px; }
.foot-nav a { color: var(--ink-2); }
.foot-nav a:hover { color: var(--ink); }
.foot-top { gap: 16px; }

/* ═══ INNER PAGES ═══ */
body.page { background: var(--sheet); }
body.page .pool { clip-path: none; }
.page-top { position: relative; z-index: 1; height: 420px; overflow: hidden; }
.page-top .pool { position: absolute; }
.page-main { position: relative; z-index: 2; margin: -160px clamp(6px, 1vw, 14px) 0; background: var(--sheet); border-radius: clamp(26px, 3vw, 40px) clamp(26px, 3vw, 40px) 0 0; box-shadow: 0 -30px 80px -40px rgba(12, 50, 54, .45); padding: clamp(56px, 8vw, 96px) 0 clamp(60px, 9vw, 120px); }
.page-hero { max-width: 980px; margin: 0 auto; padding: 0 var(--gut); }
.page-hero .h2 { font-size: clamp(46px, 6.4vw, 92px); }
.page-hero .sub { max-width: 620px; font-size: 17px; }
.legal-nav { max-width: 980px; margin: 34px auto 0; padding: 0 var(--gut); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.legal-nav a { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.legal-nav a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.legal-nav span { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.legal-nav span a { height: auto; padding: 0; border: 0; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.updated { max-width: 980px; margin: 22px auto 0; padding: 0 var(--gut); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.prose { max-width: 980px; margin: clamp(40px, 6vw, 70px) auto 0; padding: 0 var(--gut); }
.prose section { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px 40px; padding: 30px 0; border-top: 1px solid var(--line); }
.prose section > h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; letter-spacing: -.01em; }
.prose section > h2 .n { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-3); }
.prose section > div > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose code, .prose .mono { font-family: var(--mono); font-size: 13px; word-break: break-all; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.prose td { color: var(--ink-2); }
.prose td:first-child { color: var(--ink); white-space: nowrap; }
.grid-cards { max-width: 980px; margin: clamp(40px, 6vw, 70px) auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-cards article { padding: 26px 24px; border-radius: 26px; background: var(--card); }
.grid-cards .k { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--teal); }
.grid-cards h3 { margin: 18px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.02; letter-spacing: -.015em; }
.grid-cards p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.page-cta { max-width: 980px; margin: clamp(50px, 7vw, 90px) auto 0; padding: 0 var(--gut); display: flex; flex-wrap: wrap; gap: 10px; }
.page-foot { position: relative; z-index: 2; margin: 0 clamp(6px, 1vw, 14px) 14px; padding: 18px 20px 16px; border-radius: 0 0 clamp(26px, 3vw, 40px) clamp(26px, 3vw, 40px); background: var(--sheet); border-top: 1px solid var(--line); }
.page-foot .foot-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.page-foot .brand { font-size: 22px; }

@media (max-width: 1100px) {
  .table.live .tr { grid-template-columns: minmax(0, 1.6fr) 110px 84px 76px 80px; }
  .table.live .tr > .sp { display: none; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .jars, .keycards { grid-template-columns: 1fr; }
  .jar { min-height: 330px; }
  .table.live .tr > :nth-child(2) { display: block; }
  .table.live .tr { grid-template-columns: minmax(0, 1.5fr) 100px 76px 72px; }
  .table.live .tr > :nth-child(5) { display: none; }
  .prose section { grid-template-columns: 1fr; }
  .grid-cards { grid-template-columns: 1fr; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-nav { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, auto); gap: 14px 28px; }
  .table.live .tr { grid-template-columns: minmax(0, 1fr) 86px 64px; gap: 8px; }
  .table.live .tr > :nth-child(6) { display: none; }
  .table.live .tr .tk { min-width: 0; }
  .table.live .tr .nm { display: none; }
  .ticker { grid-template-columns: 1fr; }
  .tk-n { grid-row: auto; }
  .house-card { min-height: 0; padding: 10px; }
  .house-in .ledger > div { grid-template-columns: 1fr; }
  .legal-nav span { margin-left: 0; width: 100%; }
  .page-top { height: 300px; }
  .prose td:first-child { white-space: normal; }
}
.page-top { background: url(/assets/brand/banner.webp) 50% 40% / cover; }
.page-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(141, 211, 214, .1), rgba(243, 249, 249, .35)); }
body.page .nav { opacity: 1; transform: translate(-50%, 0); }

/* ═══ v4 — waitlist ═══ */
.join-card { width: min(560px, 100%); padding: 18px; border-radius: 28px; text-align: left; }
.wants { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; border: 0; }
.wants legend { width: 100%; margin-bottom: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.wants label { cursor: pointer; }
.wants input { position: absolute; opacity: 0; pointer-events: none; }
.wants span { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); font-size: 13px; color: var(--ink-2); transition: background .2s, color .2s; }
.wants input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.wants input:focus-visible + span { box-shadow: 0 0 0 3px rgba(47, 127, 133, .3); }
.join-card .join { width: 100%; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); }
.join-fine { margin: 12px 4px 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }
.join-fine a { text-decoration: underline; text-underline-offset: 2px; }
.join-card .join-msg { margin: 8px 4px 0; min-height: 0; }
.join-card .join-msg:empty { display: none; }
.join-card.done .wants, .join-card.done .join { display: none; }
.join-card.done .join-msg { font-size: 16px; }
.closer .join-card { margin: 0 auto; }
.short { max-width: 980px; margin: 26px auto 0; padding: 18px var(--gut); }
.short { box-sizing: border-box; }
.page-main .short { padding: 18px 22px; border-radius: 18px; background: var(--card); font-size: 15.5px; color: var(--ink-2); width: calc(100% - 2 * var(--gut)); }
.short strong { color: var(--ink); font-weight: 500; }
.foot-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* TradingView chart card */
.tv-card { margin-bottom: 26px; border-radius: 28px; background: #fff; box-shadow: 0 1px 0 rgba(12, 50, 54, .04), 0 30px 70px -52px rgba(12, 50, 54, .5); overflow: hidden; }
.tv-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 20px 6px; }
.tv-l { display: flex; align-items: center; gap: 12px; }
.tv-l b { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1; }
.tv-l small { color: var(--ink-3); font-size: 12.5px; }
.tv-r { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tv-px { font-size: 22px; }
.tv-ranges { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); }
.tv-ranges button { height: 28px; padding: 0 11px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 12.5px; color: var(--ink-2); }
.tv-ranges button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px -3px rgba(12, 50, 54, .3); }
.tv-chart { height: 420px; }
a.tr.sel, .tr.sel { background: rgba(141, 211, 214, .2); }
.tr { cursor: pointer; }
.tr.th { cursor: default; }
@media (max-width: 760px) { .tv-chart { height: 300px; } .join-card { padding: 14px; } }
.tv-l .tk { display: grid; place-items: center; min-width: 54px; height: 30px; padding: 0 8px; border-radius: 8px; background: var(--card); font-family: var(--mono); font-size: 12px; }
/* market logos */
.mlogo { flex: none; display: block; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px rgba(12, 50, 54, .08); }
.mlogo-stock { object-fit: contain; padding: 3px; }
.mlogo-pair { flex: none; position: relative; display: block; }
.mlogo-pair img { position: absolute; width: 72%; height: 72%; border-radius: 50%; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(12, 50, 54, .08); }
.mlogo-pair img:first-child { left: 0; top: 0; z-index: 1; }
.mlogo-pair img:last-child { right: 0; bottom: 0; }
.tr .nm { display: flex; flex-direction: column; line-height: 1.25; }
.tr .nm b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr .nm small { font-size: 11.5px; color: var(--ink-3); }
.tv-logo { display: block; }
@media (max-width: 760px) { .table.live .tr .nm { display: flex; } .table.live .tr .nm b { font-size: 13.5px; } }
