:root {
  --wrap: 1240px;
  --header-h: 80px;
  --h1: 64px;
  --h2: 44px;
  --h3: 22px;
  --body: 16px;
  --small: 14px;
  --micro: 12px;
  --lead: 18px;
  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 48px;
  --s7: 64px;
  --bg: #ffffff;
  --bg2: #f6f8f7;
  --ink: #0f1a18;
  --ink2: #26332f;
  --muted: #5a6864;
  --faint: #8a9692;
  --line: #e2e8e5;
  --control-line: #d5ddd9;
  --addr-line: #dbe3df;
  --accent: #13795f;
  --accent-ink: #0c5a46;
  --tint: #e6f2ec;
  --deck: #07110f;
  --deck2: #0d1b18;
  --deck3: #122522;
  --dline: #1d2f2b;
  --dtext: #e4eeea;
  --dmuted: #8ea39c;
  --dfaint: #5f746e;
  --glow: #5fd3b0;
  --glow-hover: #7fe0c3;
  --glow-ink: #06231b;
  --body-dark: #c8d6d1;
  --forest: #0d2a24;
  --forest-line: #2f5c51;
  --forest-block: #1b4a3f;
  --forest-copy: #a9c7bc;
  --forest-chip: #bfe6d6;
  --chat: #16403a;
  --chat-ink: #d6f0e6;
  --timeline: #9fd3c2;
  --spot-ink: #6d7b77;
  --sand: #2a2016;
  --sand-ink: #f2e7d6;
  --sand-muted: #c4b199;
  --sand-line: #4a3b2a;
  --sand-glow: #d9b98a;
  --sand-mid: #a88a62;
  --demo-ink: #f0d9a8;
  --art-wall-top: #e9e1d4;
  --art-wall-bottom: #d8cdbb;
  --art-floor: #b9a68a;
  --art-light: #fff4dc;
  --art-table: #8c7558;
  --art-shade: #f6ecd8;
  --art-stem: #6b5840;
  --art-head: #7d6a52;
  --art-head-inner: #8f7b61;
  --art-pillow: #fbfbfa;
  --art-pillow2: #f7f8f7;
  --art-crease: #e3e7e5;
  --art-sheet: #e7ebe9;
  --art-blanket-top: #f4f6f5;
  --art-blanket-bottom: #d9e0dd;
  --art-seam: #cfd7d3;
  --art-fold: #cdd5d1;
  --art-base: #a8957a;
  --art-placeholder: #c9d3cf;
  --transparent: transparent;
  --shadow-address: 0 0 0 1px var(--addr-line), 0 12px 32px -16px rgb(15 40 32 / 22%);
  --shadow-float: 0 16px 32px -16px rgb(7 17 15 / 45%);
  --shadow-toast: 0 16px 32px -20px rgb(7 17 15 / 60%);
  --shadow-deck: 0 40px 80px -40px rgb(7 17 15 / 55%);
  --shadow-card: 0 0 0 1px var(--line), 0 8px 24px -20px rgb(15 40 32 / 25%);
  --wash-green: rgb(19 121 95 / 10%);
  --wash-green-soft: rgb(19 121 95 / 7%);
  --wash-green-strong: rgb(19 121 95 / 18%);
  --wash-sand: rgb(196 160 110 / 13%);
  --wash-sand-strong: rgb(196 160 110 / 16%);
  --wash-cta: rgb(19 121 95 / 12%);
  --wash-glow: rgb(95 211 176 / 15%);
  --wash-glow-strong: rgb(95 211 176 / 22%);
  --glass-paper: rgb(255 255 255 / 94%);
  --glass-deck: rgb(13 27 24 / 88%);
  --glass-window: rgb(7 17 15 / 92%);
  --forest-chip-bg: rgb(230 242 236 / 12%);
  --sand-chip-bg: rgb(242 231 214 / 12%);
  --demo-bg: rgb(240 217 168 / 12%);
  --overlay: rgb(7 17 15 / 56%);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  --r-pill: 999px;
  --r-lg: 24px;
  --r-md: 12px;
  --radius-control: var(--r-pill);
  --radius-card: var(--r-md);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { font-family: var(--sans); font-size: var(--body); line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { border: 0; background: var(--transparent); color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
img, svg { max-width: 100%; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: var(--transparent); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
input:focus, textarea:focus { outline: 1px solid var(--ink); outline-offset: 0; border-color: var(--ink); box-shadow: none; }
input { min-width: 0; }
h1 em { font-style: normal; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 150; padding: 8px 16px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }
.pill, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 24px; border-radius: var(--r-pill); font-size: var(--body); font-weight: 500; line-height: 1.35; text-align: center; transition: background .2s, box-shadow .2s, color .2s; max-width: 100%; }
.pill svg, .btn svg { flex: none; }
.pill-dark { background: var(--ink); color: var(--bg); }
.pill-dark:hover { background: var(--ink2); color: var(--bg); }
.pill-line { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--control-line); }
.pill-line:hover { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pill-accent { color: var(--accent-ink); }
.pill-sm { min-height: 36px; padding: 6px 16px; font-size: var(--small); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.notice { background: var(--tint); height: 48px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: var(--small); color: var(--ink2); padding: 0 16px; }
.notice a { color: var(--accent-ink); font-weight: 600; flex: none; }
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); color: var(--ink); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; width: min(1340px, calc(100% - 64px)); margin: 0 auto; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); flex: none; }
.brand img { width: 32px; height: 32px; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: var(--body); font-weight: 500; color: var(--ink2); }
.nav-links a { display: inline-flex; align-items: center; padding: 6px 0; white-space: nowrap; }
.nav-links a:hover { color: var(--accent-ink); }
.nav-links a[aria-current="page"], .nav-drawer a[aria-current="page"] { padding-left: 12px; padding-right: 12px; border-radius: var(--r-pill); background: var(--tint); color: var(--accent-ink); }
.nav-links a[aria-current="page"]:hover { background: var(--tint); color: var(--accent-ink); }
.nav-right { display: flex; align-items: center; gap: 16px; flex: none; }
.nav-right > .pill { white-space: nowrap; flex: none; }
.lang-wrap { position: relative; }
.lang { display: inline-flex; align-items: center; gap: 8px; font-size: var(--small); font-weight: 500; color: var(--ink2); background: var(--bg); padding: 8px 28px 8px 8px; position: relative; min-height: 36px; border-radius: var(--r-pill); }
.lang > svg { width: 16px; height: 16px; flex: none; }
.chevron { display: block; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; flex: none; transform: rotate(45deg); }
.lang > .chevron { position: absolute; right: 10px; top: 50%; transform: translateY(-65%) rotate(45deg); }
.lang-menu, .filter-menu { position: absolute; z-index: 85; top: calc(100% + 8px); right: 0; min-width: 176px; padding: 8px; border: 1px solid var(--control-line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-float); }
.lang-menu a, .filter-menu button { display: flex; align-items: center; width: 100%; padding: 10px 12px; border-radius: var(--r-md); font-size: var(--small); text-align: left; background: var(--bg); color: var(--ink); }
.lang-menu a:hover, .lang-menu a[aria-current], .filter-menu button:hover, .filter-menu [aria-selected="true"] { background: var(--tint); color: var(--accent-ink); }
.menu-toggle { display: none; width: 36px; height: 36px; flex: none; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg); color: var(--ink); align-items: center; justify-content: center; }
.menu-toggle svg { width: 18px; height: 18px; }
.nav-drawer { position: fixed; top: var(--header-h); left: 16px; right: auto; z-index: 100; width: min(320px, calc(100% - 32px)); max-height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-float); text-align: left; }
.nav-drawer a { display: block; padding: 10px 12px; font-size: var(--small); border-radius: var(--r-pill); }
.nav-drawer a:hover { background: var(--tint); color: var(--accent-ink); }

.hero { position: relative; padding: 96px 0 0; background: radial-gradient(640px 420px at 8% 46%, var(--wash-green), var(--transparent) 70%), radial-gradient(720px 480px at 92% 40%, var(--wash-sand), var(--transparent) 70%), radial-gradient(900px 500px at 50% 100%, var(--wash-green-soft), var(--transparent) 70%), var(--bg); }
.hero-head { text-align: center; }
.eyebrow { margin: 0 0 24px; font-size: var(--body); font-weight: 500; color: var(--ink2); }
.hero-head .eyebrow { margin: 0 auto 24px; }
.hero h1 { margin-top: 24px; font-size: var(--h1); line-height: 1.12; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.hero h1 span { display: block; color: var(--accent); }
.lead { margin: 24px auto 0; max-width: 680px; font-size: var(--lead); line-height: 1.75; color: var(--muted); }
.addr { margin: 48px auto 0; display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 8px 8px 8px 24px; border-radius: var(--r-pill); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-address); }
.addr-ico { width: 20px; height: 20px; color: var(--accent); flex: none; }
.addr-text { font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--ink); white-space: nowrap; margin: 0 16px 0 4px; letter-spacing: 0; }
.addr-text b { font-weight: 500; color: var(--faint); }
.addr-sep { width: 1px; height: 28px; background: var(--line); margin: 0 8px; flex: none; }
.ttl { display: flex; align-items: center; gap: 8px; font-size: var(--small); color: var(--muted); padding-right: 8px; white-space: nowrap; }
.ttl svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.ttl .mono { font-size: var(--small); font-weight: 600; color: var(--ink); }
.ttl a { color: var(--accent-ink); font-weight: 600; }
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.hero-actions .pill { min-height: 44px; font-size: var(--body); }
.stage { margin: 16px auto 0; width: min(var(--wrap), calc(100% - 64px)); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; grid-template-rows: 96px auto auto; padding-bottom: 96px; }
.hero-art { grid-column: 1 / 9; grid-row: 1 / 3; display: grid; border-radius: var(--r-lg); overflow: hidden; }
.hero-art .art-photo { grid-area: 1 / 1; width: 100%; height: clamp(22rem, 38vw, 34rem); object-fit: cover; display: block; }
.hero-art picture { grid-area: 1 / 1; display: block; min-width: 0; }
.hero-art picture .art-photo { height: clamp(22rem, 38vw, 34rem); }
.hero-art .float-card { grid-area: 1 / 1; align-self: end; justify-self: start; margin: 24px; width: 248px; background: var(--glass-paper); color: var(--ink); border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow-float); position: relative; z-index: 1; }
.fc-top { display: flex; align-items: center; gap: 8px; font-size: var(--micro); font-weight: 600; color: var(--muted); }
.fc-top svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.fc-field { margin-top: 12px; font-size: var(--micro); color: var(--faint); }
.fc-input { margin-top: 4px; min-height: 36px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; padding: 0 12px; font-family: var(--mono); font-size: var(--micro); color: var(--ink); white-space: nowrap; overflow: hidden; }
.fc-ok { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: var(--small); font-weight: 600; color: var(--accent-ink); }
.fc-ok svg { width: 16px; height: 16px; flex: none; }
.toast { grid-column: 9 / 13; grid-row: 1; align-self: end; justify-self: end; margin-bottom: 8px; width: 320px; display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r-md); background: var(--glass-deck); color: var(--dtext); box-shadow: var(--shadow-toast); }
.toast-ico { flex: none; width: 36px; height: 36px; border-radius: var(--r-md); background: var(--deck3); color: var(--glow); display: grid; place-items: center; }
.toast-ico svg { width: 18px; height: 18px; }
.toast strong { display: block; font-size: var(--small); font-weight: 600; line-height: 1.4; }
.toast span:not(.toast-ico) { display: block; font-size: var(--micro); color: var(--dmuted); line-height: 1.5; }
.deck { grid-column: 4 / 13; grid-row: 2 / 4; background: var(--deck); border-radius: var(--r-lg); overflow: hidden; color: var(--dtext); box-shadow: var(--shadow-deck); animation: fade .9s ease both .1s; position: relative; z-index: 1; }
@keyframes fade { from { opacity: 0; }
 to { opacity: 1; }
 }
