/* System That Converts — catalog site. Brand blue #0050A4 on white (default), dark variant follows the OS. Poppins. Mobile first. */
:root {
  --bg: #FFFFFF;
  --surface: #F5F7FB;
  --surface-2: #E9EEF6;
  --fg: #0B1220;
  --muted: #4A5568;
  --accent: #0050A4;         /* fills: buttons, bars, markers */
  --accent-text: #0050A4;    /* text on the page background */
  --accent-ink: #FFFFFF;     /* text on an accent fill */
  --line: #E2E8F0;
  --ok: #1E8C5B;
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #05070D; --surface: #0F1420; --surface-2: #161D2E; --fg: #F3F5F8; --muted: #B8C0CC;
    --accent: #0050A4; --accent-text: #5B9BF0; --accent-ink: #FFFFFF; --line: #262D3C; --ok: #4CC98A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #05070D; --surface: #0F1420; --surface-2: #161D2E; --fg: #F3F5F8; --muted: #B8C0CC;
  --accent: #0050A4; --accent-text: #5B9BF0; --accent-ink: #FFFFFF; --line: #262D3C; --ok: #4CC98A; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .toast { transition: none; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }

.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }

/* type */
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; margin: 0 0 10px; }
h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.12; margin: 0 0 18px; font-weight: 700; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.18; margin: 0 0 14px; font-weight: 700; text-wrap: balance; }
h3 { font-size: 19px; margin: 0 0 6px; font-weight: 600; line-height: 1.25; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 62ch; margin: 0 0 22px; }
.hint { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.mono { font-variant-numeric: tabular-nums; }

/* header */
.top { position: sticky; top: 0; z-index: 9; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.brand { font-weight: 700; text-decoration: none; font-size: 15px; letter-spacing: .02em; white-space: nowrap; color: var(--accent-text); }
.nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--fg); }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px;
  font: 600 15px/1 var(--font); padding: 14px 22px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { filter: brightness(1.12); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); filter: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* sections */
section { padding-block: 64px; }
.hero { padding-block: 72px 56px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 40px; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band-inner > div { min-width: 0; max-width: 60ch; }
.band-inner h2 { margin-bottom: 6px; }
.band-inner p { margin: 0; color: var(--muted); }
.band-end { padding-block: 64px; }
.band-end h2 { margin-bottom: 8px; }
.band-end p { color: var(--muted); max-width: 60ch; }

/* services grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card.is-start { border-color: var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface)); }
.card .num { font-size: 12px; letter-spacing: .12em; color: var(--accent-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.card .hook { color: var(--muted); margin: 0; }
.card h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 6px 0 4px; font-weight: 600; }
.card ul { margin: 0; padding-left: 18px; color: var(--fg); font-size: 15px; display: grid; gap: 4px; }
.card ul li::marker { color: var(--accent-text); }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.card .price { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
body[data-prices="off"] .price { display: none; }

/* how */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.steps .n { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.steps strong { display: block; margin-bottom: 2px; }
.steps span.t { color: var(--muted); font-size: 15px; }

/* proof */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; min-width: 0; }
.stat b { display: block; font-size: 34px; line-height: 1; color: var(--accent-text); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 14px; }

/* faq */
.faq { display: grid; gap: 8px; margin-top: 20px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.toggle input { accent-color: var(--accent); width: 18px; height: 18px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--fg); color: var(--bg); font: 600 13px/1 var(--font); padding: 10px 16px; border-radius: 999px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast[data-show="1"] { opacity: 1; }
