:root {
  --bg: #060814;
  --card: #10182e;
  --line: rgba(158, 192, 255, 0.18);
  --text: #d7e6ff;
  --muted: #8eadd6;
  --dim: #6d88b8;
  --blue: #2f6fed;
  --ice: #c5dcff;
  color-scheme: dark;
  font-family: Manrope, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(47, 111, 237, .35), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(30, 70, 180, .28), transparent 55%),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg span {
  position: absolute;
  width: 36vmax;
  height: 36vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 124, 255, .28), transparent 68%);
  animation: float 14s ease-in-out infinite;
}
.bg span:first-child { top: -8vmax; right: -6vmax; }
.bg span:last-child {
  left: -10vmax; bottom: -12vmax;
  background: radial-gradient(circle, rgba(47, 111, 237, .32), transparent 68%);
  animation-duration: 18s;
  animation-direction: reverse;
}
@keyframes float { 50% { transform: translate3d(4vw, 3vh, 0); } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, .offer h3, .cert h3, .logo span, .price, .done h3, .modal-panel h2 {
  font-family: Syne, Manrope, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}
::selection { background: rgba(47, 111, 237, 0.35); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
[hidden] { display: none !important; }
.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;
}
.skip { position: absolute; left: 12px; top: -40px; z-index: 100; background: var(--blue); color: white; padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 12px; }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--blue); }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.header, main, .footer { position: relative; z-index: 1; }

.header {
  position: sticky; top: 0; z-index: 40; height: 64px;
  background: rgba(6, 8, 20, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.bar, .logo, .nav, .bar-end { display: flex; align-items: center; }
.bar { height: 64px; justify-content: space-between; gap: 18px; }
.logo { gap: 10px; text-decoration: none; font-size: 20px; letter-spacing: -0.03em; }
.logo svg { width: 22px; height: 22px; }
.nav { gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); }
.bar-end { gap: 8px; }
.nav-toggle {
  display: none; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  flex-direction: column; place-items: center; gap: 5px;
}
.nav-toggle i { width: 14px; height: 1.5px; background: var(--text); display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #122044;
  color: var(--ice); text-decoration: none; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 50, 140, .35); }