.deck-bar { min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 8px 24px; border-bottom: 1px solid var(--dline); gap: 16px; }
.db-left { display: flex; align-items: center; gap: 12px; font-size: var(--small); min-width: 0; }
.db-title { font-weight: 600; white-space: nowrap; }
.db-count { min-width: 22px; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--deck3); color: var(--glow); font-size: var(--micro); font-weight: 600; display: inline-grid; place-items: center; flex: none; }
.db-addr { font-size: var(--micro); color: var(--dmuted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-right { display: flex; align-items: center; gap: 12px; font-size: var(--micro); color: var(--dmuted); flex: none; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--glow); box-shadow: 0 0 0 4px var(--wash-glow); flex: none; }
.icon-btn { width: 36px; height: 36px; flex: none; border-radius: var(--r-pill); display: grid; place-items: center; background: var(--transparent); color: var(--dtext); box-shadow: inset 0 0 0 1px var(--dline); }
.icon-btn:hover { background: var(--deck3); color: var(--dtext); }
.icon-btn svg { width: 16px; height: 16px; }
.deck-body { display: grid; grid-template-columns: 316px minmax(0, 1fr); min-height: 624px; height: 624px; }
.list { border-right: 1px solid var(--dline); display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow-y: auto; }
.mail-rows { flex: none; }
.row { width: 100%; height: 76px; padding: 12px 16px 12px 24px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; border-bottom: 1px solid var(--dline); position: relative; text-align: left; background: var(--deck); color: var(--dtext); }
.row.is-active { background: var(--deck3); color: var(--dtext); }
.row.is-active::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: var(--r-pill); background: var(--glow); }
.badge { width: 36px; height: 36px; border-radius: var(--r-pill); display: inline-grid; place-items: center; font-weight: 600; font-size: var(--small); flex: none; background: var(--deck3); color: var(--glow); }
.b-g { background: var(--bg); color: var(--accent); font-size: var(--body); }
.b-u { background: var(--deck); color: var(--bg); font-size: var(--body); box-shadow: inset 0 0 0 1px var(--dline); }
.row-main { min-width: 0; }
.row-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: var(--small); line-height: 1.4; }
.row-top b { font-weight: 600; }
.row-top time { font-size: var(--micro); color: var(--dmuted); flex: none; }
.row-sub { font-size: var(--micro); line-height: 1.5; color: var(--dtext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-pre { font-size: var(--micro); line-height: 1.5; color: var(--dmuted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--glow); margin-right: 8px; vertical-align: 2px; }
.list-foot { margin-top: auto; padding: 24px; border-top: 1px solid var(--dline); }
.lf-title { font-size: var(--micro); font-weight: 600; color: var(--dmuted); letter-spacing: .04em; }
.meter { margin-top: 12px; height: 6px; border-radius: var(--r-pill); background: var(--deck3); overflow: hidden; }
.meter i { display: block; width: 89%; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--glow)); }
.meter-legend { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: var(--micro); color: var(--dfaint); }
.lf-list { margin-top: 16px; list-style: none; display: grid; gap: 8px; }
.lf-list li { display: flex; gap: 8px; font-size: var(--micro); line-height: 1.5; color: var(--dmuted); }
.lf-list svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--dfaint); }
.stage-expiry { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--micro); color: var(--dmuted); }
.stage-expiry button { color: var(--glow); font-size: var(--micro); }
.read { padding: 32px; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow-y: auto; }
.reader-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.subject { font-size: var(--h3); line-height: 1.4; font-weight: 500; color: var(--dtext); }
.reader-title time { font-size: var(--micro); color: var(--dmuted); flex: none; padding-top: 4px; }
.rh { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; margin-top: 36px; }
.rh .badge { grid-column: 1; grid-row: 1; width: 36px; height: 36px; font-size: var(--body); }
.rh-who { display: contents; }
.rh-name { grid-column: 2; grid-row: 1; min-width: 0; }
.rh-from { grid-column: 2; grid-row: 2; min-width: 0; }
.rh-name { display: flex; align-items: center; gap: 8px; font-size: var(--body); font-weight: 600; line-height: 1.4; }
.demo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: var(--micro);
  font-weight: 500;
  line-height: 1.35;
  background: var(--bg2);
  color: var(--ink);
}
.demo-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
}
[data-demo-badge] {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: var(--micro);
  font-weight: 500;
  line-height: 1.35;
  background: var(--bg2);
  color: var(--ink);
  border-color: var(--line);
}
.rh-name > :is(.demo, .demo-pill, [data-demo-badge]) {
  margin-bottom: 0;
}
.rh-from { font-size: var(--micro); color: var(--dmuted); line-height: 1.5; overflow-wrap: anywhere; }
.rbody { margin-top: 16px; font-size: var(--small); line-height: 1.75; color: var(--body-dark); }
.code { margin-top: 24px; border-radius: var(--r-md); background: var(--deck2); color: var(--dtext); box-shadow: inset 0 0 0 1px var(--dline); padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.code-num { font-family: var(--mono); font-size: var(--h2); line-height: 1; font-weight: 600; letter-spacing: .12em; color: var(--bg); }
.code-meta { text-align: right; font-size: var(--micro); line-height: 1.6; color: var(--dmuted); }
.code-meta b { display: block; color: var(--glow); font-weight: 600; font-size: var(--small); }
.kv { margin-top: 24px; display: grid; grid-template-columns: 72px minmax(0, 1fr); row-gap: 8px; font-size: var(--micro); }
.kv dt { color: var(--dfaint); }
.kv dd { color: var(--dtext); }
.disc { margin-top: 24px; font-size: var(--micro); line-height: 1.6; color: var(--dfaint); }
.acts { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.acts .pill { min-height: 36px; padding: 6px 16px; font-size: var(--small); }
.a-main { background: var(--glow); color: var(--glow-ink); }
.a-main:hover { background: var(--glow-hover); color: var(--glow-ink); }
.a-ghost { background: var(--transparent); color: var(--dtext); box-shadow: inset 0 0 0 1px var(--dline); }
.a-ghost:hover { background: var(--deck3); color: var(--dtext); }
.acts svg { width: 14px; height: 14px; }
.reader-back { display: none; }
.reader-content { min-width: 0; }
.reader-content iframe, .archive-body iframe { display: block; width: 100%; min-height: 360px; border: 0; background: var(--bg); color: var(--ink); margin-top: 24px; }
.reader-content pre, .archive-body pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: var(--small); }
.is-real .demo, .is-real [data-demo-brand], .is-real .demo-only { display: none; }

.wall { padding: 32px 0 96px; overflow: hidden; }
.wall-label { text-align: center; font-size: var(--small); color: var(--muted); padding: 0 24px; }
.wall-rows { margin-top: 32px; display: grid; gap: 16px; mask-image: linear-gradient(90deg, var(--transparent), var(--ink) 12%, var(--ink) 88%, var(--transparent)); }
.wall-row { display: flex; gap: 16px; justify-content: center; }
.wall-row.off { margin-left: 260px; }
.spot { flex: none; width: 244px; height: 104px; border-radius: var(--r-md); background: var(--bg2); display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink2); font-size: var(--body); font-weight: 500; }
.spot svg { width: 28px; height: 28px; color: var(--spot-ink); }
.stories { padding: 64px 0 128px; }
.stories .wrap { display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 64px; align-items: start; }
.kicker { font-size: var(--body); font-weight: 500; color: var(--accent); margin: 0 0 24px; }
h2 { font-size: var(--h2); line-height: 1.25; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.kicker + h2 { margin-top: 24px; }
.section-intro { margin-top: 24px; color: var(--muted); }
.stories p:not(.kicker) { margin-top: 24px; font-size: var(--body); color: var(--muted); }
.stories .pill { margin-top: 48px; }
.st-cards { display: flex; gap: 20px; justify-content: flex-end; }
.st { width: 330px; height: 420px; border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; overflow: hidden; flex: none; }
.st-a { background: var(--forest); color: var(--tint); }
.st-b { background: var(--sand); color: var(--sand-ink); }
.st-chip { align-self: flex-start; padding: 6px 12px; border-radius: var(--r-pill); font-size: var(--micro); font-weight: 600; line-height: 20px; }
.st-a .st-chip { background: var(--forest-chip-bg); color: var(--forest-chip); }
.st-b .st-chip { background: var(--sand-chip-bg); color: var(--sand-muted); }
.st svg.st-art { margin-top: 24px; width: 100%; height: 150px; }
.st-big { margin-top: auto; font-size: var(--h2); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.st-big small { font-size: var(--h3); font-weight: 500; margin-left: 4px; }
.stories .st .st-txt { margin-top: 8px; font-size: var(--small); line-height: 1.6; }
.stories .st-a .st-txt { color: var(--forest-copy); }
.stories .st-b .st-txt { color: var(--sand-muted); }
.forward { padding: 0 64px; }
.fw { border-radius: var(--r-lg); overflow: hidden; color: var(--dtext); background: radial-gradient(800px 420px at 50% 118%, var(--wash-glow-strong), var(--transparent) 70%), radial-gradient(600px 400px at 0% 0%, var(--wash-green-strong), var(--transparent) 70%), var(--deck); padding: 96px 0 0; }
.fw-head { text-align: center; max-width: 800px; margin: 0 auto; padding: 0 24px; }
.fw-k { display: inline-flex; align-items: center; gap: 8px; font-size: var(--body); font-weight: 500; color: var(--glow); }
.fw-k img { width: 24px; height: 24px; }
.fw h2 { margin-top: 24px; color: var(--bg); }
.fw-head p { margin-top: 24px; font-size: var(--body); line-height: 1.75; color: var(--dmuted); }
.fw-head .pill { margin-top: 32px; background: var(--bg); color: var(--ink); }
.fw-head .pill:hover { background: var(--tint); color: var(--ink); }
.fw-win { margin: 64px auto 0; width: min(1160px, calc(100% - 64px)); height: 420px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--glass-window); color: var(--dtext); box-shadow: inset 0 0 0 1px var(--dline); display: grid; grid-template-columns: minmax(0, 1fr) 380px; overflow: hidden; }
.fw-main { padding: 32px; border-right: 1px solid var(--dline); min-width: 0; }
.fw-mtitle { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fw-mtitle b { font-size: var(--body); font-weight: 600; }
.fw-mtitle span { font-size: var(--micro); color: var(--dmuted); }
.aliases { margin-top: 16px; display: grid; gap: 8px; }
.al { height: 56px; border-radius: var(--r-md); background: var(--deck2); color: var(--dtext); display: grid; grid-template-columns: minmax(0, 1fr) 160px 96px; align-items: center; padding: 0 16px; font-size: var(--small); gap: 8px; }
.al .mono { font-size: var(--small); color: var(--bg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-to { font-size: var(--micro); color: var(--dmuted); }
.al-st { justify-self: end; font-size: var(--micro); font-weight: 600; color: var(--glow); display: inline-flex; align-items: center; gap: 8px; }
.al-st i { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--glow); }
.al-st.off { color: var(--dfaint); }
.al-st.off i { background: var(--dfaint); }
.chart { margin-top: 24px; border-radius: var(--r-md); background: var(--deck2); color: var(--dtext); padding: 16px; }
.chart-top { display: flex; justify-content: space-between; font-size: var(--micro); color: var(--dmuted); }
.chart-top b { color: var(--bg); font-size: var(--small); font-weight: 600; }
.chart svg { display: block; width: 100%; height: 96px; margin-top: 8px; }
.draw { stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw 2.4s ease forwards .6s; }
@keyframes draw { to { stroke-dashoffset: 0; }
 }
.fw-chat { padding: 32px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fw-chat-h { display: flex; align-items: center; gap: 8px; font-size: var(--body); font-weight: 600; margin-bottom: 8px; }
.fw-chat-h svg { width: 20px; height: 20px; }
.bub { max-width: 300px; font-size: var(--small); line-height: 1.6; padding: 12px 16px; border-radius: var(--r-md); overflow-wrap: anywhere; }
.bub.me { align-self: flex-end; background: var(--chat); color: var(--chat-ink); }
.bub.sys { align-self: flex-start; color: var(--body-dark); padding-left: 0; }
.bub .mono { color: var(--bg); font-size: var(--small); }
.tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--deck3); color: var(--dmuted); font-size: var(--micro); }
.tool svg { width: 14px; height: 14px; color: var(--glow); }
.usp { padding: 128px 0; position: relative; }
.usp::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, var(--transparent) 1px), linear-gradient(90deg, var(--line) 1px, var(--transparent) 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 70% 50%, var(--ink), var(--transparent) 80%); opacity: .7; pointer-events: none; }
.usp .wrap { position: relative; display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 64px; }
.usp-side p:not(.kicker) { margin-top: 24px; color: var(--muted); }
.usp-side .pill { margin-top: 32px; }
.usp-cards { display: grid; gap: 16px; }
.uc { display: grid; grid-template-columns: 72px minmax(0, 1fr) 220px; gap: 24px; align-items: start; padding: 32px; border-radius: var(--r-md); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-card); }
.uc-n { font-family: var(--mono); font-size: var(--small); font-weight: 600; color: var(--accent); height: 32px; width: 48px; border-radius: var(--r-pill); background: var(--tint); display: grid; place-items: center; }
.uc h3 { font-size: var(--h3); line-height: 1.4; font-weight: 500; }
.uc p { margin-top: 8px; font-size: var(--body); color: var(--muted); }
.uc-edge { border-radius: var(--r-md); background: var(--bg2); color: var(--ink); padding: 16px; font-size: var(--small); line-height: 1.6; }
.uc-edge b { display: block; font-size: var(--micro); font-weight: 600; color: var(--faint); margin-bottom: 4px; }
.uc-side { display: grid; gap: 8px; }
.flow { padding: 128px 0; background: var(--bg2); color: var(--ink); }
.flow-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.flow-head > p { max-width: 400px; color: var(--muted); }
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--bg); color: var(--ink); border-radius: var(--r-md); padding: 32px; display: flex; flex-direction: column; }
.step svg { width: 100%; height: 132px; display: block; }
.step-k { margin-top: 24px; font-family: var(--mono); font-size: var(--micro); font-weight: 600; color: var(--accent); }
.step h3 { margin-top: 8px; font-size: var(--h3); line-height: 1.4; font-weight: 500; }
.step p { margin-top: 8px; color: var(--muted); }
.line-t { margin-top: 20px; background: var(--bg); color: var(--ink); border-radius: var(--r-md); padding: 32px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; }
.line-t h3 { font-size: var(--h3); line-height: 1.4; font-weight: 500; }
.line-t a { display: inline-block; margin-top: 8px; font-size: var(--small); font-weight: 600; color: var(--accent-ink); }
.tl { position: relative; }
.tl-bar { height: 8px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent) 0 12.5%, var(--timeline) 12.5% 100%); }
.tl-row { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: var(--small); }
.tl-row div b { display: block; font-family: var(--mono); font-size: var(--small); color: var(--ink); font-weight: 600; }
.tl-row div span { font-size: var(--micro); color: var(--muted); }
.faq { padding: 128px 0; }
.faq-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.faq-head a { font-size: var(--small); font-weight: 600; color: var(--accent-ink); }
.faq-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.qa { padding: 32px; border-radius: var(--r-md); background: var(--bg2); color: var(--ink); }
.qa h3 { font-size: var(--lead); line-height: 1.5; font-weight: 600; }
.qa p { margin-top: 8px; color: var(--muted); }
.qa summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); flex: none; }
.qa[open] summary::after { transform: rotate(225deg); }
.qa[open] > p { margin-top: 16px; margin-bottom: 8px; }
.cta { padding: 0 0 128px; }
.cta-box { border-radius: var(--r-lg); padding: 96px 24px; text-align: center; background: radial-gradient(520px 300px at 20% 30%, var(--wash-cta), var(--transparent) 70%), radial-gradient(520px 300px at 80% 70%, var(--wash-sand-strong), var(--transparent) 70%), var(--bg2); color: var(--ink); }
.cta-box p { margin: 24px auto 0; max-width: 560px; color: var(--muted); font-size: var(--lead); }
.cta-addr { margin-top: 32px; font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.cta-btns { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
footer { border-top: 1px solid var(--line); padding: 64px 0 48px; background: var(--bg); color: var(--ink); }
.ft { display: grid; grid-template-columns: 360px repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft-brand p { margin-top: 16px; font-size: var(--small); color: var(--muted); max-width: 320px; }
.ft-brand a.mail { margin-top: 16px; font-size: var(--small); }
.ft h4 { font-size: var(--small); font-weight: 600; color: var(--ink); }
.ft ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; font-size: var(--small); color: var(--muted); }
.ft ul a { overflow-wrap: anywhere; }
.ft ul a:hover { color: var(--ink); }
.ft-bot { margin-top: 64px; display: flex; justify-content: space-between; gap: 16px; font-size: var(--micro); color: var(--faint); }

.card, .login-card, .surface-safety { padding: 32px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; }
.card h3, .login-card h2, .surface-safety h2, .archive-detail h2 { font-size: var(--h3); line-height: 1.4; font-weight: 500; }
.card p { margin-top: 12px; color: var(--muted); }
.field { display: grid; gap: 8px; font-size: var(--small); }
.field + .field { margin-top: 16px; }
.field input, .field textarea, .form-input { width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid var(--control-line); border-radius: var(--r-pill); background: var(--bg2); color: var(--ink); font-size: var(--small); }
.field textarea { border-radius: var(--r-md); min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); font-size: var(--small); opacity: 1; }
.form-note { margin-top: 12px; font-size: var(--small); color: var(--muted); }
.form-error { margin-top: 12px; padding: 12px 16px; background: var(--tint); color: var(--accent-ink); border-radius: var(--r-md); font-size: var(--small); }
.table-scroll { margin-top: 24px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: var(--small); }
th { font-weight: 600; background: var(--bg2); color: var(--ink); }
th, td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.empty-state { min-height: 0; height: auto; padding: 16px 20px; border: 1px solid var(--dline); border-radius: var(--r-md); background: var(--deck2); color: var(--dtext); width: min(420px, calc(100% - 32px)); margin: auto; }
.empty-state h3 { font-size: var(--lead); font-weight: 500; line-height: 1.4; }
.empty-state p { margin-top: 8px; font-size: var(--small); color: var(--dmuted); }
.empty-host { display: grid; place-items: center; flex: 1; min-height: 0; }
.desk-empty { width: 100%; margin-top: 24px; padding: 20px; background: var(--bg2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); }
.desk-empty h3 { font-size: var(--lead); font-weight: 500; }
.desk-empty p { font-size: var(--small); color: var(--muted); margin-top: 8px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 12px; margin: 0; font-size: var(--micro); line-height: 1.5; border-radius: var(--r-pill); background: var(--tint); color: var(--accent-ink); }
.status-pill.is-idle { background: var(--line); color: var(--ink2); }
.filter { position: relative; display: inline-block; }
.filter-trigger { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 40px; border: 1px solid var(--control-line); border-radius: var(--r-pill); background: var(--bg); color: var(--ink); font-size: var(--small); }
.filter-menu { left: 0; right: auto; min-width: 220px; }
.ui-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); z-index: 200; width: max-content; max-width: min(430px, calc(100% - 32px)); padding: 14px 20px; border-radius: var(--r-md); background: var(--ink); color: var(--bg); font-size: var(--small); line-height: 1.5; box-shadow: var(--shadow-toast); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; }
.ui-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.modal-backdrop { position: fixed; inset: 0; z-index: 160; background: var(--overlay); display: grid; place-items: center; padding: 24px; }
.modal { width: min(420px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 32px; border-radius: var(--r-lg); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-deck); }
.modal > svg { display: block; width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.modal h2 { font-size: var(--h3); line-height: 1.4; }
.modal p { margin-top: 16px; font-size: var(--small); color: var(--muted); }
.modal .actions { justify-content: flex-end; }
.auth-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.auth-story, .auth-panel { min-width: 0; }
.auth-story h1 { font-size: var(--h2); font-weight: 500; line-height: 1.3; }
.auth-story > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); }
.login-card form { margin-top: 24px; }
.login-card .actions .pill { min-height: 44px; margin: 0; }
.auth-notice { padding: 12px 16px; margin: 16px 0; border-radius: var(--r-md); background: var(--tint); color: var(--accent-ink); font-size: var(--small); overflow-wrap: anywhere; }
.desk-layout { padding-top: 48px; padding-bottom: 96px; }
.desk-session { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.desk-session [data-session-email] { overflow-wrap: anywhere; }
.alias-desk { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--ink); }
.alias-compose { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.prefix-group { display: flex; align-items: center; flex: 1; min-width: 0; border: 1px solid var(--control-line); border-radius: var(--r-pill); background: var(--bg2); color: var(--ink); }
.prefix-group:focus-within { outline: 1px solid var(--ink); border-color: var(--ink); }
.prefix-group input { flex: 1; width: 100%; height: 44px; padding: 10px 0 10px 16px; border: 0; border-radius: var(--r-pill); background: var(--transparent); color: var(--ink); font-size: var(--small); outline: none; }
.prefix-group input:focus { outline: none; }
.prefix-group span { padding: 0 16px 0 4px; font-size: var(--small); white-space: nowrap; }
.alias-compose .pill { min-height: 44px; font-size: var(--small); flex: none; }
.alias-compose button[type="submit"] { min-width: 112px; }
.alias-list { margin-top: 24px; }
.alias-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: var(--small); }
.alias-address { overflow-wrap: anywhere; min-width: 0; font-family: var(--mono); }
.alias-row .actions { margin: 0; }
.archive-desk { margin-top: 32px; padding: 32px; background: var(--bg2); color: var(--ink); border-radius: var(--r-lg); }
.archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.archive-list { margin-top: 24px; }
.archive-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); text-align: left; background: var(--transparent); color: var(--ink); font-size: var(--small); }
.archive-row .archive-meta { display: flex; align-items: center; gap: 12px; font-size: var(--micro); }
.archive-row time { white-space: nowrap; color: var(--muted); }
.archive-detail { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); min-width: 0; }
.archive-detail-header { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; }
.archive-detail-header .actions { margin: 0; align-self: flex-start; flex: none; }
.archive-detail-header button { align-self: flex-start; }
.archive-body { margin-top: 24px; overflow-wrap: anywhere; }
.surface-safety { margin-top: 32px; background: var(--tint); color: var(--ink); border: 0; border-radius: var(--r-lg); }
.twofa-idle { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.twofa-status { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.surface-safety .pill-dark {
  background: var(--ink);
  color: var(--bg);
}
.surface-safety .pill-dark:hover {
  background: var(--ink2);
  color: var(--bg);
}
[data-twofa-start] {
  flex: none;
  align-self: center;
  background: var(--ink);
  color: var(--bg);
}
[data-twofa-start]:hover {
  background: var(--ink2);
  color: var(--bg);
}
.twofa-steps { display: grid; gap: 12px; margin-top: 24px; list-style: none; }
.twofa-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--small); }
.step-circle { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border: 1px solid var(--accent); border-radius: var(--r-pill); color: var(--accent-ink); }
.twofa-setup,
[data-twofa-setup] {
  margin-top: 24px;
  margin-right: 0;
  margin-bottom: 24px;
  margin-left: 0;
  padding-top: 24px;
  border-top: 1px solid var(--control-line);
}
.setup-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
[data-twofa-qr] { width: 200px; height: 200px; aspect-ratio: 1; object-fit: contain; background: var(--bg); border-radius: var(--r-md); padding: 12px; }
.twofa-secret { color: var(--ink); font-family: var(--mono); overflow-wrap: anywhere; }
.secret-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.secret-line .pill { flex: none; }
.twofa-confirm-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.twofa-confirm-row input { max-width: 160px; }
.twofa-confirm-row .pill { margin: 0; min-height: 44px; }
.article-hero, .page-hero { padding-top: 64px; padding-bottom: 64px; }
.article-hero h1, .page-hero h1 { font-size: var(--h2); line-height: 1.3; font-weight: 500; margin-top: 24px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--small); color: var(--muted); margin-bottom: 24px; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; max-width: 1120px; margin: 0 auto; padding-bottom: 96px; }
.toc { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; padding: 24px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg2); color: var(--ink); font-size: var(--small); }
.toc ol { padding-left: 20px; margin-top: 16px; }
.toc li + li { margin-top: 8px; }
.toc-count { margin-top: 16px; }
.prose { min-width: 0; font-size: var(--body); line-height: 1.85; }
.prose h2 { font-size: 28px; font-weight: 500; line-height: 1.4; margin: 48px 0 24px; }
.prose h3 { font-size: var(--lead); font-weight: 600; line-height: 1.5; margin: 32px 0 16px; }
.prose p, .prose ul, .prose ol { margin: 16px 0; }
.prose ul, .prose ol { padding-left: 24px; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .pill-dark { background: var(--ink); color: var(--bg); text-decoration: none; }
.prose .pill-line { background: var(--bg); color: var(--ink); text-decoration: none; }
.prose table { margin: 24px 0 32px; }
.article-cta { margin-top: 48px; padding: 32px; border-radius: var(--r-lg); background: var(--deck); color: var(--dtext); }
.article-cta h2 { color: var(--dtext); margin: 0; font-size: var(--h3); }
.article-cta p { color: var(--dmuted); }
.article-cta .pill { background: var(--glow); color: var(--glow-ink); text-decoration: none; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.post-card { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg2); color: var(--ink); }
.post-card h2 { font-size: var(--h3); margin-top: 20px; }
.post-card p { margin-top: 16px; color: var(--muted); }
.post-card time { display: block; margin-top: 24px; color: var(--muted); font-size: var(--small); }
.recommend-float { position: fixed; right: 24px; bottom: 24px; z-index: 55; width: min(320px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-float); overflow: hidden; }
.recommend-float-body { padding: 24px; }
.recommend-float img { display: block; width: 100%; object-fit: cover; }
.recommend-float h3 { font-size: var(--lead); font-weight: 500; }
.recommend-float p { margin-top: 12px; font-size: var(--small); color: var(--muted); }
.recommend-float .pill { margin-top: 24px; white-space: normal; height: auto; }
.float-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-pill); background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.float-close svg { width: 16px; height: 16px; }
body.reader-open, body.modal-open { overflow: hidden; }

