:root {
  color-scheme: light dark;
  --ocean: #073d44;
  --ocean-deep: #052f35;
  --aqua: #3ec8b5;
  --aqua-soft: #c8f0ea;
  --sand: #f3eddf;
  --paper: #fffdf8;
  --ink: #17373a;
  --muted: #5e7475;
  --line: #d6e1dc;
  --shadow: 0 18px 50px rgba(5, 47, 53, 0.12);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(62, 200, 181, 0.18), transparent 28rem),
    var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ocean);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px 11px 16px 16px;
  background: var(--ocean);
  color: white;
  font-size: 0.92rem;
}

nav { display: flex; gap: 24px; }

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  padding: clamp(70px, 12vw, 150px) 0 clamp(64px, 10vw, 120px);
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #167f73;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  color: var(--ocean-deep);
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  color: var(--ocean-deep);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ocean);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary { background: var(--ocean); color: white; }
.button.secondary { color: var(--ocean); }
.button:hover { transform: translateY(-1px); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 90px;
}

.feature-card,
.document-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.feature-card { padding: 30px; }

.feature-card p,
.privacy-callout p,
.document-card p,
.document-card li { color: var(--muted); }

.feature-number {
  display: inline-block;
  margin-bottom: 48px;
  color: #16877a;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.privacy-callout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 7vw, 90px);
  margin-bottom: 80px;
  padding: clamp(36px, 7vw, 72px);
  border-radius: 32px;
  background: var(--ocean);
}

.privacy-callout h2,
.privacy-callout p { color: white; }
.privacy-callout .eyebrow { color: var(--aqua-soft); }
.privacy-callout p { margin-bottom: 0; font-size: 1.08rem; }

.document-page { max-width: 880px; }

.document-hero { padding: 80px 0 48px; }
.document-hero h1 { max-width: 820px; font-size: clamp(2.8rem, 7vw, 5.6rem); }
.document-hero .button { margin: 14px 0 8px; }
.updated,
.contact-address { color: var(--muted); font-size: 0.92rem; }

.document-card {
  margin-bottom: 28px;
  padding: clamp(28px, 5vw, 52px);
}

.document-card.compact { padding-block: 34px; }
.document-card ul { padding-left: 22px; }
.policy section + section { margin-top: 44px; padding-top: 38px; border-top: 1px solid var(--line); }
.policy a { color: #086e64; font-weight: 750; }

details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 20px 0; color: var(--ocean); font-weight: 800; cursor: pointer; }
details p { padding: 0 0 20px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

footer p { max-width: 720px; margin: 0; }
footer div { display: flex; gap: 18px; }
footer a { font-weight: 700; }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 28px, 680px); }
  .feature-grid, .privacy-callout { grid-template-columns: 1fr; }
  .feature-number { margin-bottom: 26px; }
  footer { flex-direction: column; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1718;
    --ink: #e9f2ef;
    --muted: #abc0bd;
    --line: #294344;
    --ocean: #83ded1;
    --ocean-deep: #e5f5f1;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  }

  body { background: radial-gradient(circle at 85% 0%, rgba(62, 200, 181, 0.13), transparent 28rem), var(--paper); }
  .brand-mark { background: #2cb7a5; color: #052f35; }
  .feature-card, .document-card { background: rgba(17, 31, 32, 0.9); }
  .privacy-callout { background: #113f43; }
  .button.primary { background: #54d3c2; border-color: #54d3c2; color: #052f35; }
  .button.secondary { border-color: #69bcb2; }
  .policy a { color: #73ded0; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform 160ms ease, background-color 160ms ease; }
}
