:root {
  --bg: #f7f8fb;
  --ink: #182132;
  --muted: #5e677a;
  --line: rgba(24, 33, 50, 0.1);
  --accent: #0059d6;
  --accent-2: #d9e7ff;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(160deg, rgba(0, 89, 214, 0.08), transparent 36rem),
    linear-gradient(180deg, #fefefe 0%, var(--bg) 100%);
  font: 16px/1.65 "Trebuchet MS", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0 0.5rem;
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-2);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: end;
  padding: 1.5rem 0 2rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  max-width: 13ch;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.1rem;
}

.copy p,
.story p,
.footer p {
  margin: 0;
  color: var(--muted);
}

.panel,
.cards article,
.story,
.timeline,
.footer {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--panel);
}

.panel {
  padding: 1rem;
}

.stat + .stat {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat strong {
  font-size: 1.35rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.cards article,
.story,
.timeline,
.footer {
  padding: 1.2rem;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-bottom: 1rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--accent-2);
  color: var(--accent);
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem auto 2rem;
}

.footer span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .masthead,
  .hero,
  .cards,
  .story,
  .timeline,
  .footer {
    grid-template-columns: 1fr;
  }
}
