/* ============================================================
   EmailFW · aurora-glass design system
   Light base + frosted glass surfaces. No frameworks, no CDNs.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --ink: #26272e;
  --ink-2: #62636b;
  --ink-3: #94959d;
  --bg: #f5f3ef;
  --acc1: #e05b3f;
  --acc2: #c34a72;
  --acc3: #148f96;
  --ok: #199d6c;
  --warn: #c77b1f;
  --bad: #d64550;
  --grad: linear-gradient(135deg, #e05b3f, #c34a72);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-bg-soft: rgba(255, 255, 255, 0.42);
  --glass-line: rgba(43, 42, 46, 0.08);
  --glass-inner: rgba(255, 255, 255, 0.75);
  --blur: blur(22px) saturate(1.6);
  --blur-lite: blur(14px) saturate(1.4);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-lg: 0 24px 60px -24px rgba(62, 50, 42, 0.28), 0 6px 18px -8px rgba(62, 50, 42, 0.12);
  --shadow-md: 0 14px 34px -18px rgba(62, 50, 42, 0.24);
  --shadow-sm: 0 6px 16px -10px rgba(62, 50, 42, 0.2);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", monospace;
  --wrap: 1080px;
  --page-gutter: 22px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--acc1); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acc1); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--page-gutter); padding-right: var(--page-gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- aurora backdrop ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: var(--bg);
}
.aurora::before, .aurora::after,
.aurora .a-blob {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.75;
}
.aurora::before { width: 56vw; height: 44vh; left: -12vw; top: -10vh; background: #ffd9c2; }
.aurora::after { width: 48vw; height: 40vh; right: -10vw; top: -6vh; background: #fbd0d8; opacity: 0.65; }
.aurora .a-blob.mint { width: 52vw; height: 42vh; right: -14vw; bottom: -12vh; background: #c9e8e2; }
.aurora .a-blob.peach { width: 40vw; height: 34vh; left: -8vw; bottom: -10vh; background: #f6e4bf; opacity: 0.55; }

/* ---------- glass primitives ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-inner), var(--shadow-md);
  border-radius: var(--r-lg);
}
.glass-soft {
  background: var(--glass-bg-soft);
  -webkit-backdrop-filter: var(--blur-lite);
  backdrop-filter: var(--blur-lite);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), var(--shadow-sm);
  border-radius: var(--r-md);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; line-height: 1;
  padding: 13px 26px; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-hero {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(224, 91, 63, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-hero:hover { box-shadow: 0 16px 32px -10px rgba(224, 91, 63, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-glass {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--blur-lite); backdrop-filter: var(--blur-lite);
  border: 1px solid var(--glass-line); color: var(--ink);
  box-shadow: inset 0 1px 0 var(--glass-inner), var(--shadow-sm);
}
.btn-glass:hover { background: #fff; }
.btn-quiet {
  padding: 9px 16px; font-size: 0.88rem; font-weight: 500; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.4); border: 1px solid var(--glass-line); border-radius: 999px;
}
.btn-quiet:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.btn-danger { background: rgba(214, 69, 80, 0.1); color: var(--bad); border: 1px solid rgba(214, 69, 80, 0.25); }
.btn-danger:hover { background: rgba(214, 69, 80, 0.16); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-sm { padding: 8px 16px; font-size: 0.86rem; }

/* header account CTA — stronger than glass secondary buttons */
.btn-account {
  padding: 10px 20px; font-size: 0.92rem; font-weight: 700; gap: 7px;
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(224, 91, 63, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.btn-account:hover {
  color: #fff; text-decoration: none;
  box-shadow: 0 14px 28px -10px rgba(224, 91, 63, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.btn-account .acc-ico { display: inline-flex; flex-shrink: 0; }
.btn-account .acc-ico svg { width: 17px; height: 17px; }
.btn-account.is-authed {
  background: rgba(255, 255, 255, 0.96); color: var(--acc1);
  border: 1.5px solid rgba(224, 91, 63, 0.38);
  box-shadow: 0 6px 18px -8px rgba(224, 91, 63, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.btn-account.is-authed:hover {
  color: var(--acc1); background: #fff;
  border-color: rgba(224, 91, 63, 0.5);
  box-shadow: 0 8px 22px -8px rgba(224, 91, 63, 0.34);
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--glass-line);
}
.topbar .wrap { display: flex; align-items: center; gap: 10px; height: 62px; }
.brandmark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.brandmark:hover { text-decoration: none; }
.brandmark img { width: 30px; height: 30px; border-radius: 9px; }
.topnav { display: flex; align-items: center; gap: 2px; margin-left: 26px; }
.topnav a {
  position: relative; color: var(--ink-2); font-size: 0.92rem; padding: 8px 13px; border-radius: 10px;
}
.topnav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.65); text-decoration: none; }
/* current page: colored text + short gradient bar, so the nav never
   competes with the pill-shaped controls elsewhere in the bar */
.topnav a.is-here { color: var(--acc1); font-weight: 600; }
.topnav a.is-here:hover { background: none; }
.topnav a.is-here::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 1px; height: 2.5px;
  border-radius: 2px; background: var(--grad);
}
.topbar-side { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-burger svg { width: 21px; height: 21px; stroke: var(--ink); }
.nav-sheet { display: none; }

/* language menu */
.lang-pop { position: relative; }
.lang-pop > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  font-size: 0.88rem; color: var(--ink-2); border: 1px solid var(--glass-line);
  border-radius: 999px; background: rgba(255, 255, 255, 0.4); white-space: nowrap;
}
.lang-pop > button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.75); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(43, 42, 46, 0.1); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); z-index: 70;
}
.lang-menu a { display: block; padding: 9px 13px; border-radius: 10px; color: var(--ink-2); font-size: 0.92rem; background: transparent; }
.lang-menu a:hover { background: rgba(224, 91, 63, 0.08); color: var(--ink); text-decoration: none; }
.lang-menu a.is-current { color: var(--acc1); font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding: 44px 0 14px; text-align: center; position: relative; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  width: min(820px, 92vw); height: 360px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(closest-side, rgba(224, 91, 63, 0.14), transparent 72%) 30% 18% / 70% 90% no-repeat,
    radial-gradient(closest-side, rgba(20, 143, 150, 0.1), transparent 72%) 78% 60% / 55% 75% no-repeat;
  filter: blur(14px);
}
.hero h1 {
  font-size: clamp(1.55rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: 0.01em; line-height: 1.3;
}
.hero h1 .tint {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; display: inline-block; padding-bottom: 6px;
}
.hero h1 .tint .wave {
  position: absolute; left: 1%; bottom: -4px; width: 98%; height: 11px; overflow: visible;
}
.hero-sub { color: var(--ink-2); margin-top: 12px; font-size: clamp(0.92rem, 2vw, 1.04rem); }

/* dual-module segmented switch (dice rule 4.0.1) */
.mode-switch {
  display: inline-flex; margin: 22px auto 0; padding: 6px; gap: 6px;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-inner), var(--shadow-sm);
}
.mode-switch button {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 30px; border-radius: 999px; font-size: 1rem; font-weight: 600; color: var(--ink-2);
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.mode-switch button svg { width: 18px; height: 18px; }
.mode-switch button.is-on {
  color: #fff; background: var(--grad);
  box-shadow: 0 10px 22px -10px rgba(224, 91, 63, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.mode-switch button:not(.is-on):hover { color: var(--ink); background: rgba(255, 255, 255, 0.6); }

/* ---------- tool bento: address card + ttl tile + perks tile ---------- */
.tool-bento {
  display: grid; grid-template-columns: minmax(0, 1fr) 304px; grid-auto-rows: auto;
  gap: 16px; max-width: 1020px; margin: 30px auto 0; align-items: stretch;
}
.addr-card {
  grid-row: 1 / 3; padding: 30px 34px; position: relative; text-align: left;
  display: flex; flex-direction: column; justify-content: center;
  border: 1px solid transparent; border-radius: 30px;
  background:
    linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
    linear-gradient(135deg, rgba(224, 91, 63, 0.5), rgba(255, 255, 255, 0.95) 46%, rgba(20, 143, 150, 0.42)) border-box;
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 var(--glass-inner), var(--shadow-lg);
}
.addr-card::before {
  content: ""; position: absolute; inset: -40px -24px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(224, 91, 63, 0.16), transparent 72%) 10% 16% / 55% 90% no-repeat,
    radial-gradient(closest-side, rgba(20, 143, 150, 0.13), transparent 72%) 90% 84% / 50% 80% no-repeat;
  filter: blur(22px);
}
.addr-label { font-size: 0.82rem; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.addr-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.addr-text {
  font-family: var(--mono); font-size: clamp(1.05rem, 3.4vw, 1.5rem); font-weight: 600;
  letter-spacing: 0.01em; word-break: break-all; line-height: 1.35;
}
.addr-text.is-loading { color: var(--ink-3); animation: fw-pulse 1.2s ease-in-out infinite; }
.addr-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.addr-note { margin-top: 13px; font-size: 0.78rem; color: var(--ink-3); }

/* ttl tile: countdown ring + extend action */
.ttl-tile { display: flex; align-items: center; gap: 18px; padding: 16px 22px; }
.addr-ring { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.addr-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-track { fill: none; stroke: rgba(43, 42, 46, 0.08); stroke-width: 7; }
.ring-arc {
  fill: none; stroke: url(#fw-ringg); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 289.03; stroke-dashoffset: 289.03;
  transition: stroke-dashoffset 0.6s ease;
}
.ring-text {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
}
.ring-text b { font-family: var(--mono); font-size: 0.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ring-text span { font-size: 0.58rem; color: var(--ink-3); letter-spacing: 0.05em; }
.addr-ring.is-low .ring-arc { stroke: var(--bad); }
.addr-ring.is-low .ring-text b { color: var(--bad); }
.ttl-side { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }
.ttl-note { font-size: 0.74rem; color: var(--ink-3); line-height: 1.5; }

/* perks tile: static trust facts */
.perk-tile { display: flex; flex-direction: column; justify-content: center; gap: 13px; padding: 16px 22px; }
.perk-row { display: flex; align-items: center; gap: 11px; min-width: 0; }
.perk-row .pk-ico {
  width: 32px; height: 32px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(224, 91, 63, 0.09); color: var(--acc1);
}
.perk-row:first-child .pk-ico { background: rgba(20, 143, 150, 0.1); color: #0e7c82; }
.perk-row:last-child .pk-ico { background: rgba(195, 74, 114, 0.09); color: var(--acc2); }
.perk-row .pk-ico svg { width: 15px; height: 15px; }
.perk-row .pk-txt { min-width: 0; }
.perk-row .pk-txt b { display: block; font-size: 0.86rem; font-weight: 600; }
.perk-row .pk-txt span { display: block; font-size: 0.76rem; color: var(--ink-3); }

/* legacy pill (kept for other pages) */
.ttl-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: 999px; background: rgba(20, 143, 150, 0.08);
  border: 1px solid rgba(20, 143, 150, 0.2);
  font-size: 0.9rem; color: #0e7c82;
}
.ttl-pill b { font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.ttl-pill.is-low { background: rgba(214, 69, 80, 0.08); border-color: rgba(214, 69, 80, 0.22); color: var(--bad); }

/* ---------- inbox panel (split view: list | reader) ---------- */
.inbox-panel { margin: 30px auto 0; overflow: hidden; }
.split-body { display: grid; grid-template-columns: 350px minmax(0, 1fr); min-height: 640px; }
.reader { display: flex; flex-direction: column; padding: 22px 26px; max-height: 680px; overflow-y: auto; min-width: 0; }
.reader .mail-frame-box { flex: 1 1 auto; min-height: 0; }
.reader-empty {
  height: 100%; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--ink-3); font-size: 0.9rem; padding: 30px 20px; text-align: center;
}
.reader-empty svg { width: 44px; height: 44px; opacity: 0.5; }
.reader-head { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--glass-line); }
.reader-head h3 { font-size: 1.05rem; line-height: 1.45; overflow-wrap: anywhere; flex: 1; min-width: 0; }
.reader-head .icon-btn { flex-shrink: 0; }
.reader .detail-meta { margin-top: 12px; }
.inbox-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 22px;
  border-bottom: 1px solid var(--glass-line);
}
.inbox-head h2 { font-size: 1rem; font-weight: 700; }
.inbox-count {
  font-size: 0.8rem; color: var(--acc1); background: rgba(224, 91, 63, 0.1);
  padding: 2px 11px; border-radius: 999px; font-variant-numeric: tabular-nums;
}
.inbox-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); border: 1px solid transparent;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.7); border-color: var(--glass-line); color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn.is-busy svg { animation: fw-spin 0.9s linear infinite; }

.mail-list { min-height: 132px; border-right: 1px solid var(--glass-line); max-height: 680px; overflow-y: auto; }
.mail-row {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) max-content;
  align-items: center; column-gap: 12px; row-gap: 3px; width: 100%; text-align: left;
  padding: 12px 16px; border-bottom: 1px solid rgba(43, 42, 46, 0.05);
  transition: background 0.12s ease;
}
.mail-row:last-child { border-bottom: 0; }
.mail-row:hover { background: rgba(255, 255, 255, 0.55); }
.mail-row.is-active { background: rgba(224, 91, 63, 0.07); box-shadow: inset 3px 0 0 var(--acc1); }
.mail-row .mail-ava { grid-row: 1 / 3; }
.mail-subject { grid-column: 2 / 4; grid-row: 2; }
.mail-when { grid-column: 3; grid-row: 1; }
.mail-ava {
  width: 40px; height: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; color: #fff; background: var(--grad); flex-shrink: 0;
}
.mail-from { display: block; font-weight: 600; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-addr { display: block; color: var(--ink-3); font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-subject { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mail-subject .sub-text {
  display: block; color: var(--ink-2); font-size: 0.92rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mail-row.is-unread .sub-text { color: var(--ink); font-weight: 600; }
.unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc1); flex-shrink: 0; }
.mail-when { color: var(--ink-3); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; flex-shrink: 0;
}
.chip-demo { background: rgba(199, 123, 31, 0.12); color: var(--warn); }
.chip-att { background: rgba(20, 143, 150, 0.12); color: #0e7c82; }
.chip svg { width: 11px; height: 11px; }

.inbox-empty { padding: 22px 22px 16px; text-align: center; color: var(--ink-3); font-size: 0.92rem; }

/* ---------- detail sheet (modal) ---------- */
.veil {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(30, 38, 60, 0.32);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: fw-veil 0.18s ease;
}
.sheet {
  width: min(760px, 100%); max-height: min(84vh, 900px); display: flex; flex-direction: column;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  animation: fw-lift 0.22s cubic-bezier(0.22, 0.9, 0.3, 1.2);
}
.sheet-sm { width: min(460px, 100%); }
.veil.is-closing { animation: fw-veil 0.16s ease reverse forwards; }
.veil.is-closing .sheet { animation: fw-drop 0.16s ease forwards; }
.sheet-head {
  display: flex; align-items: flex-start; gap: 12px; padding: 18px 22px 14px;
  border-bottom: 1px solid var(--glass-line);
}
.sheet-head h3 { font-size: 1.02rem; line-height: 1.4; overflow-wrap: anywhere; }
.sheet-head .icon-btn { flex-shrink: 0; margin-left: auto; }
.sheet-body { padding: 18px 22px; overflow-y: auto; min-height: 0; }
.sheet-foot {
  display: flex; align-items: center; gap: 10px; padding: 14px 22px;
  border-top: 1px solid var(--glass-line); flex-wrap: wrap;
}
.sheet-foot .spacer { flex: 1; }

.detail-meta { display: grid; gap: 5px; font-size: 0.86rem; color: var(--ink-2); }
.detail-meta b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.mail-frame-box { margin-top: 14px; border: 1px solid var(--glass-line); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.mail-frame-box iframe { width: 100%; border: 0; min-height: 180px; }
.plain-body { white-space: pre-wrap; font-size: 0.94rem; margin-top: 14px; overflow-wrap: anywhere; }

.notice-box {
  display: flex; gap: 10px; padding: 12px 15px; margin-top: 14px;
  background: rgba(20, 143, 150, 0.07); border: 1px solid rgba(20, 143, 150, 0.2);
  border-radius: var(--r-sm); font-size: 0.86rem; color: var(--ink-2);
}
.notice-box svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--acc3); margin-top: 2px; }
.notice-box.tone-warn { background: rgba(199, 123, 31, 0.07); border-color: rgba(199, 123, 31, 0.22); }
.notice-box.tone-warn svg { color: var(--warn); }

.att-list { margin-top: 14px; display: grid; gap: 8px; max-height: min(180px, 26vh); overflow-y: auto; }
.att-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 13px;
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--glass-line); border-radius: var(--r-sm);
  font-size: 0.88rem;
}
.att-item svg { width: 16px; height: 16px; color: var(--ink-3); flex-shrink: 0; }
.att-item .att-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-item .att-size { color: var(--ink-3); font-size: 0.78rem; }

/* ---------- toast ---------- */
.toastbar {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 9px; padding: 11px 20px;
  background: rgba(43, 42, 46, 0.88); color: #fff; font-size: 0.9rem;
  border-radius: 999px; box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: fw-lift 0.25s cubic-bezier(0.22, 0.9, 0.3, 1.2);
  max-width: min(92vw, 480px);
}
.toast.tone-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.toast.tone-bad::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f87171; flex-shrink: 0; }
.toast.is-going { animation: fw-drop 0.2s ease forwards; }

