/* ============================================================
   RemailGo design system — "night signal deck"
   Dark navy base, amber primary action, cyan signal accents.
   Shared across all language sites. Mobile overrides live at
   the very END of this file — keep them last (source order wins).
   ============================================================ */

:root {
  --bg: #0a101f;
  --bg-soft: #0d1526;
  --panel: #111a2f;
  --panel-2: #16223e;
  --panel-3: #1b2a4d;
  --line: #24345a;
  --line-soft: #1c2947;
  --ink: #edf1fb;
  --ink-dim: #a7b4d4;
  --ink-faint: #7486ad;
  --amber: #ffb224;
  --amber-deep: #e2960a;
  --amber-ink: #241a03;
  --cyan: #5ad0f0;
  --green: #3fd68f;
  --red: #ff7373;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --r-card: 16px;
  --r-btn: 999px;
  --shadow-pop: 0 18px 50px rgba(3, 7, 18, .55);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* keep anchor targets clear of the sticky header (62px tall + breathing room) */
[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
}
[hidden] { display: none !important; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { vertical-align: middle; }
button { font-family: inherit; }
::selection { background: rgba(255, 178, 36, .3); }

.shell { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-size: 15px; font-weight: 600;
  padding: 11px 22px;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
/* frosted-glass button family: translucent tinted fill + blur + top sheen */
.btn-amber {
  background: linear-gradient(168deg, rgba(255, 199, 92, .34), rgba(245, 161, 20, .12) 52%, rgba(255, 178, 36, .24));
  color: #ffd98f;
  border-color: rgba(255, 190, 70, .52);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    inset 0 -14px 26px rgba(255, 161, 20, .12),
    0 10px 30px rgba(226, 150, 10, .16);
}
.btn-amber:hover {
  background: linear-gradient(168deg, rgba(255, 205, 105, .46), rgba(250, 170, 28, .2) 52%, rgba(255, 184, 48, .34));
  border-color: rgba(255, 200, 92, .75);
  color: #ffe3ab;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    inset 0 -14px 26px rgba(255, 161, 20, .16),
    0 12px 34px rgba(226, 150, 10, .24);
}
.btn-line {
  background: linear-gradient(168deg, rgba(167, 180, 212, .13), rgba(167, 180, 212, .04));
  color: var(--ink-dim);
  border-color: rgba(167, 180, 212, .24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}
.btn-line:hover {
  border-color: rgba(167, 180, 212, .45);
  color: var(--ink);
  background: linear-gradient(168deg, rgba(167, 180, 212, .2), rgba(167, 180, 212, .07));
}
.btn-cyan-line {
  background: linear-gradient(168deg, rgba(90, 208, 240, .16), rgba(90, 208, 240, .04));
  color: var(--cyan);
  border-color: rgba(90, 208, 240, .4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.btn-cyan-line:hover {
  border-color: var(--cyan);
  background: linear-gradient(168deg, rgba(90, 208, 240, .24), rgba(90, 208, 240, .08));
}
.btn-sm { padding: 7px 16px; font-size: 13.5px; }
.btn-danger-line {
  background: linear-gradient(168deg, rgba(255, 115, 115, .12), rgba(255, 115, 115, .03));
  color: var(--red);
  border-color: rgba(255, 115, 115, .4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-danger-line:hover { border-color: var(--red); background: linear-gradient(168deg, rgba(255, 115, 115, .2), rgba(255, 115, 115, .07)); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.is-busy, .op-quiet.is-busy { opacity: .6; cursor: progress; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(168deg, rgba(167, 180, 212, .09), rgba(167, 180, 212, .02));
  border: 1px solid rgba(167, 180, 212, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  color: var(--ink-dim); cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.icon-btn:hover {
  border-color: rgba(167, 180, 212, .45); color: var(--ink);
  background: linear-gradient(168deg, rgba(167, 180, 212, .16), rgba(167, 180, 212, .05));
}
.icon-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.icon-btn svg { width: 17px; height: 17px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(14, 22, 42, .62), rgba(9, 14, 27, .5));
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-bottom: 1px solid rgba(49, 66, 110, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 34px rgba(2, 6, 16, .35);
}
.top-row { display: flex; align-items: center; gap: 26px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand-word { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand-word em { font-style: normal; color: var(--amber); }

.top-nav { display: flex; align-items: center; gap: 4px; }
.top-nav a {
  color: var(--ink-dim); font-size: 14.5px; font-weight: 500;
  padding: 7px 13px; border-radius: 9px;
}
.top-nav a:hover {
  color: var(--ink);
  background: linear-gradient(168deg, rgba(167, 180, 212, .14), rgba(167, 180, 212, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  text-decoration: none;
}
.top-nav a.is-here { color: var(--amber); }

.top-side { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lang-pick {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(168deg, rgba(167, 180, 212, .1), rgba(167, 180, 212, .02));
  border: 1px solid rgba(167, 180, 212, .22); border-radius: var(--r-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  color: var(--ink-dim); font-size: 13.5px; padding: 7px 14px; cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.lang-pick:hover {
  border-color: rgba(167, 180, 212, .45); color: var(--ink);
  background: linear-gradient(168deg, rgba(167, 180, 212, .17), rgba(167, 180, 212, .05));
}
.lang-pick svg { width: 15px; height: 15px; }

.top-burger {
  display: none;
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(168deg, rgba(167, 180, 212, .1), rgba(167, 180, 212, .02));
  border: 1px solid rgba(167, 180, 212, .22); color: var(--ink-dim);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  cursor: pointer; align-items: center; justify-content: center;
}
.top-burger svg { width: 19px; height: 19px; }

.top-drawer { display: none; }
.top-drawer.is-open {
  display: block;
  border-top: 1px solid var(--line-soft);
  background: rgba(10, 16, 31, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 10px 22px 16px;
}
.top-drawer a {
  display: block; padding: 11px 6px;
  color: var(--ink-dim); font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.top-drawer a:last-child { border-bottom: 0; }
.top-drawer a.is-here { color: var(--amber); }

/* ---------- floating menu (custom dropdown popover) ---------- */
.rg-menu {
  position: fixed; z-index: 200;
  min-width: 172px;
  background: rgba(24, 37, 68, .82);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(49, 66, 110, .9);
  border-radius: 12px;
  box-shadow: var(--shadow-pop), inset 0 1px 0 rgba(255, 255, 255, .08);
  padding: 6px;
  animation: rg-rise .16s ease;
}
.rg-menu[role="listbox"] { max-height: 320px; overflow: auto; }
.rg-menu .rg-opt {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left;
  background: transparent; border: 0; border-radius: 8px;
  color: var(--ink-dim); font-size: 14px; padding: 9px 12px;
  cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rg-menu .rg-opt:hover, .rg-menu .rg-opt.is-hot { background: var(--panel-3); color: var(--ink); }
.rg-menu .rg-opt[aria-selected="true"] { color: var(--amber); font-weight: 600; }

/* ---------- hero: left copy + right beacon art, console below ---------- */
.sky {
  padding: 40px 0 30px; position: relative;
  background:
    radial-gradient(640px 300px at 18% -8%, rgba(255, 178, 36, .075), transparent 70%),
    radial-gradient(760px 360px at 84% 4%, rgba(90, 208, 240, .07), transparent 70%),
    radial-gradient(2px 2px at 12% 34%, rgba(90, 208, 240, .35), transparent 100%),
    radial-gradient(2px 2px at 88% 22%, rgba(255, 178, 36, .3), transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 58%, rgba(167, 180, 212, .3), transparent 100%),
    radial-gradient(1.5px 1.5px at 28% 70%, rgba(167, 180, 212, .22), transparent 100%);
}
.sky-lead {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px; align-items: center;
}
.sky h1 {
  margin: 0 0 14px; font-size: 40px; line-height: 1.28;
  font-weight: 800; letter-spacing: -.02em;
}
.sky h1 .h1-grad {
  background: linear-gradient(92deg, var(--amber) 10%, #ffd98f 48%, var(--cyan) 95%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.sky-sub { margin: 0 0 18px; max-width: 580px; color: var(--ink-dim); font-size: 16.5px; }
.sky-points {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
.sky-points li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--ink-faint);
}
.sky-points svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--green); }
.sky-art { justify-self: end; }
.sky-art img { display: block; width: 100%; max-width: 300px; height: auto; }

/* ---------- unified mail workstation ---------- */
.station {
  max-width: 1080px; margin: 30px auto 0;
  text-align: left;
  background: linear-gradient(180deg, rgba(25, 39, 71, .66), rgba(15, 24, 45, .58));
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  border: 1px solid rgba(49, 66, 110, .8);
  border-radius: 20px;
  box-shadow: 0 34px 90px rgba(2, 6, 16, .58), inset 0 1px 0 rgba(255, 255, 255, .06);
  position: relative;
  overflow: hidden;
}
.station::before {
  content: "";
  position: absolute; top: 0; left: 28px; right: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 178, 36, .55) 30%, rgba(90, 208, 240, .45) 70%, transparent);
}
.station-head {
  display: grid; grid-template-columns: minmax(0, 1fr) 226px;
  gap: 14px 0;
  padding: 20px 26px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(22, 34, 62, .35);
}
.head-core { min-width: 0; display: flex; flex-direction: column; gap: 11px; }
.console-cap {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: .08em;
}
.console-cap .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(63, 214, 143, .5);
  animation: rg-pulse 2s infinite;
}
.console-cap .pulse.is-wait { background: var(--amber); box-shadow: none; animation: none; }
.console-addr {
  min-width: 0;
  font-family: var(--mono);
  font-size: clamp(17px, 2.4vw, 24px);
  font-weight: 600; letter-spacing: -.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.console-addr.is-skeleton {
  color: transparent;
  background: linear-gradient(90deg, var(--panel-3) 25%, #223258 50%, var(--panel-3) 75%);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: rg-shimmer 1.4s linear infinite;
  user-select: none;
}
/* right action rail inside the workstation head */
.head-side {
  display: flex; flex-direction: column; justify-content: center; gap: 9px;
  margin-left: 26px; padding-left: 26px;
  border-left: 1px solid var(--line-soft);
}
.head-copy { width: 100%; padding: 12px 16px; font-size: 15px; }
.head-copy svg { width: 17px; height: 17px; }
.head-ops { display: flex; align-items: center; justify-content: center; }
.head-ops > i { width: 1px; height: 13px; background: var(--line); margin: 0 5px; }
.op-quiet {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 0; border-radius: 8px;
  padding: 5px 8px;
  color: var(--ink-faint); font-size: 12.5px;
  cursor: pointer; white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.op-quiet svg { width: 13px; height: 13px; flex-shrink: 0; }
.op-quiet:hover { color: var(--cyan); background: rgba(90, 208, 240, .08); }
.op-quiet:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.op-quiet[disabled] { opacity: .45; cursor: not-allowed; }
.tick-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.tick-label { font-size: 12.5px; color: var(--ink-faint); }
.tick {
  font-family: var(--mono); font-size: 19px; font-weight: 700;
  color: var(--cyan); letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
}
.tick.is-low { color: var(--red); }
.tick-bar {
  width: 110px; height: 4px; border-radius: 4px;
  background: var(--line-soft); overflow: hidden;
}
.tick-bar b {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 4px;
  transition: width 1s linear;
}
/* ---------- inbox list (inside the workstation card) ---------- */
.dock-head {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.dock-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.dock-count {
  font-size: 12.5px; color: var(--cyan);
  background: rgba(90, 208, 240, .1);
  border: 1px solid rgba(90, 208, 240, .25);
  border-radius: var(--r-btn); padding: 2px 10px;
  font-variant-numeric: tabular-nums;
}
.dock-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--ink-faint);
}
.dock-live i {
  width: 7px; height: 7px; border-radius: 50%; font-style: normal;
  background: var(--green);
  animation: rg-pulse 2s infinite;
}
#dock-refresh.is-spinning svg { animation: rg-spin .8s linear infinite; }

.dock-list { list-style: none; margin: 0; padding: 0; }
.mail-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  position: relative;
  transition: background .13s ease;
}
.mail-row:last-child { border-bottom: 0; }
.mail-row:hover { background: rgba(27, 42, 77, .45); }
.mail-row:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.mail-row.is-unread::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--amber);
}
.mail-ava {
  grid-column: 1; grid-row: 1 / span 2;
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel-3);
  color: var(--cyan); font-weight: 700; font-size: 16px;
  text-transform: uppercase;
}
.mail-from {
  grid-column: 2; grid-row: 1;
  display: block; min-width: 0;
  font-size: 14px; color: var(--ink-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mail-row.is-unread .mail-from { color: var(--ink); font-weight: 600; }
.mail-subject {
  grid-column: 2; grid-row: 2;
  display: flex; align-items: center; gap: 8px; min-width: 0;
  font-size: 14.5px; color: var(--ink-faint);
}
.mail-subject .subject-text {
  display: block; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mail-row.is-unread .mail-subject .subject-text { color: var(--ink-dim); }
.mail-when {
  grid-column: 3; grid-row: 1 / span 2;
  font-size: 12.5px; color: var(--ink-faint);
  display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
  font-variant-numeric: tabular-nums;
}
.mail-when .dot-unread {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
}
.chip-demo {
  flex-shrink: 0;
  font-size: 11px; font-weight: 600; color: var(--amber);
  border: 1px solid rgba(255, 178, 36, .45);
  border-radius: var(--r-btn); padding: 1px 8px;
  letter-spacing: .04em;
}
.chip-attach {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11.5px; color: var(--ink-faint);
  border: 1px solid var(--line); border-radius: var(--r-btn);
  padding: 1px 8px;
}
.chip-attach svg { width: 11px; height: 11px; }

.dock-hint {
  padding: 12px 20px;
  font-size: 13px; color: var(--ink-faint);
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 8px;
}
.dock-hint svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--cyan); }

/* ---------- reader drawer ---------- */
.veil {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4, 8, 18, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: rg-fade .18s ease;
}
.reader {
  position: fixed; top: 0; right: 0; z-index: 95;
  height: 100dvh; width: min(600px, 100vw);
  background: rgba(13, 21, 38, .88);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-left: 1px solid rgba(49, 66, 110, .85);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .05);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .24s cubic-bezier(.3, .9, .3, 1);
}
.reader.is-open { transform: translateX(0); }
.reader-top {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 22px 10px;
  flex-shrink: 0;
}
.reader-headings { flex: 1; min-width: 0; }
.reader-subject { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.reader-meta { font-size: 13px; color: var(--ink-faint); overflow-wrap: anywhere; }
.reader-meta b { color: var(--ink-dim); font-weight: 600; }
.reader-acts { display: flex; gap: 8px; flex-shrink: 0; }
.reader-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* the message area is a full-bleed light sheet that fills the drawer
   from below the header chrome down to the bottom edge */
.reader-frame-wrap {
  flex: 1; min-height: 0;
  background: #ffffff;
  overflow: hidden;
}
.reader-frame { width: 100%; height: 100%; border: 0; display: block; background: #ffffff; }
/* attachments continue the light sheet: white background, light-theme rows */
.reader-files {
  padding: 12px 22px 18px;
  flex-shrink: 0;
  background: #ffffff;
  border-top: 1px solid #e9edf4;
}
.reader-files h3 { margin: 0 0 8px; font-size: 13px; color: #6b7487; font-weight: 600; }
.file-rows { max-height: min(200px, 30vh); overflow: auto; display: flex; flex-direction: column; gap: 6px; }
.file-row {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid #dfe4ee; border-radius: 10px;
  padding: 8px 12px; font-size: 13.5px;
  color: #2c3446; text-decoration: none;
}
.file-row:hover { border-color: #1668c7; color: #16233f; text-decoration: none; }
.file-row svg { width: 15px; height: 15px; flex-shrink: 0; color: #1668c7; }
.file-row .file-name {
  display: block; min-width: 0; flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-row .file-size { flex-shrink: 0; color: #8a92a5; font-size: 12px; }

/* ---------- toast ---------- */
.rg-toasts {
  position: fixed; z-index: 300;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
  width: min(92vw, 480px);
}
.rg-toast {
  display: flex; align-items: center; gap: 9px;
  background: rgba(27, 42, 77, .78);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(49, 66, 110, .9);
  border-radius: 12px;
  box-shadow: var(--shadow-pop), inset 0 1px 0 rgba(255, 255, 255, .09);
  color: var(--ink); font-size: 14px;
  padding: 11px 18px;
  max-width: 100%;
  animation: rg-rise .2s ease;
}
.rg-toast.is-out { opacity: 0; transform: translateY(6px); transition: all .18s ease; }
.rg-toast i {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; font-style: normal;
  background: var(--green);
}
.rg-toast.is-bad i { background: var(--red); }
.rg-toast.is-info i { background: var(--cyan); }

/* ---------- confirm dialog ---------- */
.rg-ask {
  position: fixed; z-index: 120;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(400px, calc(100vw - 40px));
  background: rgba(24, 37, 68, .84);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(49, 66, 110, .9);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-pop), inset 0 1px 0 rgba(255, 255, 255, .08);
  padding: 24px;
  animation: rg-rise .18s ease;
}
.rg-ask h3 { margin: 0 0 8px; font-size: 16.5px; }
.rg-ask p { margin: 0 0 20px; font-size: 14px; color: var(--ink-dim); }
.rg-ask-acts { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- section scaffolding ---------- */
.zone { padding: 64px 0; }
.zone-alt {
  background:
    radial-gradient(760px 340px at 10% 0%, rgba(90, 208, 240, .05), transparent 70%),
    radial-gradient(680px 320px at 90% 100%, rgba(255, 178, 36, .045), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.zone-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.zone-kicker {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--amber); text-transform: uppercase;
  padding: 4px 14px; border-radius: var(--r-btn);
  border: 1px solid rgba(255, 178, 36, .28);
  background: linear-gradient(168deg, rgba(255, 178, 36, .1), rgba(255, 178, 36, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  margin-bottom: 12px;
}
.zone-head h2 { margin: 0 0 10px; font-size: 30px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
.zone-head p { margin: 0; color: var(--ink-dim); font-size: 15.5px; }

/* stats belt */
.belt {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
  margin-top: 48px;
}
.belt-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.belt-cell {
  text-align: center; padding: 22px 12px;
  border-left: 1px solid var(--line-soft);
}
.belt-cell:first-child { border-left: 0; }
.belt-num {
  font-family: var(--mono); font-size: 26px; font-weight: 700;
  color: var(--amber);
}
.belt-num small { font-size: 15px; font-weight: 600; margin-left: 2px; }
.belt-cap { font-size: 12.5px; color: var(--ink-faint); margin-top: 3px; }

/* numbered steps: illustration + vertical flow */
.steps-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.steps-art img { width: 100%; height: auto; display: block; }
.step-flow { display: flex; flex-direction: column; }
.step-item { position: relative; padding: 0 0 30px 60px; }
.step-item:last-child { padding-bottom: 0; }
.step-item::before {
  content: "";
  position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--line), transparent);
}
.step-item:last-child::before { display: none; }
.step-no {
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ffc14b, #f5a114);
  color: var(--amber-ink);
  font-family: var(--mono); font-weight: 800; font-size: 17px;
  box-shadow: 0 8px 20px rgba(255, 178, 36, .28);
}
.step-item h3 { margin: 4px 0 7px; font-size: 17px; }
.step-item p { margin: 0; font-size: 14px; color: var(--ink-dim); max-width: 480px; }

/* scene grid */
.scene-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.scene-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 22px 20px;
  transition: border-color .15s ease, transform .15s ease;
}
.scene-card:hover { border-color: var(--line); transform: translateY(-3px); }
.scene-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(90, 208, 240, .1);
  border: 1px solid rgba(90, 208, 240, .22);
  margin-bottom: 14px;
}
.scene-icon svg { width: 21px; height: 21px; color: var(--cyan); }
.scene-card h3 { margin: 0 0 7px; font-size: 15.5px; }
.scene-card p { margin: 0; font-size: 13.5px; color: var(--ink-dim); }

/* fork choice cards */
.fork-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fork-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 30px 28px;
  display: flex; flex-direction: column;
}
.fork-card.is-amber { border-color: rgba(255, 178, 36, .35); background: linear-gradient(180deg, rgba(255, 178, 36, .05), var(--panel) 55%); }
.fork-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .07em;
  border-radius: var(--r-btn); padding: 3px 12px;
  margin-bottom: 14px;
}
.fork-card.is-amber .fork-tag { color: var(--amber); border: 1px solid rgba(255, 178, 36, .4); }
.fork-card.is-cyan .fork-tag { color: var(--cyan); border: 1px solid rgba(90, 208, 240, .4); }
.fork-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.fork-card > p { margin: 0 0 16px; font-size: 14px; color: var(--ink-dim); }
.fork-list { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.fork-list li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 14px; color: var(--ink-dim);
  padding: 5px 0;
}
.fork-list li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; color: var(--green); }
.fork-card .btn { align-self: flex-start; }

/* pledge */
.pledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pledge-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 20px;
}
.pledge-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--amber); margin-top: 2px; }
.pledge-item h3 { margin: 0 0 5px; font-size: 15px; }
.pledge-item p { margin: 0; font-size: 13.5px; color: var(--ink-dim); }

/* FAQ accordion */
.faq-stack { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15.5px; font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  margin-left: auto; flex-shrink: 0;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item[open] summary { color: var(--amber); }
.faq-body { padding: 0 20px 18px; font-size: 14.5px; color: var(--ink-dim); }
.faq-body p { margin: 0 0 8px; }
.faq-body p:last-child { margin-bottom: 0; }

/* closing CTA */
.call-band {
  background:
    radial-gradient(420px 200px at 92% 20%, rgba(90, 208, 240, .08), transparent 70%),
    linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 40px;
  display: flex; align-items: center; gap: 34px;
  flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.call-art { width: 168px; height: auto; flex-shrink: 0; }
.call-copy { flex: 1; min-width: 260px; }
.call-copy h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.015em; }
.call-copy p { margin: 0; color: var(--ink-dim); font-size: 15px; }
.call-acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* mailbox lifecycle timeline */
.life-track {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.life-track::before {
  content: "";
  position: absolute; left: 8px; right: 8px; top: 7px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan) 40%, var(--amber) 75%, var(--red));
  opacity: .45;
}
.life-node { position: relative; padding-top: 28px; }
.life-node::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--cyan);
}
.life-node.is-birth::before { border-color: var(--green); }
.life-node.is-renew::before { border-color: var(--amber); }
.life-node.is-end::before { border-color: var(--red); }
.life-time {
  display: block;
  font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: .05em; color: var(--cyan);
  margin-bottom: 7px;
}
.life-node.is-birth .life-time { color: var(--green); }
.life-node.is-renew .life-time { color: var(--amber); }
.life-node.is-end .life-time { color: var(--red); }
.life-node h3 { margin: 0 0 6px; font-size: 16px; }
.life-node p { margin: 0; font-size: 13.5px; color: var(--ink-dim); }

/* four-approach comparison table */
.judge-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--panel);
  overflow-x: auto;
}
.judge { width: 100%; border-collapse: collapse; min-width: 700px; font-size: 14px; }
.judge th, .judge td {
  padding: 15px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.judge thead th {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-faint);
  background: var(--panel-2);
}
.judge tbody tr:last-child td { border-bottom: 0; }
.judge th:first-child, .judge td:first-child {
  text-align: left;
  color: var(--ink); font-weight: 600; font-size: 14.5px;
}
.judge .judge-sub { display: block; font-weight: 400; font-size: 12px; color: var(--ink-faint); margin-top: 3px; }
.judge tr.is-us { background: linear-gradient(90deg, rgba(255, 178, 36, .07), transparent 72%); }
.judge tr.is-us td:first-child { color: var(--amber); }
.mk {
  display: inline-flex; align-items: center; justify-content: center;
  width: 23px; height: 23px; border-radius: 50%;
  font-size: 12.5px; font-weight: 700;
}
.mk-yes { background: rgba(63, 214, 143, .15); color: var(--green); }
.mk-mid { background: rgba(255, 178, 36, .15); color: var(--amber); }
.mk-no { background: rgba(255, 115, 115, .13); color: var(--red); }
.mk-cap { display: block; font-size: 12px; color: var(--ink-faint); margin-top: 6px; }

/* user voices */
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.voice-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 18px;
}
.voice-card::before {
  content: "\201C";
  position: absolute; top: 4px; right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px; line-height: 1;
  color: var(--panel-3);
}
.voice-text { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-dim); flex: 1; position: relative; }
.voice-who { display: flex; align-items: center; gap: 11px; }
.voice-ava {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #0a101f;
}
.voice-ava.is-a { background: linear-gradient(150deg, #ffca63, #e2960a); }
.voice-ava.is-b { background: linear-gradient(150deg, #8fdff5, #35a8c9); }
.voice-ava.is-c { background: linear-gradient(150deg, #7fe4b4, #2aa96c); }
.voice-name { display: block; font-size: 13.5px; font-weight: 600; }
.voice-role { display: block; font-size: 12px; color: var(--ink-faint); margin-top: 2px; }

/* shared glass sheen: faint top highlight on all content cards */
.scene-card, .fork-card, .pledge-item, .voice-card, .faq-item, .judge-wrap, .call-band {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

/* ============================================================
   FORWARD PAGE (alias relay intro + console)
   ============================================================ */
.fwd-hero {
  padding: 46px 0 40px;
  background:
    radial-gradient(700px 320px at 80% -10%, rgba(90, 208, 240, .08), transparent 70%),
    radial-gradient(520px 260px at 8% 30%, rgba(255, 178, 36, .05), transparent 70%);
}
.fwd-lead {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 56px; align-items: center;
}
.fwd-lead h1 { margin: 0 0 14px; font-size: 37px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.fwd-lead h1 em { font-style: normal; color: var(--cyan); }
.fwd-sub { margin: 0 0 20px; color: var(--ink-dim); font-size: 16px; max-width: 520px; }
.fwd-acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* pipeline diagram: frameless alias-to-inbox flow (no card chrome,
   so the console card below stays the page's only large surface) */
.pipe-flow { display: flex; flex-direction: column; gap: 12px; }
.pipe-row { display: flex; align-items: center; gap: 10px; }
.pipe-alias {
  flex: 1; min-width: 0;
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-dim);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pipe-row.is-off .pipe-alias { opacity: .5; text-decoration: line-through; }
.pipe-arrow { color: var(--cyan); flex-shrink: 0; display: flex; }
.pipe-arrow svg { width: 17px; height: 17px; }
.pipe-row.is-off .pipe-arrow { color: var(--red); }
.pipe-state { font-size: 12px; color: var(--green); flex-shrink: 0; width: 52px; text-align: right; }
.pipe-row.is-off .pipe-state { color: var(--ink-faint); }
.pipe-dest {
  margin-top: 4px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(63, 214, 143, .08);
  border: 1px solid rgba(63, 214, 143, .3);
  border-radius: 11px; padding: 11px 14px;
  font-size: 13.5px; color: var(--ink);
}
.pipe-dest svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; }
.pipe-dest b { font-family: var(--mono); font-weight: 600; }

/* numbered flow strip (how forwarding works) */
.flow-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.flow-cell {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 22px 20px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.flow-cell::after {
  content: "";
  position: absolute; top: 50%; right: -14px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--ink-faint); border-right: 2px solid var(--ink-faint);
  transform: translateY(-50%) rotate(45deg);
  opacity: .6;
}
.flow-cell:last-child::after { display: none; }
.flow-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(90, 208, 240, .12); border: 1px solid rgba(90, 208, 240, .3);
  color: var(--cyan); font-family: var(--mono); font-weight: 700; font-size: 14px;
  margin-bottom: 12px;
}
.flow-cell h3 { margin: 0 0 7px; font-size: 15.5px; }
.flow-cell p { margin: 0; font-size: 13.5px; color: var(--ink-dim); }

/* capability grid */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cap-item {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.cap-item svg { width: 20px; height: 20px; color: var(--cyan); }
.cap-item h3 { margin: 0; font-size: 15px; }
.cap-item p { margin: 0; font-size: 13.5px; color: var(--ink-dim); }
.cap-item .cap-num { font-family: var(--mono); color: var(--amber); font-weight: 700; }

/* ---------- console workspace ---------- */
/* the desk card spans the shell so its edges line up with the hero copy */
.desk {
  background: linear-gradient(180deg, rgba(25, 39, 71, .6), rgba(15, 24, 45, .55));
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(49, 66, 110, .8);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(2, 6, 16, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.desk::before {
  content: "";
  display: block; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 208, 240, .5) 35%, rgba(255, 178, 36, .45) 70%, transparent);
}

/* auth gate: pitch panel + form panel side by side */
.gate {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 52px;
  padding: 42px 48px 46px;
  align-items: center;
}
.gate-pitch h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.01em; }
.gate-sub { margin: 0 0 20px; font-size: 13.5px; line-height: 1.75; color: var(--ink-faint); }
.gate-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gate-perks li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--ink-dim);
}
.gate-perks svg {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px;
  color: var(--cyan);
  background: rgba(90, 208, 240, .1);
  border: 1px solid rgba(90, 208, 240, .25);
  border-radius: 6px; padding: 2px; box-sizing: border-box;
}
.gate-form {
  border-left: 1px solid var(--line-soft);
  padding-left: 40px;
  min-width: 0;
}
.gate-label { display: block; font-size: 13px; color: var(--ink-dim); margin: 0 0 7px; }
.field {
  width: 100%; box-sizing: border-box;
  background: rgba(10, 16, 31, .6);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink); font-size: 15px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(90, 208, 240, .15); }
.mint-addr:focus-within .field { border-color: var(--cyan); box-shadow: none; }
.mint-addr:focus-within .mint-suffix { border-color: var(--cyan); }
.mint-addr:focus-within { box-shadow: 0 0 0 3px rgba(90, 208, 240, .15); border-radius: 11px; }
.field::placeholder { color: var(--ink-faint); }
.code-field {
  font-family: var(--mono); font-size: 26px; font-weight: 700;
  letter-spacing: .42em; text-align: center;
  padding: 13px 0 13px .42em;
}
.gate-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.gate-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.gate-hint {
  display: flex; gap: 9px; align-items: flex-start;
  margin-top: 18px; padding: 11px 13px;
  background: rgba(90, 208, 240, .07);
  border: 1px solid rgba(90, 208, 240, .2);
  border-radius: 10px;
  font-size: 12.5px; color: var(--ink-dim);
}
.gate-hint svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--cyan); margin-top: 1px; }
.gate-err {
  margin: 12px 0 0; font-size: 13px; color: var(--red);
  background: rgba(255, 115, 115, .08);
  border: 1px solid rgba(255, 115, 115, .3);
  border-radius: 10px; padding: 10px 13px;
}
.gate-mail { font-family: var(--mono); color: var(--cyan); word-break: break-all; }
.gate-done {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; color: var(--ink-dim);
  background: rgba(63, 214, 143, .07);
  border: 1px solid rgba(63, 214, 143, .28);
  border-radius: 10px; padding: 11px 13px;
}
.gate-done svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.gate-done b { font-family: var(--mono); font-weight: 600; color: var(--ink); word-break: break-all; }

/* ---------- console page (hub): slim bar + side rail + stage ---------- */
.hub-body { display: flex; flex-direction: column; min-height: 100vh; }
.hub-bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 16, 31, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.hub-bar-in { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.hub-bar-in .spacer { flex: 1; }
.hub-sep { width: 1px; height: 22px; background: var(--line); flex-shrink: 0; }
.hub-title { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-dim); letter-spacing: .04em; white-space: nowrap; }
.hub-user { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hub-ava {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #8fdff5, #35a8c9);
  color: #0a101f; font-weight: 700; font-size: 13px; text-transform: uppercase;
}
.hub-mail {
  font-family: var(--mono); font-size: 13px; color: var(--ink-dim);
  max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.hub-frame {
  flex: 1; width: 100%;
  display: grid; grid-template-columns: 216px minmax(0, 1fr);
  gap: 26px; align-items: start; align-content: start;
  padding-top: 28px; padding-bottom: 56px;
}
.hub-tabs { display: flex; flex-direction: column; gap: 6px; }
.hub-tab {
  display: flex; align-items: center; gap: 10px;
  background: none; border: 1px solid transparent; border-radius: 12px;
  color: var(--ink-dim); font-size: 14px; font-weight: 600;
  padding: 11px 14px; cursor: pointer; text-align: left;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.hub-tab svg { width: 17px; height: 17px; flex-shrink: 0; opacity: .85; }
.hub-tab:hover { background: rgba(90, 208, 240, .06); color: var(--ink); }
.hub-tab[aria-selected="true"] {
  background: rgba(255, 178, 36, .1);
  border-color: rgba(255, 178, 36, .3);
  color: var(--amber);
}
.hub-quota {
  margin-top: 18px; padding: 13px 15px;
  display: flex; flex-direction: column; gap: 8px;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px;
  font-size: 12.5px; color: var(--ink-faint);
}
.hub-quota b { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--cyan); }
.quota-bar { width: 100%; height: 4px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.quota-bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--amber)); border-radius: 4px; }

.hub-stage {
  background: linear-gradient(180deg, rgba(25, 39, 71, .6), rgba(15, 24, 45, .55));
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(49, 66, 110, .8);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(2, 6, 16, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
  min-height: 440px;
  overflow: hidden;
}
.hub-pane { padding: 24px 26px 28px; }

.hub-foot { border-top: 1px solid var(--line-soft); padding: 16px 0 24px; }
.hub-foot-in {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
  font-size: 12.5px; color: var(--ink-faint);
}
.hub-foot-in nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 14px; }
.hub-foot-in a { color: var(--ink-faint); }
.hub-foot-in a:hover { color: var(--ink-dim); }

/* alias management */
.mint {
  display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap;
  background: rgba(10, 16, 31, .45);
  border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 14px;
  margin-bottom: 18px;
}
.mint-addr { flex: 1; min-width: 220px; display: flex; align-items: stretch; }
.mint-addr .field { border-radius: 11px 0 0 11px; border-right: 0; }
.mint-suffix {
  display: flex; align-items: center; align-self: stretch;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 0 11px 11px 0;
  font-family: var(--mono); font-size: 13.5px; color: var(--ink-faint);
  padding: 0 12px; white-space: nowrap;
}
.mint-note { width: 100%; margin: 2px 0 0; font-size: 12px; color: var(--ink-faint); }
.alias-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.alias-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 4px 14px; align-items: center;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  padding: 12px 16px;
}
.alias-addr {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  font-family: var(--mono); font-size: 14px; color: var(--ink);
}
.alias-addr > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alias-copy {
  background: none; border: 0; padding: 3px; cursor: pointer;
  color: var(--ink-faint); display: inline-flex; border-radius: 6px;
}
.alias-copy:hover { color: var(--cyan); }
.alias-copy svg { width: 14px; height: 14px; }
.alias-meta { grid-column: 1; font-size: 12px; color: var(--ink-faint); }
.al-badge {
  grid-column: 2; grid-row: 1 / span 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  border-radius: var(--r-btn); padding: 3px 11px;
  white-space: nowrap;
}
.al-badge.is-on { color: var(--green); background: rgba(63, 214, 143, .1); border: 1px solid rgba(63, 214, 143, .35); }
.al-badge.is-off { color: var(--ink-faint); background: rgba(167, 180, 212, .07); border: 1px solid var(--line); }
.alias-acts { grid-column: 3; grid-row: 1 / span 2; display: flex; gap: 6px; }

/* archive */
.arc-bar { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.arc-pick {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(168deg, rgba(167, 180, 212, .1), rgba(167, 180, 212, .02));
  border: 1px solid rgba(167, 180, 212, .24); border-radius: 10px;
  color: var(--ink-dim); font-size: 13px; padding: 8px 12px; cursor: pointer;
  max-width: 210px;
}
.arc-pick:hover { border-color: rgba(167, 180, 212, .45); color: var(--ink); }
.arc-pick > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arc-pick svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .7; }
.arc-bar .spacer { flex: 1; }
.arc-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.arc-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 3px 14px; align-items: center;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  padding: 11px 15px;
  cursor: pointer;
  transition: border-color .13s ease, background .13s ease;
}
.arc-row:hover { border-color: var(--line); background: var(--panel-2); }
.arc-row:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.st-pill {
  grid-row: 1 / span 2;
  font-size: 11.5px; font-weight: 700;
  border-radius: var(--r-btn); padding: 4px 11px;
  white-space: nowrap;
}
.st-pill.is-fwd { color: var(--green); background: rgba(63, 214, 143, .1); border: 1px solid rgba(63, 214, 143, .35); }
.st-pill.is-spam { color: var(--red); background: rgba(255, 115, 115, .09); border: 1px solid rgba(255, 115, 115, .35); }
.st-pill.is-fail { color: var(--amber); background: rgba(255, 178, 36, .1); border: 1px solid rgba(255, 178, 36, .35); }
.st-pill.is-wait { color: var(--cyan); background: rgba(90, 208, 240, .09); border: 1px solid rgba(90, 208, 240, .3); }
.arc-subject { font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.arc-line { grid-column: 2; font-size: 12px; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arc-side { grid-column: 3; grid-row: 1 / span 2; text-align: right; font-size: 11.5px; color: var(--ink-faint); }
.arc-side b { display: block; font-family: var(--mono); font-weight: 600; color: var(--ink-dim); font-size: 12.5px; }

/* empty / loading states inside panes */
.pane-empty {
  text-align: center; padding: 44px 20px;
  color: var(--ink-faint); font-size: 13.5px;
}
.pane-empty svg { width: 40px; height: 40px; opacity: .4; color: var(--cyan); display: block; margin: 0 auto 12px; }

/* 2FA */
.tfa-state {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 13px; padding: 16px 18px; margin-bottom: 18px;
}
.tfa-state svg { width: 22px; height: 22px; flex-shrink: 0; }
.tfa-state.is-on svg { color: var(--green); }
.tfa-state.is-off svg { color: var(--ink-faint); }
.tfa-state h3 { margin: 0 0 3px; font-size: 15px; }
.tfa-state p { margin: 0; font-size: 12.5px; color: var(--ink-faint); }
.tfa-state .btn { margin-left: auto; flex-shrink: 0; }
.tfa-setup { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 20px; align-items: start; }
.tfa-qr {
  width: 168px; height: 168px; border-radius: 12px;
  background: #fff; padding: 8px; box-sizing: border-box;
}
.tfa-qr img { width: 100%; height: 100%; display: block; }
.tfa-secret {
  display: flex; align-items: center; gap: 8px;
  background: rgba(10, 16, 31, .6); border: 1px dashed var(--line);
  border-radius: 10px; padding: 9px 12px;
  font-family: var(--mono); font-size: 12.5px; color: var(--cyan);
  word-break: break-all;
}
.tfa-warn {
  display: flex; gap: 9px; align-items: flex-start;
  background: rgba(255, 115, 115, .07);
  border: 1px solid rgba(255, 115, 115, .28);
  border-radius: 10px; padding: 11px 13px;
  font-size: 12.5px; color: var(--ink-dim);
  margin-bottom: 14px;
}
.tfa-warn svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--red); margin-top: 1px; }

/* reader extras for archive detail */
.reader-tools {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  padding: 2px 22px 14px;
}
.reader-tools .btn { margin-left: auto; }
.reader-chip {
  display: inline-block;
  max-width: 240px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 3px 11px;
  font-size: 11.5px; line-height: 1.6; color: var(--ink-faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.reader-chip.is-mono { font-family: var(--mono); color: var(--ink-dim); }
.spam-box {
  margin: 0 22px 14px;
  padding: 12px 14px;
  background: rgba(255, 115, 115, .07);
  border: 1px solid rgba(255, 115, 115, .3);
  border-radius: 11px;
  font-size: 13px; color: var(--ink-dim);
}
.spam-box b { color: var(--red); }

/* ============================================================
   LEGAL PAGES (document layout with structured extras)
   ============================================================ */
.law-head { padding: 46px 0 8px; text-align: center; }
.law-head h1 { margin: 0 0 10px; font-size: 33px; font-weight: 800; letter-spacing: -.02em; }
.law-date {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--ink-faint);
  border: 1px solid var(--line-soft); border-radius: var(--r-btn);
  padding: 4px 13px; background: var(--panel);
}
.law-date svg { width: 13px; height: 13px; }
.law-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 30px 0 8px; }
.law-quick-item {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.law-quick-item svg { width: 18px; height: 18px; color: var(--amber); margin-bottom: 9px; }
.law-quick-item h3 { margin: 0 0 5px; font-size: 13.5px; }
.law-quick-item p { margin: 0; font-size: 12px; color: var(--ink-faint); line-height: 1.6; }
.law-body { max-width: 800px; margin: 26px auto 0; }
.law-toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 14px;
  margin-bottom: 30px;
}
.law-toc a {
  font-size: 12.5px; color: var(--ink-dim);
  border: 1px solid var(--line-soft); border-radius: var(--r-btn);
  padding: 4px 12px;
}
.law-toc a:hover { color: var(--cyan); border-color: rgba(90, 208, 240, .4); text-decoration: none; }
.law-sec { margin-bottom: 34px; }
.law-sec h2 {
  display: flex; align-items: baseline; gap: 10px;
  margin: 0 0 12px; font-size: 20px; letter-spacing: -.01em;
  padding-bottom: 9px; border-bottom: 1px solid var(--line-soft);
}
.law-sec h2 .no { font-family: var(--mono); font-size: 13px; color: var(--amber); font-weight: 700; }
.law-sec p, .law-sec li { font-size: 14.5px; line-height: 1.85; color: var(--ink-dim); }
.law-sec p { margin: 0 0 12px; }
.law-sec ul { margin: 0 0 12px; padding-left: 22px; }
.law-sec li { margin-bottom: 6px; }
.law-sec strong { color: var(--ink); }
.law-table-wrap { border: 1px solid var(--line); border-radius: 13px; overflow-x: auto; margin: 14px 0; }
.law-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.law-table th, .law-table td { padding: 11px 15px; text-align: left; border-bottom: 1px solid var(--line-soft); color: var(--ink-dim); }
.law-table thead th { background: var(--panel-2); color: var(--ink-faint); font-size: 12.5px; }
.law-table tbody tr:last-child td { border-bottom: 0; }
.law-table td b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.law-callout {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255, 178, 36, .06);
  border: 1px solid rgba(255, 178, 36, .25);
  border-radius: 12px; padding: 13px 15px;
  font-size: 13.5px; color: var(--ink-dim);
  margin: 14px 0;
}
.law-callout svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--amber); margin-top: 2px; }

/* ============================================================
   BLOG: library list
   ============================================================ */
.lib-head { padding: 46px 0 10px; text-align: center; }
.lib-head h1 { margin: 0 0 10px; font-size: 33px; font-weight: 800; letter-spacing: -.02em; }
.lib-head p { margin: 0 auto; max-width: 560px; color: var(--ink-dim); font-size: 15.5px; }
.lib-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin: 26px 0 30px;
}
.lib-cat {
  background: linear-gradient(168deg, rgba(167, 180, 212, .09), rgba(167, 180, 212, .02));
  border: 1px solid rgba(167, 180, 212, .22); border-radius: var(--r-btn);
  color: var(--ink-dim); font-size: 13px; padding: 6px 15px; cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.lib-cat:hover { color: var(--ink); border-color: rgba(167, 180, 212, .45); }
.lib-cat[aria-pressed="true"] { color: var(--amber); border-color: rgba(255, 178, 36, .5); background: rgba(255, 178, 36, .08); }
.lib-cat b { font-family: var(--mono); font-weight: 600; margin-left: 4px; opacity: .75; }
.lib-count { width: 100%; text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.lib-latest {
  display: block;
  background:
    radial-gradient(480px 200px at 90% 0%, rgba(255, 178, 36, .07), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 32px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.lib-latest:hover { border-color: rgba(255, 178, 36, .4); transform: translateY(-2px); text-decoration: none; }
.lib-new {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--amber); border: 1px solid rgba(255, 178, 36, .4);
  border-radius: var(--r-btn); padding: 3px 11px; margin-bottom: 12px;
}
.lib-latest h2 { margin: 0 0 10px; font-size: 23px; letter-spacing: -.01em; color: var(--ink); }
.lib-latest p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-dim); max-width: 720px; }
.lib-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lib-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 22px;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.lib-card:hover { border-color: var(--line); transform: translateY(-2px); text-decoration: none; }
.lib-card h3 { margin: 0; font-size: 16.5px; color: var(--ink); line-height: 1.45; }
.lib-card p { margin: 0; font-size: 13.5px; color: var(--ink-dim); flex: 1; }
.lib-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-faint); flex-wrap: wrap; }
.lib-tag {
  font-size: 11.5px; color: var(--cyan);
  border: 1px solid rgba(90, 208, 240, .3);
  border-radius: var(--r-btn); padding: 2px 10px;
}

/* ============================================================
   BLOG: article template
   ============================================================ */
.post-crumb {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  padding: 22px 0 0;
  font-size: 12.5px; color: var(--ink-faint);
}
.post-crumb a { color: var(--ink-dim); }
.post-crumb a:hover { color: var(--cyan); }
.post-crumb svg { width: 12px; height: 12px; opacity: .55; }
.post-crumb [aria-current] { color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; }
.post-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 240px;
  gap: 48px; align-items: start;
  padding: 18px 0 30px;
}
.post-main { min-width: 0; max-width: 760px; }
.post-main h1 { margin: 8px 0 14px; font-size: 31px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; }
.post-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-faint); margin-bottom: 26px; }
.post-info .lib-tag { flex-shrink: 0; }
.post-body { font-size: 15px; line-height: 1.95; color: var(--ink-dim); }
.post-body h2 {
  margin: 40px 0 14px; font-size: 22px; color: var(--ink); letter-spacing: -.01em;
  padding-left: 13px; border-left: 3px solid var(--amber);
  line-height: 1.4;
}
.post-body h3 { margin: 26px 0 10px; font-size: 17px; color: var(--ink); }
.post-body p { margin: 0 0 15px; }
.post-body ul, .post-body ol { margin: 0 0 15px; padding-left: 24px; }
.post-body li { margin-bottom: 7px; }
.post-body strong { color: var(--ink); }
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-body code {
  font-family: var(--mono); font-size: .88em;
  background: var(--panel-2); border: 1px solid var(--line-soft);
  border-radius: 6px; padding: 1px 6px; color: var(--cyan);
}
.post-tip {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(90, 208, 240, .06);
  border: 1px solid rgba(90, 208, 240, .22);
  border-radius: 12px; padding: 13px 15px;
  font-size: 13.5px; margin: 0 0 15px;
}
.post-tip svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--cyan); margin-top: 3px; }
.post-table-wrap { border: 1px solid var(--line); border-radius: 13px; overflow-x: auto; margin: 0 0 15px; }
.post-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 480px; }
.post-table th, .post-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.post-table thead th { background: var(--panel-2); color: var(--ink-faint); font-size: 12.5px; }
.post-table tbody tr:last-child td { border-bottom: 0; }

