:root {
  --paper: #fff;
  --wash: #f2f6f7;
  --ink: #303c40;
  --muted: #586a72;
  --line: #dce5e8;
  --brand: #267eaa;
  --brand-wash: #eaf4f8;
  --night: #172d38;
  --wrap: 1120px;
  --header-h: 76px;
  --h1: 50px;
  --h2: 38px;
  --h3: 20px;
  --body: 16px;
  --small: 13px;
  --radius-control: 5px;
  --radius-card: 14px;
  --radius-panel: 20px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --s6: 96px;
  --s7: 128px;
  font-family: 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: var(--body); line-height: 1.65; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
[hidden] { display: none !important; }
.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: 24px; }
.site-header { background: var(--paper); min-height: var(--header-h); border-bottom: 1px solid var(--wash); position: sticky; top: 0; z-index: 30; }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1400px; padding: 0 32px; margin: auto; }
.brand-name { display: inline; white-space: nowrap; }
.brand-lock { flex: none; display: inline-flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: var(--h3); font-weight: 600; letter-spacing: .04em; }
.brand img { width: 30px; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 38px; font-size: var(--body); letter-spacing: .04em; }
.site-nav a[aria-current] { background: var(--wash); border-radius: var(--radius-control); padding: 4px 9px; }
.header-tools { display: flex; align-items: center; gap: 16px; }
.outline, .quiet-button { background: var(--paper); color: var(--brand); border: 1px solid var(--brand); border-radius: var(--radius-control); padding: 9px 20px; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.outline:hover, .quiet-button:hover { background: var(--brand-wash); color: var(--night); }
.solid { background: var(--brand); color: var(--paper); border: 1px solid var(--brand); border-radius: var(--radius-control); padding: 10px 20px; min-height: 44px; display: inline-flex; justify-content: center; align-items: center; }
.solid:hover { background: var(--night); color: var(--paper); }
.lang { position: relative; }
.lang-trigger { background: var(--paper); color: var(--ink); border: 0; padding: 8px 6px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.chevron { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); flex: none; }
.lang-menu { position: absolute; right: 0; top: 100%; min-width: 136px; padding: 8px; background: var(--paper); color: var(--ink); box-shadow: 0 12px 32px #172d381c; border: 1px solid var(--line); border-radius: var(--radius-control); z-index: 80; }
.lang-menu a { display: block; padding: 7px 10px; white-space: nowrap; }
.menu-button { display: none; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-control); padding: 7px 12px; }
.nav-drawer[hidden] { display: none; }
.nav-drawer:not([hidden]) { display: grid; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: var(--h1); font-weight: 400; line-height: 1.28; letter-spacing: .01em; font-synthesis: none; }
h1 em { font-style: normal; font-weight: inherit; }
h2 { font-size: var(--h2); font-weight: 500; line-height: 1.35; letter-spacing: .01em; }
h3 { font-size: var(--h3); font-weight: 500; line-height: 1.4; }
p { font-weight: 400; }
.hero { text-align: center; padding-top: 130px; }
.hero h1 { margin: 0 auto 32px; max-width: 880px; }
.hero-lead { font-size: var(--body); margin: 0 auto 40px; color: var(--muted); }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { color: var(--muted); font-size: var(--small); margin-bottom: 32px; }
.hero-points { display: flex; justify-content: center; gap: 32px; color: var(--muted); font-size: 14px; margin-bottom: 80px; }
.hero-points span + span::before { content: '·'; margin-right: 32px; color: #b5c3c9; }
.mail-stage { max-width: 1080px; min-height: 624px; margin: 0 auto 112px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-panel); box-shadow: 0 26px 68px #172d3814, 0 4px 12px #172d3808; overflow: hidden; text-align: left; }
.mail-toolbar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 28px; border-bottom: 1px solid var(--line); }
.address-label { color: var(--muted); font-size: var(--small); display: block; }
.address { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: var(--h3); letter-spacing: 0; font-weight: 500; display: block; overflow-wrap: anywhere; }
.toolbar-actions { display: flex; align-items: center; gap: 12px; }
.timer { color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.icon-button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: var(--radius-control); padding: 8px 12px; min-height: 40px; }
.icon-button:hover { background: var(--brand-wash); color: var(--night); }
.mail-layout { display: grid; grid-template-columns: minmax(255px, 36%) minmax(0, 1fr); min-height: 538px; }
.mail-list-pane { border-right: 1px solid var(--line); min-width: 0; }
.pane-heading { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.pane-heading strong { font-size: var(--body); font-weight: 500; }
.mail-list { max-height: 470px; overflow-y: auto; }
.mail-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 78px; padding: 12px 20px; text-align: left; background: var(--paper); color: var(--ink); border: 0; border-bottom: 1px solid var(--wash); }
.mail-row:hover, .mail-row.is-active { background: var(--wash); color: var(--ink); }
.sender-mark { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-control); background: var(--brand-wash); color: var(--brand); font-size: 16px; font-weight: 600; }
.mail-row-copy { display: grid; min-width: 0; flex: 1; line-height: 1.45; }
.mail-row-copy strong, .mail-row-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-row-copy strong { font-size: 14px; font-weight: 600; }
.mail-row-copy small { font-size: 13px; color: var(--muted); }
.mail-row time { color: var(--muted); font-size: var(--small); flex: none; align-self: center; }
.mail-row.is-unread .mail-row-copy strong::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; vertical-align: 2px; background: var(--brand); }
.sender-mark.is-spotify { background: var(--night); color: var(--paper); border-radius: 50%; }
.mail-row .sender-mark { font-family: Arial, sans-serif; font-size: var(--h3); }
.reader { min-width: 0; height: 538px; overflow: auto; position: relative; }
.reader-top { display: flex; align-items: center; gap: 14px; padding: 24px 32px 16px; }
.reader-top .sender-mark { width: 44px; height: 44px; }
.reader-top div { display: grid; line-height: 1.35; }
.reader-top strong { font-size: var(--body); }
.reader-top small { color: var(--muted); font-size: 13px; }
.reader-top time { margin-left: auto; color: var(--muted); font-size: 13px; }
.reader-content { padding: 12px 32px 40px; }
.reader-content h2 { font-size: var(--h3); font-weight: 500; margin-bottom: 12px; }
.reader-content p { font-size: var(--body); line-height: 1.8; }
.demo-pill { display: inline-flex; align-items: center; width: max-content; background: var(--brand-wash); color: var(--night); font-size: var(--small); padding: 3px 9px; border-radius: var(--radius-control); margin-bottom: 16px; }
.reader.is-empty .reader-top,
.reader.is-empty .demo-pill,
.reader.is-empty [data-delete-mail] { display: none; }
.code-card { background: var(--wash); color: var(--ink); padding: 22px 26px; margin: 28px 0; font: 500 32px ui-monospace, SFMono-Regular, monospace; letter-spacing: .22em; text-align: center; }
.reader.is-real [data-demo-brand] { display: none; }
.reader-content [style*="color:#708087"] { color: var(--muted) !important; }
.reader-content [style*="color:#267eaa"] { color: var(--brand) !important; }
.reader-close { display: none; }
.empty-card, .inbox-empty { margin: 24px; padding: 32px; min-height: 180px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--wash); color: var(--ink); text-align: center; }
[data-mail-list] .empty-card, [data-reader] .empty-card { min-height: 160px; padding: 32px; border: 1px solid var(--line); }
.section { padding-block: var(--s7); }
.section-center { text-align: center; }
.section-intro { color: var(--muted); max-width: 620px; margin: 24px auto 0; }
.feature-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 96px; margin: 120px auto; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-row p { color: var(--muted); max-width: 470px; }
.feature-visual { min-height: 360px; padding: 32px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-card); display: flex; flex-direction: column; justify-content: center; gap: 12px; box-shadow: 0 24px 48px #172d380a; }
.feature-visual .mini-mail { background: var(--paper); color: var(--ink); padding: 20px 24px; border-radius: var(--radius-control); border: 1px solid var(--line); display: grid; gap: 8px; }
.feature-row:nth-of-type(3) .feature-visual { background: var(--wash); align-items: stretch; box-shadow: none; }
.feature-row:nth-of-type(3) .mini-mail:first-child { border-left: 4px solid var(--brand); }
.feature-row:nth-of-type(3) .mini-mail:last-child { border-style: dashed; }
.feature-row:nth-of-type(4) .feature-visual { background: var(--paper); flex-direction: row; align-items: stretch; box-shadow: none; }
.feature-row:nth-of-type(4) .mini-mail { flex: 1; align-content: center; }
.feature-row:nth-of-type(4) .mini-mail:last-child { background: var(--brand-wash); color: var(--night); }
.mini-mail small { color: var(--muted); }
.feature-copy .eyebrow { font-size: var(--small); color: var(--brand); margin: 0 0 24px; }
.feature-copy h2 { margin-bottom: 24px; }
.link-arrow { color: var(--brand); font-weight: 500; }
.faq { max-width: 760px; margin: 64px auto 0; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row:last-child + .section { padding-top: 0; }
.section.wrap:has(.faq) { padding-top: 96px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq details p { color: var(--muted); margin: 16px 0 8px; }
.end-cta { text-align: center; padding: 96px 24px; background: var(--wash); color: var(--ink); margin-bottom: 64px; }
.end-cta p { color: var(--muted); }
.site-footer { padding: 88px 0 32px; background: var(--night); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { color: #c4d4d9; font-size: 14px; max-width: 330px; margin-top: 24px; }
.footer-col { display: grid; align-content: start; gap: 12px; font-size: 14px; }
.footer-col strong { font-size: var(--body); margin-bottom: 8px; font-weight: 500; }
.footer-col a { color: #c4d4d9; }
.footer-col a:hover { color: var(--paper); }
.footer-contact { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #ffffff33; padding-top: 32px; }
.footer-contact p { color: #c4d4d9; margin: 0; }
.footer-contact a { background: var(--paper); color: var(--night); border-radius: var(--radius-control); padding: 10px 16px; }
.footer-bottom { border-top: 1px solid #ffffff33; margin-top: 64px; padding-top: 24px; font-size: 13px; color: #c4d4d9; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 110; padding: 10px 20px; background: var(--night); color: var(--paper); border-radius: var(--radius-control); }
/* Access and desk: the same restrained paper and device language as the inbox. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.overline { display: block; color: #17658d; font-size: var(--small); letter-spacing: .08em; margin: 0 0 24px; }
.overline + h1, .overline + h2, .eyebrow + h2 { margin-top: 24px; }
.auth-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 720px; }
.auth-story { background: var(--wash); color: var(--ink); padding: 112px 64px 96px max(64px, calc((100vw - var(--wrap)) / 2)); }
.auth-story h1 { max-width: 540px; margin-bottom: 32px; line-height: 1.24; }
.auth-story > p { max-width: 475px; color: var(--muted); line-height: 1.9; }
.entry-panel { padding: 112px max(64px, calc((100vw - var(--wrap)) / 2)) 96px 64px; display: flex; align-items: flex-start; }
.auth-form-wrap { max-width: 440px; min-width: 0; flex: 1; }
.auth-form-wrap h2 { font-size: var(--h3); margin-bottom: 24px; }
[data-code-pane] h2 { font-size: 20px; }
.form-intro { color: var(--muted); margin-bottom: 40px; }
.auth-form-wrap form { display: grid; gap: 12px; }
.auth-form-wrap label, .twofa-setup label, .disable-group label { font-size: 14px; font-weight: 500; }
input { min-width: 0; min-height: 46px; padding: 10px 14px; background: var(--paper); color: var(--ink); border: 1px solid #879ba3; border-radius: var(--radius-control); outline: none; font-size: 14px; }
input:focus { border-color: var(--ink); }
input::placeholder { color: var(--muted); opacity: .75; }
.auth-form-wrap input { background: var(--paper); color: var(--ink); border: 1px solid #879ba3; }
.form-submit { margin-top: 12px; width: 100%; }
.auth-secondary { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.auth-secondary button:disabled { opacity: .6; cursor: wait; }
.auth-small { margin: 64px 0 0; color: var(--muted); font-size: 13px; }
.auth-preview { margin-top: 80px; padding: 32px; max-width: 490px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 16px 42px #172d380a; }
.preview-caption { display: block; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.preview-line { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.preview-line strong { font-size: 13px; font-family: ui-monospace, monospace; }
.route-line { flex: 1; min-width: 20px; height: 1px; background: var(--brand); }
.auth-preview small { display: block; color: var(--muted); margin-top: 24px; }
.desk { padding: 96px 0 128px; }
.desk-heading { display: flex; align-items: end; justify-content: space-between; gap: 64px; margin-bottom: 96px; }
.desk-heading h1 { margin-bottom: 24px; }
.desk-heading p { max-width: 620px; color: var(--muted); }
.session-panel { display: grid; gap: 8px; min-width: 250px; padding: 24px; background: var(--wash); color: var(--ink); border-radius: var(--radius-card); font-size: 13px; }
.session-panel strong { font-size: 14px; overflow-wrap: anywhere; }
.session-panel button { justify-self: start; margin-top: 8px; background: var(--night); color: var(--paper); border: 1px solid var(--night); }
.desk section { margin-top: 96px; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 640px; color: var(--muted); margin: 20px 0 0; }
.section-head { margin-bottom: 48px; }
.side-note { font-size: 13px; color: var(--muted); white-space: nowrap; }
.alias-compose { display: flex; align-items: stretch; gap: 8px; margin-bottom: 32px; }
.alias-compose input { flex: 1; border-radius: var(--radius-control); padding-left: 18px; }
.alias-suffix { display: inline-flex; align-items: center; padding: 0 12px; font: 14px ui-monospace, monospace; color: var(--muted); }
.alias-compose button { font-size: 14px; white-space: nowrap; }
.alias-collection { background: var(--wash); color: var(--ink); border-radius: var(--radius-card); padding: 24px; }
.empty-state { padding: 40px; text-align: center; background: var(--paper); color: var(--ink); border-radius: var(--radius-control); }
.empty-state p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.alias-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.alias-row strong { font: 500 15px ui-monospace, monospace; overflow-wrap: anywhere; }
.status-pill { display: inline-flex; align-items: center; width: max-content; border-radius: 999px; padding: 4px 10px; background: var(--brand-wash); color: var(--night); font-size: var(--small); white-space: nowrap; }
.row-actions { display: flex; gap: 8px; margin-left: auto; }
.row-actions button { padding: 5px 10px; min-height: 36px; font-size: 13px; background: var(--paper); color: var(--ink); border-color: var(--line); }
.archive-section { padding: 64px; background: var(--wash); color: var(--ink); border-radius: var(--radius-panel); }
.filter-wrap { position: relative; flex: none; }
.filter-trigger { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-block: 16px; background: var(--paper); color: var(--ink); border-color: var(--line); white-space: nowrap; }
.filter-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; min-width: 150px; padding: 8px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 16px 32px #172d3814; }
.filter-menu button { display: flex; align-items: center; width: 100%; padding: 8px 12px; background: var(--paper); color: var(--ink); border: 0; text-align: left; font-size: 14px; }
.filter-menu button:hover { background: var(--wash); color: var(--ink); }
.archive-index { display: grid; }
.archive-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; align-items: center; gap: 24px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: var(--wash); color: var(--ink); padding: 18px 4px; width: 100%; font-size: 14px; }
.archive-row:hover { background: var(--brand-wash); color: var(--night); }
.archive-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.archive-row time { color: var(--muted); font-size: 13px; }
.archive-empty { margin: 0; }
.archive-detail { margin-top: 32px; padding: 32px; background: var(--paper); color: var(--ink); border-radius: var(--radius-card); max-height: 760px; overflow: auto; }
.archive-detail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.archive-detail h3 { margin-bottom: 24px; }
.archive-meta { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.archive-body { margin: 24px 0; }
.archive-body iframe { display: block; width: 100%; border: 0; }
.archive-actions, .archive-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.security-section { padding-top: 40px; }
.security-status { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 32px; background: var(--brand-wash); color: var(--night); border-radius: var(--radius-card); }
.security-status p { max-width: 670px; margin: 12px 0 0; font-size: 14px; }
.security-status .status-pill { margin-left: 12px; margin-bottom: 20px; background: var(--paper); color: var(--night); }
.security-status > div { padding-bottom: 24px; }
.security-status p { margin-top: 24px; }
.security-status .status-pill + p { margin-top: 24px; }
.security-section .section-header { margin-bottom: 48px; }
[data-2fa-badge] { margin-bottom: 24px; }
[data-2fa-disable] { margin: 0; }
.security-status > button { flex: none; }
.twofa-setup { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; padding: 40px; margin-top: 24px; background: var(--brand-wash); color: var(--night); border-radius: var(--radius-card); }
.twofa-setup li { padding: 4px 0; }
.twofa-setup code { color: var(--night); overflow-wrap: anywhere; }
.qr-panel { align-self: start; display: grid; place-items: center; padding: 20px; background: var(--paper); color: var(--ink); }
.qr-panel img { width: 180px; aspect-ratio: 1; }
.inline-form { display: flex; gap: 8px; margin-top: 12px; }
.inline-form input { max-width: 190px; }
.form-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-actions > form { flex: 1 1 280px; }
.disable-group { margin-top: 24px; padding-top: 0; }
.disable-group .row-actions { margin-top: 12px; align-items: center; }
.disable-group [data-2fa-disable] { margin-top: 0; }
.security-section > [data-disable-panel] { padding-top: 28px; border-top: 1px solid var(--line); }
.security-section > .disable-group { margin-top: 24px; }
.security-section .row-actions { display: flex; align-items: center; gap: 12px; }
/* Journal: spacious editorial measure, with the same quiet paper surfaces. */
.article-hero { padding-top: 64px; padding-bottom: 60px; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: var(--small); margin-bottom: 76px; }
.crumb a:hover { color: var(--brand); }
.article-head { max-width: 870px; }
.article-head .overline { display: inline-flex; padding: 4px 12px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--wash); color: var(--brand); margin-bottom: 24px; }
.article-head h1 { margin-bottom: 28px; }
.article-deck { font-size: 18px; line-height: 1.85; color: var(--muted); max-width: 780px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.article-meta span { display: inline-flex; padding: 5px 12px; border: 1px solid var(--line); background: var(--wash); color: var(--ink); font-size: var(--small); border-radius: var(--radius-control); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 80px; align-items: start; width: min(100%, 1120px); max-width: 1120px; padding-bottom: 144px; }
.article-prose { min-width: 0; line-height: 1.85; }
.article-prose p { margin: 0 0 22px; }
.article-opening { font-size: 18px; color: var(--ink); }
.article-prose section { margin-top: 66px; scroll-margin-top: 110px; }
.article-prose h2 { font-size: 28px; font-weight: 500; line-height: 1.45; margin: 38px 0 18px; }
.article-prose section h2:first-child { margin-top: 0; }
.article-prose a:not(.solid) { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.article-prose ul { margin: 24px 0 32px; padding: 24px 24px 24px 46px; background: var(--wash); color: var(--ink); border-radius: var(--radius-card); }
.article-prose li { margin: 0 0 7px; line-height: 1.7; }
.article-prose li:last-child { margin-bottom: 0; }
.article-prose h3 { margin: 30px 0 10px; font-size: 20px; font-weight: 500; line-height: 1.4; }
.article-prose ol { margin: 24px 0 32px; padding: 24px 24px 24px 46px; background: var(--wash); color: var(--ink); border-radius: var(--radius-card); }
.article-prose :not(pre) > code { padding: 1px 6px; border-radius: var(--radius-control); background: var(--brand-wash); color: var(--night); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; }
/* Writer articles emit bare tables. Legal tables stay on .comparison-table. */
.article-prose .sheet-scroll { margin: 24px 0 28px; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); }
.article-prose .sheet-scroll table { width: 100%; min-width: 640px; margin: 0; border-collapse: collapse; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.55; text-align: left; }
.article-prose .sheet-scroll th, .article-prose .sheet-scroll td { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: top; overflow-wrap: anywhere; }
.article-prose .sheet-scroll th:last-child, .article-prose .sheet-scroll td:last-child { border-right: 0; }
.article-prose .sheet-scroll tr:last-child > * { border-bottom: 0; }
.article-prose .sheet-scroll thead th { background: var(--wash); color: var(--night); font-size: 13px; font-weight: 600; }
.article-prose .sheet-scroll tbody tr:nth-child(even) td { background: var(--brand-wash); }
.article-callout { padding: 26px 30px; margin: 36px 0; background: var(--brand-wash); color: var(--night); border-left: 3px solid var(--brand); border-radius: var(--radius-control); }
.article-callout strong { display: block; margin-bottom: 12px; }
.article-callout p { margin: 0; }
.article-toc { position: sticky; top: 120px; z-index: 2; background: var(--wash); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px 24px; }
.article-toc > strong { font-size: 16px; font-weight: 500; }
.article-toc ol { padding-left: 24px; margin: 20px 0 0; color: var(--muted); }
.article-toc li { padding: 5px 0; font-size: 14px; }
.article-toc a:hover { color: var(--brand); }
.toc-count { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.article-cta { display: flex; gap: 32px; padding: 40px; margin-top: 96px; border-radius: var(--radius-card); background: var(--wash); color: var(--ink); border: 1px solid var(--line); }
.article-cta svg { flex: none; color: var(--brand); }
.article-cta h2 { font-size: 24px; margin: 0 0 12px; }
.article-cta p { color: var(--muted); margin: 0 0 30px; }
.article-cta .solid { color: var(--paper); text-decoration: none; }
.article-cta .solid:hover { color: var(--paper); }
.recommend-float { position: fixed; bottom: 28px; right: 28px; z-index: 50; width: min(300px, calc(100vw - 32px)); padding: 22px 50px 22px 24px; display: grid; gap: 6px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 16px 42px #172d3822; }
.recommend-float > span { color: var(--brand); font-size: 13px; }
.recommend-float strong { font-weight: 500; line-height: 1.4; }
.recommend-float a { color: var(--brand); font-size: 14px; }
.recommend-float button.float-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--wash); color: var(--ink); }
.post-list { display: grid; gap: 20px; margin-top: 48px; margin-bottom: var(--s6); }
.post-card { display: grid; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 36px; background: var(--paper); color: var(--ink); transition: box-shadow .2s ease, transform .2s ease; cursor: pointer; }
.post-card:hover { box-shadow: 0 16px 40px #172d3812; transform: translateY(-2px); color: var(--ink); }
.post-card:first-child { background: var(--wash); color: var(--ink); }
.post-card h2 { font-size: 26px; margin: 0; }
.post-card p { color: var(--muted); margin: 0; }
.post-card time, .post-card small { font-size: 13px; color: var(--brand); }
.post-card .post-more { font-size: 14px; color: var(--brand); }
.post-count { display: block; width: max-content; max-width: 100%; margin-top: 24px; padding: 4px 12px; border-radius: var(--radius-control); background: var(--wash); color: var(--ink); font-size: 13px; }
@media (max-width: 850px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .article-toc { grid-row: 1; position: static; }
  .article-hero { padding-top: 48px; }
  .crumb { margin-bottom: 48px; }
}
@media (max-width: 650px) {
  .article-deck, .article-opening { font-size: 16px; }
  .article-cta { flex-direction: column; padding: 28px; }
  .recommend-float { bottom: 12px; right: 12px; }
  .post-card { padding: 24px; }
}
/* Editorial pages share the quiet white-space of the product landing page. */
.page-hero { text-align: center; padding-top: 128px; padding-bottom: 56px; }
.page-hero h1 { max-width: 920px; margin: 0 auto 28px; }
.page-hero .section-intro { max-width: 730px; margin-bottom: 36px; }
.page-hero .overline { margin-bottom: 28px; }
.decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 60px; }
.section-center + .decision-grid, .section-center + .mode-pair, .section-center + .comparison-table { margin-top: 64px; }
.section-center + .decision-grid { padding-top: 40px; }
.section-center { margin-bottom: 64px; }
.section-center + .decision-grid, .section-center + .comparison-table { margin-top: 64px; }
.section-header + .archive-index, .section-header + .alias-compose { margin-top: 48px; }
.section-header { padding-bottom: 40px; }
.section-center + .feature-row, .section-center + .faq, .section-center + .legal-glance { margin-top: 64px; }
.section-center + .decision-grid { margin-top: 64px; }
.section-center + .comparison-table { padding-top: 40px; }
.section-center + .decision-grid { margin-top: 64px; }
.decision-card, .mode-card { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); color: var(--ink); }
.decision-card > span, .mode-card > span { display: block; color: var(--brand); font-size: 13px; margin-bottom: 22px; }
.decision-card h3, .decision-card h2, .mode-card h3 { font-size: 20px; margin: 0 0 18px; }
.decision-card p, .mode-card p { color: var(--muted); font-size: var(--body); margin-bottom: 0; }
.mode-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.mode-card { padding: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mode-card p { flex: 1; margin-bottom: 24px; }
.comparison-table { overflow-x: auto; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius-card); }
.comparison-table table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; font-size: var(--body); }
.comparison-table th, .comparison-table td { padding: 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison-table thead { background: var(--wash); color: var(--ink); }
.comparison-table tbody tr:last-child > * { border-bottom: 0; }
.diagnostic { padding-top: 60px; }
.legal-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; }
.legal-glance article { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; background: var(--paper); color: var(--ink); }
.legal-glance strong { display: block; font-size: var(--h3); margin-bottom: 14px; }
.legal-glance p { color: var(--muted); font-size: var(--body); margin: 0; }
.legal-prose { max-width: 780px; margin: 0 auto; padding: 32px 24px 112px; }
.legal-prose section { margin-top: 72px; }
.legal-prose h2 { font-size: 30px; }
.legal-prose p, .legal-prose li { color: var(--muted); font-size: 16px; line-height: 1.9; }
.legal-prose li + li { margin-top: 12px; }
.legal-prose a { color: var(--brand); text-decoration: underline; }
.legal-prose .comparison-table { margin-top: 28px; }
.legal-prose .comparison-table table { min-width: 520px; }
.alias-section { min-width: 0; }
.setup-text { min-width: 0; }
.toast { width: max-content; max-width: min(430px, calc(100% - 32px)); text-align: center; overflow-wrap: anywhere; }
.nav-drawer:not([hidden]) { display: grid; }
.site-nav a { white-space: nowrap; }
.archive-detail { min-width: 0; max-width: 100%; }
.archive-body iframe { max-width: 100%; }
.filter-menu [data-filter-value] { display: flex; align-items: center; }
.filter-trigger { display: inline-flex; align-items: center; }
.alias-row.is-paused .status-pill { background: var(--paper); color: var(--muted); }
.alias-row.is-active .status-pill { background: var(--brand-wash); color: var(--night); }
.alias-suffix { border-radius: 0 var(--radius-control) var(--radius-control) 0; }
.auth-form-wrap label { margin-bottom: 8px; }
.reader:not(.mobile-reader) [data-reader-close] { display: none; }
.mail-stage { display: flex; flex-direction: column; }
.alias-compose:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--radius-control); }
.alias-compose:focus-within input:focus { border-color: var(--line); }
.mail-list:empty::after { content: ''; display: block; min-height: 160px; padding: 32px; background: var(--wash); color: var(--muted); border: 1px solid var(--line); }
[data-mail-list]:empty, [data-reader-body]:empty { min-height: 160px; padding: 24px; background: var(--wash); color: var(--ink); border: 1px solid var(--line); }
[data-mail-list] .empty-card, [data-reader-body] .empty-card { min-height: 180px; padding: 32px; background: var(--wash); color: var(--ink); border: 1px solid var(--line); }
[data-mail-list] .empty-card strong, [data-reader-body] .empty-card strong { display: block; margin-bottom: 12px; }
[data-mail-list] .empty-card p, [data-reader-body] .empty-card p { margin: 0; color: var(--muted); }
.mail-layout { min-height: 0; flex: 1; }
.reader { overflow-y: auto; min-height: 0; }
.alias-row { min-width: 0; flex-wrap: wrap; }
.alias-row strong { min-width: 0; }
.hero h1, .section h2, .page-hero h1 { text-wrap: balance; }
@media(max-width: 960px) {
  .auth-split { grid-template-columns: minmax(0, 1fr); }
  .auth-story, .entry-panel { padding: 64px 24px; }
  .entry-panel { justify-content: center; }
}
@media(max-width: 850px) {
  .site-nav, .header-tools > .outline { display: none; }
  .menu-button { display: inline-flex; }
  .nav-drawer:not([hidden]) { display: grid; position: absolute; left: 16px; right: auto; top: 100%; width: min(280px, calc(100vw - 32px)); padding: 16px; gap: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 30px #172d3822; z-index: 90; }
  .nav-drawer a { text-align: left; padding: 6px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .brand { font-size: var(--body); }
  .hero { padding-top: 80px; }
  .mail-toolbar { flex-wrap: wrap; }
  .toolbar-actions { flex-wrap: wrap; }
  .feature-row { gap: 40px; }
}
@media(max-width: 650px) {
  :root { --h1: 46px; --h2: 30px; }
  .brand img { width: 26px; height: 26px; }
  .brand { font-size: 16px; }
  .lang-trigger .lang-name { display: none; }
  .hero { padding-top: 72px; }
  .hero h1 { margin-bottom: 24px; }
  .hero-lead { font-size: 16px; margin-bottom: 32px; }
  .hero-points { gap: 10px; font-size: var(--small); flex-wrap: wrap; margin-bottom: 46px; }
  .mail-stage { min-height: 0; margin-bottom: 64px; border-radius: var(--radius-card); }
  .mail-toolbar { display: grid; padding: 16px; gap: 12px; }
  .toolbar-actions { flex-wrap: wrap; }
  .address { font-size: 16px; }
  .mail-layout { display: block; min-height: 0; }
  .mail-list-pane { border-right: 0; }
  .mail-list { max-height: 320px; }
  .reader { display: none; }
  .reader.mobile-reader { display: block; position: fixed; top: var(--header-h); left: 0; width: 100vw; height: calc(100dvh - var(--header-h)); z-index: 100; background: var(--paper); color: var(--ink); overflow-y: auto; }
  .reader.mobile-reader .reader-close { display: inline-flex; position: sticky; top: 0; z-index: 2; width: 100%; background: var(--paper); color: var(--ink); border: 0; border-bottom: 1px solid var(--line); padding: 14px 20px; }
  body:has(.mobile-reader) { overflow: hidden; }
  .reader-content { padding: 12px 22px 40px; }
  .reader-top { padding: 24px 22px 16px; }
  .section { padding-block: 80px; }
  .feature-row { grid-template-columns: minmax(0, 1fr); margin: 80px auto; gap: 32px; }
  .feature-row.reverse .feature-visual { order: 0; }
  .feature-visual { min-height: 260px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { align-items: start; flex-direction: column; }
  .desk { padding: 64px 0 96px; }
  .desk-heading, .section-header { display: grid; gap: 24px; margin-bottom: 40px; }
  .desk-heading h1 { font-size: 38px; }
  .session-panel { min-width: 0; }
  .desk section { margin-top: 80px; }
  .alias-compose { display: grid; grid-template-columns: minmax(0, 1fr); }
  .alias-suffix { padding: 8px 0; }
  .alias-compose button { width: 100%; }
  .alias-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .alias-row strong { grid-column: 1 / -1; }
  .row-actions { grid-column: 1 / -1; margin: 0; flex-wrap: wrap; }
  .archive-section { padding: 32px 20px; }
  .archive-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
  .archive-row span { grid-column: 1; }
  .archive-row time { grid-column: 2; grid-row: 1 / 3; }
  .archive-detail { padding: 20px; }
  .security-status { display: grid; gap: 24px; }
  .security-status > button { justify-self: start; }
  .twofa-setup { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .inline-form { flex-wrap: wrap; }
  .decision-grid, .mode-pair, .legal-glance { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding-top: 76px; }
  .mode-card { padding: 28px; }
}
