/* WAGGLE — site.css
 *
 * Surface division (tools/contrast.mjs re-checks every text node against it):
 *   ground : Jan van Huysum, "Vase of Flowers" (1722, Getty), fixed, full bleed. Never carries type.
 *   .glass : the frosted cream sheet — nav, display type, chips, small print.
 *   .card  : the dense cream card — prose, forms, tables, numbers.
 *   .hive  : the dark umber slab — the one call to action per page and the trade button.
 * Every word sits on one of those. Colours are tokens; no chromatic literal below :root.
 */
:root {
  --ink: #1d1710;
  --ink-2: #33291c;
  --muted: #54473a;
  --line: rgba(29, 23, 16, .12);
  --line-2: rgba(29, 23, 16, .22);
  --cream: #fbf6ea;
  --cream-2: #f3ead6;
  --glass: rgba(251, 246, 234, .78);
  --glass-2: rgba(251, 246, 234, .9);
  --card: rgba(252, 249, 241, .94);
  --card-2: rgba(246, 239, 222, .96);
  --hive: #2a2016;
  --hive-2: #3a2d1f;
  --honey: #e7ad3e;
  --honey-hover: #efbb55;
  --honey-edge: #c48d24;
  --honey-ink: #6b4606;
  --honey-tint: rgba(231, 173, 62, .2);
  --leaf: #2f5b3e;
  --leaf-tint: rgba(47, 91, 62, .12);
  --tulip: #9a3324;
  --tulip-tint: rgba(154, 51, 36, .1);
  --up: #24653f;
  --down: #9a3324;
  --shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 20px 50px -26px rgba(24, 16, 6, .55);
  --r: 20px;
  --r-sm: 12px;
  --maxw: 1140px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); font: 15px/1.55 var(--sans); background: var(--hive); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: var(--hive) url("../img/ground-1440.jpg") center 42% / cover no-repeat; }
@media (min-width: 1600px) { body::before { background-image: url("../img/ground-2400.jpg"); } }
@media (max-width: 760px) { body::before { background-image: url("../img/ground-900.jpg"); background-position: center 30%; } }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(26, 18, 8, .3), rgba(26, 18, 8, 0) 220px), radial-gradient(120% 90% at 50% 40%, rgba(26, 18, 8, 0) 55%, rgba(26, 18, 8, .35)); }

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
code, .mono { font-family: var(--mono); font-size: .9em; }
::selection { background: var(--honey); color: var(--ink); }
:focus-visible { outline: 2px solid var(--honey-ink); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(var(--maxw), calc(100% - 32px)); margin: 0 auto; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ surfaces */
.glass { background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--r); box-shadow: var(--shadow); }
.card { background: var(--card); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--r); box-shadow: var(--shadow); }
.hive { background: var(--hive); color: var(--cream); border-radius: var(--r); }
.pad { padding: 24px; }
.pad-lg { padding: 36px; }
@media (max-width: 760px) { .pad-lg { padding: 22px; } .pad { padding: 18px; } }

