:root {
  --accent: #e87a2e;
  --accent-soft: rgba(232, 122, 46, 0.12);
  --bg: #fbfaf9;
  --bg-elevated: #ffffff;
  --text: #16130f;
  --text-secondary: #6b625a;
  --text-tertiary: #9a9089;
  --border: rgba(22, 19, 15, 0.08);
  --shadow: 0 1px 2px rgba(22, 19, 15, 0.04), 0 8px 32px rgba(22, 19, 15, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131110;
    --bg-elevated: #1d1a18;
    --text: #f6f3f0;
    --text-secondary: #a89e95;
    --border: rgba(246, 243, 240, 0.1);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 32px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Warm glow behind the hero */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 50% -10%, var(--accent-soft), transparent 70%);
}

main {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 7rem) 1.5rem 4rem;
  text-align: center;
}

.icon {
  width: 112px;
  height: 112px;
  border-radius: 25%;
  box-shadow: var(--shadow);
  margin-bottom: 1.75rem;
}

h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.tagline {
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: var(--text-secondary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .badge::before { animation: none; }
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.features li {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.features h2 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.features p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

footer {
  position: relative;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}

footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Block so it takes its own line above the icon rather than sharing a
   line box with it. */
.back {
  display: block;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

.back:hover { color: var(--accent); }
