:root {
  --ink: #111827;
  --muted: #526070;
  --line: #dde7ef;
  --paper: #fbf9f2;
  --mint: #41bfa5;
  --sky: #4a9ce8;
  --coral: #f16f63;
  --gold: #f4bf4f;
  --navy: #16233d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(251,249,242,.94), rgba(239,247,244,.94)), url("/assets/lifetogether-pattern.svg");
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(22,35,61,.1);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand img { width: 42px; height: 42px; }
nav { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}
nav a:hover { border-color: var(--line); background: white; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px) 34px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(65,191,165,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  padding: 8px 12px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
h1 {
  max-width: 820px;
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .94;
  letter-spacing: 0;
}
.lead { max-width: 760px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.72; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 17px;
  font-weight: 900;
}
.btn.primary { background: var(--navy); color: white; }
.btn.secondary { border: 1px solid var(--line); background: white; }
.hero-art {
  border: 1px solid rgba(22,35,61,.12);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 24px 80px rgba(22,35,61,.14);
}
.band { padding: 34px clamp(18px, 5vw, 72px); }
.grid { display: grid; gap: 18px; }
.grid.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  padding: 20px;
  box-shadow: 0 16px 50px rgba(22,35,61,.06);
}
.card h2, .card h3 { margin: 0 0 10px; letter-spacing: 0; }
.card p, .card li { color: var(--muted); line-height: 1.68; }
.stat { border-left: 5px solid var(--mint); }
.wiki-panel h2 { font-size: clamp(24px, 3vw, 34px); }
.check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}
.check-list li {
  padding-left: 4px;
}
.status-table {
  display: grid;
  gap: 0;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.status-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.status-row:last-child { border-bottom: 0; }
.status-row strong { color: var(--navy); font-size: 14px; }
.status-row span,
.status-row em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}
.section-title { max-width: 850px; margin-bottom: 18px; }
.section-title h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 48px); }
.section-title p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 17px; }
.compact-title { max-width: 980px; }
.page-list {
  display: grid;
  gap: 10px;
  align-content: start;
}
.page-list h3 { margin-bottom: 4px; }
.page-list a {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.page-list a span { font-weight: 900; color: var(--navy); }
.page-list a small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.media-card img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.media-card p { margin-bottom: 0; }
.wiki-body {
  max-width: 1000px;
  margin: 0 auto;
  padding: 42px clamp(18px, 5vw, 52px);
}
.wiki-body h1 { font-size: clamp(36px, 5vw, 62px); }
.wiki-body h2 { margin-top: 34px; font-size: 28px; }
.wiki-body p, .wiki-body li { color: var(--muted); line-height: 1.76; font-size: 17px; }
.notice {
  border: 1px solid rgba(244,191,79,.45);
  border-radius: 8px;
  background: #fff7dc;
  padding: 16px;
  color: #76520c;
  font-weight: 800;
}
.keyword-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.keyword-list li { border-radius: 999px; background: white; border: 1px solid var(--line); padding: 8px 11px; font-size: 14px; font-weight: 800; color: #334155; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}
.site-footer p { max-width: 760px; margin: 8px 0 0; line-height: 1.6; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 800; }
@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; }
  .grid.cards, .grid.two { grid-template-columns: 1fr; }
  .status-row { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { flex-direction: column; }
}