/* ------------------------------------------------------------------ nav */
.top { position: sticky; top: 12px; z-index: 30; margin-top: 12px; }
.top .bar { display: flex; align-items: center; gap: 16px; padding: 8px 10px 8px 14px; background: var(--glass-2); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font: 600 25px/1 var(--serif); letter-spacing: -.01em; font-variation-settings: "SOFT" 60, "WONK" 1; }
.nav-links { display: flex; gap: 2px; margin-left: 6px; }
.nav-links a { text-decoration: none; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { background: rgba(29, 23, 16, .07); }
.nav-links a[aria-current="page"] { background: var(--hive); color: var(--cream); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pill { font: 500 12px var(--mono); color: var(--muted); padding: 6px 10px; border-radius: 999px; background: rgba(29, 23, 16, .06); white-space: nowrap; }
.pill i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--up); margin-right: 6px; vertical-align: 1px; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; text-decoration: none; }
.icon-link:hover { background: rgba(29, 23, 16, .08); }
.menu-btn { display: none; }
.xlink { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; color: var(--ink); background: rgba(29, 23, 16, .06); border: 1px solid var(--line-2); text-decoration: none; }
.xlink:hover { background: rgba(29, 23, 16, .12); }
.nav-links .only-sm { display: none; }
@media (max-width: 940px) {
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 8px; background: var(--glass-2); border-radius: var(--r); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .top.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-links .only-sm { display: block; font-weight: 700; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
  .pill { display: none; }
}
@media (max-width: 560px) {
  .nav-right .btn:not([data-connect]) { display: none; }
  .top .bar { gap: 8px; padding: 8px 8px 8px 10px; }
  .brand b { font-size: 22px; }
  .nav-right .btn[data-connect] { max-width: 128px; overflow: hidden; text-overflow: ellipsis; }
}

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--hive); background: var(--hive); color: var(--cream); text-decoration: none; font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { background: var(--hive-2); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.btn:active { transform: translateY(1px); }
.btn.honey { background: var(--honey); border-color: var(--honey-edge); color: var(--ink); }
.btn.honey:hover { background: var(--honey-hover); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: rgba(29, 23, 16, .07); box-shadow: none; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn.xs { height: 28px; padding: 0 10px; font-size: 12.5px; }
.btn.block { width: 100%; height: 52px; font-size: 16px; }
.btn[disabled], .btn.busy { background: var(--muted); border-color: var(--muted); color: var(--cream); cursor: not-allowed; box-shadow: none; }
.btn.busy::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ type */
.eyebrow { font: 600 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; margin: 0; line-height: 1.02; font-variation-settings: "SOFT" 50, "WONK" 0; }
h1 { font-size: clamp(44px, 6.6vw, 84px); }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: 24px; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--honey-ink); font-variation-settings: "SOFT" 100, "WONK" 1; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 34em; margin: 0; }
.small { font-size: 13px; color: var(--muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.up { color: var(--up); } .down { color: var(--down); }
p { margin: 0 0 12px; }

/* ------------------------------------------------------------------ hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.hero .lead { padding: 42px 42px 38px; display: flex; flex-direction: column; }
.hero .lead h1 { margin: 18px 0 20px; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.ca { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 500 12.5px var(--mono); }
.ca b { font-weight: 700; color: var(--honey-ink); }
.ca code { padding: 4px 8px; border-radius: 8px; background: rgba(29, 23, 16, .07); font-size: 12px; }
.rot { color: var(--honey-ink); font-style: italic; font-weight: 500; }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; margin-top: 30px; } .hero .lead { padding: 28px 22px; } }

.demo { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.demo .head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .55); font: 600 12.5px var(--mono); cursor: pointer; }
.chip img { width: 20px; height: 20px; border-radius: 50%; }
.chip.on, .chip[aria-checked="true"] { background: var(--hive); color: var(--cream); border-color: var(--hive); }
.crewbar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--cream-2); }
.crewbar span { display: block; height: 100%; }
.crewbar span:nth-child(5n+1) { background: var(--honey); } .crewbar span:nth-child(5n+2) { background: var(--leaf); } .crewbar span:nth-child(5n+3) { background: var(--tulip); } .crewbar span:nth-child(5n+4) { background: var(--honey-ink); } .crewbar span:nth-child(5n+5) { background: var(--muted); }
.legend { display: grid; gap: 6px; }
.legend div { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; font-size: 13.5px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.legend div:nth-child(5n+1) i { background: var(--honey); } .legend div:nth-child(5n+2) i { background: var(--leaf); } .legend div:nth-child(5n+3) i { background: var(--tulip); } .legend div:nth-child(5n+4) i { background: var(--honey-ink); } .legend div:nth-child(5n+5) i { background: var(--muted); }
.legend .num { font-size: 12.5px; }
.flow { border-radius: var(--r-sm); background: var(--honey-tint); padding: 13px 15px; font-size: 14px; }
.range { width: 100%; accent-color: var(--hive); }

/* ------------------------------------------------------------------ sections */
section { margin-top: 26px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding: 28px 32px; flex-wrap: wrap; }
.sec-head p { margin: 10px 0 0; max-width: 36em; color: var(--ink-2); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .grid3, .grid2 { grid-template-columns: 1fr; } .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sec-head { padding: 22px; } }
.step { padding: 26px; }
.step .n { font: 600 13px var(--mono); color: var(--honey-ink); }
.step h3 { margin: 10px 0 10px; }
.step p { color: var(--ink-2); margin: 0; }
.stats { padding: 20px 26px; }
.stats .k { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stats .v { font: 600 32px/1.1 var(--serif); margin-top: 6px; font-variant-numeric: lining-nums tabular-nums; }

/* coin tiles */
.coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 16px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 16px; text-decoration: none; transition: transform .15s ease; }
.tile:hover { transform: translateY(-2px); }
.tile .top-row { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tile .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .tk { font: 500 12px var(--mono); color: var(--muted); }
.tile:nth-child(even) { background: var(--card-2); }
.coinimg { width: 52px; height: 52px; border-radius: 14px; flex: none; object-fit: cover; background: var(--cream-2); border: 1px solid var(--line); }
.coinimg.sm { width: 34px; height: 34px; border-radius: 10px; }
.coinimg.lg { width: 88px; height: 88px; border-radius: 22px; }
.stockbadge { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--mono); padding: 4px 9px 4px 4px; border-radius: 999px; background: var(--honey-tint); color: var(--ink); white-space: nowrap; }
.stockbadge img { width: 18px; height: 18px; border-radius: 50%; }
.prog { height: 8px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--honey), var(--honey-edge)); }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.kv span:first-child { color: var(--muted); }
.empty { padding: 28px; text-align: center; color: var(--ink-2); }

