@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/IBMPlexMono-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/IBMPlexMono-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'IBM Plex Serif'; src: url('fonts/IBMPlexSerif-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'IBM Plex Serif'; src: url('fonts/IBMPlexSerif-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'IBM Plex Serif'; src: url('fonts/IBMPlexSerif-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ═══════════════════════════════════════════
   Tokens — strict 8px grid
   Every spacing value is a multiple of 8.
   Only exceptions: 1px borders, 2px lines.
   ═══════════════════════════════════════════ */

:root {
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 8px;

  --bg: #F0EBE1;
  --bg-warm: #E6E0D2;
  --surface: #FFFFFF;
  --border: #D4CEC2;
  --border-light: #E0DBD0;

  --ink: #222019;
  --ink-mid: #6B6560;
  --ink-faint: #706860;
  --ink-ghost: #706860;

  --accent: #3A3124;
  --accent-deep: #1E1810;

  --white: #FFFFFF;

  --code-bg: #F5F3EF;

  --led-green: #4CAF50;
  --led-green-glow: rgba(76, 175, 80, 0.3);

  --font-serif: 'IBM Plex Serif', Georgia, serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
}

/* Dark mode — system preference */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1A16;
    --bg-warm: #222019;
    --surface: #2A2722;
    --border: #3A3630;
    --border-light: #332F2A;

    --ink: #F0EBE1;
    --ink-mid: #A39B8E;
    --ink-faint: #8A8278;
    --ink-ghost: #8A8278;

    --accent: #C09C6F;
    --accent-deep: #A8865A;

    --code-bg: #2E2B26;

    --led-green: #66BB6A;
    --led-green-glow: rgba(102, 187, 106, 0.3);
  }
}

/* Dark mode — manual override */
[data-theme="dark"] {
  --bg: #1C1A16;
  --bg-warm: #222019;
  --surface: #2A2722;
  --border: #3A3630;
  --border-light: #332F2A;

  --ink: #F0EBE1;
  --ink-mid: #A39B8E;
  --ink-faint: #8A8278;
  --ink-ghost: #8A8278;

  --accent: #E8A030;
  --accent-deep: #D08820;

  --code-bg: #2E2B26;

  --led-green: #66BB6A;
  --led-green-glow: rgba(102, 187, 106, 0.3);
}

/* Light mode — manual override */
[data-theme="light"] {
  --bg: #F0EBE1;
  --bg-warm: #E6E0D2;
  --surface: #FFFFFF;
  --border: #D4CEC2;
  --border-light: #E0DBD0;

  --ink: #222019;
  --ink-mid: #6B6560;
  --ink-faint: #706860;
  --ink-ghost: #706860;

  --accent: #3A3124;
  --accent-deep: #1E1810;

  --code-bg: #F5F3EF;

  --led-green: #4CAF50;
  --led-green-glow: rgba(76, 175, 80, 0.3);
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-1);
  cursor: pointer;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.theme-toggle:hover { border-color: var(--ink-mid); }
.theme-toggle img { width: var(--sp-2); height: var(--sp-2); opacity: 0.6; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  .theme-toggle .icon-moon { display: none; }
  .theme-toggle .icon-sun { display: block; }
  .theme-toggle img { filter: invert(1); }
}
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle img { filter: invert(1); }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle img { filter: none; }

/* Light mode: white text on dark chocolate buttons.
   Dark mode: dark text on warm tan buttons. */
