/* Zealed — ink paper, oxblood wax, gold foil. Display: Cormorant Garamond · UI: Manrope · code: JetBrains Mono */
:root {
  --ink: #0c0a09; --ink-2: #13100e; --ink-3: #1b1714;
  --paper: #f2e9db; --paper-2: #d6cab7; --muted: #9b8f7d; --faint: #6f6557;
  --gold: #d6b16a; --gold-2: #f1dba3; --gold-3: #8f7442;
  --wax: #9e1f28; --wax-2: #cf3a43; --wax-glow: rgba(207, 58, 67, 0.35);
  --line: rgba(214, 177, 106, 0.15); --line-2: rgba(214, 177, 106, 0.32);
  --card: rgba(255, 246, 230, 0.035); --card-2: rgba(255, 246, 230, 0.06);
  --ok: #8fd0a8; --bad: #ec7b66; --warn: #e6b45c;
  --r: 18px; --r-sm: 11px;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --ui: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 240, 210, 0.03) inset;
  color-scheme: dark;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }
body {
  margin: 0; background: var(--ink); color: var(--paper); font: 400 16px/1.65 var(--ui);
  overflow-x: clip; min-height: 100vh;
  background-image:
    radial-gradient(1200px 700px at 78% -10%, rgba(158, 31, 40, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(214, 177, 106, 0.06), transparent 60%),
    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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--gold-2); text-decoration-color: rgba(241, 219, 163, 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold-2); }
::selection { background: rgba(207, 58, 67, 0.45); color: #fff; }
code, .mono { font-family: var(--mono); font-size: 0.86em; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- buttons + chips */
.btn {
  --b: var(--line-2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px;
  padding: 0 18px; border-radius: 999px; border: 1px solid var(--b); background: var(--card); color: var(--paper);
  font: 600 14px/1 var(--ui); letter-spacing: 0.01em; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { background: var(--card-2); border-color: var(--gold); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn.wax {
  border: 0; color: #fff4ee;
  background: radial-gradient(120% 140% at 30% 20%, #e0525a 0%, var(--wax-2) 32%, var(--wax) 70%, #6c1219 100%);
  box-shadow: 0 10px 30px var(--wax-glow), inset 0 1px 0 rgba(255, 220, 210, 0.35), inset 0 -2px 6px rgba(60, 0, 6, 0.45);
}
.btn.wax:hover { box-shadow: 0 14px 40px rgba(207, 58, 67, 0.5), inset 0 1px 0 rgba(255, 220, 210, 0.4), inset 0 -2px 6px rgba(60, 0, 6, 0.45); }
.btn.gold { border: 0; color: #2a1d08; background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #b48d48); box-shadow: 0 8px 26px rgba(214, 177, 106, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn.ghost { background: transparent; }
.btn.sm { min-height: 34px; padding: 0 13px; font-size: 13px; }
.btn.xs { min-height: 28px; padding: 0 10px; font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--paper-2); font: 600 12px/1.6 var(--ui); letter-spacing: 0.03em; }
.chip.gold { color: var(--gold-2); border-color: var(--line-2); }
.chip.wax { color: #ffd9d6; border-color: rgba(207, 58, 67, 0.5); background: rgba(158, 31, 40, 0.18); }
.chip.ok { color: var(--ok); border-color: rgba(143, 208, 168, 0.35); }
.eyebrow { font: 700 12px/1.4 var(--ui); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

/* ---------------------------------------------------------------- header */
.bar { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); background: rgba(12, 10, 9, 0.72); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 14px; min-height: 64px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); margin-right: auto; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font: 600 25px/1 var(--display); letter-spacing: 0.01em; }
.brand small { display: block; font: 500 11px/1.2 var(--ui); color: var(--muted); letter-spacing: 0.05em; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--paper-2); text-decoration: none; font: 600 13px/1 var(--ui); padding: 9px 11px; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--paper); background: var(--card-2); }
.who { display: flex; align-items: center; gap: 8px; }
.who .addr { font: 500 12px/1 var(--mono); color: var(--gold-2); }
.brand-ca { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; width: 100%; padding: 6px 0 2px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.brand-ca code { color: var(--paper-2); overflow-wrap: anywhere; word-break: break-all; min-width: 0; flex: 1 1 220px; }
@media (max-width: 880px) { .nav { order: 5; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .nav::-webkit-scrollbar { display: none; } }
@media (max-width: 420px) { .brand small { display: none; } .brand b { font-size: 22px; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; align-items: center; min-height: min(86vh, 820px); padding: 40px 0 56px; }
.hero h1 { font-size: clamp(44px, 6vw, 84px); font-weight: 600; line-height: 0.95; margin: 18px 0 22px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-2); display: block; }
.hero .lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--paper-2); max-width: 56ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 30px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; max-width: 620px; }
.facts div { padding: 14px 16px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font: 600 22px/1.1 var(--display); color: var(--gold-2); }
.facts span { font-size: 12.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 4px; }
.stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; touch-action: pan-y; }
.stage::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle, rgba(214, 177, 106, 0.09), transparent 65%); filter: blur(10px); }
.stage .cap { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font: 500 12.5px/1.4 var(--ui); color: var(--faint); letter-spacing: 0.04em; }
.scroll-cue { display: inline-flex; align-items: center; gap: 8px; color: var(--paper-2); text-decoration: none; font: 600 13px/1 var(--ui); letter-spacing: 0.06em; }
.scroll-cue i { width: 1px; height: 26px; background: linear-gradient(var(--gold), transparent); display: inline-block; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 22px; gap: 8px; }
  .stage { order: -1; max-width: 420px; width: 92%; }
}
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts div { border-right: 0; border-bottom: 1px solid var(--line); } .facts div:last-child { border-bottom: 0; } }

