/* ThinRead website — clean editorial system.
   Paper-white ground, ink text, one indigo accent. No decorative gradients. */

:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-2: #f0f1ee;
  --ink: #15161a;
  --ink-soft: #3d4147;
  --muted: #666b72;
  --faint: #6f747a;
  --line: #e2e3df;
  --line-strong: #cfd2cc;
  --accent: #2b4a63;
  --accent-dark: #1d3548;
  --accent-soft: #e9eff4;
  --danger: #a33a2c;
  --green: #2f6b46;
  --amber: #91540f;
  --on-dark: #f3f1ec;
  --on-dark-muted: #a6aab0;
  --on-dark-line: rgba(243, 241, 236, 0.16);
  --dark-bg: #111317;
  --dark-surface: #171a1f;
  --shadow-sm: 0 1px 2px rgba(21, 22, 26, 0.05);
  --shadow-md: 0 18px 50px rgba(21, 22, 26, 0.09);
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --mono: "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1200px;
  --header: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101215;
  --surface: #171a1e;
  --surface-2: #1d2126;
  --ink: #eeede7;
  --ink-soft: #c8c6bf;
  --muted: #a0a4aa;
  --faint: #7d8288;
  --line: #2a2e34;
  --line-strong: #3b4047;
  --accent: #8fb4d8;
  --accent-dark: #b6d0ea;
  --accent-soft: #1d2a35;
  --danger: #e09188;
  --green: #8fbfa8;
  --amber: #d6ae74;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 22px 56px rgba(0, 0, 0, 0.4);
  --dark-bg: #0b0d10;
  --dark-surface: #12151a;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 20px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.04em; }
h3 { letter-spacing: -0.015em; }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container, .header-inner, .hero, .facts, .section, .download-section, .footer-inner, .footer-bottom {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ─── Header ─────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
}
.brand-mark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand-en {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 160ms var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-link, .theme-toggle, .menu-toggle, .lang-toggle {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}
.lang-toggle { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; }
.icon-link svg { width: 17px; height: 17px; fill: currentColor; }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-link:hover, .theme-toggle:hover, .menu-toggle:hover, .lang-toggle:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
.menu-toggle { display: none; }
.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 2.5px 0;
  background: currentColor;
}

/* ─── Buttons ────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button:active { transform: translateY(1px); }
:root[data-theme="dark"] .button { color: #101215; }
:root[data-theme="dark"] .button:hover { color: #101215; }
.button-small { min-height: 34px; padding: 0 14px; font-size: 12.5px; }
.button-large { min-height: 48px; padding: 0 24px; font-size: 15px; }
.button-quiet {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}
.button-quiet:hover { border-color: var(--ink); background: var(--surface); }
.button[disabled] { opacity: 0.5; cursor: not-allowed; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--accent);
  font-size: 13.5px;
  line-height: 1.4;
  text-align: left;
}
.text-link:hover { border-bottom-color: currentColor; }
.text-link span { transition: transform 160ms var(--ease); }
.text-link:hover span { transform: translateX(2px); }
.eyebrow, .mini-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── Hero ───────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 68px;
  align-items: center;
  padding: 148px 0 84px;
}
.hero-copy { min-width: 0; }
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 4.8vw, 64px);
  line-height: 1.12;
}
.hero h1 span { color: var(--accent); }
.hero-lead {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
}
.hero-meta span { position: relative; }
.hero-meta span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}
.hero-plate {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.plate-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.plate-dots { display: flex; gap: 5px; }
.plate-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}
.plate-bar > span:nth-child(2) { flex: 1; }
.plate-badge {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}
.plate-media { display: block; background: var(--surface-2); }
.plate-media img { width: 100%; height: auto; }
.hero-plate figcaption {
  padding: 10px 14px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

/* ─── Facts ──────────────────────────────────────────────── */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts > div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.facts > div:first-child { padding-left: 0; }
.facts > div:last-child { border-right: 0; padding-right: 0; }
.facts strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
}
.facts span { color: var(--muted); font-size: 11.5px; }

/* ─── Section base ───────────────────────────────────────── */

