
/* BOY: Seattle Almanac — Global Styles */
:root {
  --bg: #0b1524;
  --bg-2: #0f1c2e;
  --panel: #13253d;
  --text: #e8f1ff;
  --muted: #afc2d7;
  --accent: #00a37a;
  --accent-2: #52d6b7;
  --warning: #ffd166;
  --error: #ff6b6b;
  --success: #06d6a0;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f8fc;
    --bg-2: #e9f1fb;
    --panel: #ffffff;
    --text: #152235;
    --muted: #4c6080;
    --accent: #007a5e;
    --accent-2: #00b894;
    --shadow: 0 10px 24px rgba(9,30,66,0.15);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(0,163,122,0.10), transparent 60%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  min-height: 100vh;
}
.container { width: min(1100px, 92%); margin: 0 auto; }
a { color: var(--accent-2); text-decoration: none; } a:hover, a:focus { text-decoration: underline; }
/* Header / Nav */
.header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px);
  background: rgba(10,20,35,0.75); border-bottom: 1px solid rgba(126,142,163,0.35); }
.header .nav { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 110px; height: 24px; }
.nav .links { display: flex; gap: 14px; flex-wrap: wrap; }
.nav .links a { padding: 8px 10px; border-radius: 10px; color: var(--muted); font-weight: 600; }
.nav .links a.active, .nav .links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.btn { appearance: none; background: var(--accent); color: #00150f; padding: 9px 14px; border: none; border-radius: 12px; font-weight: 700; box-shadow: var(--shadow); cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; border: 1px solid var(--accent-2); color: var(--accent-2); box-shadow: none; }
.btn-muted { background: var(--panel); color: var(--text); box-shadow: none; border: 1px solid rgba(126,142,163,0.35); }

/* Hero */
.hero { padding: 40px 0 28px 0; position: relative; }
.hero .badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(82,214,183,0.25); color: #00150f; font-weight: 700; letter-spacing: 0.2px; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.15; margin: 14px 0 10px 0; }
.subhead { color: var(--muted); font-size: clamp(16px, 2.7vw, 20px); max-width: 740px; }

/* Grid Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--panel); border: 1px solid rgba(126,142,163,0.25); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); }
.card h3 { margin: 6px 0 6px 0; } .card p { color: var(--muted); } .card .meta { color: var(--muted); font-size: 13px; }

/* Content */
main { padding: 24px 0 48px 0; }
.article { background: var(--panel); border-radius: 16px; padding: 24px; border: 1px solid rgba(126,142,163,0.25); box-shadow: var(--shadow); }
.article h1 { margin-top: 0; }
.article .disclaimer { border-left: 4px solid var(--warning); background: rgba(255,209,102,0.15); padding: 12px 14px; border-radius: 8px; color: #271a00; margin-bottom: 16px; }
.article .official { background: rgba(0,163,122,0.12); border-left: 4px solid var(--accent); padding: 12px 14px; border-radius: 8px; }

kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; background: rgba(15,28,46,0.4); border-radius: 6px; padding: 0 6px; border: 1px solid rgba(126,142,163,0.35); }

ol.checklist { counter-reset: step; padding-left: 20px; }
ol.checklist > li { margin-bottom: 10px; }
ol.checklist > li::marker { color: var(--accent-2); font-weight: 700; }

blockquote.note { margin: 12px 0; padding: 12px 14px; background: rgba(15,28,46,0.6); border-left: 4px solid var(--accent-2); border-radius: 8px; }

/* Footer */
.footer { padding: 28px 0 48px 0; color: var(--muted); border-top: 1px solid rgba(15,28,46,0.6); margin-top: 40px; }
.footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.footer nav a { display: block; margin: 4px 0; color: var(--muted); }
.footer .copyright { margin-top: 10px; font-size: 14px; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 10px; top: 10px; width: auto; height: auto; background: var(--accent); color: #00150f; padding: 10px 12px; border-radius: 8px; z-index: 9999; }

/* Cookie/Consent banner */
.cookie-banner { position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%); width: min(940px, 96%); background: var(--panel); color: var(--text);
  border: 1px solid rgba(126,142,163,0.25); padding: 14px; border-radius: 14px; box-shadow: var(--shadow); display: none; z-index: 999; }
.cookie-banner .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cookie-banner .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner a { color: var(--accent-2); }

/* Breadcrumb */
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.breadcrumbs a { color: var(--muted); } .breadcrumbs .sep { opacity: 0.6; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 12px 0 18px 0; }
th, td { padding: 10px 12px; border-bottom: 1px solid rgba(126,142,163,0.25); }
th { text-align: left; color: var(--muted); font-weight: 700; }

/* Utility */
.badge-soft { background: rgba(0,163,122,0.2); color: var(--text); padding: 4px 8px; border-radius: 999px; }
.meta { color: var(--muted); font-size: 14px; }
.hidden { display: none; }
