:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #171b22;
  --muted: #586173;
  --line: #dfe5ec;
  --accent: #1463ff;
  --accent-dark: #0f47bb;
  --soft: #eaf1ff;
  --shadow: 0 18px 55px rgba(18, 34, 59, 0.11);
}

* {
  box-sizing: border-box;
}

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

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 22px;
  font-weight: 750;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(20, 99, 255, 0.14);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 650;
}

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

nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.55fr);
  gap: 48px;
  align-items: center;
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 64px 24px 72px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
}

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

.button.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: min(68%, 260px);
  height: auto;
  border-radius: 42px;
}

.content-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1120px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

.feature {
  min-height: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px;
}

.feature:first-child {
  border-radius: 8px 0 0 8px;
}

.feature:last-child {
  border-radius: 0 8px 8px 0;
}

.feature h2,
.document h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.feature p,
.document p {
  color: var(--muted);
}

.document {
  max-width: 820px;
  margin: 44px auto 72px;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.document h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.document h2 {
  margin-top: 34px;
}

.updated {
  margin-top: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

@media (max-width: 780px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }

  .hero h1 {
    font-size: 44px;
  }

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

  .hero-visual {
    min-height: 220px;
  }

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

  .feature,
  .feature:first-child,
  .feature:last-child {
    border-radius: 8px;
  }

  .document {
    margin: 24px;
    padding: 28px;
  }
}
