:root {
  color-scheme: light dark;
  --bg: #f4efe7;
  --bg-accent: #dfe8d7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --text: #2f3b2f;
  --muted: #657265;
  --accent: #6d8b5b;
  --accent-deep: #4f6841;
  --border: rgba(79, 104, 65, 0.15);
  --shadow: 0 24px 60px rgba(64, 79, 54, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111712;
    --bg-accent: #182317;
    --surface: rgba(24, 32, 25, 0.72);
    --surface-strong: rgba(28, 38, 30, 0.92);
    --text: #e6ebe1;
    --muted: #a6b1a2;
    --accent: #8da96a;
    --accent-deep: #b9d18f;
    --border: rgba(185, 209, 143, 0.14);
    --shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 26%, transparent), transparent 38%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--bg-accent) 38%, transparent), transparent 35%),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 84%, white) 55%, color-mix(in srgb, var(--bg) 90%, black));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.42;
}

.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.34;
  pointer-events: none;
}

.page-glow--left {
  top: -8rem;
  left: -8rem;
  background: color-mix(in srgb, var(--accent) 55%, transparent);
}

.page-glow--right {
  right: -10rem;
  bottom: -8rem;
  background: color-mix(in srgb, var(--bg-accent) 60%, transparent);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.hero {
  display: grid;
  gap: 1.25rem;
  align-content: center;
  width: 100%;
  padding: 3rem 0;
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: inherit;
  line-height: 0.95;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 10vw, 6.8rem);
  font-weight: 600;
  line-height: 0.9;
  justify-self: center;
  text-align: center;
}

.lead {
  max-width: 38rem;
  margin: 0;
  justify-self: center;
  font-size: clamp(1.03rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: var(--muted);
}

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

.info-bubble {
  justify-self: center;
  margin-top: 0.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.info-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: color-mix(in srgb, var(--bg) 10%, white);
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent-deep) 30%, transparent);
}

.button--ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
  backdrop-filter: blur(14px);
}

@media (prefers-color-scheme: dark) {
  .button--ghost {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 2rem 0;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1rem, 1120px);
    min-height: 100vh;
    padding: 1rem 0;
  }

  .hero {
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .lead {
    line-height: 1.65;
  }

  .button {
    width: 100%;
  }

}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
