:root {
  --ink: #19213a;
  --muted: #65708a;
  --brand: #6d4dff;
  --brand-dark: #4d34d8;
  --cyan: #18b6c9;
  --yellow: #ffd96a;
  --surface: #ffffff;
  --soft: #f5f2ff;
  --line: #e8e5f2;
  --shadow: 0 18px 45px rgba(53, 40, 119, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfaff;
  font-family: Inter, ui-rounded, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
a { color: var(--brand-dark); }
img { max-width: 100%; }
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--ink);
}
.skip-link:focus { top: 12px; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(232,229,242,.85);
  background: rgba(251,250,255,.92); backdrop-filter: blur(16px);
}
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 15px;
  color: #fff; font-size: 24px; background: linear-gradient(145deg, #7257ff, #9b72ff 58%, #23b9c8);
  box-shadow: 0 10px 25px rgba(109,77,255,.25);
}
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.nav-links a { color: #394159; text-decoration: none; font-weight: 700; }
.nav-links a:hover, .nav-links a:focus { color: var(--brand-dark); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 15px; text-decoration: none; font-weight: 850;
  color: #fff; background: linear-gradient(135deg, var(--brand), #8b67ff); box-shadow: 0 12px 24px rgba(109,77,255,.22);
}
.button:hover { transform: translateY(-1px); }
.button.secondary { color: var(--brand-dark); background: #fff; border: 1px solid var(--line); box-shadow: none; }
.hero { overflow: hidden; padding: 76px 0 54px; background:
  radial-gradient(circle at 12% 18%, rgba(255,217,106,.42), transparent 23%),
  radial-gradient(circle at 86% 16%, rgba(24,182,201,.2), transparent 25%),
  linear-gradient(180deg, #fbfaff, #f5f1ff);
}
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 44px; }
.eyebrow { margin: 0 0 12px; color: var(--brand-dark); font-size: .82rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
h1 { margin: 0 0 20px; max-width: 780px; font-size: clamp(2.35rem, 5vw, 4.65rem); line-height: 1.03; letter-spacing: -.045em; }
.lead { max-width: 760px; margin: 0; color: #535d75; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-card {
  position: relative; min-height: 390px; padding: 30px; border: 1px solid rgba(255,255,255,.9);
  border-radius: 34px; background: rgba(255,255,255,.88); box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.word-stack { width: 100%; display: grid; gap: 12px; }
.mini-word {
  display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
}
.mini-word .icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: var(--soft); font-size: 32px; }
.mini-word strong { display: block; font-size: 1.15rem; }
.mini-word small { color: var(--muted); }
.sound { color: var(--brand); font-size: 21px; }
.stats { padding: 0 0 56px; background: linear-gradient(180deg, #f5f1ff, #fbfaff); }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.stat { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-align: center; }
.stat strong { display: block; color: var(--brand-dark); font-size: 2rem; line-height: 1.1; }
.stat span { color: var(--muted); }
.section { padding: 74px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section h2, .article h1 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.03em; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(55,40,120,.06); }
.card-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 18px; background: var(--soft); font-size: 29px; }
.card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }
.card a.more { display: inline-block; margin-top: 16px; font-weight: 800; text-decoration: none; }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.step { position: relative; padding: 28px 22px 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.step::before { counter-increment: steps; content: counter(steps); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 15px; border-radius: 13px; color: #fff; background: var(--brand); font-weight: 900; }
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
.callout { padding: 34px; border-radius: 28px; color: #fff; background: linear-gradient(135deg,#5e43e5,#7658ff 58%,#15aaba); box-shadow: var(--shadow); }
.callout h2 { color: #fff; }
.callout p { max-width: 760px; color: rgba(255,255,255,.86); }
.callout .button { color: var(--brand-dark); background: #fff; box-shadow: none; }
.faq { display: grid; gap: 12px; }
details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
summary { cursor: pointer; font-weight: 850; }
details p { color: var(--muted); }
.article-hero { padding: 58px 0 32px; background: linear-gradient(180deg,var(--soft),#fbfaff); }
.breadcrumbs { margin-bottom: 18px; color: var(--muted); font-size: .92rem; }
.breadcrumbs a { color: var(--muted); }
.article { width: min(820px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 76px; }
.article h2 { margin-top: 38px; font-size: 1.65rem; line-height: 1.25; }
.article h3 { margin-top: 26px; font-size: 1.2rem; }
.article p, .article li { color: #475169; }
.article li + li { margin-top: 8px; }
.note { margin: 26px 0; padding: 20px 22px; border-left: 5px solid var(--cyan); border-radius: 0 16px 16px 0; background: #effcff; }
.page-list { display: grid; gap: 14px; margin-top: 28px; }
.page-link { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; font-weight: 800; }
.word-table { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 18px 0 24px; }
.word-table > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.word-table strong { color: var(--brand-dark); }
.word-table span { color: var(--muted); text-align: right; }
.sound-card { display: grid; grid-template-columns: 105px 1fr; gap: 24px; align-items: start; margin: 26px 0; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(55,40,120,.05); }
.sound-card h2, .sound-card p { margin-top: 0; }
.sound-letter { display: grid; place-items: center; min-height: 92px; border-radius: 20px; color: #fff; background: linear-gradient(145deg,var(--brand),var(--cyan)); font-size: 2rem; font-weight: 900; }
.day-card, .topic-block { margin: 26px 0; padding: 24px 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(55,40,120,.05); }
.day-card > span { display: inline-flex; padding: 5px 11px; border-radius: 999px; color: var(--brand-dark); background: var(--soft); font-size: .82rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.day-card h2, .topic-block h2 { margin-top: 12px; }
.topic-words { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 22px; }
.topic-words span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--soft); }
.topic-words strong { color: var(--brand-dark); }
.checklist { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 20px 0 26px; }
.checklist > div { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.checklist p { margin-bottom: 0; }
.site-footer { padding: 46px 0; color: #cfd4e5; background: #182038; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer p { max-width: 520px; color: #aeb6cb; }
.footer-links { display: grid; gap: 9px; }
.copyright { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #8f98b0; font-size: .9rem; }

@media (max-width: 900px) {
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .hero-card { min-height: 320px; }
}
@media (max-width: 660px) {
  .nav { align-items: flex-start; padding: 14px 0; }
  .nav-links { justify-content: flex-end; gap: 10px 14px; font-size: .9rem; }
  .nav-links .desktop-only { display: none; }
  .hero { padding-top: 48px; }
  .grid-3, .stats-grid, .steps { grid-template-columns: 1fr; }
  .hero-card { padding: 18px; min-height: 0; }
  .mini-word { grid-template-columns: 54px 1fr auto; }
  .mini-word .icon { width: 52px; height: 52px; }
  .section { padding: 56px 0; }
  .word-table, .checklist { grid-template-columns: 1fr; }
  .sound-card { grid-template-columns: 1fr; }
  .sound-letter { min-height: 78px; }
}

@media print {
  .site-header, .site-footer, .hero-actions { display: none; }
  body { background: #fff; }
  .section, .article { padding: 20px 0; }
}
