@font-face { font-family: "Inter"; src: url("/assets/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/geist-mono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #06080D;
  --bg-2: #0A0F19;
  --ink: #F4F7FB;
  --sub: rgba(228, 236, 248, 0.70);
  --faint: rgba(228, 236, 248, 0.46);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.10);
  --hair: rgba(255, 255, 255, 0.11);
  --cyan: #62D5F5;
  --violet: #9D8CFF;
  --coral: #FF9B80;
  --amber: #F0BE5A;
  --mint: #78DD9C;
  --pink: #F7A1D8;
  --grad: linear-gradient(95deg, #62D5F5 0%, #9D8CFF 55%, #F7A1D8 100%);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 24px;
  --gut: clamp(18px, 4.5vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background: var(--bg);
  font: 400 1.0625rem/1.6 var(--sans); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 40% at 85% 0%, rgba(247, 161, 216, 0.09), transparent 70%),
    radial-gradient(60% 45% at 8% 12%, rgba(98, 213, 245, 0.10), transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 55%, #04060A 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #9BE6FB; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.032em; line-height: 1.04; text-wrap: balance; }
h1 em, h2 em {
  font-style: normal; color: transparent;
  background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 var(--gut); }
.wrap.wide { max-width: 76rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #111722; color: var(--ink); padding: 10px 14px; border-radius: 12px; }
.glass {
  background: var(--glass); border: 1px solid var(--hair); border-radius: var(--r);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
}
.eyebrow {
  margin: 0 0 1.1em; font: 600 0.74rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
}
.sub { color: var(--sub); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.5; max-width: 34rem; text-wrap: pretty; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid var(--hair); background: rgba(6, 8, 13, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
.home header.site { position: fixed; left: 0; right: 0; }
.home header.site:not(.is-stuck) { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
nav.site { display: flex; gap: 2px; }
nav.site a {
  color: var(--sub); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 8px 11px; border-radius: 999px; transition: color .2s, background .2s;
}
nav.site a:hover { color: var(--ink); background: var(--glass); }
nav.site a[aria-current="page"] { color: var(--ink); }
@media (max-width: 560px) {
  nav.site a { padding: 8px 8px; font-size: 0.86rem; }
  nav.site a[href="/"] { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; }
.stage { position: relative; order: 2; height: min(62svh, 520px); min-height: 340px; overflow: hidden; background: var(--bg); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s; touch-action: pan-y; }
.stage.is-live canvas { opacity: 1; }
.stage.is-drawing canvas { touch-action: none; cursor: crosshair; }
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 8, 13, 0) 16%, rgba(6, 8, 13, 0) 84%, var(--bg) 100%);
}
.flow-handle {
  position: absolute; z-index: 3; width: 56px; height: 56px; transform: translate(-50%, -50%); padding: 0;
  border: 0; border-radius: 50%; background: transparent; cursor: grab; touch-action: none;
}
.flow-handle::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(98, 213, 245, 0.7); opacity: 0;
  animation: ping 2.6s var(--ease) 1.6s 4;
}
@keyframes ping { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.7); } }
.is-grabbing .flow-handle { cursor: grabbing; }
.is-drawing .flow-handle { pointer-events: none; }
.draw-hint {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; pointer-events: none;
  font: 600 0.8rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan);
  padding: 10px 16px; border-radius: 999px; background: rgba(6, 8, 13, 0.72); border: 1px dashed rgba(98, 213, 245, 0.6);
  opacity: 0; transition: opacity .25s;
}
.is-drawing .draw-hint { opacity: 1; }
.hud {
  position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 22px; margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none;
  font: 500 0.68rem/1 var(--mono); letter-spacing: 0.04em; color: var(--sub);
}
.hud li { padding: 7px 10px; border-radius: 999px; background: rgba(6, 8, 13, 0.66); border: 1px solid var(--hair); white-space: nowrap; }
.hud b { color: var(--ink); font-weight: 600; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(120, 221, 156, .6); animation: pulse 2s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(120, 221, 156, 0); } 100% { box-shadow: 0 0 0 0 rgba(120, 221, 156, 0); } }

