/* AdsKicker website. Same colors as the extension, light and dark. */
:root {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --ink: #0f1c20;
  --muted: #56676b;
  --line: #dce5e2;
  --accent: #0b7560;
  --accent-hover: #095f4e;
  --accent-ink: #ffffff;
  --accent-soft: #e2f1ec;
  --shadow: 0 24px 60px rgba(15, 28, 32, 0.16);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1417;
    --surface: #121d21;
    --ink: #e6f0ed;
    --muted: #93a6a2;
    --line: #22323a;
    --accent: #3fc3a2;
    --accent-hover: #63d3b6;
    --accent-ink: #0c1417;
    --accent-soft: #15302b;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

code,
kbd {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font: 0.86em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}

kbd { border-bottom-width: 2px; }

.wrap {
  width: min(1040px, 100% - 40px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
}

.skip:focus { left: 8px; }

/* Header and footer */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header .bar { min-height: 68px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover { color: var(--ink); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

nav a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

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

.site-footer {
  margin-top: 40px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

/* Text */
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.4rem);
  font-weight: 780;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 750;
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 34em;
}

.section-lede {
  margin-top: 14px;
  color: var(--muted);
  max-width: 40em;
}

/* Buttons */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 32px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.link-arrow {
  font-weight: 650;
  text-decoration: none;
}

.link-arrow::after { content: " \2192"; }

.meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 56px;
  padding: 56px 0 88px;
}

.hero-shot,
.shot { margin: 0; }

.hero-shot img {
  display: block;
  width: 300px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* Sections */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

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

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.shot img {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.shot figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.points li:first-child { border-top: 0; }

.points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.points strong { color: var(--ink); }

.panel {
  padding: 40px;
  border-radius: 20px;
  background: var(--accent-soft);
}

.panel p {
  margin: 14px 0 18px;
  max-width: 44em;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  transform: translateY(-1px);
}

.plain {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  max-width: 44em;
}

.plain li + li { margin-top: 10px; }

/* Privacy policy and other text pages */
.prose {
  width: min(720px, 100% - 40px);
  margin: 0 auto;
  padding: 48px 0 32px;
}

.prose h1 { font-size: clamp(2rem, 4.6vw, 2.6rem); }

.prose .updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.prose h2 {
  margin: 44px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.prose p,
.prose ul { margin: 12px 0; }

.prose ul { padding-left: 22px; }

.prose li + li { margin-top: 8px; }

.summary {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--accent-soft);
}

.not-found {
  padding: 120px 0;
  text-align: center;
}

.not-found p {
  margin: 16px 0 28px;
  color: var(--muted);
}

/* Narrow screens */
@media (max-width: 820px) {
  .hero,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero { padding: 32px 0 64px; }
  .hero-shot { justify-self: center; }
  .section { padding: 56px 0; }
  .panel { padding: 28px 24px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap,
  .prose { width: min(1040px, 100% - 32px); }
  .site-header .bar { min-height: 60px; }
  nav { gap: 6px 16px; }
  .brand { font-size: 17px; }
}
