:root {
  --black: #0b0b0b;
  --ink: #151515;
  --white: #ffffff;
  --yellow: #ffd500;
  --muted: #696969;
  --line: #d9d9d9;
  --error: #bd2424;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--black);
  font-family: "Noto Sans Georgian", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: -5rem;
  left: 1rem;
  padding: .7rem 1rem;
  border-radius: .5rem;
  color: var(--black);
  background: var(--yellow);
}

.skip-link:focus { top: 1rem; }

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

.funnel {
  width: min(100%, 48rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 5.5rem) 1.25rem 2.5rem;
}

.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  width: 100%;
  margin: 0 auto .9rem;
  color: #a9a9a9;
  font-size: clamp(.75rem, 2.7vw, .82rem);
  line-height: 1.25;
  white-space: nowrap;
}

.rating-stars {
  color: var(--yellow);
  font-size: .95rem;
  letter-spacing: .02em;
}

.social-proof strong {
  color: var(--white);
  font-weight: 900;
}

.verified-badge {
  display: inline-grid;
  place-items: center;
  width: .9rem;
  height: .9rem;
  flex: 0 0 .9rem;
  border-radius: 50%;
  color: var(--white);
  background: #1684ff;
  font-size: .6rem;
  font-weight: 900;
}

h1 {
  max-width: 18ch;
  margin: 0 auto clamp(2rem, 7vw, 3.5rem);
  text-align: center;
  font-size: clamp(2.15rem, 7.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.05em;
}

h1 span { color: var(--yellow); }

.demo { margin: 0 auto clamp(1.25rem, 5vw, 2rem); }

.video-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #303030;
  border-radius: clamp(1rem, 4vw, 1.6rem);
  background: #151515;
}

.lead-form,
.form-success {
  width: 100%;
  padding: clamp(1.35rem, 5vw, 2rem);
  border-radius: clamp(1.4rem, 6vw, 2rem);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.lead-form h2,
.form-success h2 {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -.025em;
}

.lead-form > input,
.phone-field {
  width: 100%;
  min-height: 3.85rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  color: var(--ink);
  background: #fbfbfb;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.lead-form > input { padding: .9rem 1rem; }
.lead-form input::placeholder { color: #777; }

.lead-form > input:focus,
.phone-field:focus-within {
  border-color: #8a7500;
  box-shadow: 0 0 0 4px rgba(255, 213, 0, .22);
}

.lead-form input[aria-invalid="true"] { border-color: var(--error); }

.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  overflow: hidden;
}

.phone-field > span {
  padding: 0 .9rem;
  border-right: 1px solid var(--line);
  color: #3b3b3b;
  font-weight: 700;
}

.phone-field input {
  width: 100%;
  min-width: 0;
  min-height: 3.75rem;
  padding: .9rem 1rem;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: none;
}

.field-error {
  display: block;
  min-height: 1.2rem;
  margin: .15rem 0 .25rem;
  color: var(--error);
  font-size: .76rem;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  align-items: start;
  margin-top: .15rem;
  color: #555;
  font-size: .78rem;
  line-height: 1.45;
  cursor: pointer;
}

.consent-row input {
  width: 1.15rem;
  height: 1.15rem;
  margin: .08rem 0 0;
  accent-color: var(--black);
}

.submit-button {
  width: 100%;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  margin-top: .3rem;
  padding: .85rem 1.15rem;
  border: 0;
  border-radius: .85rem;
  color: var(--black);
  background: var(--yellow);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255, 213, 0, .25);
  transition: transform .18s ease, background .18s ease;
}

.submit-button:hover { background: #ffe13a; }
.submit-button:active { transform: translateY(1px); }
.submit-button:disabled { opacity: .7; cursor: wait; }

.submit-button:focus-visible,
.lead-form input:focus-visible {
  outline: 3px solid #1684ff;
  outline-offset: 3px;
}

.form-trust {
  margin: .85rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
}

.form-success {
  padding-block: clamp(2.6rem, 10vw, 4.5rem);
  text-align: center;
}

.form-success[hidden] { display: none; }

.success-icon {
  width: 4rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
  font-size: 1.5rem;
  font-weight: 900;
}

.form-success p {
  max-width: 28rem;
  margin: 0 auto;
  color: var(--muted);
}

.letter-section {
  margin-top: clamp(3.5rem, 10vw, 6rem);
  padding: clamp(1.6rem, 6vw, 3rem);
  border-radius: clamp(1.4rem, 5vw, 2rem);
  color: var(--ink);
  background: #f3f3f3;
}

.updated-label {
  width: fit-content;
  margin: 0 0 clamp(2.8rem, 8vw, 4.5rem);
  padding: 0 0 .65rem;
  border-bottom: 3px solid var(--yellow);
  font-size: clamp(.92rem, 2.8vw, 1rem);
  font-weight: 900;
  line-height: 1.35;
}

.letter-copy {
  max-width: 39rem;
}

.letter-copy p {
  margin: 0 0 clamp(1.85rem, 5.2vw, 2.7rem);
  font-size: clamp(1.08rem, 3.5vw, 1.34rem);
  line-height: 1.62;
  letter-spacing: -.018em;
}

.letter-copy strong {
  font-weight: 900;
}

.letter-ending {
  margin-bottom: 0 !important;
  font-size: clamp(1.3rem, 4.3vw, 1.7rem) !important;
  line-height: 1.45 !important;
}

.closing-form {
  margin-top: clamp(1.25rem, 5vw, 2rem);
}

@media (max-width: 420px) {
  .funnel { padding: 2rem .9rem 1.5rem; }
  h1 { margin-bottom: 1.65rem; font-size: clamp(2rem, 10.2vw, 2.65rem); }
  .demo { margin-bottom: 1rem; }
  .lead-form, .form-success { padding: 1.25rem 1rem 1.15rem; }
  .lead-form > input, .phone-field { min-height: 3.65rem; }
  .phone-field input { min-height: 3.55rem; }
  .letter-section { margin-top: 3rem; padding: 1.4rem 1.1rem 1.65rem; }
  .updated-label { margin-bottom: 2.75rem; }
}

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