/* sticky table of contents */
.post-toc {
  position: sticky; top: 86px;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.post-toc h2 { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .08em; color: var(--ink-faint); text-transform: uppercase; }
.post-toc ol { list-style: none; margin: 0; padding: 0; }
.post-toc li { margin-bottom: 2px; }
.post-toc a {
  display: block; padding: 5px 9px; border-radius: 8px;
  font-size: 13px; color: var(--ink-dim); line-height: 1.5;
}
.post-toc a:hover { color: var(--cyan); background: rgba(90, 208, 240, .06); text-decoration: none; }

/* end-of-post CTA */
.post-cta {
  margin: 40px 0 0;
  background:
    radial-gradient(380px 170px at 90% 15%, rgba(255, 178, 36, .09), transparent 70%),
    linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.post-cta h2 { margin: 0 0 8px; font-size: 19px; color: var(--ink); border: 0; padding: 0; }
.post-cta p { margin: 0 0 16px; font-size: 14px; }
.post-cta .btn + .btn { margin-left: 10px; }

/* related reading: text-only cards */
.post-rel { margin: 34px 0 0; }
.post-rel h2 { margin: 0 0 14px; font-size: 18px; color: var(--ink); border: 0; padding: 0; }
.post-rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.post-rel-card {
  display: block;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 13px; padding: 16px 18px;
  transition: border-color .15s ease;
}
.post-rel-card:hover { border-color: rgba(90, 208, 240, .4); text-decoration: none; }
.post-rel-card h3 { margin: 0 0 6px; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.post-rel-card span { font-size: 12px; color: var(--ink-faint); }

/* floating nudge widget */
.nudge {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: min(300px, calc(100vw - 32px));
  background: rgba(24, 37, 68, .85);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(49, 66, 110, .9);
  border-radius: 15px;
  box-shadow: var(--shadow-pop), inset 0 1px 0 rgba(255, 255, 255, .08);
  padding: 16px 16px 14px;
  animation: rg-rise .3s ease;
}
.nudge[hidden] { display: none; }
.nudge h3 { margin: 0 0 6px; font-size: 14px; color: var(--ink); padding-right: 22px; }
.nudge p { margin: 0 0 12px; font-size: 12.5px; color: var(--ink-dim); line-height: 1.6; }
.nudge-close {
  position: absolute; top: 10px; right: 10px;
  background: none; border: 0; cursor: pointer;
  color: var(--ink-faint); padding: 3px; display: inline-flex; border-radius: 6px;
}
.nudge-close:hover { color: var(--ink); }
.nudge-close svg { width: 14px; height: 14px; }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-soft);
  padding: 48px 0 26px;
  margin-top: 72px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.foot-brand p { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-faint); max-width: 300px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; color: var(--ink); letter-spacing: .05em; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 9px; }
.foot-links a { color: var(--ink-faint); font-size: 13.5px; }
.foot-links a:hover { color: var(--cyan); }
.foot-base {
  margin-top: 38px; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-faint);
}
.foot-base .spacer { margin-left: auto; }

