:root {
  color-scheme: light;
  --ink: #14221d;
  --muted: #5f6f68;
  --surface: #f4f7f4;
  --line: #dce5df;
  --brand: #176b4d;
  --brand-dark: #0f4e38;
  --accent: #dff4e9;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
}

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

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

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--brand);
  border-radius: 10px;
}

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

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

nav a:hover,
nav a.active {
  color: var(--brand);
}

.hero {
  min-height: calc(100vh - 154px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1,
h2 {
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.55rem, 7vw, 5.3rem);
}

.document h1 {
  font-size: clamp(2.35rem, 6vw, 4.2rem);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.32rem;
}

p {
  margin: 0 0 16px;
}

.lede {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
}

.lede.compact {
  margin-bottom: 44px;
}

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

.button {
  display: inline-block;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--brand);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.privacy-card,
.contact-box {
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(20, 34, 29, 0.08);
}

.privacy-card ul {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.privacy-card li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.privacy-card li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--brand);
  font-weight: 800;
}

.privacy-card p,
.updated {
  color: var(--muted);
}

.document {
  min-height: calc(100vh - 154px);
  max-width: 780px;
  padding-block: 72px 100px;
}

.document .updated {
  margin: 14px 0 46px;
}

.document > section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.document .contact-box {
  margin-bottom: 42px;
  border-top: 1px solid var(--line);
}

.warning {
  padding: 14px 16px;
  background: #fff6dc;
  border-radius: 12px;
  color: #594a1c;
}

details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 750;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .document,
  footer {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    min-height: 68px;
  }

  nav {
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 64px;
  }

  .document {
    padding-block: 54px 76px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

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