/* ---------- custom dropdown ---------- */
.dz-trigger {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px;
  border-radius: 999px; border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.55); font-size: 0.88rem; color: var(--ink-2);
  max-width: 220px;
}
.dz-trigger:hover { background: rgba(255, 255, 255, 0.85); color: var(--ink); }
.dz-trigger .dz-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-trigger svg { width: 13px; height: 13px; flex-shrink: 0; transition: transform 0.15s ease; }
.dz-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.dz-pop {
  position: fixed; z-index: 110; min-width: 170px; max-width: 280px; max-height: 300px; overflow-y: auto;
  padding: 6px; background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  animation: fw-lift 0.16s ease;
}
.dz-pop [role="option"] {
  display: block; width: 100%; text-align: left; padding: 9px 13px; border-radius: 10px;
  font-size: 0.9rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dz-pop [role="option"]:hover, .dz-pop [role="option"].is-focus { background: rgba(224, 91, 63, 0.08); color: var(--ink); }
.dz-pop [role="option"][aria-selected="true"] { color: var(--acc1); font-weight: 600; }

/* ---------- forward zone ---------- */
.zone { animation: fw-fade 0.25s ease; }
#zone-fw,
#fd-auth,
#fd-desk,
.auth-card,
.desk-shell {
  scroll-margin-top: 82px;
}
.desk-shell { max-width: 980px; margin: 26px auto 0; }

/* login: two-panel glass card (value aside | step forms) */
.auth-card {
  max-width: 920px; margin: 26px auto 0; position: relative;
  display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: stretch;
  overflow: hidden; text-align: left;
  border: 1px solid transparent; border-radius: 30px;
  background:
    linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
    linear-gradient(150deg, rgba(20, 143, 150, 0.42), rgba(255, 255, 255, 0.95) 50%, rgba(224, 91, 63, 0.45)) border-box;
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 var(--glass-inner), var(--shadow-lg);
}
.auth-aside {
  padding: 36px 30px; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  background: linear-gradient(168deg, rgba(20, 143, 150, 0.12), rgba(224, 91, 63, 0.09) 55%, rgba(195, 74, 114, 0.12));
  border-right: 1px solid var(--glass-line);
}
.aside-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px; font-size: 0.76rem; font-weight: 600;
  color: #0e7c82; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(20, 143, 150, 0.25);
}
.aside-badge svg { width: 13px; height: 13px; }
.auth-aside h2 { font-size: 1.32rem; line-height: 1.5; letter-spacing: 0.01em; }
.aside-points { display: grid; gap: 15px; }
.aside-points li { display: flex; gap: 12px; align-items: flex-start; }
.aside-points .ap-ico {
  width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.68); border: 1px solid var(--glass-line); color: #0e7c82;
}
.aside-points li:nth-child(2) .ap-ico { color: var(--acc1); }
.aside-points li:nth-child(3) .ap-ico { color: var(--acc2); }
.aside-points .ap-ico svg { width: 16px; height: 16px; }
.aside-points b { display: block; font-size: 0.92rem; }
.aside-points span { display: block; font-size: 0.79rem; color: var(--ink-2); margin-top: 1px; }

