:root {
  --ink-base: #0E1B1E;
  --ink-raise: #14282C;
  --ink-line: #22403F;
  --type-main: #E8F0EF;
  --type-soft: #7C9A97;
  --beam: #3AC0A0;
  --beam-deep: #2A9C81;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.js {
  scroll-behavior: auto;
}

body {
  margin: 0;
  padding-top: 92px;
  background: var(--ink-base);
  color: var(--type-main);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.72;
}

img,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: var(--beam);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--beam-deep);
}

h1,
h2,
h3,
h4,
.pillbar,
.btn,
.tag {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  line-height: 1.15;
  color: var(--type-main);
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.22rem;
  font-weight: 500;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.45em;
}

strong {
  font-weight: 600;
}

.frame {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.duo {
  display: grid;
  grid-template-columns: 1.29fr 0.71fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.duo--flip {
  grid-template-columns: 0.71fr 1.29fr;
}

@media (max-width: 900px) {
  .duo,
  .duo--flip {
    grid-template-columns: 1fr;
  }
}

.rail {
  position: sticky;
  top: 104px;
}

.rail-card {
  background: var(--ink-raise);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 22px 22px 18px;
  margin-bottom: 16px;
}

.rail-card h2,
.rail-card h3 {
  margin-bottom: 0.55em;
}

.rail-card p,
.rail-card li {
  color: var(--type-soft);
  font-size: 0.95rem;
}

.rail-card a {
  text-decoration: none;
}

.rail-card a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.rail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rail-card li {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--ink-line);
}

.rail-card li:last-child {
  border-bottom: 0;
}

.kicker {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beam);
  margin-bottom: 0.7em;
}

.lede {
  font-size: 1.12rem;
  color: var(--type-main);
  max-width: 42em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn--solid {
  background: var(--beam);
  color: #0E1B1E;
}

.btn--solid:hover {
  background: var(--beam-deep);
  color: #0E1B1E;
}

.btn--ghost {
  background: transparent;
  border-color: var(--beam);
  color: var(--type-main);
}

.btn--ghost:hover {
  background: var(--beam);
  color: #0E1B1E;
}

.pillbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  border-radius: 999px;
  background: rgba(20, 40, 44, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ink-line);
  padding: 10px 12px 10px 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pillbar a {
  text-decoration: none;
  color: var(--type-main);
}

.pillbar a:hover {
  color: var(--beam);
}

.pillbar a[aria-current="page"] {
  color: var(--type-main);
  box-shadow: inset 0 -2px 0 var(--beam);
}

.pillbar .btn--solid {
  color: #0E1B1E;
  box-shadow: none;
}

.pillbar .btn--solid:hover {
  color: #0E1B1E;
}

.pillbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--type-main);
  box-shadow: none;
}

.pillbar__brand svg {
  display: block;
  flex-shrink: 0;
}

.pillbar__links {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pillbar__toggle {
  display: none;
  padding: 8px 14px;
}

.banner {
  min-height: clamp(480px, 72vh, 660px);
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 72px;
}

.banner--short {
  min-height: clamp(340px, 46vh, 440px);
}

.banner__veil {
  min-height: inherit;
  background: linear-gradient(100deg, rgba(14, 27, 30, 0.94) 0%, rgba(14, 27, 30, 0.82) 46%, rgba(14, 27, 30, 0.45) 100%);
  display: flex;
  align-items: flex-end;
  padding: 72px 0 56px;
}

.banner__copy {
  width: min(60%, 720px);
}

.banner__copy .lede {
  margin-bottom: 1.4em;
}

.banner__copy .btn {
  margin-right: 10px;
  margin-bottom: 10px;
}

.banner__copy .tagrow {
  margin-top: 8px;
  color: var(--type-soft);
}

@media (max-width: 900px) {
  .banner__copy {
    width: 100%;
  }
}

/* cohort cards */
.slab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.slab {
  background: var(--ink-raise);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 24px 22px 22px;
}

.slab h3 {
  margin-top: 0.35em;
}

.slab p:last-child {
  margin-bottom: 0;
}

.tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  color: var(--type-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.dossier {
  padding: 56px 0;
  border-top: 1px solid var(--ink-line);
}

.dossier__meta {
  color: var(--type-soft);
  font-size: 0.92rem;
  margin-bottom: 1.1em;
}

.stepline {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  counter-reset: step;
}

.stepline__item {
  position: relative;
  padding: 0 0 28px 52px;
  border-left: 1px solid var(--ink-line);
  margin-left: 14px;
}

.stepline__item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.stepline__item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -14px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--beam);
  color: #0E1B1E;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepline__item h3 {
  margin-bottom: 0.35em;
}

