:root {
  color-scheme: light dark;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #14232b;
  --muted: #4b5b63;
  --line: #dcdad2;
  --accent: #0f766e;
  --accent-ink: #ffffff;
  --accent-soft: #e1f3f0;
  --ok: #0f6a31;
  --ok-soft: #e3f4e8;
  --warn: #8a4b00;
  --warn-soft: #fdf0d9;
  --danger: #b42318;
  --focus: #1d4ed8;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 35, 43, 0.06), 0 14px 36px rgba(20, 35, 43, 0.09);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a1f;
    --surface: #13252c;
    --ink: #e9f0f2;
    --muted: #a9bac1;
    --line: #25404a;
    --accent: #5fd3c4;
    --accent-ink: #06211e;
    --accent-soft: #12383a;
    --ok: #6fd58f;
    --ok-soft: #14331f;
    --warn: #f0b35a;
    --warn-soft: #3a2b10;
    --danger: #ff9a8f;
    --focus: #8ab4ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 36px rgba(0, 0, 0, 0.35);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }

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

.site-header { padding: 18px 0; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 650; }
.brand-name { white-space: nowrap; }
.mark { width: 34px; height: 34px; flex: none; }
.mark rect { fill: var(--accent); }
.mark path { fill: none; stroke: var(--accent-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.by { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 400; line-height: 1.2; }
.header-cta {
  white-space: nowrap;
  padding: 9px 18px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.header-cta:hover { background: var(--accent-soft); }
@media (max-width: 480px) { .header-cta { display: none; } }

.hero { display: grid; gap: 44px; align-items: center; padding: 28px 0 72px; }
@media (min-width: 920px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; gap: 72px; padding: 56px 0 96px; }
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 720;
  text-wrap: balance;
}

.nowrap { white-space: nowrap; }

.lead { margin: 0; max-width: 36rem; color: var(--muted); font-size: clamp(1.1rem, 2.2vw, 1.3rem); }

.signup {
  display: grid;
  gap: 16px;
  max-width: 34rem;
  margin-top: 30px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field label { display: block; margin-bottom: 6px; font-size: 0.95rem; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

input[type="email"], input[type="text"], select {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
}
input[type="email"]:hover, select:hover { border-color: var(--accent); }
input[aria-invalid="true"] { border-color: var(--danger); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 0.95rem; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }

.btn {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.65; cursor: progress; }
.btn-link { display: inline-grid; place-items: center; text-decoration: none; }

.status { min-height: 1.5em; margin: 0; font-weight: 600; }
.status:empty { min-height: 0; margin: -8px 0; }
.status.is-error { color: var(--danger); }
.status.is-success { color: var(--ok); }
.help { margin: 0; color: var(--muted); font-size: 0.9rem; }

.preview { margin: 0; }
.preview figcaption { margin-top: 12px; color: var(--muted); font-size: 0.85rem; text-align: center; }
.window { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.window-bar { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.window-body { padding: 22px; }
.window-title { margin: 0 0 6px; font-size: 1.15rem; font-weight: 650; }
.results { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.results li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 14px; }
.results li.ok { background: var(--ok-soft); }
.results li.warn { background: var(--warn-soft); }
.results strong { display: block; }
.results span { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.dot { flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; }
.ok .dot { background: var(--ok); }
.warn .dot { background: var(--warn); }
.results .fake-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1.5px solid var(--warn);
  border-radius: 999px;
  color: var(--warn);
  font-size: 0.875rem;
  font-weight: 600;
}

.section { padding: 56px 0; }
.section h2 { margin: 0 0 12px; font-size: clamp(1.65rem, 3.6vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.sub { max-width: 40rem; margin: 0 0 32px; color: var(--muted); }

.cards { display: grid; gap: 18px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.icon-wrap { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; background: var(--accent-soft); border-radius: 14px; }
.icon { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; gap: 26px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { position: relative; padding-left: 58px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 50%;
  font-weight: 700;
}
.steps strong { display: block; font-size: 1.1rem; }
.steps p { margin: 4px 0 0; color: var(--muted); }

.panel { padding: clamp(26px, 5vw, 48px); background: var(--accent-soft); border-radius: 26px; }
.panel h2 { margin-bottom: 10px; }
.panel p { max-width: 40rem; margin: 0; font-size: 1.15rem; }

.faq { max-width: 46rem; }
details { padding: 18px 0; border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0; color: var(--muted); }

.cta { text-align: center; }
.cta .sub { margin-inline: auto; }

.site-footer { padding: 28px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot p { margin: 0; }

.prose { max-width: 46rem; padding: 24px 0 72px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { margin: 36px 0 8px; font-size: 1.35rem; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 0 0 12px; }
.prose ul { padding-left: 1.2rem; }
.notice { margin: 0 0 24px; padding: 12px 16px; background: var(--warn-soft); color: var(--warn); border-radius: 12px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
