/* styles.css */

:root {
  --text: #2e2f33;
  --muted: #5a5f66;
  --muted2: #4c5158;
  --brand: #4a6fa5;

  --border: rgba(0, 0, 0, 0.10);
  --border2: rgba(0, 0, 0, 0.12);
  --border3: rgba(0, 0, 0, 0.08);

  --bg: #ffffff;
  --soft: rgba(0, 0, 0, 0.02);
  --softBlue: rgba(74, 111, 165, 0.06);
  --softBlue2: rgba(74, 111, 165, 0.10);

  --radius: 12px;
  --radiusSm: 10px;
  --radiusXs: 6px;

  --max: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Banner */
.banner {
  background: linear-gradient(90deg, rgba(74, 111, 165, 0.16), rgba(74, 111, 165, 0.05));
  border-bottom: 1px solid var(--border3);
}

.banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.banner__headline {
  border: 1px solid var(--border);
  background: var(--softBlue2);
  border-radius: var(--radius);
  padding: 10px 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__title {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}

.brand__subtitle {
  font-size: 12px;
  color: var(--muted);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__link {
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: var(--radiusXs);
  border: 1px solid var(--border);
  background: var(--soft);
}

.nav__link:hover {
  border-color: rgba(0, 0, 0, 0.16);
}

/* Layout */
.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 18px 70px;
}

.section {
  margin-top: 34px;
}

.section__title {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--text);
}

.section__lede {
  color: var(--muted);
  font-size: 14px;
  max-width: 920px;
  margin-bottom: 12px;
}

/* Hero */
.hero {
  padding: 18px 0 8px;
}

.hero__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__title {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: var(--text);
}

.hero__lede {
  color: var(--muted2);
  font-size: 15px;
  max-width: 820px;
}

/* Buttons */
.ctaRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.ctaRow--left {
  align-items: center;
}

.btn {
  text-decoration: none;
  padding: 12px 14px;
  border-radius: var(--radiusSm);
  border: 1px solid var(--border3);
  font-weight: 750;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--secondary {
  background: var(--soft);
  color: var(--text);
  border: 1px solid var(--border2);
}

.btn__meta {
  font-size: 12px;
  font-weight: 650;
}

.btn__meta--light {
  opacity: 0.9;
}

.btn__meta--muted {
  color: var(--muted);
}

/* Pills */
.pillRow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pill {
  font-size: 12px;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--soft);
  padding: 6px 10px;
  border-radius: 999px;
}

/* Callouts / Panels */
.panel {
  border: 1px solid var(--border);
  background: var(--soft);
  border-radius: var(--radius);
  padding: 16px;
}

.panel--tight {
  padding: 14px;
  overflow: hidden;
}

.panel__footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border3);
  color: var(--muted);
  font-size: 14px;
  max-width: 920px;
}

.callout {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  background: var(--soft);
  border-radius: var(--radius);
}

.callout--blue {
  margin-top: 16px;
  border: 1px solid var(--border);
  background: var(--softBlue);
  border-radius: var(--radius);
  padding: 14px;
  font-size: 14px;
  color: var(--text);
  max-width: 920px;
}

.callout__kicker {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.callout__quote {
  font-size: 18px;
  color: var(--text);
}

.callout__body {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  max-width: 900px;
}

/* Typography helpers */
.subhead {
  font-weight: 750;
  margin-bottom: 6px;
  color: var(--text);
}

.subhead--spaced {
  margin-bottom: 10px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  max-width: 920px;
  margin-top: 14px;
}

.fineprint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  max-width: 920px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
}

/* Grids */
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* Cards */
.cardBox {
  border: 1px solid var(--border);
  background: var(--soft);
  border-radius: var(--radius);
  padding: 14px;
}

.cardBox__title {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

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

/* Screenshots */
.shot {
  height: 170px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--softBlue2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.shot__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Chips */
.chipRow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.chip {
  font-size: 12px;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--soft);
  padding: 6px 10px;
  border-radius: 999px;
}

/* Divider */
.divider {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border3);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--border);
  background: var(--soft);
  border-radius: var(--radius);
  padding: 14px;
}

.faq__q {
  font-weight: 750;
  color: var(--text);
}

.faq__a {
  color: var(--muted);
  margin-top: 6px;
}

/* Tables */
.tableWrap {
  border: 1px solid var(--border);
  background: var(--soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table__head tr {
  background: rgba(74, 111, 165, 0.10);
}

.table th,
.table td {
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.table td {
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid var(--border3);
}

.col--scale { width: 160px; }
.col--date  { width: 140px; white-space: nowrap; }
.col--ver   { width: 100px; white-space: nowrap; }
.nowrap { white-space: nowrap; }

.link {
  text-decoration: none;
  color: var(--brand);
  font-size: 13px;
  font-weight: 650;
}

/* Notes below infographic */
.note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  max-width: 1000px;
}

.note__list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

/* Footer */
.footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border3);
}

.footer__inner {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer__left {
  color: var(--muted);
  font-size: 13px;
}

.footer__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Infographic SVG wrapper */
.infographicSvg {
  display: block;
}

/* Responsive */
@media (max-width: 980px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .banner__inner { flex-direction: column; align-items: flex-start; }
  .nav { justify-content: flex-start; }
  .grid3 { grid-template-columns: 1fr; }
  .hero__title { font-size: 32px; }
}