:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #030912;
  --surface: #0d1a2b;
  --surface-2: #122238;
  --line: rgba(169, 203, 242, 0.16);
  --line-strong: rgba(169, 203, 242, 0.3);
  --text: #f5f8fc;
  --muted: #a9b7c9;
  --cyan: #3dd9ff;
  --blue: #4687ff;
  --amber: #ffae3d;
  --success: #55e6b1;
  --danger: #ff776f;
  --shell: min(1180px, calc(100vw - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(34, 121, 255, 0.12), transparent 27rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 10;
  width: var(--shell);
  height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark { display: inline-flex; gap: 3px; align-items: end; height: 19px; }
.brand-mark i { display: block; width: 4px; border-radius: 2px; background: var(--cyan); }
.brand-mark i:nth-child(1) { height: 8px; opacity: .55; }
.brand-mark i:nth-child(2) { height: 13px; opacity: .78; }
.brand-mark i:nth-child(3) { height: 19px; }
.header-link {
  color: #d9f8ff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 217, 255, .55);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: 24px;
  padding-block: 62px 72px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 {
  max-width: 720px;
  margin-bottom: 25px;
  font-size: clamp(3rem, 5.5vw, 5.3rem);
  font-weight: 850;
}
.hero-lead { max-width: 650px; margin: 0; color: #c1ccda; font-size: 1.15rem; line-height: 1.7; }
.hero-lead strong { color: white; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 780;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(61, 217, 255, .35);
  outline-offset: 3px;
}
.button-primary {
  color: #03131b;
  background: linear-gradient(120deg, #6ee9ff, #4ba5ff);
  box-shadow: 0 16px 50px rgba(48, 164, 255, .2);
}
.button-quiet { color: #dce7f5; background: rgba(255,255,255,.055); border: 1px solid var(--line); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 11px 20px; margin: 25px 0 0; padding: 0; color: var(--muted); font-size: .84rem; list-style: none; }
.hero-notes li::before { content: "·"; margin-right: 8px; color: var(--cyan); }

.hero-visual { position: relative; min-width: 0; }
.hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 124%;
  height: auto;
  margin-left: -8%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 70% 66% at 55% 52%, black 53%, transparent 98%);
  mask-image: radial-gradient(ellipse 70% 66% at 55% 52%, black 53%, transparent 98%);
}
.visual-glow { position: absolute; inset: 15% 8%; background: #0a80ff; filter: blur(100px); opacity: .12; }
.result-chip {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 6%;
  width: 164px;
  padding: 16px 18px;
  border: 1px solid rgba(96, 223, 255, .26);
  border-radius: 13px;
  background: rgba(5, 17, 31, .84);
  box-shadow: 0 25px 60px rgba(0,0,0,.34);
  backdrop-filter: blur(12px);
}
.result-chip span, .result-chip small { display: block; color: var(--muted); font-size: .68rem; line-height: 1.3; }
.result-chip strong { display: block; margin: 3px 0; color: var(--cyan); font-size: 2.15rem; line-height: 1; letter-spacing: -.06em; }

.recognition { padding: 26px 30px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 28, 47, .62); }
.recognition > p { margin: 0 0 13px; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.symptoms span { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 650; }
.symptoms span::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--amber); box-shadow: 0 0 18px rgba(255,174,61,.55); }

.section { padding-block: 126px; }
.section-heading { max-width: 790px; margin-bottom: 52px; }
.section-heading.compact { max-width: 680px; }
h2 { margin-bottom: 22px; font-size: clamp(2.2rem, 4vw, 3.65rem); font-weight: 830; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-card { min-height: 360px; padding: 31px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(19, 36, 58, .92), rgba(8, 21, 37, .94)); overflow: hidden; }
.solution-card { border-color: rgba(61, 217, 255, .28); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 35px 80px rgba(0, 114, 214, .09); }
.card-label { display: flex; align-items: center; gap: 9px; margin-bottom: 35px; color: var(--muted); font-size: .77rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.solution-card .card-label span { background: var(--success); }
.meter { height: 34px; display: flex; align-items: end; gap: 6px; margin-bottom: 21px; }
.meter i { width: 8px; border-radius: 3px 3px 1px 1px; background: #5b6f8b; }
.meter i:nth-child(1) { height: 8px; }.meter i:nth-child(2) { height: 14px; }.meter i:nth-child(3) { height: 20px; }.meter i:nth-child(4) { height: 27px; }.meter i:nth-child(5) { height: 34px; background: #829ab9; }
.meter.good i { background: linear-gradient(#55e6b1, #3aa8ff); }
.compare-card > strong { font-size: 1.45rem; }
.compare-card > p { max-width: 460px; margin: 10px 0 30px; color: var(--muted); }
.page-load { position: relative; height: 72px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: rgba(0,0,0,.18); }
.page-load span, .page-load b { display: block; border-radius: 4px; background: #7890ad; }
.page-load span { width: 37%; height: 10px; margin-bottom: 10px; }
.page-load b { height: 6px; margin-top: 7px; opacity: .45; }
.page-load b:nth-of-type(1) { width: 88%; }.page-load b:nth-of-type(2) { width: 72%; }.page-load b:nth-of-type(3) { width: 48%; }
.page-load.slow::after { content: ""; position: absolute; inset: 0 70% 0 0; background: rgba(255,174,61,.08); border-right: 2px solid var(--amber); animation: stalled 3.8s ease-in-out infinite; }
.page-load.fast span, .page-load.fast b { background: #64cae6; }
@keyframes stalled { 0%, 18% { right: 82%; } 62%, 100% { right: 28%; } }

.section-how { border-block: 1px solid var(--line); background: var(--bg-deep); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.steps li { min-height: 285px; padding: 30px; background: #0a1524; }
.step-number, .feature-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 42px; border: 1px solid rgba(61,217,255,.32); border-radius: 50%; color: var(--cyan); font-size: .72rem; font-weight: 850; }
.steps h3, .feature-grid h3 { margin-bottom: 14px; font-size: 1.35rem; }
.steps p, .feature-grid p { margin: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid article { padding: 28px 26px 31px; border-top: 1px solid var(--line-strong); }
.feature-icon { margin-bottom: 60px; border-radius: 8px; }

.limits { border-block: 1px solid var(--line); background: linear-gradient(140deg, rgba(8,22,38,.96), rgba(4,12,23,.98)); }
.limits-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.limit-list details { border-top: 1px solid var(--line); }
.limit-list details:last-child { border-bottom: 1px solid var(--line); }
.limit-list summary { position: relative; padding: 23px 38px 23px 0; cursor: pointer; color: #eaf1f9; font-size: 1.03rem; font-weight: 700; list-style: none; }
.limit-list summary::-webkit-details-marker { display: none; }
.limit-list summary::after { content: "+"; position: absolute; right: 5px; top: 21px; color: var(--cyan); font-size: 1.3rem; }
.limit-list details[open] summary::after { content: "−"; }
.limit-list details p { margin: -5px 0 24px; padding-right: 36px; color: var(--muted); }

.test-section { background: radial-gradient(circle at 18% 44%, rgba(33, 129, 255, .17), transparent 32rem), var(--bg-deep); }
.test-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 84px; align-items: start; }
.test-copy { position: sticky; top: 50px; }
.test-copy > p:not(.eyebrow) { max-width: 490px; color: var(--muted); font-size: 1.04rem; }
.test-facts { display: flex; gap: 34px; margin-top: 42px; }
.test-facts div { display: flex; flex-direction: column; }
.test-facts strong { color: var(--cyan); font-size: 1.5rem; letter-spacing: -.03em; }
.test-facts span { color: var(--muted); font-size: .78rem; }
.lead-form { padding: 34px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(15, 31, 51, .9); box-shadow: 0 28px 80px rgba(0,0,0,.25); }
.form-header { margin-bottom: 28px; }
.form-header h3 { margin-bottom: 8px; font-size: 1.65rem; }
.form-header p { margin: 0; color: var(--muted); font-size: .9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: block; margin-bottom: 17px; }
.lead-form label > span:first-child { display: block; margin-bottom: 7px; color: #cbd6e4; font-size: .82rem; font-weight: 700; }
.lead-form label b { color: var(--cyan); }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: rgba(3,10,19,.7); }
input, select { height: 49px; padding: 0 13px; }
textarea { min-height: 116px; padding: 12px 13px; line-height: 1.45; resize: vertical; }
input::placeholder, textarea::placeholder { color: #66758a; }
select { color-scheme: dark; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.consent { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.consent input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--cyan); }
.consent span { margin: 0 !important; color: var(--muted) !important; font-size: .78rem !important; font-weight: 500 !important; }
.submit-button { width: 100%; justify-content: space-between; margin-top: 5px; }
.button-arrow { font-size: 1.4rem; line-height: 1; }
.submit-button[disabled] { cursor: wait; opacity: .68; transform: none; }
.form-status { min-height: 24px; margin: 13px 0 0; font-size: .84rem; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.site-footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; color: #74849a; font-size: .76rem; }
.footer-brand { color: #aebccd; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { max-width: 790px; }
  .hero-visual { max-width: 720px; margin: -60px auto -30px; }
  .symptoms, .feature-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 1px; }
  .steps li { min-height: auto; }
  .step-number, .feature-icon { margin-bottom: 28px; }
  .feature-grid article { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; }
  .feature-grid .feature-icon { grid-row: span 2; }
  .limits-grid, .test-grid { grid-template-columns: 1fr; gap: 38px; }
  .test-copy { position: static; }
  .site-footer { grid-template-columns: 1fr; gap: 8px; padding-block: 40px; }
  .site-footer p { margin: 0; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header { height: 72px; }
  .header-link { font-size: .78rem; }
  .brand { gap: 9px; font-size: .88rem; }
  .hero { min-height: auto; padding-block: 62px 55px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { margin-top: -18px; }
  .hero-visual img { width: 140%; margin-left: -20%; }
  .result-chip { right: 0; bottom: -2%; }
  .recognition { padding: 22px; }
  .symptoms { gap: 8px; }
  .section { padding-block: 82px; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-card { min-height: 320px; padding: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 24px 18px; }
  .test-facts { gap: 24px; }
}

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