:root {
  color-scheme: light;
  --ink: #161719;
  --muted: #5f6368;
  --line: #d8dadd;
  --paper: #ffffff;
  --soft: #f4f5f6;
  --accent: #e95f47;
  --accent-dark: #b83f2b;
  --ok: #19724a;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.nav,
.page,
.footer-inner {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
}

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

.hero {
  padding: 20px 0 56px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 44px;
  line-height: 1.18;
}

.lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
}

.section {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-child {
  border-bottom: 0;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1.3;
}

.section h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}

.section p,
.section li {
  max-width: 780px;
}

.section p {
  margin: 10px 0;
}

.section ul,
.section ol {
  margin: 12px 0;
  padding-left: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature h3 {
  margin: 0 0 8px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.notice {
  max-width: 780px;
  padding: 16px 18px;
  border-left: 4px solid var(--ok);
  background: var(--soft);
}

.metadata {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 720px) {
  .nav {
    padding: 12px 0;
    align-items: flex-start;
  }

  .nav-links {
    gap: 10px 14px;
  }

  .page {
    padding: 38px 0 56px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 17px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