.hero-copy { order: 1; padding-top: 104px; padding-bottom: 8px; }
.hero h1 { font-size: clamp(2.7rem, 11.5vw, 5.4rem); letter-spacing: -0.04em; line-height: 0.98; }
.hero .lead { margin: 1.3em 0 0; color: var(--sub); font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.5; max-width: 33rem; text-wrap: pretty; }
.status { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.6em 0 0; font: 600 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.status span { padding: 9px 12px; border-radius: 999px; border: 1px solid var(--hair); color: var(--sub); background: rgba(6, 8, 13, 0.5); }
.status span:first-child { color: #04121A; background: var(--cyan); border-color: transparent; }
.status.centre { justify-content: center; }

.deck-wrap { order: 3; margin-top: -6px; position: relative; z-index: 4; }
.deck { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; border-radius: 22px; background: rgba(14, 18, 27, 0.72); }
.deck-note { grid-column: 1 / -1; margin: 2px 4px 0; font-size: 0.86rem; color: var(--sub); }
.deck .seg { grid-column: 1 / -1; }
.seg { display: flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hair); }
.seg button {
  flex: 1; appearance: none; border: 0; cursor: pointer; white-space: nowrap; color: var(--sub); background: transparent;
  font: 500 0.86rem/1 var(--sans); padding: 10px 12px; border-radius: 999px; transition: background .25s, color .25s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { color: var(--ink); background: rgba(255, 255, 255, 0.14); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset; }
.wind { display: flex; align-items: center; gap: 12px; padding: 0 6px 0 12px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hair); font-size: 0.86rem; font-weight: 500; min-width: 0; }
.wind output { font: 500 0.74rem var(--mono); color: var(--sub); min-width: 4.6em; text-align: right; padding-right: 8px; }
input[type="range"] { --fill: 50%; appearance: none; -webkit-appearance: none; flex: 1; min-width: 60px; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cyan) var(--fill), rgba(255, 255, 255, .16) var(--fill)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--cyan); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 20px; margin-top: -8px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 20px; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.round { appearance: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.08); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.round:hover { background: rgba(255, 255, 255, 0.16); }
.ico-pause { width: 12px; height: 14px; border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); }
.round[aria-pressed="true"] .ico-pause { width: 0; height: 0; border: 0; border-left: 12px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }

@media (min-width: 900px) {
  .hero { min-height: max(660px, min(100svh, 920px)); justify-content: center; }
  .stage { position: absolute; inset: 0; height: auto; order: 0; }
  .stage::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(6, 8, 13, 0.86) 24%, rgba(6, 8, 13, 0) 56%),
      linear-gradient(180deg, rgba(6, 8, 13, .7) 0%, rgba(6, 8, 13, 0) 14%, rgba(6, 8, 13, 0) 80%, var(--bg) 100%);
  }
  .hero-copy { position: relative; z-index: 2; pointer-events: none; padding-top: 80px; padding-bottom: 110px; }
  .hero-copy a { pointer-events: auto; }
  .hud { left: auto; right: var(--gut); top: 84px; bottom: auto; justify-content: flex-end; }
  .deck-wrap { position: absolute; left: 0; right: 0; bottom: 30px; margin: 0 auto; }
  .deck { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 999px; width: fit-content; max-width: 100%; }
  .deck-note { margin: 0 8px 0 12px; max-width: 13rem; line-height: 1.3; font-size: 0.8rem; }
  .deck .wind { width: 250px; }
}

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--hair); margin-top: 34px; padding: 15px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-run { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker span { font: 500 0.74rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); white-space: nowrap; padding: 0 22px; position: relative; }
.ticker span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; margin-top: -3px; border-radius: 50%; background: var(--cyan); opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (min-width: 900px) { .ticker { margin-top: 0; } }