.auth-main { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; min-height: 380px; }
.auth-main h3 { font-size: 1.22rem; }
.auth-main .auth-note { color: var(--ink-2); font-size: 0.92rem; margin-top: 10px; max-width: 46ch; }
.auth-field { margin-top: 24px; display: flex; gap: 10px; max-width: 480px; }
.auth-field input {
  flex: 1; min-width: 0; padding: 14px 20px; border-radius: 999px;
  border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}
.auth-field input:focus { outline: 2px solid rgba(224, 91, 63, 0.4); outline-offset: 0; }
.auth-hint { margin-top: 16px; font-size: 0.82rem; color: var(--ink-3); max-width: 52ch; }
.code-boxes { display: flex; gap: 10px; justify-content: flex-start; margin-top: 24px; }
.code-boxes input {
  width: 50px; height: 60px; text-align: center; font-family: var(--mono); font-size: 1.4rem; font-weight: 600;
  border: 1px solid var(--glass-line); border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.72); caret-color: var(--acc1);
}
.code-boxes input:focus { outline: 2px solid rgba(224, 91, 63, 0.45); outline-offset: 0; }
.auth-links { display: flex; justify-content: flex-start; gap: 18px; margin-top: 20px; font-size: 0.86rem; }
.auth-links button { color: var(--acc1); }
.auth-links button[disabled] { color: var(--ink-3); cursor: default; }