@media (prefers-color-scheme: dark) {
  a.header-cta, a.hero-cta, a.download-button,
  a.header-cta:hover, a.hero-cta:hover, a.download-button:hover { color: #1C1A16; }
}
[data-theme="dark"] a.header-cta,
[data-theme="dark"] a.hero-cta,
[data-theme="dark"] a.download-button,
[data-theme="dark"] a.header-cta:hover,
[data-theme="dark"] a.hero-cta:hover,
[data-theme="dark"] a.download-button:hover { color: #1C1A16; }
[data-theme="light"] a.header-cta,
[data-theme="light"] a.hero-cta,
[data-theme="light"] a.download-button,
[data-theme="light"] a.header-cta:hover,
[data-theme="light"] a.hero-cta:hover,
[data-theme="light"] a.download-button:hover { color: var(--white); }

html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.5; }

.skip-link {
  position: absolute; top: -100%; left: var(--sp-2);
  padding: var(--sp-1) var(--sp-2);
  background: var(--accent); color: var(--white);
  font-size: 14px; border-radius: var(--radius-sm);
  text-decoration: none; z-index: 100;
}
.skip-link:focus { top: var(--sp-2); }

/* Focus */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

/* Button-style links — reset link styles, override a:hover */
a.header-cta,
a.hero-cta,
a.download-button {
  color: var(--white);
  border-bottom: none;
}
a.header-cta:hover,
a.hero-cta:hover,
a.download-button:hover {
  color: var(--white);
  border-color: transparent;
  opacity: 0.85;
}

/* Column */
.col {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--sp-2);
}

/* Section heading — consistent h2 across all sections */
.section-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}

/* ═══════════════════════════════════════════
   Header
   ═══════════════════════════════════════════ */

.site-header .col {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-top: var(--sp-2);
  padding-bottom: var(--sp-2);
}
.logo {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.logo-icon {
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.12)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08));
}
.tagline {
  display: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 2px;
  flex: 1;
}
.header-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.header-link:hover {
  color: var(--ink);
  border-color: var(--ink-mid);
}
.header-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  background: var(--accent);
  border: none;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-xs);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

/* ═══════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════ */

.hero-zone {
  position: relative;
}
.hero-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('hero-bg-light.svg') center top / 1440px 960px no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
@media (prefers-color-scheme: dark) {
  .hero-zone::before { background-image: url('hero-bg.svg'); }
}
[data-theme="dark"] .hero-zone::before { background-image: url('hero-bg.svg'); }
[data-theme="light"] .hero-zone::before { background-image: url('hero-bg-light.svg'); }
.hero {
  position: relative;
  z-index: 1;
}
.hero .col {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
  max-width: 680px;
  color: var(--ink);
}
.hero-sub {
  font-size: 16px;
  color: var(--ink-faint);
  margin-bottom: var(--sp-4);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}
.hero-cta {
  width: 100%;
  text-align: center;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  background: var(--accent);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-xs);
  transition: opacity 0.2s ease;
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}

.rotating-wrapper {
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  vertical-align: bottom;
  line-height: 1.2;
}
.rotating-text {
  display: block;
  height: 1.2em;
  line-height: 1.2;
  animation: rotate-words 8s ease-in-out infinite;
}
@keyframes rotate-words {
  0%, 20%   { transform: translateY(0); }
  25%, 45%  { transform: translateY(-100%); }
  50%, 70%  { transform: translateY(-200%); }
  75%, 95%  { transform: translateY(-300%); }
  100%      { transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   Comparison
   ═══════════════════════════════════════════ */

.comparison {
  position: relative;
  z-index: 1;
}
.comparison .col {
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-3);
}
.comparison-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--ink-faint);
  margin-bottom: var(--sp-1);
}
.comparison-label--active {
  color: var(--accent);
}
.comparison-panels {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.panel-group {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.panel-group .panel {
  flex: 1;
}
.panel {
  flex: 1;
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border-light);
}

/* Raw markdown panel */
.panel--raw {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2;
  color: var(--ink-mid);
}
.md-h { color: var(--ink); }
.md-dim { color: var(--ink-ghost); }

/* Rendered panel */
.panel--rendered h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-1);
}
.panel--rendered h4 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-1);
}
.panel--rendered p { margin-bottom: var(--sp-1); color: var(--ink-mid); }
.panel--rendered ul { padding-left: var(--sp-3); margin-bottom: var(--sp-1); color: var(--ink-mid); }
.panel--rendered li { margin-bottom: 0; }
.panel--rendered pre {
  background: var(--code-bg);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: var(--sp-1);
  border-radius: var(--radius-sm);
  margin-top: var(--sp-2);
  color: var(--ink-mid);
}

