/* A dim, warm room with one lit object: the rug. Colours come from the Qali icon
   (madder red, indigo, saffron, undyed wool). The live demo and the real
   screenshots carry the page; the type stays quiet around them. */
:root {
  --ground: #140f1c;
  --ground-sunk: #0e0a14;
  --raised: #1d1727;
  --raised-2: #271f33;
  --ink: #f3eadb;
  --ink-dim: #b3a8b8;
  --line: rgba(243, 234, 219, 0.13);
  --madder: #b8322a;
  --madder-hi: #cf4238;
  --on-madder: #fff8ec;
  --saffron: #e8b04a;
  --focus: #e8b04a;
  --banner: #e8b04a;
  --banner-ink: #1a1405;
  --qr-bg: #f3eadb;
  --qr-fg: #140f1c;
  --shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
h1 em { font-style: italic; color: var(--saffron); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide { max-width: 1280px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7em 1.25em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--madder);
  color: var(--on-madder);
  font: 600 1rem/1.2 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--madder-hi); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 0.5em 1em; font-size: 0.92rem; }
.btn-big { padding: 0.9em 1.6em; font-size: 1.08rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--raised-2); border-color: rgba(243, 234, 219, 0.28); }

/* ---------- banner + header ---------- */
.demo-banner {
  background: var(--banner);
  color: var(--banner-ink);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem var(--gutter);
}
.demo-banner code { font-family: var(--mono); font-weight: 500; }

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 15, 28, 0.78);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 8px; }
.top-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.top-nav a { text-decoration: none; color: var(--ink-dim); font-weight: 500; font-size: 0.95rem; }
.top-nav a:hover { color: var(--ink); }
@media (max-width: 820px) { .top-nav { display: none; } .top-row > .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2rem, 4.5vw, 3.5rem) clamp(3rem, 7vw, 5rem);
  isolation: isolate;
}
.hero::before {
  /* lamp light falling on the rug */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1100px;
  z-index: -1;
  background:
    radial-gradient(50% 45% at 50% 62%, rgba(232, 176, 74, 0.16), transparent 70%),
    radial-gradient(40% 30% at 50% 0%, rgba(184, 50, 42, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-copy { text-align: center; display: grid; justify-items: center; }
.hero-copy h1 { max-width: 17ch; }
.hero-copy .eyebrow { margin-bottom: 0.8rem; }
.lede {
  margin-top: 1.1rem;
  max-width: 54ch;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--ink-dim);
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.5rem; }
.fine { margin-top: 0.8rem; font-size: 0.88rem; color: var(--ink-dim); }

/* ---------- live demo ---------- */
.demo { margin: clamp(1.8rem, 3.5vw, 2.6rem) 0 0; }

.screen {
  position: relative;
  aspect-ratio: 16 / 10; /* until the script sizes it */
  border-radius: 16px;
  overflow: hidden;
  background: #2a2350;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 10px #0b0810,
    0 0 0 11px rgba(255, 255, 255, 0.07),
    0 60px 120px -40px rgba(0, 0, 0, 0.9);
  margin: 11px;
}
.demo.live .screen { aspect-ratio: auto; }

.stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 960px;
  height: 600px;
  transform-origin: 0 0;
  visibility: hidden;
}
.demo.live .stage { visibility: visible; }
.stage canvas { position: absolute; inset: 0; width: 960px; height: 600px; z-index: 2; touch-action: pan-y; }

.wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 75% at 78% 30%, #f39a6b 0%, rgba(243, 154, 107, 0) 60%),
    radial-gradient(55% 70% at 30% 85%, #6a3fb5 0%, rgba(106, 63, 181, 0) 65%),
    radial-gradient(70% 90% at 95% 100%, #c2477a 0%, rgba(194, 71, 122, 0) 60%),
    radial-gradient(80% 80% at 10% 10%, #1d3f8f 0%, rgba(29, 63, 143, 0) 70%),
    linear-gradient(160deg, #142a63 0%, #3a2a78 45%, #8a3a76 75%, #e2875f 100%);
}
.wallpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.28) 100%);
}
.icons { position: absolute; inset: 0; z-index: 1; }
.fk-icon {
  position: absolute;
  width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font: 12px/1.25 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 6px rgba(0, 0, 0, 0.35);
}
.fk-icon svg { width: 48px; height: 48px; margin-top: 4px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)); }
.fk-icon span { margin-top: 4px; max-width: 100%; overflow-wrap: anywhere; }
.taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(28, 26, 44, 0.74);
  backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.taskbar i { width: 32px; height: 32px; display: grid; place-items: center; }