/* console */
.desk-top {
  display: flex; align-items: center; gap: 14px; padding: 18px 24px; flex-wrap: wrap;
}
.desk-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.desk-id .mail-ava { width: 40px; height: 40px; }
.desk-id .who { min-width: 0; }
.desk-id .who b { display: block; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-id .who span { font-size: 0.78rem; color: var(--ink-3); }
.desk-stats { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.stat-pill {
  padding: 7px 16px; border-radius: 999px; font-size: 0.84rem; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.5); border: 1px solid var(--glass-line);
}
.stat-pill b { color: var(--ink); font-variant-numeric: tabular-nums; }

.desk-tabs { display: flex; gap: 6px; padding: 0 24px 16px; flex-wrap: wrap; }
.desk-tabs button {
  padding: 9px 20px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2);
  border: 1px solid transparent;
}
.desk-tabs button.is-on { color: var(--acc1); background: rgba(224, 91, 63, 0.1); border-color: rgba(224, 91, 63, 0.18); }
.desk-tabs button:not(.is-on):hover { background: rgba(255, 255, 255, 0.6); color: var(--ink); }
.desk-pane { border-top: 1px solid var(--glass-line); padding: 20px 24px 24px; }

/* alias */
.alias-new { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.alias-new .prefix-wrap {
  flex: 1; min-width: 240px; display: flex; align-items: center;
  border: 1px solid var(--glass-line); border-radius: 999px; background: rgba(255, 255, 255, 0.72);
  padding: 0 18px;
  transition: border-color .15s ease, outline-color .15s ease;
}
/* Focus lights up the whole joined control (input + suffix badge), not just the input half. */
.alias-new .prefix-wrap:focus-within { border-color: var(--acc1); outline: 2px solid rgba(224, 91, 63, 0.4); outline-offset: 0; }
.alias-new input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; }
.alias-new input:focus { outline: none; }
.alias-new .suffix { color: var(--ink-3); font-family: var(--mono); font-size: 0.9rem; }
.field-error { width: 100%; color: var(--bad); font-size: 0.84rem; padding: 2px 6px 0; }
.field-error:empty { display: none; }

.alias-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.alias-tile { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.alias-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.alias-line .a-addr {
  font-family: var(--mono); font-size: 0.9rem; font-weight: 600; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.alias-sub { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--ink-3); flex-wrap: wrap; }
.alias-foot { display: flex; gap: 8px; margin-top: 2px; }
.state-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; justify-self: start; }
.state-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state-tag.on { color: var(--ok); }
.state-tag.off { color: var(--ink-3); }

