:root {
  color-scheme: light dark;
  --bg: #f6f8f6;
  --text: #17201b;
  --muted: #5c6861;
  --panel: #ffffff;
  --line: #d9e0dc;
  --blue: #205c9c;
  --green: #28785a;
  --warm: #a25c2a;
  --shadow: 0 20px 60px rgba(23, 32, 27, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 32, 27, 0.12);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.95rem;
}

nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 248, 246, 0.94), rgba(246, 248, 246, 0.68) 44%, rgba(246, 248, 246, 0.1)),
    linear-gradient(0deg, rgba(246, 248, 246, 1), rgba(246, 248, 246, 0.14) 42%);
}

.hero-copy {
  width: min(760px, calc(100% - 36px));
  padding: clamp(48px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #2d3732;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

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

.section {
  padding: clamp(58px, 9vw, 104px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 820px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.feature-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 30px rgba(23, 32, 27, 0.05);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.feature-grid p,
.privacy-list p,
.contact-band p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef4f0;
}

.privacy-list {
  display: grid;
  gap: 12px;
}

.privacy-list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23, 32, 27, 0.14);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(22px, 6vw, 80px);
  align-items: center;
}

.contact-band a,
.document a {
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  margin-right: auto;
  color: var(--text);
  font-weight: 740;
}

.document-page {
  background: #fbfcfb;
}

.document {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0;
}

.document h1 {
  margin-top: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
}

.document h2 {
  margin-top: 42px;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
}

.document p,
.document li {
  color: var(--muted);
  font-size: 1.05rem;
}

.document li + li {
  margin-top: 8px;
}

.document hr {
  margin: 58px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 780px) {
  .site-header {
    position: static;
  }

  .hero {
    min-height: 760px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(246, 248, 246, 1), rgba(246, 248, 246, 0.72) 58%, rgba(246, 248, 246, 0.2)),
      linear-gradient(90deg, rgba(246, 248, 246, 0.96), rgba(246, 248, 246, 0.5));
  }

  .feature-grid,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 0;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111714;
    --text: #eef4f0;
    --muted: #aab7b0;
    --panel: #18211d;
    --line: #2f3a34;
    --blue: #74a9e8;
    --green: #82cca9;
    --warm: #e0a16e;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(17, 23, 20, 0.96), rgba(17, 23, 20, 0.72) 48%, rgba(17, 23, 20, 0.18)),
      linear-gradient(0deg, rgba(17, 23, 20, 1), rgba(17, 23, 20, 0.16) 42%);
  }

  .lead {
    color: #d7e0db;
  }

  .button.secondary {
    background: rgba(24, 33, 29, 0.78);
  }

  .split {
    background: #151d19;
  }
}
