/* ==========================================================================
   TempFwd design system — single stylesheet shared by all five locales.
   Aesthetic: bright white canvas, oversized grotesk display type, mono
   accents, pill buttons, hairline cards with large radii, generous air.
   NOTE: mobile override blocks live at the very END of this file and must
   stay there (source order beats equal specificity).
   ========================================================================== */

/* ---------- 1. Self-hosted fonts ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/space-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}

/* ---------- 2. Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f2f5f4;
  --bg-tint: #e6f0eb;
  --ink: #0f1513;
  --ink-2: #43504b;
  --ink-3: #74827c;
  --line: #dfe7e3;
  --line-2: #cbd6d1;
  --brand: #14805a;
  --brand-deep: #0d6143;
  --brand-soft: #e2f3ea;
  --brand-ghost: #f1f9f4;
  --green: #259a63;
  --green-soft: #e6f5ec;
  --amber: #9a6200;
  --amber-soft: #fdf1dc;
  --red: #d43b2e;
  --red-soft: #fcebe9;
  --accent: #c05a21;
  --accent-soft: #fbeadd;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 30px;
  --shadow-1: 0 1px 2px rgba(15,21,19,.05), 0 4px 14px rgba(15,21,19,.05);
  --shadow-2: 0 10px 34px rgba(15,21,19,.10);
  --shadow-3: 0 28px 90px -30px rgba(15,21,19,.28);
  --sans: "Space Grotesk", -apple-system, "Segoe UI", "PingFang SC", "Hiragino Kaku Gothic ProN", "Noto Sans", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1180px;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 500; line-height: 1.14; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { vertical-align: middle; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea { font: inherit; color: inherit; }
::selection { background: #cdeeda; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.shell { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- 4. Type helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
.kicker.k-green::before { background: var(--green); }
.kicker.k-violet::before { background: var(--accent); }
.kicker.k-amber::before { background: #e8930c; }

.display {
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: 500;
  margin: 18px 0 20px;
}
.u-mark {
  background: linear-gradient(transparent 68%, #cdeeda 68%);
  border-radius: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 46em; margin: 0 auto 1em; }

/* ---------- 5. Buttons / chips / pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 500; font-size: 15.5px;
  border: 1px solid var(--brand); white-space: nowrap;
  transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--bg-soft); border-color: var(--ink-3); box-shadow: none; }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.btn.dark:hover { background: #222b27; border-color: #222b27; }
.btn.onink { background: #fff; border-color: #fff; color: var(--ink); }
.btn.onink:hover { background: #e8eeeb; border-color: #e8eeeb; }
.btn.soft { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand-deep); }
.btn.soft:hover { background: #d3ecdd; border-color: #d3ecdd; box-shadow: none; }
.btn.danger { background: var(--red); border-color: var(--red); }
.btn.danger:hover { background: #b52d22; border-color: #b52d22; }
.btn.sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn.lg { height: 56px; padding: 0 32px; font-size: 16.5px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .ic { flex: none; }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; color: var(--ink-2);
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.iconbtn:hover { background: var(--bg-soft); color: var(--ink); }
.iconbtn.rim { border-color: var(--line-2); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 13px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line);
  white-space: nowrap;
}
.chip .ic { width: 14px; height: 14px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; justify-self: start;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok    { background: var(--green-soft); color: var(--green); }
.pill.warn  { background: var(--amber-soft); color: var(--amber); }
.pill.bad   { background: var(--red-soft);   color: var(--red); }
.pill.wait  { background: var(--brand-soft);  color: var(--brand-deep); }
.pill.idle  { background: var(--bg-soft);    color: var(--ink-3); }

/* ---------- 6. Top bar ---------- */
/* The header is injected into this mount; collapse the wrapper so the
   sticky topbar tracks the body scroll instead of its own-height parent. */
#site-top { display: contents; }
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .shell { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img, .brand svg { width: 30px; height: 30px; }
.mainnav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.mainnav a {
  padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 500;
}
.mainnav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.mainnav a.on { color: var(--brand-deep); background: var(--brand-ghost); }
.topbar-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.langbtn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 500;
  background: #fff;
}
.langbtn:hover { background: var(--bg-soft); color: var(--ink); }
.langmenu {
  position: fixed; z-index: 90; min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: 6px;
  animation: pop-in .16s ease;
}
.langmenu a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 14.5px;
}
.langmenu a:hover { background: var(--bg-soft); text-decoration: none; }
.langmenu a.on { background: var(--brand-ghost); color: var(--brand-deep); font-weight: 500; }
.langmenu a .tag { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; }

.burger { display: none; margin-left: auto; }
.mobnav { display: none; }

