:root {
  --navy: #0b2545; --navy-2: #14365c; --ink: #13202f; --muted: #5b6b7c; --line: #dbe5ec;
  --ice: #eaf5fa; --ice-2: #d4ebf5; --steel: #9fc9de;
  --cta: #ff7a1a; --cta-dark: #ea6608; --ok: #138a5c; --ok-soft: #e5f6ee; --warn-soft: #fff4e2; --err: #c62f2f;
  --font: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.5; }
button, input, select { font: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); }
.logo img { width: 44px; height: 44px; }
.logo b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.logo small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; color: #3f6e8c; }
.call { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 800; text-decoration: none; font-size: 17px; }
.call svg { width: 18px; height: 18px; }
.call span small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: right; }

/* hero + form */
.hero { background: linear-gradient(180deg, var(--ice) 0%, #f7fbfd 70%, #fff 100%); padding: 44px 0 56px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(159,201,222,.35), transparent 65%); pointer-events: none; }
.hero h1 { margin: 0 auto; max-width: 820px; text-align: center; font-size: 44px; line-height: 1.1; letter-spacing: -.035em; color: var(--navy); font-weight: 800; }
.hero p.sub { text-align: center; margin: 14px auto 28px; max-width: 640px; color: var(--muted); font-size: 18px; }
.card { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 60px -24px rgba(11,37,69,.28); padding: 22px 22px 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.f { display: grid; gap: 5px; align-content: start; }
.f label { font-size: 13px; font-weight: 700; color: var(--navy); }
.f label i { font-style: normal; color: var(--muted); font-weight: 600; }
.in { width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff; color: var(--ink); font-size: 16px; outline: none; transition: .15s; }
select.in { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6b7c' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.in:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,37,69,.08); }
.in.bad { border-color: var(--err); }
.in:disabled { background: #f4f7f9; color: #9aa7b3; cursor: not-allowed; }
.other { display: none; margin-top: 6px; }
.other.on { display: block; }
.err { color: var(--err); font-size: 12.5px; font-weight: 600; min-height: 0; }
.note { font-size: 12.5px; font-weight: 600; }
.note.ok { color: var(--ok); } .note.warn { color: #9a6410; }
.bottom { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: center; margin-top: 14px; }
.consent { display: flex; gap: 9px; font-size: 12px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.btn { height: 56px; width: 100%; border: 0; border-radius: 12px; background: var(--cta); color: #fff; font-weight: 800; font-size: 18px; cursor: pointer;
  box-shadow: 0 12px 24px -12px rgba(255,122,26,.9); transition: .15s; }
.btn:hover { background: var(--cta-dark); }
.btn:disabled { opacity: .65; cursor: wait; }
.meta { display: flex; justify-content: center; gap: 22px; margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.meta span::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.hp { position: absolute; left: -9999px; }
.done { text-align: center; padding: 26px 10px; display: none; }
.done.on { display: block; }
.done .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); display: grid; place-items: center; margin: 0 auto 12px; font-size: 30px; color: var(--ok); }
.done h2 { margin: 0 0 6px; color: var(--navy); font-size: 26px; letter-spacing: -.02em; }
.done p { margin: 0; color: var(--muted); }

/* sections */
section.s { padding: 56px 0; }
section.s h2.t { margin: 0 0 6px; font-size: 30px; letter-spacing: -.03em; color: var(--navy); text-align: center; }
section.s p.ts { margin: 0 0 28px; text-align: center; color: var(--muted); }
.apps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.app { border: 1px solid var(--line); border-radius: 16px; padding: 18px 8px 14px; text-align: center; font-weight: 700; font-size: 14px; color: var(--navy);
  background: #fff; cursor: pointer; transition: .15s; text-decoration: none; }
.app:hover { border-color: var(--steel); background: var(--ice); }
.app svg { width: 44px; height: 44px; display: block; margin: 0 auto 8px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--ice); border-radius: 18px; padding: 24px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--navy); color: #fff; font-weight: 800; }
.step h3 { margin: 14px 0 4px; color: var(--navy); font-size: 18px; }
.step p { margin: 0; color: var(--muted); }
.areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.areas span { border: 1.5px solid var(--ice-2); background: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 700; color: var(--navy); }
.brands { display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: center; font-weight: 800; font-size: 18px; color: #93a4b4; }
.alt { background: #f7fbfd; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta2 { text-align: center; margin-top: 30px; }
.cta2 a { display: inline-block; background: var(--cta); color: #fff; font-weight: 800; padding: 15px 28px; border-radius: 12px; text-decoration: none; }

footer { background: var(--navy); color: #b9cbdb; padding: 44px 0 40px; font-size: 14px; }
footer .fcols { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 28px; margin-bottom: 28px; }
footer h4 { margin: 4px 0 12px; color: #fff; font-size: 14px; letter-spacing: .04em; }
footer .fcols a { display: block; color: #b9cbdb; text-decoration: none; margin-bottom: 7px; }
footer .fcols a:hover { color: #fff; }
footer .logo.light b { color: #fff; } footer .logo.light small { color: var(--steel); }
footer .fphone { margin: 14px 0 0; line-height: 1.6; } footer .fphone a { color: #fff !important; font-weight: 800; font-size: 17px; display: inline !important; }
footer .disc { font-size: 12px; color: #8ea6bb; line-height: 1.6; max-width: 900px; margin: 0 0 8px; }

/* ведмідь, що визирає з-за форми */
.card .peek { position: absolute; right: 48px; top: -58px; width: 112px; height: 66px; z-index: -1; }
.card { isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; background: #fff; border-radius: inherit; z-index: -1; }
@keyframes peek { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.card .peek { animation: peek 3.5s ease-in-out infinite; }

.app.on { border-color: var(--navy); background: var(--ice); }
.areas a { border: 1.5px solid var(--ice-2); background: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 700; color: var(--navy); text-decoration: none; transition: .15s; }
.areas a:hover { border-color: var(--steel); background: var(--ice); }
.narrow { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; color: var(--muted); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.probs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.probs li { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
.probs b { color: var(--navy); }
.probs span { color: var(--muted); font-size: 14.5px; }
.prose { color: var(--ink); }
.prose h1 { color: var(--navy); font-size: 34px; letter-spacing: -.03em; margin: 0 0 8px; }
.prose h2 { color: var(--navy); font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { color: #384b5e; }
.muted { color: var(--muted); }
.prose a { color: var(--navy); font-weight: 700; }
.btnlink { display: inline-block; background: var(--cta); color: #fff !important; font-weight: 800; padding: 13px 24px; border-radius: 12px; text-decoration: none; }
.thanks { text-align: center; padding: 30px 0 10px; }
.thanks .ic { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; font-size: 36px; font-weight: 800; }

@media (max-width: 860px) {
  .hero { padding: 26px 0 36px; }
  .hero h1 { font-size: 29px; }
  .hero p.sub { font-size: 16px; margin: 10px auto 18px; }
  .grid { grid-template-columns: .85fr 1.15fr; gap: 10px; }
  .f.full { grid-column: 1 / -1; }
  .in { height: 48px; padding: 0 12px; }
  .bottom { grid-template-columns: 1fr; }
  .card { padding: 16px; border-radius: 16px; }
  .apps { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .call span small { display: none; }
  .meta { gap: 12px; }
  footer .fcols { grid-template-columns: 1fr 1fr; }
  .probs { grid-template-columns: 1fr; }
  .card .peek { right: 22px; top: -50px; width: 96px; height: 56px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 25px; }
  .hero p.sub { display: none; }
  .hero h1 { margin-bottom: 16px; }
  .meta { font-size: 12px; }
}
@media (max-width: 420px) {
  .apps { grid-template-columns: repeat(3, 1fr); }
  .logo b { font-size: 17px; }
  .call { font-size: 15px; }
}

/* motion: hover + reveal on scroll */
.app, .areas a, .step, .probs li, .faq details, .btn, .cta2 a { transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease; }
.app svg { transition: transform .22s ease; }
.app:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 30px -16px rgba(11,37,69,.4); }
.app:hover svg { transform: scale(1.1); }
.app:active { transform: scale(.97); }
.areas a:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 10px 20px -12px rgba(11,37,69,.35); }
.step:hover, .probs li:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(11,37,69,.35); }
.faq details:hover { border-color: var(--steel); }
.btn:hover, .cta2 a:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 30px -12px rgba(255,122,26,.95); }
.btn:active, .cta2 a:active { transform: scale(.98); }
.btn:disabled:hover { transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.reveal { opacity: 0; }
.reveal.shown { opacity: 1; animation: rise .6s ease backwards; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
/* bear: blink (eyes follow the cursor via app.js) */
.peek .blink { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }