/* Shared theme + base layout for the marketing site sub-pages
   (terms, privacy, support, press, thanks). Index.html keeps its inline
   styles for now since it has section-specific styles too. */

:root {
  --bg: #0A0A0A;
  --surface-1: #111114;
  --surface-2: #16181C;
  --surface-3: #1D1F24;
  --hairline: #24262C;
  --hairline-soft: #1A1C20;

  --text: #F5F5F5;
  --text-2: #8A8F98;
  --text-3: #5A5F68;
  --text-4: #3A3F48;

  --accent: #C5F74F;
  --accent-dim: #9BC23F;
  --accent-ink: #0A0F00;
  --accent-glow: rgba(197, 247, 79, 0.18);

  --danger: #FF4D4D;
  --ok: #4DFFA6;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --maxw: 760px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Top nav: matches the home page header look */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
}
.site-nav .wrap {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
}
.site-nav .brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 16px; letter-spacing: -0.02em; color: var(--text);
}
.site-nav .brand .dot { color: var(--accent); }
.site-nav .links {
  display: flex; gap: 22px;
  font-size: 13px; color: var(--text-2);
}
.site-nav .links a:hover { color: var(--text); text-decoration: none; }

/* Page content shell */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 28px 80px;
}
.page header h1 {
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.05;
  margin: 0 0 12px;
}
.page header h1 .accent { color: var(--accent); }
.page header .meta {
  font-family: var(--mono); font-size: 11.5px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.page header p.lede {
  margin: 14px 0 0;
  font-size: 17px; color: var(--text-2); line-height: 1.55;
  max-width: 620px;
}

/* Article copy */
article { margin-top: 36px; }
article h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--text); margin: 40px 0 12px;
}
article h3 {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin: 28px 0 8px;
}
article p, article li {
  color: var(--text-2); line-height: 1.7; margin: 0 0 12px;
  font-size: 15px;
}
article ul, article ol { padding-left: 22px; margin: 0 0 16px; }
article ul li::marker { color: var(--accent); }
article strong { color: var(--text); font-weight: 600; }
article code {
  font-family: var(--mono); font-size: 13px;
  background: var(--surface-2); padding: 1px 6px; border-radius: 4px;
  color: var(--text);
}
article hr {
  border: 0; height: 1px; background: var(--hairline-soft);
  margin: 36px 0;
}
article blockquote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 14px;
  margin: 16px 0;
  color: var(--text-2);
}

/* Cards (used on support / thanks for option blocks) */
.card {
  background: var(--surface-1);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  padding: 22px;
  margin: 16px 0;
}
.card h3 { margin-top: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--r-md);
  transition: transform .08s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--hairline);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline-soft);
  margin-top: 60px;
  padding: 28px;
  font-size: 12px; color: var(--text-3);
}
.site-footer .wrap {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.site-footer a { color: var(--text-2); }

/* Mobile */
@media (max-width: 720px) {
  .site-nav .wrap { padding: 12px 18px; }
  .site-nav .links { gap: 14px; font-size: 12px; }
  .page { padding: 40px 18px 60px; }
  article h2 { font-size: 19px; margin: 32px 0 10px; }
  article p, article li { font-size: 15px; }
}