/* ---------- 7. Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 110px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 62px 0 48px; }
.footer h4 { font-size: 13px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); font-size: 14.5px; }
.footer ul a:hover { color: var(--ink); }
.footer-brand p { color: var(--ink-2); font-size: 14.5px; max-width: 30em; margin-top: 14px; }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding: 20px 0 26px;
  color: var(--ink-3); font-size: 13px;
}
.footer-base .mono { font-family: var(--mono); font-size: 12px; }

/* ---------- 8. Sections ---------- */
.sect { padding: 104px 0 0; }
.sect-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.sect-head h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.02em; margin: 14px 0 14px; }
.sect-head .lede { margin-bottom: 0; }
.sect-head.left { text-align: left; margin-left: 0; }
.sect-head.left .lede { margin-left: 0; }

/* ---------- 9. Hero ---------- */
.hero { padding: 72px 0 0; text-align: center; position: relative; }
.hero-halo {
  position: absolute; inset: -120px 0 auto 0; height: 520px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(560px 300px at 18% 12%, rgba(20,128,90,.09), transparent 65%),
    radial-gradient(620px 320px at 84% 6%, rgba(192,90,33,.06), transparent 65%);
}
.hero .lede { margin-bottom: 0; }
.hero-flags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- 10. App window (the tool) ---------- */
.appwin {
  margin: 44px auto 0; text-align: left;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.appwin-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.appwin-dots { display: inline-flex; gap: 7px; }
.appwin-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.appwin-url {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  max-width: 380px; margin: 0 auto; height: 30px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .03em;
}
.appwin-bar .spacer { width: 47px; }

.addr-zone { padding: 26px 28px 22px; border-bottom: 1px solid var(--line); }
.addr-label { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.addr-line { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.addr-text {
  flex: 1 1 320px; min-width: 0;
  font-family: var(--mono); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(19px, 2.6vw, 30px); line-height: 1.25;
  overflow-wrap: anywhere; word-break: break-all;
}
.addr-text.dim { color: var(--ink-3); font-weight: 400; }
.addr-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.addr-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.timer-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--brand-ghost); border: 1px solid #cfe8da;
  font-family: var(--mono); font-size: 13.5px; font-weight: 700; color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.timer-chip.low { background: var(--amber-soft); border-color: #f4dfb8; color: var(--amber); }
.timer-chip .ic { width: 15px; height: 15px; }
.mini-act {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 13px; border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); border: 1px solid transparent;
}
.mini-act:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.mini-act .ic { width: 15px; height: 15px; }

/* Inbox split */
.mailgrid { display: grid; grid-template-columns: 400px minmax(0, 1fr); min-height: 640px; }
.maillist { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.maillist-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
}
.maillist-bar .count { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.maillist-bar .live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
.maillist-bar .end { margin-left: auto; display: inline-flex; gap: 4px; }
.mrows { overflow-y: auto; max-height: 730px; flex: 1; }
.mrow {
  display: grid; grid-template-columns: 10px minmax(0,1fr) auto; gap: 6px 12px;
  width: 100%; text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line);
  align-items: baseline; transition: background .12s; cursor: pointer;
}
.mrow:hover { background: var(--bg-soft); }
.mrow.sel { background: var(--brand-ghost); }
.mrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 6px; align-self: start; }
.mrow.read .dot { background: transparent; }
.mrow .who { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 7px; min-width: 0; }
.mrow .who-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mrow.read .who { font-weight: 500; color: var(--ink-2); }
.mrow .when { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.mrow .subj { grid-column: 2 / 4; font-size: 13.5px; color: var(--ink-2); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow .subj .clip-ic { width: 13px; height: 13px; margin-right: 5px; color: var(--ink-3); }
.mrow .demo-tag {
  flex: none; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 2px 8px;
}

.reader { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.reader-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 46px 30px; text-align: center; color: var(--ink-3);
}
.reader-empty .orb {
  width: 76px; height: 76px; border-radius: 50%; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; color: var(--ink-3);
}
.reader-empty p { max-width: 30em; margin: 0; font-size: 14.5px; }
.reader-empty strong { color: var(--ink-2); }
.reader-head { padding: 18px 24px 14px; border-bottom: 1px solid var(--line); }
.reader-head h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -.01em; }
.reader-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); }
.reader-meta .mono { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.reader-tools { margin-left: auto; display: inline-flex; gap: 4px; }
.reader-top { display: flex; align-items: flex-start; gap: 10px; }
.reader-top .back { display: none; }
.reader-body { flex: 1; min-height: 0; }
.reader-body iframe { display: block; width: 100%; height: 100%; min-height: 550px; border: 0; background: #fff; }
.reader-atts { border-top: 1px solid var(--line); padding: 12px 24px 16px; }
.reader-atts h4 { font-size: 12px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; font-weight: 700; }
.att-list { display: flex; flex-direction: column; gap: 8px; max-height: min(160px, 24vh); overflow-y: auto; }
.att-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; color: var(--ink);
}
.att-item:hover { background: var(--bg-soft); text-decoration: none; }
.att-item .size { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.att-item .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

/* skeleton shimmer */
.skl { position: relative; overflow: hidden; background: var(--bg-soft); border-radius: 8px; color: transparent !important; }
.skl::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.85) 50%, transparent 70%);
  animation: shimmer 1.4s infinite;
}

