/*
Erin's Learning Center
Main Website Stylesheet
Erin's Learning Center Web 1.0
Developed by South Seas Tech™ · Developer: Grant Abbott
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }

:root {
    --sand: #fbf9fd;
    --cream: #ffffff;
    --shell: #f1ecf8;
    --line: #e2d9ef;
    --ink: #2e2a3d;
    --muted: #615c72;
    --sea: #6b4fa0;
    --sea-deep: #4f3a7a;
    --sea-soft: #ece5f6;
    --coral: #2fa3a0;
    --coral-deep: #23807d;
    --display: "Lora", Georgia, serif;
    --body: "Nunito", "Segoe UI", system-ui, sans-serif;
    --gold: #e9b44c;
}

html { scroll-behavior: smooth; }

body {
    background: var(--sand);
    color: var(--ink);
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; color: var(--sea-deep); }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .45rem; }
p { margin-bottom: 1rem; }

a { color: var(--coral-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sea); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1140px, 92%); margin: 0 auto; }

.eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--coral-deep);
    margin-bottom: .6rem;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 46rem; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 253, 248, .95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--sea-deep); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--display); font-size: 1.25rem; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .08em; }

.site-nav { display: flex; gap: .3rem; flex-wrap: wrap; }
.site-nav a { color: var(--ink); font-size: .95rem; padding: .45rem .75rem; border-radius: 6px; }
.site-nav a:hover { background: var(--sea-soft); color: var(--sea-deep); }
.site-nav a[aria-current="page"] { color: var(--sea-deep); box-shadow: inset 0 -2px 0 var(--coral); }

.nav-toggle {
    display: none; background: var(--cream); color: var(--ink);
    border: 1px solid var(--line); border-radius: 6px; padding: .45rem .9rem; font: inherit; cursor: pointer;
}

/* Hero */
.hero { padding: 3.5rem 0; background: radial-gradient(ellipse at 90% 10%, rgba(224, 122, 95, .12), transparent 55%), linear-gradient(var(--cream), var(--sand)); }
.hero .inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.hero-art { width: 100%; filter: drop-shadow(0 18px 30px rgba(47, 107, 94, .18)); }

.page-hero { position: relative; padding: 4rem 0 4.5rem; background: linear-gradient(160deg, var(--sea-soft), var(--cream) 70%); }
.page-hero .wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 40px; fill: var(--sand); }

/* Buttons */
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.btn { display: inline-block; padding: .75rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem; transition: all .2s ease; border: 2px solid transparent; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-deep); color: #fff; }
.btn-ghost { border-color: var(--sea); color: var(--sea); }
.btn-ghost:hover { background: var(--sea); color: #fff; }

/* Sections */
.section { padding: 4rem 0; }
.section.tint { background: var(--shell); }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head p:last-child { color: var(--muted); }

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; box-shadow: 0 8px 22px rgba(47, 107, 94, .06); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(47, 107, 94, .12); }
.card p { color: var(--muted); }
.card ul { padding-left: 1.1rem; }
.card li { margin-bottom: .3rem; }
.card li::marker { color: var(--coral); }

.checks { list-style: none; padding-left: 0 !important; }
.checks li { position: relative; padding-left: 1.6rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--sea); font-weight: 700; }

.icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; background: var(--sea-soft); }
.icon svg { width: 27px; height: 27px; fill: none; stroke: var(--sea); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.step { counter-increment: step; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.2rem 1.2rem; }
.step::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; margin-bottom: .7rem; }
.step p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

.note { color: var(--muted); font-size: .95rem; margin-top: 1rem; }

/* Band CTA */
.band { border-radius: 22px; padding: 2.6rem; background: linear-gradient(135deg, var(--sea), var(--sea-deep)); color: #f4fbf8; }
.band h2 { color: #fff; }
.band .eyebrow { color: #f6c3b3; }
.band p { color: #d9ece6; max-width: 40rem; }
.band .btn-ghost { border-color: #fff; color: #fff; }
.band .btn-ghost:hover { background: #fff; color: var(--sea-deep); }

/* About feature */
.feature { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: center; }
.portrait { background: var(--shell); border-radius: 50%; padding: 2.5rem; max-width: 280px; }

/* Footer */
.site-footer { background: var(--sea-deep); color: #cfe3dc; padding: 2.4rem 0; font-size: .92rem; }
.site-footer p { margin-bottom: .35rem; }
.foot-name { font-family: var(--display); font-size: 1.2rem; color: #fff; }
.license { color: #fff; font-weight: 600; }
.disclaimer { margin-top: .8rem; max-width: 52rem; color: #b5d0c7; }

/* Responsive */
@media (max-width: 980px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .steps, .steps-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; width: 100%; flex-direction: column; padding-bottom: .6rem; }
    .site-nav.open { display: flex; }
    .grid-2, .grid-3, .steps, .steps-5, .feature, .hero .inner { grid-template-columns: 1fr; }
    .hero-art { max-width: 420px; }
    .section { padding: 3rem 0; }
    .page-hero { padding: 3rem 0 2.2rem; }
    .hero { padding: 2.4rem 0 2.2rem; }
    .band { padding: 1.8rem; }
    .brand-text small { display: none; }
}

.credit { font-size: .72rem; opacity: .6; letter-spacing: .02em; }
.status-chip { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sea); background: var(--sea-soft); border-radius: 999px; padding: .3rem .9rem; margin: .2rem 0 .4rem; }
.band .eyebrow { color: var(--gold); }

.narrow { max-width: 860px; }
.beliefs { display: grid; gap: .9rem; margin-top: 1rem; }
.beliefs dt { font-family: var(--display); font-weight: 600; color: var(--sea-deep); font-size: 1.12rem; }
.beliefs dd { color: var(--muted); margin: .15rem 0 0; }

.banner img { width: 100%; height: auto; display: block; }
.hero-text .inner { grid-template-columns: 1fr; } .hero-text .inner > div { max-width: 820px; }

.banner img { width: 100%; height: auto; display: block; }
.hero-text .inner { grid-template-columns: 1fr; max-width: 820px; }

/* Tighter spacing for a more professional look */
body { line-height: 1.55; }
p { margin-bottom: .7rem; }
h2 { margin-bottom: .7rem; }
.section { padding: 2.8rem 0; }
.page-hero { padding-top: 3rem; padding-bottom: 3.2rem; }
.hero { padding-top: 2.6rem; padding-bottom: 2.6rem; }
.section-head { margin-bottom: 1.4rem; }
.card { padding: 1.25rem 1.35rem; }
.card li { margin-bottom: .15rem; }
.grid { gap: 1.1rem; }
.btn-row { margin-top: 1rem; }

@media (max-width: 760px) { .brand { flex: 1; min-width: 0; } .brand-text strong { font-size: 1.02rem; } }