/* ---------- animations ---------- */
@keyframes rg-pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 214, 143, .45); }
  70% { box-shadow: 0 0 0 7px rgba(63, 214, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 214, 143, 0); }
}
@keyframes rg-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes rg-spin { to { transform: rotate(360deg); } }
@keyframes rg-fade { from { opacity: 0; } }
@keyframes rg-rise { from { opacity: 0; transform: translateY(6px); } }

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

/* ---------- photographic accents ---------- */
.scene-shot {
  position: relative;
  margin: 0 0 24px;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.scene-shot img {
  display: block; width: 100%;
  height: clamp(190px, 28vw, 320px);
  object-fit: cover; object-position: center 45%;
  filter: saturate(.94);
}
.scene-shot::after {
  /* navy grade so the photo sits inside the night palette */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 31, .28), rgba(10, 16, 31, .06) 42%, rgba(8, 13, 26, .72));
  pointer-events: none;
}
.scene-shot figcaption {
  position: absolute; z-index: 1;
  left: 20px; right: 20px; bottom: 15px;
  font-size: 13.5px; color: #d9e1f4;
  text-shadow: 0 1px 8px rgba(3, 7, 18, .8);
}
/* slimmer variant for document-style pages */
.scene-shot.is-slim { margin: 26px 0; }
.scene-shot.is-slim img { height: clamp(150px, 18vw, 230px); object-position: center 55%; }