.taskbar i::before { content: ""; width: 18px; height: 18px; border-radius: 4px; background: var(--c); }
.taskbar .tray { position: absolute; right: 12px; color: #fff; font: 11px "Segoe UI", system-ui, sans-serif; }

.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo.live .poster { display: none; }

.hint {
  position: absolute;
  left: 50%;
  bottom: calc(7% + 12px);
  z-index: 4;
  translate: -50% 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(14, 10, 20, 0.78);
  backdrop-filter: blur(8px);
  color: #f3eadb;
  font-size: 0.9rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.demo.live .hint { opacity: 1; }
.demo.live .hint.gone { opacity: 0; }
@media (max-width: 640px) { .hint { display: none; } }
.h-touch { display: none; }
@media (hover: none) { .h-mouse { display: none; } .h-touch { display: inline; } }

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.8rem;
  margin: 1.8rem 11px 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--raised);
}
.demo.no-webgl .controls { display: none; }
.ctl-group { display: flex; align-items: center; gap: 0.6rem; }
.ctl-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.weave-btns { display: flex; gap: 0.5rem; }
.weave-btn {
  position: relative;
  width: 46px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--raised-2) center / cover;
  color: var(--ink-dim);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.weave-btn:hover { transform: translateY(-2px); }
.weave-btn[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ground), 0 0 0 4px var(--saffron); }
.weave-btn.upload { border-style: dashed; }
.weave-btn.upload svg { width: 18px; height: 18px; }
.weave-btn.upload[aria-expanded="true"] { border-color: var(--saffron); color: var(--saffron); }
.upsell {
  order: 10;
  flex-basis: 100%;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--raised-2);
  border-left: 3px solid var(--saffron);
  font-size: 0.92rem;
  color: var(--ink);
}
.upsell[hidden] { display: none; }
.upsell a { color: var(--saffron); font-weight: 600; text-underline-offset: 0.2em; margin-left: 0.3em; white-space: nowrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button {
  min-width: 2.2rem;
  padding: 0.3em 0.7em;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-dim);
  font: 600 0.88rem var(--body);
  cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.count { margin-left: auto; color: var(--ink-dim); font-size: 0.95rem; }
.count b { font-family: var(--display); font-size: 1.5rem; font-weight: 400; color: var(--saffron); margin-right: 0.15em; }
@media (max-width: 700px) { .count { margin-left: 0; } }

.demo-note { margin: 1rem auto 0; max-width: 60ch; text-align: center; font-size: 0.88rem; color: var(--ink-dim); }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-sunk {
  background: var(--ground-sunk);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 44rem; }
.section-head p:not(.eyebrow) { color: var(--ink-dim); font-size: 1.1rem; max-width: 58ch; }

/* ---------- features ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.feature.flip .shot { order: 2; }
@media (max-width: 880px) {
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .shot { order: 0; }
}
.shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow);
}
.feature-copy { display: grid; gap: 0.9rem; }
.feature-copy p { color: var(--ink-dim); }
.step-num { font-family: var(--mono); font-size: 0.85rem; color: var(--saffron); }
.feature-copy h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; }

.moves { width: 100%; border-collapse: collapse; margin-top: 0.6rem; font-size: 0.95rem; }
.moves th, .moves td { padding: 0.55rem 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.moves th { font-family: var(--mono); font-weight: 500; font-size: 0.82rem; color: var(--ink); padding-right: 1rem; white-space: nowrap; }
.moves td { color: var(--ink-dim); }

/* ---------- weaves ---------- */
.weave-grid {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.4rem);
}
.weave-grid li { grid-column: span 2; }
.weave-grid li:nth-child(4), .weave-grid li:nth-child(5) { grid-column: span 3; }
@media (max-width: 880px) {
  .weave-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weave-grid li, .weave-grid li:nth-child(4) { grid-column: span 1; }
  .weave-grid li:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 520px) {
  .weave-grid { grid-template-columns: minmax(0, 1fr); }
  .weave-grid li, .weave-grid li:nth-child(n) { grid-column: auto; }
}
.weave-grid figure { margin: 0; }
.weave-grid img {
  width: 100%;
  aspect-ratio: 632 / 444;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.weave-grid figcaption { margin-top: 0.75rem; color: var(--ink-dim); font-size: 0.95rem; }
.weave-grid figcaption b { display: block; color: var(--ink); font-size: 1.05rem; }

/* ---------- details ---------- */
.details {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 960px) { .details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .details { grid-template-columns: minmax(0, 1fr); } }
.details li {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--raised);
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.details p { color: var(--ink-dim); font-size: 0.97rem; }

/* ---------- story ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 820px) { .story { grid-template-columns: minmax(0, 1fr); } }
.story-mark { display: grid; place-items: center; }
.story-mark img {
  width: min(100%, 300px);
  rotate: -6deg;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}
@media (max-width: 820px) { .story-mark img { width: 160px; } }
.story-copy { display: grid; gap: 1rem; }
.story-copy h2 { margin-bottom: 0.3rem; }
.story-copy p:not(.eyebrow) { color: var(--ink-dim); max-width: 60ch; }
.story-copy a { color: var(--ink); text-decoration-color: var(--saffron); text-underline-offset: 0.2em; }
.story-copy a:hover { color: var(--saffron); }
.sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem; margin-top: 0.4rem; }
.sig { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--ink); }
.sign a { font-family: var(--mono); font-size: 0.85rem; }
.aside { font-size: 0.9rem; }
.aside i { font-style: normal; font-size: 1.15rem; color: var(--saffron); }

/* ---------- buy ---------- */
.buy-head { max-width: 44rem; }
.buy-head p:not(.eyebrow) { color: var(--ink-dim); max-width: 56ch; }
.big-price { color: var(--saffron); }

.buy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2.6rem;
  align-items: start;
}
@media (max-width: 960px) { .buy-grid { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 3.4rem; color: var(--ink-dim); min-width: 0; }
.steps li b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 0.2rem; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--saffron);
  color: var(--saffron);
  font-family: var(--display);
  font-size: 1.15rem;
}
.steps .mono { font-size: 0.82rem; color: var(--ink); overflow-wrap: anywhere; }

