/* Public site, using the desktop app's surfaces, type and interaction colors. */
:root {
  color-scheme: dark;
  --paper: #101012; --surface: #19191d; --raised: #252429; --input: #141418;
  --ink: #f0eef1; --muted: #bcb7bf; --line: #464149;
  --accent: #ff929f; --tint: #43252d; --action: #b72440;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --paper: #f3f4f6; --surface: #fff; --raised: #f0f1f4; --input: #fafbfc;
    --ink: #27232a; --muted: #60616f; --line: #d6d8df;
    --accent: #97253a; --tint: #f9e9ed; --action: #a9233c;
  }
}
body { font-family: "Segoe UI Variable","Segoe UI","Microsoft YaHei UI",system-ui,sans-serif; font-variant-numeric: tabular-nums; }
header { height: auto; min-height: 76px; gap: 20px; }
.brand { color: var(--ink); gap: 10px; letter-spacing: .035em; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.wordmark { white-space: nowrap; } .wordmark b { color: var(--accent); }
.brand-sub { border-color: var(--line); letter-spacing: .06em; }
nav { gap: clamp(10px,1.6vw,24px); }
a:hover, .hero h1 span, .feature-no, .local-fact>span { color: var(--accent); }
:is(a,button,summary,input,textarea,select):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.nav-download, .copy-button { background: var(--surface); color: var(--ink); border-color: var(--line); border-radius: 7px; }
.button.primary { background: var(--action); color: white; border-radius: 7px; }
.button.primary:hover { filter: brightness(1.12); }
.hero { gap: clamp(28px,6vw,88px); }
.hero h1 { font-size: clamp(42px,5.2vw,74px); letter-spacing: -.045em; font-weight: 700; }
.product-facts { background: linear-gradient(145deg,var(--tint),var(--surface) 36%); box-shadow: inset 0 2px var(--action); }
.product-facts dl div { display: grid; grid-template-columns: minmax(7em,.7fr) 1.3fr; gap: 12px; }
.product-facts dt { margin: 0; font-size: 13px; }
.product-facts dd { font-weight: 600; }
.principles, .micro, .feature-foot, .local-fact p, .release-meta, footer p, footer div, footer small, .trust-note p, .feedback-form label span, .document article small { color: var(--muted); }
.section { padding-block: clamp(44px,6vw,82px); }
.section h2,.assistant-section h2,.document h1 { font-weight: 650; }
.eyebrow { color: var(--muted); }
.feature-grid { gap: 16px; }
.feature-grid article,.assistant-capabilities,.feedback-form,.document article,.release-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
}
.feature-grid article { padding: 24px; }
.feature-grid p,.faq-items p,.trust-note p,.document>p,.document li { font-size: 14px; }
.assistant-section,.hash { background: var(--raised); }
.local-fact b,.hash { color: var(--ink); }
.trust-note,.local-fact,footer small,.faq-items details,.faq-items details:last-child { border-color: var(--line); }
.download-band,.notice,.feedback-receipt { background: var(--tint); color: var(--ink); border-color: var(--accent); }
.download-band p:not(.eyebrow),.feedback-form .consent span { color: var(--muted); }
.feedback-form :is(input:not([type=checkbox]),select,textarea) { background: var(--input); border-color: var(--line); color: var(--ink); }
footer div,.hero-actions,.release-meta,.trust-note>div:last-child { flex-wrap: wrap; }
.status-dot { background: var(--accent); }
main.wrap pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--raised); color: var(--ink); }
body:has(>main.wrap):not(:has(header)) { background:var(--paper); color:var(--ink); }
@media (max-width: 800px) {
  header { flex-wrap: wrap; padding-block: 14px; gap: 10px; }
  header nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  header nav>a:not(.nav-download) { display: inline-flex; align-items:center; min-height: 36px; }
  .hero,.assistant-layout,.faq-layout,.section-intro { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .hero { padding-top: 40px; } .hero h1 { font-size: clamp(40px,9vw,56px); }
  .product-facts { padding: 20px; } .product-facts dl div { grid-template-columns: 1fr; gap: 4px; }
  .wrap,header { padding-inline: clamp(16px,4vw,28px); }
  .trust-note>div:last-child { white-space: normal; }
  .document,footer { overflow-wrap: anywhere; }
}