/* full-bleed photographic interlude with brand statement */
.beacon {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line-soft);
  padding: 96px 0;
  text-align: center;
}
.beacon-photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.beacon::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 16, 31, .88), rgba(10, 16, 31, .46) 48%, rgba(10, 16, 31, .9));
}
.beacon .shell { position: relative; z-index: 2; }
.beacon-line {
  margin: 0 auto 12px; max-width: 700px;
  font-size: 27px; font-weight: 800; letter-spacing: -.012em; line-height: 1.5;
}
.beacon-note { margin: 0 auto; max-width: 580px; color: var(--ink-dim); font-size: 15.5px; }

/* ============================================================
   GUIDE PAGE (hands-on tutorial)
   ============================================================ */
.tut-head { padding: 46px 0 0; max-width: 820px; }
.tut-head h1 { margin: 0 0 12px; font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.32; }
.tut-head p { margin: 0; color: var(--ink-dim); font-size: 15.5px; max-width: 640px; }
.jump-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 6px; }
.jump-card {
  display: block;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 13px; padding: 15px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color .15s ease, transform .15s ease;
}
.jump-card:hover { border-color: rgba(90, 208, 240, .4); transform: translateY(-2px); text-decoration: none; }
.jump-card b { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.jump-card b svg { width: 15px; height: 15px; color: var(--cyan); flex-shrink: 0; }
.jump-card span { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-faint); line-height: 1.55; }

