/* Threadbound marketing homepage — deliberately a separate, buildless
   static site (no Vite/bundler) from the app itself, deployed to the root
   domain while the app lives at app.threadbound.ink. Colour tokens and
   fonts are copied from src/style.css to stay visually consistent with
   the app without sharing a build pipeline with it. */

:root {
  /* Dark "ink" theme — the default, matching the app's own default. */
  --bg: #1B1815;
  --surface: #242019;
  --surface-2: #2E2820;
  --surface-3: #35302A;
  --text: #EDE3D0;
  --text-muted: #9C9082;
  --text-faint: #6E6558;
  --border: #3A332A;
  --border-soft: #2C2721;
  --accent: #C08A28;
  --accent-ink: #1B1815;
  --thread-1: #B23A48;
  --thread-2: #3B7CA6;
  --thread-3: #C08A28;
  --thread-4: #4A7C6F;
  --thread-5: #8A6BA8;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Explicit light pick (via the toggle) always wins, regardless of OS preference. */
:root[data-theme="light"] {
  --bg: #F3ECDA;
  --surface: #FBF6E9;
  --surface-2: #F0E7D0;
  --surface-3: #E7DBBC;
  --text: #2B2419;
  --text-muted: #6B5F4C;
  --text-faint: #8B8067;
  --border: #DDD0AE;
  --border-soft: #E7DBBC;
  --shadow: 0 8px 24px rgba(60, 45, 20, 0.12);
}

/* OS preference applies only when the visitor hasn't explicitly picked dark. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F3ECDA;
    --surface: #FBF6E9;
    --surface-2: #F0E7D0;
    --surface-3: #E7DBBC;
    --text: #2B2419;
    --text-muted: #6B5F4C;
    --text-faint: #8B8067;
    --border: #DDD0AE;
    --border-soft: #E7DBBC;
    --shadow: 0 8px 24px rgba(60, 45, 20, 0.12);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Work Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; color: var(--text-muted); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 640px; }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--border-soft); position: sticky; top: 0; background: var(--bg); z-index: 5; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark { border-radius: 6px; display: block; }
.brand-name { font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; font-size: 18px; color: var(--text); }
.topnav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.topnav a:not(.btn) { color: var(--text-muted); text-decoration: none; }
.topnav a:not(.btn):hover { color: var(--accent); }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0;
}
.theme-toggle:hover { background: var(--surface-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--surface-3); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-large { padding: 13px 22px; font-size: 15px; border-radius: 9px; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 70px; text-align: center; }
.badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(192, 138, 40, 0.15);
  color: var(--accent);
  margin-bottom: 22px;
}
.hero h1 { font-size: 44px; line-height: 1.15; max-width: 780px; margin: 0 auto; }
.hero-sub { font-size: 17px; max-width: 560px; margin: 22px auto 0; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section h2 { font-size: 30px; text-align: center; }
.section-lead { text-align: center; font-size: 15.5px; max-width: 560px; margin: 12px auto 0; line-height: 1.6; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.feature-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.feature-card h3 { font-size: 16px; }
.feature-card p { font-size: 13px; line-height: 1.55; }

/* Small CSS-only "peek" mockups — deliberately stylised, not real
   screenshots, so they never go stale when the app's UI changes. */
.mock { background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 9px; padding: 12px; height: 90px; position: relative; overflow: hidden; }
.mock .bar { display: inline-block; height: 8px; border-radius: 4px; background: var(--border); vertical-align: middle; }
.mock .dot { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 8px; vertical-align: middle; }

.mock-threads { display: flex; flex-direction: column; justify-content: space-between; }
.mock-thread { display: flex; align-items: center; }

.mock-timeline { padding-top: 20px; }
.mock-tickline { position: absolute; top: 12px; left: 12px; right: 12px; height: 1px; background: var(--border); }
.mock-card { position: absolute; top: 28px; width: 34%; height: 46px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid; border-radius: 6px; box-shadow: var(--shadow); }

.mock-board { display: flex; gap: 8px; }
.mock-col { flex: 1; display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 6px; padding: 6px; }
.mock-col-head { display: block; height: 6px; width: 60%; border-radius: 3px; margin-bottom: 2px; }
.mock-col-card { display: block; height: 16px; border-radius: 4px; background: var(--surface-3); }

.mock-todo { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.mock-todo-row { display: flex; align-items: center; gap: 10px; }
.mock-check { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--border); flex-shrink: 0; }
.mock-check.checked { background: var(--accent); border-color: var(--accent); }

/* ---------- Callout trio ---------- */
.callout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.callout h3 { font-size: 17px; margin-bottom: 8px; }
.callout p { font-size: 13.5px; line-height: 1.6; }

/* ---------- Screenshots ---------- */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.shot-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px;
  overflow: hidden; padding: 0; text-align: left; font: inherit; color: inherit;
  cursor: zoom-in; display: block; width: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.shot-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.shot-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shot-card img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--border-soft); }
