/* Mirrors src/styles/tokens.css so the site and the extension read as one product. */
:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-sunken: #f4f7f6;
  --border: #e2e7e5;
  --border-strong: #ccd4d1;

  --fg: #12171a;
  --fg-muted: #566460;
  --fg-subtle: #8b9a95;

  --accent: #0e6a52;
  --accent-fg: #ffffff;
  --accent-soft: rgba(14, 106, 82, 0.08);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-lift: 0 24px 60px -20px rgba(9, 40, 31, 0.28);

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;

  /* Two widths on purpose: layout is wide, running prose is not. Legal text set to
     1100px would be miserable to read, so those pages keep a sane measure inside the
     same wide shell. */
  --wide: 1180px;
  --measure: 46rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1011;
    --surface: #151a1b;
    --surface-sunken: #111516;
    --border: #232b29;
    --border-strong: #35403c;

    --fg: #eaefed;
    --fg-muted: #9aa8a3;
    --fg-subtle: #6d7a76;

    --accent: #4ec49a;
    --accent-fg: #04241a;
    --accent-soft: rgba(78, 196, 154, 0.12);

    --shadow-lift: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* --- layout shells ------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 32px;
}

/* Full-bleed horizontal bands give the page its width; alternating tones do the
   sectioning instead of rules or gaps. */
.band {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.band--alt {
  background: var(--surface-sunken);
}

.band--hero {
  padding: 72px 0 96px;
  border-top: none;
}

.prose {
  max-width: var(--measure);
}

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

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
}

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

.brand .glyph {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-fg);
}

.brand .glyph svg {
  width: 18px;
  height: 18px;
}

header.site nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14.5px;
}

header.site nav a {
  color: var(--fg-muted);
  text-decoration: none;
}

header.site nav a:hover {
  color: var(--fg);
}

header.site nav a.button {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
}

@media (max-width: 640px) {
  header.site nav a:not(.button) {
    display: none;
  }
}

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

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 18px 0 18px;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 32rem;
  margin: 0;
}

.hero-shot {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 400px;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.hero-shot img.dark-only {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .hero-shot img.light-only {
    display: none;
  }
  .hero-shot img.dark-only {
    display: block;
  }
}

/* --- type ---------------------------------------------------------------- */

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.section-lede {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 38rem;
  margin: 0 0 34px;
}

.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 640;
  letter-spacing: 0.01em;
}

.meta {
  color: var(--fg-subtle);
  font-size: 13.5px;
}

/* --- buttons ------------------------------------------------------------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 630;
  text-decoration: none;
}

.cta.secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}

/* --- grids --------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
  gap: 18px 44px;
}

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

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

.card .num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

/* --- table --------------------------------------------------------------- */

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

thead th {
  color: var(--fg-muted);
  font-weight: 620;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tbody td:first-child {
  color: var(--fg-muted);
}

/* --- pricing ------------------------------------------------------------- */

.price-card {
  max-width: 30rem;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  text-align: center;
}

.price-card .amount {
  font-size: 3.4rem;
  font-weight: 690;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-card ul {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  text-align: left;
  color: var(--fg-muted);
  font-size: 15.5px;
}

.price-card li {
  padding: 7px 0 7px 27px;
  position: relative;
}

.price-card li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 15px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.price-card .cta {
  width: 100%;
  justify-content: center;
}

/* --- misc ---------------------------------------------------------------- */

.faq h3 {
  margin-top: 0;
}

.faq p {
  margin: 0 0 4px;
  color: var(--fg-muted);
  font-size: 15.5px;
}

.callout {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-soft);
  font-size: 15.5px;
}

code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9em;
}

.key-display {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.key-display input {
  flex: 1;
  min-width: 260px;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14.5px;
}

.key-display button {
  padding: 13px 22px;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-fg);
  font: inherit;
  font-weight: 630;
  cursor: pointer;
}

ol.steps {
  padding-left: 22px;
}

ol.steps li {
  margin-bottom: 10px;
}

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

footer.site {
  padding: 40px 0 64px;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 14.5px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: auto;
}

@media (max-width: 640px) {
  .band {
    padding: 60px 0;
  }
  .wrap {
    padding: 0 22px;
  }
}
