/* South Dakota Education — bespoke site tokens (dashboard/library, not newspaper)
   Warm, accessible, school-trustworthy. Green #0f6f6a accent. No double-rules, no masthead.
   Rounded-lg cards, soft shadow, generous whitespace. */
:root{
  --bg:#f9f7f2;
  --surface:#ffffff;
  --ink:#1a1e1b;
  --muted:#6b7280;
  --line:#e7e5e4;
  --accent:#0f6f6a;
  --accent-2:#14a89d;
  --accent-soft:#e6f5f3;
  --radius:14px;
  --radius-lg:18px;
  --shadow:0 6px 24px rgba(15,111,106,0.08), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-hover:0 10px 36px rgba(15,111,106,0.14), 0 4px 12px rgba(0,0,0,0.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter, ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial; background:var(--bg); color:var(--ink); line-height:1.6; -webkit-font-smoothing:antialiased}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
header.site{position:sticky;top:0;z-index:20; backdrop-filter:saturate(180%) blur(10px); background:rgba(249,247,242,0.88); border-bottom:1px solid var(--line)}
header.site .bar{display:flex;align-items:center;justify-content:space-between; gap:16px; padding:14px 0}
.brand{font-weight:800; letter-spacing:0.02em; font-size:15px; color:var(--ink)}
.brand span{color:var(--accent)}
nav.site a{font-size:14px; color:var(--ink); padding:8px 10px; border-radius:8px}
nav.site a:hover{background:var(--accent-soft); text-decoration:none}
.btn{display:inline-flex;align-items:center;justify-content:center; gap:8px; padding:10px 18px; border-radius:999px; font-weight:700; font-size:14px; border:1px solid transparent; cursor:pointer; transition:all .18s ease}
.btn-primary{background:var(--accent); color:#fff; box-shadow:0 4px 14px rgba(15,111,106,0.22)}
.btn-primary:hover{background:#0d5e5a; transform:translateY(-1px)}
.btn-ghost{background:#fff; border-color:var(--line); color:var(--ink)}
.btn-ghost:hover{border-color:var(--accent); color:var(--accent)}
.hero{margin-top:28px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:28px}
.hero-kicker{font-size:11px; letter-spacing:0.2em; color:var(--accent); font-weight:700}
.hero h1{font-size:clamp(28px, 4vw, 40px); line-height:1.1; margin:10px 0 8px; font-weight:800; letter-spacing:-0.02em}
.hero p.lead{max-width:720px; color:#3f3f46; font-size:16px}
.card-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:18px}
@media(max-width:820px){ .card-grid{grid-template-columns:1fr} }
.card{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow); transition:all .18s ease}
.card:hover{box-shadow:var(--shadow-hover); transform:translateY(-2px)}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px; line-height:1.5}
.eyebrow{font-size:12px; font-weight:700; color:var(--accent); letter-spacing:0.08em; text-transform:uppercase}
.section{margin-top:22px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:22px}
.section h2{margin:0 0 6px; font-size:20px; font-weight:800}
.sub{color:var(--muted); font-size:13px; margin:0 0 12px}
.input, textarea{width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:10px; font:inherit; font-size:14px; background:#fff}
.input:focus, textarea:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft)}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:16px}
@media(max-width:820px){ .grid2{grid-template-columns:1fr} }
.cal-item{border:1px solid var(--line); border-radius:12px; padding:12px; display:flex; justify-content:space-between; gap:12px; background:#fff}
.cal-item b{font-size:14px}
.tag{display:inline-block; font-size:11px; padding:3px 8px; border-radius:999px; background:var(--accent-soft); color:var(--accent); font-weight:700; border:1px solid #d1f0ed}
.feed{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
@media(max-width:820px){ .feed{grid-template-columns:1fr} }
.feed article{border:1px solid var(--line); border-radius:12px; padding:14px; background:#fff}
.feed article h3{margin:6px 0; font-size:15px}
.feed article p{color:var(--muted); font-size:13px}
.board-list{display:grid; gap:10px; margin-top:12px}
.board-post{border:1px solid var(--line); border-radius:12px; padding:12px; background:#fff}
.kicker-green{color:var(--accent); font-weight:800; font-size:13px}
footer.site{margin-top:28px; padding:20px 0; border-top:1px solid var(--line); color:var(--muted); font-size:13px}
.muted{color:var(--muted)}
.small{font-size:12px}
.divider{height:1px; background:var(--line); margin:16px 0}
.badge{display:inline-flex; align-items:center; gap:6px; font-size:12px; padding:6px 10px; border-radius:999px; background:var(--accent-soft); border:1px solid #cfe9e7; color:var(--accent); font-weight:700}
.prose p{margin:0 0 10px}
.prose strong{color:var(--ink)}
