:root {
  color-scheme: light;
  --background: #f7fbf8;
  --surface: #ffffff;
  --surface-soft: #eef8f5;
  --border: #dff1ec;
  --text: #101816;
  --text-muted: #52685f;
  --primary: #007a8a;
  --primary-soft: #d8f3ef;
  --accent: #4e7b68;
  --focus: #1ea79b;
  --shadow: 0 18px 50px rgba(0, 122, 138, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(141, 221, 211, 0.26), transparent 34rem),
    linear-gradient(180deg, #f7fbf8 0%, #eef8f5 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--primary);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #075f68;
}

a:focus-visible,
button:focus-visible {
  border-radius: 0.35rem;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  padding: 1.25rem;
}

.nav {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 68rem;
}

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

.brand-mark {
  align-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  font-size: 1.2rem;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-title {
  font-size: 1rem;
  font-weight: 800;
}

.brand-subtitle {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary);
}

main {
  margin: 0 auto;
  max-width: 68rem;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  display: grid;
  gap: 1.25rem;
  padding: 3rem 0 2rem;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.16;
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 8vw, 4.75rem);
  letter-spacing: -0.03em;
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  margin-top: 2rem;
}

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

p {
  margin: 0.85rem 0 0;
}

.lede {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  max-width: 48rem;
}

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

.card,
.policy-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

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

.policy-card {
  margin-top: 1rem;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.toc {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 1rem;
  margin: 2rem 0;
  padding: 1rem 1.25rem;
}

.toc ol {
  columns: 2;
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.45rem;
}

.notice {
  background: #d8f3ef;
  border-left: 5px solid var(--primary);
  border-radius: 0.85rem;
  margin-top: 1.25rem;
  padding: 1rem;
}

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

.button {
  align-items: center;
  background: var(--primary);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
}

.button.secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  margin: 2rem auto 0;
  max-width: 68rem;
  padding: 1.5rem 1.25rem 2.5rem;
}

.site-footer p {
  font-size: 0.92rem;
}

.footer-meta {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

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

  .toc ol {
    columns: 1;
  }

  main {
    padding-top: 1rem;
  }
}
