:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #242321;
  --muted: #66615b;
  --border: #ded8cf;
  --accent: #6a4f3b;
  --accent-strong: #4e3829;
  --max-width: 1120px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header__inner,
.site-footer__inner,
.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

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

.site-name {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
}

main {
  min-height: 60vh;
}

.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 3rem;
}

.hero__content,
.prose {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  max-width: 15ch;
}

.page-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: none;
}

h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  color: var(--muted);
  max-width: 68ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button-link {
  display: inline-block;
  padding: 0.72rem 1rem;
  border: 1px solid var(--accent-strong);
  border-radius: 999px;
  background: var(--accent-strong);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button-link--secondary {
  background: transparent;
  color: var(--accent-strong);
}

.section {
  padding: 2.5rem 0;
}

.section--top {
  padding-top: clamp(3rem, 7vw, 5rem);
}

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

.card,
.notice {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.25rem;
}

.card h2,
.card h3,
.notice h2,
.notice h3 {
  margin-top: 0;
}

.notice {
  margin: 2rem 0;
}

.muted {
  color: var(--muted);
}

.check-list {
  padding-left: 1.2rem;
}

.check-list li + li {
  margin-top: 0.8rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: inherit;
}

@media (max-width: 820px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav ul {
    justify-content: flex-start;
  }

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

@media (max-width: 420px) {
  .site-header__inner,
  .site-footer__inner,
  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero {
    padding-top: 2.75rem;
  }

  .actions {
    flex-direction: column;
  }

  .button-link {
    text-align: center;
  }
}
