:root {
  color-scheme: light dark;
  --background: #f7f8f6;
  --surface: #ffffff;
  --text: #1d2520;
  --muted: #59635d;
  --line: #dfe4e0;
  --accent: #16775a;
  --accent-strong: #0d6047;
  --coral: #ee6a55;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-size: 17px;
  line-height: 1.65;
}

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

a:hover {
  color: var(--coral);
}

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

.site-header {
  min-height: 72px;
  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(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

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

.hero {
  min-height: min(700px, calc(100vh - 72px));
  display: grid;
  align-content: center;
  padding: 72px 0 96px;
}

.hero img {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  margin-bottom: 28px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.2;
}

h1 {
  max-width: 740px;
  font-size: clamp(42px, 7vw, 76px);
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-band {
  padding: 56px 0 72px;
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 36px;
}

.feature-grid h3 {
  font-size: 19px;
}

.feature-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.document {
  padding: 64px 0 80px;
}

.document h1 {
  font-size: clamp(36px, 6vw, 56px);
}

.document .updated {
  margin: 14px 0 48px;
  color: var(--muted);
  font-size: 15px;
}

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

.document h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.document p,
.document ul {
  margin: 12px 0 0;
}

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

.contact {
  display: inline-block;
  margin-top: 10px;
  font-weight: 650;
}

.site-footer {
  padding: 30px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111613;
    --surface: #18201b;
    --text: #f0f4f1;
    --muted: #aeb9b2;
    --line: #303933;
    --accent: #58c69e;
    --accent-strong: #7cd8b6;
    --coral: #ff8d7b;
  }
}

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

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

  nav {
    gap: 14px;
    font-size: 14px;
  }

  .hero {
    min-height: calc(100svh - 64px);
    padding: 48px 0 64px;
  }

  .hero img {
    width: 84px;
    height: 84px;
    border-radius: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .document {
    padding-top: 44px;
  }

  .site-footer {
    flex-direction: column;
  }
}