.shot-card-label { padding: 14px 16px; }
.shot-card-label h3 { font-size: 15px; margin-bottom: 4px; }
.shot-card-label p { font-size: 12.5px; line-height: 1.5; }
.shot-note { text-align: center; font-size: 13px; color: var(--text-faint); margin-top: 24px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(10, 8, 6, 0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 80px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-img { max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); background: var(--surface); }
.lightbox-caption { color: #EDE3D0; font-size: 14px; text-align: center; max-width: 640px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid rgba(237, 227, 208, 0.25); background: rgba(237, 227, 208, 0.08);
  color: #EDE3D0; font-size: 16px; cursor: pointer;
}
.lightbox-close:hover { background: rgba(237, 227, 208, 0.16); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(237, 227, 208, 0.25); background: rgba(237, 227, 208, 0.08);
  color: #EDE3D0; font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(237, 227, 208, 0.16); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 720px) {
  .lightbox { padding: 70px 20px; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 20px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ---------- Modules ---------- */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.module-grid.journey-grid { grid-template-columns: repeat(4, 1fr); }
.module-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px; padding: 24px; }
.module-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.module-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(192, 138, 40, 0.15); color: var(--accent);
  font-size: 17px; flex-shrink: 0;
}
.module-card h3 { font-size: 17px; }
.module-card p { font-size: 13.5px; line-height: 1.6; }
.module-note { text-align: center; font-size: 13.5px; color: var(--text-muted); margin-top: 28px; }

/* ---------- Feedback/requests callout ---------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.cta-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px; padding: 24px; text-align: center; }
.cta-card h3 { font-size: 17px; margin-bottom: 8px; }
.cta-card p { font-size: 13.5px; line-height: 1.6; margin-bottom: 18px; }

/* ---------- Pricing ---------- */
.price-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px; padding: 32px; text-align: center; margin-top: 36px; }
.price-status { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.price-card p { font-size: 14px; line-height: 1.6; }
.price-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--text); }
.price-list li { display: flex; align-items: center; justify-content: center; gap: 8px; }
.price-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.price-buy[hidden], .price-card [hidden] { display: none; }
.price-intro-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; font-family: 'Fraunces', serif; font-weight: 600; font-size: 44px; line-height: 1.1; color: var(--text); }
.price-was { font-size: 22px; font-weight: 400; color: var(--text-faint); }
.price-card .price-tax { font-size: 13px; color: var(--text-faint); margin: 6px 0 20px; }
.price-card .price-error { font-size: 13.5px; color: var(--text); margin-top: 12px; }
.price-card .price-fine { font-size: 12.5px; color: var(--text-faint); margin-top: 14px; }
.price-card .price-trial { font-size: 13.5px; margin-top: 6px; }
.price-trial a { color: var(--accent); }
#buyBtn[disabled] { opacity: 0.6; cursor: progress; }
.thanks-card { text-align: center; }
.thanks-card h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; margin: 0 0 10px; color: var(--text); }
.thanks-card p { font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
.thanks-card .btn { margin-top: 8px; }
.thanks-ref { font-size: 13px; color: var(--text-faint); }
.thanks-card [hidden] { display: none; }
.key-box { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 10px; padding: 14px 16px; margin: 4px 0 16px; }
.key-text { font-family: Consolas, Menlo, monospace; font-size: clamp(14px, 4.4vw, 20px); letter-spacing: 0.04em; color: var(--text); user-select: all; white-space: nowrap; }
.key-waiting { display: inline-flex; align-items: center; gap: 10px; }
.thanks-card .key-keep { font-size: 13px; color: var(--text-faint); }
.spinner { width: 16px; height: 16px; border: 2px solid var(--border-soft); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.price-early { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border-soft); }
.price-early h3 { font-size: 16px; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-faint); gap: 16px; flex-wrap: wrap; }
.footer-inner a { color: var(--text-faint); text-decoration: none; }
.footer-inner a:hover { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ---------- Legal pages (privacy, terms) ---------- */
.legal { padding: 56px 0 100px; }
.legal-header { margin-bottom: 44px; }
.legal h1 { font-size: 34px; }
.legal-updated { font-size: 13px; color: var(--text-faint); margin-top: 10px; }
.legal h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; margin: 36px 0 12px; color: var(--text); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 15.5px; margin: 24px 0 8px; color: var(--text); }
.legal code { font-size: 13px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 4px; padding: 1px 5px; }
.legal p { font-size: 14.5px; line-height: 1.7; margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 20px; font-size: 14.5px; line-height: 1.7; color: var(--text-muted); }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--text); }
.legal-note { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 10px; padding: 16px 18px; font-size: 13.5px; }

