/* Brightwater Academy — the made-up school site that shows Compass. */
:root {
    --navy: #14325c;
    --teal: #1f8a8a;
    --teal-soft: #e3f3f2;
    --ink: #1d2430;
    --muted: #5b6474;
    --line: #dde2ea;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.6 Georgia, "Times New Roman", serif;
}

a { color: var(--teal); }
a:focus-visible, button:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }

.demo-banner {
    background: #fff4c2;
    color: #4a3b00;
    font: 14px/1.4 -apple-system, "Segoe UI", Roboto, sans-serif;
    text-align: center;
    padding: 6px 16px;
}
.demo-banner a { color: inherit; font-weight: 600; }

.site-header { background: var(--navy); color: #fff; }
.site-header .inner {
    max-width: 1080px; margin: 0 auto; padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand strong { display: block; font-size: 1.35rem; letter-spacing: 0.02em; }
.brand span { font: 13px -apple-system, "Segoe UI", Roboto, sans-serif; opacity: 0.8; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a {
    color: #fff; text-decoration: none;
    font: 15px -apple-system, "Segoe UI", Roboto, sans-serif;
}
.site-nav a:hover { text-decoration: underline; }

.hero { background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; }
.hero .inner { max-width: 1080px; margin: 0 auto; padding: 56px 16px; }
.hero h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 12px; }
.hero p { font-size: 1.15rem; max-width: 640px; margin: 0; }

main { max-width: 820px; margin: 0 auto; padding: 32px 16px 64px; }
main h1 { color: var(--navy); font-size: 2rem; line-height: 1.2; }
main h2 { color: var(--navy); margin-top: 2rem; }
main h3 { margin-bottom: 0.25rem; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-alt); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 1.5rem 0; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: var(--bg-alt); }
.card h3 { margin-top: 0; }

.note { background: var(--teal-soft); border-left: 4px solid var(--teal); padding: 12px 16px; border-radius: 4px; }
.post-date { color: var(--muted); font-size: 0.95rem; }

.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer .inner {
    max-width: 1080px; margin: 0 auto; padding: 24px 16px;
    font: 14px/1.6 -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (max-width: 700px) {
    .hero h1 { font-size: 1.8rem; }
    .site-nav ul { gap: 4px 12px; }
}
