/* Public pages (landing, terms, privacy). Same palette as the app: graphite surfaces, mint accent. */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0c1016;
  --surface: #141a23;
  --surface-2: #1c2430;
  --line: rgb(255 255 255 / .08);
  --text: #eef2f8;
  --text-2: #a6b0c3;
  --accent: #3ddc97;
  --accent-strong: #26c983;
  --on-accent: #04261a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 18px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
}
header.site .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.125rem; }
header.site .brand img { width: 36px; height: 36px; border-radius: 10px; }
header.site nav { display: flex; gap: 16px; font-size: .9375rem; }
header.site nav a { color: var(--text-2); text-decoration: none; }
header.site nav a:hover { color: var(--text); }

h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.12; letter-spacing: -.02em; margin: 28px 0 14px; font-weight: 800; }
h2 { font-size: 1.375rem; margin: 38px 0 10px; letter-spacing: -.01em; font-weight: 800; }
h3 { font-size: 1.0625rem; margin: 22px 0 6px; font-weight: 700; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: 6px; }
.lead { font-size: 1.1875rem; color: var(--text-2); max-width: 36em; }
.muted { color: var(--text-2); font-size: .9375rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  text-decoration: none;
}
.button:hover { background: var(--accent-strong); color: var(--on-accent); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }

.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 18px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin: 4px 0; }
.price small { font-size: 1rem; font-weight: 600; color: var(--text-2); }
.card.premium { border-color: rgb(61 220 151 / .45); }

footer.site { margin-top: 56px; padding: 22px 0 40px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .9375rem; }
footer.site a { color: var(--text-2); }
footer.site .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }

header.site nav a[aria-current="page"] { color: var(--text); font-weight: 700; }
header.site .brand { white-space: nowrap; }
@media (max-width: 420px) {
  header.site .brand img { width: 30px; height: 30px; }
  header.site nav { gap: 12px; font-size: .875rem; }
}

.checks { list-style: none; padding: 0; margin: 18px 0; }
.checks li { position: relative; padding-left: 28px; color: var(--text-2); }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; margin: 22px 0; }
.stats li { margin: 0; padding: 14px 8px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--text-2); font-size: .875rem; line-height: 1.35; }
.stats b { display: block; color: var(--accent); font-size: 1.375rem; letter-spacing: -.02em; }

.sources { color: var(--text-2); font-size: .875rem; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin: 0 0 10px; }
details summary { cursor: pointer; padding: 14px 16px; font-weight: 700; }
details p { margin: 0; padding: 0 16px 14px; color: var(--text-2); }

figure.shot { margin: 22px 0; text-align: center; }
figure.shot img { width: min(100%, 320px); height: auto; border-radius: 22px; border: 1px solid var(--line); }
figure.shot figcaption { margin-top: 8px; color: var(--text-2); font-size: .875rem; }
.shots { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: .9375rem; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); }
th { color: var(--text-2); font-weight: 600; }

.audience { margin: -4px 0 6px; color: var(--text); font-weight: 700; font-size: 1.0625rem; }
.badge { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .8125rem; font-weight: 800; }
.card.premium { background: linear-gradient(180deg, rgb(61 220 151 / .08), var(--surface) 55%); border-width: 2px; }