.tut-flow { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 0 auto; }
.tut-step {
  display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 20px;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--r-card); padding: 22px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.tut-no {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 20px; font-weight: 800;
  color: var(--amber);
  background: rgba(255, 178, 36, .09);
  border: 1px solid rgba(255, 178, 36, .3);
}
.tut-step h3 { margin: 2px 0 7px; font-size: 17px; }
.tut-step p { margin: 0; font-size: 14px; color: var(--ink-dim); }
.tut-mini {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 12px; padding: 9px 12px;
  background: rgba(90, 208, 240, .06);
  border: 1px solid rgba(90, 208, 240, .2);
  border-radius: 10px;
  font-size: 12.5px; color: var(--ink-dim);
}
.tut-mini svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--cyan); margin-top: 2px; }

/* two recovery paths */
.path-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.path-card {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--r-card); padding: 24px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.path-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  border-radius: var(--r-btn); padding: 3px 12px; margin-bottom: 13px;
}
.path-card.is-link .path-tag { color: var(--cyan); border: 1px solid rgba(90, 208, 240, .4); }
.path-card.is-local .path-tag { color: var(--green); border: 1px solid rgba(63, 214, 143, .4); }
.path-card h3 { margin: 0 0 8px; font-size: 16.5px; }
.path-card p { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-dim); }
.path-card p:last-child { margin-bottom: 0; }
.path-card .path-sample {
  display: block; font-family: var(--mono); font-size: 12.5px; color: var(--cyan);
  background: rgba(10, 16, 31, .6); border: 1px dashed var(--line);
  border-radius: 9px; padding: 8px 11px; margin: 10px 0 0;
  overflow-wrap: anywhere;
}

