:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #566662;
  --brand: #176b5b;
  --brand-dark: #0f4f43;
  --paper: #ffffff;
  --wash: #f2f7f5;
  --line: #dbe7e3;
  --focus: #ffb703;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--brand-dark); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}
.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
}
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--brand);
  font-weight: 900;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 18px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 650; }
.nav-links a[aria-current="page"] { color: var(--brand-dark); }
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 80% 10%, rgba(23, 107, 91, 0.16), transparent 34%),
    linear-gradient(180deg, #f7fbf9 0%, #fff 100%);
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.025em; }
h1 { margin: 0 0 20px; font-size: clamp(2.4rem, 7vw, 4.8rem); }
h2 { margin: 2.6rem 0 0.8rem; font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { margin: 1.8rem 0 0.5rem; font-size: 1.15rem; }
.lead { max-width: 760px; color: var(--muted); font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  color: white;
  background: var(--brand);
  text-decoration: none;
  font-weight: 750;
}
.button.secondary { color: var(--brand-dark); background: transparent; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 64px 0;
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(23, 33, 31, 0.06);
}
.card h2, .card h3 { margin-top: 0; }
.legal {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
.meta, .notice { color: var(--muted); }
.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: var(--wash);
}
.legal table { width: 100%; border-collapse: collapse; }
.legal th, .legal td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal th { background: var(--wash); }
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); background: var(--wash); }
.footer-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.skip-link { position: absolute; left: -9999px; top: 8px; }
.skip-link:focus { left: 8px; z-index: 10; padding: 8px 12px; background: white; }
code { padding: 0.1em 0.3em; border-radius: 4px; background: var(--wash); }
@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .hero { padding-top: 56px; }
  .grid { grid-template-columns: 1fr; }
  .legal table { display: block; overflow-x: auto; }
}
