:root {
    --ink: #172b2c;
    --muted: #667372;
    --paper: #f5f1e8;
    --surface: #fffdf8;
    --line: #dcd8cf;
    --green: #245b50;
    --green-dark: #153d37;
    --lime: #cbe85d;
    --mint: #bfe4d3;
    --sun: #f5d36a;
    --sky: #aad8e4;
    --coral: #ef9a78;
    --shadow: 0 24px 60px rgba(31, 54, 51, 0.1);
    --radius-lg: 30px;
    --radius-md: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.site-header {
    width: min(1180px, calc(100% - 48px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(23, 43, 44, 0.14);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.brand__mark {
    width: 35px;
    height: 35px;
    padding: 8px;
    display: grid;
    align-content: center;
    gap: 3px;
    border-radius: 50%;
    background: var(--green);
}

.brand__mark span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--lime);
}

.brand__mark span:nth-child(2) {
    width: 75%;
}

.site-header__note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.hero {
    width: min(1180px, calc(100% - 48px));
    min-height: 610px;
    margin: 0 auto;
    padding: 72px 0 80px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.kicker {
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.kicker span {
    width: 18px;
    height: 2px;
    background: var(--lime);
}

.kicker--light {
    color: #e9f3ef;
}

.hero h1,
.lesson-heading h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 6.4vw, 88px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.hero h1 em {
    color: var(--green);
    font-weight: 400;
}

.hero__lead {
    max-width: 590px;
    margin: 30px 0 34px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.button {
    min-height: 50px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible,
.back-link:focus-visible,
.lesson-card:focus-visible,
.dialog-close:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
    transform: none;
}

.button--primary {
    color: #fff;
    background: var(--green);
    box-shadow: 0 10px 26px rgba(36, 91, 80, 0.2);
}

.button--primary:hover {
    background: var(--green-dark);
}

.button--ghost {
    color: var(--ink);
    border-color: var(--line);
    background: transparent;
}

.hero__visual {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 48% 48% 44% 44%;
    background: var(--green);
}

.hero__visual::before,
.hero__visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--lime);
    opacity: 0.14;
}

.hero__visual::before {
    width: 260px;
    height: 260px;
    top: -100px;
    right: -60px;
}

.hero__visual::after {
    width: 160px;
    height: 160px;
    bottom: -70px;
    left: -30px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.orbit--outer {
    width: 370px;
    height: 370px;
}

.orbit--inner {
    width: 270px;
    height: 270px;
}

.book {
    position: relative;
    z-index: 1;
    width: 280px;
    height: 190px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    filter: drop-shadow(0 24px 18px rgba(6, 29, 26, 0.25));
    transform: rotate(-3deg);
}

.book__page {
    padding: 38px 23px;
    background: #fffdf6;
}

.book__page--left {
    border-radius: 14px 4px 4px 22px;
    transform: perspective(200px) rotateY(5deg);
}

.book__page--right {
    border-radius: 4px 14px 22px 4px;
    transform: perspective(200px) rotateY(-5deg);
}

.book__page i {
    width: 100%;
    height: 4px;
    margin: 0 0 15px;
    display: block;
    border-radius: 4px;
    background: #bed0c9;
}

.book__page i:nth-child(2) { width: 82%; }
.book__page i:nth-child(3) { width: 92%; }
.book__page i:nth-child(4) { width: 60%; }

.visual-chip {
    position: absolute;
    z-index: 2;
    padding: 10px 15px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(6, 29, 26, 0.18);
}

.visual-chip--time {
    top: 72px;
    left: 50px;
    color: var(--green-dark);
    background: var(--lime);
}

.visual-chip--words {
    right: 32px;
    bottom: 66px;
    color: var(--green);
    background: #fff;
}

.reading-diagnostic {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 44px;
    display: grid;
    grid-template-columns: 140px 1fr 320px;
    align-items: start;
    gap: 40px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.reading-diagnostic__badge {
    width: fit-content;
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--green-dark);
    background: var(--lime);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.reading-diagnostic h2,
.reading-contact h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.reading-diagnostic > div > p:last-child {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.reading-diagnostic ul {
    margin: 0;
    padding: 0;
    display: grid;
    list-style: none;
    border-top: 1px solid var(--line);
}

.reading-diagnostic li {
    padding: 15px 0;
    display: grid;
    gap: 4px;
    border-bottom: 1px solid var(--line);
}

.reading-diagnostic li strong { color: var(--green); font-size: 13px; }
.reading-diagnostic li span { color: var(--muted); font-size: 11px; }

.lessons-section,
.how-it-works {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 0;
}

.lessons-section {
    border-top: 1px solid rgba(23, 43, 44, 0.14);
}

.section-heading {
    margin-bottom: 44px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.section-heading--compact {
    justify-content: flex-start;
}

.section-heading h2,
.benchmarks h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 400;
    letter-spacing: -0.045em;
}

.section-heading > p {
    width: 380px;
    margin: 0 0 4px;
    color: var(--muted);
    line-height: 1.55;
}

.lesson-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.lesson-card {
    min-height: 520px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(23, 43, 44, 0.1);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.lesson-card:hover {
    z-index: 1;
    transform: translateY(-8px) rotate(-0.5deg);
    box-shadow: var(--shadow);
}

.lesson-card--mint { background: var(--mint); }
.lesson-card--sun { background: var(--sun); }
.lesson-card--sky { background: var(--sky); }
.lesson-card--coral { background: var(--coral); }

.lesson-card__topline,
.lesson-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lesson-number {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-style: italic;
}

.lesson-grade,
.lesson-card__footer > span:first-child {
    padding: 7px 10px;
    border: 1px solid rgba(23, 43, 44, 0.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.lesson-card__body p {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.lesson-card__body h3 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.lesson-card__body > span {
    font-size: 14px;
    line-height: 1.5;
}

.lesson-card__detail {
    padding: 12px 0;
    display: grid;
    gap: 5px;
    border-top: 1px solid rgba(23, 43, 44, 0.16);
}

.lesson-card__detail small {
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    opacity: 0.64;
}

.lesson-card__detail span { font-size: 12px; line-height: 1.42; }

.lesson-card__detail--live {
    margin-top: 3px;
    padding: 12px;
    border: 0;
    border-radius: 11px;
    color: var(--green-dark);
    background: rgba(255, 255, 255, 0.52);
}

.round-arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    font-size: 20px;
}

.how-it-works {
    padding-top: 45px;
}

.reading-programs {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 80px 0 100px;
}

.reading-program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.reading-program-card {
    min-height: 620px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
}

.reading-program-card--speed { color: #fff; background: var(--green-dark); }
.reading-program-card--speech { color: var(--ink); background: var(--sun); }

.reading-program-card__top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reading-program-card__top span:last-child {
    padding: 7px 10px;
    border: 1px solid currentColor;
    border-radius: 999px;
    opacity: 0.8;
}

.reading-program-card h3 {
    margin: 70px 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(37px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.reading-program-card > p { margin: 0 0 25px; line-height: 1.6; opacity: 0.78; }
.reading-program-card ul { margin: 0 0 30px; padding: 0; list-style: none; }
.reading-program-card li { padding: 13px 0 13px 27px; position: relative; border-bottom: 1px solid currentColor; border-color: rgba(255,255,255,.16); font-size: 13px; line-height: 1.45; }
.reading-program-card--speech li { border-color: rgba(23,43,44,.16); }
.reading-program-card li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 900; }
.reading-program-card--speech li::before { color: var(--green); }
.reading-program-card > a { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid currentColor; color: inherit; font-size: 13px; font-weight: 800; text-decoration: none; }

.reading-contact {
    width: min(1260px, calc(100% - 28px));
    margin: 100px auto 14px;
    padding: 75px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-lg);
    color: #fff;
    background: var(--green-dark);
    text-align: center;
}

.reading-contact h2 { max-width: 880px; font-size: clamp(38px, 5vw, 60px); }
.reading-contact > p:last-child { max-width: 650px; margin: 22px 0 0; color: #bcd0cb; line-height: 1.6; }

.steps {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    border-top: 1px solid var(--line);
}

.steps li {
    min-height: 180px;
    padding: 32px 30px 20px 0;
    display: flex;
    gap: 22px;
    border-right: 1px solid var(--line);
}

.steps li + li {
    padding-left: 30px;
}

.steps li:last-child {
    border-right: 0;
}

.steps__number {
    flex: 0 0 auto;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-style: italic;
}

.steps h3 {
    margin: 3px 0 10px;
    font-size: 17px;
}

.steps p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.benchmarks {
    width: min(1260px, calc(100% - 28px));
    margin: 0 auto 14px;
    padding: 70px max(34px, calc((100% - 1120px) / 2));
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    border-radius: var(--radius-lg);
    color: #fff;
    background: var(--green-dark);
}

.benchmarks > div > p:last-child {
    max-width: 480px;
    color: #bcd0cb;
    line-height: 1.65;
}

.benchmark-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.benchmark-list > div {
    padding: 20px 24px;
    display: grid;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.benchmark-list > div:nth-child(3),
.benchmark-list > div:nth-child(4) {
    border-bottom: 0;
}

.benchmark-list span {
    color: #bcd0cb;
    font-size: 12px;
    text-transform: uppercase;
}

.benchmark-list strong {
    margin: 8px 0 2px;
    color: var(--lime);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 400;
}

.benchmark-list small {
    color: #e3ece9;
}

.site-footer {
    width: min(1180px, calc(100% - 48px));
    min-height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

/* Lesson page */
.lesson-page {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 90px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.lesson-heading {
    margin: 46px 0 42px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
    gap: 50px;
}

.lesson-heading h1 {
    max-width: 750px;
    font-size: clamp(46px, 6vw, 72px);
}

.lesson-heading > p {
    margin: 0 0 4px;
    color: var(--muted);
    line-height: 1.6;
}

.reading-toolbar {
    padding: 16px;
    display: grid;
    grid-template-columns: 130px 130px 1fr auto;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 253, 248, 0.72);
}

.metric {
    min-height: 58px;
    padding: 6px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
}

.metric__label {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric strong {
    font-size: 22px;
    line-height: 1;
}

.metric strong small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.metric--timer strong {
    color: var(--green);
    font-variant-numeric: tabular-nums;
}

.metric--progress {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 14px;
}

.metric--progress .metric__label {
    grid-column: 1 / -1;
    margin: 0;
}

.metric--progress strong {
    min-width: 38px;
    font-size: 13px;
}

.progress-track {
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #e1e3dc;
}

.progress-track span {
    width: 0;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--green);
    transition: width 180ms ease;
}

.toolbar-actions {
    display: flex;
    gap: 8px;
}

.toolbar-actions .button {
    min-height: 48px;
    padding: 0 18px;
    gap: 8px;
    font-size: 13px;
}

.reading-hint {
    margin: 18px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.reading-hint span {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--green);
    background: var(--mint);
}

.reader {
    position: relative;
    height: min(620px, 70vh);
    min-height: 450px;
    overflow: auto;
    scrollbar-color: var(--mint) transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.reader::-webkit-scrollbar {
    width: 10px;
}

.reader::-webkit-scrollbar-thumb {
    border: 3px solid var(--surface);
    border-radius: 99px;
    background: var(--mint);
}

.reader__text {
    padding: clamp(30px, 5.5vw, 72px);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(21px, 2.2vw, 27px);
    line-height: 1.85;
    letter-spacing: 0.005em;
}

.reading-word {
    padding: 3px 1px;
    border-radius: 5px;
    transition: color 100ms ease, background 100ms ease, opacity 100ms ease;
}

.reading-word.is-read {
    color: #89928f;
}

.reading-word.is-current {
    color: var(--green-dark);
    background: var(--lime);
    box-shadow: 0 0 0 3px rgba(203, 232, 93, 0.28);
    cursor: crosshair;
}

.reader__veil {
    position: absolute;
    z-index: 4;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(5px);
    transition: opacity 220ms ease, visibility 220ms ease;
}

.reader__veil.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.reader__veil-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--green-dark);
    background: var(--lime);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-style: italic;
}

.reader__veil strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
}

.reader__veil p {
    margin: 10px 0 0;
    color: var(--muted);
}

.keyboard-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

kbd {
    min-width: 24px;
    padding: 3px 7px;
    display: inline-block;
    border: 1px solid #c9c8c0;
    border-bottom-width: 2px;
    border-radius: 5px;
    color: var(--ink);
    background: #fff;
    font-family: inherit;
}

.result-dialog {
    width: min(760px, calc(100% - 28px));
    max-height: calc(100vh - 28px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 28px;
    color: var(--ink);
    background: var(--surface);
    box-shadow: 0 30px 100px rgba(9, 31, 28, 0.3);
}

.result-dialog::backdrop {
    background: rgba(14, 38, 35, 0.7);
    backdrop-filter: blur(6px);
}

.result-dialog__inner {
    position: relative;
    padding: clamp(28px, 6vw, 58px);
}

.dialog-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.result-dialog h2 {
    max-width: 600px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.result-dialog h2 strong {
    color: var(--green);
    font-weight: 400;
}

.result-summary {
    margin: 18px 0 28px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.result-stats > div {
    padding: 18px;
    display: grid;
    gap: 6px;
    border-right: 1px solid var(--line);
}

.result-stats > div:last-child {
    border-right: 0;
}

.result-stats span {
    color: var(--muted);
    font-size: 11px;
}

.result-stats strong {
    font-size: 15px;
}

.comparison {
    margin-top: 30px;
}

.comparison h3 {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.comparison__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.comparison-item {
    padding: 15px 12px;
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.comparison-item span {
    color: var(--muted);
    font-size: 11px;
}

.comparison-item strong {
    font-size: 15px;
}

.comparison-item small {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.comparison-item.is-above small { color: var(--green); }
.comparison-item.is-within { border-color: var(--green); background: #edf5ee; }
.comparison-item.is-within small { color: var(--green); }
.comparison-item.is-below small { color: #9a6754; }

.comparison > p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.result-actions {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr 0.8fr;
        gap: 30px;
    }

    .hero__visual {
        min-height: 370px;
    }

    .book {
        width: 220px;
        height: 155px;
    }

    .lesson-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reading-diagnostic { grid-template-columns: 120px 1fr; }
    .reading-diagnostic ul { grid-column: 2; }
    .lesson-card { min-height: 480px; }

    .benchmarks {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reading-toolbar {
        grid-template-columns: 1fr 1fr 2fr;
    }

    .toolbar-actions {
        grid-column: 1 / -1;
    }

    .toolbar-actions .button {
        flex: 1;
    }
}

@media (max-width: 720px) {
    .site-header,
    .hero,
    .lessons-section,
    .how-it-works,
    .site-footer,
    .lesson-page {
        width: min(100% - 28px, 1180px);
    }

    .reading-diagnostic,
    .reading-programs {
        width: min(100% - 28px, 1180px);
    }

    .reading-diagnostic {
        padding: 30px 24px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reading-diagnostic ul { grid-column: auto; }

    .site-header__note {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 54px 0 70px;
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 70px);
    }

    .hero__visual {
        min-height: 330px;
    }

    .section-heading,
    .lesson-heading {
        display: block;
    }

    .section-heading > p,
    .lesson-heading > p {
        width: auto;
        margin-top: 18px;
    }

    .lessons-section,
    .how-it-works {
        padding: 70px 0;
    }

    .lesson-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .lesson-card { min-height: 450px; }

    .reading-programs { padding: 60px 0 75px; }
    .reading-program-grid { grid-template-columns: 1fr; }
    .reading-program-card { min-height: 580px; padding: 30px 24px; }
    .reading-program-card h3 { margin-top: 50px; }
    .reading-contact { margin-top: 70px; padding: 55px 22px; }

    .steps li,
    .steps li + li {
        min-height: auto;
        padding: 26px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .benchmarks {
        padding: 46px 24px;
    }

    .benchmark-list > div {
        padding: 18px 14px;
    }

    .lesson-page {
        padding-top: 24px;
    }

    .lesson-heading {
        margin: 38px 0 30px;
    }

    .lesson-heading h1 {
        font-size: 44px;
    }

    .reading-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .metric--progress {
        grid-column: 1 / -1;
        border-right: 0;
        border-top: 1px solid var(--line);
        padding-top: 15px;
    }

    .reader__text {
        padding: 30px 24px;
        font-size: 21px;
        line-height: 1.9;
    }

    .reader {
        height: 62vh;
        min-height: 400px;
    }

    .result-stats,
    .comparison__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-stats > div:nth-child(2) {
        border-right: 0;
    }

    .result-stats > div:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 470px) {
    .hero__visual {
        min-height: 290px;
    }

    .book {
        width: 190px;
        height: 135px;
    }

    .visual-chip--time {
        top: 40px;
        left: 22px;
    }

    .visual-chip--words {
        right: 16px;
        bottom: 38px;
    }

    .reading-toolbar {
        padding: 10px;
    }

    .metric {
        padding: 6px 10px;
    }

    .toolbar-actions {
        flex-direction: column;
    }

    .result-actions {
        flex-direction: column;
    }
}

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