:root {
  --ink: #1b2436;
  --ink-2: #2e3a4f;
  --coral: #d25c40;
  --coral-l: #faece7;
  --amber: #f2c14e;
  --amber-l: #fdf3dd;
  --teal: #0e6b67;
  --sand: #f7f1e6;
  --paper: #fbf7ef;
  --line: #e2dccf;
  --gray: #5c6573;
  --gray-l: #8b8578;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 30px 70px rgba(27, 36, 54, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }

/* ------------------------------------------------------------------ top */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 239, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { font-size: 14px; font-weight: 600; color: var(--gray); }
.nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px; border: 1.5px solid var(--ink);
  background: var(--ink); color: #fff; font-family: var(--sans); font-size: 14px;
  font-weight: 700; cursor: pointer; transition: transform 0.15s, background 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); background: var(--ink-2); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 13px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-coral { background: var(--coral); border-color: var(--coral); }
.btn-coral:hover { background: #bf4e34; }

.burger { display: none; width: 42px; height: 38px; border: 1.5px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; padding: 11px 10px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span + span { margin-top: 6px; }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 420px at 78% 18%, rgba(242, 193, 78, 0.30), transparent 70%),
    radial-gradient(620px 380px at 12% 4%, rgba(14, 107, 103, 0.10), transparent 70%),
    var(--paper);
}
.hero-in {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; padding: 84px 28px 74px;
}
.kicker {
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 16px;
}
.kicker.light { color: var(--amber); }
h1 { font-size: clamp(46px, 6.4vw, 78px); line-height: 0.98; }
.lede { margin-top: 22px; font-size: 18px; color: var(--gray); max-width: 520px; }
.lede strong { color: var(--ink); }
.cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.cta.center { justify-content: center; }
.micro { margin-top: 18px; font-size: 12px; color: var(--gray-l); }

.hero-art { display: flex; justify-content: center; }
.phone {
  position: relative; border-radius: 42px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: #fff; max-width: 310px;
}
.phone img { width: 100%; height: auto; }
.phone.sm { max-width: 236px; border-radius: 34px; }

/* ---------------------------------------------------------------- strip */
.strip { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-in {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 18px 28px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2);
}
.strip-in span::before { content: "✳"; color: var(--coral); margin-right: 8px; }

/* -------------------------------------------------------------- sections */
.section { padding: 92px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; margin-top: 6px; }
.section-lede { margin-top: 18px; font-size: 17px; color: var(--gray); max-width: 620px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 54px; }
.step { padding-top: 22px; border-top: 2px solid var(--ink); }
.step-n { font-family: var(--serif); font-size: 13px; color: var(--coral); font-weight: 700; letter-spacing: 0.06em; }
.step h3 { font-size: 22px; margin: 10px 0 8px; }
.step p { color: var(--gray); font-size: 14.5px; }

.gallery { display: flex; justify-content: center; gap: 44px; margin-top: 64px; flex-wrap: wrap; }
.shot { margin: 0; text-align: center; }
.shot figcaption { margin-top: 14px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-l); font-weight: 700; }

.ages { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 54px; }
.age {
  display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px;
}
.age-shot { display: flex; justify-content: center; }
.age h3 { font-size: 26px; margin: 10px 0 8px; }
.age p { color: var(--gray); font-size: 14.5px; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal); background: #e4f0ee;
  padding: 5px 10px; border-radius: 999px;
}
.tag.coral { color: var(--coral); background: var(--coral-l); }