.section { padding: 104px 0; }
.section-muted {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100% - var(--container)) / 2));
  background: var(--surface-2);
}
.section-head { max-width: 710px; margin-bottom: 52px; }
.section-head h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.18;
}
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}
.section-head-row {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.section-head-row > div { max-width: 680px; }

/* ─── Flow ───────────────────────────────────────────────── */

.flow { display: flex; flex-direction: column; gap: 86px; }
.flow-row {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: center;
}
.flow-row-reverse .flow-copy { order: 2; }
.flow-row-reverse .flow-figure { order: 1; }
.flow-copy { min-width: 0; }
.flow-no {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.flow-copy h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 600;
}
.flow-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.flow-list { margin: 0; padding: 0; list-style: none; }
.flow-list li {
  position: relative;
  padding: 7px 0 7px 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.6;
}
.flow-list li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.flow-figure { margin: 0; min-width: 0; }
.flow-figure > a, .shot-open {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.flow-figure > a:hover, .shot-open:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.flow-figure img { width: 100%; height: auto; }
.flow-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  color: var(--muted);
  font-size: 10.5px;
}
.flow-figure figcaption span:first-child { color: var(--ink-soft); font-weight: 600; }

/* ─── Capabilities ───────────────────────────────────────── */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}
.capability {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line-strong);
}
.capability h3 { margin-bottom: 8px; font-size: 18px; font-weight: 600; }
.capability p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}
.capability ul { margin: 0; padding: 0; list-style: none; }
.capability li {
  padding: 6px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}
.capability code {
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 10.5px;
}

/* ─── Shots ──────────────────────────────────────────────── */

.shot-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  justify-content: flex-end;
}
.shot-filter {
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.shot-filter span { margin-left: 4px; color: var(--faint); font-family: var(--mono); font-size: 9px; }
.shot-filter:hover { color: var(--ink); }
.shot-filter.is-active { border-bottom-color: var(--accent); color: var(--accent); }
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
}
.shot-card { margin: 0; min-width: 0; }
.shot-card[hidden] { display: none !important; }
.shot-open img { width: 100%; height: auto; }
.shot-card figcaption {
  display: flex;
  gap: 10px;
  padding-top: 9px;
  color: var(--muted);
  font-size: 10.5px;
}
.shot-card figcaption > span {
  flex: 0 0 auto;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
}
.shot-card figcaption strong {
  display: block;
  margin-bottom: 1px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.shot-card figcaption small { display: block; font-size: 10.5px; line-height: 1.5; }

/* ─── Compare / dark band ────────────────────────────────── */

.section-dark {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100% - var(--container)) / 2));
  background: var(--dark-bg);
  color: var(--on-dark);
}
.section-dark .section-lead { color: var(--on-dark-muted); }
.section-dark .section-head { max-width: 760px; }
.section-dark h2 { color: var(--on-dark); }
.compare-table { border-top: 1px solid var(--on-dark-line); }
.compare-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--on-dark-line);
  font-size: 12.5px;
  line-height: 1.6;
}
.compare-row span { color: var(--on-dark-muted); }
.compare-row strong { color: var(--on-dark); font-weight: 500; }
.compare-head {
  padding: 10px 0;
  color: var(--on-dark-muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.compare-head span { color: var(--on-dark-muted); }
.manifesto {
  max-width: 720px;
  margin: 64px 0 0;
  padding: 0;
}
.manifesto p {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.manifesto cite { color: var(--on-dark-muted); font-size: 11px; font-style: normal; }

/* ─── Roadmap ────────────────────────────────────────────── */

.roadmap-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.roadmap-tab {
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
}
.roadmap-tab:hover { color: var(--ink); }
.roadmap-tab.is-active { border-bottom-color: var(--accent); color: var(--accent); }
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}
.roadmap-card {
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
}
.roadmap-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.03em;
}
.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-accepted { color: var(--green); }
.status-fixing, .status-integrating { color: var(--amber); }
.status-shipped { color: var(--accent); }
.status-rejected { color: var(--danger); }
.roadmap-card-meta {
  display: flex;
  gap: 10px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
}
.roadmap-source { color: var(--accent); }
.roadmap-card h3 { margin-bottom: 6px; font-size: 17px; font-weight: 600; }
.roadmap-card p { margin-bottom: 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.roadmap-card .reason {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}
.roadmap-card-footer { margin-top: 12px; }
.roadmap-note { margin: 22px 0 0; color: var(--faint); font-size: 10.5px; }
.vote-button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
}
.vote-button:hover { border-color: var(--accent); color: var(--accent); }
.vote-button.is-voted { border-color: var(--accent); color: var(--accent); }

/* ─── Timeline ───────────────────────────────────────────── */

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
}
.timeline time { color: var(--faint); font-family: var(--mono); font-size: 9.5px; }
.timeline .version {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
}
.timeline h3 { margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.timeline p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.7; }

/* ─── Feedback ───────────────────────────────────────────── */

.feedback-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}
.feedback-side { min-width: 0; }
.like-row-block, .version-block {
  padding: 0 0 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.like-row { display: flex; align-items: center; gap: 14px; }
.like-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
}
.like-button:hover, .like-button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.like-row strong { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.like-row-block p, .version-block p { margin: 10px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.version-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
}
.version-row span { color: var(--muted); }
.feedback-form { display: flex; flex-direction: column; gap: 7px; }
.feedback-form > label:not(.checkbox-row):not(.file-input) {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
}
.feedback-form input:not([type="file"]):not([type="checkbox"]):not(.honeypot),
.feedback-form textarea,
.custom-select-trigger {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12.5px;
}
.feedback-form textarea { min-height: 118px; resize: vertical; }
.feedback-form input:focus, .feedback-form textarea:focus, .custom-select-trigger:focus { border-color: var(--accent); outline: none; }
.feedback-form .button { margin-top: 8px; width: 100%; }
.custom-select { position: relative; }
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.custom-select-arrow {
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
}
.custom-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.custom-select-menu[hidden] { display: none !important; }
.custom-select-menu li { padding: 8px 9px; border-radius: 5px; font-size: 12px; cursor: pointer; }
.custom-select-menu li:hover, .custom-select-menu li[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); }
.file-input {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 6px 9px;
  border: 1px dashed var(--line-strong);
  border-radius: 7px;
  cursor: pointer;
}
.file-input input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-button { color: var(--accent); font-size: 11px; }
.file-name { overflow: hidden; color: var(--muted); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
  cursor: pointer;
}
.checkbox-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.checkbox-box {
  display: grid;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
}
.checkbox-row input:checked + .checkbox-box { border-color: var(--accent); background: var(--accent); }
.checkbox-row input:checked + .checkbox-box::after { content: "✓"; color: #fff; font-size: 9px; line-height: 1; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-hint, .form-status { margin: 4px 0 0; color: var(--faint); font-size: 10px; line-height: 1.6; }
.form-status:empty { display: none; }
.similar-suggestions {
  margin: 0;
  padding: 8px 10px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}
.feedback-main { min-width: 0; }
.feedback-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.feedback-view-tabs { display: flex; gap: 18px; }
.feedback-view-tab {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.feedback-view-tab.is-active { border-bottom-color: var(--accent); color: var(--accent); }
.feedback-head-actions { display: flex; gap: 14px; }
.note-list { display: flex; flex-direction: column; }
.note-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.note-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.note-card-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.note-kind, .note-status {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}
.note-status.status-shipped { border-color: var(--accent); color: var(--accent); }
.note-status.status-rejected { border-color: var(--danger); color: var(--danger); }
.note-date { color: var(--faint); font-family: var(--mono); font-size: 9px; }
.note-card h3 { margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.note-card p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.note-reply { margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--accent); }
.note-reply span { color: var(--accent); font-size: 9px; }
.note-reply p { margin-top: 3px; }
.note-footer { margin-top: 10px; }
.note-roadmap { margin-top: 8px; color: var(--accent); font-size: 10px; }
.note-remote { display: block; margin-top: 8px; color: var(--faint); font-size: 9.5px; }
.note-attachment { margin: 10px 0 0; }
.note-attachment img { max-height: 180px; border: 1px solid var(--line); border-radius: 6px; }
.note-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 12px;
}
.note-empty-spinner { color: var(--accent); }

/* ─── Download ───────────────────────────────────────────── */

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 60px;
  align-items: end;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.download-section h2 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.16; }
