@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --olive-950: #344016;
    --olive-900: #465225;
    --olive-800: #59672b;
    --olive-700: #6f7e34;
    --olive-100: #edf0df;
    --pink: #f30b6c;
    --pink-dark: #d4075c;
    --pink-soft: #ffe7f1;
    --blue: #59acd0;
    --blue-soft: #e4f5fb;
    --cream: #fbf7ee;
    --cream-deep: #f4ecdc;
    --paper: #fffdfa;
    --ink: #263019;
    --muted: #6d7066;
    --line: rgba(68, 77, 40, .14);
    --shadow: 0 18px 50px rgba(57, 62, 31, .11);
    --radius: 24px;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html[data-theme='dark'] {
    --olive-950: #141c0f;
    --olive-900: #1b2513;
    --olive-800: #273519;
    --olive-700: #354821;
    --olive-100: #20281b;
    --pink-soft: #3a1928;
    --blue-soft: #17303a;
    --cream: #151911;
    --cream-deep: #1c2218;
    --paper: #11150f;
    --ink: #eef3e8;
    --muted: #aeb7a7;
    --line: rgba(220,232,205,.14);
    --shadow: 0 22px 60px rgba(0,0,0,.34);
}

html[data-theme='dark'] .dashboard-wrap,
html[data-theme='dark'] .quick-card,
html[data-theme='dark'] .secondary-card,
html[data-theme='dark'] .program-card,
html[data-theme='dark'] .plan-card,
html[data-theme='dark'] .material-card,
html[data-theme='dark'] .news-item,
html[data-theme='dark'] .review-card,
html[data-theme='dark'] .faq-list details,
html[data-theme='dark'] .modal-card { color: var(--ink); background: #1a2017; }
html[data-theme='dark'] .hero-shade { background: linear-gradient(90deg,rgba(17,21,15,.98),rgba(17,21,15,.91) 40%,rgba(17,21,15,.22) 72%,transparent); }
html[data-theme='dark'] .hero-description { color: var(--muted); }
html[data-theme='dark'] .button-outline { color: var(--ink); background: rgba(26,32,23,.86); }
html[data-theme='dark'] .faq-list details { border: 1px solid var(--line); border-radius: 15px; background: #1b2118; }
html[data-theme='dark'] .faq-list summary { padding-inline: 18px; color: #f1f5ed; }
html[data-theme='dark'] .faq-list details p { padding-inline: 18px; color: #b6c0b0; }
html[data-theme='dark'] .tone-olive, html[data-theme='dark'] .quote-strip { background: #273519; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1380px, calc(100% - 48px)); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--olive-950); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 80; color: #fff; background: rgba(86, 99, 38, .96); box-shadow: 0 7px 30px rgba(35, 42, 14, .16); backdrop-filter: blur(12px); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 76px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--serif); font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1.6px solid rgba(255,255,255,.66); border-radius: 50% 50% 50% 12px; color: #ff4b93; transform: rotate(-7deg); }
.brand-mark .icon { width: 25px; height: 25px; transform: rotate(7deg); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2vw, 34px); font-size: 13px; font-weight: 600; }
.main-nav a { position: relative; padding: 28px 0 24px; opacity: .88; transition: opacity .2s; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; }
.main-nav a::after { content: ''; position: absolute; left: 50%; bottom: 16px; width: 0; height: 2px; border-radius: 2px; background: #ff4a92; transform: translateX(-50%); transition: width .2s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 34px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.site-header .language-control, .site-header .theme-control { color: #263019; background: #fff; }
.site-header .language-control select { color: #263019; }
.account-button, .menu-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: #fff; background: transparent; cursor: pointer; transition: background .2s, transform .2s; }
.account-button:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.menu-button { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 23px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; font-size: 14px; line-height: 1; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(89, 172, 208, .38); outline-offset: 3px; }
.button .icon { width: 18px; height: 18px; }
.button-primary { color: #fff; background: var(--pink); box-shadow: 0 10px 26px rgba(243, 11, 108, .23); }
.button-primary:hover { background: var(--pink-dark); box-shadow: 0 13px 30px rgba(243, 11, 108, .30); }
.button-outline { border-color: rgba(61, 69, 32, .28); color: var(--olive-950); background: rgba(255, 253, 248, .8); }
.button-outline:hover { border-color: var(--olive-700); background: #fff; }
.button-olive { color: #fff; background: var(--olive-700); box-shadow: 0 10px 24px rgba(92, 107, 42, .2); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 13px; border-radius: 10px; }

.section-shell { position: relative; overflow: hidden; }
.hero { min-height: 610px; background: var(--cream); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,247,238,.98) 0%, rgba(251,247,238,.94) 32%, rgba(251,247,238,.34) 58%, rgba(251,247,238,.02) 75%); }
.hero::before { content: ''; position: absolute; z-index: 1; left: 3%; bottom: -110px; width: 240px; height: 240px; border-radius: 50%; border: 1px dashed rgba(91, 105, 45, .24); }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 610px; padding-top: 34px; padding-bottom: 96px; }
.hero-copy { width: min(630px, 52%); }
.eyebrow { margin: 0 0 14px; color: var(--pink); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .section-heading h2, .test-banner h2, .modal h2 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: .98; letter-spacing: -.035em; }
.hero h1 { max-width: 620px; font-size: clamp(52px, 5.2vw, 78px); }
.hero h1 span { position: relative; color: var(--pink); }
.hero h1 span::after { content: ''; position: absolute; left: -4px; right: -4px; bottom: 1px; height: 8px; border-bottom: 3px solid var(--pink); border-radius: 50%; transform: rotate(-2deg); }
.hero-description { max-width: 610px; margin: 24px 0 26px; color: #5c5f56; font-size: 17px; }
.benefit-row { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-bottom: 28px; }
.benefit { display: flex; align-items: center; gap: 10px; min-width: 155px; }
.benefit-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--pink); background: rgba(255,255,255,.76); box-shadow: inset 0 0 0 1px rgba(243,11,108,.09); }
.benefit:nth-child(2) .benefit-icon { color: var(--olive-700); background: rgba(237,240,223,.9); }
.benefit:nth-child(3) .benefit-icon { color: #2c98c3; background: rgba(228,245,251,.95); }
.benefit strong, .benefit small { display: block; }
.benefit strong { font-size: 12px; }
.benefit small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.dashboard-section { position: relative; z-index: 4; margin-top: -68px; }
.dashboard-wrap { padding: 13px; border: 1px solid rgba(69, 78, 38, .08); border-radius: var(--radius); background: rgba(255,253,250,.95); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.quick-card, .secondary-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; width: 100%; min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 16px; text-align: left; background: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(64,68,42,.04); transition: transform .2s, border-color .2s, box-shadow .2s; }
.quick-card:hover, .secondary-card:hover { transform: translateY(-3px); border-color: rgba(91,105,45,.28); box-shadow: 0 12px 28px rgba(64,68,42,.09); }
.quick-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; }
.tone-pink { background: var(--pink); }
.tone-olive { background: var(--olive-700); }
.tone-blue { background: var(--blue); }
.quick-copy { min-width: 0; }
.quick-copy strong, .quick-copy small { display: block; }
.quick-copy strong { margin-bottom: 3px; font-size: 13px; }
.quick-copy small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.card-arrow { width: 16px; height: 16px; color: var(--olive-700); }
.info-row { display: grid; grid-template-columns: minmax(390px, .7fr) 1.3fr; gap: 10px; margin-top: 10px; }
.secondary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 10px 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.stat { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; padding-inline: 10px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat > .icon { width: 33px; height: 33px; color: var(--olive-700); }
.stat:nth-child(2) > .icon, .stat:nth-child(4) > .icon { color: var(--pink); }
.stat strong, .stat small { display: block; }
.stat strong { color: var(--olive-700); font-family: var(--serif); font-size: 30px; line-height: 1; }
.stat small { margin-top: 4px; color: var(--muted); font-size: 9px; }

.section { padding: 104px 0; }
.section-heading { max-width: 690px; margin-bottom: 42px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .test-banner h2 { font-size: clamp(42px, 4.2vw, 60px); }
.section-heading > p:last-child, .test-banner p { margin: 16px 0 0; color: var(--muted); font-size: 16px; }
.programs { padding-top: 94px; }
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.program-card { position: relative; display: grid; grid-template-columns: 54% 46%; min-height: 390px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 38px rgba(53,58,28,.07); }
.program-copy { position: relative; z-index: 2; padding: 38px 0 34px 36px; }
.program-copy h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 34px; line-height: 1; }
.program-copy > p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.program-copy ul { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 12px; }
.program-copy li { display: flex; align-items: center; gap: 8px; }
.program-copy li span { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--olive-700); border-radius: 50%; color: var(--olive-700); }
.program-copy li .icon { width: 11px; height: 11px; }
.program-photo { min-height: 100%; background-repeat: no-repeat; background-size: auto 100%; }
.program-photo-left { background-position: 5% center; }
.program-photo-right { background-position: 95% center; }
.program-pink::before, .program-olive::before { content: ''; position: absolute; z-index: 1; width: 120px; height: 120px; right: 24%; top: 36px; border-radius: 48% 52% 65% 35%; opacity: .24; }
.program-pink::before { background: var(--pink); }
.program-olive::before { background: var(--blue); }

.section-tint { background: var(--cream); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.78); }
.plan-card.popular { border: 2px solid var(--pink); background: #fff; box-shadow: 0 18px 44px rgba(243,11,108,.12); transform: translateY(-8px); }
.popular-badge { position: absolute; top: -14px; right: 24px; padding: 7px 13px; border-radius: 999px; color: #fff; background: var(--pink); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.plan-name { margin: 0 0 8px; color: var(--pink); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.plan-card h3 { margin: 0; font-family: var(--serif); font-size: 38px; }
.plan-description { min-height: 46px; margin: 8px 0 26px; color: var(--muted); font-size: 13px; }
.plan-price { margin: auto 0 0; color: var(--olive-800); font-family: var(--serif); font-size: 44px; font-weight: 700; line-height: 1; }
html[data-theme='dark'] .plan-price,
html[data-theme='dark'] .plan-card h3 { color: #fff; }
html:not([data-theme='dark']) .theme-control,
html[data-theme='light'] .theme-control { color: #263019 !important; background: #fff !important; border-color: #d9ddcf !important; }
.theme-control i { color: currentColor !important; }
.plan-period { margin: 8px 0 22px; color: var(--muted); font-size: 12px; }

.split-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; max-width: none; }
.split-heading > p { margin-bottom: 5px !important; }
.materials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.material-card { position: relative; overflow: hidden; min-height: 310px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s; }
.material-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.material-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 16px; color: var(--olive-700); background: var(--olive-100); }
.material-card:nth-child(2) .material-icon { color: var(--pink); background: var(--pink-soft); }
.material-card:nth-child(3) .material-icon { color: #298bb1; background: var(--blue-soft); }
.material-type { margin: 0 0 8px !important; color: var(--pink) !important; font-size: 11px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.material-card h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 29px; line-height: 1; }
.material-card > p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.material-tag { position: absolute; top: 32px; right: 26px; padding: 6px 10px; border-radius: 999px; color: var(--olive-700); background: var(--olive-100); font-size: 9px; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--pink); background: transparent; font-weight: 800; font-size: 12px; cursor: pointer; }
.text-link .icon { width: 16px; height: 16px; }

.test-banner { position: relative; padding: 74px 0; color: #fff; background: var(--olive-800); overflow: hidden; }
.test-banner::before, .test-banner::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.test-banner::before { width: 360px; height: 360px; top: -260px; right: 12%; }
.test-banner::after { width: 240px; height: 240px; bottom: -190px; left: 8%; }
.test-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.test-inner > div { max-width: 760px; }
.test-banner p { color: rgba(255,255,255,.74); }

.news-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 76px; }
.news-intro { position: sticky; top: 120px; align-self: start; }
.news-list { display: grid; gap: 14px; }
.news-item { display: grid; grid-template-columns: 145px 1fr auto; align-items: center; gap: 24px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.news-item > div { display: flex; flex-direction: column; gap: 8px; }
.news-tag { width: max-content; padding: 5px 8px; border-radius: 7px; color: var(--pink); background: var(--pink-soft); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.news-item time { color: var(--muted); font-size: 10px; }
.news-item h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 25px; line-height: 1.1; }
.news-item > p { display: none; margin: 0; color: var(--muted); font-size: 12px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { display: flex; flex-direction: column; min-height: 290px; margin: 0; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.review-stars { color: var(--pink); letter-spacing: .18em; font-size: 13px; }
.review-card blockquote { margin: 24px 0; color: #4b4f43; font-family: var(--serif); font-size: 23px; line-height: 1.28; }
.review-card figcaption { display: flex; flex-direction: column; margin-top: auto; }
.review-card figcaption strong { font-size: 13px; }
.review-card figcaption span { color: var(--muted); font-size: 11px; }
.review-identity { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 74px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; font-family: var(--serif); font-size: 25px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--pink); background: var(--pink-soft); font-family: var(--sans); font-size: 20px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 750px; margin: -4px 0 24px; color: var(--muted); font-size: 14px; }

.quote-strip { padding: 18px 0; color: #fff; background: var(--olive-800); }
.quote-strip .container { display: flex; align-items: center; justify-content: center; gap: 13px; }
.quote-strip p { margin: 0; font-family: var(--serif); font-size: 27px; font-style: italic; }
.quote-strip span { color: var(--pink); }

.footer { padding: 72px 0 24px; color: rgba(255,255,255,.82); background: var(--olive-950); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .7fr .8fr .75fr; gap: 42px; }
.footer-brand { color: #fff; }
.footer-grid > div:first-child > p { max-width: 330px; margin: 20px 0 0; color: rgba(255,255,255,.58); font-size: 13px; }
.footer h2 { margin: 0 0 20px; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid > div > a:not(.brand) { display: flex; align-items: center; gap: 9px; margin: 11px 0; font-size: 12px; }
.footer-grid > div > a .icon { width: 16px; height: 16px; color: #ff4b93; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: 10px; }

.modal { width: min(620px, calc(100% - 28px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: transparent; overflow: visible; }
.modal::backdrop { background: rgba(27,31,14,.67); backdrop-filter: blur(6px); }
.modal-card { position: relative; max-height: calc(100vh - 32px); padding: 38px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 80px rgba(24,27,12,.30); overflow-y: auto; }
.modal-wide { width: 100%; }
.modal h2 { margin-bottom: 14px; font-size: 42px; }
.modal-card > p:not(.eyebrow) { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.modal-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.modal-close .icon { width: 18px; height: 18px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 11px; font-weight: 800; }
.form input, .form select, .copy-row input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; outline: none; }
.form input:focus, .form select:focus, .copy-row input:focus { border-color: var(--olive-700); box-shadow: 0 0 0 3px rgba(111,126,52,.12); }
.form small { color: var(--muted); font-size: 9px; text-align: center; }
.quiz { display: grid; gap: 16px; }
.quiz fieldset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.quiz legend { padding: 0 8px; font-weight: 800; font-size: 13px; }
.quiz label { display: flex; align-items: center; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; font-size: 11px; cursor: pointer; }
.quiz-result { display: none; padding: 18px; border-radius: 12px; color: var(--olive-950); background: var(--olive-100); font-weight: 700; text-align: center; }
.quiz-result.show { display: block; }
.mini-plans { display: grid; gap: 10px; }
.mini-plans button { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; }
.mini-plans button:hover { border-color: var(--pink); }
.mini-plans strong { font-family: var(--serif); font-size: 21px; }
.mini-plans span { color: var(--muted); font-size: 11px; }
.balance-card { display: grid; margin: 22px 0; padding: 24px; border-radius: 18px; color: #fff; background: var(--olive-700); }
.balance-card strong { font-family: var(--serif); font-size: 62px; line-height: 1; }
.balance-card small { color: rgba(255,255,255,.7); }
.copy-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 22px; }
.centered-link { justify-content: center; }
.toast { position: fixed; z-index: 150; right: 24px; bottom: 24px; max-width: 360px; padding: 14px 18px; border-radius: 12px; color: #fff; background: var(--olive-950); box-shadow: var(--shadow); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
    .header-inner { grid-template-columns: auto auto 1fr; }
    .menu-button { display: grid; order: 3; justify-self: end; }
    .main-nav { position: fixed; top: 76px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 13px 14px; }
    .main-nav a::after { display: none; }
    .header-actions { justify-self: end; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-grid .quick-card:nth-child(4), .quick-grid .quick-card:nth-child(5) { grid-column: span 1; }
    .info-row { grid-template-columns: 1fr; }
    .program-card { grid-template-columns: 58% 42%; }
    .program-copy { padding-left: 28px; }
    .news-layout { gap: 40px; }
}

@media (max-width: 900px) {
    .container { width: min(100% - 32px, 720px); }
    .header-inner { gap: 14px; }
    .header-actions .button { display: none; }
    .hero { min-height: auto; padding-top: 410px; }
    .hero-image { height: 430px; object-position: 67% center; }
    .hero-shade { height: 470px; background: linear-gradient(0deg, var(--cream) 0%, rgba(251,247,238,.12) 42%, rgba(251,247,238,0) 80%); }
    .hero-inner { min-height: auto; padding-top: 28px; padding-bottom: 110px; }
    .hero-copy { width: 100%; }
    .hero h1 { max-width: 650px; font-size: 56px; }
    .dashboard-section { margin-top: -68px; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-grid .quick-card:last-child { grid-column: 1 / -1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    .stat:nth-child(4) { border-top: 1px solid var(--line); }
    .section { padding: 80px 0; }
    .program-grid, .plans-grid, .materials-grid, .reviews-grid { grid-template-columns: 1fr; }
    .program-card { min-height: 390px; }
    .plan-card.popular { transform: none; }
    .split-heading { grid-template-columns: 1fr; }
    .news-layout, .faq-layout { grid-template-columns: 1fr; gap: 12px; }
    .news-intro { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .container { width: min(100% - 22px, 520px); }
    .site-header { position: sticky; }
    .header-inner { min-height: 68px; grid-template-columns: 1fr auto auto; }
    .brand { font-size: 20px; }
    .brand-mark { width: 38px; height: 38px; }
    .account-button, .menu-button { width: 38px; height: 38px; }
    .main-nav { top: 68px; }
    .hero { padding-top: 300px; }
    .hero-image { height: 320px; object-position: 67% center; }
    .hero-shade { height: 350px; }
    .hero-inner { padding-bottom: 92px; }
    .hero h1 { font-size: 43px; }
    .hero-description { font-size: 14px; }
    .benefit-row { display: grid; grid-template-columns: 1fr; gap: 9px; }
    .benefit { min-width: 0; }
    .hero-buttons .button { width: 100%; }
    .dashboard-wrap { padding: 8px; border-radius: 19px; }
    .quick-grid, .secondary-grid { grid-template-columns: 1fr; }
    .quick-grid .quick-card:last-child { grid-column: auto; }
    .quick-card, .secondary-card { padding: 12px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat { justify-content: flex-start; min-height: 72px; padding: 10px; }
    .stat > .icon { width: 27px; height: 27px; }
    .stat strong { font-size: 25px; }
    .section { padding: 66px 0; }
    .section-heading { margin-bottom: 30px; }
    .section-heading h2, .test-banner h2 { font-size: 40px; }
    .program-card { grid-template-columns: 1fr; min-height: 570px; }
    .program-copy { padding: 28px 24px 16px; }
    .program-photo { min-height: 260px; background-size: auto 100%; }
    .program-photo-left { background-position: left center; }
    .program-photo-right { background-position: right center; }
    .test-inner { align-items: flex-start; flex-direction: column; }
    .test-inner .button { width: 100%; }
    .news-item { grid-template-columns: 1fr auto; gap: 10px; padding: 20px; }
    .news-item > div { grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .news-item h3 { font-size: 22px; }
    .news-item .text-link { align-self: center; }
    .quote-strip p { font-size: 20px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
    .modal-card { padding: 32px 20px 22px; border-radius: 20px; }
    .modal h2 { font-size: 34px; }
    .quiz fieldset { grid-template-columns: 1fr; }
    .mini-plans button { align-items: flex-start; flex-direction: column; gap: 2px; }
    .copy-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
