:root {
  --bg: #0b1016;
  --surface: #111820;
  --line: #28313a;
  --text: #ece8df;
  --muted: #a3a7aa;
  --accent: #b49452;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-weight: 800; letter-spacing: .14em; text-decoration: none; }
nav { display: flex; gap: 22px; }
nav a, footer a, .section-title-row a { color: var(--muted); text-decoration: none; }
nav a:hover, footer a:hover, .section-title-row a:hover { color: var(--text); }

.hero { padding: 76px 0 88px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: center; }
.hero h1, .press h1 { margin: 0; font-size: clamp(54px, 8vw, 94px); line-height: .95; letter-spacing: -.055em; }
.tagline { margin: 22px 0 0; font-size: 20px; line-height: 1.45; }
.description { margin: 20px 0 0; color: var(--muted); max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; border: 1px solid #49535d; text-decoration: none; font-size: 14px; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #0b1016; font-weight: 700; }
.button:hover { border-color: #7a858f; }
.button.primary:hover { filter: brightness(1.08); }
.hero-image, .screenshot, .press-images a { border: 1px solid var(--line); background: var(--surface); }
.hero-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.content-section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 24px; font-size: 28px; letter-spacing: -.025em; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.about-grid p, .press-section > p { margin: 0; color: var(--muted); }
.about-grid p + p, .press-section > p + p { margin-top: 16px; }
.section-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.section-title-row a { font-size: 14px; }
.plain-features { margin: 0; padding-left: 21px; color: var(--muted); }
.plain-features li { margin: 9px 0; padding-left: 4px; }
.screenshot { display: block; }
.screenshot img { width: 100%; }

.bottom-cta { border-top: 1px solid var(--line); background: var(--surface); }
.bottom-cta-inner { min-height: 170px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.bottom-cta h2 { margin-bottom: 6px; }
.bottom-cta p { margin: 0; color: var(--muted); }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; color: #797f84; font-size: 13px; }
.footer-inner div { display: flex; gap: 18px; }

.press { max-width: 900px; padding-top: 72px; padding-bottom: 100px; }
.press-heading { padding-bottom: 58px; }
.kicker { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.press-heading > p:last-child { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.press-section { padding: 46px 0; border-top: 1px solid var(--line); }
.press-section h2 { font-size: 24px; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.facts dt { color: #7f858a; font-size: 13px; }
.facts dd { margin: 0; }
.press-images { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.press-images img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.contact-placeholder { padding: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.press-section a { color: #d3bd85; }

/* Legal and 404 pages */
.legal-main { padding: 72px 0 100px; }
.legal-card { width: min(calc(100% - 40px), 840px); margin: 0 auto; }
.legal-card h1 { font-size: 48px; margin: 0 0 24px; }
.legal-card h2 { margin-top: 42px; font-size: 22px; }
.legal-card p { color: var(--muted); }
.legal-updated { color: #777d82 !important; font-size: 13px; }
.draft-callout { margin: 28px 0; padding: 16px 18px; border: 1px solid #665a3d; background: #15140f; color: #b8aa8e; }
.error-page { min-height: 100vh; display: grid; place-items: center; }
.error-card { width: min(calc(100% - 40px), 560px); text-align: center; }
.error-code { display: block; color: var(--accent); font-size: 72px; font-weight: 800; }
.error-card h1 { margin: 0; }
.error-card p { color: var(--muted); }
code { padding: 2px 5px; background: var(--surface); border: 1px solid var(--line); }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 40px; }
  .hero-copy { max-width: 700px; }
  .about-grid, .press-images { grid-template-columns: 1fr; gap: 20px; }
  .bottom-cta-inner { padding: 36px 0; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 60px; }
  nav { gap: 14px; font-size: 14px; }
  .hero { padding: 46px 0 60px; }
  .tagline { font-size: 18px; }
  .content-section { padding: 48px 0; }
  .facts { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 105px 1fr; }
  .footer-inner { padding: 24px 0; align-items: flex-start; flex-direction: column; gap: 16px; }
}
