:root {
  color-scheme: light dark;
  --bg: #f7f7f8;
  --surface: #ffffff;
  --text: #111113;
  --muted: #5f6368;
  --border: #dedee3;
  --accent: #d20f1f;
  --accent-soft: #fff0f1;
  --link: #0a66d8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(210, 15, 31, 0.14), transparent 34%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--link);
}

.page {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 48px;
}

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 15px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.hero {
  display: grid;
  gap: 22px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.hero-icon {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

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

.section {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.section h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.section p,
.section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.section p {
  margin: 12px 0 0;
}

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

.callout {
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
}

.footer {
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1c1c1f;
    --text: #f5f5f6;
    --muted: #b4b4bb;
    --border: #34343a;
    --accent: #ff3b45;
    --accent-soft: #321719;
    --link: #7ab3ff;
  }
}

@media (max-width: 620px) {
  .page {
    padding: 22px 16px 38px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .hero,
  .section {
    padding: 22px;
    border-radius: 16px;
  }
}
