/* DOVR Media — shared static styles. Dark theme, lime accent.
   Fonts (Inter Tight / JetBrains Mono / Instrument Serif) linked per page. */

:root {
  --bg:           oklch(0.155 0.008 255);
  --bg-elev:      oklch(0.195 0.009 255);
  --bg-card:      oklch(0.215 0.010 255);
  --border:       oklch(0.30 0.010 255);
  --border-soft:  oklch(0.25 0.010 255);
  --text:         oklch(0.97 0.005 100);
  --text-dim:     oklch(0.70 0.010 255);
  --text-faint:   oklch(0.50 0.010 255);
  --accent:       oklch(0.88 0.22 130);
  --accent-ink:   oklch(0.18 0.05 130);
  --danger:       oklch(0.70 0.18 25);
  --radius:       12px;
  --maxw:         1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }
::selection { background: var(--accent); color: var(--accent-ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { letter-spacing: -0.03em; line-height: 1.02; margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -0.04em; line-height: 0.98; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.025em; }
p { margin: 0 0 16px; text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: var(--text-dim); max-width: 640px; }
.dim { color: var(--text-dim); }
.accent { color: var(--accent); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-weight: 500; font-size: 14px; letter-spacing: -0.01em;
  padding: 11px 18px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.15s ease; white-space: nowrap;
}
.btn--lg { font-size: 15px; padding: 14px 24px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn--secondary:hover { background: var(--bg-elev); border-color: var(--text-dim); }
.btn--block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 4px;
  padding: 8px 8px 8px 20px; border-radius: 999px; border: 1px solid transparent;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--border-soft); max-width: 100%;
}
.nav__brand { display: flex; align-items: center; gap: 10px; padding-right: 18px; margin-right: 8px; border-right: 1px solid var(--border-soft); font-weight: 600; letter-spacing: -0.02em; }
.nav__mark { width: 22px; height: 22px; border-radius: 5px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 13px; }
.brand-logo { height: 20px; width: auto; display: block; }
.footer-brand .brand-logo { height: 26px; margin-bottom: 4px; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { padding: 8px 12px; font-size: 13.5px; color: var(--text-dim); font-weight: 500; border-radius: 999px; transition: color 0.15s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; background: transparent; border: none; color: var(--text); cursor: pointer; }

@media (max-width: 860px) {
  .nav { flex-direction: column; align-items: stretch; width: 100%; padding: 8px; border-radius: 18px; }
  .nav__top { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 2px 12px; }
  .nav__brand { border-right: none; padding-right: 0; margin-right: 0; }
  .nav__toggle { display: flex; }
  .nav__menu { display: none; flex-direction: column; gap: 2px; padding: 8px 6px 6px; margin-top: 6px; border-top: 1px solid var(--border-soft); }
  .nav.is-open .nav__menu { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; }
  .nav__links a { padding: 12px 14px; font-size: 16px; color: var(--text); }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}
@media (min-width: 861px) { .nav__top { display: contents; } .nav__menu { display: contents; } }

/* ---------- Sections ---------- */
main { padding-top: 96px; }
.section { padding: clamp(56px, 9vw, 100px) 0; }
.section--elev { background: var(--bg-elev); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section__head { max-width: 720px; }
.section__head.center { margin: 0 auto; }
.section__head .eyebrow { margin-bottom: 16px; }
.section__head p { margin-top: 18px; }
.stack-narrow { max-width: 820px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__glow { position: absolute; top: -220px; left: 50%; transform: translateX(-50%); width: min(900px, 120vw); height: 600px; background: radial-gradient(ellipse at center, color-mix(in oklab, var(--accent) 16%, transparent) 0%, transparent 62%); pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--border); border-radius: 999px; background: color-mix(in oklab, var(--bg-card) 60%, transparent); font-size: 12.5px; color: var(--text-dim); }
.pill b { padding: 3px 8px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-size: 10px; font-weight: 700; font-family: 'JetBrains Mono', monospace; white-space: nowrap; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Cards / hairline grids ---------- */
.card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
a.card { transition: border-color 0.15s, transform 0.15s; }
a.card:hover { border-color: var(--border); }

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.hair-grid { display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.hair-grid > * { background: var(--bg-card); padding: 28px 24px; margin: 0; }
.hair-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hair-grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hair-grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.stat { padding: 26px 22px; border-right: 1px solid var(--border-soft); }
.stat:last-child { border-right: none; }
.stat__n { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.stat__l { margin-top: 8px; font-size: 12px; color: var(--text-dim); font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Feature lists / checks ---------- */
.checks { list-style: none; padding: 0; margin: 16px 0; }
.checks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--border-soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8e05f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checks li:last-child { border-bottom: none; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-soft); border-radius: var(--radius); margin: 24px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
thead th { background: var(--bg-elev); font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); font-weight: 500; }
tbody tr:last-child td { border-bottom: none; }
td strong { color: var(--text); }

/* ---------- Badges / tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 4px; border: 1px solid var(--border); color: var(--text-dim); }
.tag--accent { border-color: var(--accent); color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, transparent); }

/* ---------- Pricing ---------- */
.tier { display: flex; flex-direction: column; gap: 20px; position: relative; }
.tier--featured { border-color: var(--accent); background: var(--bg); }
.tier__badge { position: absolute; top: -1px; right: 20px; padding: 4px 10px; background: var(--accent); color: var(--accent-ink); font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 0 0 6px 6px; }
.tier__price { display: flex; align-items: baseline; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); }
.tier__price .amt { font-size: 44px; font-weight: 600; letter-spacing: -0.035em; }
.tier__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier__features li { position: relative; padding-left: 26px; font-size: 13.5px; line-height: 1.45; }
.tier__features li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8e05f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- FAQ (native accordion, no JS needed) ---------- */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 10px; overflow: hidden; }
.faq details[open] { border-color: var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-size: 16px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-dim); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .faq__body { padding: 0 22px 20px; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; max-width: 720px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta__inner { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: clamp(36px, 6vw, 72px); }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at center, color-mix(in oklab, var(--accent) 14%, transparent) 0%, transparent 60%); pointer-events: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--border-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 56px; }
.footer-brand p { font-size: 13.5px; color: var(--text-dim); max-width: 280px; margin: 18px 0; }
.footer-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-dim); padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-faint); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Utilities ---------- */
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 32px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.updated { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.hold-note { border: 1px dashed var(--border); border-radius: 8px; padding: 12px 16px; color: var(--text-faint); font-size: 13px; font-style: italic; }
