:root {
  --navy: #172b4d;
  --navy-deep: #0d315d;
  --green: #16ad60;
  --green-dark: #07964e;
  --red: #e44343;
  --pale: #edf7ff;
  --paper: #fff;
  --muted: #60708b;
  --line: #dce4ec;
  --shadow: 0 14px 36px rgba(24, 57, 90, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: #f8fafc;
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.box2000 {max-width:1700px; margin:0 auto; box-shadow:0 0 70px rgba(0,0,0,0.1);}
.topline { height: 58px; background: rgba(255,255,255,.96); border-bottom: 1px solid #e6ebf0; }
.topline__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; font-size: 13px; font-weight: 600; }
.brand__crest { width: 22px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.phone { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; text-decoration: none; font-size: 17px; font-weight: 800; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 30%, #edf7ff 0 20%, transparent 42%), #fbfcfe; }
.hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: url("assets/hero-phone-cover-v4.png") center center / cover no-repeat; pointer-events: none; }
.hero__grid { position: relative; min-height: 510px; display: flex; align-items: center; padding-block: 44px 36px; }
.hero__content { position: relative; z-index: 2; width: 66%; }
.eyebrow { margin: 0 0 22px; text-transform: uppercase; letter-spacing: .03em; font-size: 12px; font-weight: 700; }
h1 { margin: 0; max-width: 690px; line-height: 1.17; }
h1 strong { display: block; color: var(--red); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; }
h1 span { display: block; margin-top: 18px; font-size: clamp(23px, 2.25vw, 32px); font-weight: 450; }
h1 span b { font-weight: 800; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 24px; padding: 0; list-style: none; }
.benefit { min-height: 58px; display: flex; align-items: center; gap: 9px; padding: 8px 11px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 5px 13px rgba(25, 55, 90, .05); font-size: 12px; font-weight: 650; line-height: 1.25; }
.benefit__icon { width: 21px; height: 21px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--green); font-size: 14px; font-weight: 900; }
.benefit--negative .benefit__icon { background: var(--red); font-size: 18px; }

.cta { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; justify-content: center; width: min(100%, 540px); padding: 25px 22px; border-radius: 10px; background: linear-gradient(100deg, var(--green-dark), #20ba68); color: #fff; text-align: center; text-decoration: none; font-size: 17px; font-weight: 800; box-shadow: 0 10px 23px rgba(16, 164, 87, .22); }
.cta::after { content: ""; position: absolute; z-index: -1; inset: -50% auto -50% -40%; width: 20%; transform: skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0%, 72% { left: -40%; } 88%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .cta::after { animation: none; } }
.trust { margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.trust span { margin: 0 5px; }

.quiz-section { padding: 48px 0 30px; background: radial-gradient(circle at 96% 18%, #dceefe 0 12%, transparent 34%), linear-gradient(135deg, #eef8ff, #e9f5ff); }
.quiz-wrap > h2 { max-width: 1180px; margin: 0 auto 30px; text-align: center; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.28; text-wrap: balance; }
.matomba_iframe { width: 100%; max-width: 900px; min-height: 420px; margin: 0 auto; overflow: hidden; border-radius: 30px; }
.quiz-card { max-width: 900px; margin: 0 auto; padding: 25px 42px 28px; background: var(--paper); border: 1px solid rgba(206,217,228,.8); border-radius: 18px; box-shadow: var(--shadow); }
.quiz-card__top { display: flex; justify-content: space-between; align-items: center; font-weight: 750; }
.quiz-percent { color: var(--green-dark); font-size: 13px; }
.progress { height: 8px; margin: 13px 0 22px; overflow: hidden; border-radius: 99px; background: #e9ecef; }
.progress span { display: block; width: 32%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-dark), #20ba68); }
fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 16px; padding: 0; font-size: 24px; font-weight: 800; }
.answer { min-height: 52px; display: flex; align-items: center; gap: 13px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.answer:hover, .answer:has(input:checked) { border-color: var(--green); background: #f2fcf7; }
.answer input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.quiz-card__actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.quiz-next { min-width: 220px; padding: 13px 20px; border: 0; border-radius: 10px; background: linear-gradient(100deg, var(--green-dark), #20ba68); color: #fff; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.quiz-next span { margin-left: 18px; }
.matomba { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 12px; }

.footer { padding: 22px 0; color: #fff; background: linear-gradient(100deg, #0c315d, #08294f); font-size: 13px; line-height: 1.4; }
.footer__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px 40px; }
.footer a { text-decoration: none; }
.footer span { opacity: .82; }

.privacy-dialog { width: min(900px, calc(100% - 32px)); max-height: min(86vh, 900px); padding: 0; overflow: hidden; color: var(--navy); border: 0; border-radius: 18px; box-shadow: 0 24px 80px rgba(3, 24, 49, .3); }
.privacy-dialog::backdrop { background: rgba(7, 25, 47, .66); backdrop-filter: blur(3px); }
.privacy-dialog__header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.privacy-dialog__header h2 { margin: 0; font-size: 24px; }
.privacy-close { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; color: var(--navy); background: #eef4f8; border: 0; border-radius: 50%; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.privacy-dialog__content { max-height: calc(86vh - 79px); overflow-y: auto; padding: 22px 24px 30px; font-size: 14px; line-height: 1.6; }
.privacy-dialog__content h3 { margin: 26px 0 10px; font-size: 18px; }
.privacy-dialog__content p { margin: 0 0 12px; }
body:has(.privacy-dialog[open]) { overflow: hidden; }

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 620px); }
  .topline { height: 52px; }
  .brand { gap: 7px; font-size: 10px; line-height: 1.2; }
  .brand__crest { width: 17px; height: 32px; }
  .phone { gap: 3px; font-size: 12px; }
  .phone span { display: none; }

  .hero::after { top: auto; right: 0; bottom: 0; left: 0; width: auto; height: min(30svh, 230px); background-position: right center; background-size: auto 150%; }
  .hero__grid { min-height: auto; display: flex; flex-direction: column; gap: 8px; padding-block: 24px calc(min(30svh, 230px) + 10px); }
  .hero__content { width: 100%; }
  .eyebrow { margin-bottom: 12px; font-size: 10px; }
  h1 strong { font-size: clamp(27px, 8vw, 36px); }
  h1 span { margin-top: 11px; font-size: clamp(20px, 5.8vw, 25px); line-height: 1.22; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 18px 0; }
  .benefit { min-height: 46px; gap: 6px; padding: 6px 8px; border-radius: 9px; font-size: 10px; }
  .benefit__icon { width: 18px; height: 18px; font-size: 12px; }
  .benefit--negative .benefit__icon { font-size: 15px; }
  .cta { width: 100%; padding: 15px 12px; font-size: 15px; line-height: 1.25; }
  .trust { margin-top: 10px; text-align: center; font-size: 10px; }
  .quiz-section { padding: 32px 0 22px; }
  .quiz-wrap > h2 { margin-bottom: 20px; font-size: 22px; line-height: 1.25; }
  .matomba_iframe { min-height: 520px; }
  .quiz-card { padding: 18px 14px 16px; border-radius: 14px; }
  .progress { margin: 10px 0 17px; }
  legend { margin-bottom: 13px; font-size: 19px; line-height: 1.25; }
  .answer { min-height: 48px; padding: 7px 11px; font-size: 14px; }
  .quiz-card__actions { margin-top: 14px; }
  .quiz-next { width: 100%; min-width: 0; padding: 13px; }

  .footer { padding: 18px 0; font-size: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 9px; }
  .privacy-dialog { width: calc(100% - 16px); max-height: 92svh; border-radius: 14px; }
  .privacy-dialog__header { padding: 14px 15px; }
  .privacy-dialog__header h2 { font-size: 19px; }
  .privacy-dialog__content { max-height: calc(92svh - 67px); padding: 16px 15px 24px; font-size: 13px; }
}

@media (max-width: 380px) {
  .brand span { max-width: 145px; }
  .phone { font-size: 11px; }
  .benefit { font-size: 9px; }
}
