:root {
  color-scheme: light;
  --shadow: #233859;
  --tulip: #925878;
  --peach: #fab68f;
  --paper: #fbfaf8;
  --ink: #211c24;
  --muted: #625b66;
  --line: #e6d8d1;
  --surface: #ffffff;
  --focus: #c94c2d;
  font-family:
    "Rethink Sans",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 248, 0.94);
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(12px);
}

.site-header__inner,
.hero,
.updates,
.detail,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--shadow);
}

.brand img {
  width: 144px;
  height: auto;
  display: block;
}

.nav-link {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.hero {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--tulip);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--shadow);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 820px;
}

.hero__copy {
  margin: 24px 0 0;
  max-width: 670px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero__panel {
  border-left: 4px solid var(--peach);
  padding: 6px 0 6px 22px;
  color: var(--muted);
}

.hero__panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--shadow);
  font-size: 1rem;
}

.filters {
  margin: 18px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  min-height: 40px;
  padding: 0 16px;
  font: inherit;
  font-weight: 700;
}

.filter-button[aria-pressed="true"] {
  border-color: var(--shadow);
  background: var(--shadow);
  color: #fff;
}

.update-list {
  display: grid;
  gap: 16px;
  padding-bottom: 80px;
}

.update-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.update-card:hover {
  border-color: var(--peach);
  box-shadow: 0 18px 44px rgba(35, 56, 89, 0.08);
  transform: translateY(-1px);
}

.update-card time {
  color: var(--tulip);
  font-weight: 800;
}

.update-card h2,
.detail h1 {
  color: var(--shadow);
  letter-spacing: 0;
}

.update-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.update-card p {
  margin: 0;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: #f6e7df;
  color: #5e3a2e;
  font-size: 0.82rem;
  font-weight: 800;
}

.detail {
  padding: 56px 0 80px;
}

.detail__back {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.detail__summary {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.2rem;
}

.detail__body {
  max-width: 760px;
  margin-top: 34px;
  color: var(--ink);
  font-size: 1.06rem;
}

.detail__body li + li {
  margin-top: 12px;
}

.empty-state {
  display: none;
  color: var(--muted);
  padding: 24px 0 80px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 780px) {
  .site-header__inner {
    min-height: 64px;
  }

  .brand img {
    width: 126px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 44px;
  }

  .update-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }
}
