:root {
  --primary: #5149cf;
  --primary-bright: #716bff;
  --primary-dark: #3f38ae;
  --ink: #1d1d2c;
  --muted: #5f6070;
  --surface: #f7f7fb;
  --white: #fff;
  --success: #28c79a;
  --line: #e4e3ed;
  --dark: #1d2033;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 28px 70px rgba(29, 29, 44, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--primary-bright); outline-offset: 4px; border-radius: 6px; }
svg { display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 12px 18px; color: white; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(81, 73, 207, .08); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 750; letter-spacing: -.6px; }
.brand-mark { width: 38px; height: 38px; color: var(--primary); flex: 0 0 auto; }
.header-nav { display: flex; gap: 30px; margin-left: auto; color: var(--muted); font-size: 15px; }
.header-nav a:hover, .site-footer a:hover { color: var(--primary); }
.button { min-height: 54px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: 13px; font-weight: 700; line-height: 1.25; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 10px 17px; color: var(--white); background: var(--ink); font-size: 14px; border-radius: 10px; }
.button-small svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button-primary { color: var(--white); background: var(--primary); box-shadow: 0 12px 28px rgba(81, 73, 207, .24); }
.button-primary:hover { background: var(--primary-dark); box-shadow: 0 15px 34px rgba(81, 73, 207, .3); }
.telegram-icon { width: 22px; height: 22px; fill: currentColor; flex: 0 0 auto; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 650; }
.text-link:hover { color: var(--primary); }

.hero { position: relative; overflow: hidden; padding: 80px 0 100px; }
.hero-glow { position: absolute; width: 760px; height: 760px; right: -180px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(113, 107, 255, .18), rgba(113, 107, 255, 0) 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr); gap: 70px; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--primary); font-size: 13px; font-weight: 750; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; letter-spacing: .04em; }
.eyebrow span { width: 7px; height: 7px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 5px rgba(40, 199, 154, .12); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 26px; font-size: clamp(46px, 5vw, 70px); font-weight: 780; letter-spacing: -.055em; line-height: 1.03; }
h1 em { color: var(--primary); font-style: normal; }
.hero-lead { max-width: 590px; margin-bottom: 30px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 18px; }
.hero-actions .button, .hero-actions .text-link { white-space: nowrap; }
.cta-note { margin: 11px 0 0 3px; color: var(--muted); font-size: 13px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 30px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 13px; }
.hero-facts li { display: flex; align-items: center; gap: 6px; }
.hero-facts svg { width: 17px; height: 17px; fill: none; stroke: var(--success); stroke-width: 2.2; }

