:root {
  --bg: #fff8ef;
  --tint: #fdeedb;
  --card: #ffffff;
  --ink: #221c33;
  --muted: #5d566e;
  --line: #ecdcc6;
  --accent: #4b3bff;
  --accent-dark: #3527d6;
  --accent-soft: #e9e6ff;
  --font-head: "Unbounded", "Montserrat", "Arial Black", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px); background: rgba(255, 248, 239, .92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--font-head); font-weight: 700; text-decoration: none; font-size: 1.15rem; margin-right: auto; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--accent); }

/* buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; padding: 15px 26px; border-radius: 999px; text-align: center;
  transition: background .2s, transform .2s; border: 2px solid var(--accent); line-height: 1.25;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 9px 18px; font-size: .95rem; }
.btn-big { padding: 18px 34px; font-size: 1.1rem; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn.is-disabled { background: #cfc9de; border-color: #cfc9de; color: #4a4560; cursor: default; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px); max-width: 1200px; margin: 0 auto;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 22px 0 10px; font-weight: 500; }
.hero-note { color: var(--muted); margin-bottom: 32px; }

.hero-art { position: relative; padding: 24px 0 24px 12px; }
.frame {
  background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 0 0 18px;
  box-shadow: 10px 10px 0 var(--accent); overflow: hidden; transform: rotate(-1.5deg);
}
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 2px solid var(--ink); background: var(--tint); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); opacity: .35; }
.mock-nav { display: flex; align-items: center; gap: 10px; padding: 16px 18px 6px; }
.mock-nav b { width: 38px; height: 14px; border-radius: 4px; background: var(--ink); margin-right: auto; }
.mock-nav span { width: 28px; height: 8px; border-radius: 4px; background: var(--line); }
.mock-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; padding: 12px 18px; align-items: center; }
.mock-lines span { display: block; height: 14px; border-radius: 5px; background: var(--ink); margin-bottom: 9px; }
.mock-lines .short { width: 60%; }
.mock-lines em { display: block; width: 88px; height: 26px; border-radius: 13px; background: var(--accent); margin-top: 14px; }
.mock-img { aspect-ratio: 1; border-radius: 14px; background: var(--accent-soft); position: relative; }
.mock-img::after { content: ""; position: absolute; inset: 22% 22%; border-radius: 50%; background: var(--accent); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 6px 18px 0; }
.mock-cards span { height: 46px; border-radius: 10px; background: var(--tint); border: 2px solid var(--line); }

.cursor { position: absolute; display: flex; align-items: flex-start; color: var(--accent); }
.cursor span { margin: 16px 0 0 -4px; padding: 3px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .85rem; font-weight: 600; }
.cursor-a { top: 6%; right: 2%; color: var(--ink); }
.cursor-a span { background: var(--ink); }
.cursor-b { bottom: 4%; left: 34%; animation: nudge 5s ease-in-out 1s infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: translate(0, 0); } 80% { transform: translate(34px, -22px); } }

/* sections */
.section { padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px); max-width: 1200px; margin: 0 auto; }
.section-tint { max-width: none; background: var(--tint); padding-left: max(16px, calc((100% - 1104px) / 2)); padding-right: max(16px, calc((100% - 1104px) / 2)); }
.section h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.section-lead { color: var(--muted); max-width: 62ch; margin-bottom: 36px; }

.cards { display: grid; gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.card-teen { border-color: var(--accent); box-shadow: 6px 6px 0 var(--accent); }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card-for { color: var(--muted); }
.result-title { font-weight: 600; margin: 22px 0 8px; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 9px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg) scale(.9);
}
.parents { background: var(--bg); border-radius: 14px; padding: 14px 16px; margin: 0; font-size: .98rem; }

/* lesson timeline: 30 / 60 */
.timeline { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.slot { border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.slot h3 { font-size: 1.2rem; margin: 10px 0; }
.slot p { margin: 0; }
.slot-time { display: inline-block; font-weight: 600; font-size: .95rem; padding: 4px 14px; border-radius: 999px; }
.slot-theory { background: #fff; border: 1.5px solid var(--ink); }
.slot-theory .slot-time { background: var(--tint); }
.slot-practice { background: var(--accent); color: #fff; }
.slot-practice .slot-time { background: #fff; color: var(--accent); }
.format-note { margin: 18px 0 0; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.about-main { max-width: 62ch; }
.about-name { font-size: 1.25rem; font-weight: 600; }
.facts { margin: 0; display: grid; gap: 14px; }
.facts div { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.facts dt { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--accent); }
.facts dd { margin: 4px 0 0; color: var(--muted); font-size: .98rem; }

/* prices */
.prices { grid-template-columns: repeat(3, 1fr); align-items: stretch; margin-top: 28px; }
.price { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.price h3 { font-size: 1.15rem; margin-bottom: 16px; }
.price p { color: var(--muted); }
.price .btn { margin-top: auto; }
.amount { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--ink) !important; margin-bottom: 4px; }
.amount small { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--muted); }
.amount-2 { margin-bottom: 14px; }
.price-main { border: 2px solid var(--accent); box-shadow: 6px 6px 0 var(--accent); }

/* signup */
.signup-box { background: var(--accent); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 72px); text-align: center; }
.signup-box .section-lead { color: #e4e0ff; margin-left: auto; margin-right: auto; }
.signup-box .btn { background: #fff; color: var(--accent); border-color: #fff; }
.signup-box .btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.signup-box .btn.is-disabled { background: #b9b2ff; border-color: #b9b2ff; color: #2a1f8f; }
.soon { font-family: var(--font-head); font-size: 1.2rem; margin: 22px 0 0; }
.hint { margin: 10px 0 0; font-size: .95rem; color: #e4e0ff; }
.hint code { background: rgba(255,255,255,.18); padding: 2px 6px; border-radius: 6px; }
[hidden] { display: none !important; }

.footer { text-align: center; color: var(--muted); font-size: .95rem; padding: 28px 16px 40px; }

/* mobile */
@media (max-width: 860px) {
  .hero, .about { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; width: 100%; margin: 0 auto; }
  .cards.two, .prices, .timeline { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero-actions .btn { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor-b { animation: none; }
  .btn { transition: none; }
}
