:root {
  --ink: #192941;
  --ink-soft: #536174;
  --paper: #f6f2e9;
  --paper-deep: #e8e5dc;
  --teal: #20a7a5;
  --teal-dark: #168e8e;
  --teal-pale: #dff1eb;
  --mango: #f5b942;
  --mango-pale: #f8e5b7;
  --line: #cfd1c9;
  --white: #fbfaf4;
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
  --mono: "Space Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

button,
a,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--mango);
  box-shadow: 4px 4px 0 var(--teal);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg);
}

.brand-mark span {
  font: 700 23px/1 var(--display);
  letter-spacing: -0.12em;
}

.brand-mark i {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-name strong {
  font: 700 19px/1 var(--display);
  letter-spacing: -0.04em;
}

.brand-name small {
  padding-top: 5px;
  color: currentColor;
  font: 7px/1 var(--mono);
  letter-spacing: 0.23em;
  opacity: 0.6;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 31px;
}

.desktop-nav > a {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav > a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover {
  background: #263b59;
}

.button-mango {
  background: var(--mango);
  color: var(--ink);
}

.button-small {
  padding: 12px 19px;
  font-size: 12px;
}

.button-large {
  padding: 14px 22px;
  font-size: 14px;
}

.button-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--mango);
  color: var(--ink);
}

