:root {
  color-scheme: light;
  --bg: #fcfaf5;
  --surface: #ffffff;
  --text: #17171d;
  --muted: #61616d;
  --line: rgba(23, 23, 29, 0.12);
  --accent: #b48c28;
  --accent-dark: #75460b;
  --max: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(180, 140, 40, 0.10), transparent 34rem),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 42%, #f8f4eb 100%);
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.site-header,
.site-footer {
  border-color: var(--line);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(252, 250, 245, 0.86);
  backdrop-filter: blur(12px);
}

.site-header-inner,
.site-footer-inner,
.page {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--text);
  text-decoration: none;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.8rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.page {
  padding: 3.5rem 0 4rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

h2 {
  margin: 2.4rem 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

h3 {
  margin: 1.4rem 0 0.45rem;
  font-size: 1.08rem;
}

.lede {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.content {
  margin-top: 2.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.content p,
.content li {
  color: #2e2e38;
}

.content ul {
  padding-left: 1.35rem;
}

.notice,
.link-grid a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.notice {
  margin: 1.8rem 0 0;
  padding: 1rem 1.1rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.link-grid a {
  display: block;
  padding: 1rem;
  color: var(--text);
  text-decoration: none;
}

.link-grid strong {
  display: block;
  margin-bottom: 0.25rem;
}

.link-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 720px) {
  .site-header-inner,
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .page {
    padding-top: 2.4rem;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}
