:root {
    --navy: #12355b;
    --navy-dark: #0b2340;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --green: #2f7d4f;
    --ink: #1f2937;
    --muted: #5b6776;
    --line: #e2e8f0;
    --bg: #f6f8fb;
    --card: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(18, 53, 91, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; }

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

h1, h2, h3 { color: var(--navy-dark); line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.01em; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }

.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.note { color: var(--muted); font-size: 14px; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; text-decoration: none;
    font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 10px;
    border: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.28);
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: #fff; color: var(--navy); box-shadow: none; border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #cbd5e1; }
.btn-block { width: 100%; }

/* ---------- Шапка ---------- */
.site-header {
    background: var(--navy-dark); color: #fff;
    position: sticky; top: 0; z-index: 50;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo-mark {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: linear-gradient(135deg, #1d4e89, #12355b);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 20px; color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.logo-text strong { display: block; font-size: 17px; letter-spacing: 0.01em; }
.logo-text small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.55); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav a.btn { color: #fff; background: var(--accent); padding: 9px 16px; }
.nav a.btn:hover { background: var(--accent-dark); }

/* ---------- Подвал ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.72); margin-top: 60px; padding: 42px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 32px; }
.footer-grid a { display: block; color: rgba(255, 255, 255, 0.72); text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-brand { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }
.footer-legal .disclaimer { max-width: 820px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 48px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: #eaf1f9; color: var(--navy); font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 100px; margin-bottom: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero-note { font-size: 13.5px; color: var(--muted); }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transform: rotate(-1deg); }
.hero-card-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.sheet-mini { border: 1px dashed #cbd5e1; border-radius: 10px; padding: 18px; background: #fff; }
.sheet-head { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.sheet-row { font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.sheet-row:last-of-type { border-bottom: none; }
.sheet-foot { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ---------- Полоса цифр ---------- */
.strip { background: var(--navy); color: #fff; padding: 22px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.strip-grid strong { display: block; font-size: 30px; line-height: 1.1; }
.strip-grid span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

/* ---------- Секции ---------- */
.section { padding: 58px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); max-width: 720px; margin-bottom: 26px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: #eaf1f9; color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
.ticks li { padding: 5px 0 5px 26px; position: relative; font-size: 14.5px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* ---------- Звуки ---------- */
.sound-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sound-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.sound-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cbd5e1; color: var(--ink); }
.sound-letter { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.sound-letter.sm { font-size: 22px; width: 46px; height: 46px; border-radius: 12px; background: #eaf1f9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sound-name { font-weight: 700; }
.sound-meta { font-size: 12.5px; color: var(--muted); }

/* ---------- Этапы ---------- */
.stage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stage-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.stage-card.link { text-decoration: none; color: var(--ink); display: block; transition: transform .15s, box-shadow .15s; }
.stage-card.link:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.stage-num { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: #eaf1f9; color: var(--navy); font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.stage-card h3 { margin-bottom: 8px; }
.stage-card p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.card-link { color: var(--accent-dark); font-weight: 700; font-size: 14px; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Честный блок ---------- */
.honest { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.honest-grid p { margin: 0; padding-left: 24px; position: relative; font-size: 14.5px; color: var(--muted); }
.honest-grid p::before { content: "—"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 800; }

/* ---------- CTA ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 46px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin: 0; }

/* ---------- Голова страницы ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 38px 0 30px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }

/* ---------- Каталог ---------- */
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.catalog-sound { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.catalog-sound-head { display: flex; gap: 14px; align-items: flex-start; }
.catalog-sound-head h2 { font-size: 21px; margin-bottom: 6px; }
.catalog-sound-head h2 a { text-decoration: none; color: var(--navy-dark); }
.catalog-sound-head p { font-size: 13.5px; color: var(--muted); margin: 0; }
.catalog-stages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.catalog-stages a { font-size: 13px; text-decoration: none; background: #f1f5f9; color: var(--navy); padding: 7px 12px; border-radius: 100px; }
.catalog-stages a:hover { background: #e2e8f0; }

/* ---------- Превью ---------- */
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.preview-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.preview-card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.preview-card p { font-size: 14.5px; margin: 0; }

/* ---------- Наборы ---------- */
.set-list { display: flex; flex-direction: column; gap: 12px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; text-decoration: none; color: var(--ink); }
.set-row:hover { border-color: #cbd5e1; box-shadow: var(--shadow); color: var(--ink); }
.set-row strong { display: block; margin-bottom: 4px; }
.set-row span { font-size: 13.5px; color: var(--muted); }

/* ---------- Тарифы ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 12px 34px rgba(249, 115, 22, 0.16); }
.price-tag { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); margin-bottom: 12px; }
.price strong { font-size: 38px; color: var(--navy-dark); letter-spacing: -0.02em; }
.price span { color: var(--muted); margin-left: 6px; }
.price-note { font-size: 13.5px; color: var(--muted); margin: 6px 0 14px; }
.price-card .ticks { flex: 1; margin-bottom: 18px; }
.price-alt { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.pricing-notes { margin-top: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }

/* ---------- О сервисе ---------- */
.about-steps { display: grid; gap: 12px; margin-bottom: 26px; }
.about-steps div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 15px; }
.plain-list { padding-left: 20px; color: var(--muted); }
.plain-list li { margin-bottom: 6px; }

/* ---------- Документы ---------- */
.legal h2 { font-size: 22px; margin-top: 28px; }
.legal p { font-size: 15px; }

/* ---------- Рабочий лист ---------- */
.worksheet-wrap { padding: 30px 0 40px; }
.worksheet-intro { max-width: 760px; }
.worksheet-intro h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.worksheet-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 24px; }
.worksheet-actions.bottom { margin-top: 24px; }
.worksheet {
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    padding: 34px 38px; max-width: 820px; box-shadow: var(--shadow);
}
.ws-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; border-bottom: 2px solid var(--navy); padding-bottom: 16px; margin-bottom: 24px; }
.ws-brand { font-weight: 800; color: var(--navy); font-size: 18px; }
.ws-title strong { display: block; font-size: 20px; color: var(--navy-dark); }
.ws-title span { font-size: 12px; color: var(--muted); }
.ws-fields { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.ws-task { margin-bottom: 26px; }
.ws-instruction { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.ws-syllables { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 26px; font-weight: 700; color: var(--navy-dark); padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.ws-syllables i { color: #cbd5e1; font-style: normal; }
.ws-repeat { display: flex; flex-wrap: wrap; gap: 10px; }
.ws-repeat span { border: 1px dashed #cbd5e1; border-radius: 8px; padding: 8px 14px; font-size: 17px; font-weight: 600; color: var(--navy); }
.ws-words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ws-words-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.ws-words-col ul { margin: 0; padding-left: 18px; font-size: 18px; line-height: 1.9; }
.ws-sentences { font-size: 18px; line-height: 2; padding-left: 24px; margin: 0; }
.ws-rhymes { font-size: 18px; line-height: 2.1; padding-left: 24px; margin: 0; }
.ws-line { border-bottom: 1px solid #cbd5e1; height: 34px; }
.ws-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.ws-foot { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 10px; font-size: 10.5px; color: var(--muted); }

/* ---------- Улучшения лендинга ---------- */
.hero { position: relative; overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero-glow-a { width: 420px; height: 420px; right: -80px; top: -120px; background: #dbeafe; }
.hero-glow-b { width: 320px; height: 320px; left: -120px; bottom: -100px; background: #ffedd5; }
.hero-grid { position: relative; z-index: 1; }
.hero-copy h1 span { color: var(--accent-dark); }
.hero-points { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--muted); }
.hero-points li { position: relative; padding-left: 20px; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 24px 60px rgba(18, 53, 91, 0.14); transform: rotate(-1.5deg); max-width: 420px; width: 100%; }
.hero-card-caption { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.hero-sticker { position: absolute; right: 4px; bottom: 64px; background: var(--navy-dark); color: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 12px 30px rgba(11, 35, 64, 0.3); text-align: center; }
.hero-sticker strong { display: block; font-size: 28px; line-height: 1; }
.hero-sticker span { font-size: 11.5px; color: rgba(255, 255, 255, 0.7); }

.sheet-top { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.sheet-brand { font-weight: 800; color: var(--navy); letter-spacing: .04em; }
.sheet-format { border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.sheet-title { font-size: 19px; font-weight: 800; color: var(--navy-dark); margin-bottom: 6px; }
.sheet-name { font-size: 11.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 12px; }
.sheet-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sheet-cols > div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.sheet-cols b { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-dark); margin-bottom: 4px; }
.sheet-cols span { border-bottom: 1px dashed #e2e8f0; padding: 3px 0; }
.sheet-line { border-bottom: 1px solid #cbd5e1; height: 26px; margin-top: 14px; }
.sheet-line.short { width: 62%; }

.section-head { max-width: 720px; margin-bottom: 26px; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--muted); margin: 0; }

.card-accent { border-top: 3px solid var(--accent); }
.sound-card { position: relative; }
.sound-arrow { position: absolute; right: 16px; top: 18px; color: #cbd5e1; font-weight: 800; }
.sound-card:hover .sound-arrow { color: var(--accent-dark); }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; color: var(--navy-dark); list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--accent-dark); font-size: 20px; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
    .nav a[href="/about"] { display: none; }
}

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-card { transform: none; max-width: 460px; }
    .hero-sticker { right: 10%; bottom: 40px; }
    .sound-grid { grid-template-columns: repeat(2, 1fr); }
    .stage-grid, .stage-grid.four, .preview-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .ws-head { grid-template-columns: 1fr; }
    .ws-words { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
    .nav { flex-wrap: wrap; }
    .nav a:not(.btn) { display: none; }
    .two-col, .steps, .honest-grid { grid-template-columns: 1fr; }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .sound-grid, .stage-grid, .stage-grid.four, .preview-grid { grid-template-columns: 1fr; }
    .ws-words { grid-template-columns: 1fr; }
    .worksheet { padding: 22px 18px; }
    .ws-foot { flex-direction: column; }
    .hero { padding: 44px 0 34px; }
    .hero-actions .btn { width: 100%; }
    .hero-sticker { position: static; display: inline-block; margin-top: 14px; }
    .sheet-cols { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
}