.check { list-style: none; padding: 0; margin: 18px 0 0; }
.check li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 14.5px; color: var(--gray); }
.check li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}
.check.light li { color: #cfd7e4; }
.check.light li::before { border-color: var(--amber); }
.check.big li { font-size: 15.5px; margin-bottom: 12px; }
.check.big strong { color: var(--ink); }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split-art { display: flex; justify-content: center; }

/* ---------------------------------------------------------------- dark */
.dark { background: var(--ink); color: #fff; }
.dark h2 { color: #fff; }
.never { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 48px; margin-top: 54px; }
.never div { display: flex; gap: 18px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.never span { font-family: var(--serif); color: var(--amber); font-size: 13px; padding-top: 5px; }
.never p { font-size: 17px; color: #e6ebf3; }

/* --------------------------------------------------------------- plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px;
  display: flex; flex-direction: column;
}
.plan h3 { font-size: 22px; }
.plan-sub { font-size: 13px; color: var(--gray); margin-top: 4px; }
.price { font-family: var(--serif); font-size: 54px; line-height: 1; margin: 22px 0 4px; }
.price .cur { font-size: 24px; vertical-align: super; margin-right: 3px; }
.price .dec { font-size: 30px; }
.price .per { font-size: 15px; font-family: var(--sans); color: var(--gray); font-weight: 600; margin-left: 6px; }
.plan-note { font-size: 12.5px; color: var(--gray-l); margin-bottom: 18px; }
.plan .btn { margin-top: auto; }
.plan .check { margin-top: 0; margin-bottom: 24px; }

.plan.feature { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; }
.plan.feature h3, .plan.feature .price { color: #fff; }
.plan.feature .plan-sub, .plan.feature .plan-note { color: #aab4c4; }
.plan.feature .price .per { color: #aab4c4; }
.badge {
  position: absolute; top: -14px; left: 26px; background: var(--coral); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}

.plans-minor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.minor { background: var(--sand); border-radius: 18px; padding: 22px 24px; }
.minor h4 { font-size: 17px; margin-bottom: 6px; }
.minor p { font-size: 14px; color: var(--gray); }
.minor strong { color: var(--ink); }

/* ------------------------------------------------------------ download */
.download { background: var(--amber-l); border-top: 1px solid #f0e2c0; }
.download-in { display: grid; grid-template-columns: 96px 1fr 280px; gap: 34px; align-items: center; }
.appicon { border-radius: 22px; box-shadow: 0 14px 30px rgba(27, 36, 54, 0.18); }
.signup { display: flex; gap: 10px; margin-top: 24px; max-width: 520px; }
.signup input {
  flex: 1; height: 46px; border-radius: 12px; border: 1.5px solid #e3d3ae;
  background: #fff; padding: 0 16px; font-family: var(--sans); font-size: 15px; color: var(--ink);
}
.signup input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.stores { display: flex; flex-direction: column; gap: 10px; }
.store {
  display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 16px;
  border-radius: 12px; border: 1.5px solid rgba(27, 36, 54, 0.25); background: rgba(255, 255, 255, 0.55);
  opacity: 0.75; cursor: not-allowed; text-align: left;
}
.store small { display: block; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); }
.store strong { font-size: 15px; color: var(--ink); }
.store-ico {
  width: 26px; height: 26px; border-radius: 7px; background: var(--ink); position: relative; flex: none;
}
.store-ico::after { content: "◐"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 14px; }
.store-ico.play { border-radius: 50%; }
.store-ico.play::after { content: "▶"; font-size: 11px; }

/* ------------------------------------------------------------------ faq */
details {
  border-bottom: 1px solid var(--line); padding: 20px 0;
}
summary {
  cursor: pointer; list-style: none; font-family: var(--serif); font-size: 20px;
  font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-size: 22px; color: var(--coral); }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--gray); font-size: 15.5px; max-width: 660px; }

/* ---------------------------------------------------------------- final */
.final { background: var(--paper); text-align: center; padding: 96px 0; }
.final-in img { margin: 0 auto 22px; }
.final h2 { font-size: clamp(34px, 5vw, 56px); }

/* ----------------------------------------------------------------- foot */
.foot { background: var(--ink); color: #c9d1de; padding: 64px 0 28px; }
.foot-in { display: flex; gap: 60px; justify-content: space-between; flex-wrap: wrap; }
.foot-brand img { height: 30px; filter: brightness(0) invert(1); }
.foot-brand p { margin-top: 14px; font-size: 14px; color: #8f9bb0; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols h5 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #7b879c; margin-bottom: 12px; }
.foot-cols a { display: block; font-size: 14px; margin-bottom: 9px; color: #c9d1de; }
.foot-cols a:hover { color: #fff; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px; color: #7b879c;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { order: -1; }
  .phone { max-width: 260px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ages { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr; }
  .plans-minor { grid-template-columns: 1fr; }
  .download-in { grid-template-columns: 1fr; gap: 26px; }
  .download-in .appicon { width: 72px; height: 72px; }
  .never { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    padding: 18px 28px; gap: 16px;
  }
  .burger { display: block; }
  .top-actions .btn-ghost { display: none; }
  .hero-in { padding: 56px 24px 56px; }
  .section { padding: 64px 0; }
  .lead { font-size: 16px; }
  .age { grid-template-columns: 1fr; }
  .age-shot { justify-content: flex-start; }
  .signup { flex-direction: column; }
  .foot-cols { gap: 34px; }
}

section[id] { scroll-margin-top: 88px; }


.lang {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--gray);
}
.lang:hover { border-color: var(--ink); color: var(--ink); }
