:root {
  color-scheme: light;
  --ink: #15171a;
  --muted: #5e6673;
  --line: #dfe3e8;
  --paper: #fbfbf9;
  --panel: #ffffff;
  --blue: #2557ff;
  --blue-soft: #e8edff;
  --green-soft: #e8f7ef;
  --gold-soft: #fff1bf;
  --shadow: 0 24px 80px rgba(21, 23, 26, 0.09);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.panel-topline,
.topic-controls,
.footer-inner {
  display: flex;
  align-items: center;
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 720;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  color: white;
  background: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) 520px;
  gap: 64px;
  min-height: calc(100svh - 70px);
  padding: 74px 0 58px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8vw, 7.3rem);
  line-height: 0.93;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.25rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 720;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.hero-visual {
  display: grid;
  gap: 14px;
}

.session-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.session-card img {
  display: block;
  width: 100%;
  height: clamp(260px, 26vw, 340px);
  object-fit: cover;
}

.session-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 7px;
  padding: 10px 12px;
  color: white;
  background: rgba(21, 23, 26, 0.72);
  backdrop-filter: blur(16px);
  font-size: 0.82rem;
}

.session-card figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
}

.session-card figcaption strong {
  font-weight: 780;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(37, 87, 255, 0.08) 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(37, 87, 255, 0.08) 32px);
  box-shadow: var(--shadow);
}

.panel-topline {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
}

.status-dot {
  position: relative;
  padding-left: 14px;
}

.status-dot::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21a67a;
  content: "";
  transform: translateY(-50%);
}

.demo-topic {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--panel);
}

.demo-label,
.map-kicker,
.roadmap-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-topic strong {
  display: block;
  font-size: 1.34rem;
  line-height: 1.2;
}

.explanation-card {
  margin-bottom: 14px;
  border: 1px solid #cbd5ff;
  border-radius: var(--radius);
  padding: 18px;
  background: var(--blue-soft);
}

.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #20356f;
  font-size: 0.8rem;
  font-weight: 760;
}

.explanation-card p {
  margin-bottom: 0;
  color: #22325d;
}

.topic-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.topic-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--panel);
  font-weight: 720;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.topic-button:hover,
.topic-button:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.topic-button.is-active {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.learning-map {
  display: grid;
  gap: 10px;
}

.learning-map div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--panel);
}

.learning-map div:nth-child(2) {
  background: var(--green-soft);
}

.learning-map div:nth-child(3) {
  background: var(--gold-soft);
}

.learning-map strong {
  display: block;
  font-size: 0.95rem;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  margin-bottom: 34px;
}

#programs,
.team-section,
.roadmap {
  padding: 100px 0;
}

.program-grid,
.team-grid,
.roadmap-grid,
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.program-card,
.team-card,
.roadmap-grid div,
.standard-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.program-card:hover,
.team-card:hover,
.roadmap-grid div:hover,
.proof-steps article:hover,
.standard-card:hover {
  border-color: #c8ced8;
  box-shadow: 0 16px 42px rgba(21, 23, 26, 0.07);
  transform: translateY(-3px);
}

.team-card,
.roadmap-grid div,
.standard-card {
  padding: 24px;
}

.program-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.program-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.program-body {
  display: grid;
  padding: 22px;
}

.program-number {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 800;
}

.program-output {
  display: block;
  margin-top: 22px;
  color: var(--ink);
  font-size: 0.88rem;
}

.program-card p,
.team-card p,
.roadmap-grid p,
.loop-list p,
.apply-grid p,
.standard-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.model-band,
.apply-section {
  background: var(--ink);
  color: white;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 72px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 18px 0 100px;
}

.proof-copy {
  position: sticky;
  top: 96px;
}

.proof-copy p:last-child {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.05rem;
}

.proof-steps {
  display: grid;
  gap: 12px;
}

.proof-steps article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--panel);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.proof-steps span {
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.proof-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.model-band {
  padding: 96px 0;
}

.standards-section {
  padding: 0 0 100px;
}

.standard-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 800;
}

.model-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 80px;
  align-items: start;
}

.model-band .eyebrow,
.apply-section .eyebrow {
  color: #9db2ff;
}

.loop-list {
  display: grid;
  gap: 10px;
}

.loop-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.loop-list span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  color: var(--ink);
  background: white;
  font-weight: 800;
}

.loop-list h3 {
  margin-bottom: 4px;
}

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

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  font-weight: 800;
}

.roadmap {
  padding-top: 0;
}

.roadmap-grid div {
  min-height: 220px;
}

.roadmap-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.24rem;
  line-height: 1.22;
}

.apply-section {
  padding: 96px 0;
}

.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 78px;
  align-items: start;
}

.interest-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 22px;
  background: white;
  color: var(--ink);
}

.interest-form label {
  display: grid;
  gap: 7px;
  color: #343943;
  font-size: 0.9rem;
  font-weight: 720;
}

.interest-form input,
.interest-form select,
.interest-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
}

.interest-form textarea {
  resize: vertical;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #25593e;
  font-weight: 720;
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  background: var(--paper);
}

.footer-inner {
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.site-watermark {
  border: 1px solid rgba(21, 23, 26, 0.12);
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(21, 23, 26, 0.64);
  background: rgba(21, 23, 26, 0.035);
  font-size: 0.78rem;
  font-weight: 720;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .proof-section,
  .model-grid,
  .apply-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-panel {
    width: min(100%, 560px);
  }

  .hero-visual {
    width: min(100%, 620px);
  }

  .proof-copy {
    position: static;
  }

  .team-grid,
  .program-grid,
  .roadmap-grid,
  .standards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    width: min(100% - 28px, var(--max));
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .brand {
    max-width: none;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 0.84rem;
  }

  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    max-width: 360px;
    font-size: clamp(2.55rem, 12vw, 3rem);
    line-height: 0.96;
  }

  .hero-copy,
  .hero-text,
  .hero-panel,
  .hero-visual {
    max-width: 360px;
  }

  .session-card figcaption {
    position: static;
    display: grid;
    color: var(--ink);
    background: var(--panel);
    border-width: 1px 0 0;
    border-color: var(--line);
    border-radius: 0;
  }

  .session-card figcaption span {
    color: var(--muted);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  #programs,
  .team-section,
  .proof-section,
  .roadmap,
  .standards-section,
  .model-band,
  .apply-section {
    padding: 72px 0;
  }

  .program-grid,
  .team-grid,
  .roadmap-grid,
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .program-number {
    margin-bottom: 32px;
  }

  .topic-controls {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}
