/* Page-specific layout: hero, feature index, spokes, plans, support, 404. */

/* The landing, the hub, the spokes and the premium page are Keynote pages:
   they alternate fixed light and navy bands around screenshots captured in
   those themes, so a dark-mode visitor would otherwise get a light screenshot
   on a dark page and a nav that clashes with the band underneath it. They stay
   light end to end; support, blog, videos, legal and 404 follow the scheme. */
.keynote {
  --page: #ffffff;
  --tint: #eef3f8;
  --card: #ffffff;
  --ink: #0a0f1c;
  --ink-2: #3b4756;
  --muted: #55606f;
  --line: #d5dee7;
  --action: #0369a1;
  --action-hover: #0284c7;
  --action-fg: #ffffff;
  --training: #047857;
  background: var(--page);
  color: var(--ink);
}

.hero {
  text-align: center;
  padding: clamp(48px, 7vw, 88px) var(--gutter) 0;
  overflow: hidden;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 84px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-top: 10px;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--action), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ink-2);
  max-width: 40ch;
  margin: 16px auto 0;
  line-height: 1.35;
  text-wrap: balance;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.hero-visual {
  width: min(100%, 320px);
  margin: clamp(32px, 5vw, 56px) auto 0;
  height: clamp(300px, 46vw, 480px);
  overflow: hidden;
}

.page-head {
  max-width: var(--measure);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) 0;
}

.page-head-tall {
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-top: 10px;
  text-wrap: balance;
}

.page-sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 48ch;
  margin-top: 14px;
}

.crumbs {
  max-width: var(--measure);
  margin-inline: auto;
  padding: 18px var(--gutter) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--action);
}

.index-wrap {
  max-width: var(--measure);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--gutter) 0;
  display: grid;
  gap: 52px;
}

.index-group h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.03em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.index-code {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--page);
  font-size: 14px;
}

.index-scroll {
  overflow-x: auto;
}

.index-table {
  font-size: 15px;
  text-align: left;
}

.index-table th,
.index-table td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  vertical-align: top;
}

.index-table thead th {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.index-table tbody th a {
  font-weight: 600;
}

.index-table tbody th a:hover {
  color: var(--action);
}

.index-table td:last-child {
  color: var(--muted);
}

.col-code {
  width: 56px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 13px;
}

.spoke-cards,
.related {
  max-width: var(--measure);
  margin-inline: auto;
  padding: var(--band-pad) var(--gutter) 0;
}

.spoke-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.spoke-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.spoke-card:hover {
  border-color: var(--action);
}

.spoke-card-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.spoke-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.spoke-card-note {
  font-size: 14px;
  color: var(--muted);
}

.related .link-arrow {
  margin-top: 24px;
}

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

.detail-inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.detail-inner h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.03em;
}

.detail-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

.detail-section {
  margin-top: 40px;
  scroll-margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-section h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.detail-section p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}

.teaser,
.teaser-posts,
.final-cta,
.plans,
.plan-meta,
.compare,
.faq-wrap,
.contact-card,
.report,
.legal-links,
.quiet-head,
.quiet-body,
.article {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.teaser {
  padding-block: var(--band-pad) 0;
}

.teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.teaser-inner 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;
}

.teaser-inner p {
  margin-top: 12px;
  color: var(--muted);
}

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

.teaser-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.teaser-rows dd {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.teaser > .link-arrow {
  margin-top: 22px;
}

.teaser-posts {
  padding-block: var(--band-pad) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
}

.final-cta {
  text-align: center;
  padding-block: var(--band-pad);
}

.final-cta p {
  margin: 12px auto 0;
  color: var(--muted);
  max-width: 44ch;
}

.final-cta .store-badge,
.final-cta .soon-pill {
  margin-top: 24px;
}

@media (max-width: 860px) {
  .teaser-inner {
    grid-template-columns: 1fr;
  }
}

.why {
  max-width: 60ch;
  margin-inline: auto;
  padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(40px, 6vw, 72px);
  text-align: center;
}

.why .band-kicker {
  color: var(--action);
}

.why h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.why p:last-child {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ink-2);
  margin-top: 16px;
  line-height: 1.4;
  text-wrap: balance;
}