/* compact numbered lane (alias quick-start) */
.lane-list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; counter-reset: lane; }
.lane-list li {
  position: relative; counter-increment: lane;
  padding: 15px 0 15px 52px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14.5px; color: var(--ink-dim);
}
.lane-list li:last-child { border-bottom: 0; }
.lane-list li::before {
  content: counter(lane, decimal-leading-zero);
  position: absolute; left: 0; top: 16px;
  font-family: var(--mono); font-weight: 700; font-size: 13px;
  color: var(--cyan);
  border: 1px solid rgba(90, 208, 240, .35); border-radius: 8px;
  padding: 2px 8px;
}
.lane-list b { color: var(--ink); }

/* ============================================================
   SIGNUP SCENARIO PAGE
   ============================================================ */
.beacon.is-lead { border-top: 0; border-bottom: 1px solid var(--line-soft); padding: 92px 0 96px; text-align: left; }
.beacon.is-lead::after {
  background:
    linear-gradient(90deg, rgba(10, 16, 31, .93), rgba(10, 16, 31, .62) 52%, rgba(10, 16, 31, .38)),
    linear-gradient(180deg, rgba(10, 16, 31, .5), rgba(10, 16, 31, .72));
}
.beacon.is-lead h1 { margin: 0 0 14px; max-width: 620px; font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.beacon.is-lead h1 em { font-style: normal; color: var(--amber); }
.lead-sub { margin: 0; max-width: 560px; color: var(--ink-dim); font-size: 16px; }
.lead-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* three-way scenario picker */
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pick-card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--r-card); padding: 24px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.pick-card h3 { margin: 0 0 6px; font-size: 17px; }
.pick-card > p { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-dim); }
.pick-card ul { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.pick-card ul li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-dim); padding: 4px 0; }
.pick-card ul svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--ink-faint); }
.pick-hit {
  display: flex; align-items: center; gap: 9px;
  border-top: 1px solid var(--line-soft); padding-top: 14px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.pick-hit svg { width: 16px; height: 16px; flex-shrink: 0; }
.pick-card.is-amber { border-color: rgba(255, 178, 36, .3); }
.pick-card.is-amber .pick-hit { color: var(--amber); }
.pick-card.is-cyan { border-color: rgba(90, 208, 240, .3); }
.pick-card.is-cyan .pick-hit { color: var(--cyan); }

/* five-step registration checklist */
.reg-steps { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.reg-step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 13px; padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.reg-tick {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(63, 214, 143, .1); border: 1px solid rgba(63, 214, 143, .35);
  color: var(--green); font-family: var(--mono); font-size: 12.5px; font-weight: 700;
}
.reg-step h3 { margin: 0 0 4px; font-size: 15px; }
.reg-step p { margin: 0; font-size: 13.5px; color: var(--ink-dim); }

/* red-line cards: where NOT to use a throwaway address */
.avoid-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.avoid-card {
  background: rgba(255, 115, 115, .05);
  border: 1px solid rgba(255, 115, 115, .25);
  border-radius: 14px; padding: 18px 16px;
}
.avoid-card svg { width: 18px; height: 18px; color: var(--red); margin-bottom: 9px; }
.avoid-card h3 { margin: 0 0 5px; font-size: 14px; }
.avoid-card p { margin: 0; font-size: 12.5px; color: var(--ink-dim); line-height: 1.6; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-head { padding: 50px 0 10px; text-align: center; max-width: 680px; margin: 0 auto; }
.about-head h1 { margin: 0 0 12px; font-size: 33px; font-weight: 800; letter-spacing: -.02em; }
.about-head p { margin: 0; color: var(--ink-dim); font-size: 15.5px; }
.fact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.fact-tile {
  text-align: center;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 20px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.fact-tile b { display: block; font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--cyan); }
.fact-tile b small { font-size: 14px; font-weight: 600; margin-left: 2px; }
.fact-tile span { font-size: 12.5px; color: var(--ink-faint); }

.creed-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 44px; align-items: center; }
.creed-item { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.creed-item:last-child { border-bottom: 0; }
.creed-no { font-family: var(--mono); font-weight: 800; color: var(--amber); font-size: 15px; padding-top: 2px; }
.creed-item h3 { margin: 0 0 6px; font-size: 16.5px; }
.creed-item p { margin: 0; font-size: 13.5px; color: var(--ink-dim); }
.creed-photo { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-soft); }
.creed-photo img { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; filter: saturate(.94); }
.creed-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 31, .22), rgba(8, 13, 26, .6));
  pointer-events: none;
}
.creed-photo figcaption {
  position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 13px;
  font-size: 12.5px; color: #d9e1f4;
  text-shadow: 0 1px 8px rgba(3, 7, 18, .8);
}