/* ---------------------------------------------------------------- sections */
section.block { padding: 88px 0; border-top: 1px solid var(--line); position: relative; }
section.block > .wrap > header { max-width: 760px; margin-bottom: 40px; }
section.block h2 { font-size: clamp(36px, 5vw, 60px); margin: 12px 0 14px; }
section.block h2 em { font-style: italic; color: var(--gold-2); font-weight: 500; }
section.block .sub { color: var(--paper-2); font-size: 17.5px; max-width: 64ch; }
@media (max-width: 600px) { section.block { padding: 64px 0; } }
.prose { max-width: 70ch; color: var(--paper-2); }
.prose strong { color: var(--paper); }
.card { background: linear-gradient(180deg, rgba(255, 246, 230, 0.05), rgba(255, 246, 230, 0.02)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: minmax(0, 1fr); } }
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bullets li { position: relative; padding-left: 28px; color: var(--paper-2); }
.bullets li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e86a70, var(--wax) 60%, #5d0f15); box-shadow: 0 0 10px var(--wax-glow); }
.bullets li b { color: var(--paper); }

/* ---------------------------------------------------------------- studio (writing desk) */
.desk { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 22px; align-items: start; }
@media (max-width: 960px) { .desk { grid-template-columns: minmax(0, 1fr); } }
.letter {
  position: relative; border-radius: var(--r); padding: 30px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #1d1915, #15120f); box-shadow: var(--shadow);
}
.letter::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(214, 177, 106, 0.08); border-radius: 12px; pointer-events: none; }
@media (max-width: 600px) { .letter { padding: 20px 16px; } .card { padding: 20px 16px; } }
.steps { display: flex; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; flex-wrap: wrap; }
.steps li { font: 700 11.5px/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); }
.steps li.on { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.steps li.done { color: var(--gold-2); border-color: var(--line-2); }
.field { display: grid; gap: 7px; margin-bottom: 18px; position: relative; z-index: 1; }
.field > label, .lbl { font: 700 12px/1.3 var(--ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.field .hint { font: 500 12.5px/1.45 var(--ui); color: var(--muted); letter-spacing: 0; text-transform: none; }
input[type=text], input[type=number], input[type=search], textarea, select {
  width: 100%; min-width: 0; background: rgba(0, 0, 0, 0.3); color: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 12px 14px; font: 500 15px/1.5 var(--ui); transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 170px; resize: vertical; font-family: var(--display); font-size: 19px; line-height: 1.55; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 177, 106, 0.15); }
input::placeholder, textarea::placeholder { color: var(--faint); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row > * { min-width: 0; }
.price { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: rgba(0, 0, 0, 0.3); }
.price input { border: 0; background: transparent; font: 600 26px/1.2 var(--display); box-shadow: none !important; }
.price span { padding: 0 16px; font: 700 13px/1 var(--ui); color: var(--gold); letter-spacing: 0.1em; }
.drop { border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.drop:hover, .drop.over { border-color: var(--gold); background: rgba(214, 177, 106, 0.05); }
.field > label.drop { font: 500 14px/1.5 var(--ui); letter-spacing: 0; text-transform: none; color: var(--muted); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--wax-2)); transition: width 0.3s; }
.check { margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--paper-2); line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--wax-2); width: 17px; height: 17px; flex: none; }
.locked { font: 700 10.5px/1 var(--ui); letter-spacing: 0.12em; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(214, 177, 106, 0.35); color: var(--gold); text-transform: uppercase; }
.preview { position: sticky; top: 84px; text-align: center; }
.preview .mini { width: min(260px, 70%); aspect-ratio: 1; margin: -10px auto 4px; position: relative; }
.preview .mini canvas { width: 100%; height: 100%; display: block; }
.preview h3 { font-size: 28px; margin: 6px 0; overflow-wrap: anywhere; }
.preview .teaser { color: var(--paper-2); font-size: 15px; overflow-wrap: anywhere; }
.pv-legend { display: grid; gap: 8px; text-align: left; margin-top: 18px; font-size: 13.5px; }
.pv-legend div { display: flex; gap: 10px; align-items: baseline; }
.pv-legend b { font: 700 11px/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; width: 64px; flex: none; }
.pv-legend .pub { color: var(--gold-2); }
.pv-legend .sec { color: #ffb3ad; }
.result { border: 1px solid rgba(143, 208, 168, 0.35); background: rgba(143, 208, 168, 0.06); border-radius: var(--r-sm); padding: 18px; margin-top: 8px; }
.result .link { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.result code { flex: 1 1 200px; overflow-wrap: anywhere; color: var(--paper); background: rgba(0, 0, 0, 0.35); padding: 8px 10px; border-radius: 8px; }
.status { font-size: 14px; color: var(--paper-2); min-height: 1.6em; }
.status.err { color: var(--bad); }
.status.ok { color: var(--ok); }
.signin { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); margin-bottom: 20px; position: relative; z-index: 1; }
.signin p { margin: 0; font-size: 14px; color: var(--paper-2); flex: 1 1 240px; }

/* my posts */
.posts { display: grid; gap: 12px; }
.post-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(0, 0, 0, 0.2); }
.post-row .dot { width: 58px; height: 58px; border-radius: 50%; }
.post-row h4 { margin: 0 0 4px; font: 600 20px/1.15 var(--display); overflow-wrap: anywhere; }
.post-row .meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.post-row .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .post-row { grid-template-columns: 46px minmax(0, 1fr); } .post-row .dot { width: 46px; height: 46px; } .post-row .acts { grid-column: 1 / -1; justify-content: flex-start; } }
.empty { color: var(--muted); font-size: 14.5px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--r-sm); text-align: center; }

