:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --text: #1f1b16;
  --muted: #5a5249;
  --border: #e4dcd0;
  --accent: #a8431c;
  --on-accent: #ffffff;
  --focus: #1d4ed8;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16130f;
    --surface: #211d18;
    --text: #f3ede4;
    --muted: #bdb3a6;
    --border: #3a332b;
    --accent: #f08a5d;
    --on-accent: #1a0f08;
    --focus: #93c5fd;
  }
}

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

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
}
.skip-link:focus { top: 8px; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

header.site {
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.1rem;
}

section { padding: 56px 0; border-top: 1px solid var(--border); }
section.hero { border-top: 0; padding-top: 24px; }

h1 { font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; margin: 0 0 16px; }
h3 { font-size: 1.15rem; margin: 0 0 6px; }
.lead { font-size: 1.25rem; color: var(--muted); margin: 0 0 28px; }
.muted { color: var(--muted); }

.demo {
  aspect-ratio: 16 / 9;
  max-width: 960px;
  margin: 32px auto 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.demo.vertical { aspect-ratio: 9 / 16; max-width: 320px; }
.demo video { width: 100%; height: 100%; display: block; object-fit: cover; }

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
}
.button[aria-disabled="true"], .button:disabled { opacity: 0.55; cursor: not-allowed; }

.steps, .cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; margin: 0; list-style: none; }
.steps li, .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.steps .num { font-weight: 700; color: var(--accent); }
.example { font-style: italic; color: var(--muted); margin: 8px 0 0; }

.offer {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 28px 20px;
}
.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}
.price { font-size: 2.5rem; font-weight: 800; margin: 0; }
.offer ul { padding-left: 1.2em; }

form.notify { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
form.notify input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid var(--muted);
  background: var(--bg);
  color: var(--text);
}
form.notify input:disabled { opacity: 0.6; }


footer.site { padding: 32px 0 48px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }

.legal h2 { font-size: 1.25rem; margin-top: 32px; }
.legal section { border: 0; padding: 0; }
.price-note { font-size: 1rem; font-weight: 400; color: var(--muted); }
.field-label { flex-basis: 100%; color: var(--muted); }