.dodo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dodo-col { border-radius: var(--r-card); padding: 26px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.dodo-col.is-do { background: rgba(63, 214, 143, .05); border: 1px solid rgba(63, 214, 143, .25); }
.dodo-col.is-not { background: rgba(255, 115, 115, .045); border: 1px solid rgba(255, 115, 115, .22); }
.dodo-col h3 { margin: 0 0 12px; font-size: 16px; display: flex; align-items: center; gap: 9px; }
.dodo-col h3 svg { width: 18px; height: 18px; flex-shrink: 0; }
.dodo-col.is-do h3 svg { color: var(--green); }
.dodo-col.is-not h3 svg { color: var(--red); }
.dodo-col ul { list-style: none; margin: 0; padding: 0; }
.dodo-col li { display: flex; gap: 9px; align-items: flex-start; padding: 6px 0; font-size: 14px; color: var(--ink-dim); }
.dodo-col li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; }
.dodo-col.is-do li svg { color: var(--green); }
.dodo-col.is-not li svg { color: var(--red); }

.reach-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  background:
    radial-gradient(380px 170px at 85% 10%, rgba(90, 208, 240, .08), transparent 70%),
    linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.reach-card h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.01em; }
.reach-card p { margin: 0 0 18px; font-size: 14.5px; color: var(--ink-dim); }
.reach-mail {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 16px; color: var(--cyan);
  border: 1px dashed rgba(90, 208, 240, .4); border-radius: 12px;
  padding: 10px 18px;
}
.reach-mail svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ============================================================
   RESPONSIVE OVERRIDES — keep this block at the END of the file.
   Later additions must be inserted ABOVE this banner.
   ============================================================ */

