/* Keynote sections: alternating full-bleed bands, the bento grid, the facts
   strip and the native <details> FAQ. */

/* Keynote bands paint their own colours: a light band stays light and a navy
   band stays navy whatever the visitor's colour scheme says, because the
   screenshot inside was captured in that theme. */
.band {
  --band-bg: #ffffff;
  --band-fg: #0a0f1c;
  --band-muted: #3b4756;
  --band-number: #0369a1;
  background: var(--band-bg);
  color: var(--band-fg);
  padding-block: var(--band-pad) 0;
  overflow: hidden;
}

.band-navy .phone {
  background: #2a3b4f;
}

.band-navy {
  --band-bg: #0a0f1c;
  --band-fg: #f8fafc;
  --band-muted: #a8a2b2;
  --band-number: #00ceff;
}

.band-light {
  --band-bg: #ffffff;
}

.band-inner {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.band-reverse .band-inner {
  grid-template-columns: 0.9fr 1.1fr;
}

.band-reverse .band-copy {
  order: 2;
}

.band-copy {
  padding-bottom: var(--band-pad);
}

.band-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--band-number);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.band-number {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 120px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--band-number);
  font-variant-numeric: tabular-nums;
}

.band h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-top: 10px;
  text-wrap: balance;
}

.band-text {
  color: var(--band-muted);
  font-size: 16px;
  max-width: 38ch;
  margin-top: 14px;
}

.band-visual {
  align-self: end;
  justify-self: center;
  width: min(100%, 300px);
  height: clamp(260px, 34vw, 420px);
  overflow: hidden;
}

.band-visual .phone {
  border-radius: 40px 40px 0 0;
  padding-bottom: 0;
}

.band-visual .phone img {
  border-radius: 32px 32px 0 0;
}

.scan-stage {
  position: relative;
  width: min(100%, 560px);
  height: clamp(300px, 40vw, 480px);
  overflow: visible;
}

.scan-meal {
  position: absolute;
  left: 0;
  top: 4%;
  width: 64%;
}

.scan-meal img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  transform: rotate(-6deg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.scan-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  max-width: 280px;
}

.scan-phone .phone {
  border-radius: 40px 40px 0 0;
  padding-bottom: 0;
}

.scan-phone .phone img {
  border-radius: 32px 32px 0 0;
  aspect-ratio: auto;
  height: clamp(260px, 34vw, 420px);
  object-fit: cover;
  object-position: top;
}

.bento {
  background: var(--tint);
  padding-block: var(--band-pad);
}

.bento-heading,
.section-head h2,
.related h2,
.spoke-cards h2,
.compare h2,
.faq-wrap > h2,
.report h2,
.legal-links h2,
.final-cta h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}

.bento-heading {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-bottom: 26px;
}

.bento-grid {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.bento-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.tile-wide {
  grid-column: span 2;
}

.tile-dark {
  background: #0a0f1c;
  border-color: #2a3441;
  color: #f8fafc;
}

.tile-dark p {
  color: #a8a2b2;
}

.tile .tile-n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: auto;
}

.tile .tile-n-amber {
  color: var(--amber);
}

.tile .tile-n-training {
  color: var(--training);
}

.tile .tile-n-cyan {
  color: var(--cyan);
}

.tile .tile-quote {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: auto;
}

.tile h3 {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.tile p {
  font-size: 14px;
  color: var(--muted);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: auto;
  background: #000000;
  color: #f8fafc;
  border-radius: 999px;
  padding: 7px 14px 7px 8px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.live-pill i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
}

.live-pill b {
  color: var(--cyan);
  font-weight: 600;
}

.facts {
  max-width: var(--measure);
  margin-inline: auto;
  padding: var(--band-pad) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}

.facts b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.facts span {
  display: block;
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
}

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
  transition: transform 0.18s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding-bottom: 20px;
  color: var(--ink-2);
  max-width: 68ch;
}

@media (max-width: 860px) {
  .band-inner,
  .band-reverse .band-inner {
    grid-template-columns: 1fr;
  }
  .band-reverse .band-copy {
    order: 0;
  }
  .band-copy {
    padding-bottom: 0;
  }
  .band-visual {
    margin-top: 36px;
  }
  .bento-grid,
  .bento-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .bento-grid,
  .bento-grid-3 {
    grid-template-columns: 1fr;
  }
  .tile-wide {
    grid-column: span 1;
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
