:root {
  --paper: #faf6ec;
  --ink: #1c2447;
  --muted: #4b5570;
  --faint: #8b93a8;
  --line: rgba(28, 36, 71, 0.1);
  --card: #ffffff;
  --pink: #fe0087;
  --pink-soft: rgba(254, 0, 135, 0.1);
  --blue: #2b46e8;
  --mint: #b9e8b8;
  --mint-ink: #12300f;
  --shadow: 0 1px 0 rgba(28, 36, 71, 0.04), 0 18px 50px rgba(28, 36, 71, 0.06);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; overflow-wrap: anywhere; }
code { overflow-wrap: anywhere; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { letter-spacing: -0.045em; line-height: 1.02; font-weight: 800; margin: 0; }
p { margin: 0; }

.blueprint { position: relative; z-index: 0; isolation: isolate; }
.blueprint::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cpath d='M160 0H0V160' fill='none' stroke='%232b46e8' stroke-opacity='.18'/%3E%3Cpath d='M80 0V160M0 80H160' fill='none' stroke='%232b46e8' stroke-opacity='.08'/%3E%3Cpath d='M8 22V8H22M138 8H152V22M152 138V152H138M22 152H8V138' fill='none' stroke='%23fe0087' stroke-opacity='.45' stroke-width='1.2'/%3E%3C/svg%3E"),
    radial-gradient(820px 480px at 8% 22%, rgba(43, 70, 232, 0.16), transparent 68%),
    radial-gradient(760px 460px at 92% 8%, rgba(226, 177, 90, 0.22), transparent 64%),
    radial-gradient(680px 420px at 78% 86%, rgba(224, 122, 76, 0.14), transparent 70%),
    radial-gradient(640px 400px at 14% 88%, rgba(111, 154, 124, 0.16), transparent 68%),
    radial-gradient(520px 320px at 48% 46%, rgba(254, 0, 135, 0.06), transparent 70%);
  background-size: 160px 160px, auto, auto, auto, auto, auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 28px;
  background: rgba(250, 246, 236, 0.86);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.04em; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; display: block; }
.links { display: flex; gap: 28px; align-items: center; }
.links a { text-decoration: none; font-size: 17px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.links a.on { color: var(--pink); }
.links a:hover { color: var(--pink); }
.top .btn { justify-self: end; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 999px; padding: 10px 16px;
  border: 1px solid var(--line); background: #fff; font-weight: 750; font-size: 14px; cursor: pointer;
}
.btn.solid { background: var(--mint); border-color: transparent; color: var(--mint-ink); }
.btn.solid:hover { filter: brightness(0.97); }
.btn.tiny { padding: 5px 10px; font-size: 12px; }

.hero { text-align: center; padding: 78px 24px 10px; }
.hero-blueprint {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 92px) 24px 0;
  min-height: clamp(560px, 72vh, 760px);
  color: var(--ink);
}
.plate-back {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.plate-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 58% 46% at 50% 34%, rgba(250, 246, 236, 0.88) 0%, rgba(250, 246, 236, 0.42) 58%, rgba(250, 246, 236, 0) 76%);
}
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--paper));
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0 auto;
}
.hero-blueprint h1 { margin: 0 auto 16px; max-width: 920px; font-size: clamp(48px, 6.4vw, 76px); color: var(--ink); }
.hero h1 { margin: 0 auto 16px; max-width: 920px; font-size: clamp(48px, 6.4vw, 76px); }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero-blueprint .lede { color: var(--muted); }
.lede { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 14px;
  color: var(--muted); font-size: 13px;
}
.chip.hero-chip {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}
.chip strong { color: var(--ink); }
.token-chip { margin-left: 8px; }
.token-chip code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: var(--shadow);
}
.socials a:hover { transform: translateY(-1px); }
.socials svg { width: 34px; height: 34px; display: block; }

