:root {
  --bg: #f5f7fc;
  --bg-soft: #eef1f8;
  --card: #ffffff;
  --ink: #1a1a2e;
  --muted: #5c6370;
  --line: #e3e7f2;
  --orange: #6d88c9;
  --orange-deep: #5670b0;
  --peach: #9bb0e8;
  --gold: rgba(109, 136, 201, 0.12);
  --orange-soft: rgba(109, 136, 201, 0.12);
  --glow: rgba(109, 136, 201, 0.32);
  --shadow: 0 16px 40px rgba(26, 26, 46, 0.08);
  --gradient: linear-gradient(135deg, #6d88c9 0%, #9bb0e8 50%, #c4a8e8 100%);
  --radius: 20px;
  --radius-lg: 28px;
  --header: 64px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul { margin: 0; }

.container {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header);
  padding: 0 16px;
  background: rgba(245, 247, 252, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 26, 46, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--peach);
}

.badge {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.7rem, 5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.02rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 24px var(--glow);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(0.94); transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, summary:focus-visible, .video__poster:focus-visible, .brand:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.btn--lg { width: 100%; min-height: 60px; padding: 0 22px; font-size: 17px; }
.btn--small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  box-shadow: none;
  flex-shrink: 0;
}

.hero {
  position: relative;
  padding: 28px 0 56px;
  text-align: center;
}
h1 {
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin: 16px auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.video { margin-top: 26px; }
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(420px 180px at 80% 0%, rgba(155, 176, 232, 0.4), transparent 60%),
    linear-gradient(160deg, #2a3150 0%, #1a1a2e 58%, #3d4d78 100%);
  box-shadow: var(--shadow);
}
.video__frame.is-vertical {
  aspect-ratio: 9 / 16;
  max-width: 380px;
  margin: 0 auto;
}
.video__frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1a2e;
}
.video__poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  border: 0;
  padding: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(109, 136, 201, 0.45), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
  color: #fff;
  cursor: pointer;
}
.video__poster[hidden], .video__frame video[hidden] { display: none; }
.video__play {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 14px 36px rgba(109, 136, 201, 0.45);
  transition: transform 0.15s ease;
}
.video__poster:hover .video__play { transform: scale(1.06); }
.video__play svg { margin-left: 3px; }
.video__caption { font-weight: 700; letter-spacing: 0.01em; }
.video__status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.price-line {
  margin: 22px 0 14px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.price-line span {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  vertical-align: 5px;
}
.notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.notes li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-1px);
}

.problems, .lessons, .result, .faq { padding: 64px 0; }
.problems { background: var(--bg-soft); }
.problems__grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.card {
  padding: 20px 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  box-shadow: var(--shadow);
}
.card__index {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.card h3, .lesson h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.card p, .lesson li, .faq-item p { color: var(--muted); }
.card p { margin-top: 8px; font-size: 0.92rem; }

.lesson {
  margin-top: 14px;
  padding: 22px 20px 20px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--peach);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lesson__head {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lesson__sub { margin-top: 6px; color: var(--muted); font-weight: 600; }
.lesson ul { margin-top: 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.lesson li { position: relative; padding-left: 16px; font-size: 0.95rem; }
.lesson li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.checks { margin-top: 22px; padding: 0; list-style: none; display: grid; gap: 10px; text-align: left; }
.checks li {
  position: relative;
  padding: 14px 14px 14px 48px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
}

.offer { padding: 12px 0 64px; }
.offer__card {
  padding: 32px 20px 28px;
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(109, 136, 201, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.offer__card h2 {
  font-size: clamp(1.6rem, 4.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.offer__price {
  margin-top: 16px;
  font-size: clamp(3.4rem, 12vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--orange);
}
.offer__forever { margin: 8px 0 18px; font-weight: 800; }
.offer__card > .btn { margin-top: 28px; }
.offer__note { margin-top: 14px; color: var(--muted); font-size: 14px; }

.faq__list { margin-top: 18px; display: grid; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 4px 16px;
  text-align: left;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  padding: 14px 32px 14px 0;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; font-size: 0.95rem; }

.final {
  padding: 8px 0 28px;
  text-align: center;
}
.final h2 {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.final p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.footer {
  padding: 28px 0 120px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer__grid {
  display: grid;
  gap: 22px;
}
.footer p { margin: 0 0 4px; }
.footer__name {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 8px;
}
.footer__links {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer__links a {
  color: var(--orange);
  font-weight: 600;
  text-underline-offset: 3px;
}
.footer__links a:hover { color: var(--orange-deep); }

.doc { padding: 28px 0 56px; }
.doc__back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}
.doc h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.doc__kicker {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.doc h2 {
  margin: 32px 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.doc p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}
.doc__clause { padding-left: 0.2em; }
.doc__letter { padding-left: 1.6em; }
.doc__dash {
  margin: 0 0 12px;
  padding: 0 0 0 1.4em;
  list-style: none;
}
.doc__dash li {
  position: relative;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.65;
}
.doc__dash li::before {
  content: "–";
  position: absolute;
  left: -1.1em;
}
.doc strong { font-weight: 700; }
.doc h1 strong, .doc h2 strong { font-weight: inherit; }
.doc a { color: var(--orange); }
.doc__meta {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.doc__meta li {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.doc__meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(245, 247, 252, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transform: translateY(110%);
  transition: transform 0.2s ease;
}
.sticky.visible { transform: translateY(0); }
.sticky .btn { width: 100%; }

@media (min-width: 680px) {
  .problems__grid { grid-template-columns: 1fr 1fr; }
  .btn--lg { width: auto; min-width: 320px; }
  .offer__card { padding: 42px 36px 36px; }
  .sticky { display: none; }
  .footer { padding-bottom: 40px; }
  .footer__grid { grid-template-columns: 1.1fr 0.9fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky, .video__play { transition: none; }
}
