/* Navajo Toddler Website Styles */

@font-face {
    font-family: "Doctor Soos";
    src: url("assets/fonts/doctor-soos-bold.woff") format("woff"),
         url("assets/fonts/doctor-soos-bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --navajo-cream: #f4e8cf;
    --navajo-red: #c92532;
    --navajo-red-deep: #a8202a;
    --navajo-brown: #2f2218;
    --navajo-soft-brown: #71563e;
    --navajo-card: #fbf2df;
    --navajo-border: rgba(87, 58, 36, 0.15);
    --shadow-soft: 0 8px 22px rgba(63, 43, 28, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Avenir Next Rounded", "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
    background: var(--navajo-cream);
    color: var(--navajo-brown);
    line-height: 1.65;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: -1;
}

header {
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(87, 58, 36, 0.1);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0.55rem 1rem;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    min-height: 20px;
}

header h1 {
    font-family: "Doctor Soos", "Arial Rounded MT Bold", "Avenir Next Rounded", "Avenir Next", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

header p {
    font-size: 0.9rem;
    opacity: 0.85;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.75rem 1rem 2.5rem;
    position: relative;
}

.home-page .header-inner {
    display: none;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1rem;
    padding: 0.4rem;
    border: 1px solid var(--navajo-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 1px 3px rgba(70, 46, 28, 0.08);
}

nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--navajo-border);
    background: #fff;
    color: var(--navajo-red-deep);
    text-decoration: none;
    font-family: "Doctor Soos", "Arial Rounded MT Bold", "Avenir Next Rounded", "Avenir Next", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: none;
}

nav a:hover,
nav a:focus-visible {
    background: var(--navajo-red);
    color: #fff;
    outline: none;
}

section {
    background: var(--navajo-card);
    border: 1px solid var(--navajo-border);
    border-radius: 18px;
    padding: 1.3rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}

section h2 {
    font-family: "Doctor Soos", "Arial Rounded MT Bold", "Avenir Next Rounded", "Avenir Next", sans-serif;
    font-size: 1.35rem;
    color: var(--navajo-red);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

section h3 {
    font-size: 1.08rem;
    margin: 1rem 0 0.5rem;
    color: var(--navajo-brown);
}

section p,
section li {
    font-size: 1rem;
}

section ul {
    margin-left: 1.2rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.1rem;
    align-items: start;
}

.hero-copy h2 {
    font-size: 2.6rem;
    line-height: 0.95;
    margin-bottom: 0.75rem;
    color: #15100b;
}

.hero-copy p {
    margin-bottom: 0.65rem;
}

.app-store-badge {
    display: inline-block;
    margin-top: 0.45rem;
    padding: 0.6rem 0.8rem;
    background: #fff;
    border: 1px dashed var(--navajo-border);
    border-radius: 10px;
    color: var(--navajo-soft-brown);
    font-size: 0.98rem;
}

.hero-device {
    width: 280px;
    justify-self: end;
    display: block;
}

.hero-shot {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    border-radius: 30px;
    border: 8px solid #111;
    background-color: #111;
    background-image: url("app-screenshot.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
    margin-bottom: 1rem;
}

.feature {
    background: #fff;
    border: 1px solid var(--navajo-border);
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 4px 14px rgba(74, 46, 31, 0.06);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(74, 46, 31, 0.1);
}

.feature h3 {
    font-family: "Doctor Soos", "Arial Rounded MT Bold", "Avenir Next Rounded", "Avenir Next", sans-serif;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 0.35rem;
    color: var(--navajo-red);
}

.feature p {
    color: var(--navajo-soft-brown);
}

.simple-practice ul {
    columns: 2;
    column-gap: 1.5rem;
}

.stories-note {
    background: #f8edda;
    border-style: dashed;
}

.page-intro {
    background: #fff8ec;
    border: 1px dashed var(--navajo-border);
}

footer {
    background: var(--navajo-brown);
    color: var(--navajo-cream);
    text-align: center;
    padding: 1.6rem 1rem;
}

footer p {
    margin-bottom: 0.45rem;
}

footer p:last-child {
    margin-bottom: 0;
}

footer a {
    color: var(--navajo-cream);
    text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
    text-decoration: underline;
    outline: none;
}

@media (max-width: 900px) {
    .features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0.75rem;
    }

    header h1 {
        font-size: 1.05rem;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-device {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .hero-shot {
        max-width: 260px;
        margin: 0 auto;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .simple-practice ul {
        columns: 1;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 0.75rem 2rem;
    }

    nav a {
        min-height: 36px;
        padding: 0.45rem 0.75rem;
        font-size: 0.9rem;
    }

    .hero-copy h2 {
        font-size: 2.2rem;
    }

    section {
        border-radius: 14px;
        padding: 1.1rem;
    }
}
