@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-400.woff2') format('woff2'); }

:root {
  --ink: #14122B; --bg: #F5F2FF; --paper: #fff; --muted: #5d5a7d; --line: #14122B;
  --violet: #6C47FF; --pink: #FF3D8B; --orange: #FF9F1C; --yellow: #FFE066; --blue: #8ED8FF; --mint: #7EE8B0; --lav: #C3A8FF; --peach: #FFB88A; --rose: #FF9EC4;
  --grad: linear-gradient(135deg, #6C47FF 0%, #FF3D8B 55%, #FF9F1C 100%);
  --disp: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif; --body: 'Inter', 'Segoe UI', system-ui, sans-serif; --mono: 'JetBrains Mono', Consolas, monospace;
  --hard: 5px 5px 0 var(--ink);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--bg) radial-gradient(rgba(20,18,43,.11) 1px, transparent 1px); background-size: 22px 22px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--disp); letter-spacing: -.02em; line-height: 1.08; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
[hidden] { display: none !important; }
.neo { border: 3px solid var(--ink); border-radius: 14px; box-shadow: 7px 7px 0 var(--ink); background: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border: 3px solid var(--ink); border-radius: 10px; background: #fff; font: 700 16px var(--disp); box-shadow: 3px 3px 0 var(--ink); text-decoration: none; transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn.primary { background: var(--grad); color: #fff; text-shadow: 1px 1px 0 rgba(20,18,43,.45); }
.btn.big { padding: 16px 28px; font-size: 19px; border-radius: 12px; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.btn.loading span::after { content: ''; display: inline-block; width: 16px; height: 16px; margin-left: 10px; vertical-align: -3px; border: 3px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link[disabled] { color: var(--muted); text-decoration: none; cursor: default; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 12px clamp(16px, 4vw, 48px); background: rgba(245,242,255,.88); backdrop-filter: blur(12px); border-bottom: 3px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 26px var(--disp); letter-spacing: -.03em; }
.brand span { background: var(--grad); -webkit-background-clip: text; color: transparent; }
.links { display: flex; gap: 26px; margin-left: auto; font: 600 15px var(--body); }
.links a { text-decoration: none; padding: 4px 2px; border-bottom: 3px solid transparent; }
.links a:hover { border-color: var(--pink); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 48px) 72px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; background: #fff; border: 3px solid var(--ink); border-radius: 99px; font: 700 14px var(--disp); box-shadow: 3px 3px 0 var(--ink); }
.pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); margin: 22px 0 20px; }
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::after { content: ''; position: absolute; left: -4px; right: -4px; bottom: 4px; height: 38%; background: var(--yellow); z-index: -1; transform: skew(-6deg); border: 3px solid var(--ink); border-radius: 4px; }
.lead { font-size: 20px; color: var(--muted); max-width: 580px; }
.cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 28px; }
.trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: var(--muted); }
.trust b { color: var(--ink); font-family: var(--disp); }

