:root {
  color-scheme: light dark;
  --page: #f6f7f9;
  --surface: #ffffff;
  --text: #17191c;
  --muted: #636970;
  --line: #dfe2e6;
  --accent: #1769aa;
  --accent-strong: #0d4d80;
  --positive: #26734d;
  --warning: #9a5c00;
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--text);
}

body {
  margin: 0;
  line-height: 1.62;
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.nav,
.container {
  width: min(100% - 32px, 880px);
  margin-inline: auto;
}

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

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

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

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.94rem;
}

.hero {
  min-height: 64vh;
  display: grid;
  align-content: center;
  padding-block: 56px 72px;
}

.hero-lockup {
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  box-shadow: 0 16px 38px rgb(0 0 0 / 12%);
}

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

h1 {
  margin: 0;
  font-size: 4rem;
}

h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.lead {
  max-width: 660px;
  margin: 30px 0 0;
  font-size: 1.08rem;
}

.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: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 650;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.band {
  border-top: 1px solid var(--line);
  padding-block: 48px;
  background: var(--surface);
}

.band.alt {
  background: var(--page);
}

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

.feature-grid p,
.contact-grid p {
  margin-top: 0;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--positive);
  font-weight: 650;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.document {
  padding-block: 48px 72px;
}

.document > h1 {
  font-size: 2.25rem;
  margin-bottom: 10px;
}

.document section {
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.document ul,
.document ol {
  padding-left: 1.25rem;
}

.document li + li {
  margin-top: 0.45rem;
}

.meta,
.note {
  color: var(--muted);
}

.note {
  border-left: 3px solid var(--warning);
  padding-left: 14px;
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

  .nav-links {
    flex-direction: column;
    gap: 4px;
    text-align: right;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-lockup {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-icon {
    width: 82px;
    height: 82px;
    border-radius: 18px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #111315;
    --surface: #191c1f;
    --text: #f2f3f4;
    --muted: #aeb4ba;
    --line: #34393e;
    --accent: #70b7ef;
    --accent-strong: #a7d7fa;
    --positive: #72d6a5;
    --warning: #f0b55a;
  }
}
