/* OnceEmail — shared stylesheet
   Visual system: deep navy ink, hot-coral accent, warm near-white paper,
   pastel block cards, chunky pill buttons, oversized bold sans headlines.
   Motion: one easing curve everywhere. */

:root {
  --paper: #fdfbf7;
  --card: #ffffff;
  --cream: #f5f1e9;
  --line: #eae5da;
  --line-soft: #f1ede4;
  --night: #08263a;
  --night-soft: #11405e;
  --ink: #0f2a3c;
  --ink-soft: #51667a;
  --ink-faint: #8ba0b0;
  --flare: #ff5340;
  --flare-deep: #e83c29;
  --flare-tint: #ffe6e0;
  --tint-sky: #ddeffa;
  --tint-sun: #ffeed2;
  --tint-mint: #dcf2e5;
  --tint-rose: #ffe4de;
  --ok: #1e8a5e;
  --warn: #c07a24;
  --err: #d64533;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-data: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.33, 0, .2, 1);
  --r-card: 24px;
  --r-tile: 16px;
  --r-pill: 999px;
  --shadow-soft: 0 24px 60px -30px rgba(8, 38, 58, .30);
  --shadow-lift: 0 12px 30px -16px rgba(8, 38, 58, .28);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.22; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
a { color: var(--flare-deep); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--flare); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid rgba(255, 83, 64, .55); outline-offset: 2px; }

