/* ==========================================================================
   Homepage only: the call promo in the hero, "two ways to talk", the
   tucked-away explainer and "Then read yourself back". Loaded after
   site.css on index.html; tokens come from site.css.
   ========================================================================== */

/* Hero: text and form on the left, the promo video on the right from 60rem.
   On a phone the form comes straight after the lede, so it's on the first
   screen, and the video follows it. */
.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "turns" "eyebrow" "headline" "lede" "form" "lang" "promo";
  column-gap: clamp(2.5rem, 5vw, 4.5rem);
}
.hero-home > .turns { grid-area: turns; }
.hero-home > .hero-eyebrow { grid-area: eyebrow; }
.hero-eyebrow {
  justify-self: start;
  margin: 0 0 1rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--amber);
  border-radius: var(--radius-pill);
  color: var(--cream);
  font-size: var(--text-sm);
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.01em;
}
.hero-home > .lede { margin-bottom: 1.75rem; }
.hero-home > h1 { grid-area: headline; }
.hero-home > .lede { grid-area: lede; }
.hero-home > .promo { grid-area: promo; }
.hero-home > .waitlist { grid-area: form; }
.hero-home > .lang-ask { grid-area: lang; }

.promo { margin: 2.5rem 0 0; max-width: 34rem; width: 100%; }
.promo-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius-card) + 6px);
  overflow: hidden;
  background: var(--night);
  box-shadow: 0 1.75rem 4.5rem rgba(14, 12, 36, 0.55), 0 0 0 1px var(--rule);
}
.promo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo figcaption { margin-top: 0.85rem; }

/* Sound and pause, shown once the page script takes over from the browser's
   own controls (it doesn't with reduced motion or Save-Data, or without JS) */
.promo-controls {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}
.promo-controls[hidden], .promo-controls [hidden] { display: none; }
.promo-controls button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  justify-content: center;
  padding: 0 1rem;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-extrabold);
  color: var(--cream);
  background: rgba(34, 31, 71, 0.86);
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.promo-controls button:hover { color: var(--amber); }
.promo-controls button:focus-visible { border-radius: var(--radius-pill); }
.promo-controls .promo-pause { padding: 0; }
.promo-controls svg { width: 1.2rem; height: 1.2rem; flex: none; }
.promo-controls svg * { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.promo-controls .filled { fill: currentColor; stroke: none; }

@media (min-width: 60rem) {
  .hero-home {
    grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
    grid-template-areas:
      "turns    promo"
      "eyebrow  promo"
      "headline promo"
      "lede     promo"
      "form     promo"
      "lang     promo";
    grid-template-rows: auto auto auto auto auto 1fr;
    align-items: start;
  }
  .hero-home > .promo { align-self: center; margin: 0; }
  .hero-home > .lede { margin-bottom: 2.5rem; }
  /* Smaller than the full display size, so "Be understood." stays on one line beside the video */
  .hero-home h1 { font-size: clamp(3.25rem, 5vw, 4.25rem); }
}

/* Two ways to talk: Call Keniri and typing, side by side from 48rem */
.ways { border-top: 1px solid var(--rule); }
.ways .ways-intro { margin: 0 0 clamp(2rem, 5vw, 3rem); }
.ways h2 .second { color: var(--mist); }
.way-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.25rem, 3vw, 1.75rem); }
.way-cards li {
  display: flex;
  flex-direction: column;
  background: var(--night);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.75rem 2rem;
}
.way-cards li.way-call { border: 2px solid var(--amber); }
.way-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.way-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  color: var(--night);
  background: var(--mist);
}
.way-call .way-icon { background: var(--amber); }
.way-icon svg { width: 1.5rem; height: 1.5rem; }
.way-icon svg * { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.way-cards .badge { margin-top: 0; color: var(--cream); border-color: var(--amber); }
.way-cards h3 { font-size: var(--text-xl); font-weight: var(--weight-extrabold); line-height: var(--leading-snug); margin: 0 0 0.5rem; }
.way-cards p { margin: 0; }
.way-cards .way-price { margin-top: auto; padding-top: 1.25rem; color: var(--cream); font-weight: var(--weight-bold); }

/* The 30-second explainer, tucked behind a link now the promo leads */
.explainer-more { margin: 0 0 clamp(2.5rem, 6vw, 3.5rem); max-width: 48rem; }
.explainer-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-weight: var(--weight-bold);
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.explainer-more > summary::-webkit-details-marker { display: none; }
.explainer-more > summary:hover { color: var(--amber); }
.explainer-more > summary svg { width: 1.3rem; height: 1.3rem; flex: none; }
.explainer-more > summary svg * { fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.explainer-more .explainer { margin: 1rem 0 0; }

/* Then read yourself back: the report, as a cream card like the promo's */
.read + .faq { border-top: 1px solid var(--rule); }
.read-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.read .button { margin-top: 0.75rem; }
.report-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: calc(var(--radius-card) + 6px);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 28rem;
  width: 100%;
  box-shadow: 0 1.75rem 4rem rgba(14, 12, 36, 0.45);
}
.section .report-card-title { color: var(--ink); }
.report-card-title { margin: 0; font-size: var(--text-xl); font-weight: var(--weight-black); line-height: var(--leading-snug); }
.section .report-card-sub { margin: 0.15rem 0 1.5rem; color: var(--placeholder); font-size: var(--text-sm); font-weight: var(--weight-bold); }
.report-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.report-card li { font-weight: var(--weight-extrabold); }
/* Each part has its own tab colour, as in the how-it-works drawing */
.report-card li::before {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 0.85rem;
  border-radius: 4px;
  margin-right: 0.7rem;
  vertical-align: -0.05em;
  background: var(--tab, var(--amber));
}
.report-card li::after {
  content: "";
  display: block;
  height: 0.35rem;
  margin-top: 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(46, 42, 90, 0.12);
  width: var(--bar, 80%);
}
.report-card blockquote {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: rgba(46, 42, 90, 0.07);
  font-weight: var(--weight-semibold);
}

@media (min-width: 48rem) {
  .way-cards { grid-template-columns: repeat(2, 1fr); }
  .read-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); }
}

/* Three plain promises, after the report section */
.trust { border-top: 1px solid var(--rule); padding-bottom: 0; }
.trust-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.25rem, 3vw, 1.75rem); }
.trust-cards li {
  background: var(--night);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.5rem 1.75rem;
}
.trust-cards h3 { font-size: var(--text-lg); font-weight: var(--weight-extrabold); line-height: var(--leading-snug); margin: 0 0 0.4rem; }
.trust-cards p { margin: 0; color: var(--mist); }
@media (min-width: 48rem) {
  .trust-cards { grid-template-columns: repeat(3, 1fr); }
}
