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

/* ── Fonts (SIL OFL 1.1, self-hosted — see THIRD-PARTY-LICENSES.md) ── */
@font-face {
  font-family: "Varela Round";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/varela-round-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Varela Round";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/varela-round-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cinzel Decorative";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/cinzel-decorative-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel Decorative";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/cinzel-decorative-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cinzel Decorative";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/cinzel-decorative-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel Decorative";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/cinzel-decorative-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Design tokens (mirrored from the app's client/src/index.css) ── */
:root {
  --bg:              #121110;
  --surface:         #1c1a17;
  --surface-raised:  #252220;
  --surface-sunken:  #0f0d0b; /* lander-only: code blocks, table bands */
  --ink:             #f7f4ee;
  --ink-muted:       #b4ada1;
  --border:          rgba(242, 237, 228, 0.10);
  --border-strong:   rgba(242, 237, 228, 0.18);
  --accent:          #fb7b41;
  --accent-hover:    #e06e3a;
  --on-accent:       #241c0a;
  --accent-wash:     color-mix(in srgb, var(--accent) 14%, transparent);
  --link:            #5bb1d4;
  --link-hover:      #3094c4;

  --font-display:    "Cinzel Decorative", Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans:       "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:       ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Type scale, same steps as the app (the hero/section clamp()s stay lander-specific) */
  --text-2xs:  0.6875rem;
  --text-xs:   0.75rem;
  --text-sm:   0.8125rem;
  --text-md:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;

  --max-w:           1080px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: radial-gradient(
    ellipse 1200px 600px at 50% -10%,
    color-mix(in srgb, var(--accent) 5%, transparent),
    transparent
  );
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── Layout helpers ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: clamp(3rem, 7vw, 5rem) 0; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
  height: 56px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo:hover { color: var(--ink); }
.nav-logo img { image-rendering: pixelated; }

.nav-links {
  display: flex; align-items: center; gap: 0.2rem;
}
.nav-links a {
  color: var(--ink-muted);
  font-size: var(--text-md);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-raised); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: var(--text-md);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }

.btn-secondary {
  background: var(--surface-raised);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: color-mix(in srgb, var(--surface-raised) 85%, var(--ink));
  color: var(--ink);
}

/* ── Hero ── */
.hero {
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(var(--text-base), 2.5vw, 1.15rem);
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto 2.25rem;
}
.hero-ctas {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-screen {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 24px 80px rgba(0,0,0,0.65),
    0 0 100px color-mix(in srgb, var(--accent) 6%, transparent);
}
.hero-screen img { display: block; width: 100%; height: auto; }

/* ── Feature card grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 780px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--surface);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: background 0.15s;
}
.feature-card:hover { background: var(--surface-raised); }

.feature-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-wash);
  border-radius: 8px;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--ink);
}
.feature-card p {
  font-size: var(--text-md);
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── Section label / title ── */
.section-label {
  font-size: var(--text-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--ink-muted);
  font-size: var(--text-base);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* ── Feature detail rows ── */
.features-detail { padding: clamp(2rem, 5vw, 4rem) 0; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }

@media (max-width: 700px) {
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-img  { order: 2; }
}

.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-img  { order: 1; }

.feature-text ul {
  margin-top: 0.85rem;
  padding-left: 1.25rem;
  color: var(--ink-muted);
  font-size: var(--text-md);
  display: flex; flex-direction: column; gap: 0.3rem;
  list-style: disc;
}

.screen-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.3);
}
.screen-frame img { display: block; width: 100%; height: auto; }

/* ── Tech section ── */
.tech-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(2rem, 4vw, 3rem);
}
.tech-pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 1rem 0 1.75rem;
}
.pill {
  font-size: var(--text-sm);
  padding: 0.28rem 0.65rem;
  border-radius: 20px;
  background: var(--surface-raised);
  color: var(--ink-muted);
  border: 1px solid var(--border);
}
.code-block {
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--ink-muted);
  overflow-x: auto;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}