.shell { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ---------- buttons ---------- */

.act {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent; border-radius: var(--r-pill);
  padding: 12px 30px; font-size: 15.5px; font-weight: 700; line-height: 1.4; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
  text-decoration: none;
}
.act:active { transform: translateY(1px); }
.act-solid { background: var(--flare); color: #fff; }
.act-solid:hover { background: var(--flare-deep); color: #fff; box-shadow: var(--shadow-lift); }
.act-rim { background: transparent; color: var(--night); border-color: var(--night); }
.act-rim:hover { background: var(--night); color: #fff; }
.act-bare {
  background: none; border: none; padding: 5px 10px;
  color: var(--ink-soft); font-size: 14px; font-weight: 600; cursor: pointer;
  border-radius: 10px; transition: color .25s var(--ease), background .25s var(--ease);
}
.act-bare:hover { color: var(--night); background: var(--cream); }
.act[disabled] { opacity: .5; pointer-events: none; }

/* ---------- header ---------- */

.crown {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253, 251, 247, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(8, 38, 58, .08);
}
.crown-row { display: flex; align-items: center; gap: 26px; height: 68px; }
.brandline { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brandline img { width: 28px; height: 28px; }
.brandline b { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.crown-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.crown-nav a {
  padding: 8px 16px; border-radius: var(--r-pill); font-size: 15px; font-weight: 600; color: var(--ink);
  white-space: nowrap;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.crown-nav a:hover { color: var(--night); background: var(--cream); }
.crown-nav a.is-here { color: var(--flare-deep); background: var(--flare-tint); }
.crown-nav .crown-cta { margin-left: 8px; padding: 9px 22px; font-size: 14px; color: #fff; }
.crown-nav .crown-cta:hover { color: #fff; background: var(--flare-deep); }
.crown-burger {
  display: none; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 8px; border-radius: 12px;
  transition: background .25s var(--ease);
}
.crown-burger:hover { background: var(--cream); }
.crown-menu { min-width: 200px; }
.crown-menu li[aria-selected="true"] a { background: var(--flare-tint); color: var(--flare-deep); }

/* language picker (custom dropdown, no native select) */
.tongue { position: relative; }
.tongue-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 2px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  white-space: nowrap;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.tongue-btn:hover { border-color: var(--night); color: var(--night); }
.tongue-btn svg { transition: transform .3s var(--ease); }
.tongue-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.tongue-menu {
  position: fixed; z-index: 60; min-width: 168px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-soft); padding: 8px; margin: 0; list-style: none;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.tongue-menu.is-open { opacity: 1; transform: none; }
.tongue-menu li a, .tongue-menu li span, .tongue-menu li button {
  display: block; width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; padding: 9px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
.tongue-menu li a:hover, .tongue-menu li a:focus,
.tongue-menu li button:hover, .tongue-menu li button:focus,
.tongue-menu li[aria-selected="true"] a,
.tongue-menu li[aria-selected="true"] button { background: var(--flare-tint); color: var(--flare-deep); outline: none; }

/* ---------- hero ---------- */

.arrival { padding-top: 64px; padding-bottom: 48px; text-align: center; }
.arrival h1 { font-size: 54px; }
.arrival-sub {
  max-width: 620px; margin: 18px auto 0;
  color: var(--ink-soft); font-size: 17.5px;
}

/* studio: one monolithic console card hosting both product modules */
.studio {
  max-width: 940px; margin: 44px auto 0; text-align: left;
  background: var(--card); border-radius: 32px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* mode switch: full-width folder tabs on top of the studio card */
.mode-switch {
  display: flex;
  background: var(--cream);
  box-shadow: inset 0 -1px 0 var(--line);
}
.mode-tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px;
  border: none; background: transparent; cursor: pointer;
  color: var(--ink-soft); padding: 21px 24px; border-radius: 0;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.mode-tab svg { flex-shrink: 0; color: var(--ink-faint); transition: color .3s var(--ease); }
.mode-tab:hover { color: var(--night); background: var(--line-soft); }
.mode-tab .tab-txt { text-align: left; min-width: 0; }
.mode-tab .tab-txt b { display: block; font-size: 17px; line-height: 1.3; font-weight: 800; }
.mode-tab .tab-txt span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--ink-faint); transition: color .3s var(--ease); }
.mode-tab.is-live { background: var(--card); color: var(--night); box-shadow: inset 0 -3px 0 var(--flare); }
.mode-tab.is-live:hover { background: var(--card); color: var(--night); }
.mode-tab.is-live svg { color: var(--flare); }
.mode-tab.is-live .tab-txt b { color: var(--flare-deep); }
.mode-tab.is-live .tab-txt span { color: var(--ink-soft); }
.mode-tab:focus-visible { outline-offset: -4px; }

.mode-pane.is-live { animation: oe-panein .45s var(--ease); }
@keyframes oe-panein {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- forwarding module: passwordless gate ---------- */

.gate-card {
  max-width: 800px; margin: 0 auto; text-align: left;
  padding: 60px 48px 66px;
}
.gate-card h2 { font-size: 27px; }
.gate-lead { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.gate-row { margin-top: 26px; display: flex; gap: 12px; }
.gate-row input {
  flex: 1; min-width: 0;
  border: 2px solid var(--line); border-radius: 16px;
  padding: 14px 18px; font-size: 15.5px; font-family: inherit;
  background: var(--paper); color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.gate-row input:focus { outline: none; border-color: var(--night); background: #fff; }
.gate-row input.is-code {
  font-family: var(--font-data); font-size: 20px;
  letter-spacing: .35em; text-align: left;
}
.gate-row input.is-code::placeholder {
  letter-spacing: normal;
}
.gate-hint { margin-top: 14px; font-size: 12.5px; color: var(--ink-faint); }
.gate-aux { margin-top: 16px; display: flex; gap: 16px; flex-wrap: wrap; }
.gate-warn {
  margin-top: 14px; font-size: 13px; color: var(--err);
  background: var(--tint-rose); border-radius: 14px; padding: 10px 16px;
}

/* ---------- forwarding module: console ---------- */

.desk { text-align: left; display: grid; gap: 18px; padding: 26px 26px 30px; }
.desk-brow {
  background: var(--night); color: #fff;
  border-radius: 20px;
  padding: 20px 28px; display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap;
}
.desk-brow b { font-family: var(--font-data); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.desk-quota {
  font-size: 12.5px; font-weight: 700; color: var(--night); background: var(--tint-sun);
  border-radius: var(--r-pill); padding: 3px 14px; font-variant-numeric: tabular-nums;
}
.desk-brow-acts { margin-left: auto; display: flex; gap: 4px; }
.desk-brow .act-bare { color: rgba(255, 255, 255, .75); }
.desk-brow .act-bare:hover { color: #fff; background: var(--night-soft); }
.desk-zone {
  background: var(--paper);
  border-radius: 20px; padding: 28px 26px;
}
.desk-zone > h3 {
  margin: 0; font-size: 18px; font-weight: 800;
  display: flex; align-items: baseline; gap: 10px;
}
.desk-sub { font-size: 12.5px; color: var(--ink-faint); font-weight: 400; }

/* alias creation */
.desk-make { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.desk-make-field {
  flex: 1; min-width: 220px; display: flex; align-items: center;
  border: 2px solid var(--line); border-radius: 14px;
  background: var(--card); padding-right: 14px;
  transition: border-color .25s var(--ease);
}
.desk-make-field:focus-within { border-color: var(--night); }
.desk-make-field input {
  flex: 1; min-width: 0; border: none; background: none;
  padding: 12px 4px 12px 16px; font-size: 14.5px;
  font-family: var(--font-data); color: var(--ink);
}
.desk-make-field input:focus { outline: none; }
.desk-make-suffix { font-family: var(--font-data); font-size: 13px; color: var(--ink-faint); }
.field-note { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--err); }
.field-note:empty { display: none; }

/* alias list */
.alias-list { margin-top: 18px; display: grid; gap: 10px; }
.alias-row {
  background: var(--card); border-radius: var(--r-tile); padding: 15px 18px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center;
  transition: background .25s var(--ease);
}
.alias-row:hover { background: var(--cream); }
.alias-addr { font-family: var(--font-data); font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.alias-meta { grid-column: 1; font-size: 12.5px; color: var(--ink-faint); display: flex; gap: 12px; flex-wrap: wrap; }
.alias-state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.alias-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.alias-row.is-off .alias-state::before { background: var(--ink-faint); }
.alias-row.is-off .alias-addr { color: var(--ink-faint); }
.alias-acts { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 2px; }

/* archive */
.desk-filters { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.desk-filters .is-risky { margin-left: auto; }
.arch-list { margin-top: 16px; display: grid; gap: 8px; }
.arch-row {
  width: 100%; text-align: left; background: var(--card); font-family: inherit;
  border: none; border-radius: var(--r-tile); padding: 13px 16px; cursor: pointer;
  display: grid; grid-template-columns: minmax(72px, max-content) minmax(0, 1fr) auto;
  gap: 4px 12px; align-items: center;
  transition: background .25s var(--ease);
}
.arch-row:hover { background: var(--cream); }
.arch-tag { justify-self: start; font-size: 11.5px; font-weight: 700; border-radius: var(--r-pill); padding: 2px 11px; white-space: nowrap; }
.tag-fwd { background: var(--tint-mint); color: var(--ok); }
.tag-spam { background: var(--tint-sun); color: #9a6118; }
.tag-fail { background: var(--tint-rose); color: var(--err); }
.tag-wait { background: var(--tint-sky); color: var(--night-soft); }
.arch-who {
  display: block; font-size: 13.5px; font-weight: 700; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.arch-when { font-size: 12px; color: var(--ink-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.arch-line { grid-column: 1 / 4; display: flex; gap: 10px; min-width: 0; font-size: 13px; color: var(--ink-soft); }
.arch-topic { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arch-alias { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-data); font-size: 11.5px; color: var(--ink-faint); }
.arch-days { flex-shrink: 0; margin-left: auto; font-size: 11.5px; color: var(--ink-faint); }
.alias-empty, .arch-empty {
  margin-top: 16px; padding: 24px; text-align: center;
  font-size: 13.5px; color: var(--ink-faint);
  background: var(--card); border-radius: var(--r-tile);
}
.arch-foot { margin-top: 12px; text-align: center; }

/* pickbox trigger (panel reuses .tongue-menu) */
.pickbox-btn {
  display: inline-flex; align-items: center; gap: 8px; max-width: 240px;
  border: 2px solid var(--line); background: var(--card);
  border-radius: var(--r-pill); padding: 8px 16px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.pickbox-btn:hover { border-color: var(--night); color: var(--night); }
.pickbox-btn .pb-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* wide sheet modal (archive detail, 2FA) */
.oe-sheet {
  background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-soft);
  width: 100%; max-width: 680px; max-height: 86vh;
  display: flex; flex-direction: column;
  transform: translateY(14px) scale(.98); transition: transform .3s var(--ease);
}
.oe-veil.is-on .oe-sheet { transform: none; }
.oe-sheet-head {
  padding: 22px 28px 14px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: flex-start; gap: 12px;
}
.oe-sheet-head h3 { margin: 0; flex: 1; min-width: 0; font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.oe-sheet-x { background: none; border: none; cursor: pointer; color: var(--ink-faint); padding: 4px 6px; border-radius: 10px; line-height: 1; }
.oe-sheet-x:hover { background: var(--cream); color: var(--ink); }
.oe-sheet-body { padding: 18px 28px; overflow: auto; min-height: 0; }
.oe-sheet-foot {
  padding: 14px 28px 18px; border-top: 1px solid var(--line-soft);
  display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
}
.oe-sheet-foot .is-risky:hover { color: var(--err); background: var(--tint-rose); }
.sheet-meta { display: grid; gap: 4px; font-size: 13px; color: var(--ink-soft); }
.sheet-meta .addr-bit { font-family: var(--font-data); font-size: 12.5px; overflow-wrap: anywhere; }
.spam-brief {
  margin-top: 12px; font-size: 13px; color: #9a6118;
  background: var(--tint-sun); border-radius: 14px; padding: 10px 16px;
}
.att-list { margin-top: 14px; display: grid; gap: 8px; }
.att-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border-radius: 12px; padding: 9px 14px; font-size: 13px;
}
.att-item .att-size { color: var(--ink-faint); font-size: 12px; }
.att-item .act-bare { margin-left: auto; }

/* 2FA sheet */
.twofa-wrap { display: grid; gap: 14px; }
.twofa-qr { width: 168px; height: 168px; border: 2px solid var(--line); border-radius: 16px; justify-self: center; }
.twofa-secret {
  font-family: var(--font-data); font-size: 13px;
  background: var(--paper); border: 2px dashed var(--line);
  border-radius: 12px; padding: 10px 14px; overflow-wrap: anywhere;
}
.twofa-steps { margin: 0; padding-left: 20px; font-size: 13.5px; color: var(--ink-soft); display: grid; gap: 6px; }

/* postmark: the navy address band inside the studio card */
.postmark { background: var(--night); padding: 34px 44px 28px; }
.handle { display: flex; align-items: center; gap: 22px; }
.handle-addr {
  flex: 1; min-width: 0; text-align: left;
  font-family: var(--font-data); font-size: 22px; font-weight: 600; color: #fff;
  overflow-wrap: anywhere; line-height: 1.45;
}
.handle-addr.is-loading { color: rgba(255, 255, 255, .55); font-weight: 400; animation: oe-breathe 1.6s var(--ease) infinite; }
@keyframes oe-breathe { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.handle .act-solid { flex-shrink: 0; padding: 14px 34px; font-size: 16px; }

.handle-meta {
  margin-top: 20px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px;
  font-size: 13.5px; color: rgba(255, 255, 255, .5);
}
.clock-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-data); font-variant-numeric: tabular-nums;
  color: #fff; background: rgba(255, 255, 255, .13); border-radius: var(--r-pill);
  padding: 5px 15px; font-weight: 600;
}
.clock-chip svg { color: var(--flare); }
.handle-meta .split { color: rgba(255, 255, 255, .25); }
.postmark .act-bare { color: rgba(255, 255, 255, .72); }
.postmark .act-bare:hover { color: #fff; background: rgba(255, 255, 255, .12); }

/* ---------- inbox (lives inside the studio card) ---------- */

.postbox { background: var(--card); }
.postbox-brow {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 44px; border-bottom: 1px solid var(--line-soft);
}
.postbox-brow h2 { font-size: 18px; font-weight: 800; }
.tally {
  font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--night); color: #fff;
  border-radius: var(--r-pill); padding: 2px 11px;
}
.pulse-note {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--ink-faint);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flare); animation: oe-pulse 2.4s var(--ease) infinite; }
@keyframes oe-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 83, 64, .4); } 55% { box-shadow: 0 0 0 6px rgba(255, 83, 64, 0); } }

.mail-row { border-bottom: 1px solid var(--line-soft); }
.mail-row:last-child { border-bottom: none; }
.mail-face {
  width: 100%; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 4px 12px;
  align-items: center; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 16px 44px; transition: background .25s var(--ease);
}
.mail-face:hover { background: var(--cream); }
.mail-seal { width: 9px; height: 9px; border-radius: 50%; background: var(--flare); justify-self: start; }
.mail-row.is-read .mail-seal { background: var(--line); }
.mail-who {
  display: block; font-size: 14.5px; font-weight: 700; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mail-row.is-read .mail-who { font-weight: 400; color: var(--ink-soft); }
.mail-when { font-size: 12.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mail-line {
  grid-column: 2 / 4; display: flex; align-items: center; gap: 8px; min-width: 0;
  font-size: 14px; color: var(--ink-soft);
}
.mail-line .mail-topic {
  display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mail-clip { flex-shrink: 0; color: var(--ink-faint); }
.demo-tag {
  flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--flare-deep); background: var(--flare-tint);
  border-radius: var(--r-pill); padding: 1px 10px;
}

/* expandable reading card */
.mail-fold {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.mail-row.is-open .mail-fold { grid-template-rows: 1fr; }
.mail-fold > div { overflow: hidden; min-height: 0; }
.mail-open { padding: 18px 44px 26px; }
.mail-open-head {
  border-radius: 14px;
  background: var(--paper); padding: 13px 17px; font-size: 13px; color: var(--ink-soft);
  display: grid; gap: 3px;
}
.mail-open-head b { color: var(--ink); font-size: 14.5px; }
.mail-open-head .addr-bit { font-family: var(--font-data); font-size: 12.5px; overflow-wrap: anywhere; }
.mail-body-frame { width: 100%; border: none; margin-top: 14px; border-radius: 12px; background: #fff; min-height: 80px; }
.mail-body-text { margin-top: 14px; white-space: pre-wrap; font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }
.clip-note {
  margin-top: 14px; display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: #9a6118;
  background: var(--tint-sun); border-radius: 14px; padding: 10px 16px;
}
.clip-note a { color: var(--flare-deep); text-decoration: underline; }
.demo-note {
  margin-top: 14px; font-size: 12.5px; color: var(--ink-faint);
  border-top: 1px dashed var(--line); padding-top: 10px;
}
.mail-open-acts { margin-top: 14px; display: flex; gap: 10px; justify-content: flex-end; }
.mail-open-acts .act-bare.is-risky:hover { color: var(--err); background: var(--tint-rose); }

.postbox-empty { padding: 24px 44px 20px; text-align: center; color: var(--ink-faint); font-size: 14px; }

/* ---------- marketing sections ---------- */

.stretch { padding: 110px 0 0; }
.stretch:last-of-type { padding-bottom: 110px; }
.stretch-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.stretch-head h2 { font-size: 36px; }
.stretch-head p { margin-top: 16px; color: var(--ink-soft); font-size: 17px; }

/* stat band: four pastel tiles */
.figures {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.figures > div { border-radius: var(--r-card); padding: 36px 22px; text-align: center; }
.figures > div:nth-child(1) { background: var(--tint-sky); }
.figures > div:nth-child(2) { background: var(--tint-sun); }
.figures > div:nth-child(3) { background: var(--tint-rose); }
.figures > div:nth-child(4) { background: var(--tint-mint); }
.figures b {
  display: block; font-family: var(--font-display); font-size: 36px; font-weight: 800;
  color: var(--night); font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.figures span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); }

/* numbered steps */
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.path article {
  background: var(--cream); border-radius: var(--r-card);
  padding: 36px 32px; position: relative;
  transition: transform .35s var(--ease);
}
.path article:hover { transform: translateY(-5px); }
.path i {
  font-style: normal; font-family: var(--font-display); font-size: 16px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--flare); color: #fff;
}
.path h3 { margin-top: 20px; font-size: 20px; }
.path p { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }

/* feature grid */
.grace { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grace article {
  background: var(--card); border-radius: var(--r-card);
  box-shadow: var(--shadow-lift);
  padding: 32px 30px;
  transition: transform .35s var(--ease);
}
.grace article:hover { transform: translateY(-5px); }
.grace .glyph {
  width: 48px; height: 48px; border-radius: 15px;
  background: var(--tint-sky); color: var(--night);
  display: inline-flex; align-items: center; justify-content: center;
}
.grace article:nth-child(3n+2) .glyph { background: var(--tint-sun); }
.grace article:nth-child(3n) .glyph { background: var(--tint-rose); }
.grace h3 { margin-top: 18px; font-size: 18.5px; }
.grace p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }

/* forwarding intro: full navy panel */
.relay-intro {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center;
  background: var(--night); border-radius: 32px; padding: 64px;
  color: #fff;
}
.relay-copy h2 { font-size: 34px; color: #fff; }
.relay-copy > p { margin-top: 18px; color: rgba(255, 255, 255, .72); }
.relay-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.relay-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255, 255, 255, .92); }
.relay-points svg { flex-shrink: 0; margin-top: 4px; color: var(--flare); }
.relay-copy .act { margin-top: 34px; }
.relay-intro .act-rim { color: #fff; border-color: rgba(255, 255, 255, .85); }
.relay-intro .act-rim:hover { background: #fff; color: var(--night); border-color: #fff; }
.relay-still { position: relative; }
.relay-still img {
  width: 100%; border-radius: 22px;
  filter: saturate(.9);
}
.relay-still::after {
  content: ""; position: absolute; inset: 0; border-radius: 22px;
  background: linear-gradient(160deg, rgba(8, 38, 58, .34), rgba(8, 38, 58, 0) 60%);
  pointer-events: none;
}

/* scenario picker */
.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pick article {
  border-radius: var(--r-card); padding: 42px 38px;
  background: var(--tint-sun);
  transition: transform .35s var(--ease);
}
.pick article:hover { transform: translateY(-5px); }
.pick article.is-tinted { background: var(--tint-sky); }
.pick .pick-kind {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--night); background: rgba(255, 255, 255, .72);
  border-radius: var(--r-pill); padding: 3px 14px;
}
.pick h3 { margin-top: 14px; font-size: 22px; }
.pick ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pick li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.pick li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--flare); margin-top: 9px; }
.pick .act { margin-top: 28px; }
.pick .act-rim:hover { background: var(--night); color: #fff; }

/* FAQ accordion */
.qa { max-width: 740px; margin: 0 auto; display: grid; gap: 12px; }
.qa-item { background: var(--cream); border-radius: 20px; transition: background .3s var(--ease); }
.qa-item.is-open { background: var(--card); box-shadow: var(--shadow-lift); }
.qa-item > button {
  width: 100%; display: flex; align-items: center; gap: 14px;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 22px 26px; font-size: 16.5px; font-weight: 700; color: var(--ink);
}
.qa-item > button svg { margin-left: auto; flex-shrink: 0; color: var(--flare-deep); transition: transform .35s var(--ease); }
.qa-item.is-open > button svg { transform: rotate(45deg); }
.qa-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qa-item.is-open .qa-fold { grid-template-rows: 1fr; }
.qa-fold > div { overflow: hidden; min-height: 0; }
.qa-fold p { padding: 0 26px 24px; font-size: 14.5px; color: var(--ink-soft); }

/* closing CTA: coral banner */
.coda {
  text-align: center; background: var(--flare);
  border-radius: 32px; padding: 76px 34px; color: #fff;
}
.coda h2 { font-size: 34px; color: #fff; }
.coda p { margin: 16px auto 0; max-width: 500px; color: rgba(255, 255, 255, .88); }
.coda .act { margin-top: 32px; }
.coda .act-solid { background: #fff; color: var(--flare-deep); }
.coda .act-solid:hover { background: var(--cream); color: var(--flare-deep); box-shadow: var(--shadow-lift); }

/* ---------- footer: navy ---------- */

.ground { margin-top: 110px; background: var(--night); color: rgba(255, 255, 255, .78); }
.ground-grid {
  display: grid; grid-template-columns: minmax(0, 4.4fr) repeat(3, minmax(0, 2.2fr));
  gap: 44px; padding: 68px 0 52px;
}
.ground .brandline { color: #fff; }
.ground-brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, .6); max-width: 320px; }
.ground-mail {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-pill);
  font-family: var(--font-data); font-size: 13px; color: rgba(255, 255, 255, .85);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.ground-mail:hover { border-color: var(--flare); color: var(--flare); }
.ground-mail svg { flex-shrink: 0; opacity: .7; }
.ground h4 { margin: 0 0 16px; font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .45); text-transform: uppercase; font-weight: 700; }
.ground ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.ground ul a { font-size: 14px; color: rgba(255, 255, 255, .78); }
.ground ul a:hover { color: var(--flare); }
.ground-base {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 28px;
  font-size: 12.5px; color: rgba(255, 255, 255, .45);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
}
.ground-langs { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ground-langs a { font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.ground-langs a:hover { color: var(--flare); }
.ground-langs a[aria-current="true"] { color: #fff; }

/* ---------- toast & dialog ---------- */

.oe-toasts { position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 90; display: grid; gap: 10px; }
.oe-toast {
  background: var(--night); color: #fff; font-size: 14px; font-weight: 600;
  border-radius: var(--r-pill); padding: 12px 26px; box-shadow: var(--shadow-lift);
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.oe-toast.is-on { opacity: 1; transform: none; }
.oe-toast.is-err { background: var(--err); }

.oe-veil {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8, 38, 58, .5);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.oe-veil.is-on { opacity: 1; }
.oe-ask {
  background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-soft);
  max-width: 390px; width: 100%; padding: 32px 32px 26px;
  transform: translateY(14px) scale(.98); transition: transform .3s var(--ease);
}
.oe-veil.is-on .oe-ask { transform: none; }
.oe-ask h3 { font-size: 19px; font-weight: 800; }
.oe-ask p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.oe-ask-acts { margin-top: 26px; display: flex; justify-content: flex-end; gap: 10px; }
.oe-ask-acts .is-risky { background: var(--err); }
.oe-ask-acts .is-risky:hover { background: #b53424; }

/* ---------- reveal on scroll ---------- */

.rise { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }

/* ---------- guide page ---------- */

.primer { padding: 72px 28px 10px; text-align: center; }
.primer-kicker {
  display: inline-block; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--flare-tint); color: var(--flare-deep);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.primer h1 { margin-top: 18px; font-size: 42px; letter-spacing: -.01em; }
.primer-lead { margin: 18px auto 0; max-width: 640px; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.primer-facts { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.primer-facts li {
  padding: 7px 15px; border-radius: var(--r-pill); background: var(--cream);
  color: var(--ink); font-size: 13.5px; font-weight: 600;
}
.primer-jump { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: left; }
.primer-jump a {
  display: block; padding: 24px 26px; border-radius: var(--r-card);
  background: var(--night); color: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.primer-jump a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: #fff; }
.primer-jump a:last-child { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.primer-jump a:last-child:hover { color: var(--ink); }
.jump-no { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--flare); }
.primer-jump b { display: block; margin-top: 8px; font-size: 18.5px; letter-spacing: -.01em; }
.jump-sub { display: block; margin-top: 8px; font-size: 13.5px; opacity: .72; }

.trail { margin: 0 auto; padding: 0; max-width: 720px; list-style: none; }
.trail-step { position: relative; display: flex; gap: 24px; padding-bottom: 40px; }
.trail-step:last-child { padding-bottom: 0; }
.trail-step::before {
  content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px;
  width: 2px; background: var(--line); border-radius: 1px;
}
.trail-step:last-child::before { display: none; }
.trail-no {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 43px; height: 43px; border-radius: 50%;
  background: var(--night); color: #fff; font-size: 17px; font-weight: 800;
}
.trail-body h3 { font-size: 20px; padding-top: 8px; }
.trail-body > p { margin-top: 10px; color: var(--ink-soft); line-height: 1.75; }
.trail-body a { color: var(--flare-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.trail-body a:hover { color: var(--flare); }
.trail-tip {
  display: inline-block; margin-top: 12px; padding: 9px 14px;
  border-radius: var(--r-tile); background: var(--tint-sky);
  color: var(--ink); font-size: 13.5px; line-height: 1.6;
}

.kit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kit article { padding: 26px 22px; border-radius: var(--r-card); }
.kit .is-sky { background: var(--tint-sky); }
.kit .is-sun { background: var(--tint-sun); }
.kit .is-mint { background: var(--tint-mint); }
.kit .is-rose { background: var(--tint-rose); }
.kit h3 { font-size: 16.5px; }
.kit p { margin-top: 10px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }

.sift {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px;
  align-items: center; padding: 44px; border-radius: 28px; background: var(--cream);
}
.sift-still { margin: 0; }
.sift-still img { display: block; width: 100%; height: auto; border-radius: var(--r-card); }
.sift-copy h2 { font-size: 28px; }
.sift-copy ol { margin: 20px 0 0; padding: 0 0 0 20px; }
.sift-copy li { margin-top: 14px; color: var(--ink-soft); line-height: 1.75; }
.sift-copy li::marker { color: var(--flare-deep); font-weight: 800; }
.sift-copy b { color: var(--ink); }

.lane { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lane article {
  position: relative; padding: 28px 26px 26px; border-radius: var(--r-card);
  background: var(--card); border: 1px solid var(--line);
}
.lane-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 12px;
  background: var(--flare-tint); color: var(--flare-deep); font-size: 15px; font-weight: 800;
}
.lane h3 { margin-top: 14px; font-size: 18px; }
.lane p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.75; }
.lane a { color: var(--flare-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lane a:hover { color: var(--flare); }

.weigh { max-width: 860px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--card); }
.weigh-row { display: grid; grid-template-columns: 150px repeat(2, minmax(0, 1fr)); }
.weigh-row + .weigh-row { border-top: 1px solid var(--line-soft); }
.weigh-row > span { padding: 16px 20px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.weigh-row > span:first-child { background: var(--cream); color: var(--ink); font-weight: 700; font-size: 13.5px; }
.weigh-head { background: var(--night); }
.weigh-head > span, .weigh-head > span:first-child { background: transparent; color: #fff; font-weight: 800; font-size: 14px; }

.coda-acts { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.coda-acts .act { margin-top: 0; }
.act-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.act-ghost:hover { background: #fff; color: var(--flare-deep); border-color: #fff; }

/* ---------- limits page ---------- */

.gauge { padding-top: 72px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 52px; align-items: center; }
.gauge-kicker { font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--flare-deep); }
.gauge h1 { margin-top: 12px; font-size: 40px; }
.gauge-lead { margin-top: 18px; color: var(--ink-soft); font-size: 16.5px; }
.gauge-note { margin-top: 16px; font-size: 14px; color: var(--ink-faint); }
.gauge-copy a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gauge-card {
  background: var(--night); border-radius: var(--r-card);
  padding: 26px 30px 16px; color: #fff; box-shadow: var(--shadow-soft);
}
.gauge-card-title { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; color: rgba(255, 255, 255, .5); }
.gauge-facts { margin: 6px 0 0; padding: 0; list-style: none; }
.gauge-facts li { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; }
.gauge-facts li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.gauge-facts b {
  flex-shrink: 0; min-width: 96px;
  font-family: var(--font-data); font-size: 19px; font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--flare);
}
.gauge-facts span { font-size: 13px; color: rgba(255, 255, 255, .72); }

.lifeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.lifeline::before {
  content: ""; position: absolute; top: 9px; left: 8px; right: 8px;
  height: 3px; border-radius: 2px; background: var(--line);
}
.lifeline article { position: relative; padding-top: 40px; }
.lifeline article::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--night); box-shadow: 0 0 0 5px var(--paper);
}
.lifeline article:last-child::before { background: var(--flare); }
.life-when {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .05em;
  color: var(--flare-deep); background: var(--flare-tint);
  border-radius: var(--r-pill); padding: 2px 11px;
}
.lifeline h3 { margin-top: 12px; font-size: 17.5px; }
.lifeline p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.life-note {
  margin-top: 44px; padding: 16px 22px; border-radius: var(--r-tile);
  background: var(--tint-sky); font-size: 14px; color: var(--ink); line-height: 1.7;
}
.life-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.freight { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }
.freight-once { background: var(--night); border-radius: var(--r-card); padding: 36px 34px; }
.freight-once h3 { color: #fff; font-size: 21px; }
.freight-once p { margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .75); line-height: 1.75; }
.freight-once a { color: var(--flare); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.freight-tiers { display: grid; gap: 14px; }
.freight-tiers article { border-radius: var(--r-card); padding: 22px 28px; display: flex; gap: 22px; align-items: center; }
.freight-tiers .is-keep { background: var(--tint-mint); }
.freight-tiers .is-pass { background: var(--tint-sun); }
.freight-tiers .is-stop { background: var(--tint-rose); }
.tier-mb {
  flex-shrink: 0; min-width: 106px;
  font-family: var(--font-data); font-size: 18px; font-weight: 700;
  color: var(--night); font-variant-numeric: tabular-nums;
}
.freight-tiers h3 { font-size: 16px; }
.freight-tiers p { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }

.canon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.canon article { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-lift); padding: 32px 30px; }
.canon h3 { font-size: 19px; }
.canon ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.canon li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.canon .mark {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
}
.canon-do .mark { background: var(--tint-mint); color: var(--ok); }
.canon-dont .mark { background: var(--tint-rose); color: var(--err); }

.states { margin-top: 20px; background: var(--cream); border-radius: var(--r-card); padding: 28px 30px; }
.states h3 { font-size: 17px; }
.states ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.states .arch-tag { display: inline-block; }
.states li p { margin-top: 9px; font-size: 13px; color: var(--ink-soft); line-height: 1.65; }

.roster { max-width: 920px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.roster table { width: 100%; border-collapse: collapse; font-size: 14px; }
.roster th, .roster td { text-align: left; vertical-align: top; padding: 13px 22px; border-top: 1px solid var(--line-soft); line-height: 1.65; }
.roster thead th { background: var(--night); color: #fff; border-top: none; font-size: 13.5px; font-weight: 800; }
.roster .roster-group th {
  background: var(--cream); color: var(--night);
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em; padding: 9px 22px;
}
.roster tbody th { width: 148px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.roster .roster-rule { width: 236px; font-weight: 700; color: var(--night); font-variant-numeric: tabular-nums; }
.roster td:last-child { color: var(--ink-soft); }

.heed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.heed article { border-radius: var(--r-card); padding: 30px 28px; }
.heed .is-rose { background: var(--tint-rose); }
.heed .is-sun { background: var(--tint-sun); }
.heed .is-sky { background: var(--tint-sky); }
.heed h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.heed h3 svg { flex-shrink: 0; color: var(--night); }
.heed p { margin-top: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.75; }

/* ---------- faq page ---------- */

.counsel { padding-top: 72px; }
.counsel-kicker { font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--flare-deep); }
.counsel h1 { margin-top: 12px; font-size: 40px; max-width: 820px; }
.counsel-lead { margin-top: 18px; max-width: 680px; color: var(--ink-soft); font-size: 16.5px; }
.counsel-doors { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.door {
  display: block; padding: 24px 22px; border-radius: var(--r-card); color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: var(--ink); }
.door.is-sky { background: var(--tint-sky); }
.door.is-mint { background: var(--tint-mint); }
.door.is-sun { background: var(--tint-sun); }
.door.is-rose { background: var(--tint-rose); }
.door svg { color: var(--night); }
.door b { display: block; margin-top: 14px; font-family: var(--font-display); font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.door span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }

.qa-atlas {
  margin-top: 84px;
  display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: 56px; align-items: start;
}
.atlas-rail { position: sticky; top: 92px; border-left: 3px solid var(--line); padding-left: 20px; }
.rail-title { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--ink-faint); }
.atlas-rail ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.atlas-rail ul a { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.atlas-rail ul a:hover { color: var(--flare-deep); }
.rail-note { margin-top: 26px; font-size: 12.5px; color: var(--ink-faint); line-height: 1.8; }
.rail-note a { font-family: var(--font-data); font-size: 12px; }

.atlas-group { scroll-margin-top: 92px; }
.atlas-group + .atlas-group { margin-top: 72px; }
.atlas-group h2 { font-size: 26px; }
.atlas-sub { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }
.atlas-sub a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.atlas-group .qa { max-width: none; margin-top: 24px; }
.qa-fold p a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.lifebelt {
  background: var(--night); border-radius: 32px; padding: 64px 60px; color: #fff;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center;
}
.lifebelt h2 { font-size: 30px; color: #fff; }
.lifebelt p { margin-top: 14px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.lifebelt-acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

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

/* ---------- responsive (keep at end of file) ---------- */

@media (max-width: 900px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .path, .grace { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .relay-intro { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 44px 32px; }
  .pick { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ground-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
  .ground-brand { grid-column: 1 / -1; }
  .stretch { padding-top: 78px; }
  .stretch:last-of-type { padding-bottom: 78px; }
  .stretch-head { margin-bottom: 38px; }
  .arrival h1 { font-size: 40px; }
  .stretch-head h2 { font-size: 30px; }
  .postmark { padding: 26px 28px 22px; }
  .handle-addr { font-size: 18px; }
  .postbox-brow { padding: 16px 28px; }
  .mail-face { padding: 15px 28px; }
  .mail-open { padding: 14px 28px 18px; }
  .postbox-empty { padding: 24px 28px 8px; }
  .gate-card { padding: 44px 32px 50px; }

  .primer h1 { font-size: 33px; }
  .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sift { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px; }
  .lane { grid-template-columns: minmax(0, 1fr); }

  .gauge { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 52px; }
  .gauge h1 { font-size: 32px; }
  .lifeline { grid-template-columns: minmax(0, 1fr); gap: 30px 0; max-width: 600px; margin: 0 auto; }
  .lifeline::before { top: 8px; bottom: 8px; left: 9px; width: 3px; height: auto; right: auto; }
  .lifeline article { padding: 0 0 0 42px; }
  .lifeline article::before { top: 2px; }
  .life-note { margin-top: 34px; }
  .freight { grid-template-columns: minmax(0, 1fr); }
  .canon { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .states ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heed { grid-template-columns: minmax(0, 1fr); gap: 16px; }

  .counsel { padding-top: 52px; }
  .counsel h1 { font-size: 32px; }
  .counsel-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa-atlas { margin-top: 64px; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .atlas-rail { display: none; }
  .lifebelt { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 44px 32px; }
  .lifebelt-acts { justify-content: flex-start; }
}

/* Wide tables: scroll cue hidden on desktop */
.table-scroll-cue { display: none; }

@media (max-width: 760px) {
  /* page links and the CTA collapse behind the burger; language stays visible */
  .crown-nav > a { display: none; }
  .crown-burger { display: inline-flex; }

  .table-scroll-cue {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 0 0 14px; padding: 9px 16px;
    font-size: 12.5px; font-weight: 600; color: var(--ink-faint);
    background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--r-pill);
  }
  .table-scroll-cue svg { flex-shrink: 0; opacity: .7; color: var(--ink-soft); }

  .roster table { min-width: 620px; }
  .retain-table { min-width: 580px; }
}

@media (max-width: 640px) {
  .shell { padding: 0 18px; }
  .crown-row { height: 58px; gap: 12px; }
  .crown-nav { gap: 2px; }
  .crown-nav a { padding: 6px 11px; font-size: 13.5px; }
  .brandline b { font-size: 18px; }
  .brandline img { width: 24px; height: 24px; }

  /* compact hero so inbox rows stay above the fold */
  .arrival { padding-top: 22px; padding-bottom: 44px; }
  .arrival h1 { font-size: 27px; }
  .arrival-sub { margin-top: 10px; font-size: 14px; }
  .studio { margin-top: 16px; border-radius: 20px; }
  .mode-tab { padding: 11px 8px; gap: 8px; }
  .mode-tab svg { width: 15px; height: 15px; }
  .mode-tab .tab-txt b { font-size: 13.5px; }
  .mode-tab .tab-txt span { font-size: 10.5px; margin-top: 1px; }
  .gate-card { padding: 28px 18px 34px; }
  .gate-card h2 { font-size: 20px; }
  .gate-row { flex-direction: column; }
  .desk { padding: 14px 12px 18px; gap: 12px; }
  .desk-brow { padding: 16px 18px; }
  .desk-zone { padding: 20px 14px; }
  .desk-make { flex-direction: column; }
  .desk-make-field { min-width: 0; }
  .alias-row { grid-template-columns: minmax(0, 1fr); }
  .alias-acts { grid-column: 1; grid-row: auto; flex-wrap: wrap; }
  .desk-filters .is-risky { margin-left: 0; }
  .oe-sheet { max-height: 92vh; }
  .oe-sheet-head { padding: 16px 16px 12px; }
  .oe-sheet-body { padding: 14px 16px; }
  .oe-sheet-foot { padding: 12px 16px 14px; }
  .postmark { padding: 16px 16px 14px; }
  .handle { gap: 12px; }
  .handle-addr { font-size: 14.5px; }
  .handle .act-solid { padding: 10px 18px; font-size: 14px; }
  .handle-meta { margin-top: 12px; font-size: 12.5px; gap: 4px 10px; }
  .handle-meta .split { display: none; }
  .postbox-brow { padding: 13px 16px; }
  .mail-face { padding: 13px 16px; }
  .mail-open { padding: 12px 16px 16px; }
  .postbox-empty { padding: 22px 16px 6px; }

  .arrival h1 br { display: none; }
  .stretch { padding-bottom: 32px; }
  .stretch:last-of-type { padding-bottom: 64px; }
  .stretch-head { margin-bottom: 28px; }
  .stretch-head h2, .relay-copy h2 { font-size: 24px; }
  .relay-intro { padding: 36px 22px; border-radius: 24px; }
  .figures > div { padding: 26px 16px; }
  .figures b { font-size: 27px; }
  .coda { padding: 54px 22px; border-radius: 24px; margin: 0 18px; }
  .coda h2 { font-size: 26px; }
  .ground { margin-top: 78px; }
  .ground-grid { padding: 46px 0 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .ground-langs { margin-left: 0; }

  .primer { padding-top: 44px; padding-bottom: 40px; }
  .primer h1 { font-size: 26px; }
  .primer-lead { font-size: 15px; }
  .primer-jump { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .trail-step { gap: 16px; padding-bottom: 32px; }
  .trail-no { width: 36px; height: 36px; font-size: 15px; }
  .trail-step::before { left: 17px; top: 40px; }
  .trail-body h3 { font-size: 17.5px; padding-top: 5px; }
  .kit { grid-template-columns: minmax(0, 1fr); }
  .sift { padding: 22px 18px; border-radius: 22px; }
  .sift-copy h2 { font-size: 23px; }
  .weigh { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .weigh-row { grid-template-columns: 104px repeat(2, minmax(168px, 1fr)); min-width: 560px; }
  .weigh-row > span { padding: 12px 14px; font-size: 13.5px; }

  .gauge { padding-top: 38px; padding-bottom: 44px; }
  .gauge h1 { font-size: 25px; }
  .gauge-lead { font-size: 15px; }
  .gauge-card { padding: 20px 20px 12px; }
  .gauge-facts b { min-width: 84px; font-size: 16.5px; }
  .freight-once { padding: 28px 22px; }
  .freight-tiers article { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 22px; }
  .canon article { padding: 26px 20px; }
  .states { padding: 22px 18px; }
  .states ul { grid-template-columns: minmax(0, 1fr); }
  .roster { border-radius: 18px; }
  .roster th, .roster td { padding: 11px 14px; font-size: 13px; }
  .roster tbody th { width: 108px; }
  .roster .roster-rule { width: 190px; }

  .counsel { padding-top: 38px; padding-bottom: 44px; }
  .counsel h1 { font-size: 25px; }
  .counsel-lead { font-size: 15px; }
  .counsel-doors { margin-top: 28px; gap: 12px; }
  .door { padding: 18px 16px; border-radius: 18px; }
  .door b { font-size: 15px; margin-top: 10px; }
  .qa-atlas { margin-top: 52px; margin-bottom: 52px; }
  .atlas-group + .atlas-group { margin-top: 56px; }
  .atlas-group h2 { font-size: 22px; }
  .qa-item > button { padding: 18px 18px; font-size: 15px; }
  .qa-fold p { padding: 0 18px 20px; }
  .lifebelt { padding: 38px 22px; border-radius: 24px; }
  .lifebelt h2 { font-size: 24px; }
}

/* ================================================================
   READS — blog list page
   ================================================================ */

.reads-hero {
  padding-top: 68px; padding-bottom: 0;
}
.reads-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; color: var(--flare); text-transform: uppercase;
  margin-bottom: 18px;
}
.reads-hero h1 { font-size: 44px; max-width: 800px; }
.reads-lead {
  margin-top: 18px; font-size: 16.5px; color: var(--ink-soft); line-height: 1.8;
  max-width: 660px;
}
.reads-stats {
  margin-top: 24px; font-size: 14px; color: var(--ink-faint);
}
.reads-stats b { color: var(--ink); }

/* category filter */
.reads-filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-top: 36px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft); margin-top: 16px;
}
.reads-filter-btn {
  background: none; border: 2px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 18px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease),
    color .2s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.reads-filter-btn:hover { border-color: var(--night); color: var(--night); }
.reads-filter-btn.is-active {
  background: var(--night); border-color: var(--night); color: #fff;
}
.reads-count {
  display: inline-block; background: rgba(255,255,255,.18); border-radius: 999px;
  padding: 0 7px; font-size: 11.5px; line-height: 1.7;
}
.reads-filter-btn.is-active .reads-count { background: rgba(255,255,255,.22); }
.reads-filter-btn:not(.is-active) .reads-count {
  background: var(--cream); color: var(--ink-soft);
}

/* stage */
.reads-stage { padding-top: 44px; padding-bottom: 100px; }

/* featured card */
.reads-featured-wrap { margin-bottom: 32px; }
.reads-featured {
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  gap: 24px; align-items: start;
  background: var(--night); border-radius: var(--r-card);
  padding: 40px 44px; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.reads-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.reads-featured-meta {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.reads-featured-meta time { font-size: 13px; color: rgba(255,255,255,.5); }
.reads-featured h2 { font-size: 28px; color: #fff; }
.reads-featured h2 a { color: inherit; }
.reads-featured h2 a:hover { color: rgba(255,255,255,.8); }
.reads-featured > .reads-featured-body > p {
  margin-top: 14px; color: rgba(255,255,255,.7); font-size: 15.5px; line-height: 1.75;
}
.reads-featured-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.reads-featured-badge {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding-top: 4px;
}
.reads-featured-badge span {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--flare); text-transform: uppercase;
}

/* article card grid */
.reads-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.reads-card {
  background: var(--card); border-radius: var(--r-card);
  padding: 30px 32px; cursor: pointer; border: 2px solid var(--line);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
    transform .25s var(--ease);
}
.reads-card:hover {
  border-color: var(--night); transform: translateY(-2px); box-shadow: var(--shadow-lift);
}
.reads-card-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.reads-card-meta time { font-size: 13px; color: var(--ink-faint); }
.reads-card h2 { font-size: 19px; }
.reads-card h2 a { color: var(--ink); }
.reads-card h2 a:hover { color: var(--flare-deep); }
.reads-card > p { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.75; }
.reads-card-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* shared badges */
.reads-cat {
  display: inline-block; background: var(--flare-tint); color: var(--flare-deep);
  font-size: 11.5px; font-weight: 700; border-radius: var(--r-pill);
  padding: 3px 11px; letter-spacing: .04em;
}
.reads-featured .reads-cat { background: rgba(255,83,64,.22); color: #ffb3a8; }
.reads-tag {
  display: inline-block; background: var(--cream); color: var(--ink-soft);
  font-size: 12px; font-weight: 600; border-radius: var(--r-pill);
  padding: 3px 11px;
}
.reads-featured .reads-tag { background: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }

.reads-empty {
  padding: 64px 0; text-align: center; color: var(--ink-faint); font-size: 15px;
}

/* ================================================================
   POST — article detail page
   ================================================================ */

/* two-column layout: TOC sidebar + article body */
.post-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px; align-items: start;
  padding-top: 56px; padding-bottom: 100px;
}

/* TOC sidebar */
.post-toc {
  position: sticky; top: 92px;
  border-left: 3px solid var(--line); padding-left: 20px;
}
.toc-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em;
  color: var(--ink-faint); text-transform: uppercase; margin-bottom: 14px;
}
.toc-list {
  margin: 0; padding: 0 0 0 16px; list-style: decimal;
  display: grid; gap: 10px;
}
.toc-list li { padding-left: 2px; }
.toc-list a {
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  text-decoration: none; line-height: 1.5;
}
.toc-list a:hover { color: var(--flare-deep); }

/* article body */
.post-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: 13px; color: var(--ink-faint); margin-bottom: 22px;
}
.post-crumb a { color: var(--ink-soft); font-weight: 600; }
.post-crumb a:hover { color: var(--flare-deep); }
.post-crumb span[aria-hidden] { color: var(--line); }

.post-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--ink-faint); margin-bottom: 22px;
}
.post-meta .reads-cat { font-size: 12px; }

.post-body h1 { font-size: 38px; margin-bottom: 22px; }
.post-lead {
  font-size: 16.5px; color: var(--ink-soft); line-height: 1.85;
  margin-bottom: 36px; border-left: 4px solid var(--flare-tint); padding-left: 18px;
}

/* article headings — offset for sticky header */
.post-body h2 {
  font-size: 26px; margin-top: 52px; margin-bottom: 18px;
  scroll-margin-top: 92px;
}
.post-body h3 { font-size: 19px; margin-top: 28px; margin-bottom: 12px; }

.post-body p { margin-bottom: 18px; line-height: 1.8; }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 18px; }
.post-body li { line-height: 1.8; margin-bottom: 6px; }
.post-body strong { font-weight: 700; color: var(--ink); }
.post-body code {
  font-family: var(--font-data); font-size: 13.5px;
  background: var(--cream); border-radius: 5px; padding: 1px 6px;
  color: var(--night);
}
.post-body a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* insight/summary box */
.post-insight-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--flare-tint); border-radius: var(--r-tile);
  padding: 18px 20px; margin-bottom: 36px;
}
.post-insight-box svg { flex-shrink: 0; margin-top: 2px; }
.post-insight-box p { margin: 0; font-size: 14.5px; line-height: 1.75; }

/* callout boxes */
.post-callout {
  border-radius: var(--r-tile); padding: 18px 22px;
  margin: 28px 0; font-size: 14.5px; line-height: 1.75;
}
.post-callout b { display: block; margin-bottom: 6px; font-size: 13.5px;
  font-weight: 700; letter-spacing: .02em; }
.post-callout p { margin: 0; color: var(--ink-soft); }
.post-callout.is-sky { background: var(--tint-sky); }
.post-callout.is-mint { background: var(--tint-mint); }
.post-callout.is-sun { background: var(--tint-sun); }
.post-callout.is-rose { background: var(--tint-rose); }

/* stats row */
.post-stats-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin: 28px 0;
}
.psr-item {
  background: var(--cream); border-radius: var(--r-tile); padding: 22px 20px;
  text-align: center;
}
.psr-item b { display: block; font-size: 22px; color: var(--night); margin-bottom: 6px; }
.psr-item span { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* step list (numbered) */
.post-steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 20px; }
.post-steps li {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 2px solid var(--line); border-radius: var(--r-tile);
  padding: 22px 24px;
}
.step-no {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--night); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.post-steps li b { display: block; font-size: 16px; margin-bottom: 8px; }
.post-steps li p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.75; }

/* yes/no checklist */
.post-checklist { display: grid; gap: 14px; margin: 24px 0; }
.pcl-item {
  display: flex; gap: 14px; align-items: flex-start;
  border-radius: var(--r-tile); padding: 18px 20px;
}
.pcl-item.is-yes { background: var(--tint-mint); }
.pcl-item.is-no  { background: var(--tint-rose); }
.pcl-item svg { flex-shrink: 0; margin-top: 2px; }
.pcl-item b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.pcl-item p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }

/* article CTA block */
.post-cta-block {
  background: var(--night); border-radius: 28px; padding: 44px 48px;
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px;
  align-items: center; margin-top: 56px;
}
.post-cta-copy h3 { font-size: 24px; color: #fff; }
.post-cta-copy p { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.7); }
.post-cta-acts { display: flex; flex-direction: column; gap: 12px; }
.post-cta-acts .act-rim {
  border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.85);
}
.post-cta-acts .act-rim:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.65); color: #fff; }

/* related reads */
.post-related { margin-top: 48px; border-top: 2px solid var(--line); padding-top: 32px; }
.post-related h3 { font-size: 16px; font-weight: 800; margin-bottom: 18px; color: var(--ink); }
.post-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.post-related li { padding-left: 16px; border-left: 3px solid var(--line); }
.post-related a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.post-related a:hover { color: var(--flare-deep); text-decoration: underline; text-underline-offset: 3px; }

/* floating recommendation widget */
.post-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  background: var(--card); border-radius: 20px;
  box-shadow: 0 12px 48px -12px rgba(8, 38, 58, .32);
  padding: 20px 22px 22px; width: 240px;
  opacity: 0; transform: translateY(12px) scale(.97);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.post-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.post-float-close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none; cursor: pointer; color: var(--ink-faint);
  padding: 4px; border-radius: 6px; display: flex; align-items: center;
  transition: color .2s var(--ease);
}
.post-float-close:hover { color: var(--ink); }
.post-float-kicker {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  color: var(--flare); text-transform: uppercase; margin-bottom: 8px;
}
.post-float-msg { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px; }
.post-float-btn { width: 100%; justify-content: center; padding: 10px 20px; font-size: 14px; }

/* ---- definition cards (article 2) ---- */
.post-def-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin: 28px 0; }
.pdc-card { border-radius: var(--r-card); padding: 28px 26px; }
.pdc-card.is-sky { background: var(--tint-sky); }
.pdc-card.is-mint { background: var(--tint-mint); }
.pdc-card.is-sun { background: var(--tint-sun); }
.pdc-icon { margin-bottom: 16px; }
.pdc-card h3 { font-size: 16px; margin-bottom: 12px; }
.pdc-card > p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; }
.pdc-card ul { margin: 0; padding-left: 18px; }
.pdc-card li { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; line-height: 1.6; }

/* ---- comparison table ---- */
.post-comp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.post-comp-table {
  width: 100%; border-collapse: collapse; min-width: 560px;
  border-radius: var(--r-tile); overflow: hidden;
}
.post-comp-table thead th {
  background: var(--night); color: #fff; font-weight: 700;
  padding: 14px 18px; text-align: left; font-size: 14px;
}
.post-comp-table thead th:first-child { border-radius: 0; }
.post-comp-table tbody tr:nth-child(even) { background: var(--cream); }
.post-comp-table tbody tr:nth-child(odd) { background: var(--card); }
.post-comp-table th[scope="row"] {
  font-weight: 700; font-size: 13.5px; color: var(--ink); padding: 13px 18px;
  white-space: nowrap; background: var(--cream);
}
.post-comp-table td {
  padding: 13px 18px; font-size: 13.5px; color: var(--ink-soft);
}
.post-comp-table td.is-yes { color: var(--ok); font-weight: 600; }
.post-comp-table td.is-no  { color: var(--err); }
.post-comp-table td.is-mid { color: var(--warn); }

/* ---- scenario list ---- */
.post-scenario-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.post-scenario-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; }
.scenario-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--tint-mint); color: var(--ok); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  margin-top: 2px;
}
.post-scenario-list li b { display: block; margin-bottom: 4px; }
.post-scenario-list li div { line-height: 1.75; color: var(--ink-soft); }

/* ---- decision flow ---- */
.post-decision-flow { display: grid; gap: 16px; margin: 28px 0; }
.pdf-step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 2px solid var(--line); border-radius: var(--r-tile);
  padding: 22px 24px;
}
.pdf-no {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--flare); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.pdf-body { flex: 1; }
.pdf-body b { display: block; font-size: 15.5px; margin-bottom: 10px; }
.pdf-body p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.85; }
.pdf-yes-answer { color: var(--ok); font-weight: 700; }
.pdf-no-answer  { color: var(--err); font-weight: 700; }

/* ---- layered cards ---- */
.post-layer-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 28px 0; }
.plc-card {
  border-radius: var(--r-tile); border: 2px solid var(--line);
  padding: 22px 22px; background: var(--card);
}
.plc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.plc-layer {
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  background: var(--cream); color: var(--ink-soft);
  border-radius: var(--r-pill); padding: 2px 10px;
}
.plc-head b { font-size: 15.5px; }
.plc-card p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }

/* ================================================================
   Legal pages — privacy & terms
   ================================================================ */

/* charter: legal page hero */
.charter { padding-top: 72px; text-align: center; }
.charter-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 5px 18px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-soft);
  letter-spacing: .04em; margin-bottom: 22px;
}
.charter-badge svg { flex-shrink: 0; color: var(--ink-faint); }
.charter h1 { font-size: 44px; max-width: 700px; margin: 0 auto; }
.charter-lead {
  margin: 18px auto 0; max-width: 640px;
  font-size: 17px; color: var(--ink-soft); line-height: 1.85;
}
.charter-chips {
  margin-top: 28px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.charter-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--tint-mint); color: var(--ok);
  border-radius: var(--r-pill); padding: 6px 16px;
  font-size: 13px; font-weight: 700;
}
.charter-chip svg { flex-shrink: 0; }

/* pledge-row: three key commitment cards */
.pledge-row {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px;
  margin-top: 56px;
}
.pledge-item {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--r-card);
  padding: 32px 28px; text-align: left;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.pledge-item:hover { border-color: var(--flare-tint); box-shadow: var(--shadow-soft); }
.pledge-icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.pledge-item.is-sky .pledge-icon { background: var(--tint-sky); color: #2a82c4; }
.pledge-item.is-mint .pledge-icon { background: var(--tint-mint); color: var(--ok); }
.pledge-item.is-sun .pledge-icon { background: var(--tint-sun); color: var(--warn); }
.pledge-item h2 { font-size: 17px; margin-bottom: 10px; }
.pledge-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; margin: 0; }

/* retain-block: data retention table */
.retain-wrap { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border-radius: var(--r-card); border: 2px solid var(--line); }
.retain-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.retain-table thead th {
  background: var(--night); color: #fff; font-weight: 700;
  padding: 15px 20px; text-align: left; font-size: 13.5px;
}
.retain-table thead th:first-child { border-radius: 0; }
.retain-table tbody tr { border-bottom: 1px solid var(--line-soft); }
.retain-table tbody tr:last-child { border-bottom: none; }
.retain-table tbody tr:nth-child(even) { background: var(--cream); }
.retain-table tbody tr:nth-child(odd) { background: var(--card); }
.retain-table th[scope="row"] {
  font-weight: 700; font-size: 14px; color: var(--ink); padding: 14px 20px;
  white-space: nowrap;
}
.retain-table td {
  padding: 14px 20px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7;
}
.retain-ttl { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--flare-deep); }

/* law-doc: legal text document sections */
.law-doc { max-width: 780px; margin: 0 auto; }
.law-section { padding: 44px 0; border-bottom: 1px solid var(--line-soft); }
.law-section:last-child { border-bottom: none; }
.law-section h2 {
  font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.law-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px;
  background: var(--flare); color: #fff;
  font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.law-section p { font-size: 15px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 14px; }
.law-section p:last-child { margin-bottom: 0; }
.law-section ul, .law-section ol {
  margin: 14px 0; padding-left: 22px;
}
.law-section li { font-size: 15px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 8px; }
.law-section li:last-child { margin-bottom: 0; }
.law-section strong { font-weight: 700; color: var(--ink); }
.law-section a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* rights-grid: user rights */
.rights-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 32px; }
.right-tile {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--r-tile);
  padding: 24px 22px;
}
.right-tile h3 { font-size: 15.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.right-tile h3 svg { flex-shrink: 0; color: var(--flare); }
.right-tile p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; margin: 0; }

/* responsive: legal pages */
@media (max-width: 820px) {
  .charter h1 { font-size: 34px; }
  .pledge-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rights-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .charter { padding-top: 44px; padding-bottom: 44px; }
  .charter h1 { font-size: 26px; }
  .charter-lead { font-size: 15px; }
  .charter-chips { gap: 8px; }
  .pledge-item { padding: 24px 20px; }
  .rights-grid { grid-template-columns: minmax(0, 1fr); }
  .law-section { padding: 32px 0; }
  .law-section h2 { font-size: 19px; }
}

/* ================================================================
   Terms page — treaty hero & conduct grid
   ================================================================ */

/* treaty: two-column hero for terms page */
.treaty {
  padding-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 52px;
  align-items: flex-start;
}
.treaty-copy .treaty-kicker {
  font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--flare-deep);
  margin-bottom: 14px; display: block;
}
.treaty-copy h1 { font-size: 40px; }
.treaty-copy .treaty-lead {
  margin-top: 18px; font-size: 16px; color: var(--ink-soft); line-height: 1.9;
}
.treaty-copy .treaty-note {
  margin-top: 14px; font-size: 13.5px; color: var(--ink-faint);
}
.treaty-copy .treaty-note a { font-weight: 600; text-underline-offset: 3px; text-decoration: underline; }
.treaty-card {
  background: var(--night); color: #fff;
  border-radius: var(--r-card); padding: 32px 28px;
  position: sticky; top: 88px;
}
.treaty-card-title {
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  color: rgba(255,255,255,.45); text-transform: uppercase; margin-bottom: 18px;
}
.treaty-facts { list-style: none; margin: 0; padding: 0; }
.treaty-facts li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.treaty-facts li:last-child { border-bottom: none; padding-bottom: 0; }
.treaty-fact-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); margin-top: 1px;
}
.treaty-fact-body b { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.treaty-fact-body span { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; line-height: 1.5; }

/* conduct-cols: allowed vs prohibited two-column */
.conduct-cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.conduct-col { border-radius: var(--r-card); padding: 32px 28px; }
.conduct-col.is-ok  { background: var(--tint-mint); }
.conduct-col.is-bad { background: var(--tint-rose); }
.conduct-col-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.conduct-col-head svg { flex-shrink: 0; }
.conduct-col.is-ok  .conduct-col-head svg { color: var(--ok); }
.conduct-col.is-bad .conduct-col-head svg { color: var(--err); }
.conduct-col-head h3 { font-size: 17px; margin: 0; }
.conduct-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.conduct-col li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--ink); line-height: 1.75;
}
.conduct-dot {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; margin-top: 2px;
}
.is-ok  .conduct-dot { background: var(--ok);  color: #fff; }
.is-bad .conduct-dot { background: var(--err); color: #fff; }

/* responsive: terms page */
@media (max-width: 860px) {
  .treaty { grid-template-columns: minmax(0,1fr); gap: 34px; padding-top: 52px; }
  .treaty-copy h1 { font-size: 32px; }
  .treaty-card { position: static; }
  .conduct-cols { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  .treaty { padding-top: 40px; padding-bottom: 44px; }
  .treaty-copy h1 { font-size: 26px; }
  .treaty-copy .treaty-lead { font-size: 15px; }
  .conduct-col { padding: 24px 20px; }
}

/* ================================================================
   Reads & Post — responsive overrides (keep at very end of file)
   ================================================================ */

@media (max-width: 900px) {
  .reads-hero h1 { font-size: 36px; }
  .reads-list { grid-template-columns: minmax(0, 1fr); }
  .reads-featured { grid-template-columns: minmax(0, 1fr); }
  .reads-featured-badge { display: none; }

  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 36px; }
  .post-toc { display: none; }
  .post-def-cards { grid-template-columns: minmax(0, 1fr); }
  .post-layer-cards { grid-template-columns: minmax(0, 1fr); }
  .post-stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-cta-block { grid-template-columns: minmax(0, 1fr); }
  .post-cta-acts { flex-direction: row; flex-wrap: wrap; }
  .post-float { bottom: 16px; right: 16px; width: 220px; }
}

@media (max-width: 640px) {
  .reads-hero { padding-top: 44px; }
  .reads-hero h1 { font-size: 28px; }
  .reads-lead { font-size: 15px; }
  .reads-featured { padding: 26px 24px; }
  .reads-featured h2 { font-size: 21px; }
  .reads-card { padding: 22px 20px; }
  .reads-card h2 { font-size: 17px; }

  .post-body h1 { font-size: 26px; }
  .post-body h2 { font-size: 21px; }
  .post-lead { font-size: 15px; }
  .post-cta-block { padding: 28px 22px; border-radius: 22px; }
  .post-cta-copy h3 { font-size: 20px; }
  .post-def-cards { gap: 12px; }
  .pdc-card { padding: 20px 18px; }
  .post-stats-row { grid-template-columns: minmax(0, 1fr); }
  .post-decision-flow { gap: 12px; }
  .pdf-step { padding: 16px 18px; gap: 12px; }
}
/* FAQ flow + support band text columns need min-width:0 inside their grids (class audit 2026-08-17) */
.atlas-flow{min-width:0}
.lifebelt-copy{min-width:0}