@media (max-width: 1100px) {
  :root { --h1: 52px; --h2: 36px; }
  .nav { gap: 16px; }
  .nav-links { gap: 12px; font-size: var(--small); }
  .nav-right { gap: 8px; }
  .nav-right .header-console { display: none; }
  .addr { flex-wrap: wrap; justify-content: center; width: fit-content; border-radius: var(--r-lg); padding: 16px; }
  .addr-sep { display: none; }
  .ttl { justify-content: center; }
  .stage { grid-template-rows: 96px auto auto; }
  .deck { grid-column: 3 / 13; }
  .deck-body { grid-template-columns: minmax(230px, .38fr) minmax(0, .62fr); }
  .db-addr { display: none; }
  .stories .wrap { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; }
  .st { width: calc(50% - 10px); height: 440px; padding: 20px; }
  .usp .wrap { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; }
  .uc { grid-template-columns: 48px minmax(0, 1fr); }
  .uc-side { grid-column: 2; }
  .fw-win { grid-template-columns: minmax(0, 1fr) 300px; }
  .al { grid-template-columns: minmax(0, 1fr) 76px; }
  .al-to { display: none; }
  .ft { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
  .article-layout { width: calc(100% - 64px); gap: 32px; }
}

@media (max-width: 960px) {
  .auth-layout { grid-template-columns: minmax(0, 1fr); max-width: var(--wrap); gap: 40px; }
  .auth-panel { grid-row: 1; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; --h1: 44px; --h2: 32px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; order: -1; }
  .nav { gap: 16px; }
  .brand { margin-right: auto; }
  .nav-right .header-product, .nav-right .header-console { display: none; }
  .notice { font-size: var(--micro); gap: 8px; }
  .hero { padding-top: 64px; }
  .stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 96px auto auto; padding-bottom: 64px; }
  .hero-art { grid-column: 1 / 10; grid-row: 1 / 3; }
  .hero-art .art-photo, .hero-art picture .art-photo { height: 380px; }
  .toast { grid-column: 8 / 13; width: 260px; align-self: start; margin-top: 16px; }
  .hero-art .float-card { align-self: start; margin-top: 32px; }
  .deck { grid-column: 2 / 13; grid-row: 2 / 4; margin-top: 0; }
  .deck-body { height: 624px; }
  .deck-bar { padding-left: 16px; }
  .db-right .live { display: none; }
  .read { padding: 24px; }
  .code { padding: 20px; flex-wrap: wrap; }
  .stories, .usp, .flow, .faq { padding: 64px 0; }
  .stories .wrap, .usp .wrap { grid-template-columns: minmax(0, 1fr); }
  .st-cards { justify-content: stretch; margin-top: 8px; }
  .st { width: calc(50% - 10px); height: 420px; }
  .forward { padding: 0 32px; }
  .fw { padding-top: 64px; }
  .fw-win { grid-template-columns: minmax(0, 1fr); height: auto; }
  .fw-main { border-right: 0; }
  .fw-chat { display: none; }
  .uc { grid-template-columns: 48px minmax(0, 1fr) 220px; }
  .uc-side { grid-column: auto; }
  .flow-head, .faq-head { display: block; }
  .flow-head > p, .faq-head > a { display: block; margin-top: 24px; }
  .steps { gap: 16px; margin-top: 40px; }
  .step { padding: 20px; }
  .line-t { grid-template-columns: minmax(0, 1fr); }
  .cta { padding-bottom: 64px; }
  .cta-box { padding: 64px 24px; }
  .ft { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; margin-bottom: 16px; }
  .ft-brand p { max-width: 560px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .alias-row { grid-template-columns: minmax(0, 1fr) auto; }
  .alias-row .actions { grid-column: 1 / -1; }
  .archive-row { grid-template-columns: minmax(0, 1fr); }
  .setup-grid { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  [data-twofa-qr] { width: 180px; height: 180px; }
}

@media (max-width: 560px) {
  :root { --h1: 34px; --h2: 28px; --h3: 20px; }
  .wrap, .stage { width: calc(100% - 32px); }
  .nav { width: calc(100% - 32px); gap: 10px; }
  .brand { font-size: var(--lead); gap: 6px; }
  .brand img { width: 28px; height: 28px; }
  .nav-right { margin-left: auto; }
  .nav-right > .header-login { display: none; }
  .lang { padding: 8px 24px 8px 8px; }
  .lang .lang-label { display: none; }
  .notice { height: 40px; white-space: nowrap; overflow: hidden; }
  .notice .notice-long { display: none; }
  .notice a { overflow: hidden; text-overflow: ellipsis; }
  .hero { padding-top: 40px; }
  .eyebrow { font-size: var(--small); }
  .hero h1 { line-height: 1.25; }
  .lead { font-size: var(--body); margin-top: 24px; }
  .addr { margin-top: 32px; width: 100%; gap: 12px; padding: 16px 12px; }
  .addr-ico { display: none; }
  .addr-text { width: 100%; margin: 0; font-size: clamp(12px, 3.6vw, 18px); }
  .addr > .pill { min-height: 40px; font-size: var(--small); padding: 8px 18px; }
  .ttl { flex-wrap: wrap; gap: 6px; font-size: var(--micro); width: 100%; padding: 0; }
  .ttl .mono { font-size: var(--micro); }
  .hero-actions { gap: 12px; }
  .hero-actions .pill { font-size: var(--small); padding: 8px 18px; }
  .stage { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; padding-bottom: 48px; }
  .stage > .toast { order: 1; margin: 0 0 0 auto; }
  .stage > .deck { order: 2; }
  .stage > .hero-art { order: 3; }
  .hero-art { width: 100%; min-height: 260px; }
  .hero-art .art-photo, .hero-art picture .art-photo { height: 280px; }
  .hero-art .float-card { align-self: end; margin: 16px; width: min(248px, calc(100% - 32px)); }
  .toast { width: min(320px, 100%); margin: 0 0 0 auto; align-self: flex-end; }
  .deck { margin: 0; width: 100%; flex: none; animation: none; transform: none; }
  .deck-bar { min-height: 56px; }
  .deck-body { display: block; height: auto; min-height: 0; }
  .list { border-right: 0; min-height: 0; max-height: none; }
  .list-foot { padding: 24px; }
  .row { padding-left: 16px; }
  .read { display: none; }
  .reader-back { display: inline-flex; }
  .read.mobile-reader { display: flex; position: fixed; inset: 0; height: 100dvh; z-index: 120; padding: calc(var(--header-h) + 16px) 20px 24px; background: var(--deck); color: var(--dtext); overflow-y: auto; }
  .reader-mobile-actions { position: sticky; top: calc(-1 * var(--header-h) - 16px); margin: calc(-1 * var(--header-h) - 16px) -20px 24px; padding: calc(var(--header-h) + 12px) 20px 12px; display: flex; align-items: center; justify-content: space-between; background: var(--deck); color: var(--dtext); z-index: 2; }
  body.reader-open .hero-art, body.reader-open .stage > .toast { visibility: hidden; }
  .read.mobile-reader .subject { color: var(--dtext); }
  .read.mobile-reader .rbody { color: var(--body-dark); }
  .wall { padding: 16px 0 48px; }
  .spot { width: 180px; height: 80px; font-size: var(--small); }
  .wall-row.off { margin-left: 100px; }
  .stories .pill { margin-top: 32px; }
  .st-cards { flex-direction: column; }
  .st { width: 100%; height: auto; min-height: 360px; padding: 24px; }
  .st-big { margin-top: 24px; }
  .forward { padding: 0 16px; }
  .fw { padding-top: 48px; }
  .fw-win { width: calc(100% - 32px); margin-top: 40px; }
  .fw-main { padding: 20px; }
  .fw-mtitle { flex-direction: column; gap: 8px; }
  .al { padding: 12px; height: auto; min-height: 64px; grid-template-columns: minmax(0, 1fr); }
  .al .mono { font-size: var(--micro); }
  .al-st { justify-self: start; }
  .uc { padding: 24px; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .uc-side { grid-column: 1 / -1; }
  .uc p { font-size: var(--small); }
  .steps, .faq-grid, .post-grid { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 24px; }
  .tl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .qa { padding: 24px; }
  .cta-box { padding: 48px 20px; }
  .cta-addr { font-size: var(--small); }
  .cta-box p { font-size: var(--body); }
  .cta-btns { gap: 12px; }
  footer { padding: 48px 0 32px; }
  .ft { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .ft > .footer-policies { grid-column: 2; grid-row: 2; }
  .ft > .footer-guides { grid-column: 1 / -1; }
  .ft-bot { margin-top: 40px; flex-wrap: wrap; }
  .auth-layout { padding-top: 32px; gap: 32px; }
  .login-card, .card, .alias-desk, .archive-desk, .surface-safety { padding: 24px; }
  .auth-story h1 { line-height: 1.3; }
  .alias-compose { flex-direction: column; align-items: stretch; }
  .prefix-group { width: 100%; flex: auto; }
  .alias-compose .pill { width: 100%; }
  .alias-row { grid-template-columns: minmax(0, 1fr); }
  .alias-row .actions { grid-column: auto; }
  .archive-toolbar { align-items: flex-start; }
  .archive-meta { flex-wrap: wrap; }
  .archive-detail { padding: 20px; }
  .archive-detail-header { flex-direction: column; }
  .setup-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .twofa-confirm-row { align-items: center; }
  .twofa-confirm-row .form-input { width: 100%; max-width: none; }
  .twofa-confirm-row .pill { flex: 1; }
  .secret-line .pill { width: auto; }
  .article-hero, .page-hero { padding-top: 32px; padding-bottom: 40px; }
  .article-layout { width: calc(100% - 32px); }
  .prose h2 { font-size: var(--h3); }
  .recommend-float { right: 16px; bottom: 16px; }
  .modal { padding: 24px; }
}

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


/* Account surfaces and live mail states share the confirmed palette. */
.access-paper { background: var(--bg2); color: var(--ink); }
.access-card { box-shadow: var(--shadow-card); border-color: var(--transparent); }
.access-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; font-size: var(--small); color: var(--muted); }
.access-card-heading img { flex: none; }
.access-card h2 { line-height: 1.45; }
.access-card .auth-notice { margin-top: 24px; }
.access-submit { width: 100%; min-height: 44px; }
.access-secondary .pill { min-height: 44px; }
.access-code { font-family: var(--mono); letter-spacing: .16em; }
.access-fine { margin-top: 32px; font-size: var(--micro); color: var(--muted); line-height: 1.7; }
.access-assistance { margin-top: 20px; padding: 0 16px; font-size: var(--small); color: var(--muted); }
.access-routing { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); }
.access-routing-mark { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-md); background: var(--tint); color: var(--accent-ink); }
.access-routing-mark svg { width: 24px; height: 24px; }
.access-routing-address { font-size: var(--small); overflow-wrap: anywhere; }
.access-routing p { margin-top: 8px; font-size: var(--small); color: var(--muted); }
.access-boundary { margin-top: 32px; padding: 24px; border-radius: var(--r-md); background: var(--tint); color: var(--ink); }
.access-boundary h2 { font-size: var(--lead); line-height: 1.5; }
.access-boundary p { margin-top: 12px; font-size: var(--small); color: var(--muted); }
.access-boundary .pill { margin-top: 24px; }
.workspace-identity { display: flex; align-items: center; gap: 16px; min-width: 0; }
.workspace-identity h1 { font-size: var(--h3); font-weight: 500; line-height: 1.4; }
.workspace-identity p { margin-top: 8px; color: var(--muted); font-size: var(--small); }
.workspace-dot { width: 12px; height: 12px; border-radius: var(--r-pill); background: var(--accent); flex: none; }
.destination-desk { padding: 40px; }
.destination-intro { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; max-width: 960px; }
.destination-symbol { width: 64px; height: 64px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--tint); color: var(--accent-ink); }
.destination-symbol svg { width: 40px; height: 40px; }
.destination-intro h2, .correspondence-intro h2 { font-size: var(--h3); line-height: 1.45; }
.destination-intro .section-intro { max-width: 760px; }
.destination-desk .alias-compose { margin-top: 32px; }
.destination-desk .alias-compose button[type="submit"] { min-width: 136px; }
.destination-quota { margin-top: 24px; color: var(--muted); font-size: var(--micro); }
.destination-activity { margin-top: 24px; padding: 24px; border-radius: var(--r-md); background: var(--bg2); color: var(--ink); border: 1px solid var(--line); }
.destination-activity h3 { font-size: var(--lead); font-weight: 500; }
.destination-activity p { margin-top: 12px; color: var(--muted); font-size: var(--small); overflow-wrap: anywhere; }
.correspondence-desk { padding: 40px; }
.correspondence-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.correspondence-intro .section-intro { margin-top: 0; }
.correspondence-controls { margin-top: 32px; }
.correspondence-empty { background: var(--bg); color: var(--ink); }
.archive-row-main { min-width: 0; display: grid; gap: 8px; }
.archive-row-main strong { font-weight: 500; overflow-wrap: anywhere; }
.archive-row-sender { font-size: var(--micro); color: var(--muted); overflow-wrap: anywhere; }
.archive-row:hover { background: var(--tint); color: var(--ink); }
.correspondence-letterhead { min-width: 0; }
.correspondence-letterhead h2 { overflow-wrap: anywhere; }
.correspondence-letterhead p { margin-top: 12px; font-size: var(--small); color: var(--muted); overflow-wrap: anywhere; }
.correspondence-letterhead .status-pill { margin-top: 16px; }
.correspondence-attachments { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.correspondence-attachments h3 { font-size: var(--lead); font-weight: 500; }
.attachment-line { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: var(--small); }
.attachment-line > span { overflow-wrap: anywhere; min-width: 0; }
.surface-safety h3 { font-size: var(--lead); font-weight: 500; }
.surface-safety .twofa-setup form { margin-top: 24px; }
.surface-safety .twofa-setup .twofa-confirm-row { margin-top: 12px; }
.phone-disable { margin-top: 24px; }
.phone-disable .twofa-confirm-row { margin-top: 12px; }
.workspace-footnote { margin-top: 32px; color: var(--muted); font-size: var(--small); }
.mail-inline-note { margin-bottom: 16px; padding: 12px 16px; border: 1px solid var(--dline); border-radius: var(--r-md); background: var(--deck3); color: var(--dtext); font-size: var(--small); }
.demo-letter { font-size: var(--small); color: var(--body-dark); line-height: 1.75; }
.demo-letter > p { margin-top: 16px; }
.demo-letter > h3 { margin-top: 24px; color: var(--dtext); font-size: var(--h3); font-weight: 500; }
.demo-letter-brand { display: flex; align-items: center; gap: 12px; min-height: 40px; margin-top: 40px; padding: 0; color: var(--dtext); }
.demo-letter-brand svg { flex: none; width: 36px; height: 36px; }
.demo-letter-brand strong { font-size: var(--h3); font-weight: 600; line-height: 1.15; }
.row-sub, .row-pre { display: block; }
.row .dot { margin-right: 6px; }
.rh .badge.b-u { font-size: var(--body); }
.mail-rows.is-empty { display: grid; place-items: center; flex: 1; min-height: 200px; }
.read.reader-empty { justify-content: center; }
.reader-empty .reader-content { display: grid; place-items: center; }
.reader-content iframe { min-width: 0; max-width: 100%; flex: none; }
.address-highlight { outline: 2px solid var(--accent); outline-offset: 6px; }
.lang > .chevron { transform: translateY(calc(-50% - .12em)) rotate(45deg); }
.alias-row .actions { justify-content: flex-end; }
.alias-desk .desk-empty { width: 100%; }
.archive-row { align-items: center; }
.archive-row .archive-meta { justify-content: flex-end; }
.archive-detail { scroll-margin-top: calc(var(--header-h) + 24px); }
.desk-session > [data-logout] { flex: none; }
.twofa-secret { font-size: var(--small); }
[data-login-notice], [data-login-error], [data-alias-error], [data-archive-error], [data-twofa-error] { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .alias-row { grid-template-columns: minmax(0, 1fr) auto; }
  .alias-row .actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 960px) {
  .access-card { max-width: 100%; }
  .correspondence-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 720px) {
  .destination-desk, .correspondence-desk { padding: 24px; }
  .destination-intro { grid-template-columns: minmax(0, 1fr); }
  .destination-symbol { width: 48px; height: 48px; }
  .destination-symbol svg { width: 32px; height: 32px; }
  .alias-compose { flex-direction: column; align-items: stretch; }
  .alias-compose .prefix-group { width: 100%; flex: auto; }
  .alias-compose .pill { width: 100%; }
  .alias-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .alias-address { grid-column: 1 / -1; }
  .alias-row .status-pill { justify-self: start; }
  .alias-row .actions { grid-column: 1; justify-content: flex-start; gap: 8px; }
  .archive-row .archive-meta { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .access-routing { padding: 20px; gap: 12px; }
  .access-boundary { padding: 20px; }
  .access-card { padding: 24px; }
  .access-assistance { padding: 0; }
  .access-secondary { gap: 8px; }
  .access-secondary .pill { padding-left: 14px; padding-right: 14px; }
  .workspace-identity { align-items: flex-start; gap: 12px; }
  .workspace-dot { margin-top: 8px; }
  .workspace-identity p { font-size: var(--micro); }
  .destination-intro .kicker { font-size: var(--small); }
  .archive-detail-header .actions { flex-wrap: wrap; }
  .surface-safety .twofa-confirm-row .form-input { width: 100%; }
  .surface-safety .twofa-confirm-row .pill { flex: 0 1 auto; }
  .correspondence-letterhead .status-pill { margin-top: 16px; }
  .read.mobile-reader { inset: 0; border-radius: 0; transform: none; animation: none; }
  .read.mobile-reader .reader-mobile-actions { flex: none; }
  .read.mobile-reader .acts { position: sticky; bottom: -24px; padding: 16px 0 24px; background: var(--deck); color: var(--dtext); }
  .mail-rows.is-empty { min-height: 200px; }
  .read.mobile-reader.reader-empty .reader-content { flex: 1; }
  .read.mobile-reader .reader-content { flex: none; }
  .addr-text { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
  .hero, .stage { transform: none; animation: none; }
}


/* Local quality corrections, using the existing surface tokens. */
.demo-letter-brand {
  align-items: center;
}
.demo-letter-brand strong {
  line-height: 1;
}
.rh-name .demo,
.rh-name [data-demo-badge] {
  margin-bottom: 0;
}
.forward {
  padding-bottom: 48px;
}
.footer-products {
  min-width: 0;
  margin: 0;
  padding: 0;
}
.footer-products > strong {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.brand-name {
  display: inline-block;
  flex: none;
  white-space: nowrap;
  font-weight: 600;
}
.alias-row .status-pill.is-active {
  background: var(--bg2);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.alias-row .status-pill.is-paused {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
}
[data-reader]:not(.mobile-reader) [data-reader-close] {
  display: none;
}
html[lang="zh"] h1,
html[lang="zh"] h2 {
  text-wrap: balance;
}
[data-alias-prefix] {
  padding-left: 16px;
}
[data-twofa-confirm] {
  margin: 0;
}
.actions [data-twofa-confirm] {
  margin-top: 0;
}
[data-filter-trigger] {
  margin-block: 16px;
}
[data-2fa-disable] {
  margin: 0;
}
.page-hero h1 + p,
.page-hero .section-intro,
.hero-copy h1 + p {
  margin-top: 20px;
}
[data-2fa-badge] {
  margin: 0;
  background: var(--forest);
  color: var(--dtext);
  border: 1px solid var(--accent);
}
.twofa-status {
  margin-bottom: 20px;
}
.twofa-status [data-2fa-badge] {
  margin: 0;
}
@media (min-width: 561px) {
  [data-reader] [data-reader-close] {
    display: none;
  }
}


/* Keep authenticator status and actions aligned. */
.twofa-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.twofa-status :is(.status-pill, [data-2fa-badge]) {
  margin: 0;
}

[data-desk-root] [data-2fa-badge].is-idle {
  background: var(--forest);
  color: var(--dtext);
  border: 1px solid var(--accent);
}

[data-desk-root] :is(.form-actions, .row-actions):has([data-twofa-confirm], [data-2fa-disable]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

[data-desk-root] :is([data-twofa-confirm], [data-twofa-cancel], [data-2fa-disable]) {
  margin: 0;
  align-self: center;
}

[data-desk-root] [data-twofa-disable-form] {
  margin-top: 24px;
}

[data-desk-root] .custom-select {
  margin-block: 16px;
}

[data-desk-root] .filter-trigger {
  margin-block: 16px;
}


/* Privacy policy extends the confirmed paper surfaces. */
.privacy-hero { background: var(--bg2); color: var(--ink); }
.privacy-hero h1 { max-width: 960px; }
.privacy-lead { max-width: 840px; font-size: var(--lead); line-height: 1.85; }
.privacy-version { margin-top: 24px; font-size: var(--small); color: var(--muted); }
.privacy-glance.legal-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.privacy-glance-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); min-width: 0; }
.privacy-index { font-size: var(--micro); font-weight: 500; color: var(--accent-ink); }
.privacy-glance-card h2 { margin-top: 24px; font-size: var(--lead); line-height: 1.5; font-weight: 500; }
.privacy-glance-card p { margin-top: 12px; font-size: var(--small); color: var(--muted); }
.privacy-glance-card a { margin-top: auto; padding-top: 24px; font-size: var(--small); font-weight: 500; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.privacy-layout { padding-top: 64px; }
.privacy-prose > section { scroll-margin-top: calc(var(--header-h) + 24px); }
.privacy-prose > section + section { margin-top: 64px; }
.privacy-prose h2 { font-size: 28px; line-height: 1.4; font-weight: 500; margin: 0 0 24px; }
.privacy-prose h3 { font-size: var(--lead); line-height: 1.5; font-weight: 500; margin: 32px 0 16px; }
.privacy-table-scroll { margin-top: 24px; margin-bottom: 32px; border: 1px solid var(--line); border-radius: var(--r-md); }
.privacy-table-scroll table { min-width: 640px; margin: 0; }
.privacy-caption { padding: 16px; background: var(--bg2); color: var(--muted); text-align: left; font-size: var(--small); }
.privacy-table-scroll th { width: 25%; }
.privacy-table-scroll tbody th { background: var(--bg); color: var(--ink); }
.privacy-table-scroll tr:last-child > * { border-bottom: 0; }
.privacy-retention { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 32px 0; }
.privacy-stat { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg2); color: var(--ink); }
.privacy-stat-archive { grid-column: 1 / -1; background: var(--tint); color: var(--ink); }
.privacy-stat .privacy-stat-label { margin: 0; font-size: var(--small); color: var(--muted); }
.privacy-stat .privacy-stat-number { margin: 16px 0; font-family: var(--mono); font-size: var(--h2); font-weight: 500; line-height: 1.25; color: var(--accent-ink); letter-spacing: 0; }
.privacy-stat-number span { font-family: var(--sans); font-size: var(--lead); }
.privacy-stat > p:last-child { margin: 0; font-size: var(--small); color: var(--muted); }
.privacy-boundary { margin: 32px 0; padding: 24px; border: 1px solid var(--control-line); border-radius: var(--r-md); background: var(--bg2); color: var(--ink); }
.privacy-boundary h3 { margin: 0 0 16px; }
.privacy-boundary p { font-size: var(--small); }
.privacy-boundary p:last-child { margin-bottom: 0; }
.privacy-contact { margin: 32px 0; padding: 32px; border-radius: var(--r-lg); background: var(--tint); color: var(--ink); }
.privacy-contact h3 { margin: 0 0 16px; }
.privacy-contact p { margin-bottom: 0; color: var(--muted); }
.privacy-contact .pill { margin-top: 24px; overflow-wrap: anywhere; }
.privacy-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; font-size: var(--small); }

@media (max-width: 860px) {
  .privacy-glance.legal-glance { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
  .privacy-glance-card { padding: 24px; }
  .privacy-glance-card a { margin-top: 0; }
  .privacy-layout { padding-top: 40px; }
  .privacy-lead { font-size: var(--body); }
  .privacy-prose > section + section { margin-top: 48px; }
  .privacy-prose h2 { font-size: var(--h3); }
  .privacy-retention { grid-template-columns: minmax(0, 1fr); }
  .privacy-stat-archive { grid-column: auto; }
  .privacy-contact { padding: 24px; }
  .privacy-contact .pill { font-size: var(--small); padding-left: 16px; padding-right: 16px; }
  .privacy-version { font-size: var(--micro); }
}


/* Hotspot signup guide. */
.hotspot-hero {
  padding-top: 80px;
  padding-bottom: 64px;
  text-align: center;
  background: var(--bg);
  color: var(--ink);
}
.hotspot-hero .eyebrow {
  margin-bottom: 24px;
}
.hotspot-hero h1 {
  max-width: 960px;
  margin: 24px auto 0;
}
.hotspot-hero-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}
.hotspot-centered-actions {
  justify-content: center;
}
.hotspot-arrival {
  margin-top: 64px;
  padding: 40px;
  border-radius: var(--r-lg);
  background: var(--bg2);
  color: var(--ink);
  text-align: left;
}
.hotspot-arrival-heading {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hotspot-arrival-heading h2 {
  font-size: var(--h3);
  font-weight: 500;
  line-height: 1.4;
}
.hotspot-arrival-heading p {
  margin-top: 8px;
  font-size: var(--small);
  color: var(--muted);
}
.hotspot-symbol {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--tint);
  color: var(--accent-ink);
}
.hotspot-symbol svg {
  display: block;
  width: 32px;
  height: 32px;
}
.hotspot-arrival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.hotspot-arrival-grid p {
  color: var(--muted);
  font-size: var(--small);
}
.hotspot-arrival-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: var(--body);
  font-weight: 500;
}
.hotspot-scope {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--small);
}
.hotspot-section {
  padding: 96px 0;
}
.hotspot-decision {
  padding-top: 32px;
}
.hotspot-section-heading {
  max-width: 800px;
}
.hotspot-section-heading .section-intro {
  margin-top: 24px;
}
.hotspot-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.hotspot-choice {
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.hotspot-choice-index {
  display: block;
  margin-bottom: 24px;
  color: var(--accent-ink);
  font-size: var(--micro);
  font-weight: 600;
}
.hotspot-choice h3 {
  font-size: var(--lead);
  line-height: 1.5;
}
.hotspot-choice > p {
  margin-top: 16px;
  font-size: var(--small);
}
.hotspot-choice-result {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--bg2);
  color: var(--ink);
}
.hotspot-choice-result strong {
  font-size: var(--small);
  font-weight: 600;
  color: var(--accent-ink);
}
.hotspot-choice-result p {
  margin-top: 8px;
  font-size: var(--small);
  color: var(--muted);
}
.hotspot-text-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--accent-ink);
  font-size: var(--small);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.hotspot-text-link:hover {
  color: var(--ink);
}
.hotspot-choice > .hotspot-text-link {
  padding-top: 28px;
  margin-top: auto;
}
.hotspot-process {
  padding: 96px 0;
  background: var(--deck);
  color: var(--dtext);
}
.hotspot-process-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
}
.hotspot-process-intro .kicker {
  color: var(--glow);
}
.hotspot-process-intro h2 {
  color: var(--dtext);
}
.hotspot-process-intro .section-intro {
  color: var(--dmuted);
}
.hotspot-process-intro > .pill {
  margin-top: 32px;
}
.hotspot-process-note {
  margin-top: 24px;
  color: var(--dmuted);
  font-size: var(--small);
}
.hotspot-process-steps {
  display: grid;
  gap: 32px;
  list-style: none;
}
.hotspot-process-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
.hotspot-process-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--dline);
  border-radius: var(--r-pill);
  background: var(--deck2);
  color: var(--glow);
  font-size: var(--small);
}
.hotspot-process-steps h3 {
  padding-top: 4px;
  font-size: var(--lead);
  font-weight: 500;
  line-height: 1.5;
  color: var(--dtext);
}
.hotspot-process-steps p {
  margin-top: 12px;
  font-size: var(--small);
  color: var(--body-dark);
}
.hotspot-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.hotspot-scene {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg2);
  color: var(--ink);
}
.hotspot-scene-heading {
  display: grid;
  gap: 24px;
}
.hotspot-scene-heading h3 {
  font-size: var(--lead);
  font-weight: 500;
  line-height: 1.5;
}
.hotspot-scene-facts {
  margin-top: 24px;
  font-size: var(--small);
}
.hotspot-scene-facts dt {
  color: var(--accent-ink);
  font-weight: 500;
}
.hotspot-scene-facts dt:not(:first-child) {
  margin-top: 20px;
}
.hotspot-scene-facts dd {
  margin-top: 8px;
  color: var(--muted);
}
.hotspot-scene > .hotspot-text-link {
  margin-top: auto;
  padding-top: 32px;
}
.hotspot-limits {
  background: var(--bg2);
  color: var(--ink);
}
.hotspot-limits-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
}
.hotspot-limit-list {
  display: grid;
  gap: 16px;
}
.hotspot-limit-list article {
  padding: 28px 32px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.hotspot-limit-list h3 {
  font-size: var(--lead);
  font-weight: 500;
  line-height: 1.5;
}
.hotspot-limit-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--small);
}
.hotspot-finish {
  padding: 96px 0;
  background: var(--bg);
  color: var(--ink);
}
.hotspot-finish-box {
  padding: 64px 40px;
  border-radius: var(--r-lg);
  background: var(--tint);
  color: var(--ink);
  text-align: center;
}
.hotspot-finish-box .kicker {
  margin-bottom: 24px;
}
.hotspot-finish-box .section-intro {
  max-width: 780px;
  margin: 24px auto 0;
}
.hotspot-finish-note {
  max-width: 780px;
  margin: 24px auto 0;
  font-size: var(--small);
  color: var(--muted);
}
.hotspot-finish-box .actions {
  margin-top: 32px;
}
.hotspot-finish-footnote {
  margin-top: 32px;
  font-size: var(--small);
  color: var(--muted);
}
.hotspot-finish-footnote a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 1100px) {
  .hotspot-choice,
  .hotspot-scene {
    padding: 24px;
  }
  .hotspot-process-layout,
  .hotspot-limits-layout {
    gap: 40px;
  }
}
@media (max-width: 860px) {
  .hotspot-hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .hotspot-arrival {
    margin-top: 48px;
    padding: 32px;
  }
  .hotspot-arrival-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .hotspot-section {
    padding: 64px 0;
  }
  .hotspot-decision {
    padding-top: 16px;
  }
  .hotspot-choice-grid,
  .hotspot-scene-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 32px;
  }
  .hotspot-choice > .hotspot-text-link {
    margin-top: 0;
  }
  .hotspot-process {
    padding: 64px 0;
  }
  .hotspot-process-layout,
  .hotspot-limits-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hotspot-process-steps li {
    gap: 16px;
  }
  .hotspot-scene-heading {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }
  .hotspot-scene > .hotspot-text-link {
    margin-top: 0;
  }
  .hotspot-finish {
    padding: 64px 0;
  }
  .hotspot-finish-box {
    padding: 48px 32px;
  }
}
@media (max-width: 560px) {
  .hotspot-hero {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .hotspot-hero h1 br {
    display: none;
  }
  .hotspot-arrival {
    padding: 24px;
    margin-top: 40px;
  }
  .hotspot-arrival-heading {
    align-items: flex-start;
    gap: 16px;
  }
  .hotspot-arrival-heading h2 {
    font-size: var(--lead);
  }
  .hotspot-choice-result {
    padding: 16px;
  }
  .hotspot-process-steps li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }
  .hotspot-process-number {
    width: 32px;
    height: 32px;
    font-size: var(--micro);
  }
  .hotspot-process-steps h3 {
    padding-top: 0;
  }
  .hotspot-limit-list article {
    padding: 24px;
  }
  .hotspot-finish-box {
    padding: 40px 24px;
  }
  .hotspot-centered-actions .pill {
    white-space: normal;
    height: auto;
  }
}


