:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #000000;
  --muted: #6e6e6e;
  --line: #d9d9d9;
  --link: #8f8f8f;
  --link-hover: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #ffffff;
    --muted: #b0b0b0;
    --line: #2f2f2f;
    --link: #a0a0a0;
    --link-hover: #ffffff;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.hero,
main {
  width: min(1040px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  padding: clamp(5rem, 16vw, 10rem) 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
}

h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.1rem, 5.8vw, 3.25rem);
  line-height: 1.26;
  max-width: 23ch;
  margin-inline: auto;
  color: var(--muted);
}

.lead-name {
  color: var(--text);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.button {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--link);
  padding: 0;
  border: 0;
  background: transparent;
}

.button:hover {
  color: var(--link-hover);
}

main {
  margin-top: clamp(1rem, 3.5vw, 2.2rem);
}

.panel {
  width: 100%;
  margin: 0;
  padding: 1.15rem 0 1.4rem;
  background: transparent;
  scroll-margin-top: 1.5rem;
}

.panel-contrast {
  background: transparent;
}

h2 {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}

p {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.68;
}

.panel > p {
  margin: 0.8rem 0 0;
  max-width: none;
}

@media (max-width: 640px) {
  .hero,
  main {
    width: min(980px, calc(100% - 1.2rem));
  }

  .hero-actions {
    gap: 0.7rem 1rem;
  }

  .button {
    font-size: 0.78rem;
  }
}