.button-icon-dark {
  background: var(--ink);
  color: var(--mango);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #d8d8ca;
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.mobile-nav {
  width: calc(100% - 40px);
  margin: 0 20px;
  padding: 12px;
  border: 1px solid #d8d8ca;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 35px rgb(25 41 65 / 12%);
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: #eef2ed;
}

.mobile-nav .button {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border-radius: 12px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 800px;
  padding: 130px 0 70px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  min-height: 600px;
  align-items: center;
  gap: 40px;
  grid-template-columns: 1.04fr 0.96fr;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--teal-dark);
  font: 700 10px/1.2 var(--mono);
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.hero h1,
h2,
h3,
h4,
.code-footer strong {
  font-family: var(--display);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(60px, 8.3vw, 125px);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.9;
}

h1 em,
h2 em {
  color: var(--teal-dark);
  font-style: normal;
}

.hero-description {
  max-width: 500px;
  margin: 31px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.text-link {
  padding: 12px 20px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--ink);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 55px;
  padding-top: 19px;
  border-top: 1px solid #d8d8ca;
}

.initials {
  display: flex;
  margin-left: 2px;
}

.initials span {
  display: grid;
  width: 32px;
  height: 32px;
  margin-left: -4px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.initials span:first-child { background: #8dd7cf; }
.initials span:nth-child(2) { background: var(--mango); }
.initials span:last-child { background: #bac4d2; }

.hero-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.hero-note strong {
  color: var(--ink);
}

.hero-visual {
  position: relative;
  height: 530px;
}

.code-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 87%;
  height: 100%;
  padding: 32px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--ink);
  box-shadow: 18px 18px 0 var(--mango);
}

.grid-paper {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image: linear-gradient(#8dd7cf 1px, transparent 1px), linear-gradient(90deg, #8dd7cf 1px, transparent 1px);
  background-size: 35px 35px;
}

.code-status,
.code-lines,
.code-footer {
  position: relative;
}

.code-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #8dd7cf;
  font: 10px/1.2 var(--mono);
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.code-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mango);
}

.code-lines {
  position: absolute;
  right: 32px;
  bottom: 140px;
  left: 32px;
  color: #8dd7cf;
  font: 12px/2.7 var(--mono);
}

.code-lines p {
  margin: 0;
}

.code-lines b {
  margin-right: 21px;
  color: var(--mango);
  font-weight: 400;
}

.code-lines i {
  display: inline-block;
  width: 6px;
  height: 15px;
  margin-left: 5px;
  vertical-align: -2px;
  background: var(--teal);
}

.code-footer {
  position: absolute;
  right: 32px;
  bottom: 35px;
  left: 32px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgb(141 215 207 / 25%);
}

.code-footer strong {
  color: var(--paper);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.code-footer span {
  color: var(--mango);
  font: 30px var(--mono);
}

.floating-note {
  position: absolute;
  top: 17%;
  left: -1px;
  display: grid;
  width: 112px;
  height: 112px;
  place-content: center;
  border: 7px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 7px 7px 0 var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.floating-note strong {
  color: var(--mango);
}

.fee-card {
  position: absolute;
  bottom: 32px;
  left: -4px;
  padding: 16px;
  border: 1px solid #d8d8ca;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 13px 25px rgb(25 41 65 / 12%);
}

.fee-label,
.fee-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font: 9px/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fee-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.fee-card strong {
  display: block;
  margin-top: 8px;
  font: 600 33px/1 var(--display);
  letter-spacing: -0.06em;
}

.fee-card small {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 10px;
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a2a69e;
  font: 700 9px var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 32px;
  background: #a2a69e;
}

.stats-strip {
  padding: 24px 0;
  background: var(--ink);
  color: var(--paper);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 6px 32px;
}

.stat + .stat {
  border-left: 1px solid #526077;
}

.stat strong {
  display: block;
  color: var(--mango);
  font: 600 36px/1 var(--display);
  letter-spacing: -0.06em;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
}

.stat small {
  color: #8dd7cf;
  font: 9px var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section {
  padding: 120px 0;
}

.split-heading {
  display: grid;
  align-items: end;
  gap: 32px;
  grid-template-columns: 0.72fr 1.28fr;
}

.section-heading h2,
.why-copy h2,
.journey-grid h2,
.faq-grid h2 {
  max-width: 510px;
  margin: 0;
  font: 600 clamp(45px, 5.5vw, 80px)/0.93 var(--display);
  letter-spacing: -0.075em;
}

.split-heading > p {
  max-width: 480px;
  margin: 0 0 3px auto;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.program-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
  grid-template-columns: repeat(2, 1fr);
}

.program-card {
  position: relative;
  min-height: 480px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid;
  border-radius: 27px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  box-shadow: 0 20px 35px rgb(25 41 65 / 13%);
  transform: translateY(-7px);
}

.program-teal {
  border-color: #b7ded9;
  background: var(--teal-pale);
}

.program-mango {
  border-color: #e6c987;
  background: var(--mango-pale);
}

.program-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.mono-label {
  color: var(--teal-dark);
  font: 700 10px var(--mono);
  letter-spacing: 0.2em;
}

.program-mango .mono-label {
  color: #92701f;
}

.round-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.program-card:hover .round-arrow {
  transform: rotate(45deg);
}

.program-mango .round-arrow {
  background: var(--mango);
  color: var(--ink);
}

.program-content {
  position: relative;
  z-index: 1;
  max-width: 395px;
  margin-top: 68px;
}

.program-content h3 {
  margin: 0;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.program-content h4 {
  margin: 13px 0 0;
  font-size: 19px;
  font-weight: 500;
}

.program-content p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 31px;
}

.tags span {
  padding: 6px 11px;
  border: 1px solid rgb(25 41 65 / 15%);
  border-radius: 99px;
  background: rgb(246 242 233 / 50%);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 8px;
  margin-top: 27px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.card-link:hover {
  color: var(--teal-dark);
}

.watermark {
  position: absolute;
  right: -14px;
  bottom: -25px;
  color: rgb(25 41 65 / 6%);
  font: 700 136px/1 var(--display);
}

.why-section {
  background: var(--teal-pale);
}

.why-grid {
  display: grid;
  gap: 64px;
  grid-template-columns: 0.9fr 1.1fr;
}

.why-copy h2 {
  max-width: 470px;
}

.why-copy > p:not(.eyebrow) {
  max-width: 410px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.why-copy .text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 25px;
  padding-left: 0;
}

.feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid #b7ded9;
  border-radius: 16px;
  background: rgb(246 242 233 / 75%);
}

.feature-dark {
  background: var(--ink);
  color: var(--paper);
}

.feature-icon {
  color: var(--teal-dark);
  font: 30px/1 var(--mono);
}

.feature-dark .feature-icon {
  color: var(--mango);
}

.feature-card h3 {
  margin: 54px 0 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.feature-dark p {
  color: #cbd6df;
}

.fee-banner {
  padding: 80px 0;
  background: var(--mango);
}

.fee-grid {
  display: grid;
  align-items: center;
  gap: 40px;
  grid-template-columns: 1.2fr 0.8fr;
}

.fee-grid h2 {
  max-width: 690px;
  margin: 0;
  font: 600 clamp(43px, 5vw, 72px)/0.92 var(--display);
  letter-spacing: -0.08em;
}

.fee-detail {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.fee-detail strong {
  display: block;
  margin-top: 20px;
  font: 600 76px/1 var(--display);
  letter-spacing: -0.09em;
}

.fee-detail p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.fee-detail .button {
  margin-top: 22px;
  padding: 13px 19px;
  font-size: 13px;
}

.journey-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 0.68fr 1.32fr;
}

.journey-list {
  border-top: 1px solid var(--line);
}

.journey-item {
  display: grid;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 70px 1fr 1fr;
}

.journey-item > span {
  color: var(--teal-dark);
  font: 700 12px var(--mono);
}

.journey-item h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.journey-item p {
  max-width: 320px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.admissions-section {
  padding: 120px 0;
  background: var(--ink);
  color: var(--paper);
}

.admissions-grid {
  display: grid;
  align-items: center;
  gap: 50px;
  grid-template-columns: 1fr 0.85fr;
}

.eyebrow-light {
  color: #8dd7cf;
}

.eyebrow-light span {
  background: var(--mango);
}

.admissions-section h2 {
  max-width: 700px;
  margin: 0;
  font: 600 clamp(50px, 6.5vw, 96px)/0.9 var(--display);
  letter-spacing: -0.085em;
}

.admissions-section h2 em {
  color: var(--mango);
}

.admissions-copy {
  max-width: 480px;
  margin: 28px 0 0;
  color: #cbd6df;
  font-size: 16px;
  line-height: 1.75;
}

.admissions-section .button {
  margin-top: 30px;
}

.admissions-art {
  position: relative;
  height: 295px;
}

.note {
  position: absolute;
  width: 270px;
  height: 235px;
  padding: 20px;
  border-radius: 24px;
}

.note span {
  display: block;
  color: #8dd7cf;
  font: 10px var(--mono);
}

.note strong {
  display: block;
  font: 600 32px/1.05 var(--display);
  letter-spacing: -0.06em;
}

.note-back {
  top: 10px;
  right: 16px;
  border: 1px solid #526077;
  background: #263b59;
  transform: rotate(3deg);
}

.note-back strong {
  margin-top: 65px;
  color: var(--paper);
}

.note-front {
  bottom: 0;
  left: 4px;
  z-index: 1;
  width: 230px;
  height: 190px;
  background: var(--teal);
  box-shadow: 10px 10px 0 var(--mango);
  color: var(--ink);
  transform: rotate(-6deg);
}

.note-front > span {
  color: var(--ink);
  font-size: 24px;
}

.note-front strong {
  margin-top: 45px;
}

.note-front small {
  display: block;
  margin-top: 11px;
  font: 9px var(--mono);
  letter-spacing: 0.14em;
}

.faq-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.7fr 1.3fr;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font: 600 20px var(--display);
  letter-spacing: -0.03em;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: var(--teal-dark);
  content: "+";
  font: 400 26px var(--body);
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 650px;
  margin: -5px 0 24px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  padding: 55px 0 20px;
  background: var(--paper-deep);
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 0.65fr 0.65fr;
}

.footer-grid > div:first-child > p {
  max-width: 330px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-label {
  margin-bottom: 4px;
  color: var(--teal-dark);
  font: 700 10px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  font-size: 13px;
  font-weight: 700;
}

.footer-grid a:not(.brand):hover {
  color: var(--teal-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #69727a;
  font-size: 10px;
}

.footer-bottom span:last-child {
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  padding: 16px;
  place-items: center;
  background: rgb(25 41 65 / 70%);
  backdrop-filter: blur(5px);
}

.modal-backdrop[hidden],
.success-message[hidden] {
  display: none;
}

.modal {
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  padding: 30px;
  overflow-y: auto;
  border: 1px solid #d8d8ca;
  border-radius: 27px;
  background: var(--paper);
  box-shadow: 0 25px 70px rgb(10 20 35 / 30%);
}

.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.modal-header .eyebrow {
  margin-bottom: 12px;
}

.modal h2 {
  margin: 0;
  font: 600 34px/1 var(--display);
  letter-spacing: -0.06em;
}

.modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #d8d8ca;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font-size: 24px;
  line-height: 1;
}

.modal-close:hover {
  background: var(--paper-deep);
}

#admissions-form {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

#admissions-form label {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

#admissions-form label span {
  font-weight: 400;
}

#admissions-form input,
#admissions-form select,
#admissions-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#admissions-form textarea {
  resize: vertical;
}

#admissions-form input:focus,
#admissions-form select:focus,
#admissions-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgb(32 167 165 / 15%);
}

.submit-button {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
}

.form-note {
  margin: 2px 0 0;
  color: #69727a;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.success-message {
  margin-top: 28px;
  padding: 24px;
  border-radius: 16px;
  background: var(--teal-pale);
}

.success-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  font-weight: 700;
}

.success-message h3 {
  margin: 20px 0 0;
  font-size: 26px;
  letter-spacing: -0.05em;
}

.success-message p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.success-message .button {
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 125px;
  }

  .hero-grid,
  .why-grid,
  .fee-grid,
  .admissions-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 70px;
  }

  .hero-visual {
    width: min(100%, 590px);
    margin: 0 auto;
  }

  .scroll-cue {
    display: none;
  }

  .why-grid {
    gap: 45px;
  }

  .admissions-art {
    display: none;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 560px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 115px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 84px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-visual {
    height: 390px;
  }

  .code-panel {
    padding: 23px;
    border-radius: 24px;
    box-shadow: 10px 10px 0 var(--mango);
  }

  .code-lines {
    right: 23px;
    bottom: 104px;
    left: 23px;
    font-size: 10px;
  }

  .code-footer {
    right: 23px;
    bottom: 23px;
    left: 23px;
  }

  .code-footer strong {
    font-size: 27px;
  }

  .floating-note {
    left: -8px;
    width: 88px;
    height: 88px;
    border-width: 5px;
    font-size: 8px;
  }

  .fee-card {
    bottom: 12px;
    left: 0;
    padding: 12px;
  }

  .fee-card strong {
    font-size: 26px;
  }

  .stats-grid,
  .program-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: auto;
    padding: 13px 0;
  }

  .stat + .stat {
    border-top: 1px solid #526077;
    border-left: 0;
  }

  .section {
    padding: 80px 0;
  }

  .split-heading,
  .journey-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .split-heading > p {
    margin-left: 0;
  }

  .program-card {
    min-height: auto;
    padding: 23px;
  }

  .program-content {
    margin-top: 52px;
  }

  .feature-card {
    min-height: auto;
  }

  .fee-banner,
  .admissions-section {
    padding: 80px 0;
  }

  .fee-detail strong {
    font-size: 64px;
  }

  .journey-item {
    grid-template-columns: 45px 1fr;
  }

  .journey-item p {
    grid-column: 2;
  }

  .footer-bottom {
    flex-direction: column;
    margin-top: 38px;
  }

  .modal {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}