:root {
  --bg: #0b0a12;
  --surface: #15131f;
  --surface-2: #1d1a2b;
  --line: #2d2940;
  --text: #f3f1fa;
  --muted: #a9a5bb;
  --violet: #a78bfa;
  --violet-strong: #6344f5;
  --cyan: #18ccfc;
  --amber-bg: #2c2312;
  --amber-line: #66501f;
  --amber-text: #f4d58d;
  --page: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.top, .bottom, main { margin-inline: auto; max-width: var(--page); padding-inline: 24px; }

.top { align-items: center; display: flex; justify-content: space-between; padding-block: 24px; }
.brand { align-items: center; display: flex; font-weight: 650; gap: 10px; text-decoration: none; }
.brand em { color: var(--violet); font-style: normal; }
.mark { align-items: center; background: var(--violet-strong); border-radius: 8px; color: #fff; display: flex; font-weight: 750; height: 30px; justify-content: center; width: 30px; }
.top-link { color: var(--muted); text-decoration: none; }
.top-link:hover { color: var(--text); }

.hero {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  padding-block: 48px 88px;
}
h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 720; letter-spacing: -0.025em; line-height: 1.06; margin: 0 0 22px; text-wrap: balance; }
.lead { color: var(--muted); font-size: clamp(18px, 2vw, 20px); margin: 0 0 32px; max-width: 34em; }

.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.button {
  align-items: center;
  background: var(--violet-strong);
  border-radius: 11px;
  color: #fff;
  display: inline-flex;
  font-weight: 650;
  gap: 10px;
  padding: 14px 24px;
  text-decoration: none;
  transition: background 0.15s;
}
.button:hover { background: #7458ff; }
.button[aria-disabled="true"] { background: var(--surface-2); color: var(--muted); pointer-events: none; }
.cta-note { color: var(--muted); font-size: 14px; margin: 0; }

.preview { min-height: 500px; position: relative; }
.window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.45);
  max-width: 400px;
  overflow: hidden;
}
.window-bar { border-bottom: 1px solid var(--line); display: flex; gap: 6px; padding: 12px 14px; }
.window-bar i { background: var(--line); border-radius: 50%; height: 10px; width: 10px; }
.window-body { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 44px; }
.window-body small { color: var(--muted); font-size: 13px; }
.window-title { font-size: 20px; }
.sample-code {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  margin-block: 10px;
  padding: 16px 8px;
  text-align: center;
  white-space: nowrap;
}
.consent {
  background: var(--surface-2);
  border: 1px solid var(--violet);
  border-radius: 14px;
  bottom: 0;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
  padding: 18px;
  position: absolute;
  right: 0;
  width: 85%;
}
.consent small { color: var(--muted); font-size: 13px; line-height: 1.4; margin-bottom: 4px; }
.choice { background: var(--violet-strong); border-radius: 7px; font-size: 13px; font-weight: 600; padding: 7px; text-align: center; }
.choice + .choice { background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.choice.quiet { color: var(--muted); }

.section { border-top: 1px solid var(--line); padding-block: 72px; }
h2 { font-size: clamp(27px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 32px; }
h3 { font-size: 18px; font-weight: 650; margin: 0 0 8px; }
.section p { margin: 0; }
.section li p, .rights dd, .section-intro { color: var(--muted); }

.steps { counter-reset: step; display: grid; gap: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; }
.steps li::before { color: var(--cyan); content: "0" counter(step); display: block; font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 650; margin-bottom: 14px; }
.steps strong { color: var(--text); }

.split { display: grid; gap: 56px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.split h2 { margin-bottom: 16px; }
.rights { display: flex; flex-direction: column; margin: 0; }
.rights > div { border-top: 1px solid var(--line); padding-block: 18px; }
.rights > div:first-child { border-top: 0; padding-top: 0; }
.rights dt { font-weight: 650; margin-bottom: 4px; }
.rights dd { margin: 0; }

.trust-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0 0 24px; padding: 0; }
.trust-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.warning { background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 12px; color: var(--amber-text); padding: 16px 20px; }

.faq details { border-top: 1px solid var(--line); max-width: 800px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding-block: 18px; }
.faq details p { color: var(--muted); padding-bottom: 18px; }
.faq details strong { color: var(--text); }

.bottom { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 14px; gap: 8px 24px; padding-block: 12px 40px; }
.bottom span { margin-right: auto; }
.bottom a { text-decoration: none; }
.bottom a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero { gap: 44px; grid-template-columns: minmax(0, 1fr); padding-block: 24px 64px; }
  .steps, .split, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 32px; }
  .split { gap: 28px; }
  .section { padding-block: 56px; }
}

@media (max-width: 480px) {
  .top, .bottom, main { padding-inline: 16px; }
  .button { justify-content: center; width: 100%; }
  .cta { align-items: stretch; }
  .preview { min-height: 530px; }
  .consent { width: 92%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