.btn-solid { background: var(--blue); border-color: transparent; color: #d7e6ff; }
.btn-solid:hover { background: #4c84f3; }
.btn-ghost { background: rgba(18, 36, 80, .55); color: var(--ice); }
.btn-sm { min-height: 36px; font-size: 13px; }

.hero { padding: 28px 0 8px; }
.stage {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  padding: 48px 40px;
  border-radius: 36px;
  color: var(--ice);
  background:
    radial-gradient(420px 220px at 80% 20%, rgba(90, 150, 255, .28), transparent 60%),
    linear-gradient(155deg, #163878 0%, #0d2458 48%, #12306e 100%);
  box-shadow: 0 28px 70px rgba(8, 20, 60, .45);
  overflow: hidden;
}
.hero-copy { max-width: 560px; }
section[id] { scroll-margin-top: 80px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  color: var(--ice); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #7dffb3;
  box-shadow: 0 0 0 0 rgba(125, 255, 179, .6);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 8px transparent; } }
.hero h1 { font-size: clamp(34px, 4.8vw, 68px); line-height: 1.02; }
.hero h1 em { font-style: normal; color: #9ec0ff; }
.hero-copy > * { animation: enter .85s cubic-bezier(.16,1,.3,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes enter { from { opacity: 0; transform: translateY(22px); } }
.lede { margin-top: 18px; max-width: 42ch; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.scene { position: relative; height: 380px; perspective: 900px; }
.float {
  position: absolute;
  background: rgba(10, 22, 52, .82);
  color: var(--ice);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 40px rgba(28, 40, 110, .22);
  transform: rotate(var(--base, 0deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  animation: bob 6s ease-in-out infinite;
  transition: transform .18s ease;
}
.card-photo { --base: -8deg; width: 64%; top: 30%; left: 0; padding: 0; overflow: hidden; animation-delay: 0s; }
.card-photo img { width: 100%; height: auto; }
.card-price, .card-chip, .card-stars { padding: 14px 16px; width: 168px; }
.card-price { --base: 8deg; top: 4%; right: 2%; animation-delay: -1.4s; }
.card-chip { --base: -6deg; bottom: 16%; left: 0; animation-delay: -2.6s; }
.card-stars { --base: 6deg; bottom: 4%; right: 8%; animation-delay: -3.8s; }
.float p { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.float strong { display: block; margin: 4px 0 2px; font-size: 22px; letter-spacing: -0.04em; }
.float span { color: var(--dim); font-size: 12px; }
.card-stars .stars { margin: 0 0 6px; }
@keyframes bob {
  50% { translate: 0 -12px; }
}
.partner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(440px, 42%);
  gap: 32px;
  align-items: center;
}
.partner p { color: var(--muted); margin-top: 12px; }
.partner-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0c1834;
  border: 1px solid var(--line);
}
.partner-photo img { width: 100%; height: auto; display: block; }
.section-head .story { color: var(--muted); margin-top: 16px; font-size: 18px; line-height: 1.55; max-width: 68ch; }

.marquee { margin-top: 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee div { display: flex; gap: 28px; width: max-content; animation: ticker 28s linear infinite; }
.marquee span { color: var(--ice); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.marquee span::before { content: "✦"; margin-right: 28px; color: var(--blue); }
@keyframes ticker { to { transform: translateX(-50%); } }
.lore { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.lore::before {
  content: "";
  position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--blue), transparent);
  transform: scaleY(0); transform-origin: top;
  transition: transform 1.2s cubic-bezier(.16,1,.3,1);
}
.lore:has(.in)::before { transform: scaleY(1); }
.lore li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 18px 0; }
.lore span { color: var(--blue); font-weight: 700; letter-spacing: .08em; }
.lore h3 { font-family: Syne, Manrope, sans-serif; font-size: 22px; margin-bottom: 6px; }
.lore p { color: var(--muted); max-width: 62ch; }
.section { padding: 88px 0; }
.section-head { max-width: 760px; margin-bottom: 32px; }
.kicker { color: var(--ice); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.section h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; }
.section-head p:last-child { color: var(--muted); margin-top: 12px; font-size: 17px; }

html.js .reveal { opacity: 0; transform: translateY(26px); animation: rise .85s cubic-bezier(.16,1,.3,1) forwards; animation-play-state: paused; }
html.js .reveal.in { animation-play-state: running; }
@keyframes rise { to { opacity: 1; transform: none; } }
html.js .offer figure,
html.js .cert img {
  clip-path: inset(0 0 8% 0);
  animation: wipe 1s cubic-bezier(.2,.7,.2,1) forwards;
  animation-play-state: paused;
}
html.js .offer.in figure,
html.js .cert.in img { animation-play-state: running; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.facts article { padding-top: 16px; border-top: 1px solid var(--line); }
.facts h3 { font-family: "Instrument Sans", sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.facts p { color: var(--muted); font-size: 15px; }

.offer {
  display: grid; grid-template-columns: 1.45fr .72fr; gap: 32px; align-items: center;
  padding: 36px 0; border-top: 1px solid var(--line);
}
.offer-flip { grid-template-columns: .72fr 1.45fr; }
.offer-flip figure { order: 2; }
.offer figure { margin: 0; border-radius: 16px; overflow: hidden; background: #0c1428; }
.offer h3 { font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.03em; margin-top: 4px; }
.price { font-size: 28px; margin: 10px 0 12px; color: var(--text); }
.offer-copy p { color: var(--muted); }
.offer ul { margin: 14px 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.spec { grid-template-columns: 1fr 1fr; gap: 8px; }
.spec li {
  color: var(--text); font-size: 14px; padding: 10px 12px; position: relative;
  border: 1px solid var(--line); border-radius: 12px; background: #0e1a36;
}
.spec li::before { content: none; }
.spec b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.spec span { display: block; margin-top: 2px; color: var(--dim); font-size: 12px; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.reviews article {
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .35s ease, border-color .35s ease;
}
.reviews article:hover { transform: translateY(-4px); border-color: rgba(158, 192, 255, .45); }
.stars { color: #7eb6ff; font-size: 13px; letter-spacing: 2px; line-height: 1; margin-bottom: 8px; }
.reviews article > p:not(.stars) { font-size: 14px; line-height: 1.45; }
.reviews footer { margin-top: 10px; color: var(--dim); font-size: 12px; }

.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cert { background: var(--card); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.cert img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cert div { padding: 18px; display: grid; gap: 6px; }
.cert h3 { font-size: 40px; letter-spacing: -0.03em; }
.cert p { color: var(--muted); }
.cert .btn { margin-top: 8px; justify-self: start; }


.faq-wrap { width: min(760px, calc(100% - 48px)); }
.faq { display: grid; gap: 8px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-item button {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text);
  padding: 16px 0; display: flex; justify-content: space-between; gap: 16px;
  cursor: pointer; font-size: 17px;
}
.faq-item button i {
  width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .25s ease; margin-top: 6px; flex: none;
}
.faq-item button[aria-expanded="true"] i { transform: rotate(225deg); margin-top: 10px; }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 0 16px; color: var(--muted); }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.contact > div p, .mail { color: var(--muted); }
.mail { display: inline-block; margin: 14px 0 16px; color: var(--ice); text-decoration: none; }
form, .modal-scroll { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
label em { font-style: normal; color: var(--dim); }
input, select, textarea {
  width: 100%; background: #0c1428; border: 1px solid var(--line); border-radius: 12px; color: var(--text);
  padding: 12px 12px; font-size: 16px;
}
textarea { resize: vertical; }
select { appearance: none; }
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: #f0a8a8; }
.err { color: #f0a8a8; }
.err:empty { display: none; }
.order-price { color: var(--ice); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.done h3 { font-size: 28px; margin-bottom: 8px; }
.done dl { display: grid; grid-template-columns: 88px 1fr; gap: 8px 12px; margin: 14px 0; }
.done dt { color: var(--dim); }
.done dd { margin: 0; }

.footer { border-top: 1px solid var(--line); padding: 36px 0 20px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.foot p { color: var(--dim); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.foot div:first-child p { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--muted); margin-top: 10px; }
.foot a, .linkish {
  display: block; color: var(--muted); text-decoration: none; background: none; border: 0;
  padding: 4px 0; cursor: pointer; text-align: left; font-size: 15px;
}
.foot a:hover, .linkish:hover { color: var(--text); }
.legal {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px;
}

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.modal-panel {
  position: relative; width: min(480px, 100%); max-height: min(680px, calc(100vh - 36px));
  overflow: auto; padding: 20px; border-radius: 18px; background: #10182e; color: var(--text); border: 1px solid var(--line);
  animation: pop .28s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.modal-panel h2 { font-size: 32px; margin: 0 32px 8px 0; }
.modal-lead { color: var(--muted); margin-bottom: 14px; }
.x {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
}
.modal-scroll { max-height: min(420px, calc(100vh - 230px)); overflow: auto; }
#order-form > .btn { width: 100%; margin-top: 12px; }
body.modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .facts, .offer, .offer-flip, .certs, .contact, .foot, .partner, .reviews, .stage { grid-template-columns: 1fr; }
  .offer-flip figure { order: 0; }
  .hero { padding-top: 28px; }
  .reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap, .faq-wrap { width: min(1160px, calc(100% - 32px)); }
  .header { height: auto; padding-top: env(safe-area-inset-top); }
  .bar { height: 60px; }
  .bar-end .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; padding: 6px 16px 16px;
    background: #060814; border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { min-height: 48px; display: flex; align-items: center; font-size: 16px; }
  .stage { padding: 28px 18px 18px; border-radius: 24px; }
  .scene { height: 280px; }
  .card-photo { width: 70%; top: 18%; }
  .card-price, .card-chip, .card-stars { width: 132px; padding: 10px 12px; }
  .float strong { font-size: 16px; }
  .hero h1 { font-size: clamp(32px, 10vw, 44px); }
  .lede { font-size: 16px; max-width: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { min-height: 48px; }
  .section { padding: 52px 0; }
  .section h2, .offer h3 { font-size: clamp(32px, 9vw, 44px); }
  .reviews { grid-template-columns: 1fr; }
  .partner-photo { max-width: 420px; }
  .cert h3 { font-size: 36px; }
  .foot { gap: 28px; }
  .legal { flex-direction: column; }
  .modal { padding: 0; align-items: end; }
  .modal-panel {
    width: 100%;
    max-height: min(92dvh, 100%);
    border-radius: 20px 20px 0 0;
    padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
  }
  .modal-scroll { max-height: min(52dvh, 420px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal, html.js .offer figure, html.js .cert img, .hero-copy > * {
    opacity: 1; transform: none; clip-path: none; animation: none;
  }
  .bg span, .pulse, .float, .marquee div { animation: none; }
}
