/* =========================================================================
   FOIL — site styles
   Palette is taken from the reference set: mauve wall, pine desk, glazed mug
   with gold slip, orange brushes, white paper, and the foil itself.
   ========================================================================= */
:root {
  --foil: #d3d7dc;
  --foil-hi: #f2f4f6;
  --foil-lo: #868c94;
  --ink: #231f21;
  --ink-soft: #4b4448;
  --paper: #f6f3ee;
  --paper-2: #ece6dd;
  --mauve: #a88f96;
  --mauve-lo: #8f7780;
  --mauve-hi: #cdbdc1;
  --pine: #d9a566;
  --pine-lo: #a86b34;
  --pine-hi: #f0d6b0;
  --glaze: #4a2416;
  --gold: #d9a43b;
  --brush: #e8742a;
  --brush-lo: #b9531a;
  --ok: #2f7d4f;

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --step: steps(4, end);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.02; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 750; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brush); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.kicker { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34ch; margin-top: 18px; color: var(--ink-soft); }
.fine { font-size: .85rem; color: var(--ink-soft); margin-top: 18px; max-width: 60ch; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --bg: var(--brush); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--ink); border-radius: 999px;
  font: 700 1rem/1 var(--f-display); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .12s var(--step), box-shadow .12s var(--step);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn--ghost { --bg: var(--paper); --fg: var(--ink); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .9rem; box-shadow: 0 3px 0 var(--ink); }
.btn[aria-disabled="true"], .btn:disabled {
  --bg: var(--paper-2); --fg: var(--ink-soft);
  border-style: dashed; box-shadow: none; cursor: not-allowed; transform: none;
}
.btn[aria-disabled="true"]::after { content: "· soon"; font-family: var(--f-mono); font-size: .72rem; font-weight: 400; }