.demo-wrap { position: relative; padding: 12px 0 36px; }
.demo-accent { position: absolute; inset: -18px -24px 10px 34px; border-radius: 36px; background: linear-gradient(145deg, var(--primary-bright), var(--primary)); transform: rotate(3deg); }
.lesson-demo { position: relative; overflow: hidden; background: var(--dark); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: var(--white); }
.demo-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.demo-brand { display: flex; align-items: center; gap: 10px; }
.demo-brand .brand-mark { width: 38px; height: 38px; color: var(--primary-bright); }
.demo-brand strong, .demo-brand span { display: block; }
.demo-brand strong { font-size: 15px; line-height: 1.3; }
.demo-brand span { color: #a9aabb; font-size: 11px; }
.demo-label { padding: 5px 9px; color: #c3c1ff; background: rgba(113, 107, 255, .13); border-radius: 6px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.demo-body { padding: 22px; }
.file-message { display: flex; align-items: center; gap: 12px; max-width: 320px; margin-left: auto; padding: 13px 15px; background: #333751; border-radius: 14px 14px 4px 14px; }
.file-icon { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; color: #c3c1ff; background: rgba(113, 107, 255, .2); border-radius: 10px; }
.file-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.file-message strong, .file-message span { display: block; }
.file-message strong { font-size: 13px; }
.file-message span { color: #b5b6c7; font-size: 11px; }
.demo-status { display: flex; align-items: center; gap: 8px; margin: 21px 0 10px; color: #c7c8d5; font-size: 11px; }
.status-check { width: 19px; height: 19px; display: grid; place-items: center; color: var(--dark); background: var(--success); border-radius: 50%; font-size: 12px; font-weight: 800; }
.result-card { padding: 20px; background: var(--white); border-radius: 17px; color: var(--ink); }
.result-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.result-heading strong { font-size: 15px; }
.result-heading span { color: var(--primary); font-size: 11px; font-weight: 700; }
.word-list { margin: 5px 0 16px; }
.word-list div { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid #efeff4; }
.word-list dt { color: var(--primary); font-size: 13px; font-weight: 750; }
.word-list dd { margin: 0; color: var(--muted); font-size: 12px; }
.result-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; }
.result-actions span { padding: 9px 6px; color: var(--primary); background: #f0efff; border-radius: 8px; font-size: 10px; font-weight: 700; text-align: center; }
.result-actions span:first-child { color: white; background: var(--primary); }
.demo-note { position: absolute; left: -36px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 35px rgba(29, 29, 44, .14); }
.demo-note strong, .demo-note span { display: block; }
.demo-note strong { font-size: 12px; }
.demo-note div > span { color: var(--muted); font-size: 10px; }
.note-wave { height: 36px; display: flex; align-items: center; gap: 3px; padding: 0 10px; background: #edebff; border-radius: 9px; }
.note-wave i { width: 3px; height: 10px; background: var(--primary); border-radius: 3px; }
.note-wave i:nth-child(2), .note-wave i:nth-child(4) { height: 19px; }
.note-wave i:nth-child(3) { height: 27px; }

.value-section { padding: 105px 0; background: var(--white); }
.section-heading { margin-bottom: 48px; }
.section-heading.centered { max-width: 760px; margin-right: auto; margin-left: auto; text-align: center; }
h2 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 48px); font-weight: 760; letter-spacing: -.04em; line-height: 1.13; }
.section-heading > p:last-child, .split-heading > p { margin-bottom: 0; color: var(--muted); font-size: 18px; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card { position: relative; overflow: hidden; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.student-card { background: #f5f4ff; }
.tutor-card { background: #f2fbf8; }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 27px; color: var(--primary); background: white; border-radius: 14px; box-shadow: 0 8px 24px rgba(81, 73, 207, .09); }
.tutor-card .card-icon { color: #167c61; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-overline { margin-bottom: 9px; color: var(--muted); font-size: 13px; }
.audience-card h3 { max-width: 420px; margin-bottom: 15px; font-size: 27px; letter-spacing: -.025em; line-height: 1.2; }
.audience-card > p:not(.card-overline) { min-height: 82px; margin-bottom: 24px; color: var(--muted); }
.check-list { margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(81, 73, 207, .12); list-style: none; font-size: 14px; }
.check-list li { position: relative; margin: 9px 0; padding-left: 24px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.tutor-card .check-list li::before { color: #167c61; }

.how-section { padding: 105px 0; }
.split-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 60px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { padding-bottom: 5px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.step-number { position: absolute; right: 24px; top: 23px; color: #b1aec6; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.step-visual { width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 20px; }
.step-visual svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.record-visual { color: var(--primary); background: #eeecff; }
.send-visual { color: #167c61; background: #e9f9f4; }
.learn-visual { color: #9d5d12; background: #fff3df; }
.steps h3 { margin-bottom: 11px; font-size: 21px; letter-spacing: -.02em; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.center-action { margin-top: 36px; text-align: center; }

.privacy-section { padding: 0 0 105px; }
.privacy-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 36px 40px; color: white; background: var(--dark); border-radius: var(--radius-lg); }
.privacy-icon { width: 68px; height: 68px; display: grid; place-items: center; color: var(--success); background: rgba(40, 199, 154, .1); border-radius: 18px; }
.privacy-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.privacy-copy .section-kicker { margin-bottom: 10px; color: var(--success); }
.privacy-copy h2 { margin-bottom: 12px; font-size: 30px; }
.privacy-copy > p:last-child { max-width: 700px; margin-bottom: 0; color: #bfc0cf; font-size: 14px; }
.privacy-card > .text-link { color: white; white-space: nowrap; }
.privacy-card > .text-link:hover { color: var(--success); }

.faq-section { padding: 105px 0; background: white; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq-intro { align-self: start; position: sticky; top: 110px; }
.faq-intro > p:last-child { max-width: 340px; color: var(--muted); font-size: 15px; }
.faq-intro a { color: var(--primary); font-weight: 650; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; cursor: pointer; font-size: 18px; font-weight: 680; line-height: 1.4; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 26px; height: 26px; flex: 0 0 auto; background: var(--surface); border-radius: 50%; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; left: 8px; top: 12px; width: 10px; height: 2px; background: var(--primary); transition: transform .2s ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 620px; margin: -5px 40px 24px 0; color: var(--muted); font-size: 15px; }

.final-section { padding: 80px 0; background: white; }
.final-card { position: relative; overflow: hidden; padding: 72px 40px; color: white; background: linear-gradient(135deg, #4840be, #6d64ee); border-radius: 32px; text-align: center; }
.final-content { position: relative; z-index: 1; max-width: 710px; margin: 0 auto; }
.final-card .section-kicker { color: #cfccff; }
.final-card h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 54px); }
.final-card p:not(.section-kicker) { max-width: 590px; margin: 0 auto 28px; color: #e0dfff; font-size: 18px; }
.button-light { color: var(--primary-dark); background: white; box-shadow: 0 12px 30px rgba(20, 17, 72, .2); }
.button-light:hover { background: #f4f3ff; }
.final-note { display: block; margin-top: 14px; color: #d4d1ff; font-size: 12px; }
.final-orbit { position: absolute; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; }
.orbit-one { width: 420px; height: 420px; left: -150px; top: -180px; box-shadow: 0 0 0 55px rgba(255, 255, 255, .025), 0 0 0 110px rgba(255, 255, 255, .02); }
.orbit-two { width: 340px; height: 340px; right: -100px; bottom: -200px; box-shadow: 0 0 0 55px rgba(255, 255, 255, .025); }

.site-footer { padding: 20px 0 28px; background: white; }
.footer-main { display: flex; align-items: center; gap: 30px; padding-top: 20px; padding-bottom: 28px; }
.footer-main > p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-contact { margin-left: auto; font-size: 14px; font-weight: 650; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-bottom div { display: flex; gap: 24px; }

@media (max-width: 1050px) {
  .hero { padding-top: 60px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 38px; }
  h1 { font-size: 50px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .privacy-card { grid-template-columns: auto 1fr; }
  .privacy-card > .text-link { grid-column: 2; }
  .faq-grid { gap: 50px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 36px, 620px); }
  .header-inner { min-height: 72px; gap: 16px; }
  .header-nav { display: none; }
  .header-inner > .button { margin-left: auto; }
  .hero { padding: 50px 0 75px; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  h1, .hero-lead { margin-right: auto; margin-left: auto; }
  h1 { font-size: clamp(43px, 8vw, 58px); }
  .hero-actions { align-items: center; }
  .hero-facts { justify-content: center; }
  .demo-wrap { width: min(100%, 500px); margin: 0 auto; }
  .value-section, .how-section, .faq-section { padding: 75px 0; }
  .audience-grid, .split-heading, .steps, .faq-grid { grid-template-columns: 1fr; }
  .audience-card > p:not(.card-overline) { min-height: auto; }
  .split-heading { gap: 22px; }
  .steps { gap: 16px; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; }
  .step-visual { grid-row: 1 / 3; margin-bottom: 0; }
  .steps h3 { align-self: end; }
  .privacy-section { padding-bottom: 75px; }
  .privacy-card { padding: 30px; }
  .faq-intro { position: static; }
  .faq-grid { gap: 25px; }
  .final-section { padding: 50px 0; }
  .final-card { width: min(100% - 36px, 620px); padding: 55px 28px; }
  .footer-main { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand { font-size: 20px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-inner > .button { min-height: 40px; padding: 9px 12px; font-size: 12px; }
  .header-inner > .button svg { display: none; }
  .hero { padding-top: 40px; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: 42px; letter-spacing: -.05em; }
  .hero-lead { font-size: 17px; }
  .hero-actions .button { width: 100%; padding-right: 16px; padding-left: 16px; font-size: 15px; }
  .hero-facts { gap: 10px 15px; font-size: 12px; }
  .demo-accent { inset: -12px -7px 16px 18px; }
  .demo-header { padding: 14px; }
  .demo-label { max-width: 78px; text-align: center; }
  .demo-body { padding: 14px; }
  .file-message { max-width: 280px; }
  .result-card { padding: 16px; }
  .word-list div { grid-template-columns: .9fr 1.3fr; }
  .demo-note { left: -5px; padding: 11px 13px; }
  .demo-note strong { font-size: 11px; }
  .section-heading.centered { text-align: left; }
  .section-heading.centered br { display: none; }
  h2 { font-size: 35px; }
  .section-heading > p:last-child, .split-heading > p { font-size: 16px; }
  .audience-card { padding: 27px 24px; }
  .audience-card h3 { font-size: 24px; }
  .steps li { display: block; padding: 24px; }
  .step-visual { margin-bottom: 22px; }
  .privacy-card { display: block; padding: 28px 24px; }
  .privacy-icon { margin-bottom: 24px; }
  .privacy-copy h2 { font-size: 28px; }
  .privacy-copy h2 br { display: none; }
  .privacy-card > .text-link { margin-top: 22px; white-space: normal; }
  .faq-list summary { font-size: 16px; }
  .final-card { width: calc(100% - 32px); padding: 46px 20px; border-radius: 25px; }
  .final-card h2 { font-size: 36px; }
  .final-card p:not(.section-kicker) { font-size: 16px; }
  .final-card .button { width: 100%; padding: 14px 13px; font-size: 14px; }
  .footer-main { display: grid; gap: 15px; }
  .footer-contact { margin-left: 0; }
  .footer-bottom, .footer-bottom div { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