.admin-shell { width: min(1180px, calc(100% - 32px)); margin: 28px auto 64px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-nav, .admin-card, .gate { background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.admin-nav { position: sticky; top: 96px; padding: 14px; display: grid; gap: 6px; }
.admin-nav button, .admin-nav .quiet {
  text-align: left; border: 0; background: transparent; border-radius: 12px;
  padding: 10px 12px; font-weight: 800; cursor: pointer;
}
.admin-nav button.on { background: var(--ink); color: #fff; }
.admin-card { padding: 22px; }
.admin-card h1 { font-size: 36px; margin-bottom: 8px; }
.admin-card .lede { margin: 0 0 18px; }
.fields { display: grid; gap: 12px; }
.fields label { display: grid; gap: 6px; font-size: 13px; font-weight: 750; color: var(--muted); }
.fields input {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff;
}
.tabs { display: flex; gap: 8px; margin: 8px 0 14px; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 800; cursor: pointer; }
.tabs button.on { background: var(--ink); color: #fff; border-color: transparent; }
.post {
  border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 12px; margin-top: 12px; background: #fff;
}
.post header { display: flex; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.post p { margin-top: 10px; white-space: pre-wrap; color: var(--ink); font-size: 15.5px; line-height: 1.55; }
.post .row { display: flex; gap: 8px; margin-top: 12px; }
.search { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.gate { max-width: 520px; margin: 48px auto; padding: 28px; }
.gate h1 { font-size: 36px; margin-bottom: 8px; }
.note { color: var(--muted); font-size: 14px; margin-top: 12px; }
@media (max-width: 800px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { position: static; }
  .token-chip { margin-left: 0; }
}

.device {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 32px));
  margin: 28px auto 8px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 16px 18px 18px;
  text-align: left;
}
.device-top { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.device-top i { width: 8px; height: 8px; border-radius: 50%; background: #efe7d8; display: block; }
.device-top i:first-child { background: var(--pink); animation: blink 1.6s ease infinite; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.flow b {
  display: grid; place-items: center; height: 54px; border-radius: 14px;
  background: #faf6ec; font-size: 13px; animation: step 3.2s ease infinite;
  animation-delay: var(--d, 0s);
}
.flow b.hub { background: var(--ink); color: #fff; animation: none; }
.track { margin-top: 12px; height: 6px; border-radius: 99px; background: #f3ecdf; overflow: hidden; }
.track span { display: block; height: 100%; width: 30%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--blue)); animation: slide 2.4s ease-in-out infinite; }

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; min-width: 0; }
.trio {
  display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 28px;
  box-shadow: var(--shadow); overflow: hidden; margin: 34px auto 8px;
}
.trio article { padding: 22px 24px 26px; border-right: 1px solid var(--line); }
.trio article:last-child { border-right: 0; }
.trio h2 { margin: 12px 0 8px; font-size: 22px; }
.trio p, .copy p, .doc p { color: var(--muted); }
.art { height: 74px; width: 100%; display: block; }
.plate {
  display: block;
  margin: 0 0 28px;
  border-radius: 20px;
  overflow: hidden;
  background: #f3eadc;
  box-shadow: 0 24px 60px rgba(28, 36, 71, 0.12);
  aspect-ratio: 16 / 9;
}
.plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.section .grid > .plate { grid-column: 1 / -1; margin-bottom: 4px; }
.close .plate, .chains .plate { width: 100%; margin-left: auto; margin-right: auto; }
.trio .mini {
  aspect-ratio: 4 / 3;
  height: auto;
  margin: 0 0 4px;
  border-radius: 14px;
  box-shadow: none;
  background: #f3eadc;
  overflow: hidden;
}
.trio .mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 18px 0 8px; }
.pills a { text-decoration: none; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 14px; font-weight: 700; }
.pills a:hover { border-color: var(--pink); color: var(--pink); }

.section { padding: 92px 0; }
.section .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.section .grid > * { min-width: 0; }
.section.flip .grid { direction: rtl; }
.section.flip .grid > * { direction: ltr; }
.kicker { color: var(--pink); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px; }
.copy h2 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 14px; }
.copy .story { margin-bottom: 8px; }
.bullets { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.bullets li { display: flex; gap: 10px; }
.bullets i { flex: 0 0 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--pink); }

.reveal { animation: rise 0.8s ease both; }
.panel {
  background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow); border: 1px solid rgba(28,36,71,.04);
}
.panel .label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.panel .big { font-size: 40px; font-weight: 800; letter-spacing: -0.045em; margin: 6px 0 4px; }
.panel .note { color: var(--muted); min-height: 3em; }
.panel label.slide { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; }
.panel label.slide span { display: flex; justify-content: space-between; margin-bottom: 6px; }
input[type="range"] { width: 100%; accent-color: var(--pink); }
.bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 12px 0; background: #f3ecdf; }
.bar b:first-child { background: var(--pink); }
.bar b:last-child { background: var(--blue); }
.stamp { font-weight: 800; }
.big .stamp { font-size: 34px; letter-spacing: -0.04em; }
.stamp.go { color: #1c7a45; }
.stamp.wait { color: #1c2447; }
.stamp.stop { color: var(--pink); }
.choices, .seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.choices button, .seg button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; cursor: pointer; font-weight: 750; }
.choices button.on, .seg button[aria-pressed="true"] { background: var(--pink-soft); color: var(--pink); border-color: transparent; }
.seg button { flex: 1; }
.meter { height: 8px; border-radius: 99px; background: #f3ecdf; overflow: hidden; margin: 10px 0; }
.meter span { display: block; height: 100%; background: var(--pink); width: 20%; transition: width .25s ease; }
.snippet {
  margin-top: 14px; background: #1c2447; color: #f7f4ff; border-radius: 16px; padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.55;
  overflow: auto; white-space: pre; max-width: 100%;
}
.stage { height: 92px; margin: -6px -6px 12px; border-radius: 18px; background: linear-gradient(180deg, #fff, #faf6ec); overflow: hidden; position: relative; }
.stage svg { width: 100%; height: 100%; display: block; }
.dash { stroke-dasharray: 6 8; animation: march 1.1s linear infinite; }
.pulse { transform-origin: center; transform-box: fill-box; animation: pop 2.4s ease-in-out infinite; }
.float { animation: float 3.4s ease-in-out infinite; }
.blocks { display: flex; gap: 6px; height: 100%; align-items: end; padding: 16px; }
.blocks i { flex: 1; height: 16px; border-radius: 7px; background: #efe7da; }
.blocks i.on { height: 28px; background: var(--pink); animation: tower 3.2s ease infinite; animation-delay: calc(var(--i) * .12s); }

.chains { padding: 20px 0 48px; }
.chains h2 { font-size: clamp(34px, 4vw, 48px); margin: 0 0 10px; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 800; }
td.launch { color: var(--pink); font-weight: 800; }
td.ok { color: var(--muted); font-weight: 700; }
tr.lead td { background: #fff7fb; }

.close { text-align: center; padding: 64px 20px 36px; }
.close h2 { margin: 0 auto 12px; max-width: 740px; font-size: clamp(32px, 4vw, 48px); }
.close p { max-width: 620px; margin: 0 auto; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; padding: 28px; color: var(--muted); }
.foot nav { display: flex; gap: 16px; }
.foot a { text-decoration: none; font-weight: 750; }
.foot a:hover { color: var(--ink); }

.doc-layout { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 80px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
.side { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.side p { margin: 18px 0 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.side a { display: block; text-decoration: none; padding: 7px 10px; border-left: 2px solid transparent; border-radius: 0 10px 10px 0; font-size: 14.5px; }
.side a.on { background: var(--pink-soft); border-left-color: var(--pink); color: var(--pink); font-weight: 750; }
.doc-jump { display: none; width: 100%; margin-bottom: 18px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.doc { min-width: 0; }
.doc h1 { font-size: clamp(40px, 5vw, 56px); margin: 8px 0 10px; }
.doc .dek { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.doc .lead { font-size: 18px; margin-bottom: 16px; }
.doc .lead b { color: var(--pink); }
.doc h2 { margin: 32px 0 10px; font-size: 30px; }
.doc p + p, .doc ul, .doc ol { color: var(--muted); }
.doc ul, .doc ol { padding-left: 18px; }
.doc li + li { margin-top: 6px; }
.doc code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; background: var(--pink-soft); padding: 0 5px; border-radius: 6px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.stat, .cards article, .call, .next { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 28px; letter-spacing: -0.04em; color: var(--pink); }
.stat span, .cards h3 { color: var(--faint); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.cards h3 { margin: 0 0 8px; }
.call { margin-top: 14px; }
.call strong { display: block; margin-bottom: 6px; }
.next { display: block; margin-top: 28px; text-decoration: none; }
.next span { color: var(--pink); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.next b { display: block; font-size: 20px; margin-top: 4px; }

.appbar { width: min(1180px, calc(100% - 28px)); margin: 18px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chain { position: relative; }
.chain > button, .modes button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 800; cursor: pointer; }
.chain-menu { position: absolute; top: 46px; left: 0; width: 280px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 5; }
.chain-menu.open { display: grid; }
.chain-menu button { text-align: left; border: 0; background: transparent; border-radius: 12px; padding: 8px 10px; cursor: pointer; }
.chain-menu button small { display: block; color: var(--faint); font-weight: 650; }
.chain-menu button.on { background: var(--pink-soft); }
.modes { display: flex; background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.modes button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.sim { width: min(1180px, calc(100% - 28px)); margin: 16px auto 48px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; align-items: start; }
.scenario, .live-empty { background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.scenario { padding: 16px; position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow: auto; }
.scenario header, .group-label { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.group { margin-top: 16px; }
.group h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); }
.field { display: flex; align-items: center; gap: 8px; background: #faf6ec; border-radius: 14px; padding: 8px 10px; margin-bottom: 8px; }
.field input { width: 100%; border: 0; background: transparent; font-weight: 800; font-size: 18px; outline: none; }
.field em { font-style: normal; font-size: 12px; font-weight: 800; background: #fff; border-radius: 999px; padding: 4px 8px; }
.hint { color: var(--faint); font-size: 12px; margin: -2px 0 8px; }
.fees { display: flex; gap: 6px; }
.fees button, .stories button { border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; font-weight: 750; }
.fees button { flex: 1; padding: 8px; }
.fees button[aria-pressed="true"], .stories button[aria-pressed="true"] { background: var(--pink-soft); color: var(--pink); border-color: transparent; }
.stories { display: grid; gap: 8px; }
.stories button { text-align: left; padding: 8px 10px; display: flex; gap: 8px; align-items: center; }
.stories svg { width: 54px; height: 22px; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; }
.stack button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 10px; cursor: pointer; font-weight: 700; font-size: 13px; }
.stack button.on { background: var(--ink); color: #fff; border-color: transparent; }
.rule { margin-top: 10px; }
.rule span { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }

.results { display: grid; gap: 12px; min-width: 0; }
.stats.app { grid-template-columns: repeat(4, 1fr); margin: 0; }
.stat b { display: block; font-size: 26px; letter-spacing: -0.04em; color: var(--pink); line-height: 1.1; }
.stat em { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.35; min-height: 34px; }
.stats.app .stat span { display: block; margin-top: 12px; }
.pips { display: flex; flex-wrap: wrap; gap: 8px; }
.pips span { background: #fff; border-radius: 999px; padding: 6px 10px; font-size: 13px; box-shadow: var(--shadow); }
.pips strong { color: var(--pink); }
.curve, .chart-card { position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 16px 18px 18px; }
.curve { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.curve h3, .chart-card h3 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.pair { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: 14px; }
.pair b { font-weight: 800; }
.chart-card svg { width: 100%; height: auto; display: block; }
.hook-line { stroke-dasharray: 4000; stroke-dashoffset: 4000; animation: draw 1.15s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.legend { display: flex; gap: 16px; color: var(--muted); font-size: 12px; margin-top: 8px; }
.legend i { display: inline-block; width: 18px; height: 3px; border-radius: 99px; margin-right: 6px; vertical-align: middle; }
.legend i.box { width: 10px; height: 10px; border-radius: 2px; }
.effects { display: grid; gap: 8px; }
.effects p { margin: 0; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); color: var(--muted); font-size: 14px; line-height: 1.45; }
.effects strong { color: var(--ink); }
.fine { color: var(--faint); font-size: 12px; line-height: 1.45; }
.live-empty { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 64px 32px; text-align: center; }
.live-empty h2 { font-size: 36px; margin-bottom: 8px; }
.live-label { display: grid; gap: 4px; margin: 0 0 8px; font-size: 13px; font-weight: 750; }
.live-label input, .live-label select { width: 100%; border: 0; background: #faf6ec; border-radius: 12px; padding: 8px 10px; font-weight: 700; }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.btn.block { width: 100%; margin-top: 8px; }
.note { color: var(--muted); font-size: 14px; line-height: 1.45; margin-bottom: 10px; }
.addr-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.addr-row a { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.mod-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.mod-pick .pick { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 700; }
.chains a { color: var(--pink); }
.hidden { display: none !important; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 6px 8px; font-size: 12px; transform: translate(-50%, -120%); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes slide { 0% { transform: translateX(-120%); } 100% { transform: translateX(420%); } }
@keyframes step { 0%, 15% { background: #faf6ec; } 25%, 45% { background: var(--pink-soft); color: var(--pink); } 60%, 100% { background: #faf6ec; color: inherit; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes march { to { stroke-dashoffset: -28; } }
@keyframes pop { 50% { transform: scale(1.08); } }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes tower { 0%, 100% { height: 22px; } 40% { height: 58px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

@media (max-width: 980px) {
  .top { height: auto; grid-template-columns: 1fr auto; padding: 12px 16px; gap: 8px; }
  .links { grid-column: 1 / -1; flex-wrap: wrap; gap: 14px; }
  .hero { padding-top: 36px; }
  .hero-blueprint { min-height: 520px; padding-top: 36px; }
  .hero h1 { font-size: 42px; }
  .plate { border-radius: 16px; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .trio, .section .grid, .section.flip .grid, .doc-layout, .sim, .stats, .stats.app, .cards, .curve, .live-grid { grid-template-columns: 1fr; direction: ltr; }
  .trio article { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 56px 0; }
  .wrap, .sim, .appbar { width: min(1120px, calc(100% - 24px)); }
  .scenario { position: static; max-height: none; }
  .side { display: none; }
  .doc-jump { display: block; }
}