.code-block .comment { color: var(--ink-muted); }
.code-block .cmd { color: var(--ink); display: block; }

.tech-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 600px) { .tech-feature-grid { grid-template-columns: 1fr; } }

.tech-item {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}
.tech-item strong {
  display: block;
  font-size: var(--text-md);
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.tech-item span {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ── Demo callout ── */
.demo-callout {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: var(--accent-wash);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.demo-callout p { font-size: var(--text-md); color: var(--ink-muted); }
.demo-callout p strong { color: var(--ink); }
.demo-callout .demo-creds { display: flex; flex-direction: column; gap: 0.2rem; }
code {
  font-family: var(--font-mono);
  font-size: 0.83em;
  background: rgba(0,0,0,0.35);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--ink);
}
.demo-callout .demo-spacer { flex: 1; }

/* ── Public app instance callout ── */
.app-callout {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}
.app-callout p { font-size: var(--text-md); color: var(--ink-muted); }
.app-callout p strong { color: var(--ink); }
.app-callout p a { color: var(--link); }
.app-callout p a:hover { color: var(--link-hover); text-decoration: underline; }
.app-callout-spacer { flex: 1; }

/* ── Pricing ── */
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto 2.75rem; }
.pricing-head .section-desc { margin: 0 auto; max-width: 560px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}
@media (max-width: 1000px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; }
}
@media (max-width: 540px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: var(--accent-wash);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 15%, transparent),
    0 16px 50px rgba(0, 0, 0, 0.4);
}
.price-badge {
  position: absolute; top: -0.65rem; left: 1.5rem;
  font-size: var(--text-2xs); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  color: var(--on-accent); background: var(--accent);
  padding: 0.25rem 0.65rem; border-radius: 20px;
}
.price-tier {
  font-family: var(--font-display);
  font-size: var(--text-xl); color: var(--ink);
}
.price-amount {
  font-size: var(--text-3xl); font-weight: 700; color: var(--ink); line-height: 1.05; margin-top: 0.3rem;
}
.price-amount .price-unit { font-size: var(--text-md); font-weight: 500; color: var(--ink-muted); }
.price-note {
  font-size: var(--text-sm); color: var(--ink-muted);
  margin-top: 0.5rem; margin-bottom: 1.25rem;
  min-height: 2.6em;
}
.price-cta { justify-content: center; width: 100%; }
.price-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.55rem;
  font-size: var(--text-md); color: var(--ink-muted);
  margin: 1.5rem 0 0; padding: 0;
  flex: 1;
}
.price-features li { position: relative; padding-left: 1.5rem; line-height: 1.5; }
.price-features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
.price-addon {
  font-size: var(--text-sm); color: var(--ink-muted); line-height: 1.5;
  margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--border);
}
.price-addon strong { color: var(--ink); }
.price-addon code { font-size: 0.9em; }
.pricing-footnote {
  font-size: var(--text-sm); color: var(--ink-muted); line-height: 1.6;
  text-align: center; margin: 2rem auto 0; max-width: 680px;
}

/* ── Feature comparison table ── */
.compare-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--ink); text-align: center;
  margin: 3.5rem 0 1.75rem;
}
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: var(--text-md);
}