.download-section p { max-width: 620px; margin-bottom: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.download-note { color: var(--faint) !important; font-size: 11px !important; }
.download-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.download-actions .button { width: 100%; }

/* ─── Footer ─────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.7fr));
  gap: 48px;
  padding: 56px 0 44px;
}
.footer-brand p { margin: 12px 0 5px; color: var(--ink-soft); font-size: 13px; }
.footer-brand small { color: var(--faint); font-size: 10.5px; }
.footer-col { display: flex; flex-direction: column; gap: 7px; }
.footer-col > span { margin-bottom: 5px; color: var(--faint); font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; }
.footer-col a { color: var(--muted); font-size: 11.5px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 9.5px;
}

/* ─── Lightbox ───────────────────────────────────────────── */

.lightbox {
  width: min(1380px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100% - 40px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #0d0f12;
  color: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}
.lightbox::backdrop { background: rgba(10, 12, 15, 0.78); backdrop-filter: blur(5px); }
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}
.lightbox-actions { display: flex; gap: 6px; }
.lightbox-actions button {
  min-width: 30px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 12px;
}
.lightbox-actions button:hover { border-color: rgba(255, 255, 255, 0.5); }
.lightbox-stage { display: grid; max-height: calc(100vh - 120px); place-items: center; padding: 0; overflow: auto; }
.lightbox-stage img { width: 100%; height: auto; }

/* ─── Reveal ─────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 480ms var(--ease), transform 480ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  .container, .header-inner, .hero, .facts, .section, .download-section, .footer-inner, .footer-bottom { width: min(100% - 40px, var(--container)); }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 124px; }
  .hero-lead { max-width: 720px; }
  .hero-plate { max-width: 920px; }
  .flow-row { grid-template-columns: 1fr; gap: 28px; }
  .flow-row-reverse .flow-copy, .flow-row-reverse .flow-figure { order: initial; }
  .flow-figure { max-width: 920px; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-grid, .timeline { grid-template-columns: 1fr; }
  .feedback-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; }
  .download-section { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .download-actions { max-width: 300px; }
}

@media (max-width: 760px) {
  :root { --header: 58px; }
  .container, .header-inner, .hero, .facts, .section, .download-section, .footer-inner, .footer-bottom { width: min(100% - 32px, var(--container)); }
  .site-nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .site-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: grid; }
  .icon-link, .theme-toggle, .menu-toggle, .lang-toggle { width: 44px; height: 44px; }
  .header-actions { gap: 0; }
  .header-actions .button-small { display: none; }
  .hero { padding: 108px 0 60px; }
  .hero h1 { font-size: clamp(38px, 10.8vw, 52px); }
  .hero-lead { font-size: 15px; }
  .hero-meta { font-size: 9.5px; }
  .hero-plate figcaption { font-size: 10px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding: 16px 14px; border-bottom: 1px solid var(--line); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .section { padding: 74px 0; }
  .section-muted, .section-dark { padding-inline: 16px; }
  .section-head, .section-head-row { margin-bottom: 34px; }
  .section-head-row { display: block; }
  .section-head-row .text-link, .section-head-row .shot-filters { margin-top: 18px; }
  .shot-filters { justify-content: flex-start; }
  .flow { gap: 56px; }
  .flow-row { gap: 22px; }
  .flow-copy h3 { font-size: 22px; }
  .capability-grid { grid-template-columns: 1fr; gap: 0; }
  .capability { padding: 20px 0 24px; }
  .shot-grid { grid-template-columns: 1fr; gap: 26px; }
  .compare-row { grid-template-columns: 1fr; gap: 3px; padding: 14px 0; }
  .compare-head { display: none; }
  .compare-row > span:first-child { color: var(--faint); font-family: var(--mono); font-size: 9px; }
  .compare-row strong { margin-bottom: 2px; }
  .manifesto { margin-top: 40px; }
  .feedback-layout { grid-template-columns: 1fr; gap: 38px; }
  .feedback-side { max-width: 100%; }
  .feedback-main-head { flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; padding: 40px 0 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .download-section { padding: 60px 0; }
  .lightbox { width: calc(100% - 16px); max-height: calc(100% - 16px); }
  .lightbox-stage { max-height: calc(100vh - 96px); }
  .lightbox-bar { padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