/* ---------- phone frame ---------- */
.phone {
  --pw: 240px; position: relative; width: var(--pw); margin: 0; flex: none;
  padding: calc(var(--pw) * 0.03); border-radius: calc(var(--pw) * 0.175); background: #0B0D12;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(0, 0, 0, .9) inset, 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 90px rgba(98, 213, 245, 0.14);
}
.phone img { width: 100%; aspect-ratio: 660 / 1434; object-fit: cover; border-radius: calc(var(--pw) * 0.148); background: #0d1118; }
.phone.big { --pw: min(300px, 74vw); }
.phone.big img + img { position: absolute; left: calc(var(--pw) * 0.03); top: calc(var(--pw) * 0.03); width: calc(100% - var(--pw) * 0.06); }
.phone.big img { opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); transform: scale(1.03); }
.phone.big img.is-active { opacity: 1; transform: none; }

/* ---------- story ---------- */
section { position: relative; }
html, body { overflow-x: clip; }
.story { padding: clamp(56px, 9vw, 110px) 0 0; }
.story-grid { padding: 0; }
.story-steps {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px var(--gut) 26px; scroll-padding-inline: var(--gut); -webkit-overflow-scrolling: touch;
}
.story-steps::-webkit-scrollbar { display: none; }
.step {
  flex: 0 0 min(82vw, 330px); scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px;
  padding: 28px 20px 26px; border-radius: 30px; background: var(--glass); border: 1px solid var(--hair);
}
.step .phone { --pw: min(56vw, 220px); }
.step-copy { text-align: center; }
.step h2 { font-size: 1.85rem; }
.step-copy p:last-child { color: var(--sub); margin: .8em 0 0; font-size: 0.98rem; line-height: 1.5; text-wrap: pretty; }
.story-stick { display: none; }
.dots { display: flex; justify-content: center; gap: 7px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: background .3s, width .3s; }
.dots i.is-active { width: 20px; border-radius: 6px; background: var(--cyan); }

@media (min-width: 900px) {
  .story { padding-top: 40px; }
  .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 var(--gut); }
  .story-steps { display: block; overflow: visible; padding: 0; }
  .step {
    min-height: 78vh; flex-direction: row; align-items: center; padding: 0; background: none; border: 0; border-radius: 0;
    opacity: .22; transition: opacity .5s var(--ease), transform .6s var(--ease); transform: translateY(10px);
  }
  .step:first-child { padding-top: 6vh; } .step:last-child { padding-bottom: 6vh; }
  .step.is-active { opacity: 1; transform: none; }
  .step .phone { display: none; }
  .step-copy { text-align: left; max-width: 30rem; }
  .step h2 { font-size: clamp(2.6rem, 4.6vw, 4rem); }
  .step-copy p:last-child { font-size: 1.2rem; }
  .story-stick { display: flex; justify-content: center; align-items: center; position: sticky; top: 0; height: 100vh; }
  .story-stick::before {
    content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(98, 213, 245, 0.20), rgba(157, 140, 255, 0.10) 55%, transparent);
    filter: blur(10px); animation: drift 12s ease-in-out infinite alternate;
  }
  @keyframes drift { to { transform: translate(30px, -24px) scale(1.08); } }
  .story-stick .phone { --pw: min(310px, calc((100vh - 120px) * 0.46)); }
  .dots { display: none; }
}

/* ---------- sections ---------- */
.fields, .solvers, .honest { padding: clamp(72px, 11vw, 140px) 0 0; }
.head { max-width: 40rem; margin-bottom: clamp(28px, 4vw, 48px); }
.fields h2, .solvers h2, .honest h2, .closing h2 { font-size: clamp(2.2rem, 6.4vw, 3.8rem); margin-bottom: .35em; }
.fields-grid { display: grid; gap: 40px; align-items: center; }
.phone-trio { display: flex; justify-content: center; position: relative; }
.phone-trio::before { content: ""; position: absolute; inset: 8% 0; background: radial-gradient(closest-side, rgba(247, 161, 216, 0.16), transparent); pointer-events: none; }
.seg.big { margin-top: 26px; max-width: 30rem; }
.seg.big button { padding: 12px 10px; font-size: 0.92rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sym { font: 600 0.72rem var(--mono); color: var(--cyan); }
@media (min-width: 900px) { .fields-grid { grid-template-columns: 1.1fr 0.9fr; gap: 60px; } }

.cards { display: grid; gap: 14px; }
@media (min-width: 720px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; overflow: hidden; border-radius: 26px; background: rgba(18, 23, 34, 0.7); border: 1px solid var(--hair);
  transition: transform .5s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(98, 213, 245, 0.35); }
.card.glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(98, 213, 245, 0.16), transparent 70%);
}
.card.glow:hover::before { opacity: 1; }
.card img { width: 100%; aspect-ratio: 792 / 420; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.05); }
.card > div, .card.pad { padding: 22px 22px 24px; }
.card h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: .45em; }
.card p { color: var(--sub); font-size: 0.98rem; line-height: 1.5; margin: 0; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px !important; }
.tags span { font: 600 0.68rem/1 var(--mono); letter-spacing: 0.04em; color: var(--cyan); border: 1px solid rgba(98, 213, 245, 0.35); border-radius: 999px; padding: 6px 10px; }
.dot { display: block; width: 10px; height: 10px; border-radius: 50%; margin-bottom: 18px; box-shadow: 0 0 18px currentColor; }
.c-cyan { background: var(--cyan); color: var(--cyan); } .c-pink { background: var(--pink); color: var(--pink); }
.c-amber { background: var(--amber); color: var(--amber); } .c-mint { background: var(--mint); color: var(--mint); }