/* ---------- 11. Marquee ---------- */
.tick { border-block: 1px solid var(--line); margin-top: 96px; overflow: hidden; background: #fff; }
.tick-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.tick-track:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .tick-track { animation: none; } }
.tick-cell {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 34px; border-right: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  white-space: nowrap;
}
.tick-cell .ic { width: 17px; height: 17px; color: var(--brand); }

/* ---------- 12. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.steps.quad { grid-template-columns: repeat(4, minmax(0,1fr)); }
.step {
  position: relative; padding: 30px 28px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.step:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.step .no {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--brand);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 44px;
}
.step .no::after { content: ""; height: 1px; width: 44px; background: var(--line-2); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* ---------- 13. Feature grid ---------- */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.feat {
  padding: 28px 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.feat:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.feat .ictile {
  width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 18px;
}
.feat:nth-child(3n+2) .ictile { background: var(--accent-soft); color: var(--accent); }
.feat:nth-child(3n) .ictile { background: var(--green-soft); color: var(--green); }
.feat h3 { font-size: 17.5px; margin-bottom: 7px; }
.feat p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* ---------- 14. Stats band ---------- */
.band {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff;
}
.band > div { padding: 30px 26px; border-right: 1px solid var(--line); }
.band > div:last-child { border-right: 0; }
.band .num { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; font-family: var(--mono); }
.band .num em { font-style: normal; color: var(--brand); }
.band .cap { color: var(--ink-2); font-size: 13.5px; margin-top: 8px; }

/* ---------- 15. Lifecycle rail ---------- */
.rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.rail::before {
  content: ""; position: absolute; top: 21px; left: 4%; right: 4%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.rail-stop { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.rail-stop .knot {
  width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-2); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-1);
}
.rail-stop.hot .knot { background: var(--brand); border-color: var(--brand); color: #fff; }
.rail-stop h3 { font-size: 16px; margin-bottom: 6px; }
.rail-stop .t { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); display: block; margin-bottom: 8px; }
.rail-stop p { font-size: 13.5px; color: var(--ink-2); margin: 0; }

/* ---------- 16. Duo choice cards + compare table ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.duo-card { padding: 34px 32px 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.duo-card.tone { background: linear-gradient(160deg, var(--brand-ghost), #fff 55%); }
.duo-card h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.duo-card .sub { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.duo-card ul { list-style: none; margin: 6px 0 22px; padding: 0; display: grid; gap: 10px; }
.duo-card ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.duo-card ul .ic { flex: none; width: 17px; height: 17px; color: var(--green); margin-top: 3px; }
.duo-card .btn { margin-top: auto; align-self: start; }

.table-x {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  /* Scroll-edge fade hints when the table is wider than the viewport. */
  background:
    linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) 0 0 / 40px 100% no-repeat local,
    linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) 100% 0 / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(15,21,19,.1), rgba(15,21,19,0)) 0 0 / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(15,21,19,.1), rgba(15,21,19,0)) 100% 0 / 14px 100% no-repeat scroll,
    #fff;
}
.table-x table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.table-x th, .table-x td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-x thead th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-soft); font-weight: 700; }
.table-x tbody tr:last-child td { border-bottom: 0; }
.table-x td:first-child { font-weight: 500; }

