:root {
  --ink: #10213f;
  --muted: #657089;
  --navy: #17346d;
  --navy-deep: #0d2047;
  --blue: #315fc4;
  --sky: #eaf3ff;
  --green: #26c85a;
  --yellow: #ffcb3d;
  --coral: #ff6e66;
  --surface: #ffffff;
  --line: #dfe6f1;
  --soft: #f5f8fc;
  --shadow: 0 24px 60px rgba(21, 52, 109, .13);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--surface); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; padding: 18px 0; transition: .3s ease; }
.site-header.scrolled { padding: 10px 0; background: rgba(255,255,255,.9); border-bottom: 1px solid rgba(223,230,241,.85); box-shadow: 0 10px 40px rgba(13,32,71,.08); backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; position: relative; z-index: 3; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: #fff; box-shadow: 0 9px 25px rgba(23,52,109,.15); overflow: hidden; }
.brand-mark img { width: 40px; height: 40px; object-fit: contain; }
.brand-name { font-size: 13px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.brand-name b { font-size: 15px; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav > a { position: relative; color: #31405c; font-size: 14px; font-weight: 650; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue); transition: right .25s ease; }
.site-nav > a:hover::after, .site-nav > a.active::after { right: 0; }
.site-nav .nav-cta { padding: 12px 19px; border-radius: 14px; color: #fff; background: var(--navy); box-shadow: 0 9px 20px rgba(23,52,109,.18); transition: .25s ease; }
.site-nav .nav-cta:hover { transform: translateY(-2px); background: var(--blue); }
.language-switcher { display: inline-flex; flex: 0 0 auto; gap: 3px; margin-left: auto; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.82); }
.language-switcher button { min-width: 30px; height: 28px; padding: 0 7px; border: 0; border-radius: 8px; color: #72809a; background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.language-switcher button:hover { color: var(--navy); }
.language-switcher button.active, .language-switcher button[aria-pressed="true"] { color: #fff; background: var(--navy); box-shadow: 0 5px 12px rgba(23,52,109,.18); }
.menu-button { display: none; width: 46px; height: 46px; padding: 11px; border: 0; border-radius: 14px; background: var(--navy); }
.menu-button span { display: block; width: 100%; height: 2px; margin: 5px 0; background: #fff; transition: .25s ease; }

.hero { position: relative; min-height: 780px; padding: 150px 0 80px; overflow: hidden; background: linear-gradient(135deg, #f7faff 0%, #edf4ff 55%, #fff8ee 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .38; background-image: radial-gradient(#5277c4 1px, transparent 1px); background-size: 27px 27px; mask-image: linear-gradient(to right, #000, transparent 68%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 60px; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 21px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { padding: 9px 13px; border: 1px solid rgba(49,95,196,.16); border-radius: 999px; background: rgba(255,255,255,.7); letter-spacing: .05em; text-transform: none; }
.eyebrow i { color: var(--yellow); }
.hero h1 { max-width: 690px; margin: 0; color: var(--navy-deep); font-size: clamp(48px, 5.15vw, 76px); line-height: .99; letter-spacing: -.055em; }
.hero h1 span { color: var(--blue); }
.hero-lead { max-width: 640px; margin: 28px 0 0; color: #586681; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 15px; font-weight: 750; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 13px 28px rgba(23,52,109,.22); }
.button-primary:hover { background: var(--blue); box-shadow: 0 18px 34px rgba(49,95,196,.24); }
.button-quiet { color: var(--navy); background: transparent; }
.button-quiet:hover { background: rgba(255,255,255,.7); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 30px; color: #506079; font-size: 13px; }
.hero-notes i { margin-right: 5px; color: var(--green); }

.hero-visual { position: relative; height: 560px; }
.phone { position: absolute; overflow: hidden; border: 8px solid #101724; border-radius: 45px; background: #101724; box-shadow: 0 30px 70px rgba(13,32,71,.24); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-front { z-index: 2; right: 6%; top: 2%; width: 285px; height: 560px; transform: rotate(3deg); animation: float 6s ease-in-out infinite; }
.phone-back { z-index: 1; left: 4%; top: 14%; width: 245px; height: 480px; transform: rotate(-8deg); filter: saturate(.88); animation: floatBack 7s ease-in-out infinite; }
.math-chip { position: absolute; z-index: 4; display: grid; place-items: center; color: var(--navy); background: #fff; box-shadow: var(--shadow); font-family: Georgia, serif; font-size: 21px; font-style: italic; }
.chip-one { left: 2%; top: 2%; width: 112px; height: 57px; border-radius: 18px; transform: rotate(-7deg); }
.chip-two { right: -2%; top: 23%; width: 74px; height: 74px; border-radius: 50%; color: #fff; background: var(--coral); transform: rotate(8deg); }
.floating-card { position: absolute; z-index: 5; left: 7%; bottom: 3%; display: flex; align-items: center; gap: 12px; width: 240px; padding: 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 19px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(12px); animation: float 5.5s ease-in-out infinite reverse; }
.floating-icon { display: grid; flex: 0 0 45px; place-items: center; height: 45px; border-radius: 14px; color: #6f5200; background: var(--yellow); }
.floating-card b, .floating-card small { display: block; }
.floating-card b { font-size: 14px; }
.floating-card small { color: var(--muted); font-size: 12px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-orb-one { right: -130px; top: -150px; width: 490px; height: 490px; border: 80px solid rgba(255,203,61,.18); }
.hero-orb-two { left: 47%; bottom: -210px; width: 420px; height: 420px; background: rgba(49,95,196,.07); }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 10px; color: #7a8498; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); }
.hero-scroll span { width: 29px; height: 1px; background: #9aa5b9; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes floatBack { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(10px) rotate(-6deg); } }

.section { padding: 110px 0; }
.section-heading { max-width: 680px; margin: 0 auto 66px; text-align: center; }
.section-heading.compact { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .lessons-copy h2, .request-copy h2, .contact-title h2 { margin: 0; color: var(--navy-deep); font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p { margin: 20px auto 0; color: var(--muted); font-size: 17px; }

.app-section { background: #fff; }
.app-layout { display: grid; grid-template-columns: 1fr .82fr 1fr; align-items: center; gap: 38px; }
.feature-list { display: grid; gap: 16px; }
.feature-card { display: flex; gap: 17px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: .25s ease; }
.feature-card:hover { border-color: rgba(49,95,196,.28); transform: translateX(5px); box-shadow: 0 16px 40px rgba(23,52,109,.08); }
.feature-card > i { display: grid; flex: 0 0 46px; place-items: center; height: 46px; border-radius: 14px; color: var(--blue); background: var(--sky); font-size: 20px; }
.feature-card:nth-child(2) > i { color: #9c5500; background: #fff2d6; }
.feature-card:nth-child(3) > i { color: #087d36; background: #ddf9e7; }
.feature-card h3 { margin: 1px 0 6px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.app-showcase { position: relative; justify-self: center; width: min(300px, 100%); }
.app-showcase::before { content: ""; position: absolute; inset: -18px; z-index: -1; border-radius: 55px; background: linear-gradient(145deg, var(--blue), #8db8ff); transform: rotate(-5deg); }
.app-showcase img { aspect-ratio: 9/18; width: 100%; border: 8px solid #101724; border-radius: 43px; object-fit: cover; object-position: top; box-shadow: var(--shadow); }
.showcase-glow { position: absolute; z-index: -2; inset: 15% -40%; border-radius: 50%; background: rgba(49,95,196,.16); filter: blur(40px); }
.download-panel { padding: 30px; border-radius: var(--radius); color: #fff; background: var(--navy-deep); box-shadow: var(--shadow); }
.panel-label { color: #9eb8eb; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.download-panel h3 { margin: 10px 0; font-size: 27px; line-height: 1.17; }
.download-panel p { margin: 0 0 22px; color: #bfcbea; font-size: 14px; }
.store-links { display: grid; gap: 10px; }
.store-links a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.07); transition: .22s ease; }
.store-links a:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.13); transform: translateX(4px); }
.store-links i { width: 28px; font-size: 23px; text-align: center; }
.store-links small, .store-links span { display: block; }
.store-links small { color: #aebbd9; font-size: 9px; line-height: 1; }
.store-links span { font-size: 15px; font-weight: 750; }

.video-section { overflow: hidden; background: linear-gradient(180deg, #f7faff, #eef4ff); }
.video-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 65px; }
.video-copy h2 { margin: 0; color: var(--navy-deep); font-size: clamp(36px, 4vw, 53px); line-height: 1.08; letter-spacing: -.045em; }
.video-copy > p { margin: 22px 0 28px; color: var(--muted); font-size: 16px; }
.video-links { display: flex; flex-wrap: wrap; gap: 10px; }
.video-links .button { width: auto; }
.vk-glyph { display: grid; place-items: center; width: 28px; height: 22px; border-radius: 7px; color: #fff; background: #2787f5; font-size: 10px; font-weight: 900; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 9px solid #fff; border-radius: 30px; background: var(--navy-deep); box-shadow: var(--shadow); }
.video-frame::after { content: ""; position: absolute; inset: auto 7% -16px; z-index: -1; height: 30px; border-radius: 50%; background: rgba(23,52,109,.28); filter: blur(22px); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.lessons-section { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.lessons-section::after { content: ""; position: absolute; right: -160px; bottom: -240px; width: 560px; height: 560px; border: 100px solid rgba(255,255,255,.035); border-radius: 50%; }
.lessons-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 90px; }
.lesson-visual { position: relative; min-height: 470px; }
.lesson-window { position: absolute; inset: 28px 4px 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: 29px; background: #f5f8ff; box-shadow: 0 36px 75px rgba(0,0,0,.3); transform: rotate(-2deg); }
.window-top { display: flex; align-items: center; gap: 7px; height: 48px; padding: 0 17px; color: #8997b1; background: #fff; font-size: 10px; }
.window-top > span { width: 9px; height: 9px; border-radius: 50%; background: #ff746c; }
.window-top > span:nth-child(2) { background: #ffca3b; }
.window-top > span:nth-child(3) { background: #35c75e; }
.window-top b { margin-left: auto; color: #60708d; font-size: 10px; letter-spacing: .06em; }
.window-content { display: grid; gap: 13px; padding: 28px 23px; }
.subject-card { display: flex; align-items: center; gap: 15px; min-height: 88px; padding: 17px; border: 1px solid #e0e7f3; border-radius: 19px; color: var(--navy); background: #fff; box-shadow: 0 11px 26px rgba(23,52,109,.07); font-size: 13px; font-weight: 800; }
.subject-card i { display: grid; flex: 0 0 47px; place-items: center; height: 47px; border-radius: 14px; color: var(--blue); background: var(--sky); font-size: 20px; }
.subject-language i { color: #9c5500; background: #fff0cf; }
.subject-more { border-style: dashed; color: #71809c; background: transparent; box-shadow: none; }
.subject-more i { color: #71809c; background: #e8edf6; }
.lesson-badge { position: absolute; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-radius: 14px; color: var(--ink); background: #fff; box-shadow: var(--shadow); font-size: 11px; font-weight: 800; }
.badge-live { right: -18px; top: 3px; }
.badge-live i { color: var(--coral); }
.badge-scale { left: -22px; bottom: 0; }
.badge-scale i { color: var(--blue); }
.kicker-light { color: #a8c5ff; }
.lessons-copy h2 { color: #fff; }
.lessons-copy > p { margin: 25px 0 29px; color: #c3d0eb; font-size: 17px; }
.lesson-points { display: grid; gap: 17px; margin-bottom: 31px; }
.lesson-points > div { display: flex; align-items: flex-start; gap: 16px; }
.lesson-points > div > span { display: grid; flex: 0 0 42px; place-items: center; height: 42px; border: 1px solid rgba(255,255,255,.19); border-radius: 13px; color: #a8c5ff; font-size: 12px; font-weight: 800; }
.lesson-points p, .lesson-points b, .lesson-points small { display: block; margin: 0; }
.lesson-points b { margin-bottom: 2px; }
.lesson-points small { color: #b2c2e1; font-size: 13px; }
.button-light { color: var(--navy); background: #fff; box-shadow: 0 16px 35px rgba(0,0,0,.2); }

.reviews-section { background: var(--soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 20px; }
.review-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; margin: 0; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 15px 45px rgba(23,52,109,.06); }
.review-card > i { color: #b8c9e7; font-size: 34px; }
.review-card > p { margin: 20px 0 26px; color: #3d4960; font-size: 15px; line-height: 1.72; }
.review-card footer { display: flex; align-items: center; gap: 12px; }
.review-card footer img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review-card footer b, .review-card footer small { display: block; }
.review-card footer b { font-size: 13px; }
.review-card footer small { color: var(--muted); font-size: 11px; }
.review-featured { border-color: transparent; color: #fff; background: var(--navy); transform: translateY(-12px); box-shadow: 0 25px 55px rgba(23,52,109,.19); }
.review-featured > i { color: #6f8ac3; }
.review-featured > p { color: #dce5f8; }
.review-featured footer small { color: #aebedd; }

.request-section { background: #fff; }
.request-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 72px; }
.request-copy { position: sticky; top: 130px; }
.request-copy p { margin: 22px 0; color: var(--muted); font-size: 16px; }
.request-meta { display: flex; flex-wrap: wrap; gap: 11px; }
.request-meta span { padding: 9px 13px; border-radius: 999px; color: var(--navy); background: var(--sky); font-size: 12px; font-weight: 750; }
.request-meta i { margin-right: 5px; }
.request-form { display: grid; gap: 17px; padding: 34px; border: 1px solid var(--line); border-radius: 30px; background: var(--soft); box-shadow: 0 24px 60px rgba(23,52,109,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.request-form label { display: grid; gap: 7px; }
.request-form label > span { font-size: 12px; font-weight: 750; }
.request-form input, .request-form select, .request-form textarea { width: 100%; border: 1px solid #d9e1ee; border-radius: 13px; outline: 0; color: var(--ink); background: #fff; transition: .2s ease; }
.request-form input, .request-form select { height: 50px; padding: 0 14px; }
.request-form textarea { resize: vertical; min-height: 108px; padding: 13px 14px; }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(49,95,196,.1); }
.form-submit { width: max-content; margin-top: 2px; }
.turnstile-field { min-height: 65px; width: min(100%, 300px); overflow: hidden; }
.turnstile-loading, .turnstile-error { display: flex; align-items: center; min-height: 52px; padding: 10px 13px; border: 1px solid #d9e1ee; border-radius: 13px; color: var(--muted); background: #fff; font-size: 12px; line-height: 1.4; }
.turnstile-error { color: #9a2922; border-color: #f0bbb7; background: #fff4f2; }
.form-submit:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.form-status { display: none; margin: 0; padding: 11px 14px; border-radius: 12px; font-size: 13px; }
.form-status.visible { display: block; }
.form-status.success { color: #086b31; background: #daf6e4; }
.form-status.error { color: #9a2922; background: #ffe2df; }
.form-consent { color: #7a8497; font-size: 10px; }
.form-consent a { text-decoration: underline; }

.contact-section { border-top: 1px solid var(--line); background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: .7fr 1.25fr 1fr; align-items: stretch; gap: 22px; }
.contact-title { padding-right: 22px; }
.contact-title h2 { font-size: 44px; }
.contact-title p { color: var(--muted); }
.person-card { display: grid; grid-template-columns: 155px 1fr; gap: 22px; padding: 20px; border-radius: var(--radius); color: #fff; background: var(--navy); }
.person-card > img { width: 155px; height: 190px; border-radius: 18px; object-fit: cover; object-position: 50% 28%; }
.person-card > div { align-self: center; }
.person-card span { color: #aebfe0; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.person-card h3 { margin: 10px 0 21px; font-size: 24px; line-height: 1.12; }
.person-card a { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.38); font-size: 12px; font-weight: 750; }
.contact-links { display: grid; gap: 10px; }
.contact-links > a { display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: #fff; transition: .22s ease; }
.contact-links > a:hover { border-color: rgba(49,95,196,.3); transform: translateX(4px); box-shadow: 0 13px 30px rgba(23,52,109,.08); }
.contact-links > a > span { display: grid; flex: 0 0 42px; place-items: center; height: 42px; border-radius: 13px; color: var(--blue); background: var(--sky); }
.contact-links small, .contact-links b { display: block; }
.contact-links small { color: var(--muted); font-size: 10px; }
.contact-links b { overflow-wrap: anywhere; font-size: 12px; }

.site-footer { color: #c4cee3; background: #091a3a; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 35px; min-height: 130px; }
.brand-footer .brand-name { color: #fff; }
.footer-inner > p { margin: 0; font-size: 12px; }
.footer-links { display: flex; gap: 18px; font-size: 11px; }
.footer-links a:hover { color: #fff; }
.footer-inner > small { font-size: 10px; }
.back-to-top { position: fixed; z-index: 900; right: 18px; bottom: 18px; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; color: #fff; background: var(--navy); box-shadow: 0 12px 28px rgba(23,52,109,.24); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .site-nav { gap: 14px; }
  .site-nav > a { font-size: 11px; }
  .language-switcher button { min-width: 27px; padding-inline: 5px; }
  .hero-grid { gap: 20px; }
  .phone-front { right: 0; width: 260px; height: 515px; }
  .phone-back { left: 0; width: 220px; height: 445px; }
  .app-layout { grid-template-columns: 1fr .9fr; }
  .download-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 8px 25px; }
  .download-panel .panel-label { grid-row: 1; }
  .download-panel h3 { grid-column: 1; font-size: 22px; }
  .download-panel p { grid-column: 1; }
  .store-links { grid-column: 2; grid-row: 1 / 4; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
  .contact-title { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 680px); }
  .site-header { padding: 12px 0; background: rgba(255,255,255,.92); backdrop-filter: blur(15px); }
  .language-switcher { position: relative; z-index: 4; margin-left: auto; }
  .menu-button { display: block; position: relative; z-index: 4; flex: 0 0 auto; }
  .menu-button.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button.active span:nth-child(2) { opacity: 0; }
  .menu-button.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 15px; height: 100dvh; overflow-y: auto; margin: 0; padding: max(102px, calc(env(safe-area-inset-top) + 88px)) 24px max(34px, env(safe-area-inset-bottom)); background: rgba(247,250,255,.985); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }
  .site-nav.open { visibility: visible; opacity: 1; pointer-events: auto; }
  .site-nav > a { width: min(100%, 340px); padding: 9px 14px; border-radius: 11px; font-size: 17px; text-align: center; justify-content: center; }
  .site-nav > a:not(.nav-cta):hover, .site-nav > a:not(.nav-cta).active { background: var(--sky); }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .site-nav .nav-cta { margin-top: 8px; padding: 15px 28px; }
  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-notes { justify-content: center; }
  .hero-visual { width: min(500px, 100%); height: 540px; margin: 15px auto 0; }
  .hero-scroll { display: none; }
  .section { padding: 80px 0; }
  .section-heading { margin-bottom: 47px; }
  .app-layout { grid-template-columns: 1fr; }
  .feature-list { order: 2; }
  .app-showcase { order: 1; width: 275px; }
  .download-panel { order: 3; display: block; }
  .download-panel h3, .download-panel p, .store-links { grid-column: auto; grid-row: auto; }
  .video-grid, .lessons-grid, .request-grid { grid-template-columns: 1fr; gap: 55px; }
  .video-copy { text-align: center; }
  .video-links { justify-content: center; }
  .video-frame { order: -1; }
  .lesson-visual { width: min(500px, 93%); margin: 0 auto; }
  .request-copy { position: static; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { min-height: auto; }
  .review-featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-title { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 30px 0; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 22px, 480px); }
  .brand-mark { width: 41px; height: 41px; border-radius: 13px; }
  .brand-mark img { width: 35px; height: 35px; }
  .brand-name { font-size: 10px; }
  .brand-name b { font-size: 12px; }
  .header-inner { gap: 7px; }
  .language-switcher { gap: 1px; padding: 2px; }
  .language-switcher button { min-width: 27px; height: 30px; padding-inline: 4px; font-size: 10px; }
  .menu-button { width: 42px; height: 42px; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-notes { display: grid; gap: 8px; }
  .hero-visual { height: 460px; }
  .phone-front { right: 3%; width: 220px; height: 430px; border-width: 6px; border-radius: 36px; }
  .phone-back { left: 2%; width: 180px; height: 365px; border-width: 6px; border-radius: 33px; }
  .floating-card { left: 2%; bottom: 0; width: 205px; }
  .math-chip { display: none; }
  .section { padding: 66px 0; }
  .section-heading h2, .lessons-copy h2, .request-copy h2, .contact-title h2 { font-size: 34px; }
  .video-copy h2 { font-size: 34px; }
  .feature-card { padding: 18px; }
  .lesson-visual { min-height: 420px; }
  .lesson-window { inset: 25px 0 22px; }
  .badge-live { right: -5px; }
  .badge-scale { left: -5px; }
  .lessons-copy { margin-top: 10px; }
  .request-form { padding: 21px; border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .person-card { grid-template-columns: 100px 1fr; gap: 15px; }
  .person-card > img { width: 100px; height: 140px; }
  .person-card h3 { font-size: 19px; }
  .footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
/* Bot trap used by the Cloudflare form endpoint. */
.form-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