.closing { overflow: hidden; padding: clamp(90px, 14vw, 170px) 0 clamp(70px, 10vw, 120px); text-align: center; }
.closing::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(760px, 120vw); height: 420px; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(98, 213, 245, 0.16), rgba(157, 140, 255, 0.07) 60%, transparent);
}
.closing .wrap { position: relative; }
.app-icon { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(98, 213, 245, .25); animation: bob 6s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-8px); } }
.fine { margin: 2.2em auto 0; max-width: 34rem; color: var(--faint); font-size: 0.86rem; line-height: 1.5; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- document pages ---------- */
body:not(.home) main { padding: clamp(40px, 8vw, 76px) 0 70px; }
h1.doc { font-size: clamp(2.3rem, 7vw, 3.6rem); letter-spacing: -0.035em; }
.stamp { margin: 1em 0 0; font: 500 0.74rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
main > .wrap > .lead { margin: 1.2em 0 0; color: var(--sub); font-size: clamp(1.1rem, 2vw, 1.25rem); line-height: 1.5; text-wrap: pretty; }
body:not(.home) main h2 { font-size: 1.45rem; letter-spacing: -0.022em; line-height: 1.2; margin: 2.2em 0 .6em; }
body:not(.home) main p, body:not(.home) main li { color: var(--sub); }
body:not(.home) main strong { color: var(--ink); font-weight: 600; }
body:not(.home) main ul { padding-left: 1.2em; margin: 0; }
body:not(.home) main li { margin: .35em 0; }
.panel { padding: 22px 24px; margin: 2em 0 0; }
.panel h3 { font: 600 0.74rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1em; }
.panel.warn { border-color: rgba(240, 190, 90, 0.4); background: rgba(240, 190, 90, 0.06); }
.panel.warn h3 { color: var(--amber); }
.panel p:last-child { margin-bottom: 0; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.8em 0 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none; color: var(--ink); background: var(--glass-strong); border: 1px solid var(--hair);
  transition: transform .25s var(--ease), background .25s;
}
.button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.button.primary { color: #04121A; background: var(--cyan); border-color: transparent; }
.button.primary:hover { color: #04121A; background: #8BE2FA; }
details.glass { margin: 10px 0; border-radius: 20px; transition: border-color .3s, background .3s; }
details.glass[open] { border-color: rgba(98, 213, 245, 0.35); background: rgba(255, 255, 255, 0.07); }
details summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--ink); position: relative; line-height: 1.35; }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details > div { padding: 0 22px 18px; }
details > div p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--hair); padding: 30px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 0.88rem; }
footer.site p { color: var(--faint); margin: 6px 0; }
footer.site a { color: var(--sub); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; }
footer.site nav a { text-decoration: none; font-weight: 500; }
footer.site nav a:hover, footer.site p.maker a:hover { color: var(--ink); }
footer.site p.maker { margin-top: 16px; }
footer.site p.maker a { text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
footer.site p.maker img { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-run { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 14px; }
  .ticker span:nth-child(n+13) { display: none; }
}
