/* Landing hero — one title treatment. Hosts supply the words.

   Colour reads `--s-*` FIRST, then this package's own tokens, then a LITERAL.
   `--s-text` / `--s-text-secondary` are studio's theme-aware scheme, remapped
   onto the package roots by studio alone. `--color-primary-white` and
   `--color-secondary-white` live in `tokens.css`, under `:where(:root)`.

   The literal is what makes the `./landingHero.css` subpath work: that export
   exists so a landing page can take the hero WITHOUT the rest of the package,
   and a landing page is the likeliest place to skip `tokens.css` (no chat
   panel, no markers). With no third step the whole `color` declaration is
   invalid at computed-value time there and the hero inherits the page — the
   same failure the second step was added to prevent, one host over.

   The literals are the light-glass values on purpose: this sheet ships no
   dark variant, so a host on a dark landing background supplies `--s-text`
   (as studio does) or its own `--color-primary-white`. */
.landing-hero {
  margin: 0;
  text-align: center;
}

.landing-hero-title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--s-text, var(--color-primary-white, rgba(0, 0, 0, 0.88)));
  text-wrap: balance;
}

.landing-hero-sub {
  margin: 0.75rem auto 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--s-text-secondary, var(--color-secondary-white, rgba(0, 0, 0, 0.55)));
  /* Even lines, never a long one over a short tail. */
  text-wrap: balance;
}

@media (min-width: 640px) {
  .landing-hero-title { font-size: 3rem; }
  .landing-hero-sub { font-size: 1.125rem; line-height: 1.75rem; }
}