/* ═══════════════════════════════════════════
   Screenshot
   ═══════════════════════════════════════════ */

.screenshot .col {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}
.screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-top: var(--sp-2);
}

/* ═══════════════════════════════════════════
   Features
   ═══════════════════════════════════════════ */

.features .col {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}

/* Primary — 3-up panels */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  list-style: none;
  margin-bottom: var(--sp-5);
}
.feature-panel {
  background: var(--surface);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.feature-visual {
  height: var(--sp-6);
  display: flex;
  align-items: center;
  margin-bottom: var(--sp-1);
}

/* Theme monitors */
.theme-monitors { display: flex; gap: var(--sp-1); align-items: flex-end; }
.mini-monitor {
  width: 40px; height: 40px; border-radius: 2px;
  overflow: hidden; display: flex; flex-direction: column;
}
.mm-bar { display: block; height: var(--sp-1); flex-shrink: 0; }
.mm-body { flex: 1; padding: var(--sp-1); display: flex; flex-direction: column; gap: 2px; }
.mm-line { height: 2px; border-radius: 1px; }
.mm-line--h { width: 55%; }
.mm-line--short { width: 70%; }
.mini-monitor--warm .mm-bar { background: #D47418; }
.mini-monitor--warm .mm-body { background: #FAF5ED; }
.mini-monitor--warm .mm-line { background: #D4CCC0; }
.mini-monitor--warm .mm-line--h { background: #3A3732; }
.mini-monitor--cool .mm-bar { background: #5B7BA5; }
.mini-monitor--cool .mm-body { background: #F0F2F5; }
.mini-monitor--cool .mm-line { background: #C8CDD4; }
.mini-monitor--cool .mm-line--h { background: #2E3A48; }
.mini-monitor--dark .mm-bar { background: #D47418; }
.mini-monitor--dark .mm-body { background: #1C1A16; }
.mini-monitor--dark .mm-line { background: #3A3530; }
.mini-monitor--dark .mm-line--h { background: #C8C0B4; }

/* Minimap schematic */
.minimap-schematic { display: flex; gap: var(--sp-1); height: 40px; }
.minimap-doc { display: flex; flex-direction: column; gap: 2px; width: 32px; }
.minimap-line { height: 2px; border-radius: 1px; background: #C8C0B4; }
.minimap-line--heading { background: #D47418; width: 60%; }
.minimap-line--code { background: #4CAF50; }
.minimap-line--list { background: #5B7BA5; width: 80%; }
.minimap-line--short { width: 75%; }
.minimap-track { width: var(--sp-1); background: var(--border-light); border-radius: 1px; position: relative; }
.minimap-thumb { position: absolute; top: 20%; width: 100%; height: 30%; background: #D47418; border-radius: 1px; opacity: 0.5; }

/* Privacy visual */
.privacy-visual { display: flex; align-items: center; justify-content: center; }

/* Export badges */
.export-badges { display: flex; gap: var(--sp-1); }
.format-badge {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 2px; padding: var(--sp-1);
  border-radius: 2px; border: 2px solid var(--border);
  color: var(--ink-mid);
}
.format-badge--active { border-color: var(--accent); color: var(--accent); }

.feature-panel h3 {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 2px; color: var(--ink); text-transform: uppercase;
}
.feature-panel p { font-size: 13px; color: var(--ink-mid); line-height: 1.5; }

/* Subhead — mono label style for subsections */
.section-subhead {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

/* Secondary features */
.features-secondary {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}
.feature-chip {
  padding: var(--sp-2) var(--sp-3);
  display: grid;
  grid-template-columns: var(--sp-1) 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--sp-1);
  row-gap: 0;
  align-items: start;
}
.chip-led {
  width: var(--sp-1); height: var(--sp-1); border-radius: 50%;
  background: var(--led-green);
  box-shadow: 0 0 4px var(--led-green-glow);
  margin-top: var(--sp-1);
  grid-row: 1;
}
.chip-name {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; color: var(--ink);
  grid-column: 2; grid-row: 1;
}
.chip-desc {
  font-size: 12px; color: var(--ink-mid); line-height: 1.5;
  grid-column: 2; grid-row: 2;
}

/* ═══════════════════════════════════════════
   Showcase — screenshot carousel
   ═══════════════════════════════════════════ */

.showcase {
  margin-bottom: var(--sp-2);
}
.showcase .col {
  padding-top: var(--sp-6);
}

/* Tab nav — horizontal above the content area */
.showcase-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
}
.showcase-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--ink-faint);
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: var(--sp-1) var(--sp-2);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.showcase-tab:hover {
  color: var(--ink);
}
.showcase-tab.active {
  color: var(--ink);
  border-color: var(--border);
  background: var(--surface);
}

/* Content area: sidebar (title + caption) + slides */
.showcase-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

/* Sidebar — title + caption only */
.showcase-detail {
  margin-bottom: var(--sp-2);
}
.showcase-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-1);
}
.showcase-caption {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.5;
}

/* Slides */
.showcase-slides {}
.showcase-slide {
  display: none;
}
.showcase-slide.active {
  display: block;
}
.showcase-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* ═══════════════════════════════════════════
   Download
   ═══════════════════════════════════════════ */

.download {
  background: #F0EBE1 url('hero-bg-light.svg') center / cover no-repeat;
}
@media (prefers-color-scheme: dark) {
  .download { background: #2A2722 url('hero-bg.svg') center / cover no-repeat; }
}
[data-theme="dark"] .download { background: #2A2722 url('hero-bg.svg') center / cover no-repeat; }
[data-theme="light"] .download { background: #F0EBE1 url('hero-bg-light.svg') center / cover no-repeat; }
.download .col {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}
.download-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
}
.download-info {
  flex: 1;
}
.download-icon {
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.12)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08));
}
.download-info .section-heading {
  margin-bottom: 0;
}
.download-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}
.download-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}
.download-actions .download-button {
  padding: var(--sp-1) var(--sp-2);
  font-size: 12px;
  width: 100%;
  text-align: center;
}
.download-button {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  background: var(--accent);
  border: none;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-xs);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.download-links {
  display: flex;
  gap: var(--sp-3);
}
.github-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.github-link:hover {
  color: var(--ink);
  border-color: var(--ink-mid);
}

/* ═══════════════════════════════════════════
   Legal pages (privacy, etc.)
   ═══════════════════════════════════════════ */

.legal-page {
  padding: var(--sp-8) 0 var(--sp-10);
}
.legal-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-1);
}
.legal-effective {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: var(--sp-6);
}
.legal-page h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-1);
}
.legal-page p,
.legal-page li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 640px;
}
.legal-page p {
  margin-bottom: var(--sp-2);
}
.legal-page ul {
  list-style: disc;
  padding-left: var(--sp-3);
  margin-bottom: var(--sp-2);
}
.legal-page li {
  margin-bottom: var(--sp-1);
}
.legal-page a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════ */

.site-footer .col {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
}
.footer-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--ink-ghost);
}
a.footer-text {
  text-decoration: none;
}
a.footer-text:hover {
  color: var(--ink-mid);
}
.footer-right {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */

@media (min-width: 769px) {
  .col { padding-left: var(--sp-3); padding-right: var(--sp-3); }
  .tagline { display: inline; }
  .hero-title { font-size: 48px; }
  .comparison-panels { flex-direction: row; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .features-secondary { grid-template-columns: repeat(2, 1fr); }
  .showcase-content { grid-template-columns: 200px 1fr; }
  .showcase-detail { padding-top: var(--sp-3); }
  .hero-actions { flex-direction: row; align-items: center; }
  .download-row { flex-direction: row; align-items: center; text-align: left; }
  .download-actions { margin-left: calc(72px + var(--sp-2)); flex-direction: row; align-items: center; }
  .hero-cta { width: auto; }
  .download-actions .download-button { width: auto; }
  .showcase-detail { margin-bottom: 0; padding-top: var(--sp-3); }
}

@media (prefers-reduced-motion: reduce) {
  .rotating-text { animation: none; }
  .header-cta, .download-button { transition: none; }
}
