:root {
  --navy: #313457;
  --navy-deep: #242645;
  --coral: #ef584d;
  --blue: #5375ba;
  --mist: #f3f1ec;
  --paper: #fffcf7;
  --muted: #5a5d78;
  --line: rgba(49, 52, 87, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--navy);
  font-family: Onest, sans-serif;
  background: var(--mist);
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 28px;
}

.brand img {
  display: block;
}

.top__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.top__links a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero {
  padding: clamp(28px, 5vw, 48px);
  background: var(--navy-deep);
  color: #fff;
  border-radius: 18px;
}

.eyebrow {
  margin-bottom: 12px;
  color: #c5d0ea;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__sub {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.thesis {
  margin-top: 18px;
  color: #ffb3ab;
  font-weight: 700;
}

.years {
  margin-top: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.64);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat {
  padding: 16px 16px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.stat span,
.stat small {
  display: block;
  margin-top: 4px;
}

.stat span {
  font-size: 0.92rem;
}

.stat small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  line-height: 1.4;
}

.section {
  margin-top: 22px;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.section h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.section--title {
  padding: 22px 26px;
}

.section--title h2 {
  margin-bottom: 0;
}

.kicker {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section p,
.note {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.bar {
  width: 56px;
  height: 4px;
  margin: 16px 0 0;
  background: var(--coral);
  border-radius: 12px;
}

.levels,
.split,
.trio,
.steps,
.homes {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

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

.split {
  grid-template-columns: 1fr 1fr;
}

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

.steps {
  grid-template-columns: repeat(4, 1fr);
}

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

.card {
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.products {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.card ul {
  padding-left: 18px;
}

.card li + li {
  margin-top: 6px;
}

.stage {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.where {
  margin-top: 12px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
}

.note {
  margin-top: 16px;
  font-size: 0.92rem;
}

.cta {
  margin-top: 22px;
  padding: 28px 26px;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
}

.cta h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.cta p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.foot__person {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.foot a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .stats,
  .levels,
  .split,
  .trio,
  .steps,
  .homes {
    grid-template-columns: 1fr;
  }
}