/* Safety limits: task matrix and separate delivery paths. */
.safety-hero {
  background: var(--bg2);
  color: var(--ink);
  padding-bottom: 64px;
}
.safety-hero .eyebrow {
  color: var(--accent-ink);
  text-align: center;
}
.safety-hero h1 {
  max-width: 1040px;
  margin: 24px auto 0;
  text-align: center;
  line-height: 1.3;
}
.safety-lead {
  max-width: 780px;
  margin: 24px auto 0;
  text-align: center;
  font-size: var(--lead);
  line-height: 1.8;
}
.safety-answer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.safety-answer-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--tint);
  color: var(--accent-ink);
}
.safety-answer-mark svg {
  width: 32px;
  height: 32px;
}
.safety-answer h2 {
  font-size: var(--h3);
  line-height: 1.45;
}
.safety-answer p {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--small);
}
.safety-scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.safety-scope p {
  min-width: 0;
  font-size: var(--small);
}
.safety-scope strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
}
.safety-scope span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.safety-section {
  padding: 96px 0;
  background: var(--bg);
  color: var(--ink);
}
.safety-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: 64px;
}
.safety-section-heading .section-intro {
  margin-top: 24px;
  max-width: 520px;
}
.safety-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  color: var(--ink);
}
.safety-matrix {
  min-width: 880px;
  table-layout: fixed;
  line-height: 1.7;
}
.safety-matrix caption {
  padding: 20px 24px;
  text-align: left;
  font-size: var(--small);
  font-weight: 500;
  background: var(--bg);
  color: var(--muted);
}
.safety-matrix thead th {
  padding: 16px 24px;
  background: var(--tint);
  color: var(--accent-ink);
  font-weight: 500;
}
.safety-matrix thead th:nth-child(1) {
  width: 22%;
}
.safety-matrix thead th:nth-child(2) {
  width: 16%;
}
.safety-matrix thead th:nth-child(3),
.safety-matrix thead th:nth-child(4) {
  width: 31%;
}
.safety-matrix tbody th,
.safety-matrix tbody td {
  padding: 24px;
  vertical-align: top;
}
.safety-matrix tbody th {
  background: var(--bg2);
  color: var(--ink);
  font-weight: 500;
}
.safety-matrix tbody td {
  background: var(--bg);
  color: var(--muted);
}
.safety-matrix tbody tr:last-child > * {
  border-bottom: 0;
}
.safety-matrix .status-pill {
  white-space: nowrap;
}
.safety-matrix a,
.safety-path-evidence a,
.safety-text-link {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.safety-matrix a:hover,
.safety-path-evidence a:hover,
.safety-text-link:hover {
  color: var(--ink);
}
.safety-table-note {
  max-width: 880px;
  margin-top: 32px;
  color: var(--muted);
  font-size: var(--small);
}
.safety-path-section {
  padding: 96px 0;
  background: var(--bg2);
  color: var(--ink);
}
.safety-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.safety-path {
  min-width: 0;
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.safety-path-temp {
  background: var(--bg);
  color: var(--ink);
}
.safety-path-relay {
  background: var(--tint);
  color: var(--ink);
  border-color: var(--control-line);
}
.safety-path-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.safety-path-index {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--bg);
  font-size: var(--small);
}
.safety-path-header h3 {
  font-size: var(--lead);
  line-height: 1.5;
  font-weight: 500;
}
.safety-path-header p {
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--small);
}
.safety-route {
  display: grid;
  gap: 24px;
  list-style: none;
  margin-top: 32px;
}
.safety-route li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.safety-route-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: var(--micro);
}
.safety-route strong {
  display: block;
  font-size: var(--body);
  line-height: 1.7;
  font-weight: 500;
}
.safety-route p {
  margin-top: 8px;
  font-size: var(--small);
  color: var(--muted);
}
.safety-path-note {
  margin-top: 32px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--bg2);
  color: var(--ink2);
  font-size: var(--small);
}
.safety-path-relay .safety-path-note {
  background: var(--bg);
  color: var(--ink2);
}
.safety-path-evidence {
  margin-top: 32px;
  font-size: var(--small);
  color: var(--muted);
}
.safety-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.safety-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg2);
  color: var(--ink);
}
.safety-choice-continuous {
  background: var(--tint);
  color: var(--ink);
}
.safety-choice-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--accent-ink);
}
.safety-choice-icon svg {
  width: 28px;
  height: 28px;
}
.safety-choice h3 {
  margin-top: 24px;
  font-size: var(--h3);
  line-height: 1.45;
  font-weight: 500;
}
.safety-choice > p {
  margin-top: 16px;
  color: var(--muted);
}
.safety-choice-check {
  margin-top: 24px;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 1px solid var(--control-line);
  font-size: var(--small);
}
.safety-choice-check strong {
  font-weight: 500;
}
.safety-choice-check p {
  margin-top: 8px;
  color: var(--muted);
}
.safety-text-link {
  display: inline-block;
  font-size: var(--small);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.safety-choice > .safety-text-link {
  margin-top: auto;
}
.safety-care-section {
  padding: 96px 0;
  background: var(--bg2);
  color: var(--ink);
}
.safety-care-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.safety-care-intro {
  min-width: 0;
}
.safety-care-intro > .safety-text-link {
  margin-top: 32px;
}
.safety-care-list {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.safety-care-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
}
.safety-care-number {
  padding-top: 2px;
  color: var(--accent-ink);
  font-size: var(--small);
}
.safety-care-item h3 {
  font-size: var(--lead);
  font-weight: 500;
  line-height: 1.5;
}
.safety-care-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--small);
}
.safety-conclusion-section {
  padding: 96px 0;
  background: var(--bg);
  color: var(--ink);
}
.safety-conclusion {
  text-align: center;
}
.safety-conclusion .section-intro {
  max-width: 760px;
  margin: 24px auto 0;
}
.safety-evidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}
.safety-evidence a {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg2);
  color: var(--ink);
}
.safety-evidence a:hover {
  background: var(--tint);
  color: var(--accent-ink);
}
.safety-evidence strong {
  display: block;
  font-size: var(--body);
  font-weight: 500;
}
.safety-evidence span {
  display: block;
  margin-top: 8px;
  font-size: var(--small);
  color: var(--muted);
}
.safety-final {
  margin-top: 64px;
  padding: 64px 32px;
  border-radius: var(--r-lg);
  background: var(--deck);
  color: var(--dtext);
  text-align: center;
}
.safety-final-label {
  display: block;
  margin-bottom: 24px;
  font-size: var(--small);
  color: var(--glow);
}
.safety-final h2 {
  color: var(--dtext);
  font-size: var(--h2);
}
.safety-final p {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--dmuted);
}
.safety-final .actions {
  justify-content: center;
  margin-top: 32px;
}
.safety-final .a-ghost {
  background: var(--deck3);
  color: var(--dtext);
  box-shadow: inset 0 0 0 1px var(--dline);
}
.safety-final .a-ghost:hover {
  background: var(--chat);
  color: var(--dtext);
}

