/* Landing layout; shared brand colors and components live in theme.css. */
body.landing-page { background: #f6f8f5; color: #142e30; }
.landing-page a:focus-visible, .landing-page button:focus-visible, summary:focus-visible { outline: 3px solid #b16b18; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 400; padding: 14px 20px; background: white; color: #142e30; }
.skip-link:focus { top: 12px; }
.topnav { padding: 18px max(28px, calc((100vw - 1200px) / 2)); background: #f6f8f5f5; box-shadow: none; }
.topnav-logo-icon { background: #163d3c; }
.topnav-logo-text .fly { color: #126b62; }
.topnav-link { padding: 8px 10px; }
.topnav-btn { white-space: nowrap; }
.topnav-mobile-panel { overflow-y: auto; width: min(340px, 90vw); position: relative; padding-top: 60px; }
.topnav-mobile-close { color: #142e30; }
.hero { padding: 80px 28px 0; overflow: hidden; background: radial-gradient(ellipse at 85% 35%, #dcece3, transparent 48%), #f6f8f5; }
.hero-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 65px; }
.eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .13em; line-height: 1.7; color: #37635c; margin-bottom: 22px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; letter-spacing: .08em; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #247366; border-radius: 50%; flex-shrink: 0; }
.hero h1 { font-size: clamp(2.8rem, 4.7vw, 4.25rem); line-height: 1.06; letter-spacing: -.055em; font-weight: 800; max-width: 640px; }
.hero h1 > span { color: #26796b; }
.hero-sub { font-size: 1.1rem; color: #526661; line-height: 1.8; margin: 26px 0 28px; max-width: 425px; }
.hero-sub strong { font-weight: 600; color: #233e38; }
.hero-ctas { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.btn-primary { background: #126b62; color: white; box-shadow: 0 6px 15px #123f3615; }
.btn-lg { font-size: .9rem; padding: 17px 24px; border-radius: 8px; gap: 25px; }
.browse-link { display: inline-flex; gap: 14px; align-items: center; color: #244c45; text-decoration: none; font-size: .85rem; font-weight: 600; padding: 8px 0; }
.browse-link:hover { text-decoration: underline; }
.plan-note { font-size: .78rem; line-height: 1.6; color: #5d6e67; margin-top: 15px; }
.plan-note a { color: inherit; text-underline-offset: 3px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; font-size: .73rem; color: #50675e; }
.practice-scene { position: relative; padding: 20px 0 55px; }
.scene-label { display: flex; align-items: center; gap: 8px; font-size: .59rem; font-weight: 700; letter-spacing: .13em; margin: 0 0 16px 20px; color: #4c7165; }
.practice-card { background: #fff; padding: 28px; border: 1px solid #d5e2d9; border-radius: 18px; box-shadow: 0 22px 70px #254e3612, 10px 12px 0 -2px #e4ede5, 10px 12px 0 -1px #ccdcd0; transform: rotate(-2deg); }
.practice-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .58rem; letter-spacing: .1em; font-weight: 700; color: #526961; }
.sample-tag { background: #f1f5ef; border-radius: 4px; padding: 6px 8px; letter-spacing: 0; font-weight: 500; }
.sample-track { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 600; margin-top: 26px; }
.sample-track > span { color: #6d7c75; }
.sample-progress { height: 4px; background: #edf2ed; margin: 10px 0 22px; border-radius: 4px; }
.sample-progress > span { display: block; width: 10%; height: 100%; background: #348776; }
.practice-card h2 { font-size: 1.15rem; line-height: 1.5; font-weight: 600; letter-spacing: -.025em; margin-bottom: 22px; }
.sample-option { display: flex; align-items: center; gap: 12px; border: 1px solid #e0e7e1; border-radius: 7px; padding: 12px; margin-top: 10px; font-size: .73rem; line-height: 1.5; color: #5a6b63; }
.sample-option > span { padding: 3px 7px; background: #f1f4ef; border-radius: 4px; font-size: .68rem; }
.sample-option.selected { background: #edf7f0; border-color: #66a58b; color: #21583f; }
.sample-option b { margin-left: auto; }
.sample-explanation { margin-top: 20px; padding: 16px; background: #f6f8f4; border-radius: 7px; font-size: .7rem; line-height: 1.7; color: #52695b; }
.sample-explanation strong { color: #28503d; }
.sample-explanation p { margin-top: 4px; }
.scene-note { position: absolute; bottom: 18px; right: -14px; display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 10px; background: #193e3b; color: #fff; box-shadow: 0 12px 30px #173c3320; transform: rotate(2deg); }
.note-icon { font-size: 1.6rem; color: #d4e99b; }
.scene-note strong, .scene-note div > span { display: block; font-size: .75rem; }
.scene-note div > span { font-size: .62rem; color: #bdd3c9; margin-top: 5px; }
.stats-bar { max-width: 1200px; margin: 64px auto 0; border-top: 1px solid #d8e2d8; border-bottom: 1px solid #d8e2d8; padding: 30px 0; display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); align-items: center; gap: 20px; }
.stat-intro { font-size: .9rem; line-height: 1.6; color: #52695e; }
.stat-intro strong { color: #294c3d; }
.stat-item { border-left: 1px solid #d8e2d8; padding-left: 26px; }
.stat-num { font-size: 1.65rem; font-weight: 700; letter-spacing: -.04em; }
.stat-label { color: #5c6f63; font-size: .7rem; margin-top: 5px; }
.landing-section { max-width: 1256px; padding: 88px 28px; margin: auto; scroll-margin-top: 85px; }
.landing-section-head { margin-bottom: 36px; }
.landing-section-head .eyebrow { margin-bottom: 12px; }
.landing-section-head h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.2; margin-bottom: 16px; }
.landing-section-head p { font-size: .95rem; line-height: 1.8; color: #5b6f66; max-width: 590px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cat-card { color: inherit; text-decoration: none; border: 1px solid #dce5dc; border-radius: 12px; background: white; overflow: hidden; }
.cat-card:hover { border-color: #80a995; box-shadow: 0 10px 24px #234d3310; }
.cat-card-top { display: flex; align-items: center; gap: 16px; padding: 24px 22px; min-height: 125px; }
.cat-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; font-size: 1.4rem; }
.cat-card-info h3 { font-size: .96rem; margin-bottom: 7px; }
.cat-card-info p { color: #657269; font-size: .73rem; line-height: 1.6; }
.cat-card-bottom { border-top: 1px solid #edf0e9; padding: 15px 22px; display: flex; justify-content: space-between; font-size: .68rem; color: #627063; }
.cat-card-arrow { color: #126b62; font-size: 1rem; }
[data-surface="white"] { background: #fff; max-width: none; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.step-card { padding: 28px 0; border-top: 1px solid #dbe4dc; }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; font-size: .8rem; font-weight: 700; margin-bottom: 24px; background: #244e46 !important; }
.step-card h3 { font-size: 1rem; margin-bottom: 12px; }
.step-card p, .why-card p { font-size: .86rem; color: #5d7066; line-height: 1.8; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.why-card { display: flex; gap: 20px; padding: 28px; background: #eaf0e7; border-radius: 12px; }
.why-icon { font-size: 1.3rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; flex-shrink: 0; }
.why-card h3 { font-size: .98rem; margin-bottom: 10px; }
.popular-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.quiz-card { border: 1px solid #e2e7de; box-shadow: none; border-radius: 12px; }
.quiz-card-img { height: 112px; }
.quiz-card-img .difficulty { color: #fff; background: #172e34cc; }
.quiz-card-body { padding: 20px 16px; }
.quiz-card-sub { color: #64716a; line-height: 1.6; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.faq-grid { min-width: 0; }
.faq-item { padding: 22px 0; border-bottom: 1px solid #d8e1d7; }
.faq-item summary { display: flex; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: .92rem; font-weight: 600; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { color: #126b62; font-size: 1.2rem; }
.faq-item[open] summary > span { transform: rotate(45deg); }
.faq-item p { margin-top: 16px; color: #5d7066; line-height: 1.8; }
.cta-section { margin: 0 28px 28px; padding: 76px 28px; border-radius: 20px; text-align: center; background: radial-gradient(ellipse at 10% 100%, #315e4f, transparent 60%), #173c3b; color: white; }
.cta-inner { max-width: 680px; margin: auto; }
.cta-section .eyebrow { color: #c2dca4; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.045em; line-height: 1.15; font-weight: 600; }
.cta-section p { margin: 22px 0 28px; line-height: 1.8; font-size: .9rem; color: #c5d8cf; }
.cta-section .btn { background: #deecb2; color: #193e33; }
.cta-section .plan-note { margin: 16px 0 0; font-size: .78rem; }
.app-footer { line-height: 2.2; padding-bottom: 35px; }
/* Content is visible if JavaScript or IntersectionObserver is unavailable. */
.landing-page .reveal, .landing-page .stagger-item { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
    .landing-page .reveal-pending { opacity: 0; transform: translateY(22px); }
    .landing-page .reveal-pending:focus-within { opacity: 1; transform: none; }
    .landing-page .reveal, .landing-page .stagger-item { transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1); transition-delay: var(--reveal-delay, 0ms); }
}
@media (max-width: 1050px) {
    .topnav-links .topnav-link { display: none; }
    .topnav-hamburger { display: block; }
    .hero-inner { gap: 34px; }
    .hero { padding-top: 55px; }
    .hero-ctas { gap: 15px; }
    .practice-card { padding: 22px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .hero { padding: 40px 22px 0; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero h1 { font-size: clamp(2.8rem, 9vw, 4.2rem); max-width: 560px; }
    .hero-sub { max-width: 480px; }
    .practice-scene { width: 100%; max-width: 470px; margin: auto; }
    .scene-note { right: 0; }
    .stats-bar { margin-top: 28px; grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-intro { grid-column: 1 / -1; }
    .stat-intro br { display: none; }
    .stat-item { padding-left: 15px; }
    .landing-section { padding: 56px 22px; }
    .steps-grid, .why-grid, .faq-section { grid-template-columns: 1fr; gap: 16px; }
    .step-card { padding: 24px 0; }
    .step-num { margin-bottom: 16px; }
    .cta-section { margin: 0 12px 12px; padding: 56px 22px; }
    .topnav { padding: 12px 16px; gap: 10px; }
    .topnav-links .topnav-btn-primary { display: none; }
    .topnav-btn { padding: 8px 12px; }
}
@media (max-width: 480px) {
    .topnav { gap: 6px; }
    .category-grid, .popular-grid { grid-template-columns: 1fr; }
    .topnav-logo-text { font-size: .85rem; }
    .topnav-logo { gap: 6px; margin-right: 0; }
    .topnav-logo-icon { width: 30px; height: 30px; }
    .topnav-links { gap: 0; }
    .practice-card { padding: 20px; }
    .scene-label { font-size: .52rem; margin-left: 0; }
    .why-card { padding: 22px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .landing-page *, .landing-page *::before, .landing-page *::after { animation: none !important; transition: none !important; }
    .landing-page .reveal, .landing-page .stagger-item { opacity: 1; transform: none; }
}
