:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #56616b;
  --line: #d9e0e2;
  --paper: #fbfcfa;
  --soft: #eef4f1;
  --mint: #78d6b6;
  --teal: #1e7b77;
  --acid: #d7ef54;
  --coral: #ec7966;
  --blue: #415fe8;
  --shadow: 0 22px 70px rgba(16, 24, 32, 0.12);
  --radius: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 252, 250, 0.8);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(16, 24, 32, 0.08);
  box-shadow: 0 12px 40px rgba(16, 24, 32, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--acid);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--muted);
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(30, 123, 119, 0.1);
  color: var(--ink);
}

.site-nav .nav-cta {
  background: var(--ink);
  color: #fff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--teal);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 11px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}

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

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 40px;
  padding: 150px clamp(20px, 5vw, 72px) 88px;
}

.molecule-canvas {
  position: absolute;
  inset: 96px 0 0;
  z-index: 0;
  width: 100%;
  height: calc(100% - 96px);
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(215, 239, 84, 0.32), transparent 27%),
    linear-gradient(135deg, #f7faf6, #edf4f2 52%, #f9fbf5);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 32, 0.06);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 10vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: #2e3a42;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions,
.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-panel {
  display: grid;
  gap: 1px;
  align-self: stretch;
  min-height: 360px;
  padding-top: 120px;
}

.hero-panel div {
  display: grid;
  align-content: center;
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(16px);
}

.stat {
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
}

.stat-label {
  color: var(--muted);
  font-weight: 700;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1160px, calc(100% - 40px));
  margin: -36px auto 0;
  position: relative;
  z-index: 4;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-strip div {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.intro-strip div:last-child {
  border-right: 0;
}

.intro-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

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

.section-heading {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-heading.compact {
  margin-bottom: 32px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.split-layout,
.two-column {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.copy-stack {
  color: var(--muted);
  font-size: 1.03rem;
}

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

.detail-grid article,
.paper-card,
.registration-panel,
.registration-form,
.timeline div,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.detail-grid article {
  padding: 24px;
}

.detail-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
}

.detail-grid p,
.paper-card p,
.timeline p,
.section-heading p,
.registration-panel p {
  color: var(--muted);
}

.muted-band {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1160px) / 2));
  padding-right: max(20px, calc((100% - 1160px) / 2));
  background: var(--soft);
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.paper-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
}

.paper-card .resource-links {
  margin-top: auto;
}

.paper-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(120, 214, 182, 0.28), rgba(255, 255, 255, 0.86)),
    #fff;
}

.paper-topline,
.score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.paper-topline {
  justify-content: space-between;
  margin-bottom: auto;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-row {
  margin: 12px 0 0;
  color: #2f3f46;
  font-size: 0.84rem;
  font-weight: 800;
}

.score-row span,
.syllabus-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.score-row span {
  padding: 6px 9px;
}

.resource-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.syllabus-section {
  padding-bottom: 36px;
}

.syllabus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.syllabus-list span {
  padding: 12px 16px;
  color: #2f3f46;
  font-weight: 800;
}

.registration-panel,
.timeline div {
  padding: 30px;
}

.registration-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.registration-panel {
  background: var(--ink);
  color: #fff;
}

.registration-panel .eyebrow,
.registration-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.registration-panel .button-primary {
  margin-top: 16px;
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.register-timeline {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.register-timeline div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.register-timeline span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.register-timeline strong {
  display: block;
  margin-bottom: 4px;
}

.register-timeline p {
  margin: 0;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--coral);
  font-weight: 800;
}

.registration-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
}

.registration-form label {
  display: grid;
  gap: 8px;
  color: #2f3f46;
  font-size: 0.86rem;
  font-weight: 800;
}

.checkbox-field {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--teal);
}

.privacy-note {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
}

.contact-section {
  padding-top: 48px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2f3f46;
  font-size: 0.86rem;
  font-weight: 800;
}

.full-field,
.form-note {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

input[type="checkbox"] {
  padding: 0;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(120, 214, 182, 0.25);
}

input[type="checkbox"]:focus {
  box-shadow: 0 0 0 4px rgba(120, 214, 182, 0.25);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

.legal-page {
  padding: 150px 0 90px;
  max-width: 860px;
}

.legal-page h1 {
  max-width: 760px;
  margin-bottom: 40px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.legal-page section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 1rem;
}

.legal-page a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .split-layout,
  .two-column,
  .registration-section {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    min-height: 0;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 0;
  }

  .intro-strip,
  .paper-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: 20px;
  }

  .intro-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .paper-card.featured {
    grid-column: auto;
  }

  .paper-card {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .brand span:last-child {
    max-width: 180px;
    line-height: 1.15;
  }

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

  .hero {
    padding-bottom: 40px;
  }

  .hero-panel,
  .contact-form,
  .registration-form {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 20px;
  }

  .content-section {
    padding: 72px 0;
  }

  .muted-band {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer div {
    flex-wrap: wrap;
  }
}


.thank-you-page {
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: center;
  padding: 150px 0 90px;
}

.thank-you-panel {
  max-width: 820px;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 20%, rgba(215, 239, 84, 0.35), transparent 28%),
    linear-gradient(135deg, #f7faf6, #eef4f1);
  box-shadow: var(--shadow);
}

.thank-you-panel h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
}

.thank-you-panel p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}