/* ---------- 17. Ink banner ---------- */
.bandeau {
  margin-top: 104px; border-radius: var(--r-xl); overflow: hidden; position: relative;
  background: var(--ink); color: #fff; padding: 68px 56px;
  text-align: center;
}
.bandeau::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 240px at 12% 110%, rgba(20,128,90,.45), transparent 70%),
    radial-gradient(430px 260px at 92% -10%, rgba(192,90,33,.32), transparent 70%);
}
.bandeau > * { position: relative; }
.bandeau h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.02em; margin-bottom: 12px; }
.bandeau p { color: #c2ccc7; max-width: 44em; margin: 0 auto 26px; }
.bandeau .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 18. Scene cards ---------- */
.scenes { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.scene { padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); transition: background .18s, border-color .18s, transform .18s; }
.scene:hover { background: #fff; border-color: var(--line-2); transform: translateY(-3px); }
.scene .ic { width: 24px; height: 24px; color: var(--brand-deep); margin-bottom: 14px; }
.scene h3 { font-size: 16px; margin-bottom: 6px; }
.scene p { font-size: 13.5px; color: var(--ink-2); margin: 0; }

/* ---------- 19. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.faq summary {
  list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; cursor: pointer; font-weight: 500; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .tw { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--ink-2); transition: transform .2s, background .2s; }
.faq details[open] summary .tw { transform: rotate(45deg); background: var(--brand-soft); color: var(--brand-deep); }
.faq .a { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }
.faq .a p { margin: 0 0 .6em; } .faq .a p:last-child { margin: 0; }

/* ---------- 20. Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.tin {
  height: 50px; width: 100%; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: #fff; font-size: 15.5px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  text-overflow: ellipsis;
}
.tin::placeholder { text-overflow: ellipsis; }
.tin:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,128,90,.16); }
.tin.mono { font-family: var(--mono); font-size: 14.5px; }
.field-err { color: var(--red); font-size: 13px; margin: 0; }
.field-err:empty { display: none; }
.hint { font-size: 13px; color: var(--ink-3); margin: 0; }

.otp { display: flex; gap: 9px; justify-content: center; }
.otp input {
  width: 50px; height: 60px; text-align: center; font-family: var(--mono); font-size: 24px; font-weight: 700;
  border: 1px solid var(--line-2); border-radius: 14px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.otp input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,128,90,.16); }
.otp input.full { border-color: var(--brand); background: var(--brand-ghost); }

/* ---------- 21. Toast ---------- */
.toasts { position: fixed; z-index: 200; bottom: 26px; left: 50%; transform: translateX(-50%); display: grid; gap: 10px; width: min(430px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  display: flex; align-items: flex-start; gap: 11px; padding: 13px 17px;
  background: var(--ink); color: #fff; border-radius: 14px; box-shadow: var(--shadow-2);
  font-size: 14.5px; line-height: 1.45; animation: rise-in .22s ease; pointer-events: auto;
}
.toast .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.toast.ok .ic { color: #5fd18d; }
.toast.err .ic { color: #ff8a80; }
.toast.info .ic { color: #7fd4ac; }
.toast.out { animation: sink-out .2s ease forwards; }

/* ---------- 22. Modal / veil ---------- */
.veil {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(15,21,19,.44);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: fade-in .18s ease;
}
.modal {
  width: min(560px, 100%); max-height: min(84vh, 780px); overflow: hidden;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-3);
  display: flex; flex-direction: column; animation: rise-in .2s ease;
}
.veil.is-closing { animation: fade-out .18s ease forwards; pointer-events: none; }
.veil.is-closing .modal { animation: sink-out .18s ease forwards; }
.modal-head { display: flex; align-items: flex-start; gap: 14px; padding: 22px 26px 0; }
.modal-head h3 { font-size: 20px; margin: 0; }
.modal-head .iconbtn { margin-left: auto; flex: none; }
.modal-body { padding: 16px 26px 24px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 26px 24px; flex-wrap: wrap; }
.modal.wide { width: min(760px, 100%); }

/* confirm flavor */
.confirm-body { color: var(--ink-2); font-size: 15px; }

/* ---------- 23. Custom dropdown ---------- */
.dd { position: relative; display: inline-flex; }
.dd-btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff; font-size: 14px; color: var(--ink); max-width: 240px;
}
.dd-btn:hover { background: var(--bg-soft); }
.dd-btn .val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.dd-btn .car { flex: none; transition: transform .15s; color: var(--ink-3); }
.dd-btn[aria-expanded="true"] .car { transform: rotate(180deg); }
.dd-pop {
  position: fixed; z-index: 140; min-width: 200px; max-width: 300px; max-height: 300px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: 6px; animation: pop-in .15s ease;
}
.dd-opt {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--ink); cursor: pointer;
}
.dd-opt .lab { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; flex: 1; }
.dd-opt:hover, .dd-opt.hov { background: var(--bg-soft); }
.dd-opt[aria-selected="true"] { background: var(--brand-ghost); color: var(--brand-deep); font-weight: 500; }

/* ==========================================================================
   Console (forwarding dashboard)
   ========================================================================== */
.desk-main { padding: 46px 0 0; }
.desk-load { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 120px 0; color: var(--ink-3); }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: whirl .8s linear infinite; }

/* auth layout */
.gate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.gate-intro .display { font-size: clamp(32px, 4.4vw, 52px); }
.gate-intro .lede { margin-left: 0; }
.gate-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.gate-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.gate-points .ic { flex: none; width: 19px; height: 19px; color: var(--brand); margin-top: 3px; }
.gate-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: 36px 36px 32px; max-width: 470px; justify-self: end; width: 100%;
}
.gate-card h2 { font-size: 23px; margin-bottom: 6px; }
.gate-card .sub { color: var(--ink-2); font-size: 14.5px; margin-bottom: 22px; }
.gate-card form { display: grid; gap: 16px; }
.gate-alt { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.linky { background: none; border: 0; color: var(--brand); font-size: 14px; cursor: pointer; padding: 4px 2px; }
.linky:hover { text-decoration: underline; }
.linky[disabled] { color: var(--ink-3); cursor: default; text-decoration: none; }
.gate-note {
  display: flex; gap: 10px; margin-top: 20px; padding: 12px 14px; border-radius: 12px;
  background: var(--amber-soft); color: var(--amber); font-size: 13.5px;
}
.gate-note .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.sent-to { font-family: var(--mono); font-size: 13.5px; background: var(--bg-soft); border-radius: 10px; padding: 9px 13px; overflow-wrap: anywhere; }

/* guest preview under the gate */
.fore { margin-top: 110px; }
.fore .sect { padding-top: 88px; }
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pipe > div { padding: 28px 24px; border-right: 1px solid var(--line); background: #fff; position: relative; }
.pipe > div:last-child { border-right: 0; }
.pipe .ph { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pipe h3 { font-size: 16px; margin-bottom: 6px; }
.pipe p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.pipe .ph .ic { width: 15px; height: 15px; }

/* console header */
.desk-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.desk-face {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--brand-soft); color: var(--brand-deep); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; text-transform: uppercase;
}
.desk-idty { min-width: 0; }
.desk-idty .who { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.desk-idty .sub { color: var(--ink-3); font-size: 13px; }
.desk-top .end { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.quota { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.quota .lab { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); }
.quota .lab b { font-family: var(--mono); }
.quota .bar { height: 7px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; border: 1px solid var(--line); }
.quota .bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width .4s; }

/* segmented tabs */
.seg { display: inline-flex; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 30px 0 26px; }
.seg button {
  height: 40px; padding: 0 22px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.seg button:hover { color: var(--ink); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.seg .ic { width: 16px; height: 16px; }

/* alias panel */
.mint {
  display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 12px; align-items: start;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); margin-bottom: 26px;
}
.mint .joined { display: flex; align-items: stretch; min-width: 0; }
.mint .joined .tin { border-radius: 14px 0 0 14px; border-right: 0; min-width: 0; }
.mint .joined .suffix {
  display: flex; align-items: center; padding: 0 16px; border: 1px solid var(--line-2);
  border-radius: 0 14px 14px 0; background: #fff; color: var(--ink-3);
  font-family: var(--mono); font-size: 14px; white-space: nowrap;
  transition: border-color .15s ease;
}
/* Focus lights up the whole joined control (input + suffix badge), not just the input half. */
.mint .joined .tin:focus { box-shadow: none; }
.mint .joined:focus-within { border-radius: 14px; box-shadow: 0 0 0 3px rgba(20,128,90,.16); }
.mint .joined:focus-within .tin, .mint .joined:focus-within .suffix { border-color: var(--brand); }
.mint-help { grid-column: 1 / -1; margin: 0; }
.alias-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.alias-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 20px 22px 18px; display: grid; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.alias-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.alias-card.off { background: var(--bg-soft); }
.alias-card .addr { display: flex; align-items: center; gap: 9px; min-width: 0; }
.alias-card .addr .mono { font-family: var(--mono); font-weight: 700; font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.alias-card.off .addr .mono { color: var(--ink-3); }
.alias-card .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.alias-card .meta .n { font-family: var(--mono); }
.alias-card .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.empty-block {
  border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--bg-soft);
  padding: 52px 26px; text-align: center; color: var(--ink-3);
}
.empty-block .orb { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--ink-3); }
.empty-block p { max-width: 34em; margin: 0 auto; font-size: 14.5px; }
.empty-block strong { color: var(--ink-2); }

/* archive panel */
.arch-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.arch-tools .count { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-left: auto; }
.arch-list { display: grid; gap: 10px; }
.arch-row {
  display: grid; grid-template-columns: auto minmax(0, 1.25fr) minmax(0, 2fr) auto; gap: 8px 18px; align-items: center;
  width: 100%; text-align: left; padding: 15px 20px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; cursor: pointer; transition: border-color .14s, box-shadow .14s;
}
.arch-row:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.arch-row .who { font-weight: 500; font-size: 14.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arch-row .sub2 { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arch-row .subj { font-size: 14.5px; color: var(--ink-2); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arch-row .end2 { text-align: right; display: grid; gap: 4px; justify-items: end; }
.arch-row .when { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.arch-row .left { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.arch-head-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* archive detail modal internals */
.arch-detail-meta { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 7px 16px; font-size: 14px; margin-bottom: 14px; }
.arch-detail-meta dt { color: var(--ink-3); }
.arch-detail-meta dd { margin: 0; overflow-wrap: anywhere; }
.arch-detail-meta .mono { font-family: var(--mono); font-size: 13px; }
.spam-brief {
  display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: var(--red-soft); color: var(--red); font-size: 13.5px; margin-bottom: 14px;
}
.spam-brief .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.mailframe { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.mailframe iframe { display: block; width: 100%; height: 320px; border: 0; background: #fff; }

/* 2FA modal internals */
.tfa-state { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft); margin-bottom: 4px; }
.tfa-state .ictile { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.tfa-state .tx { min-width: 0; }
.tfa-state .tx b { display: block; font-size: 15px; }
.tfa-state .tx span { font-size: 13px; color: var(--ink-2); }
.tfa-state .pill { margin-left: auto; }
.qr-wrap { display: grid; grid-template-columns: 168px minmax(0,1fr); gap: 20px; align-items: start; margin: 16px 0; }
.qr-wrap img { width: 168px; height: 168px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.secret-line { display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.secret-line code { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; flex: 1; }
.warn-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--red-soft); color: var(--red); font-size: 13.5px; }
.warn-note .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.step-list { list-style: none; counter-reset: st; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.step-list li { counter-increment: st; display: flex; gap: 12px; font-size: 14px; color: var(--ink-2); }
.step-list li::before {
  content: counter(st); flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep); font-family: var(--mono); font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* ==========================================================================
   Legal document pages
   ========================================================================== */
.paper-main { padding: 64px 0 0; }
.paper { max-width: 840px; margin: 0 auto; }
.paper-head { margin-bottom: 34px; }
.paper-head h1 { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -.02em; margin: 14px 0 12px; }
.paper-head .when { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.paper-brief {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft);
  margin-bottom: 44px;
}
.paper-brief h2 { grid-column: 1 / -1; font-size: 13px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0; font-weight: 700; }
.paper-brief .pt { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; }
.paper-brief .pt .ic { flex: none; width: 17px; height: 17px; color: var(--brand); margin-top: 3px; }
.paper-body h2 { font-size: 23px; margin: 44px 0 14px; }
.paper-body h3 { font-size: 17.5px; margin: 26px 0 10px; }
.paper-body p, .paper-body li { color: var(--ink-2); font-size: 15.5px; }
.paper-body ul { padding-left: 22px; margin: 0 0 1em; }
.paper-body li { margin-bottom: 6px; }
.paper-body .table-x { margin: 18px 0 26px; }
.paper-body strong { color: var(--ink); }

/* ==========================================================================
   Blog — list
   ========================================================================== */
.press-main { padding: 64px 0 0; }
.press-hero { max-width: 720px; margin-bottom: 40px; }
.press-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.022em; margin: 14px 0 12px; }
.press-hero p { color: var(--ink-2); font-size: 17px; margin: 0; }
.press-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.press-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-chip {
  height: 34px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13.5px; color: var(--ink-2); background: #fff; display: inline-flex; align-items: center; gap: 7px;
}
.cat-chip:hover { background: var(--bg-soft); }
.cat-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chip .n { font-family: var(--mono); font-size: 11px; opacity: .75; }
.press-total { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }

.lead-card {
  display: block; border: 1px solid var(--line-2); border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(150deg, var(--brand-ghost), #fff 60%);
  padding: 40px 42px; margin-bottom: 20px; color: var(--ink); cursor: pointer;
  transition: box-shadow .18s, transform .18s;
}
.lead-card:hover { text-decoration: none; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.lead-card .rowtop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.lead-card h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; max-width: 20em; }
.lead-card p { color: var(--ink-2); max-width: 52em; margin-bottom: 18px; }
.lead-card .more { color: var(--brand-deep); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.fresh-flag { background: var(--brand); color: #fff; border-color: var(--brand); }

.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.post-card {
  display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 22px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--ink); cursor: pointer;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.post-card:hover { text-decoration: none; border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.post-card .rowtop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-card h3 { font-size: 18.5px; margin: 0; }
.post-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; flex: 1; }
.post-card .when { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.press-none { text-align: center; color: var(--ink-3); padding: 60px 0; }

/* ==========================================================================
   Blog — article
   ========================================================================== */
.post-main { padding: 52px 0 0; }
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); }
.crumbs .sep { color: var(--line-2); }
.crumbs span[aria-current] { color: var(--ink-3); }

.post-head { max-width: 820px; margin-bottom: 38px; }
.post-head .meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.post-head .meta time { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.post-head h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.022em; margin: 0 0 14px; }
.post-head .standfirst { font-size: 18px; color: var(--ink-2); margin: 0; }

.post-cols { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 56px; align-items: start; }
.post-prose { max-width: 740px; }
.post-prose > p, .post-prose li { font-size: 16.5px; color: #2a332f; }
.post-prose h2 { font-size: 26px; margin: 52px 0 16px; letter-spacing: -.015em; }
.post-prose h2:first-child { margin-top: 0; }
.post-prose h3 { font-size: 19px; margin: 30px 0 10px; }
.post-prose ul, .post-prose ol { padding-left: 24px; margin: 0 0 1.2em; }
.post-prose li { margin-bottom: 8px; }
.post-prose .table-x { margin: 20px 0 28px; }
.post-prose blockquote {
  margin: 24px 0; padding: 16px 22px; border-left: 3px solid var(--brand);
  background: var(--brand-ghost); border-radius: 0 14px 14px 0; color: var(--ink-2);
}
.post-prose blockquote p { margin: 0; }
.callout {
  display: flex; gap: 12px; margin: 24px 0; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft); font-size: 15px; color: var(--ink-2);
}
.callout .ic { flex: none; width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }
.callout p { margin: 0; }

.post-cta {
  margin: 52px 0 0; padding: 32px 34px; border-radius: var(--r-lg);
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.post-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px 200px at 90% -20%, rgba(20,128,90,.5), transparent 70%);
}
.post-cta > * { position: relative; }
.post-cta .cta-title { font-size: 21px; font-weight: 500; margin: 0 0 8px; }
.post-cta p { color: #c2ccc7; font-size: 14.5px; margin-bottom: 20px; max-width: 46em; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.rel-reads { margin-top: 44px; }
.rel-reads h2 { font-size: 20px; margin-bottom: 16px; }
.rel-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.rel-cards a {
  display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.rel-cards a:hover { text-decoration: none; border-color: var(--line-2); box-shadow: var(--shadow-1); }
.rel-cards b { font-size: 15px; font-weight: 500; }
.rel-cards time { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

.post-side { position: sticky; top: 96px; }
.toc { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; background: #fff; }
.toc h2 { font-size: 12px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; font-weight: 700; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a {
  display: block; padding: 7px 10px; border-radius: 9px; font-size: 13.5px; color: var(--ink-2);
  border-left: 2px solid transparent;
}
.toc a:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.toc a.on { color: var(--brand-deep); background: var(--brand-ghost); border-left-color: var(--brand); }

.floater {
  position: fixed; z-index: 80; right: 22px; bottom: 22px; width: min(320px, calc(100vw - 44px));
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  padding: 18px 20px 16px; animation: rise-in .3s ease;
}
.floater.is-closing { animation: sink-out .2s ease forwards; }
.floater .x { position: absolute; top: 8px; right: 8px; }
.floater p { font-size: 14px; color: var(--ink-2); margin: 0 26px 12px 0; }
.floater .btn { width: 100%; }

/* ==========================================================================
   Info pages (alias intro / help) building blocks
   ========================================================================== */
.page-hero { padding: 72px 0 0; }
.page-hero .display { font-size: clamp(34px, 5vw, 58px); max-width: 17em; }
.page-hero .lede { margin-left: 0; }
.page-hero.center { text-align: center; }
.page-hero.center .display { margin-inline: auto; }
.page-hero.center .lede { margin-inline: auto; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.page-hero.center .hero-cta-row { justify-content: center; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 54px; align-items: center; }
.split .art { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.split .art svg, .split .art img { display: block; width: 100%; height: auto; }
.split h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; margin: 12px 0 14px; }
.split p { color: var(--ink-2); }
.split ul.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.split ul.ticks li { display: flex; gap: 11px; color: var(--ink-2); font-size: 15px; }
.split ul.ticks .ic { flex: none; width: 18px; height: 18px; color: var(--green); margin-top: 4px; }

.help-groups { display: grid; gap: 44px; max-width: 860px; margin: 0 auto; }
.help-group h2 { display: flex; align-items: center; gap: 12px; font-size: 21px; margin-bottom: 16px; }
.help-group h2 .ictile { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-deep); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.help-group .faq { max-width: none; }

.contact-card {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft);
  padding: 30px 34px; max-width: 860px; margin: 0 auto;
}
.contact-card .ictile { width: 52px; height: 52px; border-radius: 15px; background: var(--brand-soft); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-card .tx { flex: 1 1 300px; }
.contact-card .tx b { font-size: 17px; display: block; margin-bottom: 3px; }
.contact-card .tx p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- animations ---------- */
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes whirl { to { transform: rotate(360deg); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.97) translateY(-4px); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes sink-out { to { opacity: 0; transform: translateY(8px); } }
@keyframes drift-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive — keep these blocks LAST in the file.
   ========================================================================== */
@media (max-width: 1060px) {
  .mailgrid { grid-template-columns: 340px minmax(0,1fr); }
  .scenes { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .band { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .band > div { border-bottom: 1px solid var(--line); }
  .band > div:nth-child(2n) { border-right: 0; }
  .band > div:nth-last-child(-n+2) { border-bottom: 0; }
  .post-cols { grid-template-columns: minmax(0,1fr); gap: 0; }
  .post-side { display: none; }
}

@media (max-width: 920px) {
  .mainnav { display: none; }
  .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .topbar .shell { gap: 12px; }
  .mobnav {
    display: none; position: fixed; z-index: 70; left: 0; right: 0; top: 68px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
    padding: 12px 20px 18px;
  }
  .mobnav.open { display: block; animation: pop-in .18s ease; }
  .mobnav a { display: block; padding: 13px 10px; border-radius: 12px; color: var(--ink); font-size: 16px; font-weight: 500; }
  .mobnav a:hover { background: var(--bg-soft); text-decoration: none; }
  .mobnav a.on { color: var(--brand-deep); background: var(--brand-ghost); }
  .mobnav .cta-row { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
  /* .mobnav a sets a dark text color that would hide the dark CTA label. */
  .mobnav .cta-row .btn { width: 100%; color: #fff; }

  .gate { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .gate-card { justify-self: stretch; max-width: none; }
  .pipe { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pipe > div { border-bottom: 1px solid var(--line); }
  .pipe > div:nth-child(2n) { border-right: 0; }
  .pipe > div:nth-last-child(-n+2) { border-bottom: 0; }
  .alias-grid { grid-template-columns: minmax(0,1fr); }
  .steps, .steps.quad, .feats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rail { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 18px; }
  .rail::before { display: none; }
  .duo { grid-template-columns: minmax(0,1fr); }
  .split { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .press-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .qr-wrap { grid-template-columns: minmax(0,1fr); justify-items: center; }
}

@media (max-width: 760px) {
  /* inbox collapses to a single pane; reader slides over the list */
  .mailgrid { grid-template-columns: minmax(0,1fr); position: relative; min-height: 380px; }
  .maillist { border-right: 0; }
  .reader {
    position: absolute; inset: 0; background: #fff; z-index: 5;
    transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
  }
  .reader.open { transform: translateX(0); visibility: visible; }
  .reader-top .back { display: inline-flex; }
  .mrows { max-height: none; }
  .arch-row { grid-template-columns: minmax(0,1fr) auto; }
  .arch-row .who-wrap { order: 1; }
  .arch-row .end2 { order: 2; }
  .arch-row .subj { order: 3; grid-column: 1 / -1; }
  .arch-row .pill { order: 0; grid-column: 1 / -1; }
  .mint { grid-template-columns: minmax(0,1fr); }
  .desk-top .end { margin-left: 0; width: 100%; }
}

@media (max-width: 640px) {
  .shell { padding: 0 18px; }
  .hero { padding-top: 44px; }
  .display { margin-top: 12px; }
  .hero .lede { font-size: 16px; }
  .hero-flags { display: none; }               /* keep first screen tight on phones */
  .hero-halo { display: none; }
  .appwin { margin-top: 26px; border-radius: 20px; }
  .appwin-bar .spacer { display: none; }
  .addr-zone { padding: 18px 18px 16px; }
  .addr-line { gap: 12px; }
  .addr-actions { width: 100%; }
  .addr-actions .btn { flex: 1; }
  .mrow { padding: 12px 16px; }
  .mrows { min-height: 132px; }
  .sect { padding-top: 72px; }
  .tick { margin-top: 64px; }
  .steps, .steps.quad, .feats { grid-template-columns: minmax(0,1fr); }
  .scenes { grid-template-columns: minmax(0,1fr); }
  .rail { grid-template-columns: minmax(0,1fr); }
  .band { grid-template-columns: minmax(0,1fr); }
  .band > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .band > div:last-child { border-bottom: 0; }
  .bandeau { padding: 46px 24px; margin-top: 72px; }
  .press-grid { grid-template-columns: minmax(0,1fr); }
  .rel-cards { grid-template-columns: minmax(0,1fr); }
  .lead-card { padding: 28px 24px; }
  .footer-grid { grid-template-columns: minmax(0,1fr); gap: 26px; padding: 44px 0 34px; }
  .footer { margin-top: 72px; }
  .otp { gap: 6px; }
  .otp input { width: 44px; height: 54px; font-size: 20px; }
  .gate-card { padding: 26px 22px 24px; }
  .paper-brief { grid-template-columns: minmax(0,1fr); }
  .modal-head { padding: 18px 18px 0; }
  .modal-body { padding: 14px 18px 18px; }
  .modal-foot { padding: 0 18px 18px; }
  .seg { width: 100%; }
  .seg button { flex: 1; justify-content: center; padding: 0 10px; }
  .floater { right: 12px; bottom: 12px; }
  .desk-main { padding-top: 30px; }
  .page-hero { padding-top: 46px; }
}
