:root {
  --primary: #155e75;
  --primary-deep: #0e4759;
  --primary-soft: #e0f2fe;
  --secondary: #e68a35;
  --secondary-deep: #c96b17;
  --secondary-soft: #fff7ed;
  --ink: #102a35;
  --muted: #60727c;
  --canvas: #f1f5f9;
  --surface: #f8fafc;
  --white: #ffffff;
  --line: #dce6eb;
  --green: #15803d;
  --green-soft: #ecfdf5;
  --purple: #7e22ce;
  --purple-soft: #f3e8ff;
  --red-soft: #fee2e2;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 24px 70px rgba(15, 64, 80, 0.14);
  --shadow-small: 0 12px 35px rgba(15, 64, 80, 0.1);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--canvas); color: var(--ink); font-family: Inter, ui-rounded, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; z-index: 999; top: -100px; left: 16px; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: white; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 80px; display: flex; align-items: center; transition: background 0.25s, box-shadow 0.25s; }
.site-header.scrolled { background: rgba(248, 250, 252, 0.91); box-shadow: 0 1px 0 rgba(16, 42, 53, 0.08); backdrop-filter: blur(16px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 0; }
.brand-logo { display: block; width: 170px; max-width: 100%; height: auto; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 29px; font-size: 15px; font-weight: 700; }
.main-nav > a:not(.nav-download) { position: relative; }
.main-nav > a:not(.nav-download)::after { content: ""; position: absolute; right: 100%; bottom: -6px; left: 0; height: 2px; border-radius: 2px; background: var(--secondary); transition: right 0.2s; }
.main-nav > a:not(.nav-download):hover::after { right: 0; }
.nav-download { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 18px; border-radius: 13px; background: var(--primary); color: white; box-shadow: 0 4px 0 var(--primary-deep); }
.nav-download:hover { transform: translateY(1px); box-shadow: 0 3px 0 var(--primary-deep); }
.nav-download span { color: #7dd3fc; }
.menu-toggle { display: none; border: 0; padding: 8px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); transition: 0.2s; }

.hero { position: relative; min-height: 1080px; display: flex; align-items: center; padding: 136px 0 78px; overflow: hidden; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.07fr 0.93fr; align-items: center; gap: 72px; }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--primary); font-size: 13px; font-weight: 850; letter-spacing: 1.45px; text-transform: uppercase; }
.kicker span { width: 24px; height: 3px; border-radius: 2px; background: var(--secondary); }
.kicker.light { color: #c4dce4; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; }
h1 { font-size: clamp(50px, 5.2vw, 74px); line-height: 1; letter-spacing: -0.058em; }
h1 em, h2 em { color: var(--secondary-deep); font-style: normal; }
.hero-lead { max-width: 650px; margin: 28px 0 18px; color: var(--muted); font-size: 19px; line-height: 1.68; }
.store-row { display: flex; align-items: center; gap: 8px; margin: -4px -15px; }
.store-badge-link { display: inline-flex; align-items: center; justify-content: center; padding: 15px; border-radius: 12px; line-height: 0; transition: transform 0.2s ease, filter 0.2s ease; }
.store-badge-link:hover { filter: brightness(1.08); transform: translateY(-2px); }
.store-badge-link:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }
.store-badge-link img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.store-badge-link[data-store="ios"] img { height: 70px; }
.store-badge-link[data-store="android"] img { height: 104px; }
.store-badge-link.compact { width: 132px; height: 72px; align-items: center; justify-content: flex-start; padding: 3px 0; }
.store-badge-link.compact[data-store="ios"] img { height: 44px; }
.store-badge-link.compact[data-store="android"] img { width: 150.77px; height: auto; max-width: none; flex: 0 0 auto; transform: translateX(-9.57px); }
.store-download-grid { width: min(560px, 100%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; }
.store-download-option { display: grid; grid-template-rows: 132px auto; justify-items: center; }
.store-download-option .store-badge-link { width: 100%; height: 132px; align-items: center; padding: 14px 0; }
.qr-card { width: 230px; padding: 12px 12px 14px; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--ink); text-align: center; box-shadow: var(--shadow-small); }
.qr-code { width: 204px; height: 204px; display: grid; place-items: center; padding: 20px; background: white; }
.qr-code canvas, .qr-code img { display: block; width: 164px !important; height: 164px !important; image-rendering: pixelated; }
.qr-code-error { align-content: center; color: #b42318; font-size: 13px; line-height: 1.45; }
.qr-card strong, .qr-card small { display: block; }
.qr-card strong { margin-top: 9px; font-size: 14px; }
.qr-card small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.store-note { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.store-note span { color: var(--green); font-weight: 900; }
.store-note i { color: #b7c3c9; font-style: normal; }
.hero-facts { max-width: 650px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 0; padding: 21px 13px; border: 1px solid rgba(21,94,117,0.1); border-radius: 20px; background: rgba(255,255,255,0.62); box-shadow: 0 12px 35px rgba(15,64,80,0.06); backdrop-filter: blur(10px); }
.hero-facts div { min-width: 0; padding: 2px 18px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border: 0; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { min-height: 1.25em; color: var(--primary); font-size: clamp(26px, 2.1vw, 32px); line-height: 1.15; letter-spacing: -0.8px; font-variant-numeric: tabular-nums; }
.hero-facts span { margin-top: 7px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.hero-facts [data-counter] { white-space: nowrap; }
.hero-facts.is-counter-ready [data-offline-reveal] { opacity: 0; transform: translateY(8px); }
.hero-facts.is-counter-ready.is-animated [data-offline-reveal] { opacity: 1; transform: none; transition: opacity 0.75s ease 0.35s, transform 0.75s ease 0.35s; }
.hero-orbs { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; contain: layout paint style; }
.hero-orb { position: absolute; display: block; border-radius: 50%; pointer-events: none; }
.hero-orb-base { opacity: 1; }
.orb-base-one { width: 490px; height: 490px; top: -130px; right: -160px; background: rgba(14,165,233,0.085); }
.orb-base-two { width: 220px; height: 220px; bottom: -75px; left: -105px; background: rgba(230,138,53,0.085); }
.hero-orb-moving { opacity: 0; will-change: transform, opacity; }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.hero-visual > .hero-facts { width: 100%; margin: 0 0 24px; border-color: rgba(21,94,117,0.055); background: rgba(255,255,255,0.18); box-shadow: none; backdrop-filter: blur(3px); }
.hero-visual > .hero-facts div { border-color: rgba(21,94,117,0.09); }
.hero-device-stage { position: relative; width: 100%; min-height: 635px; display: flex; justify-content: center; }
.visual-halo { position: absolute; width: 465px; height: 465px; top: 68px; border-radius: 50%; background: var(--primary-soft); }
.phone { position: relative; z-index: 2; width: 334px; padding: 8px; border: 3px solid #0a2731; border-radius: 46px; background: #dfe8ec; box-shadow: 0 32px 78px rgba(8, 44, 56, 0.24); }
.phone-hero { transform: rotate(2deg); }
.phone-frame { min-height: 602px; border-radius: 36px; background: var(--surface); overflow: hidden; }
.phone-status { position: absolute; z-index: 5; top: 16px; left: 25px; right: 25px; display: flex; align-items: flex-start; justify-content: space-between; color: #0a2731; font-size: 8px; font-weight: 800; }
.phone-status i { width: 77px; height: 20px; margin-top: -4px; border-radius: 20px; background: #07171d; }
.app-screen { min-height: 600px; padding: 47px 17px 20px; }
.app-header { display: flex; align-items: center; justify-content: space-between; }
.app-brand-mini { display: flex; align-items: center; gap: 8px; }
.app-brand-mini img { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 4px 10px rgba(21,94,117,0.16); }
.app-header strong, .app-header small { display: block; }
.app-header strong { font-size: 15px; }
.app-header small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.app-header > span { color: var(--muted); font-size: 20px; }
.progress-card { position: relative; margin: 17px 0; padding: 16px; border-radius: 18px; background: var(--primary); color: white; box-shadow: 0 9px 26px rgba(21, 94, 117, 0.2); }
.progress-card small { color: rgba(255,255,255,0.72); font-size: 7px; font-weight: 800; letter-spacing: 0.8px; }
.progress-card strong { display: block; margin: 8px 0 10px; color: white; font-size: 23px; }
.progress-card strong span { color: rgba(255,255,255,0.74); font-size: 9px; font-weight: 500; }
.plan-card-heading { display: flex; align-items: center; justify-content: space-between; }
.plan-card-heading > span { padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,0.14); color: #d9f4fc; font-size: 6px; font-weight: 850; letter-spacing: 0.5px; }
.progress-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.22); }
.progress-track i { display: block; width: 70%; height: 100%; border-radius: inherit; background: var(--secondary); }
.progress-card footer { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.82); font-size: 7px; }
.progress-card .goal-current { display: inline; min-width: 2ch; color: white; font-size: inherit; font-weight: inherit; font-variant-numeric: tabular-nums; }
.progress-card footer b, .mode-card [data-counter], .floating-chip [data-counter] { font: inherit; font-variant-numeric: tabular-nums; }
.progress-card footer b { display: inline-block; min-width: 2ch; text-align: right; }
.mode-card [data-counter] { display: inline-block; min-width: 3ch; text-align: right; }
.app-label { margin: 14px 0 7px; font-size: 9px; font-weight: 800; }
.subject-switch { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5px; padding: 4px; border-radius: 11px; background: #e7edf0; }
.subject-switch span { padding: 8px 4px; border-radius: 8px; color: var(--muted); text-align: center; font-size: 7px; font-weight: 700; }
.subject-switch span.active { background: white; color: var(--primary); box-shadow: 0 2px 8px rgba(15, 64, 80, 0.09); }
.mode-label { margin-top: 17px; }
.mode-card { display: grid; grid-template-columns: 33px 1fr auto; align-items: center; gap: 9px; margin-top: 8px; padding: 9px 11px; border: 1px solid rgba(16,42,53,0.06); border-radius: 13px; background: white; box-shadow: 0 5px 16px rgba(15,64,80,0.06); }
.mode-card > span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; color: var(--primary); font-size: 14px; }
.mode-card strong, .mode-card small { display: block; }
.mode-card strong { font-size: 9px; }
.mode-card small { margin-top: 2px; color: var(--muted); font-size: 6px; }
.mode-card > b { color: var(--muted); font-size: 17px; }
.app-purple > span { background: var(--purple-soft); color: var(--purple); }
.app-blue > span { background: var(--primary-soft); color: var(--primary); }
.app-orange > span { background: var(--secondary-soft); color: var(--secondary-deep); }
.collections-label { margin-top: 15px; }
.app-collections { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.app-collections > div { display: grid; grid-template-columns: 28px 1fr 8px; align-items: center; gap: 7px; min-width: 0; padding: 8px; border: 1px solid rgba(16,42,53,0.06); border-radius: 12px; background: white; box-shadow: 0 4px 14px rgba(15,64,80,0.05); }
.app-collections strong, .app-collections small { display: block; min-width: 0; }
.app-collections strong { font-size: 7px; }
.app-collections small { grid-column: 2; margin-top: -11px; color: var(--muted); font-size: 5px; }
.app-collections small b { font: inherit; }
.app-collections i { grid-column: 3; grid-row: 1 / span 2; color: #93a6ae; font-size: 13px; font-style: normal; }
.collection-symbol { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; font-size: 12px; font-weight: 900; }
.collection-symbol.replay { background: var(--green-soft); color: var(--green); }
.collection-symbol.saved { background: var(--secondary-soft); color: var(--secondary-deep); }
.floating-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(21,94,117,0.1); border-radius: 15px; background: rgba(255,255,255,0.95); box-shadow: var(--shadow-small); backdrop-filter: blur(8px); }
.floating-chip > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: var(--secondary-soft); }
.floating-chip strong, .floating-chip small { display: block; }
.floating-chip strong { font-size: 13px; }
.floating-chip strong [data-counter] { display: inline-block; min-width: 2ch; text-align: right; }
.floating-chip small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.chip-streak { top: 92px; left: -13px; transform: rotate(-5deg); }
.chip-result { right: -8px; bottom: 125px; transform: rotate(5deg); }
.chip-result > span { background: var(--green-soft); color: var(--green); }
.dot-field { position: absolute; width: 135px; height: 105px; right: -3px; bottom: 25px; opacity: 0.45; background-image: radial-gradient(rgba(21,94,117,0.42) 1.25px, transparent 1.25px); background-size: 15px 15px; }

.trust-bar { border-block: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 15px; border-right: 1px solid var(--line); font-size: 15px; }
.trust-grid div:last-child { border: 0; }
.trust-grid span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-weight: 900; }

.features, .catalog, .statistics { background: white; }
.section-heading { margin-bottom: 58px; }
.section-heading.centered { max-width: 790px; margin-inline: auto; text-align: center; }
.section-heading h2, .how-copy h2, .statistics-copy h2, .faq-copy h2, .download h2 { font-size: clamp(40px, 4.35vw, 61px); line-height: 1.05; letter-spacing: -0.052em; }
.section-heading > p:last-child { max-width: 700px; margin: 21px auto 0; color: var(--muted); font-size: 18px; line-height: 1.68; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card { position: relative; min-height: 430px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.feature-main { grid-column: 1 / -1; min-height: 510px; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; background: #f0f9ff; }
.feature-main .feature-copy { align-self: start; }
.feature-index { position: absolute; top: 28px; right: 29px; color: #9eafb7; font-size: 11px; font-weight: 900; letter-spacing: 1px; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 15px; font-size: 21px; font-weight: 800; }
.feature-icon.blue { background: var(--primary-soft); color: var(--primary); }
.feature-icon.green { background: var(--green-soft); color: var(--green); }
.feature-icon.orange { background: var(--secondary-soft); color: var(--secondary-deep); }
.feature-icon.purple { background: var(--purple-soft); color: var(--purple); }
.feature-card h3 { font-size: 27px; }
.feature-card p { max-width: 470px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 23px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 8px 12px; border: 1px solid #cde5ef; border-radius: 20px; background: white; color: var(--primary); font-size: 13px; font-weight: 800; }
.mode-stack { width: 400px; margin: 0 auto; align-self: center; transform: rotate(2deg); }
.stack-card { position: relative; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; margin-top: -3px; padding: 15px 18px; border: 1px solid rgba(16,42,53,0.06); border-radius: 17px; box-shadow: 0 12px 30px rgba(15,64,80,0.1); }
.stack-card:nth-child(2) { margin-left: 24px; }
.stack-card:nth-child(3) { margin-left: 48px; }
.stack-card > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,0.72); font-weight: 900; }
.stack-card b, .stack-card small { display: block; }
.stack-card b { font-size: 15px; }
.stack-card small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.stack-card.purple { background: var(--purple-soft); color: var(--purple); }
.stack-card.blue { background: var(--primary-soft); color: var(--primary); }
.stack-card.orange { background: var(--secondary-soft); color: var(--secondary-deep); }
.collection-preview { margin-top: 28px; padding: 17px; border: 1px solid rgba(16,42,53,0.06); border-radius: 18px; background: white; box-shadow: 0 8px 24px rgba(15,64,80,0.07); }
.collection-preview > strong { display: block; margin-bottom: 11px; color: var(--ink); font-size: 13px; }
.collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.collection-card { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; min-width: 0; padding: 12px; border-radius: 14px; background: var(--surface); }
.collection-card .collection-symbol { width: 38px; height: 38px; border-radius: 12px; font-size: 16px; }
.collection-card p { min-width: 0; margin: 0; line-height: 1.25; }
.collection-card b, .collection-card small { display: block; }
.collection-card b { color: var(--ink); font-size: 13px; }
.collection-card small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.collection-card i { color: #93a6ae; font-size: 20px; font-style: normal; }
.feature-dark { background: var(--primary-deep); color: white; border-color: var(--primary-deep); }
.feature-dark .feature-index { color: #7598a4; }
.feature-dark p { color: #bdd1d8; }
.exam-timer { position: absolute; right: 37px; bottom: 40px; left: 37px; display: flex; align-items: center; gap: 9px; }
.exam-timer span { flex: 1; padding: 16px 4px; border-radius: 14px; background: rgba(255,255,255,0.1); text-align: center; }
.exam-timer b, .exam-timer small { display: block; }
.exam-timer b { color: #fed7aa; font-size: 32px; }
.exam-timer small { margin-top: 3px; color: #9fb8c1; font-size: 7px; }
.exam-timer > i { color: var(--secondary); font-size: 23px; font-style: normal; }
.feature-plan { grid-column: 1 / -1; min-height: 530px; display: grid; grid-template-columns: 0.86fr 1.14fr; align-items: center; gap: 58px; background: linear-gradient(135deg, #f8fafc 0%, #eef8fb 100%); }
.plan-feature-copy { position: relative; z-index: 1; }
.feature-eyebrow { margin: 0 0 9px !important; color: var(--primary) !important; font-size: 13px !important; font-weight: 850; letter-spacing: 0.9px; text-transform: uppercase; }
.plan-feature-copy > p:not(.feature-eyebrow) { margin-bottom: 23px; }
.plan-download-link { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-size: 15px; font-weight: 850; }
.plan-download-link span { transition: transform 0.2s ease; }
.plan-download-link:hover span { transform: translateX(4px); }
.mobile-only-note { display: block; max-width: 450px; margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.study-plan-preview { position: relative; padding: 25px; border: 1px solid rgba(21,94,117,0.09); border-radius: 24px; background: white; box-shadow: 0 24px 55px rgba(15,64,80,0.13); }
.study-plan-head, .study-plan-date, .plan-progress-copy, .plan-update-note { display: flex; align-items: center; justify-content: space-between; }
.study-plan-head small, .study-plan-head strong { display: block; }
.study-plan-head small { color: var(--primary); font-size: 8px; font-weight: 850; letter-spacing: 0.8px; }
.study-plan-head strong { margin-top: 4px; font-size: 22px; }
.study-plan-head > span { padding: 7px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 850; }
.study-plan-date { gap: 12px; margin-top: 20px; padding: 15px; border-radius: 16px; background: var(--primary); color: white; }
.study-plan-date > span { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 12px; background: rgba(255,255,255,0.13); color: #fed7aa; }
.study-plan-date > div { flex: 1; }
.study-plan-date small, .study-plan-date strong { display: block; }
.study-plan-date small { color: #bedde7; font-size: 7px; font-weight: 800; letter-spacing: 0.7px; }
.study-plan-date strong { margin-top: 3px; font-size: 15px; }
.study-plan-date > b { padding: 7px 9px; border-radius: 10px; background: rgba(255,255,255,0.12); color: white; font-size: 11px; }
.study-plan-today { margin-top: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.plan-progress-copy small, .plan-progress-copy strong { display: block; }
.plan-progress-copy small { color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: 0.7px; }
.plan-progress-copy strong { margin-top: 4px; font-size: 16px; }
.plan-progress-copy > span { color: var(--primary); font-size: 14px; font-weight: 850; }
.plan-progress-track { height: 7px; margin-top: 12px; border-radius: 7px; background: #dae7ec; overflow: hidden; }
.plan-progress-track i { display: block; width: 70%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--secondary), #f6b36f); }
.study-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin-top: 14px; }
.study-week div { min-width: 0; padding: 9px 3px; border: 1px solid var(--line); border-radius: 11px; background: white; text-align: center; }
.study-week span, .study-week b { display: block; }
.study-week span { color: var(--muted); font-size: 8px; }
.study-week b { margin-top: 5px; color: var(--ink); font-size: 11px; }
.study-week .done { background: var(--green-soft); border-color: transparent; }
.study-week .done b { color: var(--green); }
.study-week .current { background: var(--primary-soft); border-color: #b8e0ee; }
.study-week .current span, .study-week .current b { color: var(--primary); }
.plan-update-note { justify-content: flex-start; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan-update-note > span { width: 32px; height: 32px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--purple-soft); color: var(--purple); font-weight: 900; }
.plan-update-note p { margin: 0; line-height: 1.35; }
.plan-update-note strong, .plan-update-note small { display: block; }
.plan-update-note strong { color: var(--ink); font-size: 12px; }
.plan-update-note small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.how { background: var(--canvas); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.learning-visual { position: relative; min-height: 675px; display: flex; justify-content: center; padding: 28px; }
.soft-shape { position: absolute; inset: 9% 3%; border-radius: 48% 52% 43% 57%; background: #e0f2fe; transform: rotate(-7deg); }
.phone-learning { width: 315px; transform: rotate(-3deg); }
.question-screen { padding-inline: 19px; }
.question-top { display: flex; align-items: center; gap: 12px; }
.question-top > span { font-size: 18px; }
.question-top > div { flex: 1; height: 7px; border-radius: 7px; background: #dfe8ec; }
.question-top > div i { display: block; height: 100%; border-radius: inherit; background: var(--secondary); }
.question-top > b { font-size: 8px; }
.question-source { display: inline-block; margin-top: 34px; color: var(--primary); font-size: 7px; font-weight: 850; letter-spacing: 0.8px; }
.question-screen h3 { margin: 15px 0 22px; font-size: 17px; line-height: 1.43; letter-spacing: -0.4px; }
.question-screen > button { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; margin: 9px 0; padding: 11px; border: 1.5px solid var(--line); border-radius: 12px; background: white; color: var(--ink); text-align: left; font-size: 9px; }
.question-screen > button b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--canvas); color: var(--muted); }
.question-screen > button.selected { border-color: #22c55e; background: var(--green-soft); }
.question-screen > button.selected i { color: var(--green); font-style: normal; font-weight: 900; }
.feedback { position: relative; margin-top: 21px; padding: 14px; border-radius: 13px; background: var(--green-soft); }
.feedback strong { color: var(--green); font-size: 10px; }
.feedback > span { float: right; color: var(--green); font-weight: 900; }
.feedback p { margin: 7px 0 0; color: #4c6f59; font-size: 8px; line-height: 1.45; }
.float-label { position: absolute; z-index: 4; padding: 11px 15px; border-radius: 11px; background: white; box-shadow: var(--shadow-small); font-size: 10px; font-weight: 850; }
.label-correct { top: 29%; right: 0; color: var(--green); transform: rotate(7deg); }
.label-offline { bottom: 18%; left: 0; color: var(--primary); transform: rotate(-6deg); }
.steps { margin: 40px 0; }
.steps article { position: relative; display: grid; grid-template-columns: 45px 1fr; gap: 19px; padding-bottom: 29px; }
.steps article::before { content: ""; position: absolute; top: 49px; bottom: 5px; left: 22px; width: 1px; background: #ccdce2; }
.steps article:last-child::before { display: none; }
.steps article > span { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--primary); font-weight: 850; }
.steps article.active > span { border-color: var(--secondary); background: var(--secondary); color: white; box-shadow: 0 4px 0 var(--secondary-deep); }
.steps h3 { margin: 3px 0 7px; font-size: 20px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; gap: 13px; min-height: 54px; padding: 0 23px; border-radius: 14px; font-size: 15px; font-weight: 800; }
.primary-button { background: var(--primary); color: white; box-shadow: 0 5px 0 var(--primary-deep); }
.primary-button:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--primary-deep); }
.web-disclaimer { max-width: 470px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.62; }

.catalog { padding-block: 96px; }
.catalog-heading { max-width: 1000px; margin-bottom: 0; }
.catalog-heading h2 { max-width: 1000px; }
.catalog-heading > p:last-child { max-width: 850px; margin: 26px 0 0; }
.statistics { padding-top: 45px; }
.statistics-shell { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 46px; padding: 66px 0 0 65px; border-radius: var(--radius-lg); background: var(--primary-deep); color: white; overflow: hidden; }
.statistics-copy { padding-bottom: 66px; }
.statistics-copy h2 em, .download h2 em { color: #fdba74; }
.statistics-copy > p:not(.kicker) { color: #bed2d9; font-size: 17px; line-height: 1.68; }
.statistics-copy ul { margin: 25px 0; padding: 0; list-style: none; }
.statistics-copy li { display: flex; gap: 10px; margin: 13px 0; color: #d2e1e6; font-size: 15px; }
.statistics-copy li span { color: #fdba74; }
.secondary-button { margin-top: 10px; background: white; color: var(--primary-deep); }
.dashboard { align-self: end; margin-top: 64px; padding: 29px; border-radius: 24px 0 0 0; background: var(--surface); color: var(--ink); box-shadow: -30px -20px 70px rgba(0,0,0,0.17); }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; }
.dashboard-head small { color: var(--primary); font-size: 7px; font-weight: 850; letter-spacing: 0.8px; }
.dashboard-head h3 { margin-top: 4px; font-size: 19px; }
.dashboard-head > span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 8px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 20px 0; }
.metric-grid > div { position: relative; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.metric-grid > div > span { position: absolute; top: 11px; right: 11px; color: var(--primary); font-size: 13px; }
.metric-grid small, .metric-grid strong, .metric-grid em { display: block; }
.metric-grid small { color: var(--muted); font-size: 7px; }
.metric-grid strong { margin: 7px 0; font-size: 21px; }
.metric-grid em { color: var(--green); font-size: 6px; font-style: normal; }
.chart-card { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.chart-title { display: flex; justify-content: space-between; font-size: 9px; }
.chart-title span { color: var(--muted); font-size: 7px; }
.chart-title i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); }
.bar-chart { height: 135px; display: flex; align-items: flex-end; gap: 13px; margin-top: 12px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(0deg, transparent, transparent 43px, #edf2f4 44px); }
.bar-chart i { flex: 1; height: var(--height); border-radius: 5px 5px 0 0; background: linear-gradient(#f3ad67, var(--secondary)); }
.chart-labels { display: flex; justify-content: space-around; margin-top: 6px; color: var(--muted); font-size: 6px; }
.result-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 13px; padding: 13px; border-radius: 12px; background: var(--primary-soft); }
.result-row > div:first-child { display: flex; align-items: center; gap: 10px; }
.result-ring { width: 45px; height: 45px; display: grid; place-items: center; border: 5px solid var(--primary); border-radius: 50%; color: var(--primary); font-size: 9px; font-weight: 850; }
.result-row p { margin: 0; }
.result-row p strong, .result-row p small { display: block; }
.result-row p strong { font-size: 9px; }
.result-row p small { margin-top: 3px; color: var(--muted); font-size: 6px; }
.mini-results { display: flex; gap: 7px; }
.mini-results span { padding: 7px 9px; border-radius: 8px; background: white; color: var(--muted); font-size: 6px; }
.mini-results b { color: var(--primary); font-size: 9px; }

.faq { background: white; }
.faq-grid { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 110px; }
.faq-copy > p:not(.kicker) { max-width: 410px; color: var(--muted); font-size: 17px; line-height: 1.68; }
.faq-copy > a { display: inline-flex; gap: 12px; margin-top: 14px; color: var(--primary); font-size: 15px; font-weight: 850; }
.faq-copy > a span { color: var(--secondary); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font-size: 17px; line-height: 1.45; font-weight: 780; }
.faq-item button:focus-visible { outline: 3px solid rgba(21,94,117,0.3); outline-offset: 4px; border-radius: 8px; }
.faq-item button i { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; }
.faq-item.open button i { border-color: var(--secondary); background: var(--secondary); color: white; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; }
.faq-answer p { min-height: 0; margin: 0; overflow: hidden; color: var(--muted); font-size: 16px; line-height: 1.68; }
.faq-answer a { color: var(--primary); font-weight: 800; text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--primary-deep); }
.faq-answer a:focus-visible { outline: 3px solid rgba(21,94,117,0.25); outline-offset: 3px; border-radius: 3px; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer p { padding: 0 50px 23px 0; }

.contact { background: var(--canvas); }
.contact-shell { display: grid; grid-template-columns: 0.75fr 1.25fr; align-items: start; gap: 82px; }
.contact-copy { position: sticky; top: 120px; }
.contact-copy h2 { font-size: clamp(40px, 4.35vw, 61px); line-height: 1.05; letter-spacing: -0.052em; }
.contact-copy > p:not(.kicker) { max-width: 430px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.68; }
.contact-note { max-width: 430px; display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; padding: 18px; border-radius: 16px; background: var(--primary-soft); }
.contact-note > span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: white; font-weight: 900; }
.contact-note p { margin: 0; color: #43606c; font-size: 14px; line-height: 1.6; }
.contact-form { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 38px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow-small); }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-field { min-width: 0; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 800; }
.form-field input:not([type="checkbox"]), .form-field textarea { width: 100%; border: 1.5px solid #cbd8de; border-radius: 13px; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.55; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.form-field input:not([type="checkbox"]) { min-height: 55px; padding: 0 16px; }
.form-field textarea { min-height: 164px; padding: 14px 16px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(21,94,117,0.12); }
.field-error { display: none; margin-top: 7px; color: #b42318; font-size: 13px; line-height: 1.45; }
.contact-form.was-validated input:invalid:not([type="checkbox"]), .contact-form.was-validated textarea:invalid { border-color: #dc2626; background: #fff7f7; }
.contact-form.was-validated input:invalid + .field-error, .contact-form.was-validated textarea:invalid + .field-error, .contact-form.was-validated .consent-field:has(input:invalid) .field-error { display: block; }
.consent-field label { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.58; font-weight: 500; cursor: pointer; }
.consent-field input { width: 21px; height: 21px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--primary); }
.consent-field input:focus-visible { outline: 3px solid rgba(21,94,117,0.25); outline-offset: 3px; }
.consent-field a { color: var(--primary); font-weight: 750; text-underline-offset: 3px; }
.form-actions { display: flex; align-items: center; gap: 20px; }
.form-submit { min-height: 55px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--primary); color: white; box-shadow: 0 5px 0 var(--primary-deep); cursor: pointer; font-size: 15px; font-weight: 850; }
.form-submit:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--primary-deep); }
.form-submit:focus-visible { outline: 3px solid var(--secondary); outline-offset: 4px; }
.form-submit:disabled { opacity: 0.72; cursor: wait; transform: none; box-shadow: 0 2px 0 var(--primary-deep); }
.form-status { flex: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.form-status.success { padding: 12px 14px; border-radius: 12px; background: #e9f8ef; color: #166534; }
.form-status.error { color: #b42318; }

.download { padding: 42px 0 100px; background: white; }
.download-shell { padding: 76px 72px; border-radius: var(--radius-lg); background: var(--primary-deep); color: white; }
.download-copy { width: 100%; text-align: center; }
.download-copy .kicker { justify-content: center; }
.download-copy > p:not(.kicker) { max-width: 700px; margin: 21px auto 30px; color: #bed2d9; font-size: 18px; line-height: 1.68; }
.download-copy > .download-benefit { margin-bottom: 10px; }
.download-copy > .download-instruction { max-width: 680px; margin-top: 0; color: #a9c0c8; font-size: 16px; }
.download-store-grid { margin-inline: auto; }
.stub-note { display: block; margin: 24px auto 0; color: #a9c0c8; font-size: 13px; line-height: 1.55; }
.stub-note code { color: #fdba74; }
.knf-disclaimer { display: block; margin: 9px auto 0; color: #8caab4; font-size: 12px; line-height: 1.55; }

.site-footer { padding: 68px 0 25px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 52px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer-grid > div > strong { margin-bottom: 5px; }
.footer-grid > div > a, .footer-grid > div > span { color: var(--muted); }
.footer-grid > div > a:hover { color: var(--primary); }
.footer-grid > div > small { color: #8499a3; font-size: 12px; line-height: 1.55; }
.footer-brand .brand-logo { width: 156px; }
.footer-brand p { max-width: 310px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 52px; padding-top: 21px; border-top: 1px solid var(--line); color: #768b95; font-size: 12px; }
.trademark-note { margin-top: 16px; color: #8799a2; font-size: 12px; line-height: 1.6; }
.toast { position: fixed; z-index: 200; right: 24px; bottom: 24px; max-width: min(390px, calc(100% - 32px)); padding: 15px 19px; border-radius: 13px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 14px; line-height: 1.5; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(20px); transition: 0.25s; }
.toast.visible { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0.12s; }

@media (max-width: 980px) {
  .section { padding: 86px 0; }
  .site-header { height: 70px; }
  .site-header .brand-logo { width: 155px; }
  .menu-toggle { position: relative; z-index: 102; display: block; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: 101; inset: 0; flex-direction: column; justify-content: center; gap: 27px; background: var(--surface); font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(-14px); transition: 0.25s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-download { min-height: 50px; }
  .hero { min-height: auto; padding-top: 125px; }
  .hero-grid, .how-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .kicker, .store-row, .store-note, .hero-facts { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-facts { margin-inline: auto; text-align: left; }
  .hero-store-grid { margin-inline: auto; }
  .hero-visual { width: min(650px, 100%); margin: 40px auto 0; }
  .feature-main { grid-template-columns: 1fr; min-height: auto; align-items: start; row-gap: 48px; }
  .feature-main .mode-stack { align-self: start; }
  .feature-plan { grid-template-columns: 1fr; min-height: auto; gap: 42px; }
  .study-plan-preview { width: min(100%, 620px); }
  .how-grid { gap: 58px; }
  .how-copy { max-width: 650px; margin-inline: auto; }
  .statistics-shell { grid-template-columns: 1fr; padding: 55px 0 0 55px; }
  .statistics-copy { padding: 0 55px 0 0; }
  .dashboard { width: 95%; margin-top: 0; justify-self: end; }
  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-copy { max-width: 630px; }
  .contact-shell { grid-template-columns: 1fr; gap: 48px; }
  .contact-copy { position: static; max-width: 650px; }
  .download-shell { padding: 64px 48px; }
  .footer-grid { grid-template-columns: 1.45fr repeat(2, 1fr); }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 580px); }
  .section { padding: 70px 0; }
  .site-header .brand-logo { width: 142px; }
  .hero { padding-top: 105px; }
  h1 { font-size: clamp(42px, 12vw, 58px); letter-spacing: -0.05em; }
  .hero-lead { font-size: 17px; line-height: 1.65; }
  .store-download-grid { grid-template-columns: 1fr; justify-items: center; }
  .store-row { flex-direction: column; align-items: center; }
  .store-row { gap: 0; margin-block: 0; }
  .hero-facts { padding: 17px 9px; }
  .hero-facts div { padding-inline: 13px; }
  .hero-facts strong { font-size: clamp(22px, 6.5vw, 26px); }
  .hero-facts span { font-size: 14px; }
  .hero-visual { width: 100%; margin-top: 40px; }
  .hero-device-stage { width: calc(100% + 52px); min-height: 575px; margin-inline: -26px; transform: scale(0.9); transform-origin: top center; }
  .chip-streak { left: 20px; }
  .chip-result { right: 20px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .how-copy h2, .statistics-copy h2, .faq-copy h2, .contact-copy h2, .download h2 { font-size: clamp(35px, 10vw, 47px); letter-spacing: -0.046em; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px; }
  .feature-main { grid-template-columns: 1fr; min-height: auto; row-gap: 38px; }
  .feature-plan { gap: 32px; }
  .study-plan-preview { padding: 18px; }
  .study-week { gap: 4px; }
  .study-week div { padding-inline: 1px; }
  .plan-update-note small { font-size: 9px; }
  .mode-stack { width: min(100%, 340px); }
  .stack-card:nth-child(n) { margin-left: 0; }
  .exam-timer { right: 28px; left: 28px; }
  .exam-timer b { font-size: 25px; }
  .learning-visual { min-height: 640px; margin-inline: -10px; padding-inline: 0; }
  .label-correct { right: -2px; }
  .label-offline { left: -2px; }
  .catalog { padding-block: 70px; }
  .statistics { padding-top: 10px; }
  .statistics-shell { padding: 42px 0 0 25px; border-radius: 24px; }
  .statistics-copy { padding: 0 25px 0 0; }
  .dashboard { width: 100%; padding: 17px; overflow: hidden; }
  .metric-grid { gap: 5px; }
  .metric-grid > div { padding: 9px; }
  .metric-grid > div > span { display: none; }
  .metric-grid strong { font-size: 17px; }
  .bar-chart { height: 105px; gap: 8px; }
  .result-row { align-items: flex-start; }
  .mini-results { display: grid; }
  .faq-item button { font-size: 17px; }
  .contact-form { grid-template-columns: 1fr; padding: 25px; }
  .form-field, .form-field-full { grid-column: 1; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-submit { width: 100%; }
  .download { padding-bottom: 70px; }
  .download-shell { padding: 48px 25px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 38px 24px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 20px; line-height: 1.5; }
  .trademark-note { font-size: 12px; }
  .toast { right: 16px; bottom: 16px; }
}

@media (max-width: 390px) {
  .hero-facts { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; }
  .hero-facts div { padding: 12px; }
  .hero-facts div:nth-child(2) { border-right: 0; }
  .hero-facts div:last-child { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid var(--line); text-align: center; }
  .phone { width: 310px; }
  .study-plan-date { align-items: flex-start; flex-wrap: wrap; }
  .study-plan-date > b { margin-left: 50px; }
  .question-screen h3 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-orb-moving { display: none !important; }
  .hero-facts [data-offline-reveal] { opacity: 1 !important; transform: none !important; }
}

.reduced-motion .hero-orb-moving { display: none !important; }
.reduced-motion .hero-facts [data-offline-reveal] { opacity: 1 !important; transform: none !important; }
