:root {
  --blue: #33658A;
  --blue-light: #86BBD8;
  --slate: #2F4858;
  --yellow: #F6AE2D;
  --orange: #F26419;
  --paper: #FAF9F6;
  --ink-muted: #8a8578;
  --on-dark-muted: #DCEBF4;
  --display: 'Archivo Black', Impact, 'Arial Black', sans-serif;
  --body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(22px, 5.5vw, 80px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--slate);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { top: 16px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--slate);
}
.brand:hover { color: var(--slate); }
.mark { width: 40px; height: 40px; flex: none; }
.wordmark {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.3px;
}
.brand-small .mark { width: 28px; height: 28px; }
.brand-small .wordmark { font-size: 16px; }

.nav { display: flex; gap: clamp(18px, 3vw, 36px); font-weight: 500; font-size: 15px; }
.nav a { color: var(--slate); }
.nav a:hover { color: var(--orange); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 60px;
  align-items: center;
  padding: clamp(28px, 5vw, 60px) var(--gutter) clamp(44px, 7vw, 90px);
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--blue);
  max-width: 560px;
}
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.button {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 12px;
  transition: transform 120ms ease, background 120ms ease;
}
.button:hover { color: #fff; background: #d9560f; transform: translateY(-1px); }
.link-button { font-weight: 700; font-size: 16px; padding: 16px 8px; color: var(--slate); }

.hero-mark { display: flex; justify-content: center; }
.hero-mark svg { width: min(100%, 400px); height: auto; }

.tracks {
  background: var(--slate);
  color: #fff;
  padding: clamp(44px, 7vw, 90px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 48px);
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}
.track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.track {
  border-radius: 20px;
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.track-software { background: var(--blue); }
.track-stories { background: #3a5668; }
.track h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.5px; }
.track p { color: var(--on-dark-muted); line-height: 1.55; }
.track p strong { color: #fff; font-weight: 700; }
.track-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 4px; }
.track-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 4px;
}
.track-link:hover { color: var(--yellow); }
.pill {
  align-self: flex-start;
  background: var(--slate);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}
.pill-yellow { color: var(--yellow); }
.pill-blue { color: var(--blue-light); }

.about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: start;
  padding: clamp(44px, 7vw, 90px) var(--gutter);
}
.about h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -1px; }
.about p { font-size: 18px; line-height: 1.6; color: var(--blue); }

.site-footer {
  border-top: 2px solid var(--slate);
  padding: 48px var(--gutter) 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-org { display: flex; flex-direction: column; gap: 14px; }
address { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--blue); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  font-size: 15px;
  font-weight: 500;
}
.footer-contact small { font-size: 13px; color: var(--ink-muted); margin-top: 10px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-mark { order: -1; justify-content: flex-start; }
  .hero-mark svg { width: 120px; }
  .track-grid, .about { grid-template-columns: 1fr; }
  .about { gap: 16px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-contact { align-items: flex-start; }
  .button { text-align: center; }
}

@media (max-width: 480px) {
  .nav a:not(:last-child) { display: none; }
  .actions .link-button { display: none; }
  .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
