:root {
  --charcoal: #20242b;
  --charcoal-hover: #3b4148;
  --muted: #687078;
  --muted-light: #7e8388;
  --line: #f0f1f2;
  --soft: #f1efed;
  --focus: #7898b8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #fff;
}

.hero {
  min-height: 61vh;
  padding: clamp(4rem, 9vw, 5.5rem) 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--muted-light);
  font-size: clamp(0.6rem, 1.2vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 24rem;
  margin: 1.2rem auto 1.45rem;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.8vw, 0.96rem);
  line-height: 1.55;
}

.button {
  display: inline-block;
  padding: 0.72rem 1.45rem;
  border: 2px solid var(--charcoal);
  border-radius: 0.25rem;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--charcoal-hover);
  background: var(--charcoal-hover);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.scroll-hint:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.scroll-hint {
  width: 2.6rem;
  height: 2.6rem;
  margin-top: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: #646b70;
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.scroll-hint:hover {
  background: #e8e5e2;
  color: var(--charcoal);
}

.features {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.25rem, 5vw, 3rem) 1.5rem clamp(2.5rem, 5vw, 3.25rem);
  scroll-margin-top: 1rem;
}

.feature-grid {
  max-width: 50rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 2.5rem);
  text-align: center;
}

.feature-icon {
  width: 2.3rem;
  height: 2.3rem;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  font-size: 1.35rem;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  line-height: 1.3;
}

.feature p {
  max-width: 9rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

footer {
  padding: 1.15rem 1rem;
  color: #7b8287;
  text-align: center;
  font-size: 0.65rem;
  line-height: 1.4;
}

footer p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 600px) {
  .hero {
    min-height: 68vh;
    padding-top: 4rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature p {
    max-width: 13rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  h1 {
    font-size: 2.15rem;
  }

  .intro {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .scroll-hint {
    transition: none;
  }
}