.qa {
  border-top: 1px solid var(--ink-line);
  padding: 22px 0;
}

.qa:last-child {
  border-bottom: 1px solid var(--ink-line);
}

.qa__q {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 0.55em;
}

.qa__a {
  margin: 0;
  color: var(--type-main);
}

.bandcta {
  background: var(--ink-raise);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding: 72px 0;
  margin-top: 72px;
}

.bandcta .btn {
  margin-right: 14px;
  margin-top: 8px;
}

.megafoot {
  background: var(--ink-raise);
  border-top: 1px solid var(--ink-line);
  padding: 64px 0 28px;
}

.megafoot .frame {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 32px 28px;
}

.megafoot__col h2 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.megafoot__col p,
.megafoot__col a,
.megafoot__col li {
  color: var(--type-soft);
  font-size: 0.92rem;
}

.megafoot__col a {
  text-decoration: none;
  color: var(--type-soft);
}

.megafoot__col a:hover {
  color: var(--beam);
}

.megafoot__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.megafoot__col li {
  margin-bottom: 8px;
}

.footbar {
  width: min(1220px, calc(100% - 48px));
  margin: 28px auto 0;
  padding: 18px 0 8px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--type-soft);
  font-size: 0.83rem;
}

.footbar p {
  margin: 0;
}

.figure {
  margin: 0 0 16px;
}

.figure img,
.figure iframe {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--ink-line);
}

.figure iframe {
  height: 360px;
  background: var(--ink-raise);
}

.figure figcaption {
  margin-top: 8px;
  color: var(--type-soft);
  font-size: 0.83rem;
}

.note {
  background: var(--ink-raise);
  border: 1px solid var(--ink-line);
  border-left: 4px solid var(--beam);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 32px;
  color: var(--type-main);
}

.formgrid {
  display: grid;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 0.9rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink-base);
  color: var(--type-main);
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  padding: 11px 12px;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1rem;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--beam);
  outline-offset: 1px;
  border-color: var(--beam);
}

.field label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.field input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--beam);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.alert--ok {
  background: rgba(58, 192, 160, 0.14);
  border: 1px solid var(--beam);
}

.alert--warn {
  background: rgba(224, 180, 90, 0.12);
  border: 1px solid #c9a24a;
  color: #f3e2b3;
}

.cookiebar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 60;
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink-raise);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookiebar[hidden] {
  display: none !important;
}

.cookiebar p {
  margin: 0;
  font-size: 0.92rem;
}

.cookiebar .btn {
  margin-left: 8px;
}

.lift-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js .lift-in {
  opacity: 0;
  transform: translateY(14px);
}

html.js .lift-in.up {
  opacity: 1;
  transform: none;
}

html.no-js .lift-in {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lift-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}

.pad {
  padding: 0 0 72px;
}

.gap-top {
  margin-top: 72px;
}

.split5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.split5 h3 {
  margin-bottom: 0.4em;
}

.split5 p {
  color: var(--type-main);
  font-size: 0.98rem;
}

.course {
  padding: 36px 0;
  border-top: 1px solid var(--ink-line);
}

.course:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal h2 {
  margin-top: 1.6em;
}

.legal p,
.legal li {
  max-width: 46em;
}

@media (max-width: 1100px) {
  .slab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split5 {
    grid-template-columns: 1fr 1fr;
  }
  .megafoot .frame {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 979px) {
  .pillbar__toggle {
    display: inline-flex;
  }
  .pillbar__links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--ink-raise);
    border: 1px solid var(--ink-line);
    border-radius: 18px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .pillbar__links.open {
    display: flex;
  }
  .pillbar__links a {
    padding: 10px 12px;
    border-radius: 10px;
  }
  .pillbar__links .btn {
    margin-top: 6px;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .frame {
    width: min(1220px, calc(100% - 32px));
  }
  .slab-grid,
  .split5,
  .megafoot .frame {
    grid-template-columns: 1fr;
  }
  .footbar {
    flex-direction: column;
    width: min(1220px, calc(100% - 32px));
  }
  .cookiebar {
    flex-direction: column;
    align-items: stretch;
  }
  .cookiebar .btn {
    margin: 6px 6px 0 0;
  }
  .rail {
    position: static;
  }
}