@media (max-width: 860px) {
  .safety-hero {
    padding-bottom: 48px;
  }
  .safety-lead {
    font-size: var(--body);
  }
  .safety-answer {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
  }
  .safety-answer > .pill {
    grid-column: 2;
    justify-self: start;
  }
  .safety-scope {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .safety-section,
  .safety-path-section,
  .safety-care-section,
  .safety-conclusion-section {
    padding: 64px 0;
  }
  .safety-section-heading,
  .safety-care-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .safety-section-heading .section-intro {
    max-width: 100%;
    margin-top: 0;
  }
  .safety-paths {
    grid-template-columns: minmax(0, 1fr);
  }
  .safety-choices {
    grid-template-columns: minmax(0, 1fr);
  }
  .safety-choice > .safety-text-link {
    margin-top: 0;
  }
  .safety-evidence {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .safety-final {
    padding: 48px 24px;
  }
}

@media (max-width: 560px) {
  .safety-hero h1 br {
    display: none;
  }
  .safety-answer {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
    margin-top: 32px;
  }
  .safety-answer > .pill {
    grid-column: 1;
  }
  .safety-table-wrap,
  .safety-paths,
  .safety-choices,
  .safety-evidence {
    margin-top: 32px;
  }
  .safety-matrix caption {
    padding: 16px;
  }
  .safety-path,
  .safety-choice {
    padding: 24px;
  }
  .safety-path-header {
    gap: 12px;
  }
  .safety-route li {
    gap: 12px;
  }
  .safety-care-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 24px;
  }
  .safety-final {
    margin-top: 48px;
    padding: 40px 20px;
  }
  .safety-final .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .safety-final .pill {
    width: 100%;
    white-space: normal;
  }
}


/* Terms use the shared paper, forest and control surfaces. */
.terms-hero { background: var(--bg2); color: var(--ink); padding-bottom: 64px; }
.terms-hero h1 { max-width: 960px; }
.terms-hero .section-intro { max-width: 780px; font-size: var(--lead); line-height: 1.75; }
.terms-version { margin-top: 24px; font-size: var(--micro); color: var(--muted); max-width: 780px; }
.terms-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.terms-glance-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); }
.terms-index { font-family: var(--mono); font-size: var(--micro); font-weight: 500; letter-spacing: 0; color: var(--accent-ink); }
.terms-glance-card h2 { margin-top: 24px; font-size: var(--lead); font-weight: 500; line-height: 1.5; }
.terms-glance-card p { margin-top: 12px; font-size: var(--small); line-height: 1.75; color: var(--muted); }
.terms-glance-card a { display: inline-block; margin-top: auto; padding-top: 24px; font-size: var(--small); font-weight: 500; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.terms-glance-card a:hover { color: var(--ink); }
.terms-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-top: 64px; padding-bottom: 96px; align-items: start; }
.terms-toc h2 { font-size: var(--body); line-height: 1.5; font-weight: 500; }
.terms-toc a { text-decoration: underline; text-decoration-color: var(--control-line); text-underline-offset: 4px; }
.terms-toc a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.terms-toc .toc-count { color: var(--muted); font-size: var(--micro); }
.terms-copy { max-width: 860px; }
.terms-copy section { scroll-margin-top: calc(var(--header-h) + 32px); }
.terms-copy section + section { margin-top: 64px; }
.terms-copy .terms-section-label { margin: 0 0 24px; color: var(--accent-ink); font-size: var(--small); font-weight: 500; }
.terms-copy h2 { margin: 0 0 24px; font-size: 28px; line-height: 1.4; font-weight: 500; }
.terms-copy h3 { margin: 32px 0 16px; font-size: var(--lead); line-height: 1.5; font-weight: 500; }
.terms-copy p { color: var(--ink2); }
.terms-copy .terms-use-list { display: grid; gap: 20px; padding: 24px; margin: 24px 0 32px; list-style: none; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg2); color: var(--ink); }
.terms-use-list li { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 24px; align-items: start; }
.terms-use-list strong { font-size: var(--small); font-weight: 500; line-height: 1.75; color: var(--ink); }
.terms-use-list span { font-size: var(--small); line-height: 1.75; color: var(--muted); }
.terms-caution { margin: 32px 0; padding: 24px; border-radius: var(--r-md); background: var(--tint); color: var(--ink); }
.terms-copy .terms-caution h3 { margin: 0 0 12px; }
.terms-copy .terms-caution p { margin: 0; color: var(--ink2); }
.terms-table { margin-top: 24px; margin-bottom: 32px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); }
.terms-copy .terms-table table { min-width: 600px; margin: 0; }
.terms-table caption { padding: 16px; text-align: left; font-size: var(--small); font-weight: 500; background: var(--tint); color: var(--accent-ink); }
.terms-table thead th { background: var(--bg2); color: var(--ink); }
.terms-table tbody th { width: 24%; font-weight: 500; background: var(--bg); color: var(--ink); }
.terms-table td { width: 38%; color: var(--muted); }
.terms-table tbody tr:last-child th, .terms-table tbody tr:last-child td { border-bottom: 0; }
.terms-contact { margin: 32px 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg2); color: var(--ink); }
.terms-copy .terms-contact h3 { margin: 0 0 16px; }
.terms-copy .terms-contact p { margin: 0; color: var(--muted); }
.terms-contact .actions { margin-top: 24px; }
.terms-copy .terms-final { margin-top: 64px; }
.terms-copy .terms-final h2 { font-size: var(--h3); line-height: 1.45; color: var(--dtext); }
.terms-copy .terms-final p { color: var(--dmuted); }
.terms-copy .terms-final .terms-final-link { color: var(--dtext); font-size: var(--small); text-decoration: underline; text-underline-offset: 4px; }
.terms-copy .terms-final .terms-final-link:hover { color: var(--glow); }