/* header */
.compare thead th {
  font-family: var(--font-display);
  font-size: var(--text-base); color: var(--ink); font-weight: 700;
  text-align: center; vertical-align: bottom;
  padding: 0.5rem 1rem 1rem;
  border-bottom: 2px solid var(--border-strong);
}
.compare thead th:first-child { text-align: left; }
.compare thead th + th { border-left: 1px solid var(--border); }
.compare .compare-corner {
  font-family: var(--font-sans);
  font-size: var(--text-2xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}

/* body */
.compare tbody th[scope="row"] {
  text-align: left; font-weight: 500; color: var(--ink-muted);
  width: 34%; padding: 0.95rem 1rem;
}
.compare tbody td {
  text-align: center; color: var(--ink);
  padding: 0.95rem 1rem;
  border-left: 1px solid var(--border);
}
.compare tbody tr:not(.compare-group) { border-bottom: 1px solid var(--border); }
.compare .yes { color: var(--accent); font-weight: 700; font-size: var(--text-base); }
.compare .no { color: var(--ink-muted); }

/* highlighted Series column */
.compare .compare-featured { background: var(--accent-wash); }
.compare thead th.compare-featured,
.compare tbody td.compare-featured {
  border-left: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

/* section band */
.compare-group th {
  text-align: left;
  background: var(--surface-sunken);
  font-family: var(--font-sans);
  font-size: var(--text-2xs); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 700;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Mobile: stack into per-feature blocks (Umami-style) */
@media (max-width: 680px) {
  .compare-wrap { overflow: visible; }
  .compare { min-width: 0; display: block; font-size: var(--text-md); }
  .compare thead { display: none; }
  .compare tbody { display: block; }
  .compare tr { display: block; }
  .compare th, .compare td { display: block; border: none; padding: 0; text-align: left; }

  .compare-group th {
    background: none;
    font-family: var(--font-display);
    font-size: var(--text-base); letter-spacing: 0; text-transform: none;
    color: var(--ink); font-weight: 700;
    margin: 2rem 0 0.85rem; padding: 0 0 0.5rem;
    border-top: none; border-bottom: 1px solid var(--border-strong);
  }
  .compare tbody tr.compare-group:first-child th { margin-top: 0; }

  .compare tbody tr:not(.compare-group) { border-bottom: none; margin-bottom: 1.5rem; }
  .compare tbody tr:not(.compare-group) th[scope="row"] {
    width: auto; color: var(--ink); font-weight: 700; font-size: var(--text-md);
    padding: 0; margin-bottom: 0.3rem;
  }
  .compare tbody td {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    border: none; border-top: 1px solid var(--border);
    padding: 0.45rem 0; text-align: right;
    background: none !important;
  }
  .compare tbody td.compare-featured {
    border-left: none; border-right: none;
    font-weight: 700;
  }
  .compare tbody td::before {
    content: attr(data-label);
    color: var(--ink-muted); font-weight: 500; text-align: left;
  }
  .compare tbody td.compare-featured::before { color: var(--ink); font-weight: 700; }
}

/* ── AI disclaimer ── */
.disclaimer-box {
  display: flex;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  align-items: flex-start;
}
.disclaimer-icon { font-size: var(--text-2xl); flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.disclaimer-box h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.disclaimer-box p { font-size: var(--text-md); color: var(--ink-muted); line-height: 1.65; }
.disclaimer-box a { color: var(--link); }
.disclaimer-box a:hover { color: var(--link-hover); text-decoration: underline; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
}
.footer-left { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-copy { font-size: var(--text-sm); color: var(--ink-muted); }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: var(--text-sm); color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* ── Legal pages ── */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem clamp(4rem, 8vw, 6rem);
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.legal-page .meta {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--ink);
  margin: 2.25rem 0 0.6rem;
}
.legal-page h3 {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--ink);
  margin: 1.5rem 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.legal-page p, .legal-page address {
  font-size: var(--text-md);
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
  font-style: normal;
}
.legal-page ul {
  font-size: var(--text-md);
  color: var(--ink-muted);
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  list-style: disc;
  display: flex; flex-direction: column; gap: 0.3rem;
  line-height: 1.65;
}
.legal-page a { color: var(--accent); }
.legal-page a:hover { color: var(--accent-hover); }
.legal-page .back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-bottom: 2rem;
  text-decoration: none;
}
.legal-page .back-link:hover { color: var(--ink); }

/* ── Mobile nav ── */
@media (max-width: 550px) { .hide-mobile { display: none; } }