.pay {
  min-width: 0;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1rem, 3vw, 1.8rem);
  box-shadow: var(--shadow);
}
.pay-methods { display: flex; gap: 0.4rem; margin-bottom: 1.3rem; }
.method {
  padding: 0.5em 1.1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-dim);
  font: 600 0.95rem var(--body);
  cursor: pointer;
}
.method[aria-selected="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.soon { font-family: var(--mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 0.3em; opacity: 0.8; }

.coins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.coin {
  display: grid;
  gap: 0.1rem;
  text-align: left;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-width: 0;
}
.coin b { font-family: var(--mono); font-weight: 500; font-size: 1.05rem; }
.coin small { color: var(--ink-dim); font-size: 0.8rem; line-height: 1.25; }
.coin:hover { background: var(--raised-2); }
.coin[aria-pressed="true"] { border-color: var(--saffron); background: var(--raised-2); }

.coin-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; align-items: start; margin-top: 1.4rem; }
.qr { width: 156px; height: 156px; padding: 10px; border-radius: 12px; background: var(--qr-bg); }
.qr svg { display: block; width: 100%; height: 100%; }
.qr:empty { display: none; }
.qr:empty + .coin-info { grid-column: 1 / -1; }
.coin-info { min-width: 0; display: grid; gap: 0.35rem; }
.label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.coin-info .label:not(:first-child) { margin-top: 0.7rem; }
.amount { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.1; overflow-wrap: anywhere; }
.rate { font-size: 0.82rem; color: var(--ink-dim); min-height: 1.2em; }
.addr-row { display: flex; gap: 0.6rem; align-items: stretch; }
.addr {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: var(--ground-sunk);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  user-select: all;
}
.network { font-size: 0.88rem; color: var(--saffron); }
@media (max-width: 560px) {
  .coin-body { grid-template-columns: minmax(0, 1fr); }
  .qr { width: 148px; height: 148px; }
  .coins { grid-template-columns: minmax(0, 1fr); }
  .coin { grid-template-columns: auto 1fr; align-items: baseline; gap: 0.2rem 0.8rem; }
}

.paid { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: grid; gap: 0.9rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--ground-sunk);
  color: var(--ink);
  font: 1rem var(--body);
}
.field input::placeholder { color: var(--ink-dim); opacity: 0.7; }
.field input[aria-invalid="true"] { border-color: var(--madder-hi); }
.paid-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.form-note { font-size: 0.9rem; color: var(--ink-dim); min-height: 1.2em; }
.form-note.err { color: var(--madder-hi); }
.fallback { font-size: 0.86rem; color: var(--ink-dim); }
.fallback .mono { color: var(--ink); overflow-wrap: anywhere; }
.copy-inline {
  border: 0;
  padding: 0;
  background: none;
  color: var(--saffron);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.card-soon { color: var(--ink-dim); max-width: 46ch; margin-bottom: 1.2rem; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--saffron); font-size: 1.3rem; line-height: 1; transition: rotate 0.2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 2rem 1.3rem 0; color: var(--ink-dim); max-width: 60ch; }
.faq details a { color: var(--ink); text-decoration-color: var(--saffron); }

/* ---------- footer ---------- */
.foot { padding-block: 2.4rem 3rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot-note { color: var(--ink-dim); font-size: 0.9rem; }
.foot-note a { color: var(--ink); text-decoration-color: var(--saffron); text-underline-offset: 0.2em; }
.foot-note .mono { color: var(--ink); overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
