/* Decider — marketing site. Same flat black/white as the extension itself:
 * Gabarito, no gradients, no shadows, no glow. Tokens mirror popup.css so
 * the site and the product look like one thing. */

@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/gabarito-latin.woff2') format('woff2');
}

:root {
  --paper: #ffffff;
  --ink: #111111;
  --muted: #555555;
  --line: #111111;
  --track: #e4e4e4;
  --gap: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111111;
    --ink: #f5f5f5;
    --muted: #b3b3b3;
    --line: #f5f5f5;
    --track: #333333;
  }
}

* { box-sizing: border-box; }

/* Links inherit the palette — the browser's default blue is the one colour
 * this design does not have. */
a { color: var(--ink); }
a:hover { text-decoration: none; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Gabarito', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- header ---- */

header {
  border-bottom: 2px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 26px;
  height: 26px;
  display: block;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---- hero ---- */

.hero { padding: 56px 0 48px; }

h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 20px;
  margin: 0 0 28px;
  max-width: 34em;
}

.muted { color: var(--muted); }

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta {
  display: inline-block;
  padding: 13px 26px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--line);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

.cta:hover { opacity: 0.85; }

.cta-note { font-size: 15px; color: var(--muted); }

/* ---- sections ---- */

section { padding: 44px 0; border-top: 2px solid var(--line); }

h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--muted);
}

h3 {
  font-size: 20px;
  margin: 0 0 6px;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.card {
  border: 2px solid var(--line);
  padding: 20px;
}

.card p { margin: 0; color: var(--muted); font-size: 16px; }

.card .shows {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--track);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* ---- steps ---- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  counter-reset: step;
}

.step { counter-increment: step; }

.step h3::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  vertical-align: 2px;
}

.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---- pull quote / honesty block ---- */

.pull {
  border-left: 4px solid var(--line);
  padding-left: 20px;
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 18px;
  max-width: 24em;
}

/* ---- lists ---- */

.plain { margin: 0; padding: 0; list-style: none; }

.plain li {
  padding: 12px 0;
  border-bottom: 1px solid var(--track);
  font-size: 16px;
}

.plain li:last-child { border-bottom: 0; }

.plain strong { display: block; }

.plain span { color: var(--muted); }

/* ---- prose (privacy page) ---- */

.prose { padding: 40px 0 8px; }
.prose h1 { font-size: 34px; }
.prose h2 {
  font-size: 19px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  margin: 32px 0 8px;
}
.prose p, .prose li { color: var(--ink); font-size: 17px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.updated { color: var(--muted); font-size: 15px; }

/* ---- footer ---- */

footer {
  border-top: 2px solid var(--line);
  padding: 28px 0 40px;
  font-size: 15px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

footer a { color: var(--muted); }

/* ---- mobile ---- */

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 36px; }
  h1 { font-size: 32px; }
  .lede { font-size: 18px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .pull { font-size: 19px; }
  nav { gap: 14px; font-size: 14px; }
  .cta { width: 100%; text-align: center; }
  .cta-row { gap: 12px; }
}

@media (max-width: 400px) {
  nav a[data-optional] { display: none; }
}