.hero-art { position: relative; }
.desk { position: relative; height: 500px; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; background: radial-gradient(500px 360px at 25% 90%, #2a7bff, transparent 62%), radial-gradient(420px 300px at 90% 10%, #9bc9ff, transparent 60%), radial-gradient(360px 260px at 60% 55%, #6a4bf2, transparent 60%), linear-gradient(160deg, #0a2a72, #1646b8 60%, #4a8ef5); }
.desk::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: rgba(235,240,252,.8); border-top: 2px solid rgba(255,255,255,.7); }
.dock { position: absolute; right: 0; top: 90px; width: 40px; height: 290px; background: linear-gradient(180deg, #6C47FF, #FF3D8B 60%, #FF9F1C); border: 3px solid var(--ink); border-right: 0; border-radius: 12px 0 0 12px; display: flex; flex-direction: column; align-items: center; padding: 10px 0; gap: 12px; z-index: 5; }
.dock img { width: 26px; height: 26px; filter: drop-shadow(2px 2px 0 var(--ink)); }
.dock span { writing-mode: vertical-rl; font: 700 16px var(--disp); letter-spacing: .32em; color: #fff; text-shadow: 2px 2px 0 var(--ink); margin-left: .32em; }
.pips { margin-top: auto; display: flex; flex-direction: column; gap: 5px; }
.pips i { width: 13px; height: 13px; border: 2px solid var(--ink); border-radius: 3px; background: var(--yellow); }
.pips i:nth-child(2) { background: var(--blue); } .pips i:nth-child(3) { background: var(--lav); } .pips i:nth-child(4) { background: var(--rose); }
.float { position: absolute; right: 58px; width: 250px; display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--c); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); animation: slide 7s ease-in-out infinite; opacity: 0; }
.float .ti { width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); border-radius: 7px; font-size: 16px; flex: none; }
.float b { display: block; font: 700 14px var(--disp); line-height: 1.2; } .float small { display: block; font-size: 12px; color: rgba(20,18,43,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.c1 { --c: var(--rose); top: 92px; animation-delay: 0s; } .c2 { --c: var(--yellow); top: 160px; animation-delay: .25s; } .c3 { --c: var(--blue); top: 228px; animation-delay: .5s; } .c4 { --c: var(--lav); top: 296px; animation-delay: .75s; }
@keyframes slide { 0%, 8% { opacity: 0; transform: translateX(60px); } 16%, 78% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateX(60px); } }
.note-pop { position: absolute; left: 26px; top: 120px; width: 230px; padding: 12px 14px 16px; background: var(--rose); border: 3px solid var(--ink); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); transform: rotate(-4deg); animation: bob 5s ease-in-out infinite; }
.np-bar { display: flex; gap: 5px; align-items: center; margin-bottom: 8px; } .np-ico { width: 20px; height: 20px; background: var(--ink); border-radius: 5px; margin-right: 6px; }
.np-bar i { width: 11px; height: 11px; border: 2px solid var(--ink); border-radius: 3px; background: var(--c, #fff); } .np-bar i:nth-child(2) { background: var(--yellow); } .np-bar i:nth-child(3) { background: var(--blue); } .np-bar i:nth-child(4) { background: var(--mint); } .np-bar i:nth-child(5) { background: var(--lav); }
.note-pop h4 { font-size: 20px; margin-bottom: 6px; } .note-pop p { font-size: 13.5px; line-height: 1.7; background: #fff; border: 2px solid var(--ink); border-radius: 6px; padding: 8px 10px; }
@keyframes bob { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } }
.sticker { position: absolute; left: 22px; bottom: 54px; z-index: 6; width: 94px; height: 94px; display: grid; place-items: center; text-align: center; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; font: 700 17px/1.1 var(--disp); transform: rotate(-12deg); box-shadow: 4px 4px 0 var(--ink); animation: wob 4s ease-in-out infinite; }
@keyframes wob { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.06); } }

/* ---------- ribbon ---------- */
.ribbon { overflow: hidden; background: var(--ink); color: #fff; border-block: 3px solid var(--ink); transform: rotate(-1deg); margin: 0 -10px; }
.ribbon-track { display: flex; gap: 28px; width: max-content; padding: 14px 0; font: 700 22px var(--disp); animation: marquee 28s linear infinite; white-space: nowrap; }
.ribbon-track span:nth-child(even) { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 96px clamp(16px, 4vw, 48px); }
.section.alt { max-width: none; background: rgba(255,255,255,.55); border-block: 3px solid var(--ink); }
.section.alt > * { max-width: 1240px; margin-inline: auto; }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font: 700 13px var(--disp); letter-spacing: .2em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.head h2 { font-size: clamp(32px, 4.4vw, 54px); } .head p { color: var(--muted); margin-top: 14px; font-size: 19px; }
.video { max-width: 960px; margin: 0 auto; overflow: hidden; padding: 0; }
.video video { width: 100%; display: block; aspect-ratio: 16/9; background: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { padding: 26px; background: var(--c); border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--hard); transition: transform .12s, box-shadow .12s; }
.card:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--ink); }
.card .ico { width: 56px; height: 56px; display: grid; place-items: center; font-size: 28px; background: #fff; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); margin-bottom: 16px; }
.card h3 { font-size: 23px; margin-bottom: 8px; } .card p { color: rgba(20,18,43,.78); font-size: 16px; }
.f1 { --c: var(--yellow); } .f2 { --c: var(--mint); } .f3 { --c: var(--rose); } .f4 { --c: var(--lav); } .f5 { --c: var(--blue); } .f6 { --c: var(--peach); }
kbd { font: 700 13px var(--mono); padding: 2px 7px; background: #fff; border: 2px solid var(--ink); border-radius: 5px; box-shadow: 0 2px 0 var(--ink); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: s; margin-bottom: 48px; }
.steps li { position: relative; padding: 34px 26px 26px; background: #fff; border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--hard); }
.steps li:not(:last-child)::after { content: '→'; position: absolute; right: -27px; top: 50%; font: 700 28px var(--disp); background: var(--bg); transform: translateY(-50%); z-index: 2; }
.n { position: absolute; top: -22px; left: 22px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 24px var(--disp); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); text-shadow: 1px 1px 0 rgba(20,18,43,.5); }
.steps h3 { font-size: 22px; margin-bottom: 8px; } .steps p { color: var(--muted); font-size: 16px; }
.center { text-align: center; }

.band { background: var(--grad); border-block: 3px solid var(--ink); padding: 56px clamp(16px, 4vw, 48px); }
.band-in { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; color: #fff; }
.band img { filter: drop-shadow(5px 5px 0 var(--ink)); } .band h2 { font-size: clamp(26px, 3.4vw, 40px); text-shadow: 2px 2px 0 rgba(20,18,43,.5); } .band p { margin-top: 8px; opacity: .95; }
.band .band-in > div { flex: 1; min-width: 260px; } .band .btn { color: var(--ink); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
details { background: #fff; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
summary { cursor: pointer; padding: 18px 54px 18px 20px; font: 700 19px var(--disp); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; background: var(--yellow); border: 2px solid var(--ink); border-radius: 6px; font-size: 20px; }
details[open] summary::after { content: '–'; background: var(--mint); }
details p { padding: 0 20px 20px; color: var(--muted); }

.foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; padding: 30px clamp(16px, 4vw, 48px); background: var(--ink); color: #cfcaf5; font-size: 14px; }
.foot .brand { color: #fff; font-size: 22px; } .foot .link { color: var(--yellow); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(20,18,43,.72); backdrop-filter: blur(4px); overflow-y: auto; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: min(500px, 100%); padding: 26px; animation: pop .28s cubic-bezier(.2, .9, .3, 1.25); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.95); } }
.x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 8px; font-size: 16px; border: 2px solid transparent; }
.x:hover { border-color: var(--ink); background: var(--bg); }
.m-head { display: flex; gap: 14px; align-items: center; padding-right: 30px; }
.m-head h3 { font-size: 26px; } .m-head p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.dots { list-style: none; padding: 0; display: flex; gap: 8px; margin: 20px 0 18px; }
.dots li { flex: 1; display: flex; align-items: center; gap: 8px; font: 700 12px var(--disp); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 4px solid #d9d4f2; }
.dots li i { width: 22px; height: 22px; display: grid; place-items: center; font-style: normal; border: 2px solid currentColor; border-radius: 6px; }
.dots li.on { color: var(--ink); border-color: var(--pink); } .dots li.on i { background: var(--ink); color: #fff; border-color: var(--ink); }
.dots li.ok { color: var(--ink); border-color: var(--mint); } .dots li.ok i { background: var(--mint); border-color: var(--ink); color: var(--ink); }
.view { display: grid; gap: 15px; }
.view label { display: grid; gap: 6px; font: 700 14px var(--disp); }
.view small { font: 400 13px var(--body); color: var(--muted); }
.view input[type=text], .view input[type=email], .view input[type=tel], .view select { width: 100%; padding: 12px 14px; border: 3px solid var(--ink); border-radius: 10px; font: 400 17px var(--body); background: #fff; outline: none; color: var(--ink); }
.view input:focus, .view select:focus { box-shadow: 4px 4px 0 var(--violet); }
.view input.bad { border-color: var(--pink); background: #fff1f6; }
.phone { display: grid; grid-template-columns: 124px 1fr; gap: 10px; }
.view .fld { display: grid; gap: 6px; } .view .lbl { font: 700 14px var(--disp); }

/* ---------- country picker ---------- */
.cc { position: relative; }
.cc-btn { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 12px 12px; border: 3px solid var(--ink); border-radius: 10px; background: #fff; font: 600 17px var(--body); white-space: nowrap; }
.cc-btn i { font-style: normal; font-size: 12px; opacity: .7; }
.cc-btn:focus-visible, .cc-btn[aria-expanded=true] { box-shadow: 4px 4px 0 var(--violet); outline: none; }
.cc-pop { position: absolute; z-index: 30; left: 0; top: calc(100% + 8px); width: 330px; max-width: calc(100vw - 60px); background: #fff; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); padding: 10px; animation: pop .15s; }
.cc-pop input { width: 100%; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 8px; font: 400 16px var(--body); outline: none; }
.cc-pop input:focus { box-shadow: 3px 3px 0 var(--violet); }
.cc-pop ul { list-style: none; padding: 0; margin: 10px 0 0; max-height: 252px; overflow-y: auto; display: grid; gap: 2px; }
.cc-pop li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 8px; border-radius: 7px; cursor: pointer; font-size: 15px; }
.cc-pop li b { font: 700 12px var(--disp); background: var(--bg); border: 2px solid var(--ink); border-radius: 5px; text-align: center; padding: 1px 0; }
.cc-pop li em { font-style: normal; color: var(--muted); font-weight: 600; }
.cc-pop li:hover, .cc-pop li.act { background: var(--yellow); }
.cc-pop li.sel b { background: var(--mint); }
.cc-pop li.none { display: block; padding: 14px 8px; color: var(--muted); text-align: center; cursor: default; }
.view .check { display: flex; align-items: flex-start; gap: 10px; font: 400 13.5px/1.45 var(--body); color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.err { min-height: 20px; color: #d6204f; font: 600 14px var(--body); }
.sent { font-size: 16px; } .sent b { font-family: var(--disp); }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 6px 0; }
.otp input { width: 100%; aspect-ratio: 1/1.15; text-align: center; font: 700 28px var(--disp); padding: 0; border: 3px solid var(--ink); border-radius: 10px; outline: none; background: #fff; }
.otp input:focus { box-shadow: 4px 4px 0 var(--violet); transform: translate(-1px, -1px); }
.otp.shake { animation: shake .4s; } @keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.row { display: flex; justify-content: space-between; font-size: 15px; }
.done { text-align: center; justify-items: center; }
.tick { width: 74px; height: 74px; display: grid; place-items: center; font: 700 40px var(--disp); background: var(--mint); border: 3px solid var(--ink); border-radius: 50%; box-shadow: 5px 5px 0 var(--ink); animation: tickpop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes tickpop { from { transform: scale(0) rotate(-40deg); } }
.done h4 { font-size: 30px; } .done p { color: var(--muted); }
.next { text-align: left; width: 100%; padding: 14px 16px 14px 36px; background: var(--bg); border: 3px dashed var(--ink); border-radius: 10px; font-size: 15px; display: grid; gap: 6px; }
.next code { font: 400 13px var(--mono); background: #fff; border: 2px solid var(--ink); border-radius: 4px; padding: 1px 5px; }
.small { font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; } .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: 1fr; gap: 40px; } .steps li:not(:last-child)::after { content: '↓'; right: 50%; top: auto; bottom: -38px; transform: translateX(50%); }
}
@media (max-width: 680px) {
  body { font-size: 16px; } .links { display: none; } .nav { gap: 12px; } .nav .btn { margin-left: auto; padding: 9px 14px; }
  .grid { grid-template-columns: 1fr; } .section { padding: 64px 16px; } .desk { height: 440px; } .float { width: 210px; right: 54px; } .float small { max-width: 130px; } .note-pop { width: 190px; left: 14px; }
  .btn.big { width: 100%; } .band .btn { width: 100%; } .sheet { padding: 20px 16px; } .dots li { font-size: 11px; } .phone { grid-template-columns: 108px 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .float { opacity: 1; } }