@media (max-width: 860px) {
  .terms-hero { padding-bottom: 48px; }
  .terms-hero .section-intro { font-size: var(--body); }
  .terms-glance { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
  .terms-glance-card { padding: 24px; }
  .terms-glance-card h2 { margin-top: 20px; }
  .terms-glance-card a { margin-top: 0; padding-top: 20px; }
  .terms-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 64px; }
  .terms-toc { position: static; }
  .terms-copy { max-width: none; }
  .terms-copy section + section { margin-top: 48px; }
  .terms-copy h2 { font-size: var(--h3); line-height: 1.5; }
  .terms-copy h3 { font-size: var(--lead); line-height: 1.5; }
  .terms-use-list li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .terms-contact { padding: 24px; }
  .terms-contact .pill { overflow-wrap: anywhere; white-space: normal; }
  .terms-copy .terms-final { margin-top: 48px; padding: 24px; }
}


/* Address lifetime: shared surfaces with a task-led timeline. */
.lifespan-hero { background: var(--bg2); color: var(--ink); padding-bottom: 64px; }
.lifespan-hero h1 { max-width: 960px; }
.lifespan-lead { max-width: 760px; font-size: var(--lead); color: var(--muted); }
.lifespan-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.lifespan-number { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); }
.lifespan-number > p { font-size: var(--small); color: var(--muted); }
.lifespan-number > strong { display: block; margin: 16px 0; font-family: var(--mono); font-size: var(--h2); line-height: 1.25; font-weight: 500; color: var(--accent-ink); }
.lifespan-number > strong span { font-family: var(--sans); font-size: var(--lead); font-weight: 400; }
.lifespan-caption { margin-top: 24px; max-width: 860px; font-size: var(--small); color: var(--muted); }
.lifespan-caption a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.lifespan-section { padding: 96px 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.lifespan-paper { background: var(--bg2); color: var(--ink); }
.lifespan-section-head { min-width: 0; }
.lifespan-section-head .section-intro { margin-top: 24px; color: var(--muted); }
.lifespan-section-head > .pill { margin-top: 32px; }
.lifespan-wide-head { max-width: 800px; }
.lifespan-journey { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.lifespan-track { list-style: none; min-width: 0; }
.lifespan-event { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 24px; padding-bottom: 40px; }
.lifespan-event:not(:last-child)::before { content: ""; position: absolute; top: 44px; bottom: 0; left: 21px; width: 1px; background: var(--line); }
.lifespan-event:last-child { padding-bottom: 0; }
.lifespan-step { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--control-line); border-radius: var(--r-pill); background: var(--bg); color: var(--accent-ink); font-size: var(--small); font-weight: 500; }
.lifespan-event h3 { margin-top: 16px; font-size: var(--lead); line-height: 1.5; font-weight: 500; color: var(--ink); }
.lifespan-event p { margin-top: 12px; color: var(--muted); font-size: var(--body); }
.lifespan-mail-clock { background: var(--sand-ink); color: var(--sand); }
.lifespan-table { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); }
.lifespan-table table { min-width: 720px; }
.lifespan-table thead th { background: var(--tint); color: var(--accent-ink); }
.lifespan-table tbody th { width: 15%; background: var(--bg); color: var(--ink); white-space: nowrap; }
.lifespan-table td { width: 28.333%; color: var(--muted); }
.lifespan-table tbody tr:last-child > * { border-bottom: 0; }
.lifespan-operation-note { display: flex; align-items: flex-start; gap: 16px; margin-top: 32px; max-width: 920px; color: var(--muted); font-size: var(--small); }
.lifespan-operation-note > svg { width: 24px; height: 24px; flex: none; color: var(--accent); }
.lifespan-operation-note strong { font-weight: 500; color: var(--ink); }
.lifespan-plan-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.lifespan-plan-warning { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg2); color: var(--muted); font-size: var(--small); }
.lifespan-planner { padding: 40px; border-radius: var(--r-lg); background: var(--deck); color: var(--dtext); min-width: 0; }
.lifespan-planner-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; font-size: var(--micro); color: var(--dmuted); }
.lifespan-planner-top .mono { color: var(--glow); }
.lifespan-range-label { display: block; font-size: var(--lead); font-weight: 500; line-height: 1.5; }
.lifespan-range-row { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.lifespan-range-row input { flex: 1; width: 100%; min-width: 0; height: 44px; accent-color: var(--glow); cursor: pointer; }
.lifespan-range-row input:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; }
.lifespan-hour-output { flex: none; font-size: var(--lead); line-height: 1.4; font-weight: 500; color: var(--dtext); text-align: right; }
.lifespan-range-help { margin-top: 12px; font-size: var(--micro); color: var(--dmuted); }
.lifespan-progress-row { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.lifespan-progress-row progress { flex: 1; min-width: 0; width: 100%; height: 6px; appearance: none; border: 0; border-radius: var(--r-pill); overflow: hidden; background: var(--deck3); color: var(--glow); }
.lifespan-progress-row progress::-webkit-progress-bar { border-radius: var(--r-pill); background: var(--deck3); }
.lifespan-progress-row progress::-webkit-progress-value { border-radius: var(--r-pill); background: var(--glow); }
.lifespan-progress-row progress::-moz-progress-bar { border-radius: var(--r-pill); background: var(--glow); }
.lifespan-progress-row > span { flex: none; color: var(--dmuted); font-size: var(--micro); }
.lifespan-verdict { margin-top: 32px; }
.lifespan-verdict-pill { display: inline-flex; align-items: center; max-width: 100%; padding: 6px 12px; border-radius: var(--r-pill); background: var(--glow); color: var(--glow-ink); font-size: var(--small); font-weight: 500; }
.lifespan-verdict p { margin-top: 16px; color: var(--dtext); font-size: var(--body); }
.lifespan-estimate-note { margin-top: 24px; font-size: var(--small); color: var(--dmuted); }
.lifespan-planner .actions { margin-top: 32px; }
.lifespan-noscript { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--dline); color: var(--dtext); font-size: var(--small); }
.lifespan-expiry-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.lifespan-outcomes { display: grid; gap: 16px; min-width: 0; }
.lifespan-outcome { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--ink); }
.lifespan-outcome h3 { font-size: var(--lead); line-height: 1.5; font-weight: 500; }
.lifespan-outcome p { margin-top: 12px; color: var(--muted); font-size: var(--body); }
.lifespan-task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.lifespan-task { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg2); color: var(--ink); min-width: 0; }
.lifespan-task h3 { margin-top: 20px; font-size: var(--lead); font-weight: 500; line-height: 1.5; }
.lifespan-task p { margin-top: 12px; color: var(--muted); font-size: var(--body); }
.lifespan-final { margin-top: 48px; padding: 48px; }
.lifespan-final p { max-width: 760px; margin-top: 24px; font-size: var(--body); }
.lifespan-final .actions { margin-top: 32px; }
.lifespan-final .pill { min-height: 44px; }
.lifespan-final .pill + .pill { background: var(--bg); color: var(--ink); }
.lifespan-final .pill:hover { background: var(--glow-hover); color: var(--glow-ink); }
.lifespan-final .pill + .pill:hover { background: var(--tint); color: var(--ink); }

@media (max-width: 860px) {
  .lifespan-hero { padding-bottom: 48px; }
  .lifespan-glance { gap: 16px; margin-top: 32px; }
  .lifespan-number { padding: 24px; }
  .lifespan-section { padding: 64px 0; }
  .lifespan-journey, .lifespan-plan-layout, .lifespan-expiry-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lifespan-section-head { max-width: 720px; }
  .lifespan-task-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lifespan-task { padding: 24px; }
  .lifespan-final { padding: 32px; }
}