/* ---------- Forms (feedback, requests) ---------- */
.form-page { padding: 56px 0 100px; }
.form-header { margin-bottom: 36px; text-align: center; }
.form-header h1 { font-size: 32px; }
.form-header p { font-size: 15px; max-width: 480px; margin: 12px auto 0; line-height: 1.6; }

.form-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px; padding: 28px; }

.field { margin-bottom: 18px; }
.field:last-of-type { margin-bottom: 0; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field input[type="text"],
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
}
.field input[type="text"]:focus,
.field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 100px; line-height: 1.5; }

.radio-group { display: flex; gap: 12px; }
.radio-option {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 14px; cursor: pointer; font-size: 14px;
  background: var(--surface-2);
}
.radio-option:has(input:checked) { border-color: var(--accent); background: rgba(192, 138, 40, 0.12); }
.radio-option input { accent-color: var(--accent); }

.form-card > .btn { margin-top: 4px; }
.form-msg { font-size: 13.5px; margin-top: 14px; border-radius: 8px; padding: 10px 14px; display: none; }
.form-msg.visible { display: block; }
.form-msg-success { background: rgba(74, 124, 111, 0.15); color: var(--thread-4); }
.form-msg-error { background: rgba(178, 58, 72, 0.15); color: var(--thread-1); }

/* ---------- Feature requests ---------- */
.request-list { display: flex; flex-direction: column; gap: 14px; }
.request-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px; padding: 18px 20px; display: flex; gap: 16px; }
.vote-controls { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; width: 40px; }
.vote-btn {
  width: 32px; height: 28px; border-radius: 6px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-muted); cursor: pointer; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.vote-btn:hover { background: var(--surface-3); }
.vote-btn.active-up { border-color: var(--accent); color: var(--accent); background: rgba(192, 138, 40, 0.15); }
.vote-btn.active-down { border-color: var(--thread-1); color: var(--thread-1); background: rgba(178, 58, 72, 0.12); }
.vote-score { font-size: 15px; font-weight: 600; color: var(--text); padding: 2px 0; }

.request-main { flex: 1; min-width: 0; }
.request-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.request-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; margin: 0; }
.request-body { font-size: 14px; line-height: 1.6; margin-top: 8px; white-space: pre-wrap; }
.request-meta { font-size: 12.5px; color: var(--text-faint); margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.request-meta button { background: none; border: none; color: var(--text-faint); font: inherit; font-size: 12.5px; cursor: pointer; padding: 0; text-decoration: underline; }
.request-meta button:hover { color: var(--accent); }

.status-badge { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 20px; flex-shrink: 0; }
.status-unreviewed { background: var(--surface-3); color: var(--text-muted); }
.status-planned { background: rgba(59, 124, 166, 0.18); color: var(--thread-2); }
.status-in_progress { background: rgba(192, 138, 40, 0.18); color: var(--accent); }
.status-live { background: rgba(74, 124, 111, 0.18); color: var(--thread-4); }

.comments-panel { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-soft); display: none; }
.comments-panel.visible { display: block; }
.comment-row { padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 13.5px; }
.comment-row:last-child { border-bottom: none; }
.comment-author { font-weight: 600; }
.comment-date { color: var(--text-faint); font-size: 12px; }
.comment-body { color: var(--text-muted); margin-top: 3px; line-height: 1.5; }
.comment-form { display: flex; gap: 8px; margin-top: 12px; }
.comment-form input[type="text"] { flex: 1; font-size: 13.5px; padding: 8px 10px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); }
.comment-form button { flex-shrink: 0; }

