:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #5f6c67;
  --paper: #f6f7f2;
  --surface: #ffffff;
  --line: #dfe5df;
  --accent: #27624e;
  --accent-soft: #e4f0e9;
  --warm: #f1e7d7;
  --shadow: 0 20px 60px rgba(29, 52, 44, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 88% 3%, rgba(228, 240, 233, 0.9), transparent 30rem), var(--paper);
  line-height: 1.7;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid rgba(39, 98, 78, 0.35);
  outline-offset: 4px;
  border-radius: 0.2rem;
}

.site-header,
main,
footer {
  width: min(calc(100% - 2rem), 70rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid rgba(24, 32, 29, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.45rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

nav a {
  padding: 0.5rem 0.7rem;
  border-radius: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

main {
  padding-block: clamp(4rem, 10vw, 7.5rem);
}

.hero {
  max-width: 54rem;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.eyebrow,
.section-label {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3.2rem, 9vw, 6.6rem);
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.45rem);
}

p {
  margin: 1rem 0 0;
}

.lede {
  max-width: 42rem;
  margin-top: 2rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.5;
}

.hero > p:not(.eyebrow):not(.lede) {
  max-width: 45rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.content-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.content-card + .content-card {
  margin-top: 1.25rem;
}

.content-card > div:last-child {
  max-width: 47rem;
}

.content-card p:not(.section-label) {
  color: var(--muted);
}

.section-marker {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 0.65rem 0.65rem 0;
  background: var(--accent-soft);
  color: var(--ink) !important;
}

.contact-card {
  grid-template-columns: 1fr;
  background: var(--warm);
}

.email-link {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--accent);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.legal-page {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.legal-hero {
  position: sticky;
  top: 2rem;
}

.legal-hero h1 {
  max-width: 8ch;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.updated {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-content {
  padding: clamp(1.6rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.legal-content section + section {
  margin-top: 2.6rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
}

.legal-content p {
  color: #45524d;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid rgba(24, 32, 29, 0.11);
  color: var(--muted);
  font-size: 0.84rem;
}

footer p {
  margin: 0;
}

footer nav a {
  font-size: 0.84rem;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .site-header nav {
    width: 100%;
  }

  .site-header nav a {
    flex: 1;
    text-align: center;
  }

  main {
    padding-block: 3.5rem;
  }

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

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

  .legal-hero {
    position: static;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

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