:root {
  color-scheme: light;
  --paper: #f6f6f2;
  --surface: #fff;
  --ink: #172321;
  --muted: #53605b;
  --line: #d9ded8;
  --accent: #713543;
  --accent-light: #e9dce0;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

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

a { color: var(--accent); text-underline-offset: 0.22em; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-shell {
  width: min(100% - 3rem, 1120px);
  min-height: 100vh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  white-space: nowrap;
}

.brand span { color: var(--accent); }

.header-note {
  color: var(--muted);
  font-size: 0.83rem;
  text-align: right;
}

.site-main { flex: 1; }

.hero {
  padding-block: clamp(5rem, 10vw, 9rem) clamp(4rem, 8vw, 7rem);
}

.eyebrow,
.section-label,
.document-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 0.75rem; }

.eyebrow-mark {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-light);
}

.hero h1 {
  max-width: 12ch;
  margin: 1.55rem 0 1.2rem;
  font-size: clamp(3.2rem, 9vw, 7.6rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.lead {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  line-height: 1.4;
}

.content-panel {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 2.5fr);
  gap: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  padding-block: 2.4rem clamp(5rem, 9vw, 8rem);
}

.section-label { padding-top: 0.4rem; }
.content-copy { max-width: 68ch; }
.content-copy p { margin: 0 0 1.3rem; }
.content-copy p:last-child { margin-bottom: 0; }

.document {
  max-width: 76ch;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(5rem, 8vw, 7rem);
}

.document h1 {
  margin: 1rem 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.document-intro,
.document-meta { color: var(--muted); }
.document-intro { margin: 0 0 2.75rem; font-size: 1.06rem; }
.document-meta { font-size: 0.86rem; }
.document h2 { margin: 2.5rem 0 0.75rem; font-size: 1.33rem; line-height: 1.3; }
.document h3 { margin: 1.8rem 0 0.5rem; font-size: 1.05rem; }
.document p, .document ul, .document ol { margin: 0 0 1rem; }
.document ul, .document ol { padding-left: 1.4rem; }
.document li + li { margin-top: 0.35rem; }

.notice {
  margin-block: 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-block: 1.6rem 2.1rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.7rem; }
.footer-links a { font-size: 0.9rem; font-weight: 600; }
.footer-note { margin: 0; color: var(--muted); font-size: 0.8rem; white-space: nowrap; }

@media (max-width: 640px) {
  .site-shell { width: min(100% - 2rem, 1120px); }
  .site-header { min-height: 72px; }
  .header-note { max-width: 12ch; font-size: 0.72rem; line-height: 1.35; }
  .hero { padding-block: 4.7rem 4.5rem; }
  .hero h1 { font-size: clamp(3rem, 13vw, 5rem); }
  .content-panel { grid-template-columns: 1fr; gap: 1.1rem; }
  .document { padding-block: 3rem 4.5rem; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 360px) {
  .document h1 { font-size: 1.65rem; }
}
