/* Landing-page styles (index.html). Shared rules live in site.css. */
.hero { padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(closest-side, rgb(240 168 48 / .16), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 48px; grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.lead { margin: 20px 0 32px; max-width: 34rem; color: var(--fg-muted); font-size: 1.15rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* A callout as the player hears it: the product in one glance. */
.callout-demo { display: flex; flex-direction: column; gap: 12px; }
.bubble {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
  animation: rise .6s both;
}
.bubble:nth-child(2) { animation-delay: .5s; margin-left: 24px; }
.bubble:nth-child(3) { animation-delay: 1s; }
.bubble .who { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.bubble .who.ai { background: var(--primary); color: var(--on-primary); }
.bubble .who.me { background: var(--bg-3); color: var(--ct); }
.bubble p { margin: 0; font-size: .95rem; }
.bubble small { display: block; color: var(--fg-faint); font-size: .75rem; font-family: var(--mono); margin-bottom: 2px; }
.wave { display: inline-flex; gap: 2px; margin-left: 6px; vertical-align: middle; }
.wave i { width: 3px; height: 10px; border-radius: 2px; background: var(--primary); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .15s; }
.wave i:nth-child(3) { animation-delay: .3s; }
.wave i:nth-child(4) { animation-delay: .45s; }
@keyframes wave { 50% { transform: scaleY(.3); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.feature .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  color: var(--primary);
}
.feature:nth-child(even) .icon { color: var(--ct); }
.feature p { margin: 8px 0 0; color: var(--fg-muted); font-size: .95rem; }

.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 700;
}
.step p { margin: 8px 0 0; color: var(--fg-muted); font-size: .95rem; }

.trust { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.trust p { margin: 6px 0 0; color: var(--fg-muted); font-size: .9rem; }

.credits-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }

.downloads { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.downloads .muted { font-family: var(--mono); font-size: .85rem; }
.download-notes { max-width: 40rem; margin: 20px 0 0; font-size: .9rem; }
.download-notes code { font-family: var(--mono); font-size: .85em; color: var(--fg); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble, .wave i { animation: none; }
}