@media (max-width: 960px) {
  .top-nav { display: none; }
  .top-burger { display: inline-flex; }
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fork-row { grid-template-columns: minmax(0, 1fr); }
  .steps-wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .steps-art { max-width: 340px; margin: 0 auto; }
  .call-art { display: none; }
  .voice-grid { grid-template-columns: minmax(0, 1fr); }
  .sky-lead { grid-template-columns: minmax(0, 1fr); }
  .sky-art { display: none; }

  .fwd-lead { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pipe-flow { max-width: 460px; }
  .flow-strip { grid-template-columns: minmax(0, 1fr); }
  .flow-cell::after {
    top: auto; right: auto; bottom: -14px; left: 26px;
    transform: rotate(135deg);
  }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .law-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-side { display: none; }
  .beacon { padding: 76px 0; }

  .jump-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-duo { grid-template-columns: minmax(0, 1fr); }
  .pick-grid { grid-template-columns: minmax(0, 1fr); }
  .avoid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creed-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .creed-photo img { min-height: 240px; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .shell { padding: 0 16px; }
  .top-row { height: 56px; gap: 12px; }
  .top-cta { display: none; }

  /* compact hero: keep address console + first inbox rows within phone fold */
  .sky { padding: 18px 0 14px; }
  .sky-lead { gap: 0; }
  .sky h1 { font-size: 26px; margin-bottom: 8px; }
  .sky-sub { font-size: 14px; margin-bottom: 10px; }
  .sky-points { gap: 5px 14px; }
  .sky-points li { font-size: 12px; }
  .station { margin-top: 14px; border-radius: 16px; }
  .station-head { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px 16px 14px; }
  .head-core { gap: 8px; }
  .console-addr { font-size: clamp(15px, 4.8vw, 19px); }
  .head-side {
    margin-left: 0; padding-left: 0; border-left: 0;
    border-top: 1px solid var(--line-soft); padding-top: 12px;
  }
  .tick { font-size: 16px; }
  .tick-bar { width: 64px; }
  .dock-head { padding: 11px 14px; }
  .dock-hint { padding: 10px 14px; }
  .mail-row { padding: 11px 14px; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 3px 10px; }
  .mail-ava { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }

  .zone { padding: 44px 0; }
  .zone-head { margin-bottom: 28px; }
  .zone-head h2 { font-size: 23px; }
  .belt-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .belt-cell { border-left: 0; border-top: 1px solid var(--line-soft); }
  .belt-cell:nth-child(-n+2) { border-top: 0; }
  .belt-cell:nth-child(even) { border-left: 1px solid var(--line-soft); }
  .scene-grid { grid-template-columns: minmax(0, 1fr); }
  .pledge-grid { grid-template-columns: minmax(0, 1fr); }
  .call-band { padding: 30px 22px; }

  /* lifecycle timeline flips to a vertical rail on phones */
  .life-track { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .life-track::before {
    left: 7px; right: auto; top: 6px; bottom: 6px;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--green), var(--cyan) 40%, var(--amber) 75%, var(--red));
  }
  .life-node { padding: 0 0 0 34px; }
  .life-node::before { top: 3px; }
  .judge th, .judge td { padding: 12px 14px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reader { width: 100vw; border-left: 0; }
  .rg-toasts { bottom: 14px; }

  .fwd-hero { padding: 32px 0 30px; }
  .fwd-lead h1 { font-size: 27px; }
  .cap-grid { grid-template-columns: minmax(0, 1fr); }
  .gate { padding: 28px 20px 32px; }
  .gate { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gate-form { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 24px; }
  .hub-bar-in { min-height: 54px; gap: 10px; }
  .hub-sep, .hub-mail { display: none; }
  .hub-frame { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 16px; padding-bottom: 40px; }
  .hub-tabs { flex-direction: row; overflow-x: auto; gap: 6px; }
  .hub-tab { white-space: nowrap; padding: 9px 13px; font-size: 13px; flex-shrink: 0; }
  .hub-quota { margin-top: 2px; flex-direction: row; align-items: center; }
  .hub-quota .quota-bar { flex: 1; width: auto; }
  .hub-pane { padding: 16px 14px 20px; }
  .hub-foot-in nav { margin-left: 0; }
  .mint { padding: 11px; }
  .alias-row { grid-template-columns: minmax(0, 1fr) auto; padding: 11px 13px; }
  .al-badge { grid-column: 2; grid-row: 1; justify-self: end; }
  .alias-acts { grid-column: 1 / -1; grid-row: 3; justify-content: flex-end; }
  .arc-row { grid-template-columns: auto minmax(0, 1fr); }
  .arc-side { grid-column: 1 / -1; grid-row: 3; text-align: left; display: flex; gap: 10px; }
  .tfa-setup { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .tfa-state { flex-wrap: wrap; }
  .tfa-state .btn { margin-left: 0; width: 100%; }
  .law-head h1 { font-size: 26px; }
  .law-quick { grid-template-columns: minmax(0, 1fr); }
  .lib-head h1 { font-size: 26px; }
  .lib-latest { padding: 22px; }
  .lib-latest h2 { font-size: 19px; }
  .lib-grid { grid-template-columns: minmax(0, 1fr); }
  .post-main h1 { font-size: 24px; }
  .post-body { font-size: 14.5px; }
  .post-body h2 { font-size: 19px; }
  .post-rel-grid { grid-template-columns: minmax(0, 1fr); }
  .post-cta .btn { display: inline-flex; margin-bottom: 8px; }
  .nudge { right: 12px; bottom: 12px; }
  .scene-shot img { height: 180px; }
  .scene-shot figcaption { left: 14px; right: 14px; bottom: 11px; font-size: 12.5px; }
  .beacon { padding: 56px 0; }
  .beacon-line { font-size: 20px; }
  .beacon-note { font-size: 14px; }

  .tut-head h1 { font-size: 26px; }
  .tut-step { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .tut-no { width: 42px; height: 42px; border-radius: 12px; font-size: 16px; }
  .jump-grid { grid-template-columns: minmax(0, 1fr); }
  .beacon.is-lead { padding: 60px 0 64px; }
  .beacon.is-lead h1 { font-size: 27px; }
  .lead-sub { font-size: 14.5px; }
  .avoid-grid { grid-template-columns: minmax(0, 1fr); }
  .dodo-grid { grid-template-columns: minmax(0, 1fr); }
  .about-head h1 { font-size: 26px; }
  .reach-card { padding: 28px 18px; }
  .reach-mail { font-size: 14px; }
}
/* Grid children guard: rail and hero copy must be shrinkable (class audit 2026-08-17) */
.hub-rail{min-width:0}
.sky-copy{min-width:0}
