:root {
  color-scheme: light;
  --bg: #f6f4ee;
  --surface: #ffffff;
  --text: #1e2930;
  --muted: #5e6b73;
  --line: #d8dedb;
  --accent: #236b63;
  --accent-strong: #184c47;
  --amber: #b26a2c;
  --shadow: 0 20px 50px rgba(28, 43, 48, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(35, 107, 99, 0.1), transparent 34rem),
    radial-gradient(circle at top right, rgba(178, 106, 44, 0.12), transparent 24rem),
    var(--bg);
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  width: 1.55rem;
  height: 1.55rem;
  border: 0.38rem solid var(--accent);
  border-top-color: var(--amber);
  border-radius: 999px;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

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

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

.page-shell,
.document-shell {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
}

.page-shell {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: 4rem 0 6rem;
}

.intro {
  max-width: 43rem;
}

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

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.25rem);
  line-height: 0.98;
}

.intro p:not(.eyebrow) {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.55);
  color: var(--accent);
}

.button.secondary:hover {
  background: #ffffff;
  color: var(--accent-strong);
}

.document-shell {
  padding: 3rem 0 6rem;
}

.legal-document {
  width: min(100%, 48rem);
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.legal-document h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1;
}

.legal-document h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.legal-document p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-document p:first-of-type {
  color: var(--text);
}

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

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .page-shell {
    align-items: start;
    padding-top: 3rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }
}
