/* Landing site styles. Single stylesheet, no framework, no webfont request —
   the page should render in one round trip. */

/* Light only, deliberately. Every other public-facing asset is light — the OG card, the
   store screenshots, the promo tiles (see scripts/screenshots.mjs) — so following the OS
   into dark meant a visitor on a dark desktop got a light preview card and then landed on a
   dark page. The extension UI still honours system/light/dark; that choice belongs to
   software someone uses all day, not to a one-visit landing page. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --surface: #ffffff;
  --border: #e1e6ed;
  --text: #10151c;
  --text-dim: #56606f;
  --accent: #1f5fd0;
  --accent-text: #ffffff;
  --accent-soft: #e9f0fd;
  --ok: #0f7b3f;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 960px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 6vw, 52px); }
h2 { font-size: clamp(24px, 4vw, 34px); margin-top: 8px; }
h3 { font-size: 19px; }
p { margin: 0 0 16px; }
a { color: var(--accent); }

header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  z-index: 10;
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 62px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--text); }
.brand img { width: 26px; height: 26px; }
.spacer { flex: 1; }
header.site nav a { color: var(--text-dim); text-decoration: none; margin-left: 20px; font-size: 15px; font-weight: 550; }
header.site nav a:hover { color: var(--text); }

.hero { padding: 72px 0 56px; text-align: center; }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--text-dim); max-width: 620px; margin: 0 auto 28px; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 650;
  font-size: 17px;
  padding: 14px 26px;
  border-radius: 999px;
}
.cta:hover { filter: brightness(1.08); }
.cta-note { display: block; margin-top: 14px; font-size: 14px; color: var(--text-dim); }

.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.badge {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

section { padding: 56px 0; }
section.alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card p:last-child { margin: 0; }
.card .icon { font-size: 22px; }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
ol.steps li { display: flex; gap: 16px; align-items: flex-start; }
ol.steps li::before {
  counter-increment: s;
  content: counter(s);
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 15px;
}

dl.faq { margin: 0; }
dl.faq dt { font-weight: 650; margin-top: 22px; font-size: 17px; }
dl.faq dd { margin: 6px 0 0; color: var(--text-dim); }

.hire { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--surface); }

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-dim);
  font-size: 14px;
}
footer.site .wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
footer.site a { color: var(--text-dim); }

.prose { max-width: 720px; }
.prose h2 { margin-top: 36px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

.tag-ok { color: var(--ok); font-weight: 650; }

@media (max-width: 640px) {
  header.site nav a { margin-left: 14px; font-size: 14px; }
  .hero { padding: 48px 0 40px; }
}
