/* Heya's home page: layout on top of tokens.css and primitives.css. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-display);
  font-size: var(--fs-lg);
  color: var(--text);
  text-decoration: none;
}
.brand img { border-radius: var(--radius-md); }

.hero {
  display: grid;
  gap: var(--space-5);
  justify-items: start;
  padding-top: var(--space-8);
}
.hero h1 {
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  max-width: 18ch;
  margin: 0;
}
.hero .lead { max-width: 36ch; margin: 0; }
.hero .cluster { align-items: center; gap: var(--space-5); }
.btn-lg {
  min-height: calc(var(--control-h) + var(--space-3));
  padding-inline: var(--space-6);
  font-size: var(--fs-lg);
}
.small { font-size: var(--fs-sm); margin: 0; }

img.frame {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.shot { margin-top: var(--space-4); }

.feature { align-items: center; gap: var(--space-8); }
.feature h2 { margin: 0; }
.feature p { margin: 0; max-width: 40ch; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 2fr 3fr; }
  .feature.flip > :first-child { order: 2; }
  .feature.flip { grid-template-columns: 3fr 2fr; }
}

.ai-list {
  list-style: none;
  margin: 0;
  padding: var(--space-5);
  display: grid;
  gap: var(--space-3);
}
.ai-list li { padding-left: var(--space-5); position: relative; }
.ai-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--accent);
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: var(--space-5) 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  max-width: 48rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  column-gap: var(--space-4);
  row-gap: var(--space-1);
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  background: var(--accent-subtle);
  color: var(--accent);
  font-weight: var(--weight-display);
}
.steps span { color: var(--text-muted); }

.faq { display: grid; gap: var(--space-3); max-width: 48rem; margin-top: var(--space-5); }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-3) var(--space-4);
}
.faq summary { cursor: pointer; font-weight: var(--weight-display); min-height: 44px; display: flex; align-items: center; }
.faq details p { margin: var(--space-3) 0 var(--space-1); color: var(--text-muted); }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); }
img.frame.narrow { max-width: 420px; justify-self: center; }
