/* home.css — the marketing home page only.
 *
 * Kept out of avatar.css and site.css on purpose. avatar.css is synced from the MAX repo
 * and gets overwritten; site.css is the shared chrome every page loads. This file is
 * loaded by one page and can be thrown away with it.
 *
 * Tokens come from site.css.
 */

body.home { line-height: 1.55; }

.home main { max-width: 1080px; margin: 0 auto; padding: 0 20px 40px; }

/* ---- hero ------------------------------------------------------------------ */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px;
  align-items: center; padding: 64px 0 56px;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 36px; }
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 54px); line-height: 1.06; margin: 0 0 18px;
  letter-spacing: -.028em; font-weight: 700;
}
.hero-sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-soft); margin: 0 0 26px; max-width: 46ch; }
.hero-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Three avatars, overlapped into a loose pile. The rotation alternates by index so the
   group reads as scattered rather than fanned — a fan looks like a stock illustration. */
.hero-art {
  display: flex; justify-content: center; align-items: center;
  min-height: 260px;
}
.hero-face {
  width: clamp(120px, 17vw, 190px); aspect-ratio: 1;
  border-radius: 22px; overflow: hidden;
  background: #101112; border: 1px solid var(--line);
  box-shadow: 0 18px 40px #0007;
  margin-left: -26px; transform: rotate(calc((var(--i) - 1) * 5deg));
}
.hero-face:first-child { margin-left: 0; }
.hero-face:nth-child(2) { z-index: 2; transform: translateY(-14px) scale(1.1); }
.hero-face svg { display: block; width: 100%; height: 100%; }

/* ---- buttons --------------------------------------------------------------- */
.btn {
  display: inline-block; padding: 12px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  text-decoration: none; font-size: 14.5px; font-weight: 600;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-go { background: var(--accent); border-color: var(--accent); color: #0c0d0d; }
.btn-go:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: #0c0d0d; }
.btn-big { padding: 15px 30px; font-size: 16px; }

/* ---- bands ----------------------------------------------------------------- */
.band { padding: 52px 0; border-top: 1px solid var(--line-soft); }
.band h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 14px; letter-spacing: -.02em; }
.band-lede { color: var(--ink-soft); font-size: 16px; max-width: 66ch; margin: 0 0 30px; }
.band-cta { margin: 32px 0 0; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.band-note { font-size: 13px; color: var(--muted); max-width: 44ch; }

.band-alt { background: #ffffff04; border-radius: 14px; padding: 46px 30px; margin-top: 8px; }
@media (max-width: 560px) { .band-alt { padding: 34px 18px; } }

.grid3, .grid2 { display: grid; gap: 26px 30px; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid3, .grid2 { grid-template-columns: 1fr; } }

.band article h3 {
  font-size: 15.5px; margin: 0 0 7px; color: var(--ink); font-weight: 650;
}
.band article p { margin: 0; color: var(--ink-soft); font-size: 14px; max-width: 44ch; }

/* ---- pro ------------------------------------------------------------------- */
/* Scroll-margin so the header's own height does not sit on top of the heading when the
   menu's "TarTalk Pro" jumps here. */
.pro { scroll-margin-top: 20px; }
.pro-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pro-head h2 { margin: 0 0 14px; }

/* Beta features, named under the Pro grid but deliberately not sold — see _inc/pro-features.php.
   Quieter than the articles above it, because it is a caveat rather than a pitch. */
.pro-beta-note {
  margin: 20px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted);
  border-left: 2px solid var(--line); padding-left: 14px;
}

.pill {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent);
  position: relative; top: -6px;
}

.closer { text-align: center; }
.closer .band-lede { margin-left: auto; margin-right: auto; }
.closer .band-cta { justify-content: center; }

.home .av-foot { border-top: 1px solid var(--line-soft); }