.empty-note { text-align: center; color: var(--text-faint); font-size: 14px; padding: 40px 0; }

/* Honeypot: off-screen, never shown to real visitors — only a bot that
   blindly fills every field lands anything in it. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .callout { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .module-grid.journey-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .module-grid.journey-grid { grid-template-columns: 1fr; }
  .topnav { gap: 12px; font-size: 13px; }
  .topnav a:not(.btn) { display: none; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 56px 0; }
  .request-card { flex-direction: column; }
  .vote-controls { flex-direction: row; width: auto; }
}

/* ---------- Patch notes (patch-notes.html, built on .legal) ---------- */
.release { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--border-soft); scroll-margin-top: 80px; }
.release:last-of-type { border-bottom: none; }
.release-header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 14px; }
.legal .release-header h2 { margin: 0; }
.release-tag { font-size: 12px; font-weight: 600; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 1px 9px; }
.release-date { font-size: 13px; color: var(--text-faint); margin-left: auto; }
.legal .release ul ul { margin: 6px 0 4px; }
.release-footnote { font-size: 13.5px; color: var(--text-muted); }
/* "New" / "Improved" / "Fixed" labels inside a release. */
.legal .release-group { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin: 18px 0 8px; }

/* Footer "Compare" dropdown (a <details>, opening upward) */
.footer-menu { position: relative; }
.footer-menu summary { cursor: pointer; list-style: none; color: var(--text-faint); }
.footer-menu summary::-webkit-details-marker { display: none; }
.footer-menu summary::after { content: " \25B4"; font-size: 10px; }
.footer-menu summary:hover, .footer-menu[open] summary { color: var(--accent); }
.footer-menu-list {
  position: absolute; bottom: calc(100% + 10px); left: 0; z-index: 20;
  min-width: 230px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow);
}
.footer-menu-list a { padding: 7px 10px; border-radius: 6px; white-space: nowrap; }
.footer-menu-list a:hover { background: var(--surface-2); }

/* Blog: index and comparison posts */
.post { padding: 56px 0 100px; }
.post-eyebrow { font-size: 13px; color: var(--text-faint); margin: 0 0 10px; }
.post h1 { font-size: 34px; line-height: 1.2; }
.post-meta { font-size: 13px; color: var(--text-faint); margin: 12px 0 28px; }
.post h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; margin: 40px 0 12px; }
.post h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; margin: 24px 0 8px; }
.post p { font-size: 16px; line-height: 1.75; margin: 0 0 16px; }
.post ul { margin: 0 0 16px; padding-left: 22px; font-size: 16px; line-height: 1.7; color: var(--text-muted); }
.post li { margin-bottom: 6px; }
.post a:not(.btn) { color: var(--accent); }
.post-verdict { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 10px; padding: 18px 20px; margin: 0 0 8px; }
.post-verdict p:last-child { margin-bottom: 0; }
.post-table-wrap { overflow-x: auto; margin: 0 0 20px; }
.post table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.post th, .post td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border-soft); }
.post th { color: var(--text-muted); font-weight: 600; border-bottom: 1px solid var(--border); }
.post td:first-child { color: var(--text-muted); white-space: nowrap; }
.post-note { font-size: 13.5px !important; color: var(--text-faint); }
.post-cta { margin-top: 40px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; text-align: center; }
.post-cta p { margin-bottom: 14px; }
.post-list { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.post-list li { margin: 0; }
.post-list a { display: block; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); }
.post-list a:hover { border-color: var(--accent); }
.post-list strong { display: block; font-family: 'Fraunces', serif; font-size: 18px; margin-bottom: 4px; }
.post-list span { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }
