/* Design tokens and components from Jake Moore's personal design system (Life Hub base.css), trimmed to what this app uses. */
:root {
  --navy:         #1B2A4A;
  --navy-dark:    #0F1D36;
  --charcoal:     #2D2D2D;
  --charcoal-mid: #3D3D3D;
  --steel:        #5B7FA6;
  --steel-light:  #DDE8F2;
  --white:        #FFFFFF;
  --light-gray:   #ECEEF1;
  --border:       #D4D8DF;
  --text:         #2D2D2D;
  --text-muted:   #6B7280;
  --orange:       #D4850A;
  --orange-bg:    #FEF3CD;
  --green:        #1A7A4A;
  --green-bg:     #D1FAE5;
  --red:          #B91C1C;
  --red-bg:       #FEE2E2;
  --t: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--light-gray);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { font-family: 'League Spartan', sans-serif; line-height: 1.15; }
a { color: var(--steel); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--navy); text-decoration: underline; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

.navbar {
  background: var(--navy);
  border-bottom: 2px solid var(--navy-dark);
  position: sticky; top: 0; z-index: 100;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding-inline: clamp(1.25rem, 3vw, 2.5rem); gap: 1rem;
  max-width: 1600px; margin-inline: auto;
}
.navbar-brand {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: 0.04em;
  white-space: nowrap; flex-shrink: 0;
}
/* Nav fit (2026-09-27): with 13 links the bar wrapped at 1280 -- links onto
   two rows and "Life Hub" onto two lines. The brand never wraps or shrinks,
   and link padding/gap came down just enough (0.7 -> 0.55rem, 0.4 -> 0.3rem)
   for one row at 1280. Type size is untouched. min-height, not height: if the
   links ever wrap, the bar grows instead of spilling over the page. Below 1200
   it is two rows -- see NAVBAR (narrow) after the base rules. */
.navbar-brand:hover { opacity: 0.85; color: #fff; text-decoration: none; }
.navbar-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; flex-wrap: wrap; margin-left: auto; }
.navbar-links li { display: flex; align-items: center; }
.navbar-links a {
  display: inline-block;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.8rem; font-weight: 600; line-height: 1;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 0.3rem 0.55rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color var(--t), border-color var(--t);
}
.navbar-links a:hover, .navbar-links a.active { color: #fff; border-color: rgba(255,255,255,0.5); text-decoration: none; }
.navbar-links a.active { background: var(--navy-dark); border-color: rgba(255,255,255,0.55); }
.hero {
  background: var(--navy);
  padding: 2.5rem 0 2rem;
  color: #fff;
}
.hero-inner { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.hero-text  { flex: 1; min-width: 280px; }
.hero-eyebrow {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel-light); opacity: 0.8;
  margin-bottom: 0.35rem; display: block;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700; color: #fff;
  line-height: 1.05; margin-bottom: 0.4rem;
}
.hero-tagline {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.hero-sub {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
}
.hero-sub.hero-date {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.stat-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.stat-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}
.stat-pill strong { color: #fff; font-weight: 700; display: block; font-size: 0.88rem; }
.hero-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 3px;
  border: none; cursor: pointer; line-height: 1;
  letter-spacing: 0.02em;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: #4a6d92; color: #fff; text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover { color: #fff; border-color: rgba(255,255,255,0.7); text-decoration: none; }
.btn-outline {
  background: transparent; color: var(--steel); border: 1px solid var(--steel);
}
.btn-outline:hover { background: var(--steel-light); color: var(--navy); text-decoration: none; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #8c1414; color: #fff; }
.btn-sm { font-size: 0.72rem; padding: 0.35rem 0.8rem; }
.section-label {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel);
  display: block; margin-bottom: 0.25rem;
}
.section-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 1rem;
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.09); transform: translateY(-1px); }
.card--flush { padding: 0; overflow: hidden; }
.card--dark {
  background: var(--charcoal-mid);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
}
.card-label {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.3rem;
  display: block;
}
.card--dark .card-label { color: var(--steel-light); opacity: 0.8; }
.card-title {
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem; font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.card--dark .card-title { color: #fff; }
.card-body { font-family: 'Libre Baskerville', serif; font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel);
  text-align: left;
  padding: 0.45rem 0.75rem;
  border-bottom: 2px solid var(--border);
  background: var(--light-gray);
  white-space: nowrap;
}
.data-table td {
  font-family: 'Libre Baskerville', serif;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.4;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: #f7f9fc; }
.data-table .row-label {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.callout {
  border-left: 4px solid var(--steel);
  background: var(--steel-light);
  border-radius: 0 6px 6px 0;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.88rem; line-height: 1.55;
}
.callout-title {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: var(--navy);
}
.callout--success { border-color: var(--green);  background: var(--green-bg); }
.callout--success .callout-title { color: var(--green); }
.callout--warning { border-color: var(--orange); background: var(--orange-bg); }
.callout--warning .callout-title { color: var(--orange); }
.callout--danger  { border-color: var(--red);    background: var(--red-bg); }
.callout--danger  .callout-title { color: var(--red); }
.callout--info    { border-color: var(--steel);  background: var(--steel-light); }
.callout--info    .callout-title { color: var(--navy); }
