/* Homepage-only layout and language choice. Shared page styles remain untouched. */
.landing-page .landing-hero {
    min-height: 0;
    padding: clamp(7rem, 9vw, 8.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.landing-page .landing-hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

.landing-page .landing-hero .hero-text {
    gap: 1rem;
}

.landing-page .landing-hero .hero-title {
    max-width: 790px;
    font-size: clamp(2.7rem, 5.1vw, 5.15rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.landing-page .landing-hero .eyebrow {
    font-family: var(--font-primary);
    font-size: .92rem;
    line-height: 1.45;
    font-weight: 700;
    color: #bfdbfe;
    text-shadow: none;
}

.landing-page .hero-subtitle {
    margin: .95rem 0 .45rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.16rem, 1.8vw, 1.5rem);
    font-weight: 700;
    line-height: 1.35;
}

.landing-page .landing-hero .hero-description {
    line-height: 1.55;
}

.landing-page .landing-hero .hero-buttons {
    margin-top: .75rem;
    gap: .8rem;
}

.landing-page .landing-hero .hero-buttons .btn {
    padding: .95rem 1.05rem;
    font-size: .95rem;
    white-space: nowrap;
}

.landing-page .landing-hero-visual {
    min-height: 450px;
}

.landing-page .product-stack {
    min-height: 450px;
}

.landing-page .browser-card {
    inset: 28px 0 auto auto;
}

.landing-page .meet-preview {
    bottom: 0;
}

.landing-page .hero-proof-row {
    margin-top: 1.25rem;
}

.landing-page .scroll-indicator {
    display: none;
}

.landing-page .language-section,
.landing-page .japanese-section,
.landing-page .tutor-section,
.landing-page .process-section,
.landing-page .materials-showcase,
.landing-page .video-section,
.landing-page .testimonials-section,
.landing-page .pricing-section,
.landing-page .faq-section,
.landing-page .contact-section {
    padding-top: clamp(3.5rem, 6vw, 5rem);
    padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.landing-page .language-section {
    background: #eef4fc;
    scroll-margin-top: 85px;
}

.landing-page .section-title {
    margin-bottom: 1.75rem;
}

.landing-page .language-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.landing-page .language-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid #cbdcf3;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 39, 78, .07);
}

.landing-page .language-card-number {
    color: #315dad;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.landing-page .language-card h3 {
    margin: .45rem 0 .4rem;
    color: #102544;
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}

.landing-page .language-card p {
    flex: 1;
    color: #40516c;
    line-height: 1.6;
}

.landing-page .language-card > .btn {
    justify-content: center;
    min-height: 48px;
    margin-top: 1.4rem;
    padding: .65rem .85rem;
    font-size: .93rem;
    text-align: center;
}

.landing-page .language-resources {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #d9e3f1;
}

.landing-page .language-resources span {
    flex-basis: 100%;
    color: #52647e;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.landing-page .language-resources a,
.landing-page .tutor-credential a {
    color: #18439b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing-page .japanese-section {
    background: #fff;
}

.landing-page .japanese-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border-radius: 28px;
    background: radial-gradient(circle at 8% 10%, #235181 0, transparent 38%), #10233f;
    color: #fff;
    box-shadow: 0 22px 55px rgba(15, 35, 63, .16);
}

.landing-page .japanese-panel .section-kicker {
    color: #dbeafe;
    background: rgba(147, 197, 253, .12);
    border-color: rgba(191, 219, 254, .32);
}

.landing-page .japanese-copy h2 {
    max-width: 650px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 3.3rem);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.landing-page .japanese-copy > p {
    max-width: 650px;
    margin-top: 1rem;
    color: #dce8f8;
    line-height: 1.65;
}

.landing-page .japanese-copy .japanese-tutoring-note {
    width: fit-content;
    margin-top: 1.4rem;
    padding: .8rem 1rem;
    border-left: 4px solid #fbbf24;
    border-radius: 0 10px 10px 0;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.landing-page .japanese-links {
    display: grid;
    gap: 1rem;
}

.landing-page .japanese-links a {
    display: grid;
    gap: .25rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(219, 234, 254, .35);
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.landing-page .japanese-links a:hover,
.landing-page .japanese-links a:focus-visible {
    background: rgba(255, 255, 255, .18);
    border-color: #fff;
}

.landing-page .japanese-links .japanese-link-label {
    color: #bfdbfe;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.landing-page .japanese-links strong {
    font-family: var(--font-heading);
    font-size: 1.28rem;
}

.landing-page .japanese-links a > span:last-child {
    color: #dce8f8;
    font-size: .91rem;
}

.landing-page .process-step {
    min-height: 230px;
}

.landing-page .tutor-section {
    background: #fff;
}

.landing-page .tutor-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(190px, .6fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin-bottom: 2.5rem;
}

.landing-page .tutor-intro .section-title {
    margin-bottom: 1rem;
}

.landing-page .tutor-intro p {
    max-width: 680px;
    margin-top: .75rem;
    color: #40516c;
    font-size: 1.05rem;
}

.landing-page .tutor-intro img {
    width: min(100%, 260px);
    max-height: 280px;
    justify-self: center;
    object-fit: cover;
    border-radius: 28px;
}

.landing-page .tutor-intro .tutor-credential {
    font-size: .94rem;
}

.landing-page .video-picker-label,
.landing-page .video-note,
.landing-page .resource-intro,
.landing-page .testimonial-note {
    max-width: 760px;
    margin: 0 auto 1.3rem;
    color: #40516c;
    text-align: center;
}

.landing-page .video-picker-label {
    font-weight: 800;
}

.landing-page .video-note {
    margin: 1.1rem auto 0;
    font-size: .9rem;
}

.landing-page .lang-btn[aria-pressed="true"] {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

.landing-page .contact-form .form-group select {
    width: 100%;
    min-height: 54px;
    padding: .8rem 1rem;
    border: 1px solid #94a3b8;
    border-radius: 14px;
    background: #fff;
    color: #1e293b;
    font: inherit;
}

.landing-page .contact-form .form-group select:focus-visible,
.landing-page :is(a, button, input, textarea):focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}

.landing-page .contact-section {
    scroll-margin-top: 85px;
}

@media (max-width: 1100px) {
    .landing-page .landing-hero-layout {
        grid-template-columns: 1fr;
    }

    .landing-page .landing-hero-visual,
    .landing-page .product-stack {
        min-height: 420px;
    }
}

@media (max-width: 760px) {
    .landing-page .landing-hero {
        padding: 104px 0 3rem;
    }

    .landing-page .landing-hero .hero-title {
        font-size: clamp(2.4rem, 8vw, 3.8rem);
        text-align: center;
    }

    .landing-page .hero-subtitle,
    .landing-page .landing-hero .hero-description {
        text-align: center;
    }

    .landing-page .landing-hero-visual {
        display: none;
    }

    .landing-page .hero-proof-row {
        display: none;
    }

    .landing-page .language-grid {
        grid-template-columns: 1fr;
    }

    .landing-page .language-card {
        padding: 1.4rem;
    }

    .landing-page .japanese-panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        border-radius: 22px;
    }

    .landing-page .tutor-intro {
        grid-template-columns: 1fr;
    }

    .landing-page .tutor-intro img {
        order: -1;
        max-height: 220px;
    }
}

@media (max-width: 480px) {
    .landing-page .landing-hero .hero-title {
        font-size: clamp(2.15rem, 9vw, 2.65rem);
    }
}