/* archive */
.arch-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.arch-tools .spacer { flex: 1; }
.arch-list { margin-top: 16px; display: grid; gap: 10px; }
.arch-row {
  display: grid; grid-template-columns: minmax(96px, max-content) minmax(0, 1.4fr) minmax(0, 2fr) max-content;
  gap: 12px; align-items: center; width: 100%; text-align: left;
  padding: 13px 16px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.5); border: 1px solid var(--glass-line);
  transition: background 0.12s ease;
}
.arch-row:hover { background: rgba(255, 255, 255, 0.8); }
.st-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 600; justify-self: start;
}
.st-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-forwarded { background: rgba(25, 157, 108, 0.1); color: var(--ok); }
.st-spam { background: rgba(199, 123, 31, 0.12); color: var(--warn); }
.st-failed { background: rgba(214, 69, 80, 0.1); color: var(--bad); }
.st-pending { background: rgba(20, 143, 150, 0.1); color: #0e7c82; }
.arch-who { min-width: 0; }
.arch-who b { display: block; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arch-who span { display: block; font-size: 0.76rem; color: var(--ink-3); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arch-sub { min-width: 0; font-size: 0.9rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arch-side { text-align: right; font-size: 0.76rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.arch-side .days { display: block; }

/* 2FA */
.tfa-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; flex-wrap: wrap; }
.tfa-card .tfa-icon {
  width: 46px; height: 46px; border-radius: 14px; background: rgba(224, 91, 63, 0.1);
  display: flex; align-items: center; justify-content: center; color: var(--acc1); flex-shrink: 0;
}
.tfa-card .tfa-icon svg { width: 22px; height: 22px; }
.tfa-card .tfa-text { flex: 1; min-width: 200px; }
.tfa-card .tfa-text b { display: block; font-size: 0.95rem; }
.tfa-card .tfa-text span { font-size: 0.84rem; color: var(--ink-2); }
.qr-box { display: flex; gap: 18px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.qr-box img { width: 150px; height: 150px; border-radius: var(--r-sm); border: 1px solid var(--glass-line); background: #fff; }
.secret-line {
  font-family: var(--mono); font-size: 0.82rem; padding: 9px 13px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.6); border: 1px dashed var(--glass-line);
  overflow-wrap: anywhere; flex: 1; min-width: 200px;
}
.tfa-steps { margin-top: 14px; display: grid; gap: 8px; font-size: 0.88rem; color: var(--ink-2); }
.tfa-steps li { display: flex; gap: 10px; }
.tfa-steps .n {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(224, 91, 63, 0.1); color: var(--acc1);
  font-size: 0.76rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-top: 2px;
}

/* empty states */
.empty-tip { padding: 30px 20px; text-align: center; color: var(--ink-3); font-size: 0.9rem; }
.empty-tip svg { width: 38px; height: 38px; margin: 0 auto 10px; color: var(--ink-3); opacity: 0.6; }

/* ---------- marketing sections ---------- */
.section { padding-top: 64px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.section-head h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700; }
.section-head p { color: var(--ink-2); margin-top: 10px; font-size: 0.95rem; }

/* stats strip: borderless numbers with hairline separators */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-strip .st-cell { text-align: center; padding: 8px 14px; position: relative; }
.stat-strip .st-cell + .st-cell::before {
  content: ""; position: absolute; left: 0; top: 16%; bottom: 16%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(43, 42, 46, 0.16), transparent);
}
.stat-strip b {
  display: block; font-size: clamp(1.5rem, 3.4vw, 2.15rem); font-weight: 700; line-height: 1.2;
  font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-strip .st-cell:nth-child(even) b { background: linear-gradient(135deg, #148f96, #0e7c82); -webkit-background-clip: text; background-clip: text; }
.stat-strip span { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--ink-2); }

/* editorial split section: sticky-ish head left, borderless trait rows right */
.duo-sec { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); gap: clamp(26px, 5vw, 76px); align-items: start; }
.duo-head h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.4; }
.duo-head > p { color: var(--ink-2); margin-top: 14px; font-size: 0.95rem; }
.duo-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  padding: 9px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: #0e7c82;
  background: rgba(20, 143, 150, 0.08); border: 1px solid rgba(20, 143, 150, 0.22);
}
.trait-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.trait-list li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px;
  padding: 18px 0; border-bottom: 1px dashed rgba(43, 42, 46, 0.14); align-items: start;
}
.trait-list li:nth-last-child(-n+2) { border-bottom: 0; }
.trait-list .t-ico {
  width: 40px; height: 40px; border-radius: 13px; grid-row: 1 / 3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(224, 91, 63, 0.1); color: var(--acc1);
}
.trait-list li:nth-child(3n+2) .t-ico { background: rgba(20, 143, 150, 0.1); color: var(--acc3); }
.trait-list li:nth-child(3n) .t-ico { background: rgba(195, 74, 114, 0.1); color: var(--acc2); }
.trait-list .t-ico svg { width: 19px; height: 19px; }
.trait-list h3 { font-size: 0.96rem; align-self: center; }
.trait-list p { font-size: 0.85rem; color: var(--ink-2); grid-column: 2; }

/* connected numbered steps (no boxes) */
.lane-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; position: relative; counter-reset: lane; max-width: 940px; margin: 0 auto; }
.lane-steps::before {
  content: ""; position: absolute; top: 24px; left: 17%; right: 17%; height: 2px;
  background: linear-gradient(90deg, rgba(224, 91, 63, 0.45), rgba(195, 74, 114, 0.4), rgba(20, 143, 150, 0.38));
}
.lane-step { counter-increment: lane; text-align: center; padding: 0 10px; }
.lane-step .ln-dot {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--blur-lite); backdrop-filter: var(--blur-lite);
  box-shadow: var(--shadow-sm);
  font-family: var(--mono); font-size: 1.05rem; font-weight: 700; color: var(--acc1);
}
.lane-step .ln-dot::before { content: counter(lane); }
.lane-step:nth-child(2) .ln-dot { color: var(--acc2); }
.lane-step:nth-child(3) .ln-dot { color: #0e7c82; }
.lane-step h3 { margin-top: 16px; font-size: 0.98rem; }
.lane-step p { margin-top: 7px; font-size: 0.88rem; color: var(--ink-2); }

/* photo band: copy left, photo right with floating chip */
.photo-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 26px; align-items: center; padding: 26px; }
.photo-band .pb-img { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); }
.photo-band .pb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-band .pb-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(224, 91, 63, 0.18), rgba(195, 74, 114, 0.06) 55%, rgba(20, 143, 150, 0.1));
  mix-blend-mode: multiply;
}
.pb-chip {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px;
  border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: var(--blur-lite); backdrop-filter: var(--blur-lite);
  border: 1px solid var(--glass-line); box-shadow: var(--shadow-sm);
}
.pb-chip svg { width: 14px; height: 14px; color: var(--acc1); }
.photo-band .pb-copy h2 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); line-height: 1.4; }
.photo-band .pb-copy > p { color: var(--ink-2); margin-top: 12px; font-size: 0.94rem; }
.pb-points { margin-top: 18px; display: grid; gap: 11px; }
.pb-points li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--ink-2); }
.pb-points svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; margin-top: 3px; }

/* scenario pill cloud */
.scene-cloud { display: flex; flex-wrap: wrap; gap: 12px 12px; justify-content: center; max-width: 880px; margin: 0 auto; }
.scene-pill {
  display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--blur-lite); backdrop-filter: var(--blur-lite);
  font-size: 0.9rem; color: var(--ink-2);
}
.scene-pill.hot { background: rgba(224, 91, 63, 0.1); border-color: rgba(224, 91, 63, 0.28); color: #b44730; font-weight: 600; }
.scene-pill.alt { background: rgba(20, 143, 150, 0.08); border-color: rgba(20, 143, 150, 0.25); color: #0e7c82; font-weight: 600; }
.scene-more { text-align: center; margin-top: 26px; font-size: 0.92rem; }
.scene-more a { font-weight: 600; }

/* comparison table */
.vs-table-box { overflow-x: auto; padding: 6px; }
.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 620px; font-size: 0.9rem; }
.vs-table th, .vs-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--glass-line); }
.vs-table thead th { font-size: 0.84rem; color: var(--ink-3); font-weight: 600; }
.vs-table thead th:nth-child(2) { color: var(--acc1); }
.vs-table thead th:nth-child(3) { color: var(--acc2); }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table tbody th { font-weight: 600; color: var(--ink-2); white-space: nowrap; }

/* FAQ: intro column + accordion column */
.faq-duo { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(26px, 4vw, 64px); align-items: start; }
.faq-intro h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.4; }
.faq-intro > p { color: var(--ink-2); margin-top: 14px; font-size: 0.95rem; }
.faq-mail {
  margin-top: 22px; padding: 16px 18px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.5); border: 1px dashed var(--glass-line);
  font-size: 0.86rem; color: var(--ink-2);
}
.faq-mail a { font-family: var(--mono); font-weight: 600; font-size: 0.84rem; }
.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 17px 22px; font-weight: 600; font-size: 0.96rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 9px; height: 9px; margin-left: auto; flex-shrink: 0;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform 0.18s ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item .faq-a { padding: 0 22px 18px; color: var(--ink-2); font-size: 0.9rem; }
.faq-item .faq-a a { font-weight: 600; }

/* CTA banner: split layout with decorative ring */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  text-align: left; padding: 40px 46px; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background:
    radial-gradient(closest-side, rgba(224, 91, 63, 0.16), transparent 70%) 20% 30% / 60% 80% no-repeat,
    radial-gradient(closest-side, rgba(20, 143, 150, 0.14), transparent 70%) 80% 70% / 60% 80% no-repeat;
}
.cta-band::after {
  content: ""; position: absolute; right: -70px; top: -80px; width: 230px; height: 230px;
  border-radius: 50%; border: 30px solid rgba(224, 91, 63, 0.08); pointer-events: none;
}
.cta-band .cta-copy { max-width: 560px; }
.cta-band h2 { font-size: clamp(1.25rem, 2.8vw, 1.6rem); }
.cta-band p { color: var(--ink-2); margin-top: 10px; font-size: 0.94rem; }
.cta-band .btn-row { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- footer ---------- */
.sitefoot { margin-top: 70px; border-top: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.4); -webkit-backdrop-filter: var(--blur-lite); backdrop-filter: var(--blur-lite); }
.foot-grid { display: grid; grid-template-columns: 1.55fr 1fr 1.15fr 0.95fr; gap: 28px 32px; padding: 48px 0 32px; }
.foot-brand p { color: var(--ink-2); font-size: 0.88rem; line-height: 1.65; margin-top: 12px; max-width: 320px; }
.foot-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none;
}
.foot-chips li {
  font-size: 0.72rem; font-weight: 600; color: var(--ink-2);
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid var(--glass-line);
}
.foot-col h4 {
  font-size: 0.8rem; font-weight: 700; color: var(--ink-3);
  letter-spacing: 0.04em; margin-bottom: 14px;
}
.foot-col a {
  display: block; color: var(--ink-2); font-size: 0.9rem; padding: 7px 0;
  line-height: 1.35; border-bottom: 1px solid transparent;
}
.foot-col a:hover { color: var(--acc1); text-decoration: none; }
.foot-col a .foot-note {
  display: block; margin-top: 2px; font-size: 0.75rem; font-weight: 400;
  color: var(--ink-3); line-height: 1.4;
}
.foot-col a:hover .foot-note { color: var(--ink-3); }
.foot-base {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 0 22px; border-top: 1px solid var(--glass-line);
  color: var(--ink-3); font-size: 0.82rem;
}
.foot-base .spacer { flex: 1; }
.foot-base a { color: var(--ink-2); }
.foot-base a:hover { color: var(--acc1); text-decoration: none; }

/* ---------- animations ---------- */
@keyframes fw-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes fw-spin { to { transform: rotate(360deg); } }
@keyframes fw-veil { from { opacity: 0; } to { opacity: 1; } }
@keyframes fw-lift { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fw-drop { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(10px); } }
@keyframes fw-fade { from { opacity: 0; } to { opacity: 1; } }

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

/* ============================================================
   Sub-page components (forwarding intro / scenes / legal / blog)
   ============================================================ */

/* --- sub-page hero --- */
.page-hero { padding-top: 46px; padding-bottom: 10px; }
.page-hero.is-center { text-align: center; }
.ph-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 600; color: #0e7c82;
  background: rgba(20, 143, 150, 0.1); border: 1px solid rgba(20, 143, 150, 0.2);
  border-radius: 999px; padding: 6px 14px;
}
.ph-eyebrow svg { width: 14px; height: 14px; }
.page-hero h1 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); line-height: 1.25; margin-top: 16px; letter-spacing: -0.01em; }
.page-hero h1 .tint { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-lead { margin-top: 14px; color: var(--ink-2); font-size: clamp(0.94rem, 2vw, 1.05rem); max-width: 62ch; }
.page-hero.is-center .ph-lead { margin-left: auto; margin-right: auto; }
.ph-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero.is-center .ph-actions { justify-content: center; }

/* --- forwarding: 4-node flow rail --- */
.flow-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.flow-node { position: relative; text-align: center; padding: 24px 16px 22px; }
.flow-node:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -16px; width: 12px; height: 12px;
  border-top: 2.5px solid var(--acc1); border-right: 2.5px solid var(--acc1);
  transform: translateY(-50%) rotate(45deg); opacity: 0.65;
}
.fn-ico {
  width: 46px; height: 46px; margin: 0 auto; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-sm);
}
.fn-ico svg { width: 22px; height: 22px; }
.flow-node h3 { font-size: 0.98rem; margin-top: 13px; }
.flow-node p { font-size: 0.82rem; color: var(--ink-3); margin-top: 6px; line-height: 1.55; }

/* --- forwarding: attachment tier cards --- */
.tier-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 940px; margin: 0 auto; }
.tier-card { padding: 22px 24px; border-top: 4px solid transparent; }
.tier-card.t-ok { border-top-color: var(--ok); }
.tier-card.t-mid { border-top-color: var(--warn); }
.tier-card.t-no { border-top-color: var(--bad); }
.tier-size { font-size: 1.22rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.tier-tag {
  display: inline-flex; margin-top: 8px; font-size: 0.76rem; font-weight: 700;
  border-radius: 999px; padding: 3px 11px;
}
.t-ok .tier-tag { background: rgba(25, 157, 108, 0.12); color: var(--ok); }
.t-mid .tier-tag { background: rgba(199, 123, 31, 0.13); color: var(--warn); }
.t-no .tier-tag { background: rgba(214, 69, 80, 0.1); color: var(--bad); }
.tier-card p { font-size: 0.86rem; color: var(--ink-2); margin-top: 12px; line-height: 1.6; }

/* --- scene page: scenario cards --- */
.scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scene-card { padding: 22px 24px; }
.sc-top { display: flex; align-items: center; gap: 12px; }
.sc-ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(224, 91, 63, 0.1); color: var(--acc1);
}
.sc-ico svg { width: 20px; height: 20px; }
.sc-top h3 { font-size: 1.02rem; flex: 1; min-width: 0; }
.sc-tool {
  flex-shrink: 0; font-size: 0.74rem; font-weight: 700; border-radius: 999px; padding: 4px 12px; white-space: nowrap;
}
.sc-tool.tl-temp { background: rgba(20, 143, 150, 0.1); color: #0e7c82; border: 1px solid rgba(20, 143, 150, 0.22); }
.sc-tool.tl-alias { background: rgba(224, 91, 63, 0.09); color: var(--acc1); border: 1px solid rgba(224, 91, 63, 0.24); }
.scene-card > p { font-size: 0.88rem; color: var(--ink-2); margin-top: 12px; }
.sc-how { margin-top: 12px; font-size: 0.84rem; color: var(--ink-2); display: grid; gap: 7px; }
.sc-how li { display: flex; gap: 9px; align-items: baseline; }
.sc-how li::before { content: "→"; color: var(--acc1); font-weight: 700; flex-shrink: 0; }

/* --- scene page: decision path diagram --- */
.pick-path { max-width: 820px; margin: 0 auto; }
.pick-q {
  max-width: 420px; margin: 0 auto; text-align: center; padding: 18px 26px;
  font-weight: 700; font-size: 1.02rem; position: relative;
}
.pick-arms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 46px; position: relative; }
.pick-arms::before {
  content: ""; position: absolute; left: 25%; right: 25%; top: -24px; height: 24px;
  border: 2px dashed rgba(224, 91, 63, 0.35); border-bottom: 0; border-radius: 14px 14px 0 0;
}
.pick-card { text-align: center; padding: 26px 22px; position: relative; }
.pick-ans {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 0.76rem; font-weight: 700; border-radius: 999px; padding: 4px 14px;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow-sm);
}
.pick-card h3 { font-size: 1.08rem; }
.pick-card h3 .tint { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pick-card p { font-size: 0.86rem; color: var(--ink-2); margin-top: 9px; }
.pick-card .btn { margin-top: 16px; }

/* --- legal document pages --- */
.law-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 30px; }
.law-toc { position: sticky; top: 86px; padding: 18px 20px; font-size: 0.86rem; }
.law-toc strong { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.law-toc a { display: block; padding: 5px 0; color: var(--ink-2); }
.law-toc a:hover { color: var(--acc1); text-decoration: none; }
.law-doc { padding: clamp(26px, 4vw, 46px); }
.law-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-3); }
.law-meta .chip { background: rgba(20, 143, 150, 0.1); color: #0e7c82; }
.law-brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.law-brief li { padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.55); border: 1px solid var(--glass-line); font-size: 0.84rem; color: var(--ink-2); }
.law-brief li b { display: block; color: var(--ink); font-size: 0.9rem; margin-bottom: 3px; }
.law-doc h2 { font-size: 1.14rem; margin-top: 38px; scroll-margin-top: 86px; padding-top: 22px; border-top: 1px dashed rgba(43, 42, 46, 0.12); }
.law-doc h2:first-of-type { border-top: 0; padding-top: 0; }
.law-doc p { margin-top: 12px; font-size: 0.92rem; color: #46474f; }
.law-doc ul { margin-top: 12px; display: grid; gap: 8px; font-size: 0.92rem; color: #46474f; }
.law-doc ul li { padding-left: 20px; position: relative; }
.law-doc ul li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc1); opacity: 0.55; }
.law-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.88rem; }
.law-table th, .law-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--glass-line); }
.law-table th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.law-table td:first-child { font-weight: 600; }

/* --- blog list --- */
.blog-count {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; vertical-align: middle;
  font-size: 0.8rem; font-weight: 700; color: var(--acc1);
  background: rgba(224, 91, 63, 0.09); border: 1px solid rgba(224, 91, 63, 0.22);
  border-radius: 999px; padding: 4px 13px;
}
.post-lead {
  display: block; margin-top: 30px; padding: clamp(24px, 3.6vw, 40px);
  position: relative; overflow: hidden; color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-lead:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-lead::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--grad); }
.post-lead .post-date { color: var(--ink-3); font-size: 0.84rem; }
.post-lead h2 { font-size: clamp(1.2rem, 2.6vw, 1.55rem); margin-top: 8px; line-height: 1.35; }
.post-lead p.px { color: var(--ink-2); margin-top: 10px; max-width: 72ch; }
.latest-flag {
  display: inline-flex; font-size: 0.74rem; font-weight: 700; color: #fff;
  background: var(--grad); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-top: 18px; }
.post-card {
  display: flex; flex-direction: column; gap: 9px; padding: 24px 24px 22px; color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card h2 { font-size: 1.04rem; line-height: 1.45; }
.post-card .post-date { color: var(--ink-3); font-size: 0.8rem; }
.post-card p.px { color: var(--ink-2); font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-tail { margin-top: auto; padding-top: 6px; font-size: 0.84rem; font-weight: 600; color: var(--acc1); }

/* --- article page --- */
.crumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 0.84rem; color: var(--ink-3); padding-top: 26px; }
.crumbs a { color: var(--ink-2); }
.crumbs svg { width: 12px; height: 12px; opacity: 0.6; }
.art-hero { padding: 20px 0 6px; max-width: 780px; }
.art-hero h1 { font-size: clamp(1.45rem, 3.2vw, 2.05rem); line-height: 1.3; letter-spacing: -0.01em; }
.art-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 0.84rem; color: var(--ink-3); }
.art-meta b { color: var(--ink-2); font-weight: 600; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 40px; align-items: start; margin-top: 26px; }
.art-toc { position: sticky; top: 86px; padding: 18px 20px; font-size: 0.86rem; }
.art-toc strong { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.art-toc a { display: block; padding: 5px 0 5px 12px; color: var(--ink-2); border-left: 2px solid transparent; }
.art-toc a:hover { color: var(--acc1); text-decoration: none; border-left-color: rgba(224, 91, 63, 0.5); }
.art-main { padding: clamp(26px, 4vw, 48px); }
.art-body h2 { font-size: 1.26rem; margin-top: 40px; scroll-margin-top: 86px; }
.art-body h2:first-child { margin-top: 0; }
.art-body h2 .h-mark { color: var(--acc1); margin-right: 8px; }
.art-body h3 { font-size: 1.04rem; margin-top: 26px; }
.art-body p { margin-top: 14px; font-size: 0.95rem; color: #43444c; }
.art-body ul, .art-body ol { margin-top: 14px; display: grid; gap: 9px; font-size: 0.95rem; color: #43444c; }
.art-body ul li { padding-left: 20px; position: relative; }
.art-body ul li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc1); opacity: 0.55; }
.art-body ol { counter-reset: artol; }
.art-body ol li { padding-left: 30px; position: relative; counter-increment: artol; }
.art-body ol li::before {
  content: counter(artol); position: absolute; left: 0; top: 0.14em;
  width: 21px; height: 21px; border-radius: 50%; font-size: 0.74rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  background: rgba(224, 91, 63, 0.1); color: var(--acc1);
}
.art-body table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.88rem; }
.art-body th, .art-body td { text-align: left; padding: 10px 13px; border-bottom: 1px solid var(--glass-line); vertical-align: top; }
.art-body th { font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.call-box { margin-top: 18px; padding: 15px 18px; border-radius: var(--r-sm); font-size: 0.9rem; display: flex; gap: 11px; align-items: flex-start; }
.call-box svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.call-tip { background: rgba(20, 143, 150, 0.08); border: 1px solid rgba(20, 143, 150, 0.2); color: #0b6167; }
.call-warn { background: rgba(199, 123, 31, 0.09); border: 1px solid rgba(199, 123, 31, 0.24); color: #8a5512; }
.art-cta {
  margin-top: 40px; padding: 26px 28px; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(224, 91, 63, 0.1), rgba(195, 74, 114, 0.1));
  border: 1px solid rgba(224, 91, 63, 0.2);
  display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.art-cta p { font-size: 0.92rem; color: var(--ink-2); max-width: 52ch; }
.art-cta strong { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.rel-box { margin-top: 44px; }
.rel-box h2 { font-size: 1.08rem; }
.rel-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.rel-list a { display: block; padding: 16px 18px; color: inherit; font-size: 0.9rem; font-weight: 600; line-height: 1.5; transition: transform 0.16s ease; }
.rel-list a:hover { text-decoration: none; transform: translateY(-2px); color: var(--acc1); }
.rel-list a span { display: block; margin-top: 5px; font-size: 0.78rem; font-weight: 400; color: var(--ink-3); }

/* --- floating reading CTA --- */
.drift-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 264px;
  padding: 18px 18px 16px; border-radius: var(--r-md);
  background: var(--glass-bg-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg);
  animation: fw-lift 0.3s ease;
}
.drift-cta.is-away { display: none; }
.drift-cta strong { display: block; font-size: 0.92rem; padding-right: 22px; }
.drift-cta p { font-size: 0.8rem; color: var(--ink-2); margin-top: 6px; }
.drift-cta .btn { margin-top: 12px; width: 100%; }
.drift-x {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--ink-3);
}
.drift-x:hover { background: rgba(43, 42, 46, 0.07); color: var(--ink); }
.drift-x svg { width: 14px; height: 14px; }

/* ============================================================
   Responsive overrides — keep this block at the END of the file
   (later rules of equal specificity must win; see build notes)
   ============================================================ */
@media (max-width: 920px) {
  /* marketing sections stack */
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .stat-strip .st-cell:nth-child(3)::before { display: none; }
  .duo-sec, .faq-duo { grid-template-columns: minmax(0, 1fr); }
  .trait-list { grid-template-columns: minmax(0, 1fr); }
  .trait-list li:nth-last-child(2) { border-bottom: 1px dashed rgba(43, 42, 46, 0.14); }
  .lane-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 460px; }
  .lane-steps::before { display: none; }
  .lane-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 15px; text-align: left; padding: 0; }
  .lane-step .ln-dot { grid-row: 1 / 3; margin: 0; }
  .lane-step h3 { margin-top: 3px; }
  .lane-step p { grid-column: 2; margin-top: 4px; }
  .photo-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band { justify-content: center; text-align: center; }
  .cta-band .btn-row { justify-content: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; max-width: 520px; }
  /* split view collapses to a single list; detail opens as a sheet */
  .split-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .reader { display: none; }
  .mail-list { border-right: 0; max-height: none; overflow-y: visible; }
  /* bento collapses to a single column; ring degrades to a compact pill
     and the perks tile hides so inbox rows stay in the first mobile screen */
  .tool-bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .addr-card { grid-row: auto; text-align: center; padding: 22px 20px; }
  .addr-line, .addr-actions { justify-content: center; }
  .perk-tile { display: none; }
  .ttl-tile { justify-content: center; align-items: center; padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
  .addr-ring { width: auto; height: auto; }
  .addr-ring svg { display: none; }
  .ring-text {
    position: static; flex-direction: row-reverse; gap: 8px; padding: 7px 15px;
    border-radius: 999px; background: rgba(20, 143, 150, 0.08);
    border: 1px solid rgba(20, 143, 150, 0.2);
  }
  .ring-text b { font-size: 0.92rem; color: #0e7c82; }
  .ring-text span { font-size: 0.78rem; color: #0e7c82; }
  .addr-ring.is-low .ring-text { background: rgba(214, 69, 80, 0.08); border-color: rgba(214, 69, 80, 0.22); }
  .addr-ring.is-low .ring-text span { color: var(--bad); }
  .ttl-side { display: contents; }
  .ttl-note { width: 100%; text-align: center; }
  /* login card stacks: aside becomes a slim intro band */
  .auth-card { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { padding: 22px 24px; gap: 12px; border-right: 0; border-bottom: 1px solid var(--glass-line); }
  .auth-aside h2 { font-size: 1.12rem; }
  .aside-points { display: none; }
  .auth-main { padding: 26px 24px 30px; min-height: 0; text-align: center; }
  .auth-main .auth-note, .auth-hint { margin-left: auto; margin-right: auto; }
  .auth-field { max-width: none; }
  .code-boxes, .auth-links { justify-content: center; }
  .arch-row { grid-template-columns: minmax(0, 1fr) max-content; }
  .arch-sub { grid-column: 1 / 3; }
  .arch-who { grid-row: 2; grid-column: 1 / 3; }
  .arch-sub { grid-row: 3; }
  .arch-side { grid-row: 1; grid-column: 2; }
  /* sub-page components stack */
  .flow-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-node:nth-child(2)::after { display: none; }
  .tier-band { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .scene-grid { grid-template-columns: minmax(0, 1fr); }
  .pick-arms { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 30px; }
  .pick-arms::before { display: none; }
  .law-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .law-toc { position: static; }
  .law-brief { grid-template-columns: minmax(0, 1fr); }
  .art-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .art-toc { position: static; order: -1; }
  .rel-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  :root { --page-gutter: 16px; }
  .topnav { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-sheet {
    display: block; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px);
    padding: 6px;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    backdrop-filter: blur(16px) saturate(1.15);
    border: 1px solid rgba(43, 42, 46, 0.1); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    z-index: 70;
    animation: fw-lift 0.16s ease;
  }
  .nav-sheet a { display: block; padding: 12px 16px; border-radius: 10px; color: var(--ink-2); font-size: 0.95rem; }
  .nav-sheet a:hover { background: rgba(224, 91, 63, 0.08); color: var(--ink); text-decoration: none; }
  .nav-sheet a.is-here { color: var(--acc1); font-weight: 600; }
  .acc-topbar { display: none; }
  .nav-sheet .acc-sheet {
    display: flex; width: calc(100% - 8px); margin: 8px 4px 2px; justify-content: center;
    padding: 12px 18px; font-size: 0.92rem;
    border-top: 1px solid var(--glass-line); border-radius: 10px;
    color: #fff;
  }
  .nav-sheet .acc-sheet:hover {
    color: #fff; text-decoration: none;
    background: var(--grad);
    box-shadow: 0 14px 28px -10px rgba(224, 91, 63, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
  .nav-sheet .acc-sheet.is-authed {
    color: var(--acc1);
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(224, 91, 63, 0.38);
    box-shadow: 0 6px 18px -8px rgba(224, 91, 63, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .nav-sheet .acc-sheet.is-authed:hover {
    color: var(--acc1); background: #fff;
    border-color: rgba(224, 91, 63, 0.5);
    box-shadow: 0 8px 22px -8px rgba(224, 91, 63, 0.34);
  }
  .nav-sheet .acc-sheet .acc-ico svg { width: 17px; height: 17px; }

  .hero { padding-top: 18px; padding-bottom: 6px; }
  .hero h1 { font-size: 1.38rem; }
  .hero-sub { font-size: 0.85rem; margin-top: 7px; }
  .mode-switch { margin-top: 11px; margin-bottom: 0; width: 100%; max-width: 420px; padding: 5px; }
  #zone-temp .tool-bento { margin-top: 10px; }
  #zone-fw .auth-card,
  #zone-fw .desk-shell { margin-top: 10px; }
  .inbox-empty { padding: 18px 16px 10px; font-size: 0.85rem; }
  .mode-switch button { flex: 1; justify-content: center; padding: 11px 10px; font-size: 0.92rem; }
  .addr-card { margin-top: 0; padding: 18px 16px 16px; }
  .addr-actions { margin-top: 14px; gap: 8px; }
  .addr-actions .btn-hero { flex: 1 1 100%; order: -1; }
  .inbox-panel { margin-top: 16px; }
  .inbox-head { padding: 13px 16px; }
  .mail-row { padding: 11px 16px; }
  .section { padding-top: 48px; }
  .feature-grid, .step-flow { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 30px; }
  .desk-top, .desk-pane { padding-left: 16px; padding-right: 16px; }
  .desk-tabs { padding-left: 16px; padding-right: 16px; }
  .desk-stats { margin-left: 0; }
  .code-boxes input { width: 40px; height: 50px; font-size: 1.2rem; }
  .veil { padding: 10px; align-items: flex-end; }
  .sheet { max-height: 92vh; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .auth-field { flex-direction: column; }
  .auth-field .btn { width: 100%; }
  .flow-rail { grid-template-columns: minmax(0, 1fr); }
  .flow-node::after { display: none !important; }
  .page-hero { padding-top: 26px; }
  .drift-cta { width: min(300px, calc(100vw - 28px)); right: 14px; bottom: 14px; }
  .art-cta { flex-direction: column; align-items: flex-start; }
}
/* Current-language label inside the language button */
.lang-pop .lang-now{white-space:nowrap}