/* comparison table */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tbl tr:nth-child(even) td { background: rgba(231, 173, 62, .07); }
.tbl td.us { font-weight: 700; }
.scrollx { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 14px 4px; }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::after { content: "+"; font: 500 18px var(--mono); color: var(--honey-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); max-width: 46em; }

/* closer */
.closer { padding: 46px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.closer h2 { color: var(--cream); }
.closer h2 em { color: var(--honey); }
.closer p { color: var(--cream-2); margin: 12px 0 0; }
@media (max-width: 760px) { .closer { grid-template-columns: 1fr; padding: 30px 22px; } }

/* ------------------------------------------------------------------ forms */
label.f { display: block; font-weight: 700; font-size: 13.5px; margin: 0 0 6px; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.in, textarea.in, select.in { width: 100%; height: 44px; padding: 0 13px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .78); outline: none; min-width: 0; }
textarea.in { height: auto; min-height: 88px; padding: 11px 13px; resize: vertical; }
.in:focus { border-color: var(--honey-ink); box-shadow: 0 0 0 3px var(--honey-tint); }
.in.bad { border-color: var(--tulip); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .row2, .row3 { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.drop { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; border: 1.5px dashed var(--line-2); cursor: pointer; background: rgba(255, 255, 255, .5); }
.drop img, .drop .ph { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; flex: none; background: var(--cream-2); display: grid; place-items: center; font-size: 26px; color: var(--muted); }
.stockgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; max-height: 312px; overflow: auto; padding: 2px; }
.stockopt { display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .6); cursor: pointer; text-align: left; min-width: 0; }
.stockopt img { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.stockopt b { display: block; font: 700 13px var(--mono); }
.stockopt span { display: block; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stockopt[aria-checked="true"] { background: var(--hive); border-color: var(--hive); color: var(--cream); }
.stockopt[aria-checked="true"] span { color: var(--cream-2); }
.crewrow { display: grid; grid-template-columns: minmax(0, 1fr) 96px 38px; gap: 8px; margin-bottom: 8px; align-items: center; }
.crewrow .pct { position: relative; }
.crewrow .pct .in { padding-right: 26px; text-align: right; font-family: var(--mono); }
.crewrow .pct::after { content: "%"; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font: 500 13px var(--mono); }
.crewrow .x { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--muted); font-size: 18px; }
.sumline { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; margin-top: 4px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(29, 23, 16, .07); gap: 2px; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--hive); color: var(--cream); }
.feev { font: 600 30px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 18px; margin-top: 26px; align-items: start; }
.layout > * { min-width: 0; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 90px; }
@media (max-width: 980px) { .sticky { position: static; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.steps li i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.steps li.on i { border-color: var(--honey-ink); border-right-color: transparent; animation: spin .8s linear infinite; }
.steps li.done i { background: var(--leaf); border-color: var(--leaf); color: var(--cream); }
.steps li.done i::after { content: "✓"; }
.steps li.fail i { background: var(--tulip); border-color: var(--tulip); color: var(--cream); }
.steps li.fail i::after { content: "!"; }
.note { padding: 14px 16px; border-radius: var(--r-sm); background: var(--leaf-tint); font-size: 13.5px; color: var(--ink-2); }
.note.warn { background: var(--tulip-tint); }

/* ------------------------------------------------------------------ coin page */
.coinhead { display: flex; gap: 18px; align-items: center; padding: 24px; flex-wrap: wrap; }
.coinhead h1 { font-size: clamp(34px, 5vw, 56px); }
.coinhead .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.coinhead .price { margin-left: auto; text-align: right; }
@media (max-width: 640px) { .coinhead .price { margin-left: 0; text-align: left; } }
.big { font: 600 38px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.trade { padding: 20px; }
.trade .amt { position: relative; }
.trade .amt .in { height: 56px; font: 600 22px var(--mono); padding-right: 92px; }
.trade .amt .unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 600 13px var(--mono); color: var(--muted); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.quote { margin-top: 14px; display: grid; gap: 7px; }
.crewlist { display: grid; gap: 8px; }
.crewlist .m { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .55); }
.crewlist .m:nth-child(even) { background: var(--honey-tint); }
.crewlist .m i { width: 12px; height: 12px; border-radius: 4px; background: var(--honey); }
.crewlist .m:nth-child(5n+2) i { background: var(--leaf); } .crewlist .m:nth-child(5n+3) i { background: var(--tulip); } .crewlist .m:nth-child(5n+4) i { background: var(--honey-ink); } .crewlist .m:nth-child(5n+5) i { background: var(--muted); }
.crewlist .m .who { font: 500 13px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crewlist .m .pay { font: 600 13px var(--mono); text-align: right; }
.crewlist .m.me { outline: 2px solid var(--honey-ink); }
.lock { display: inline-flex; gap: 6px; align-items: center; font: 600 12px var(--mono); color: var(--leaf); }
.desc { color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.links a { font-size: 13.5px; }

/* ------------------------------------------------------------------ docs */
.doc { padding: 36px 40px; }
.doc h2 { font-size: 34px; margin: 34px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-2); max-width: 46em; }
.doc code { background: rgba(29, 23, 16, .07); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .doc { padding: 22px; } }

/* ------------------------------------------------------------------ footer */
.foot { margin: 40px 0 26px; display: grid; gap: 12px; }
.foot .inner { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; padding: 30px; }
.foot h5 { margin: 0 0 10px; font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { text-decoration: underline; }
.foot .legal { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
@media (max-width: 860px) { .foot .inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot .inner { grid-template-columns: 1fr; padding: 22px; } }

/* ------------------------------------------------------------------ toast */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: grid; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.toast { padding: 13px 16px; border-radius: 14px; background: var(--hive); color: var(--cream); font-size: 14px; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .7); }
.toast a { color: var(--honey); }
.rise { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.steps li i.dot { border: 0; background: var(--honey-tint); color: var(--ink); font: 700 12px var(--mono); width: 24px; height: 24px; }
.faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