/* ---------------------------------------------------------------- legend */
.anatomy { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 34px; align-items: center; }
@media (max-width: 860px) { .anatomy { grid-template-columns: minmax(0, 1fr); } }
.anatomy svg { width: 100%; max-width: 420px; height: auto; display: block; margin: auto; }
.legend { display: grid; gap: 14px; }
.legend > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legend > div:last-child { border-bottom: 0; }
.legend h4 { margin: 0 0 3px; font: 700 15px/1.3 var(--ui); color: var(--paper); }
.legend p { margin: 0; font-size: 14.5px; color: var(--paper-2); }
.sw { width: 44px; height: 44px; border-radius: 50%; position: relative; }
.sw.garnet { background: radial-gradient(circle at 35% 30%, #d05058, #8c1320 55%, #4a0810); }
.sw.amber { background: radial-gradient(circle at 35% 30%, #f1a24a, #b25c0f 55%, #5c2d04); }
.sw.jade { background: radial-gradient(circle at 35% 30%, #4fb98f, #12674b 55%, #06301f); }
.sw.violet { background: radial-gradient(circle at 35% 30%, #9a6fe0, #4d2390 55%, #22104a); }
.bands { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.bands span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--paper-2); }
.bands i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.ico { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--gold-2); }
.ico svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- pipeline */
.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.pipe li { list-style: none; position: relative; padding: 22px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); min-width: 0; }
.pipe li::before { counter-increment: s; content: "0" counter(s); font: 600 14px/1 var(--mono); color: var(--gold); }
.pipe li h4 { margin: 12px 0 6px; font: 600 22px/1.1 var(--display); }
.pipe li p { margin: 0; font-size: 13.5px; color: var(--paper-2); }
.pipe li .where { display: inline-block; margin-top: 12px; font: 700 10.5px/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.where.you { color: var(--ok); border: 1px solid rgba(143, 208, 168, 0.35); }
.where.us { color: var(--gold-2); border: 1px solid var(--line-2); }
.where.chain { color: #c6b3ff; border: 1px solid rgba(198, 179, 255, 0.35); }
.pipe li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -12px; width: 12px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
@media (max-width: 1000px) { .pipe { grid-template-columns: minmax(0, 1fr); } .pipe li:not(:last-child)::after { top: auto; bottom: -12px; left: 32px; right: auto; width: 2px; height: 12px; background: linear-gradient(var(--gold), transparent); } }
.flowline { margin-top: 26px; display: block; width: 100%; height: 40px; }
.flowline path { stroke: var(--gold); stroke-width: 1.5; fill: none; stroke-dasharray: 4 8; animation: dash 1.6s linear infinite; opacity: 0.6; }
@keyframes dash { to { stroke-dashoffset: -24; } }

/* ---------------------------------------------------------------- features + coin */
.tier { position: relative; }
.tier h3 { font-size: 32px; margin-bottom: 4px; }
.tier .price-tag { font: 600 14px/1.4 var(--ui); color: var(--muted); margin-bottom: 18px; }
.tier.premium { border-color: rgba(207, 58, 67, 0.45); background: linear-gradient(180deg, rgba(158, 31, 40, 0.13), rgba(255, 246, 230, 0.02)); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 15px; color: var(--paper-2); }
.ticks li::before { content: "✦"; color: var(--gold); font-size: 13px; line-height: 1.6; }
.honest { border-left: 3px solid var(--wax-2); padding: 12px 16px; background: rgba(158, 31, 40, 0.1); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--paper); font-size: 14.5px; margin: 18px 0; }
.ca-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.25); }
.ca-box code { flex: 1 1 240px; overflow-wrap: anywhere; word-break: break-all; min-width: 0; color: var(--gold-2); }
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.ledger div { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; }
.ledger b { display: block; font: 600 26px/1.1 var(--display); color: var(--gold-2); overflow-wrap: anywhere; }
.ledger span { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .ledger { grid-template-columns: minmax(0, 1fr); } }
table.burns { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.burns th, table.burns td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
table.burns th { font: 700 11px/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tbl { overflow-x: auto; }

/* ---------------------------------------------------------------- privacy, faq, footer */
.see { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .see { grid-template-columns: minmax(0, 1fr); } }
.see h3 { font-size: 26px; margin-bottom: 12px; }
.see .can h3 { color: var(--gold-2); }
.see .cant h3 { color: var(--ok); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font: 600 23px/1.25 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 28px/1 var(--ui); color: var(--gold); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--paper-2); max-width: 72ch; margin: 0 0 18px; }
footer.foot { border-top: 1px solid var(--line); padding: 48px 0 60px; color: var(--muted); font-size: 13.5px; }
footer.foot .wrap { display: grid; gap: 14px; }
footer.foot .fbrand { display: flex; gap: 12px; align-items: center; color: var(--paper); }
footer.foot .fbrand b { font: 600 24px/1 var(--display); }
footer.foot code { overflow-wrap: anywhere; word-break: break-all; }

/* ---------------------------------------------------------------- dialogs + toasts */
dialog { border: 1px solid var(--line-2); border-radius: var(--r); background: #17130f; color: var(--paper); padding: 0; width: min(460px, calc(100vw - 32px)); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7); }
dialog::backdrop { background: rgba(5, 4, 3, 0.72); backdrop-filter: blur(4px); }
dialog .dlg { padding: 26px; }
dialog h3 { font-size: 30px; margin-bottom: 8px; }
dialog .list { display: grid; gap: 8px; margin: 16px 0; }
dialog .list button, dialog .list a { justify-content: flex-start; width: 100%; }
dialog .list img { width: 22px; height: 22px; border-radius: 6px; }
dialog .kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: 14px; margin: 14px 0; }
dialog .kv dt { color: var(--muted); }
dialog .kv dd { margin: 0; overflow-wrap: anywhere; color: var(--paper); }
dialog .acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
.toasts { position: fixed; z-index: 90; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; background: #1f1a15; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 16px; font-size: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); animation: tin 0.3s ease-out; }
.toast.err { border-color: rgba(236, 123, 102, 0.55); }
.toast.ok { border-color: rgba(143, 208, 168, 0.5); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }

/* ---------------------------------------------------------------- post page */
.post-page { padding: 40px 0 80px; }
.envelope { width: min(760px, 100%); margin: 0 auto; position: relative; }
.envelope .sheet { border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #1e1a16, #14110e); box-shadow: var(--shadow); padding: 34px 40px 36px; position: relative; overflow: clip; }
.envelope .sheet::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(214, 177, 106, 0.09); border-radius: 14px; pointer-events: none; }
@media (max-width: 600px) { .envelope .sheet { padding: 26px 18px 26px; } }
.envelope .seal-wrap { width: min(340px, 82%); aspect-ratio: 1; margin: 0 auto -18px; position: relative; z-index: 2; pointer-events: none; }
.envelope .seal-wrap canvas { width: 100%; height: 100%; display: block; }
.envelope h1 { font-size: clamp(34px, 6vw, 58px); text-align: center; overflow-wrap: anywhere; margin: 0 0 12px; }
.envelope .teaser { text-align: center; color: var(--paper-2); font-size: 17.5px; max-width: 58ch; margin: 0 auto 22px; overflow-wrap: anywhere; white-space: pre-wrap; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-sm); margin: 0 0 24px; }
.facts-row div { padding: 12px 14px; border-right: 1px solid var(--line); min-width: 0; }
.facts-row div:last-child { border-right: 0; }
.facts-row span { display: block; font: 700 10.5px/1.3 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts-row b { display: block; font: 600 20px/1.3 var(--display); color: var(--paper); overflow-wrap: anywhere; }
@media (max-width: 640px) { .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts-row div:nth-child(2) { border-right: 0; } .facts-row div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.unlock { text-align: center; display: grid; gap: 12px; justify-items: center; }
.unlock .big { min-height: 54px; padding: 0 30px; font-size: 16px; }
.unlock .status { margin: 0; min-height: 0; }
.unlock .fine { font-size: 13px; color: var(--muted); max-width: 60ch; }
.creator { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.creator code { color: var(--gold-2); overflow-wrap: anywhere; word-break: break-all; }
.opened { margin-top: 28px; border-top: 1px dashed var(--line-2); padding-top: 26px; }
.opened .text { font: 400 20px/1.7 var(--display); color: var(--paper); white-space: pre-wrap; overflow-wrap: anywhere; }
.opened .file { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; padding: 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.25); }
.opened .file img { max-width: 100%; border-radius: 10px; display: block; margin-top: 10px; }
.opened .file .fn { flex: 1 1 200px; overflow-wrap: anywhere; font-size: 14px; }
.progress { display: grid; gap: 8px; text-align: left; width: min(440px, 100%); margin: 6px auto 0; padding: 0; list-style: none; }
.progress li { font-size: 14px; color: var(--faint); display: flex; gap: 10px; align-items: center; }
.progress li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--faint); flex: none; }
.progress li.on { color: var(--paper); }
.progress li.on::before { border-color: var(--gold); background: var(--gold); animation: pulse 1.2s ease-in-out infinite; }
.progress li.done { color: var(--ok); }
.progress li.done::before { background: var(--ok); border-color: var(--ok); animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(214, 177, 106, 0.15); } }
.tools-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-size: 13px; }
.notice { text-align: center; padding: 40px 20px; }
.notice h1 { font-size: 46px; margin-bottom: 12px; }
.owner-panel { border-color: rgba(230, 180, 92, 0.45); }
.owner-panel .rep { border-bottom: 1px solid var(--line); padding: 12px 0; display: grid; gap: 6px; font-size: 14px; }
.mt { margin-top: 22px; }
.row.spread { justify-content: space-between; margin-bottom: 6px; }
.card h3 { font-size: 26px; margin-bottom: 10px; }
.hint { font: 500 12.5px/1.45 var(--ui); color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset[disabled] { opacity: 0.55; }

p code, li code, dd code { overflow-wrap: anywhere; word-break: break-all; }
