/* Public landing page (/Welcome). */

.landing {
    --landing-navy: var(--app-hero-1);
    --landing-navy-2: var(--app-hero-2);
    --landing-ink: var(--bs-body-color);
    --landing-muted: var(--bs-secondary-color);
    color: var(--landing-ink);
}

.landing-hero {
    background: radial-gradient(circle at 85% 20%, var(--app-hero-glow) 0, transparent 45%), linear-gradient(135deg, var(--app-hero-1) 0%, var(--app-hero-2) 100%);
    color: #fff;
    border-radius: 1.25rem;
    padding: 3rem 2.5rem;
    overflow: hidden;
}

.landing-kicker {
    display: inline-block;
    background: rgba(255, 202, 40, .15);
    color: #ffd54f;
    border: 1px solid rgba(255, 202, 40, .4);
    border-radius: 999px;
    padding: .2rem .8rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .03em;
    margin-bottom: 1rem;
}

.landing-title {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.1rem;
}

.landing-lead {
    font-size: 1.1rem;
    color: #d6e0f0;
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.landing-fineprint {
    margin-top: .9rem;
    font-size: .82rem;
    color: #9fb4d8;
}

.landing-hero-img {
    width: 100%;
    max-width: 460px;
    animation: landing-float 6s ease-in-out infinite;
}

@keyframes landing-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero-img { animation: none; }
}

.landing-stats {
    margin-top: -1.6rem;
    padding: 0 1.5rem;
    position: relative;
}

.landing-stat {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    padding: 1.1rem .75rem;
    box-shadow: 0 8px 24px rgba(31, 59, 100, .08);
    height: 100%;
}

.landing-stat .value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--app-primary-text);
    line-height: 1.1;
}

.landing-stat .label {
    font-size: .85rem;
    color: var(--landing-muted);
}

.landing-section {
    margin-top: 3.5rem;
}

.landing-h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.landing-side {
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid transparent;
}

.landing-side img {
    display: block;
    width: 180px;
    max-width: 60%;
    margin: 0 auto 1rem;
}

.landing-side h3 {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.landing-side ul {
    margin: 0;
    padding-left: 1.2rem;
}

.landing-side li {
    margin-bottom: .45rem;
}

.landing-side-happy {
    background: var(--app-happy-bg);
    border-color: var(--app-happy-border);
}

.landing-side-scared {
    background: var(--app-scared-bg);
    border-color: var(--app-scared-border);
}

.landing-side-scared img {
    animation: landing-shake 2.8s ease-in-out infinite;
}

@keyframes landing-shake {
    0%, 86%, 100% { transform: translateX(0); }
    88% { transform: translateX(-4px) rotate(-2deg); }
    90% { transform: translateX(4px) rotate(2deg); }
    92% { transform: translateX(-4px) rotate(-1deg); }
    94% { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
    .landing-side-scared img { animation: none; }
}

.landing-feature {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    padding: 1.4rem;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
}

.landing-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(31, 59, 100, .1);
}

.landing-feature .icon {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: .6rem;
}

.landing-feature h3,
.landing-step h3 {
    font-size: 1.08rem;
    font-weight: 700;
}

.landing-feature p,
.landing-step p {
    color: var(--landing-muted);
    margin: 0;
}

.landing-step {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    padding: 1.4rem;
    height: 100%;
}

.landing-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--landing-navy);
    color: #ffd54f;
    font-weight: 800;
    margin-bottom: .7rem;
}

.landing-quote {
    margin: 0;
    height: 100%;
    border-radius: 1rem;
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.landing-quote blockquote {
    margin: 0;
    font-size: 1.02rem;
    font-style: italic;
}

.landing-quote figcaption {
    font-size: .85rem;
    font-weight: 600;
    color: var(--landing-muted);
    display: flex;
    flex-direction: column;
}

.landing-quote figcaption span {
    letter-spacing: .1em;
    font-weight: 400;
}

.landing-quote-teacher {
    background: var(--app-happy-bg);
    border: 1px solid var(--app-happy-border);
}

.landing-quote-teacher figcaption span { color: #f9a825; }

.landing-quote-student {
    background: var(--app-scared-bg);
    border: 1px solid var(--app-scared-border);
}

.landing-quote-student figcaption span { color: #c62828; }

.landing-faq {
    max-width: 52rem;
    margin: 0 auto;
}

.landing-faq .accordion-button {
    font-weight: 600;
}

.landing-about {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 1.25rem;
    padding: 2rem;
}

.landing-about p {
    font-size: 1.05rem;
}

.landing-timeline {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0 0 0 1.4rem;
    border-left: 3px solid var(--app-border);
}

.landing-timeline li {
    position: relative;
    margin-bottom: .9rem;
}

.landing-timeline li::before {
    content: "";
    position: absolute;
    left: -1.4rem;
    top: .35rem;
    width: .9rem;
    height: .9rem;
    margin-left: -.45rem;
    border-radius: 50%;
    background: var(--app-surface);
    border: 3px solid var(--app-border);
}

.landing-timeline li.now::before {
    background: var(--app-primary);
    border-color: var(--app-primary);
}

.landing-timeline span {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--landing-muted);
}

.landing-timeline li.now {
    font-weight: 700;
}

.landing-contact {
    background: var(--app-surface-2);
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
}

.landing-contact .label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--landing-muted);
}

.landing-contact a {
    font-size: 1.15rem;
    font-weight: 700;
    word-break: break-all;
}

.landing-final {
    margin-top: 3.5rem;
    background: linear-gradient(135deg, var(--landing-navy) 0%, var(--landing-navy-2) 100%);
    color: #fff;
    border-radius: 1.25rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.landing-final h2 {
    font-weight: 800;
    font-size: 1.9rem;
}

.landing-final p {
    color: #d6e0f0;
    font-size: 1.1rem;
    margin-bottom: 1.4rem;
}

.landing-disclaimer {
    text-align: center;
    font-size: .8rem;
    color: var(--bs-secondary-color);
    margin: 1.5rem 0 0;
}

@media (max-width: 575.98px) {
    .landing-hero { padding: 2rem 1.25rem; }
    .landing-stats { padding: 0 .5rem; }
}
