/* site/style.css — shared by index.html and privacy.html */
/* Same tokens as the extension, so the page and the product look related. */
:root {
  --surface:      oklch(0.985 0.004 285);
  --raised:       oklch(1 0 0);
  --sunk:         oklch(0.965 0.006 285);
  --border:       oklch(0 0 0 / 0.10);
  --text:         oklch(0.22 0.02 285);
  --muted:        oklch(0.45 0.02 285);
  --accent:       oklch(0.50 0.17 295);
  --accent-quiet: oklch(0.50 0.17 295 / 0.09);
  --warn:         oklch(0.52 0.13 75);
  --radius:       14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface:      oklch(0.15 0.008 285);
    --raised:       oklch(0.19 0.010 285);
    --sunk:         oklch(0.13 0.008 285);
    --border:       oklch(1 0 0 / 0.11);
    --text:         oklch(0.97 0.005 285);
    --muted:        oklch(0.68 0.010 285);
    --accent:       oklch(0.74 0.15 295);
    --accent-quiet: oklch(0.74 0.15 295 / 0.14);
    --warn:         oklch(0.80 0.13 75);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--sunk);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 5px;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
section { padding: 76px 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; }

h1, h2, h3 { letter-spacing: -0.028em; line-height: 1.12; margin: 0; font-weight: 600; }
h1 { font-size: clamp(34px, 5.4vw, 56px); }
h2 { font-size: clamp(25px, 3.4vw, 34px); margin-bottom: 14px; }
h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 6px; }
p { margin: 0 0 16px; }
.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* Header */
header { padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }

/* Hero */
.hero { padding-top: 44px; }
.hero h1 { max-width: 16ch; margin-bottom: 20px; }
.hero .lede { margin-bottom: 30px; }
.cta { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: oklch(0.99 0 0);
  text-decoration: none;
  font-weight: 550;
  padding: 12px 22px;
  border-radius: 10px;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), filter 140ms;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-quiet {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.note { font-size: 14.5px; color: var(--muted); margin: 0; }

.shot {
  margin-top: 42px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 26px 60px oklch(0.3 0.06 285 / 0.13);
  background: var(--raised);
}

/* Before / after. Labels live here rather than inside the images, so they stay
   legible at any width and stack on a phone instead of shrinking. */
.compare {
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}
.compare figcaption {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.compare-after figcaption { color: var(--accent); }
.compare .shot { margin-top: 0; }
.compare-after .shot { border-color: var(--accent); }
.compare-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 74ch;
}
/* The popup is a narrow surface; full width would blow it up out of scale. */
.shot-popup { max-width: 360px; margin-inline: auto; }

/* Cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  background: var(--raised);
}
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.split { display: grid; gap: 44px; grid-template-columns: 1fr 1fr; align-items: center; }
.split .shot { margin-top: 0; }

ul.plain { margin: 0 0 16px; padding-left: 20px; }
ul.plain li { margin-bottom: 8px; }

/* The honest section — visually distinct on purpose. */
.honest {
  border: 1px solid var(--warn);
  background: color-mix(in oklch, var(--warn) 8%, transparent);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.honest h2 { margin-bottom: 12px; }

footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 56px;
  color: var(--muted);
  font-size: 15px;
}
footer a { color: var(--muted); }

@media (max-width: 780px) {
  .grid, .split, .compare { grid-template-columns: 1fr; }
  section { padding: 54px 0; }
}