/* Nav ---------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  transform: translateY(-100%); transition: transform .3s ease;
}
.nav.is-visible, .nav:focus-within { transform: none; }
.nav__wm { display: block; width: 92px; }
.nav nav { margin-left: auto; }
.nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav__list a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nav__toggle { display: none; }
@media (max-width: 860px) {
  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); cursor: pointer; }
  .nav__toggle span[aria-hidden] { width: 18px; height: 2px; background: var(--ink); box-shadow: 0 6px 0 var(--ink), 0 -6px 0 var(--ink); }
  .nav__list { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 2px solid var(--ink); display: none; }
  .nav__list.is-open { display: flex; }
  .nav__list a { display: block; padding: 14px var(--gutter); border-top: 1px solid var(--paper-2); }
  .nav > .btn--small { display: none; }
}

/* The Desk scene (hero + desk map) ---------------------------------------- */
.scene { position: relative; overflow: hidden; isolation: isolate; }
.scene__wall {
  position: absolute; inset: 0 0 42% 0; z-index: -2;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 0 0.25 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 50% 40%, #b49ca3 0%, var(--mauve) 55%, var(--mauve-lo) 100%);
}
.scene__desk {
  position: absolute; inset: 58% 0 0 0; z-index: -1;
  background:
    radial-gradient(ellipse 34px 12px at 72% 62%, #7a3f1c 0 40%, transparent 70%),
    radial-gradient(ellipse 22px 8px at 18% 84%, #8a4a22 0 40%, transparent 70%),
    radial-gradient(ellipse 26px 9px at 88% 30%, #8a4a22 0 40%, transparent 70%),
    repeating-linear-gradient(176deg, transparent 0 22px, rgba(140, 80, 30, .12) 22px 24px, transparent 24px 61px, rgba(140, 80, 30, .08) 61px 62px),
    linear-gradient(180deg, #c98d4f 0%, var(--pine) 30%, #e3b57a 75%, #d29a5c 100%);
  box-shadow: inset 0 14px 22px -12px rgba(60, 25, 10, .45);
}
.paper {
  position: absolute; left: 50%; bottom: 15%; width: min(34vw, 380px); aspect-ratio: 1.45;
  translate: -50% 0; z-index: 0;
  background: linear-gradient(160deg, #fff, #ecebe8);
  transform: perspective(600px) rotateX(64deg) rotateZ(-4deg);
  box-shadow: 0 12px 24px rgba(60, 30, 10, .18);
}
.prop { position: absolute; z-index: 1; height: auto; pointer-events: none; filter: drop-shadow(0 10px 10px rgba(50, 20, 8, .28)); }
.prop--mug { left: 3%; bottom: 23%; width: min(19vw, 250px); }
.prop--box { right: -3%; bottom: 25%; width: min(30vw, 420px); }

/* Hero ---------------------------------------------------------------------- */
.hero { height: max(660px, 100svh); max-height: 1080px; color: var(--ink); }
.hero__head { position: absolute; left: 0; right: 0; top: max(4.5%, 34px); z-index: 2; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 0 var(--gutter); }
.hero__wm { width: min(50vw, 600px, 62vh); filter: drop-shadow(0 6px 4px rgba(50, 25, 35, .35)); }
.hero__stage { position: absolute; left: 50%; bottom: 16%; height: 46%; aspect-ratio: 240 / 450; translate: -50% 0; z-index: 3; }
.foil-actor { all: unset; display: block; width: 100%; height: 100%; cursor: pointer; border-radius: 30px; }
.foil-actor:focus-visible { outline: 3px dashed var(--paper); outline-offset: 6px; }
.foil-actor__svg, .foil-actor__svg svg { width: 100%; height: 100%; }
.bubble {
  position: absolute; left: 72%; top: 6%; min-width: 150px; max-width: 220px;
  padding: 10px 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px 16px 16px 4px;
  font-weight: 650; font-size: .98rem; line-height: 1.25;
  opacity: 0; transform: scale(.9); transform-origin: 0 100%; transition: opacity .1s, transform .1s var(--step);
  pointer-events: none;
}
.bubble.is-on { opacity: 1; transform: none; }
.poke-hint { position: absolute; right: 100%; top: 30%; font-family: var(--f-mono); font-size: .8rem; color: var(--paper); white-space: nowrap; transform: rotate(-6deg); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.hero__copy { position: absolute; left: 0; right: 0; bottom: 3.5%; z-index: 4; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 0 var(--gutter); }
.hero__tag { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 800; color: var(--paper); text-shadow: 0 2px 0 var(--mauve-lo), 0 6px 18px rgba(40, 20, 30, .3); }
.hero__sub { max-width: 44ch; font-size: clamp(.95rem, 1.2vw, 1.05rem); font-weight: 500; color: #fff; text-shadow: 0 1px 2px rgba(60, 30, 40, .45); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.status-pill { text-decoration: none; display: inline-flex; text-align: left; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .74rem; background: var(--ink); color: var(--paper); padding: 6px 12px; border-radius: 999px; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.status-pill.is-live .dot { background: #49d17d; }
.frame-counter { position: absolute; top: 18px; left: var(--gutter); z-index: 5; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; color: var(--paper); display: flex; align-items: center; gap: 8px; opacity: .9; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: #e2412b; animation: blink 1s steps(2, end) infinite; }
@keyframes blink { 50% { opacity: .2; } }

@media (max-width: 860px) {
  .hero { height: max(640px, 100svh); }
  .hero__head { top: 52px; }
  .hero__wm { width: min(84vw, 420px); }
  .hero__stage { height: 38%; bottom: 23%; }
  .prop--mug { left: -9%; width: 32vw; bottom: 32%; }
  .prop--box { display: none; }
  .paper { width: 64vw; bottom: 22%; }
  .poke-hint { right: auto; left: 100%; top: 55%; }
  .bubble { left: 40%; top: -6%; }
}

/* Film-strip divider ------------------------------------------------------- */
.strip {
  height: 54px; overflow: hidden; background: var(--ink); position: relative;
  background-image:
    radial-gradient(circle at 50% 50%, var(--paper) 0 4px, transparent 4.5px),
    radial-gradient(circle at 50% 50%, var(--paper) 0 4px, transparent 4.5px);
  background-size: 22px 12px, 22px 12px;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x;
}
.strip__inner { position: absolute; top: 50%; translate: 0 -50%; white-space: nowrap; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .2em; color: var(--foil); will-change: transform; }

/* Story -------------------------------------------------------------------- */
.frames { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.frame {
  background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 22px 20px 26px;
  position: relative; box-shadow: 0 0 0 6px var(--ink), inset 0 0 0 1px rgba(255,255,255,.08);
}
.frame:nth-child(even) { transform: rotate(.8deg); }
.frame:nth-child(odd) { transform: rotate(-.6deg); }
.frame__no { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.frame h3 { margin: 12px 0 10px; font-size: 1.6rem; }
.frame p { color: #ddd6d2; font-size: .98rem; }
@media (max-width: 960px) {
  .frames { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82vw, 340px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 6px 20px; margin-left: -6px; }
  .frame { scroll-snap-align: start; }
}

/* Desk map ------------------------------------------------------------------ */
.desk { background: var(--mauve-hi); }
.deskmap { margin: 40px auto 0; max-width: 1180px; aspect-ratio: 16 / 8; border-radius: 22px; border: 3px solid var(--ink); }
@media (max-width: 860px) { .deskmap { aspect-ratio: 4 / 4.4; margin: 32px var(--gutter) 0; } }
.scene--small .prop--mug { width: 18%; bottom: 26%; left: 6%; }
.scene--small .prop--box { width: 30%; right: -2%; bottom: 28%; display: block; }
.scene--small .paper { width: 30%; bottom: 14%; }
@media (max-width: 860px) { .scene--small .prop--mug { width: 28%; } .scene--small .prop--box { width: 40%; } .scene--small .paper { width: 52%; } }
.deskmap__foil { position: absolute; left: 50%; bottom: 17%; height: 40%; aspect-ratio: 240/450; translate: -50% 0; z-index: 2; }
.deskmap__foil svg { width: 100%; height: 100%; }
.spot {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  font: 800 1rem var(--f-mono); cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
}
.spot::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--paper); animation: ping 1.6s steps(6, end) infinite; }
.spot[aria-pressed="true"] { background: var(--brush); color: #fff; }
.spot:nth-of-type(4) { top: auto; bottom: 4%; translate: -50% 0; }
@keyframes ping { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.place-panel { margin-top: 28px; max-width: 640px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px 24px; box-shadow: 6px 6px 0 var(--ink); }
.place-panel h3 { margin-bottom: 8px; }

/* Moods --------------------------------------------------------------------- */
.moods__grid { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 16px; }
.mood { background: var(--mauve); border-radius: var(--radius); border: 2px solid var(--ink); overflow: hidden; display: grid; grid-template-rows: auto auto; position: relative; }
.mood:nth-child(3n+2) { background: var(--pine); }
.mood:nth-child(3n) { background: var(--mauve-hi); }
.mood img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 10px 10px 0; transition: transform .15s var(--step); }
.mood:hover img { transform: translateY(-6px) rotate(-2deg); }
.mood__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: var(--paper); border-top: 2px solid var(--ink); }
.mood__cap { font-weight: 700; font-size: .92rem; line-height: 1.2; }
.mood__dl { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); text-decoration: none; font-weight: 800; }
.mood__dl:hover { background: var(--brush); color: #fff; }

/* Studio -------------------------------------------------------------------- */
.studio { background: var(--ink); color: var(--paper); }
.studio .kicker, .studio .lede { color: var(--mauve-hi); }
.studio__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .studio__grid { grid-template-columns: 1fr; } }
.studio__presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 22px; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--foil-lo); background: transparent; color: var(--paper); font: 600 .88rem var(--f-display); cursor: pointer; }
.chip:hover, .chip[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.studio__controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.studio__controls label { display: grid; gap: 6px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mauve-hi); }
.studio__caption { grid-column: 1 / -1; }
.studio input[type="range"] { width: 100%; accent-color: var(--brush); height: 28px; }
.studio select, .studio input[type="text"] { min-height: 44px; border-radius: 10px; border: 1.5px solid var(--foil-lo); background: #2f2a2d; color: var(--paper); font: 500 1rem var(--f-display); padding: 0 12px; }
.studio__canvas { margin: 0; background: var(--mauve); border-radius: 22px; border: 3px solid var(--paper); padding: 18px; position: relative; aspect-ratio: 1; display: grid; grid-template-rows: 1fr auto auto; }
.studio__stage { min-height: 0; display: grid; place-items: center; }
.studio__stage svg { height: 100%; width: auto; max-height: 100%; }
.studio__cap { text-align: center; color: var(--paper); font-weight: 800; font-size: clamp(1.2rem, 3vw, 1.9rem); text-shadow: 0 2px 0 var(--mauve-lo); min-height: 1.3em; }
.studio__actions { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }

/* Token --------------------------------------------------------------------- */
.notice { margin-top: 28px; padding: 16px 20px; border-radius: var(--radius); border: 2px dashed var(--ink); background: #fff4d6; max-width: 760px; }
.notice.is-live { background: #ddf3e4; border-style: solid; }
.token__grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 28px; margin-top: 36px; align-items: start; }
@media (max-width: 900px) { .token__grid { grid-template-columns: 1fr; } }
.donut-card { background: var(--paper-2); border-radius: 22px; padding: 26px; display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; border: 2px solid var(--ink); }
@media (max-width: 480px) { .donut-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.donut { width: 150px; height: 150px; }
.donut-card__legend p { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 8px; }
@media (max-width: 480px) { .donut-card__legend p { justify-content: center; } }
.sw { width: 14px; height: 14px; border-radius: 4px; flex: none; border: 1.5px solid var(--ink); }
.sw--pine { background: var(--pine); } .sw--brush { background: var(--brush); }
.tag-proposed { font-family: var(--f-mono); font-size: .72rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--brush-lo); }
.facts { margin: 0; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; background: #fff; }
.facts div { display: grid; grid-template-columns: minmax(130px, .8fr) 1.4fr; gap: 12px; padding: 13px 20px; border-top: 1px solid var(--paper-2); }
.facts div:first-child { border-top: 0; }
.facts dt { font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 650; }
.facts em { font-style: normal; font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brush-lo); background: #fde9da; padding: 2px 6px; border-radius: 6px; margin-left: 6px; white-space: nowrap; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.ca { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ca code { font-family: var(--f-mono); font-size: .85rem; word-break: break-all; }
.copy { min-height: 34px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--ink); background: var(--paper); font: 600 .8rem var(--f-mono); cursor: pointer; }
.copy:disabled { opacity: .45; cursor: not-allowed; }
.buy { margin-top: 56px; }
.steps { padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 22px 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px; font-size: .95rem; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--f-mono); color: var(--brush); font-weight: 600; margin-bottom: 8px; }
.steps strong { display: block; margin-bottom: 4px; }
.buy__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Roadmap ------------------------------------------------------------------- */
.roadmap { background: var(--pine-hi); }
.acts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .acts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .acts { grid-template-columns: 1fr; } }
.act { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; }
.act--now { background: var(--ink); color: var(--paper); }
.act__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brush-lo); }
.act--now .act__label { color: var(--gold); }
.act h3 { margin: 10px 0 12px; font-size: 1.5rem; }
.act ul { margin: 0; padding-left: 18px; font-size: .95rem; display: grid; gap: 6px; }

/* Community ----------------------------------------------------------------- */
.community { background: var(--brush); color: #fff; overflow: hidden; }
.community .kicker, .community .lede, .community .fine { color: #fff2e8; }
.community__inner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
@media (max-width: 720px) { .community__inner { grid-template-columns: 1fr; } .community__foil { width: 150px; justify-self: center; } }
.community__foil svg { width: 100%; height: auto; }
.community__links { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.community .btn { --bg: var(--ink); --fg: #fff; }
.community .btn--ghost { --bg: #fff; --fg: var(--ink); }
.community .btn[aria-disabled="true"] { --bg: color-mix(in srgb, #fff 18%, var(--brush)); --fg: #fff; border-color: #fff; }

/* FAQ ----------------------------------------------------------------------- */
.faq__list { margin-top: 36px; max-width: 820px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-size: 1.2rem; font-weight: 750; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font: 600 1.6rem var(--f-mono); transition: rotate .15s var(--step); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 22px; max-width: 64ch; color: var(--ink-soft); }

/* Footer -------------------------------------------------------------------- */
.footer { background: var(--ink); color: #d9d2cf; padding: 64px 0 48px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1fr auto 2fr; gap: 36px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__wm { display: block; width: 140px; margin-bottom: 10px; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: #fff; }
.footer__risk { display: grid; gap: 12px; color: #b9b0ad; }
.noscript { text-align: center; padding: 12px; background: var(--gold); }

/* Stop-motion pops: things appear on whole frames, not smooth tweens -------- */
[data-reveal] { opacity: 0; transform: translateY(18px) rotate(-1deg); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .25s steps(3, end), transform .25s steps(3, end); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
