/* Content pages (/knockout-mode, /the-ref, /compare) — SEO Phase 2, 2026-10-19.
   Same tokens, fonts, nav and footer as web/index.html; long-form reading layout. */
:root {
  --navy: #1E3A5F;
  --gold: #B8860B;
  --charcoal: #1C1C1E;
  --white: #F8F9FA;
  --inactive: #6B9DC2;
  --green: #2ECC71;
  --red: #E74C3C;
  --mint: #34D399;
  --page: #0D0D0F;
  --page-alt: #111113;
  --navy-bg: #0F1A2A;
  --card: #141416;
  --card-navy: #1A1A1E;
  --border: rgba(255,255,255,0.06);
  --border-gold: rgba(184,134,11,0.15);
  --muted: #8A95A3;
  --r-card: 16px;
  --r-btn: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--page);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; min-height: 48px; padding: 13px 24px; border-radius: var(--r-btn); border: 1px solid transparent; cursor: pointer; transition: all .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-gold { background: var(--gold); color: #100c02; box-shadow: 0 2px 8px rgba(184,134,11,0.3); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); }
.nav-btn { min-height: 40px; font-size: 14px; padding: 8px 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav (as index.html) */
nav.top { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(13,13,15,0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: 'Archivo Black', sans-serif; color: var(--gold); font-size: 18px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(184,134,11,0.3); display: block; }
.nav-links { display: none; gap: 26px; }
.nav-links a { color: var(--inactive); font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-right { display: none; }
.hamburger { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; color: var(--white); font-size: 26px; cursor: pointer; width: 44px; height: 44px; }
.hamburger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 0 20px; border-top: 1px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-menu a.ml { color: var(--white); font-weight: 600; font-size: 16px; padding: 12px 4px; }
.mobile-menu .cta-row { margin-top: 12px; }

/* Article */
.article { max-width: 820px; margin: 0 auto; padding: 112px 24px 72px; }
.crumbs { font-size: 13px; color: var(--inactive); margin-bottom: 18px; }
.crumbs a { color: var(--inactive); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-current] { color: var(--muted); }
.eyebrow { text-transform: uppercase; font-size: 12px; letter-spacing: 2.5px; color: var(--gold); font-weight: 600; display: inline-block; }
.article h1 { font-size: clamp(30px, 5.5vw, 46px); margin: 14px 0 18px; }
.lede { color: var(--white); font-size: 19px; line-height: 1.6; }
.checked { color: var(--inactive); font-size: 14px; margin-top: 10px; }
.article h2 { font-size: clamp(22px, 3.6vw, 28px); margin: 56px 0 14px; }
.article h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 17px; margin: 26px 0 8px; }
.article p { color: #C9D1DB; font-size: 16.5px; margin: 0 0 14px; }
.article p.answer { color: var(--white); font-size: 17.5px; }
.article ul, .article ol { margin: 0 0 16px 22px; color: #C9D1DB; font-size: 16.5px; }
.article li { margin: 0 0 8px; }
.article li strong, .article p strong { color: var(--white); }
.article a.inline { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.hero-ref { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.hero-ref img { width: 220px; justify-self: center; }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0 10px; border: 1px solid var(--border); border-radius: var(--r-card); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.wide { min-width: 900px; }
caption { caption-side: bottom; text-align: left; color: var(--inactive); font-size: 13px; padding: 10px 14px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
thead th { background: var(--card-navy); color: var(--gold); font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; }
tbody th { color: var(--white); font-weight: 700; background: var(--card); }
td { color: #C9D1DB; background: var(--card); }
tr:last-child th, tr:last-child td { border-bottom: none; }
.note { color: var(--inactive); font-size: 14px; }

/* Ref samples */
.samples { list-style: none; margin: 18px 0 8px !important; display: flex; flex-direction: column; gap: 12px; }
.samples li { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--r-card); padding: 16px 18px; margin: 0; }
.samples .lbl { display: block; text-transform: uppercase; font-size: 11px; letter-spacing: 2px; color: var(--inactive); font-weight: 700; margin-bottom: 6px; }
.samples q { color: var(--gold); font-style: italic; font-weight: 500; font-size: 17px; quotes: "\201C" "\201D"; }

/* FAQ (static, crawlable) */
.faq-static h3 { margin-top: 22px; }

/* Related + CTA */
.related { margin-top: 56px; padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); }
.related h2 { margin: 0 0 12px !important; font-size: 20px !important; }
.related ul { list-style: none; margin: 0 0 18px !important; }
.related a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.error-line { margin-top: 28px; color: var(--inactive) !important; font-size: 14px !important; }

/* Footer (as index.html) */
footer { border-top: 1px solid var(--border); padding: 48px 0; }
.foot-inner { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.foot-brand { font-family: 'Archivo Black', sans-serif; color: var(--gold); font-size: 18px; display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { width: 28px; height: 28px; border-radius: 7px; border: 1px solid rgba(184,134,11,0.3); }
.foot-tag { color: var(--muted); font-style: italic; font-size: 14px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--inactive); }
.foot-links a:hover { color: var(--white); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-right { display: block; }
  .hamburger { display: none; }
  .hero-ref { grid-template-columns: 1fr 220px; }
}
@media (max-width: 600px) {
  .article { padding: 96px 16px 56px; }
  .wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