@media (max-width: 560px) {
  .lifespan-lead { font-size: var(--body); }
  .lifespan-glance { grid-template-columns: minmax(0, 1fr); }
  .lifespan-number { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; }
  .lifespan-number > strong { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: var(--h2); }
  .lifespan-number > strong span { font-size: var(--small); }
  .lifespan-number > p:last-child { grid-column: 1; }
  .lifespan-section { padding: 48px 0; }
  .lifespan-event { grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-bottom: 32px; }
  .lifespan-step { width: 36px; height: 36px; }
  .lifespan-event:not(:last-child)::before { left: 17px; top: 36px; }
  .lifespan-event p { font-size: var(--small); }
  .lifespan-planner { padding: 24px; }
  .lifespan-range-row { gap: 16px; }
  .lifespan-hour-output { font-size: var(--body); }
  .lifespan-progress-row { gap: 12px; }
  .lifespan-operation-note { gap: 12px; }
  .lifespan-final { padding: 28px 24px; }
  .lifespan-final .actions { align-items: stretch; }
  .lifespan-final .pill { width: 100%; }
}


.section-head,
.content-head {
  margin-bottom: 40px;
}





/* Notes share the confirmed paper, forest and capsule system. */
.notes-index-hero {
  padding-top: 80px;
  padding-bottom: 48px;
  background: var(--bg2);
  color: var(--ink);
}
.notes-index-hero .eyebrow {
  color: var(--accent-ink);
  margin-bottom: 24px;
}
.notes-index-hero h1 {
  max-width: 960px;
  margin-top: 24px;
  font-size: var(--h1);
  font-weight: 500;
  line-height: 1.22;
}
.notes-post-count {
  margin-top: 24px;
  border: 1px solid var(--control-line);
  background: var(--bg);
  color: var(--accent-ink);
}
.notes-index-lead {
  max-width: 720px;
  margin-top: 24px;
  font-size: var(--body);
  line-height: 1.85;
  color: var(--muted);
}
.notes-index-body {
  padding-top: 48px;
  padding-bottom: 96px;
}
.notes-post-grid {
  margin-top: 0;
  align-items: stretch;
}
.notes-post-card {
  min-width: 0;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.notes-post-card:hover {
  border-color: var(--accent);
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.notes-post-tag {
  align-self: flex-start;
  background: var(--tint);
  color: var(--accent-ink);
}
.notes-post-card .notes-post-title {
  margin-top: 24px;
  font-size: var(--h3);
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.notes-post-card .notes-post-description {
  margin-top: 20px;
  margin-bottom: 32px;
  font-size: var(--body);
  line-height: 1.85;
  color: var(--muted);
}
.notes-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: auto;
  padding-top: 8px;
  font-size: var(--small);
  color: var(--muted);
}
.notes-post-card .notes-post-meta time {
  display: inline;
  margin-top: 0;
  font-size: var(--small);
  color: var(--muted);
}
.notes-read-minutes {
  color: var(--accent-ink);
}
.notes-noscript {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg2);
  color: var(--muted);
  font-size: var(--small);
}

/* Article components are scoped away from the marketing homepage. */
.notes-article-page {
  min-width: 0;
}
.notes-article-hero {
  padding-top: 64px;
  padding-bottom: 56px;
  background: var(--bg2);
  color: var(--ink);
}
.notes-article-hero .breadcrumb {
  margin-bottom: 32px;
  font-size: var(--small);
  color: var(--muted);
}
.notes-article-hero .breadcrumb a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.notes-article-hero .eyebrow {
  margin-bottom: 24px;
  color: var(--accent-ink);
}
.notes-article-hero h1 {
  max-width: 1040px;
  margin-top: 24px;
  font-size: var(--h2);
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.notes-article-hero .section-intro {
  max-width: 820px;
  margin-top: 24px;
  font-size: var(--lead);
  color: var(--muted);
  line-height: 1.85;
}
.notes-article-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-size: var(--small);
  color: var(--muted);
}
.notes-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--ink2);
  font-size: var(--micro);
  line-height: 1.5;
}
.notes-article-meta .notes-meta-pill time {
  color: var(--ink2);
}
.notes-article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 96px;
}
.notes-toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg2);
  color: var(--ink);
  font-size: var(--small);
}
.notes-toc h2 {
  font-size: var(--body);
  line-height: 1.5;
  font-weight: 500;
}
.notes-toc ol {
  margin-top: 20px;
  padding-left: 20px;
}
.notes-toc li + li {
  margin-top: 12px;
}
.notes-toc a {
  overflow-wrap: anywhere;
}
.notes-toc a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.notes-toc .toc-count {
  margin-top: 20px;
  font-size: var(--micro);
  color: var(--muted);
}
.notes-toc-mobile {
  display: none;
}
.notes-prose {
  min-width: 0;
  font-size: var(--body);
  line-height: 1.9;
  color: var(--ink2);
  overflow-wrap: anywhere;
}
.notes-prose section {
  scroll-margin-top: calc(var(--header-h) + 32px);
}
.notes-prose section + section {
  margin-top: 56px;
}
.notes-prose h2 {
  margin: 48px 0 24px;
  font-size: var(--h3);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}
.notes-prose > section > h2:first-child {
  margin-top: 0;
}
.notes-prose h3 {
  margin: 32px 0 16px;
  font-size: var(--lead);
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
}
.notes-prose p {
  margin: 16px 0;
}
.notes-prose ul,
.notes-prose ol {
  margin: 20px 0 32px;
  padding-left: 24px;
}
.notes-prose li + li {
  margin-top: 12px;
}
.notes-prose strong {
  font-weight: 600;
  color: var(--ink);
}
.notes-prose a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.notes-prose a:hover {
  color: var(--ink);
}
.notes-prose code {
  font-family: var(--mono);
  letter-spacing: 0;
  font-size: var(--small);
  background: var(--bg2);
  color: var(--accent-ink);
}
.notes-prose blockquote,
.notes-callout {
  margin: 32px 0;
  padding: 24px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-md);
  background: var(--bg2);
  color: var(--ink2);
}
.notes-callout h3 {
  margin: 0 0 16px;
}
.notes-callout p:last-child,
.notes-prose blockquote p:last-child {
  margin-bottom: 0;
}
.notes-table-scroll {
  margin: 24px 0 32px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
}
.notes-prose .notes-table-scroll table {
  min-width: 640px;
  margin: 0;
}
.notes-table-scroll caption {
  padding: 16px;
  text-align: left;
  font-size: var(--small);
  background: var(--tint);
  color: var(--accent-ink);
}
.notes-table-scroll th {
  font-weight: 500;
  background: var(--bg2);
  color: var(--ink);
}
.notes-table-scroll td {
  color: var(--muted);
}
.notes-table-scroll tr:last-child > * {
  border-bottom: 0;
}
.notes-prose figure {
  margin: 32px 0;
}
.notes-prose figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
}
.notes-prose figcaption {
  margin-top: 12px;
  font-size: var(--small);
  color: var(--muted);
}
.notes-article-cta {
  margin-top: 56px;
  padding: 40px;
  border-radius: var(--r-lg);
  background: var(--deck);
  color: var(--dtext);
}
.notes-prose .notes-article-cta h2 {
  margin: 0;
  color: var(--dtext);
  font-size: var(--h3);
  line-height: 1.5;
}
.notes-prose .notes-article-cta p {
  margin-top: 24px;
  color: var(--dmuted);
}
.notes-article-cta .actions {
  margin-top: 32px;
}
.notes-prose .notes-article-cta .pill {
  min-height: 44px;
  font-size: var(--small);
  text-decoration: none;
}
.notes-prose .notes-article-cta .a-main {
  background: var(--glow);
  color: var(--glow-ink);
}
.notes-prose .notes-article-cta .a-main:hover {
  background: var(--glow-hover);
  color: var(--glow-ink);
}
.notes-prose .notes-article-cta .a-ghost {
  background: var(--deck3);
  color: var(--dtext);
  box-shadow: inset 0 0 0 1px var(--dline);
}
.notes-prose .notes-article-cta .a-ghost:hover {
  background: var(--chat);
  color: var(--dtext);
}
.notes-recommend {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 55;
  width: min(320px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-float);
}
.notes-recommend-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 24px;
  background: var(--tint);
  color: var(--accent-ink);
}
.notes-recommend-media > svg {
  width: 48px;
  height: 48px;
}
.notes-recommend-media > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.notes-recommend-body {
  padding: 24px;
}
.notes-recommend-label {
  margin-bottom: 20px;
  font-size: var(--micro);
  color: var(--accent-ink);
}
.notes-recommend h3 {
  font-size: var(--lead);
  font-weight: 500;
  line-height: 1.5;
}
.notes-recommend-body > p:not(.notes-recommend-label) {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--small);
}
.notes-recommend .pill {
  margin-top: 24px;
  max-width: 100%;
  min-height: 44px;
  height: auto;
  white-space: normal;
  font-size: var(--small);
  line-height: 1.35;
}
.notes-recommend .float-close {
  z-index: 1;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--control-line);
}
.notes-recommend .float-close:hover {
  background: var(--bg2);
  color: var(--ink);
}

@media (max-width: 1100px) {
  .notes-article-layout {
    gap: 40px;
  }
  .notes-post-card {
    padding: 32px;
  }
}

@media (max-width: 860px) {
  .notes-index-hero {
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .notes-index-hero h1 {
    font-size: var(--h2);
    line-height: 1.35;
  }
  .notes-index-body {
    padding-top: 32px;
    padding-bottom: 64px;
  }
  .notes-post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .notes-article-hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .notes-article-hero .section-intro {
    font-size: var(--body);
  }
  .notes-article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 64px;
  }
  .notes-toc-desktop {
    display: none;
  }
  .notes-toc-mobile {
    display: block;
    position: static;
    padding: 16px 20px;
  }
  .notes-toc-mobile summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    cursor: pointer;
    font-weight: 500;
  }
  .notes-toc-mobile summary::-webkit-details-marker {
    display: none;
  }
  .notes-toc-mobile summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    flex: none;
  }
  .notes-toc-mobile[open] summary::after {
    transform: rotate(225deg);
  }
  .notes-toc-mobile[open] {
    padding-bottom: 24px;
  }
  .notes-prose h2 {
    font-size: 24px;
  }
  .notes-article-cta {
    padding: 32px;
    margin-top: 48px;
  }
}

@media (max-width: 560px) {
  .notes-index-hero {
    padding-top: 32px;
  }
  .notes-index-hero h1 br {
    display: none;
  }
  .notes-post-card {
    padding: 24px;
  }
  .notes-post-card .notes-post-description {
    font-size: var(--small);
  }
  .notes-post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .notes-article-hero {
    padding-top: 32px;
  }
  .notes-article-hero .breadcrumb {
    margin-bottom: 24px;
  }
  .notes-article-layout {
    width: calc(100% - 32px);
    padding-top: 32px;
  }
  .notes-prose h2 {
    font-size: 24px;
  }
  .notes-prose section + section {
    margin-top: 40px;
  }
  .notes-article-cta {
    padding: 28px 24px;
  }
  .notes-article-cta .actions {
    align-items: stretch;
  }
  .notes-article-cta .pill {
    width: 100%;
    height: auto;
    white-space: normal;
  }
  .notes-recommend {
    right: 16px;
    bottom: 16px;
  }
}


/* Notes detail: paper reading surface and a persistent tool recommendation. */
.notes-reading-wrap {
  width: min(1120px, calc(100% - 64px));
}
.notes-reading-hero {
  padding-top: 96px;
  padding-bottom: 64px;
  background: var(--bg2);
  color: var(--ink);
}
.notes-reading-hero .breadcrumb {
  margin-bottom: 32px;
}
.notes-reading-hero .breadcrumb a:hover {
  color: var(--accent-ink);
}
.notes-reading-hero .eyebrow {
  margin-bottom: 24px;
  color: var(--accent-ink);
}
.notes-reading-hero h1 {
  max-width: 960px;
  margin-top: 24px;
  font-size: var(--h2);
  line-height: 1.3;
  font-weight: 500;
}
.notes-article-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: 100%;
  margin-top: 32px;
  padding: 8px 16px;
  border: 1px solid var(--control-line);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--muted);
  font-size: var(--micro);
  line-height: 1.6;
}
.notes-article-meta > * {
  white-space: nowrap;
}
.notes-article-lead {
  max-width: 820px;
  margin-top: 24px;
  font-size: var(--lead);
  line-height: 1.85;
}
.notes-opening-note {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  max-width: 920px;
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
}
.notes-opening-note > svg {
  width: 32px;
  height: 32px;
  color: var(--accent-ink);
}
.notes-opening-note strong {
  font-size: var(--body);
  font-weight: 500;
}
.notes-opening-note p {
  margin-top: 8px;
  font-size: var(--small);
  line-height: 1.75;
  color: var(--muted);
}
.notes-reading-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 96px;
}
.notes-reading-main {
  min-width: 0;
}
.notes-toc-desktop {
  z-index: 2;
  padding: 24px;
  font-size: var(--small);
}
.notes-toc-desktop > strong {
  font-weight: 500;
}
.notes-toc-desktop ol,
.notes-toc-mobile ol {
  padding-left: 20px;
  margin-top: 20px;
}
.notes-toc-desktop li,
.notes-toc-mobile li {
  margin-block: 0;
  padding-left: 2px;
}
.notes-toc-desktop li + li,
.notes-toc-mobile li + li {
  margin-top: 8px;
}
.notes-toc-desktop li a,
.notes-toc-mobile li a {
  text-decoration: underline;
  text-decoration-color: var(--control-line);
  text-underline-offset: 4px;
}
.notes-toc-desktop li a:hover,
.notes-toc-mobile li a:hover {
  color: var(--accent-ink);
  text-decoration-color: currentColor;
}
.notes-toc-desktop .toc-count,
.notes-toc-mobile .toc-count {
  display: inline-flex;
  margin-top: 24px;
  background: var(--tint);
  color: var(--accent-ink);
  text-decoration: none;
}
.notes-toc-mobile {
  display: none;
}
.notes-article-copy {
  color: var(--ink2);
}
.notes-article-copy > section {
  scroll-margin-top: calc(var(--header-h) + 32px);
}
.notes-article-copy > section + section {
  margin-top: 48px;
}
.notes-article-copy h2 {
  margin: 0 0 24px;
  font-size: var(--h3);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}
.notes-article-copy h3 {
  font-size: var(--lead);
  line-height: 1.5;
  font-weight: 500;
}
.notes-article-copy strong {
  font-weight: 600;
}
.notes-article-copy p {
  margin: 16px 0;
}
.notes-article-copy section > p:last-child {
  margin-bottom: 0;
}
.notes-article-copy ul {
  margin: 24px 0 32px;
  padding: 24px 24px 24px 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg2);
  color: var(--ink2);
}
.notes-article-copy li + li {
  margin-top: 8px;
}
.notes-article-table {
  margin-top: 24px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
}
.notes-article-table table {
  min-width: 620px;
  margin: 0;
  font-size: var(--small);
  line-height: 1.75;
}
.notes-article-table caption {
  padding: 16px;
  text-align: left;
  background: var(--tint);
  color: var(--accent-ink);
  font-weight: 500;
}
.notes-article-table thead th {
  background: var(--bg2);
  color: var(--ink);
  font-weight: 500;
}
.notes-article-table tbody th {
  width: 22%;
  background: var(--bg);
  color: var(--ink);
  font-weight: 500;
}
.notes-article-table td {
  width: 39%;
  color: var(--muted);
}
.notes-article-table tr:last-child > * {
  border-bottom: 0;
}
.notes-end-card {
  margin-top: 64px;
  padding: 40px;
  background: var(--deck);
  color: var(--dtext);
}
.notes-end-symbol {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: var(--glow);
}
.notes-end-card .notes-end-label {
  margin: 0 0 24px;
  font-size: var(--small);
  color: var(--glow);
}
.notes-article-copy .notes-end-card h2 {
  margin: 0;
  color: var(--dtext);
  font-size: var(--h3);
}
.notes-end-card > p:not(.notes-end-label) {
  margin: 24px 0 0;
  color: var(--dmuted);
}
.notes-end-card .actions {
  margin-top: 32px;
}
.notes-article-copy .notes-end-card .a-main {
  background: var(--glow);
  color: var(--glow-ink);
  text-decoration: none;
}
.notes-article-copy .notes-end-card .a-main:hover {
  background: var(--glow-hover);
  color: var(--glow-ink);
}
.notes-article-copy .notes-end-card .a-ghost {
  background: var(--deck3);
  color: var(--dtext);
  box-shadow: inset 0 0 0 1px var(--dline);
  text-decoration: none;
}
.notes-article-copy .notes-end-card .a-ghost:hover {
  background: var(--chat);
  color: var(--dtext);
}
.notes-tool-float {
  z-index: 55;
  width: min(296px, calc(100% - 32px));
}
.notes-tool-float-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px 20px 20px;
  background: var(--tint);
  color: var(--accent-ink);
  font-size: var(--micro);
  font-weight: 500;
}
.notes-tool-float-heading img {
  flex: none;
}
.notes-tool-float .float-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--bg);
  color: var(--ink);
}
.notes-tool-float .recommend-float-body {
  padding: 20px;
}
.notes-tool-float h3 {
  font-size: var(--body);
  line-height: 1.5;
}
.notes-tool-float p {
  margin-top: 8px;
  font-size: var(--small);
}
.notes-tool-float-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.notes-tool-float .notes-tool-float-actions .pill {
  margin: 0;
  padding: 8px 14px;
  max-width: 100%;
  height: auto;
  white-space: normal;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .notes-reading-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 40px;
  }
  .notes-toc-desktop {
    display: none;
  }
  .notes-toc-mobile {
    display: block;
    margin-bottom: 40px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--bg2);
    color: var(--ink);
    font-size: var(--small);
  }
  .notes-toc-mobile summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
  }
  .notes-toc-mobile summary::-webkit-details-marker {
    display: none;
  }
  .notes-toc-mobile summary::after {
    content: "";
    width: 7px;
    height: 7px;
    flex: none;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
  }
  .notes-toc-mobile[open] summary::after {
    transform: rotate(225deg);
  }
  .notes-toc-mobile[open] {
    padding-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .notes-reading-wrap {
    width: calc(100% - 32px);
  }
  .notes-reading-hero {
    padding-top: 96px;
    padding-bottom: 40px;
  }
  .notes-reading-hero .breadcrumb {
    font-size: var(--micro);
  }
  .notes-reading-hero .eyebrow {
    font-size: var(--small);
  }
  .notes-article-meta {
    gap: 6px 12px;
    padding: 8px 12px;
    margin-top: 24px;
  }
  .notes-article-lead {
    font-size: var(--body);
  }
  .notes-opening-note {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 16px;
    margin-top: 32px;
    padding: 20px;
  }
  .notes-opening-note > svg {
    width: 24px;
    height: 24px;
  }
  .notes-opening-note strong {
    font-size: var(--small);
  }
  .notes-reading-grid {
    padding-top: 32px;
    padding-bottom: 64px;
  }
  .notes-article-copy > section + section {
    margin-top: 40px;
  }
  .notes-article-copy ul {
    padding: 20px 20px 20px 36px;
  }
  .notes-end-card {
    margin-top: 48px;
    padding: 28px 24px;
  }
  .notes-end-card .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .notes-end-card .pill {
    width: 100%;
    white-space: normal;
  }
  .notes-tool-float-heading {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .notes-tool-float .recommend-float-body {
    padding: 16px;
  }
  .notes-tool-float-actions {
    margin-top: 16px;
  }
}


/* Notes detail shares one reading measure and the confirmed surface system. */
.notes-article-hero,
.notes-article-layout {
  width: min(1120px, calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}
.notes-article-hero {
  padding-top: 96px;
  padding-bottom: 64px;
  background: var(--bg);
  color: var(--ink);
}
.notes-article-hero .breadcrumb {
  margin-bottom: 32px;
}
.notes-article-hero .breadcrumb a:hover {
  color: var(--accent-ink);
}
.notes-article-hero .eyebrow {
  margin: 0 0 24px;
  color: var(--accent-ink);
}
.notes-article-hero h1 {
  max-width: 960px;
  margin-top: 24px;
  font-size: var(--h2);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}
.notes-article-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: 100%;
  margin-top: 32px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg2);
  color: var(--muted);
  font-size: var(--small);
  line-height: 1.5;
}
.notes-article-meta time {
  white-space: nowrap;
}
.notes-article-lead {
  max-width: 840px;
  margin-top: 24px;
  font-size: var(--lead);
  line-height: 1.85;
  color: var(--muted);
}
.notes-article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 96px;
}
.notes-toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  z-index: 2;
  padding: 24px;
  background: var(--bg2);
  color: var(--ink2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.notes-toc > strong {
  font-size: var(--small);
  font-weight: 500;
}
.notes-toc ol {
  margin-top: 20px;
  padding-left: 20px;
}
.notes-toc li {
  margin: 0;
  padding-left: 4px;
  line-height: 1.6;
}
.notes-toc li + li {
  margin-top: 8px;
}
.notes-toc li::marker {
  color: var(--faint);
}
.notes-toc a:hover {
  color: var(--accent-ink);
}
.notes-toc .notes-toc-count {
  display: inline-flex;
  margin-top: 24px;
  background: var(--tint);
  color: var(--accent-ink);
}
.notes-prose {
  min-width: 0;
  color: var(--ink2);
  font-size: var(--body);
  line-height: 1.9;
}
.notes-prose > section {
  scroll-margin-top: calc(var(--header-h) + 32px);
}
.notes-prose > section + section {
  margin-top: 48px;
}
.notes-prose h3 {
  margin: 32px 0 16px;
  font-size: var(--lead);
  line-height: 1.5;
  font-weight: 500;
}
.notes-prose p {
  margin: 16px 0;
}
.notes-prose strong {
  font-weight: 600;
}
.notes-prose li {
  margin: 8px 0;
}
.notes-prose .notes-action-list {
  margin: 24px 0 32px;
  padding: 24px 24px 24px 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg2);
  color: var(--ink2);
}
.notes-action-list li {
  padding-left: 4px;
}
.notes-action-list li::marker {
  color: var(--accent-ink);
  font-weight: 500;
}
.notes-compare-scroll {
  margin-top: 24px;
  margin-bottom: 32px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
}
.notes-prose .notes-compare {
  min-width: 600px;
  margin: 0;
  line-height: 1.75;
}
.notes-compare caption {
  padding: 16px 20px;
  background: var(--tint);
  color: var(--accent-ink);
  font-size: var(--small);
  text-align: left;
}
.notes-compare thead th {
  background: var(--bg2);
  color: var(--ink);
  font-weight: 500;
}
.notes-compare tbody th {
  width: 20%;
  background: var(--bg);
  color: var(--ink);
  font-weight: 500;
}
.notes-compare td {
  width: 40%;
  color: var(--muted);
}
.notes-compare th,
.notes-compare td {
  padding: 16px 20px;
  vertical-align: top;
}
.notes-compare tbody tr:last-child > * {
  border-bottom: 0;
}
.notes-prose .notes-article-cta {
  margin-top: 48px;
  padding: 40px;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--deck);
  color: var(--dtext);
}
.notes-cta-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: var(--glow);
}
.notes-prose .notes-cta-label {
  margin: 0 0 24px;
  color: var(--glow);
  font-size: var(--small);
}
.notes-prose .notes-article-cta h2 {
  margin: 0 0 24px;
  font-size: var(--h3);
  color: var(--dtext);
}
.notes-prose .notes-article-cta p:not(.notes-cta-label) {
  color: var(--dmuted);
}
.notes-article-cta .actions {
  gap: 12px;
  margin-top: 32px;
}
.notes-prose .notes-article-cta .a-main {
  background: var(--glow);
  color: var(--glow-ink);
  box-shadow: none;
  text-decoration: none;
}
.notes-prose .notes-article-cta .a-main:hover {
  background: var(--glow-hover);
  color: var(--glow-ink);
}
.notes-prose .notes-article-cta .notes-cta-secondary {
  background: var(--deck3);
  color: var(--dtext);
  box-shadow: none;
  text-decoration: none;
}
.notes-prose .notes-article-cta .notes-cta-secondary:hover {
  background: var(--chat);
  color: var(--dtext);
}
.notes-feature-float {
  z-index: 55;
  width: min(304px, calc(100% - 32px));
  background: var(--bg);
  color: var(--ink);
}
.notes-float-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 16px 52px 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
  color: var(--accent-ink);
  font-size: var(--micro);
  line-height: 1.5;
}
.notes-float-heading svg {
  width: 28px;
  height: 28px;
  flex: none;
}
.notes-feature-float .float-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--control-line);
  background: var(--bg);
  color: var(--ink);
}
.notes-feature-float .float-close:hover {
  background: var(--ink);
  color: var(--bg);
}
.notes-feature-float .recommend-float-body {
  padding: 20px;
}
.notes-feature-float h3 {
  font-size: var(--lead);
  line-height: 1.5;
  font-weight: 500;
}
.notes-feature-float p {
  margin-top: 12px;
  font-size: var(--small);
  color: var(--muted);
}
.notes-float-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.notes-feature-float .notes-float-actions .pill {
  height: auto;
  min-height: 40px;
  max-width: 100%;
  margin: 0;
  padding: 8px 16px;
  white-space: normal;
  line-height: 1.35;
}
.notes-feature-float .pill-dark {
  background: var(--ink);
  color: var(--bg);
}
.notes-feature-float .pill-dark:hover {
  background: var(--ink2);
  color: var(--bg);
}
.notes-feature-float .pill-line {
  background: var(--bg);
  color: var(--ink);
}

@media (max-width: 1100px) {
  .notes-article-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
}
@media (max-width: 860px) {
  .notes-article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-bottom: 64px;
  }
  .notes-toc {
    position: static;
  }
  .notes-toc ol {
    columns: 2;
    column-gap: 32px;
  }
  .notes-toc li {
    break-inside: avoid;
  }
  .notes-article-hero {
    padding-bottom: 48px;
  }
}
@media (max-width: 560px) {
  .notes-article-hero,
  .notes-article-layout {
    width: calc(100% - 32px);
  }
  .notes-article-hero {
    padding-top: 96px;
    padding-bottom: 40px;
  }
  .notes-article-hero h1 br {
    display: none;
  }
  .notes-article-meta {
    gap: 6px 8px;
    padding: 8px 12px;
    font-size: var(--micro);
  }
  .notes-article-lead {
    font-size: var(--body);
  }
  .notes-toc {
    padding: 24px;
  }
  .notes-toc ol {
    columns: auto;
  }
  .notes-prose > section + section {
    margin-top: 40px;
  }
  .notes-prose .notes-action-list {
    padding: 20px 20px 20px 36px;
  }
  .notes-prose .notes-article-cta {
    padding: 28px 24px;
  }
  .notes-article-cta .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .notes-article-cta .pill {
    width: 100%;
    white-space: normal;
  }
  .notes-feature-float {
    right: 16px;
    bottom: 16px;
  }
  .notes-float-heading {
    min-height: 56px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .notes-feature-float .float-close {
    top: 10px;
  }
  .notes-feature-float .recommend-float-body {
    padding: 16px 20px;
  }
  .notes-feature-float p {
    margin-top: 8px;
  }
  .notes-float-actions {
    margin-top: 16px;
  }
}

/* Comparison tables keep phrase-length columns and scroll inside their frame. */
.privacy-table-scroll,
.terms-table,
.notes-article-table,
.notes-compare-scroll,
.notes-table-scroll {
  overflow-x: auto;
}
.privacy-table-scroll table,
.terms-copy .terms-table table,
.notes-article-table table,
.notes-prose .notes-compare,
.notes-prose .notes-table-scroll table {
  width: 100%;
  min-width: 720px;
}
.privacy-table-scroll th,
.privacy-table-scroll td,
.terms-table th,
.terms-table td,
.notes-article-table th,
.notes-article-table td,
.notes-compare th,
.notes-compare td,
.notes-table-scroll th,
.notes-table-scroll td {
  width: auto;
  overflow-wrap: break-word;
  word-break: normal;
  vertical-align: top;
}
.privacy-table-scroll tbody th,
.terms-table tbody th,
.notes-article-table tbody th,
.notes-compare tbody th,
.notes-table-scroll tbody th {
  min-width: 10rem;
}
.privacy-table-scroll td,
.terms-table td,
.notes-article-table td,
.notes-compare td,
.notes-table-scroll td {
  min-width: 14rem;
}

/* One reading column: title and article share a left edge, and stay clear of the screen edge. */
.notes-article-hero,
.notes-article-layout,
.notes-reading-wrap,
.notes-reading-grid {
  width: min(1120px, calc(100% - 96px));
  margin-left: auto;
  margin-right: auto;
}
.notes-reading-hero {
  padding-top: 96px;
  padding-bottom: 64px;
  background: var(--bg);
}
.notes-reading-grid {
  gap: 64px;
}
.notes-toc-desktop {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg2);
}
.notes-toc-desktop li a {
  text-decoration: none;
}
.notes-toc-desktop li a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.notes-article-copy > section + section {
  margin-top: 56px;
}
.notes-article-copy h2 {
  margin: 48px 0 24px;
  font-size: var(--h3);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}
.notes-article-copy > section > h2:first-child {
  margin-top: 0;
}

/* The address controls sit on the inbox card, not in the headline. */
.deck > .addr {
  margin: 0;
  width: 100%;
  max-width: none;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 12px 20px;
  border-radius: 0;
  box-shadow: none;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}
.deck > .addr > .pill {
  flex: none;
}
.deck > .addr .addr-text {
  min-width: 0;
}
.deck > .addr .ttl {
  margin-left: auto;
}
.deck > .addr + .deck-bar .db-addr {
  display: none;
}

/* Keep the tool card in the right gutter without pinning the article to the screen edge. */
@media (max-width: 1780px) and (min-width: 1100px) {
  body:has(.recommend-float) :is(.notes-article-hero, .notes-article-layout, .notes-reading-wrap, .notes-reading-grid) {
    width: min(1120px, calc(100% - max(64px, (100% - 1360px) / 2) - 336px));
    margin-left: max(64px, calc((100% - 1360px) / 2));
    margin-right: 336px;
  }
  .recommend-float {
    width: 280px;
    right: 16px;
  }
}
@media (max-width: 1099px) {
  .recommend-float {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(440px, calc(100% - 48px));
    margin: 0 auto 48px;
  }
}
@media (max-width: 860px) {
  .notes-article-hero,
  .notes-article-layout,
  .notes-reading-wrap,
  .notes-reading-grid {
    width: min(1120px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
  }
}
