/* Шрифт свой, без запросов к Google: сайт обещает «без внешних трекеров». */
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("fonts/Nunito-400.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("fonts/Nunito-600.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("fonts/Nunito-700.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 800 900; font-display: swap; src: url("fonts/Nunito-800.ttf") format("truetype"); }
:root {
  --brand: #1677ff; --brand-dark: #0754c7; --ink: #102a56; --ink-500: #5b6b8a; --ink-300: #a9b9cd;
  --blue-50: #eef6ff; --blue-100: #d9eaff; --surface: #fff; --success: #28c76f; --warning: #ff9f43;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--surface); line-height: 1.55; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* шапка */
header.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
nav.menu { display: flex; gap: 26px; align-items: center; }
nav.menu a { color: var(--ink); font-weight: 700; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; box-shadow: 0 8px 20px rgba(22, 119, 255, 0.25); }
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn.ghost { background: var(--blue-50); color: var(--brand); box-shadow: none; }
.btn.small { padding: 10px 18px; font-size: 14px; }

/* герой */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 28px 0 40px; }
.hero .kicker { color: var(--brand); font-weight: 800; margin: 0 0 6px; font-size: 15px; }
.hero h1 { font-size: 54px; line-height: 1.02; margin: 0 0 10px; font-weight: 900; color: var(--brand); letter-spacing: -0.5px; }
.hero h1 span { display: block; color: var(--ink); font-size: 30px; line-height: 1.2; margin-top: 8px; }
.hero p.lead { font-size: 18px; color: var(--ink-500); margin: 0 0 24px; max-width: 460px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .pwa { margin-top: 18px; color: var(--ink-500); font-size: 14px; }
.stage { position: relative; height: 560px; }
.stage .blob { position: absolute; inset: 60px 0 40px 20px; background: radial-gradient(closest-side, #dcecff, transparent 92%); border-radius: 50%; }
.stage .mascot { position: absolute; left: -10px; bottom: 20px; width: 330px; z-index: 3; filter: drop-shadow(0 20px 30px rgba(16,42,86,0.15)); }
.stage .phone { position: absolute; right: 90px; top: 30px; width: 214px; height: 450px; border-radius: 36px; background: #0b1c3a; padding: 9px; box-shadow: 0 30px 60px rgba(16, 42, 86, 0.35); transform: rotate(5deg); z-index: 2; }
.stage .phone::before { content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; background: #0b1c3a; border-radius: 12px; z-index: 2; }
.stage .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; display: block; }
.stage .receipt { position: absolute; right: -10px; top: 210px; width: 190px; background: #fff; border-radius: 6px; padding: 16px 16px 20px; font-family: "Courier New", monospace; font-size: 13px; color: #33415c; box-shadow: 0 16px 40px rgba(16, 42, 86, 0.18); transform: rotate(-7deg); z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 95% 97%, 90% 100%, 85% 97%, 80% 100%, 75% 97%, 70% 100%, 65% 97%, 60% 100%, 55% 97%, 50% 100%, 45% 97%, 40% 100%, 35% 97%, 30% 100%, 25% 97%, 20% 100%, 15% 97%, 10% 100%, 5% 97%, 0 100%); }
.stage .receipt b { display: block; font-size: 15px; margin-bottom: 8px; }
.stage .receipt div { display: flex; justify-content: space-between; }
.stage .receipt .total { border-top: 1px dashed #b9c6da; margin-top: 8px; padding-top: 8px; font-weight: 700; }
.note { position: absolute; font-family: "Caveat", "Nunito", cursive; color: var(--brand); font-size: 22px; font-weight: 700; line-height: 1.1; }
.note.n1 { left: 30px; top: 30px; transform: rotate(-8deg); }
.note.n2 { right: 10px; bottom: 30px; text-align: right; transform: rotate(6deg); }

/* секции */
section { padding: 56px 0; }
section h2 { font-size: 36px; margin: 0 0 8px; font-weight: 900; color: var(--brand); }
section p.sub { color: var(--ink-500); margin: 0 0 32px; font-size: 18px; max-width: 640px; }
.features { display: grid; grid-template-columns: 300px 1fr; gap: 40px; background: var(--blue-50); border-radius: 32px; padding: 40px; }
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.feature { display: flex; gap: 14px; }
.feature .ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.feature h3 { margin: 4px 0 4px; font-size: 16px; }
.feature p { margin: 0; color: var(--ink-500); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { position: relative; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -16px; top: 18px; color: var(--brand); font-size: 24px; font-weight: 900; }
.step .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-50); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 16px; color: var(--brand); }
.step p { margin: 0; color: var(--ink-500); font-size: 14px; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.showcase.flip .phone-col { order: -1; }
.showcase h2 { font-size: 32px; }
.showcase ul { padding-left: 20px; color: var(--ink-500); margin: 0; }
.showcase li { margin: 8px 0; }
.phone-col { display: flex; justify-content: center; }
.phone-frame { width: 280px; height: 590px; border-radius: 44px; background: #0b1c3a; padding: 10px; box-shadow: 0 30px 60px rgba(16, 42, 86, 0.3); position: relative; }
.phone-frame::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: #0b1c3a; border-radius: 12px; z-index: 2; }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; display: block; }
.band { background: linear-gradient(120deg, var(--brand), #3d8dff); color: #fff; border-radius: 32px; padding: 44px 48px; display: grid; grid-template-columns: 1fr 1.1fr 0.8fr; gap: 32px; align-items: center; }
.band h2 { color: #fff; font-size: 30px; margin: 0 0 10px; }
.band p { margin: 0 0 20px; color: #e5f0ff; }
.band .btn { background: #fff; color: var(--brand); box-shadow: none; }
.band img.family { width: 100%; border-radius: 24px; }
.bubble { background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.bubble .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.bubble b { display: block; }
.bubble small { color: var(--ink-500); }
.checks { margin-top: 18px; font-family: "Caveat", "Nunito", cursive; font-size: 24px; line-height: 1.3; }
.privacy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.privacy .card { background: var(--blue-50); border-radius: 22px; padding: 22px; }
.privacy .card h3 { margin: 0 0 6px; font-size: 17px; }
.privacy .card p { margin: 0; color: var(--ink-500); font-size: 14px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; }
.plans.three { grid-template-columns: repeat(3, 1fr); max-width: none; }
.plan .year { color: var(--ink-500); font-size: 14px; font-weight: 700; }
.fine { color: var(--ink-500); font-size: 14px; margin-top: 16px; }
.plan { border: 2px solid var(--blue-100); border-radius: 24px; padding: 28px; }
.plan.paid { border-color: var(--brand); background: var(--blue-50); }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-size: 36px; font-weight: 900; margin: 6px 0 4px; color: var(--brand); }
.plan .price small { font-size: 16px; color: var(--ink-500); font-weight: 700; }
.plan ul { padding-left: 20px; color: var(--ink-500); margin: 14px 0 0; }
.plan li { margin: 6px 0; }
.faq details { border-bottom: 1px solid var(--blue-100); padding: 14px 0; }
.faq summary { font-weight: 800; cursor: pointer; font-size: 17px; }
.faq p { color: var(--ink-500); margin: 10px 0 0; }
.final { text-align: center; padding: 30px 0 70px; }
.final img { width: 150px; }
.final h2 { margin: 10px 0 8px; }
.final p { color: var(--ink-500); margin: 0 0 22px; }
footer { padding: 28px 0 44px; color: var(--ink-500); font-size: 14px; border-top: 1px solid var(--blue-100); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .links a { margin-right: 18px; color: var(--ink); font-weight: 700; }
footer .req { color: var(--ink-500); }

/* документы */
.doc { max-width: 780px; margin: 0 auto; padding: 20px 20px 60px; }
.doc h1 { font-size: 34px; font-weight: 900; margin: 20px 0 6px; color: var(--brand); }
.doc .meta { color: var(--ink-500); margin-bottom: 28px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; }
.doc p, .doc li { color: #2b3a55; }
.doc h3 { font-size: 18px; margin: 22px 0 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid #dbe6fb; padding: 8px 12px; text-align: left; vertical-align: top; color: #2b3a55; }
.doc th { background: #f1f6ff; font-weight: 800; }
.doc .todo { background: #fff2e5; border-left: 4px solid var(--warning); padding: 10px 14px; border-radius: 8px; color: #7a4a10; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 12px 0 30px; }
  .hero h1 { font-size: 40px; }
  .hero h1 span { font-size: 24px; }
  /* «конфиденциальности» не влезает в 390 px при 34 px */
  .doc h1 { font-size: 28px; overflow-wrap: anywhere; }
  .stage { height: 460px; margin-top: 10px; }
  .stage .mascot { width: 220px; left: -10px; bottom: 10px; }
  .stage .phone { right: 60px; width: 200px; height: 420px; top: 20px; }
  .stage .receipt { right: -10px; top: 120px; width: 150px; font-size: 11px; }
  .note { display: none; }
  nav.menu a:not(.btn) { display: none; }
  .features { grid-template-columns: 1fr; padding: 28px 22px; }
  .features .grid, .steps, .privacy, .plans, .plans.three { grid-template-columns: 1fr; }
  .showcase, .band { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .showcase.flip .phone-col { order: 0; }
  .band { padding: 28px 22px; }
  section h2 { font-size: 30px; }
}
