:root {
  --ink: #101114;
  --paper: #f7f7f5;
  --white: #ffffff;
  --green: #9bf02d;
  --green-strong: #70bd0e;
  --soft: #e8e9ed;
  --muted: #686b73;
  --danger: #b3261e;
  --max: 1040px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); }
body, button, input { font: inherit; }
[hidden] { display: none !important; }
h1, h2, p { margin-top: 0; }
button, summary, label { -webkit-tap-highlight-color: transparent; }

.hero {
  min-height: 100vh;
  padding: 42px 24px 76px;
  background:
    radial-gradient(circle at 50% 40%, rgba(155, 240, 45, .08), transparent 34%),
    #050505;
  color: var(--white);
  text-align: center;
}

.hero-inner { width: min(920px, 100%); margin: 0 auto; }
.brand-line, .step-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .15em;
}
.brand-line { margin-bottom: 30px; }
h1 {
  max-width: 980px;
  margin: 0 auto 22px;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
}
h1 em { color: var(--green); font-style: normal; }
.hero-copy {
  max-width: 760px;
  margin: 0 auto 34px;
  color: #a7a9ae;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}
.watch-label {
  max-width: 860px;
  padding: 10px 16px;
  margin: 0 auto;
  border-radius: 12px 12px 0 0;
  background: #24262a;
  color: #c6c8cc;
  font-size: 13px;
  font-weight: 750;
}
.watch-label span { color: var(--green); }
.video-frame {
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid #35383e;
  border-radius: 0 0 14px 14px;
  background: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 70px rgba(155, 240, 45, .08);
}
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; }
.caption-note { margin: 16px 0 24px; color: #878a91; font-size: 12px; }

.primary-button, .next-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: #10120d;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(155, 240, 45, .18);
  transition: transform .15s ease, background .15s ease;
}
.primary-button:hover, .next-button:hover { transform: translateY(-2px); background: #a9ff3b; }
.primary-button:disabled { cursor: wait; opacity: .65; transform: none; }
.open-application { min-width: min(380px, 100%); }
.microcopy { margin: 12px 0 0; color: #777a80; font-size: 12px; }

.minimal-tail { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 90px 0 100px; }
.offer-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offer-points p { min-height: 190px; padding: 24px; border: 1px solid #d7d8dc; border-radius: 14px; background: var(--white); }
.offer-points strong { display: block; margin-bottom: 42px; font-size: 19px; letter-spacing: -.02em; }
.offer-points span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.guarantee-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; max-width: 860px; padding: 34px; margin: 56px auto 0; border-radius: 16px; background: var(--ink); color: var(--white); }
.guarantee-number { display: grid; width: 86px; height: 86px; place-items: center; border-radius: 50%; background: var(--green); color: var(--ink); font-size: 37px; font-weight: 900; }
.guarantee-card h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.045em; }
.guarantee-card p { color: #c3c5ca; line-height: 1.6; }
.guarantee-card details { border-top: 1px solid #36383e; padding-top: 16px; }
.guarantee-card summary { color: var(--green); font-weight: 800; cursor: pointer; }
.guarantee-card details p { margin: 14px 0 0; font-size: 13px; }

.booking, .confirmation { padding: 88px 24px; border-top: 1px solid #d8d9dd; background: var(--white); }
.booking-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; width: min(var(--max), 100%); margin: 0 auto; }
.booking h2, .confirmation h2 { margin: 14px 0 18px; font-size: clamp(38px, 5vw, 60px); line-height: .98; letter-spacing: -.05em; }
.booking-inner > div > p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.booking-form fieldset { padding: 0; margin: 0 0 24px; border: 0; }
.booking-form legend { margin-bottom: 14px; font-size: 13px; font-weight: 850; }
.slot-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.slot span { display: block; padding: 14px; border: 1px solid #c7c9cf; border-radius: 9px; background: var(--paper); font-size: 13px; font-weight: 700; }
.slot input:checked + span { border-color: var(--ink); background: var(--green); box-shadow: inset 0 0 0 1px var(--ink); }
.form-status { min-height: 20px; margin-top: 12px; color: var(--danger); font-size: 13px; font-weight: 700; }

.confirmation { text-align: center; }
.confirmation-inner { width: min(760px, 100%); margin: 0 auto; }
.confirmation-check { display: grid; width: 70px; height: 70px; margin: 0 auto; place-items: center; border-radius: 50%; background: var(--green); font-size: 34px; font-weight: 900; }
.email-preview { padding: 24px; margin-top: 28px; border: 1px solid #d4d5d9; border-radius: 12px; background: var(--paper); text-align: left; }
.email-preview span { display: block; margin-bottom: 6px; color: var(--green-strong); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.email-preview strong { font-size: 18px; }
.email-preview pre { overflow: auto; white-space: pre-wrap; font: 13px/1.55 inherit; color: var(--muted); }

footer { display: flex; justify-content: space-between; gap: 50px; padding: 32px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid #d8d9dd; color: var(--muted); font-size: 12px; }
footer strong { color: var(--ink); white-space: nowrap; }
footer p { max-width: 680px; margin-bottom: 0; }

dialog {
  width: min(600px, calc(100% - 30px));
  max-height: min(780px, calc(100vh - 30px));
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 100px rgba(0, 0, 0, .38);
}
dialog::backdrop { background: rgba(4, 5, 6, .78); backdrop-filter: blur(5px); }
.dialog-shell { position: relative; padding: 32px 34px 30px; }
.dialog-close { position: absolute; top: 16px; right: 18px; padding: 6px 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.dialog-close span { margin-left: 5px; font-size: 20px; vertical-align: -2px; }
.dialog-heading { padding-right: 100px; }
.dialog-heading h2 { margin: 10px 0 5px; font-size: 31px; line-height: 1; letter-spacing: -.04em; }
.dialog-heading p { margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.progress-track { overflow: hidden; width: 100%; height: 5px; border-radius: 999px; background: var(--soft); }
.progress-track span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: var(--green); transition: width .2s ease; }
#lead-form { margin-top: 28px; }
.survey-step { padding: 0; margin: 0; border: 0; }
.survey-step legend { width: 100%; margin-bottom: 20px; font-size: 25px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-grid span { display: flex; min-height: 52px; align-items: center; padding: 11px 13px; border: 1px solid #d2d4d9; border-radius: 8px; background: var(--paper); font-size: 13px; font-weight: 700; }
.choice-grid input:checked + span { border-color: var(--ink); background: var(--green); box-shadow: inset 0 0 0 1px var(--ink); }
.field-error { display: block; min-height: 18px; margin-top: 8px; color: var(--danger); font-size: 12px; font-weight: 750; }
.next-button { width: 100%; margin-top: 12px; }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; }
.back-button { min-height: 48px; padding: 0 12px; border: 0; background: transparent; color: var(--muted); font-weight: 750; cursor: pointer; }
.step-actions .next-button, .step-actions .primary-button { flex: 1; margin-top: 0; }
.email-field { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
#email { width: 100%; height: 54px; padding: 0 14px; border: 1px solid #b8bbc2; border-radius: 8px; }
.consent-row { display: flex; gap: 9px; align-items: flex-start; margin-top: 8px; color: #4d5057; font-size: 12px; line-height: 1.45; }
.consent-row input { width: 18px; height: 18px; flex: 0 0 auto; }
.privacy-note { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: center; }

button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--green-strong); outline-offset: 3px; }

@media (max-width: 760px) {
  .hero { padding: 26px 14px 56px; }
  .brand-line { margin-bottom: 22px; }
  h1 { font-size: clamp(42px, 13vw, 63px); }
  .hero-copy { font-size: 17px; }
  .offer-points, .booking-inner { grid-template-columns: 1fr; }
  .offer-points p { min-height: auto; }
  .offer-points strong { margin-bottom: 22px; }
  .guarantee-card { grid-template-columns: 1fr; padding: 26px; }
  .slot-list { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 8px; }
}

@media (max-width: 520px) {
  .minimal-tail { width: min(100% - 28px, var(--max)); padding-block: 64px; }
  .dialog-shell { padding: 28px 20px 22px; }
  .dialog-heading { padding-right: 70px; }
  .dialog-heading h2 { font-size: 26px; }
  .survey-step legend { font-size: 22px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-grid span { min-height: 46px; }
}

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