:root {
  --blue: #0077ff;
  --navy: #0b2447;
  --muted: #66758f;
  --soft: #f6f9ff;
  --line: #dce6f4;
  --white: #fff;
  --green: #20bd67;
  --shadow: 0 24px 70px rgba(11, 36, 71, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--soft);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.page {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 14%, rgba(0,119,255,.10), transparent 23rem),
    radial-gradient(circle at 8% 78%, rgba(0,119,255,.07), transparent 22rem),
    var(--soft);
}
.topbar { height: 104px; display: flex; align-items: center; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(220,230,244,.75); }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.brand img { display: block; width: 185px; height: auto; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .82fr); grid-template-areas: "intro form" "phones form"; column-gap: clamp(38px, 7vw, 90px); align-items: start; padding: 68px 0 54px; }
.intro { grid-area: intro; min-width: 0; }
.intro h1 { max-width: 650px; margin: 0; font-size: clamp(48px, 5.3vw, 78px); line-height: .96; letter-spacing: -.055em; }
.intro h1 span { color: var(--blue); }
.lead { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 21px; line-height: 1.5; }
.interest-counter { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; padding: 12px 16px; color: #17437a; background: #eaf3ff; border-radius: 999px; font-weight: 700; }
.counter-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(0,119,255,.12); }

.phone-scene { grid-area: phones; position: relative; width: 100%; min-width: 0; height: 440px; margin-top: 34px; }
.orb { position: absolute; left: -34px; bottom: 8px; width: 320px; height: 320px; border-radius: 50%; background: #dcecff; }
.phone { position: absolute; width: 230px; height: 432px; padding: 12px; border: 8px solid #101b2b; border-radius: 38px; background: #fff; box-shadow: 0 30px 50px rgba(11,36,71,.24); transform: rotate(-5deg); }
.phone.secondary { left: 24px; top: 34px; transform: rotate(-11deg); opacity: .96; }
.phone.primary { left: 208px; top: 0; transform: rotate(4deg); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 5px; left: 50%; width: 72px; height: 18px; border-radius: 20px; background: #101b2b; transform: translateX(-50%); }
.screen { height: 100%; overflow: hidden; border-radius: 24px; background: #f8faff; }
.screen-head { display: flex; align-items: center; justify-content: space-between; padding: 34px 14px 14px; color: var(--blue); font-size: 15px; font-weight: 900; letter-spacing: .08em; }
.vip { padding: 5px 7px; color: #fff; background: #ffb800; border-radius: 9px; font-size: 9px; letter-spacing: 0; }
.screen-copy { padding: 26px 16px 14px; font-size: 23px; line-height: 1.08; letter-spacing: -.03em; }
.screen-copy small { display: block; margin-top: 15px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.ranking { margin: 0 12px 13px; padding: 15px; color: #fff; border-radius: 16px; background: var(--blue); font-size: 13px; font-weight: 700; }
.category-title { display: flex; justify-content: space-between; padding: 0 12px 8px; font-size: 11px; font-weight: 800; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 0 10px; }
.category { padding: 9px 2px; text-align: center; background: #fff; border: 1px solid #e6edf7; border-radius: 11px; font-size: 8px; font-weight: 700; }
.category img { width: 27px; height: 27px; object-fit: contain; display: block; margin: 0 auto 5px; }
.mini-nav { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; justify-content: space-around; padding: 12px 4px; color: #78859b; background: #fff; border-radius: 14px; font-size: 8px; }

.form-card { grid-area: form; min-width: 0; padding: 40px; border: 1px solid rgba(220,230,244,.72); border-radius: 30px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.form-card form, .field, .field input { min-width: 0; }
.form-card h2 { margin: 0; font-size: 34px; letter-spacing: -.035em; }
.form-card > p { margin: 10px 0 28px; color: var(--muted); font-size: 17px; line-height: 1.45; }
.field { display: block; margin-top: 14px; }
.field span, .choice-group legend { display: block; margin-bottom: 7px; color: #334966; font-size: 13px; font-weight: 750; }
.field input { width: 100%; height: 58px; padding: 0 17px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,119,255,.10); }
.field input::placeholder { color: #97a4b7; }
.choice-group { margin: 22px 0 0; padding: 0; border: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: grid; place-items: center; min-height: 76px; padding: 10px; text-align: center; color: #35506f; border: 1px solid var(--line); border-radius: 15px; font-size: 14px; font-weight: 750; }
.choice input:checked + span { color: var(--blue); border: 2px solid var(--blue); background: #f2f8ff; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 20px 0; color: #52657e; font-size: 13px; line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.submit { width: 100%; min-height: 62px; color: #fff; border: 0; border-radius: 16px; background: var(--blue); font-size: 18px; font-weight: 800; box-shadow: 0 12px 24px rgba(0,119,255,.22); }
.submit:hover { background: #0069e2; }
.submit:disabled { cursor: wait; opacity: .68; }
.form-status { min-height: 24px; margin: 15px 0 0; color: #bf2c2c; font-size: 14px; line-height: 1.45; }
.form-status.success { padding: 16px; color: #0b6840; background: #eaf9f2; border-radius: 14px; }
.edit-registration { display: block; margin: 4px auto 16px; padding: 9px 14px; color: var(--blue); background: transparent; border: 0; font-weight: 750; text-decoration: underline; }
.edit-registration[hidden] { display: none; }
.privacy-note { margin: 8px 0 0; color: #75849a; text-align: center; font-size: 12px; }
.privacy-note a { color: var(--blue); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; padding: 42px 0 70px; }
.benefit { text-align: center; }
.benefit-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; color: var(--blue); background: #e6f1ff; border-radius: 50%; font-size: 31px; }
.benefit-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { margin: 0; font-size: 19px; }
.benefit p { max-width: 260px; margin: 9px auto 0; color: var(--muted); line-height: 1.5; }
.site-footer { padding: 22px 0 32px; color: #6b7a90; text-align: center; font-size: 13px; }
.site-footer a { color: inherit; margin: 0 8px; }

@media (max-width: 940px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "phones"; row-gap: 34px; padding-top: 48px; }
  .intro { text-align: center; }
  .intro h1, .lead { margin-left: auto; margin-right: auto; }
  .phone-scene { width: min(500px, 100%); margin-left: auto; margin-right: auto; }
  .form-card { max-width: 620px; width: 100%; margin: 0 auto; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1180px); }
  .topbar { height: 78px; }
  .brand img { width: 150px; }
  .hero { gap: 26px; padding: 34px 0; }
  .intro h1 { font-size: clamp(40px, 12vw, 54px); }
  .lead { margin-top: 20px; font-size: 17px; }
  .interest-counter { font-size: 13px; }
  .form-card { padding: 25px 20px; border-radius: 23px; }
  .form-card h2 { font-size: 28px; }
  .phone-scene { height: 370px; margin-top: 4px; }
  .phone { width: 190px; height: 356px; padding: 9px; border-width: 6px; border-radius: 31px; }
  .phone.secondary { left: 4px; top: 28px; }
  .phone.primary { left: min(42vw, 150px); }
  .orb { left: -35px; width: 250px; height: 250px; }
  .screen-head { padding: 28px 10px 10px; font-size: 12px; }
  .screen-copy { padding: 22px 12px 10px; font-size: 19px; }
  .ranking { margin: 0 9px 10px; padding: 12px; font-size: 11px; }
  .choices { grid-template-columns: 1fr; }
  .choice span { min-height: 50px; }
  .benefits { grid-template-columns: 1fr; gap: 34px; padding-top: 20px; }
}
