:root {
  --ink: #17201d;
  --muted: #5d6863;
  --paper: #f7f5ef;
  --surface: #fffdf8;
  --accent: #b64b2a;
  --accent-dark: #87351e;
  --line: #dcd8ce;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-header,
footer {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header { min-height: 88px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  aspect-ratio: 1;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-size: .72rem;
  letter-spacing: .06em;
}

nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
}

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

main { overflow: hidden; }

.hero,
.content-section,
.notice,
.legal {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.hero {
  padding: clamp(5rem, 12vw, 10rem) 0;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(38vw, 430px);
  aspect-ratio: 1;
  right: 2%;
  top: 18%;
  border: clamp(22px, 5vw, 58px) solid #e7cabb;
  border-radius: 50%;
  opacity: .72;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--accent-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
}

h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { margin: .6rem 0 .5rem; font-size: 1.3rem; }

.lead {
  max-width: 680px;
  margin: 2rem 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.button {
  display: inline-block;
  padding: .85rem 1.2rem;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
}

.button:hover { background: var(--accent-dark); }

.content-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.cards article { padding: 2rem; background: var(--surface); }
.cards p, .notice > p { color: var(--muted); }
.number { color: var(--accent); font-size: .75rem; font-weight: 800; }

.notice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.notice > p { margin: 0; font-size: 1.1rem; }

.legal { max-width: 760px; padding: clamp(4rem, 9vw, 7rem) 0; }
.legal h1 { font-size: clamp(2.7rem, 7vw, 5rem); }
.updated { margin: 1rem 0 4rem; color: var(--muted); }
.legal section { margin: 0 0 2.5rem; }
.legal h2 { font-size: 1.35rem; }
.legal section p { color: var(--muted); }

footer {
  min-height: 130px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-direction: column; padding-block: 1.2rem; gap: 1rem; }
  .site-header nav { width: 100%; justify-content: space-between; }
  .hero::after { top: 24%; right: -20%; width: 65vw; }
  .cards, .notice { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 2rem; gap: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
