:root {
  --bg: #0e1116;
  --bg-alt: #151a22;
  --card: #1b212b;
  --border: #2a323f;
  --text: #e8ecf1;
  --muted: #9aa6b6;
  --accent: #3ddc84;
  --accent-dark: #23b869;
  --accent-ink: #06210f;
  --warn: #ffb454;
  --radius: 14px;
  --maxw: 1080px;
  --narrow: 680px;
}

* { box-sizing: border-box; }

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

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: var(--narrow); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: clamp(28px, 6vw, 44px); font-weight: 700; }
h1 span { color: var(--accent); display: inline-block; }
h2 { font-size: clamp(23px, 4.5vw, 31px); font-weight: 650; margin-bottom: 18px; }
h3 { font-size: 18px; font-weight: 650; margin-bottom: 6px; }
p { margin: 0 0 16px; }
a { color: var(--accent); }
strong { color: #fff; font-weight: 650; }
em { color: var(--text); font-style: italic; }

/* Hero */
.hero {
  padding: 56px 0 52px;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(61,220,132,0.13), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 22px;
}
.lead { font-size: clamp(17px, 2.4vw, 19px); color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.lead strong { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary[disabled] { opacity: .55; cursor: not-allowed; }
.btn-block { display: block; width: 100%; }

.microcopy { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* Sections */
.section { padding: 52px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sub { color: var(--muted); font-size: 15.5px; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 26px 52px;
  border-left: 2px solid var(--border);
  margin-left: 15px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: -16px;
  top: -2px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px; font-weight: 700;
  display: grid; place-items: center;
}
.steps p { color: var(--muted); margin: 0; font-size: 16px; }

/* Honest block */
.honest {
  border-left: 3px solid var(--warn);
  background: rgba(255,180,84,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px 6px;
}
.honest p { color: var(--muted); font-size: 16px; }

/* Checklist */
.check { list-style: none; padding: 0; margin: 0 0 18px; }
.check li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 16px;
}
.check li:last-child { border-bottom: 0; }
.check li::before {
  content: "";
  position: absolute; left: 4px; top: 17px;
  width: 13px; height: 7px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* Card + form */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 38px);
}
.card > p { color: var(--muted); }

form { margin-top: 26px; }
label { display: block; font-size: 14.5px; font-weight: 600; margin: 0 0 7px; }
label .opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email] {
  width: 100%;
  padding: 14px 16px;
  margin: 0 0 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}
input[type=text]:focus, input[type=email]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61,220,132,0.16);
}
input.invalid { border-color: #ff6b6b; }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
  cursor: pointer;
}
.consent input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }

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

.formstate { font-size: 15px; margin: 14px 0 0; min-height: 1px; }
.formstate.err { color: #ff8a8a; }
.formstate.ok { color: var(--accent); }

/* Details */
details {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
summary {
  cursor: pointer;
  padding: 15px 0;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute; right: 4px; top: 13px;
  font-size: 22px; font-weight: 400; color: var(--accent);
}
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); font-size: 16px; padding: 0 0 6px; margin: 0 0 10px; }

/* Footer */
.footer { padding: 38px 0 46px; border-top: 1px solid var(--border); background: var(--bg-alt); }
.ad-note { font-size: 14px; color: var(--muted); }
.small { font-size: 13px; color: #7c8798; line-height: 1.6; }
.small a { color: #9aa6b6; }

/* Confirmation pages */
.centered { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.centered .icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(61,220,132,0.14);
  border: 1px solid rgba(61,220,132,0.4);
  display: grid; place-items: center;
  margin: 0 auto 22px;
  font-size: 27px;
}
.spinner {
  width: 34px; height: 34px; margin: 22px auto 0;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

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