:root {
  --paper: #f7f5ef;
  --surface: #eeece5;
  --surface-light: #fffefa;
  --ink: #171918;
  --muted: #666965;
  --line: #d0cec7;
  --blue: #165cff;
  --lime: #c7ef1e;
  --danger: #a12828;
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
main { flex: 1; }
body::selection { background: var(--lime); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.035em; }

.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;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 100;
  padding: .8rem 1rem;
  background: var(--blue);
  color: #fff;
}
.skip-link:focus { top: 1rem; }
.section-shell { width: min(1296px, calc(100% - 96px)); margin-inline: auto; }

.site-header {
  width: min(1296px, calc(100% - 96px));
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 0 auto;
  border-bottom: 1px solid transparent;
}
.wordmark {
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.08em;
  text-decoration: none;
}
.main-nav, .header-actions { display: flex; align-items: center; gap: 3.4rem; }
.main-nav a, .header-actions > a {
  color: var(--ink);
  font-size: .78rem;
  text-decoration: none;
}
.header-actions { justify-content: flex-end; }
.main-nav a:hover, .header-actions > a:hover { color: var(--blue); }
.menu-toggle {
  display: none;
  padding: .35rem;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 1.8rem;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 0 1.6rem;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { border-color: var(--ink); background: var(--ink); }
.button--small { min-height: 48px; padding-inline: 1.25rem; font-size: .86rem; }
.button:focus-visible,
.text-link:focus-visible,
.editorial-link:focus-visible,
.editorial-program--active:focus-visible,
.account-card:focus-visible,
.module li a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 0 0 .3rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--blue);
  text-decoration: none;
  cursor: pointer;
}
.eyebrow, .editorial-label {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow--lime, .eyebrow--blue { color: var(--blue); }

/* Global editorial header and footer */
.site-footer {
  width: min(1296px, calc(100% - 96px));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin: 0 auto;
  padding: 34px 0 58px;
  border-top: 1px solid var(--line);
}
.site-footer__brand { display: block; }
.site-footer__brand .wordmark { display: block; margin-bottom: .45rem; font-size: 1rem; }
.site-footer__brand p { margin: 0; }
.site-footer p, .site-footer a { color: var(--ink); font-size: .7rem; text-decoration: none; }
.site-footer__nav { display: flex; gap: 3.4rem; }
.site-footer__nav a:hover { color: var(--blue); }

/* Login and waitlist modals */
.login-modal,
.waitlist-modal {
  width: min(590px, calc(100% - 36px));
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.login-modal::backdrop,
.waitlist-modal::backdrop { background: rgba(23, 25, 24, .58); }
.login-modal__panel,
.waitlist-modal__panel { position: relative; padding: 58px; background: var(--paper); }
.login-modal__close,
.waitlist-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}
.login-modal__close:hover,
.waitlist-modal__close:hover { color: var(--blue); }
.login-modal h2,
.waitlist-modal h2 {
  max-width: 430px;
  margin-bottom: 2.5rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 400;
  line-height: .95;
}
.login-modal form,
.waitlist-modal form { display: grid; gap: .65rem; }
.login-modal label,
.waitlist-modal label {
  margin-top: .55rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.login-modal input:not([type="hidden"]),
.waitlist-modal input:not([type="hidden"]) {
  width: 100%;
  min-height: 54px;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface-light);
  color: var(--ink);
}
.login-modal input:focus,
.waitlist-modal input:focus { border-color: var(--blue); outline: 1px solid var(--blue); }
.login-modal form .button,
.waitlist-modal form .button { width: fit-content; margin-top: 1.5rem; }
.login-modal__recovery { margin-top: .55rem; color: var(--blue); font-size: .82rem; }
.login-modal__panel > p { margin: 2rem 0 0; color: var(--muted); }
.login-modal__panel > p a { color: var(--blue); }
.waitlist-modal__panel > p { margin: 0 0 1.75rem; color: var(--muted); }
.waitlist-modal__panel > .waitlist-modal__error { margin: -1rem 0 1rem; color: var(--danger); }
.waitlist-modal__panel > .waitlist-modal__privacy { margin: 1.5rem 0 0; font-size: .78rem; }
.waitlist-modal__privacy a { color: var(--blue); }

/* Home */
.editorial-hero { padding-top: 140px; }
.editorial-hero__copy { max-width: 930px; margin-inline: auto; text-align: center; }
.editorial-label { margin-bottom: 2.5rem; }
.editorial-hero h1 {
  margin-bottom: 3.5rem;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 7.1vw, 7.4rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}
.editorial-hero h1 em, .editorial-manifesto h2 em { font-weight: 400; }
.editorial-hero__copy > p {
  margin-bottom: 3.5rem;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
}
.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.editorial-link i { transition: transform .18s ease; }
.editorial-link:hover i { transform: translateX(.35rem); }
.editorial-programs { margin-top: 92px; border-top: 1px solid var(--line); }
.editorial-program {
  min-height: 210px;
  display: grid;
  grid-template-columns: 70px minmax(340px, 1.25fr) minmax(260px, 1fr) 170px 32px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.editorial-program--active { transition: color .18s ease; }
.editorial-program--active:hover { color: var(--blue); }
.editorial-program__number { grid-column: 1; font-family: var(--serif); font-size: 1.3rem; }
.editorial-program h3 {
  grid-column: 2;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.02em;
}
.editorial-program p { grid-column: 3; max-width: 330px; margin: 0; color: var(--muted); font-size: .8rem; }
.editorial-program__status { grid-column: 4; color: var(--muted); font-size: .76rem; }
.editorial-program--active .editorial-program__status { color: var(--ink); }
.editorial-program__arrow { grid-column: 5; justify-self: end; font-size: 1.35rem; }
.editorial-program--upcoming .editorial-program__arrow { color: var(--muted); }
.editorial-manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 35px;
  padding: 104px 110px 118px;
  border-bottom: 1px solid var(--line);
}
.editorial-manifesto h2 {
  margin-bottom: 2.5rem;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 4.7vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
}
.editorial-manifesto p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.editorial-manifesto__aside {
  align-self: stretch;
  padding: 1rem 0 1rem 74px;
  border-left: 1px solid var(--line);
}
.editorial-manifesto__aside p { margin-bottom: 3.5rem; font-size: 1.15rem; }
.home-page .site-footer { border-top: 0; }

/* Public program detail */
.detail-hero {
  min-height: 690px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 110px;
  border-bottom: 1px solid var(--line);
}
.detail-hero__layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, .72fr);
  align-items: end;
  gap: clamp(4rem, 8vw, 9rem);
}
.detail-hero h1,
.app-shell > h1,
.checkout-shell h1,
.auth-shell h1,
.empty-state h1,
.content-shell > h1,
.lesson-shell > h1 {
  max-width: 980px;
  margin-bottom: 2rem;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 7.3rem);
  font-weight: 400;
  line-height: .98;
}
.detail-hero__main > p { max-width: 720px; color: var(--muted); font-size: 1.2rem; }
.detail-hero__action {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 3rem;
}
.detail-hero__action .button { width: 100%; justify-content: space-between; }
.detail-status {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.detail-status > span {
  display: block;
  margin-bottom: .8rem;
  color: var(--blue);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.detail-status p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 2.5rem 0 3rem;
  border-block: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .74rem;
  text-transform: uppercase;
}
.detail-facts span { padding: 1rem 2rem; border-right: 1px solid var(--line); }
.detail-facts span:first-child { padding-left: 0; }
.detail-facts span:last-child { border-right: 0; }
.curriculum { padding-block: 112px 130px; }
.curriculum__intro {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 5rem;
  margin-bottom: 5rem;
}
.curriculum__intro .eyebrow { grid-column: 1 / -1; margin-bottom: -2rem; }
.curriculum__intro h2,
.bootcamp-overview h2,
.bootcamp-included h2 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
}
.curriculum__intro > p { max-width: 470px; margin: 0; color: var(--muted); }
.curriculum__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 48px; }
.curriculum-module { border-top: 1px solid var(--line); }
.curriculum-module > header {
  min-height: 130px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.curriculum-module > header > span { color: var(--blue); font-family: var(--serif); font-size: 1.1rem; }
.curriculum-module h3 { margin-bottom: .45rem; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; }
.curriculum-module header p { margin: 0; color: var(--muted); font-size: .78rem; }
.curriculum-module ol { margin: 0; padding: 0; list-style: none; }
.curriculum-module li { border-bottom: 1px solid var(--line); }
.curriculum-module li > span,
.curriculum-module li > a { display: block; padding: .75rem 0; color: var(--muted); font-size: .86rem; text-decoration: none; }
.curriculum-module li > a { color: var(--ink); }
.curriculum-module li > a:hover { color: var(--blue); }
.bootcamp-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 112px 110px;
  border-block: 1px solid var(--line);
}
.bootcamp-overview__copy { padding-left: 72px; border-left: 1px solid var(--line); }
.bootcamp-overview__copy p { color: var(--muted); line-height: 1.75; }
.bootcamp-overview__copy p:last-child { margin-bottom: 0; }
.bootcamp-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 92px;
  border-bottom: 1px solid var(--line);
}
.bootcamp-outcomes article { padding: 0 48px; border-right: 1px solid var(--line); }
.bootcamp-outcomes article:first-child { padding-left: 0; }
.bootcamp-outcomes article:last-child { padding-right: 0; border-right: 0; }
.bootcamp-outcomes article > span { color: var(--blue); font-family: var(--serif); }
.bootcamp-outcomes h3 { margin: 1.4rem 0 1rem; font-family: var(--serif); font-size: 2.8rem; font-weight: 400; }
.bootcamp-outcomes p { margin: 0; color: var(--muted); line-height: 1.7; }
.bootcamp-included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 112px 110px 130px;
}
.bootcamp-included > div:last-child { padding-left: 72px; border-left: 1px solid var(--line); }
.bootcamp-included ul { margin: 0 0 3rem; padding: 0; list-style: none; }
.bootcamp-included li { display: grid; grid-template-columns: 24px 1fr; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.bootcamp-included li:first-child { border-top: 1px solid var(--line); }
.bootcamp-included li i { color: var(--blue); }
.bootcamp-included__price { margin-bottom: 2rem; font-family: var(--serif); font-size: 4rem; line-height: 1; }
.bootcamp-included__price span { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em; }

/* Account, classroom and commerce */
.app-shell, .checkout-shell {
  width: min(1100px, calc(100% - 96px));
  min-height: 650px;
  margin: 0 auto;
  padding-block: 110px 130px;
}
.app-shell > h1, .checkout-shell h1 { max-width: 900px; }
.app-shell > h2 { margin: 5rem 0 1.5rem; font-family: var(--serif); font-size: 2.7rem; font-weight: 400; }
.module-list { margin-top: 4rem; border-top: 1px solid var(--line); }
.module { border-bottom: 1px solid var(--line); }
.module header {
  min-height: 130px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  padding: 1.8rem 0;
}
.module header > span { color: var(--blue); font-family: var(--serif); font-size: 1.15rem; }
.module h2 { margin: 0; font-family: var(--serif); font-size: 2.6rem; font-weight: 400; }
.module header p { margin: 0; color: var(--muted); font-size: .8rem; }
.module ol { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.module li a {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0 1.15rem 80px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.module li a:hover { color: var(--blue); }
.module li i { color: var(--blue); }
.module--locked { opacity: .55; }
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.account-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.account-card:hover { border-color: var(--blue); background: var(--surface-light); }
.account-card > span { color: var(--blue); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.account-card h3 { margin: 1rem 0; font-family: var(--serif); font-size: 2.6rem; font-weight: 400; }
.account-card p { margin: 0; color: var(--blue); }
.payment-list { margin-bottom: 3rem; border-top: 1px solid var(--line); }
.payment-list p {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.payment-list p > span { color: var(--muted); }
.checkout-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 0 4rem 0 0;
  border-right: 1px solid var(--line);
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(340px, 1fr);
  gap: 5rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}
.checkout-summary p { margin: 0; color: var(--muted); }
.checkout-summary p:first-child { color: var(--blue); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.checkout-summary strong { margin-top: auto; color: var(--ink); font-family: var(--serif); font-size: 4rem; font-weight: 400; line-height: 1; }
.checkout-summary strong span { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .12em; }
.checkout-purchase h2 { margin-bottom: 1rem; font-family: var(--serif); font-size: 2.8rem; font-weight: 400; }
.checkout-purchase > p { color: var(--muted); }
.checkout-form { display: grid; gap: 1.15rem; margin-top: 2rem; }
.checkout-form__field { display: grid; gap: .55rem; }
.checkout-form label,
.checkout-form__label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.checkout-form input {
  width: 100%;
  min-height: 54px;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface-light);
  color: var(--ink);
}
.checkout-form input:focus { border-color: var(--blue); outline: 1px solid var(--blue); }
.checkout-form .errorlist { margin: 0; padding: 0; color: var(--danger); font-size: .78rem; list-style: none; }
.checkout-form .button { width: 100%; justify-content: space-between; margin-top: .85rem; }
.checkout-form .button:disabled { cursor: wait; opacity: .58; }
.stripe-element-shell {
  min-height: 126px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--surface-light);
}
.stripe-element-loading { color: var(--muted); font-size: .86rem; }
.checkout-payment-message {
  margin: 0;
  padding: .9rem 1rem;
  border-left: 2px solid var(--danger);
  color: var(--danger);
  font-size: .84rem;
  line-height: 1.55;
}
.checkout-secure { margin: 1.2rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.checkout-secure i { margin-right: .35rem; color: var(--blue); }
.checkout-preview-note { margin: .65rem 0 0; color: var(--muted); font-size: .76rem; }
.checkout-login { margin: 1.5rem 0 0; color: var(--muted); font-size: .86rem; }
.checkout-login a { color: var(--blue); }

/* Authentication and empty states */
.auth-shell {
  width: min(620px, calc(100% - 48px));
  min-height: 760px;
  margin: 0 auto;
  padding-block: 110px 130px;
}
.auth-shell h1 { font-size: clamp(3.6rem, 7vw, 6rem); }
.auth-shell form { margin: 3rem 0; }
.auth-shell form > p a { color: var(--blue); }
.auth-shell form p { display: grid; gap: .55rem; margin-bottom: 1.25rem; }
.auth-shell label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.auth-shell input {
  width: 100%;
  min-height: 54px;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface-light);
  color: var(--ink);
}
.auth-shell input:focus { border-color: var(--blue); outline: 1px solid var(--blue); }
.auth-shell .helptext, .auth-shell ul { color: var(--muted); font-size: .78rem; }
.auth-shell .errorlist { color: var(--danger); }
.auth-shell > p { color: var(--muted); }
.auth-shell > p a { color: var(--blue); }
.empty-state {
  width: min(800px, calc(100% - 48px));
  min-height: 690px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding-block: 100px;
  text-align: center;
}
.empty-state > i { margin-bottom: 2rem; color: var(--blue); font-size: 3rem; }
.empty-state h1 { max-width: 760px; }
.empty-state p { max-width: 570px; margin-bottom: 2.5rem; color: var(--muted); }

/* Lessons and imported editorial pages */
.lesson-shell, .content-shell {
  width: min(850px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 130px;
}
.lesson-shell > .eyebrow { margin-top: 4.5rem; }
.lesson-shell > h1, .content-shell > h1 { font-size: clamp(3.2rem, 6vw, 5.8rem); }
.lesson-excerpt { max-width: 760px; margin: 0 0 3.5rem; color: var(--muted); font-size: 1.2rem; line-height: 1.65; }
.video { position: relative; margin: 3.5rem 0; padding-top: 56.25%; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-body { color: var(--ink); font-size: 1.05rem; line-height: 1.75; }
.lesson-body h2, .lesson-body h3 { margin-top: 3.5rem; font-family: var(--serif); font-weight: 400; }
.lesson-body h2 { font-size: 2.7rem; }
.lesson-body h3 { font-size: 2rem; }
.lesson-body a { color: var(--blue); }
.lesson-body img { width: auto; height: auto; margin: 2.5rem auto; }
.lesson-body hr { margin: 4rem 0; border: 0; border-top: 1px solid var(--line); }
.lesson-body blockquote { margin: 2.5rem 0; padding-left: 1.5rem; border-left: 2px solid var(--blue); color: var(--muted); }
.lesson-body pre {
  overflow-x: auto;
  margin: 2.5rem 0;
  padding: 1.5rem;
  border-left: 3px solid var(--lime);
  background: var(--ink);
  color: #f8f7f2;
}
.lesson-body code { font-family: var(--mono); font-size: .84em; }
.lesson-body .wp-block-buttons { margin: 2rem 0; }
.lesson-body .wp-block-button__link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: 0 1.5rem;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}
.lesson-body .wp-block-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.bootcamp-contacto { display: grid; gap: 1.4rem; margin-top: 3rem; }
.bootcamp-contacto__field { display: grid; gap: .55rem; }
.bootcamp-contacto label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bootcamp-contacto input,
.bootcamp-contacto textarea {
  width: 100%;
  min-height: 54px;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface-light);
  color: var(--ink);
}
.bootcamp-contacto textarea { min-height: 180px; resize: vertical; }
.bootcamp-contacto input:focus,
.bootcamp-contacto textarea:focus { border-color: var(--blue); outline: 1px solid var(--blue); }
.bootcamp-contacto__submit {
  width: fit-content;
  min-height: 54px;
  padding: 0 1.6rem;
  border: 1px solid var(--blue);
  border-radius: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.bootcamp-contacto__submit:hover { border-color: var(--ink); background: var(--ink); }
.bootcamp-contacto__feedback { color: var(--muted); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; grid-column: 2; }
  .main-nav, .header-actions { display: none; }
  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
  }
  .editorial-program { grid-template-columns: 55px 1fr 145px 28px; }
  .editorial-program p { display: none; }
  .editorial-program__status { grid-column: 3; }
  .editorial-program__arrow { grid-column: 4; }
  .editorial-manifesto { padding-inline: 56px; }
  .curriculum__grid { grid-template-columns: 1fr; }
  .detail-hero__layout { grid-template-columns: 1fr; gap: 0; }
  .detail-hero__action { width: min(420px, 100%); padding-bottom: 0; }
  .bootcamp-overview, .bootcamp-included { padding-inline: 56px; }
}

@media (max-width: 680px) {
  .section-shell, .site-footer, .site-header { width: calc(100% - 36px); }
  .site-header { min-height: 82px; }
  .wordmark { font-size: 1.5rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 2rem; }
  .site-footer__nav { flex-wrap: wrap; gap: 1rem 1.5rem; }
  .login-modal__panel, .waitlist-modal__panel { padding: 52px 24px 32px; }
  .login-modal h2, .waitlist-modal h2 { font-size: 3.35rem; }

  .editorial-hero { padding-top: 72px; }
  .editorial-label { margin-bottom: 1.8rem; font-size: .62rem; }
  .editorial-hero h1 { font-size: clamp(3.15rem, 15vw, 4.5rem); line-height: 1; }
  .editorial-hero__copy > p { font-size: 1rem; }
  .editorial-hero__copy > p br { display: none; }
  .editorial-programs { margin-top: 64px; }
  .editorial-program {
    min-height: 146px;
    grid-template-columns: 38px 1fr 26px;
    align-items: start;
    padding: 30px 0;
  }
  .editorial-program__number { grid-column: 1; grid-row: 1; font-size: 1rem; }
  .editorial-program h3 { grid-column: 2; grid-row: 1; font-size: 2.35rem; }
  .editorial-program p { grid-column: 2; grid-row: 2; display: block; margin-top: 1rem; font-size: .78rem; }
  .editorial-program__status { grid-column: 2; grid-row: 3; margin-top: 1.2rem; }
  .editorial-program__arrow { grid-column: 3; grid-row: 1; }
  .editorial-manifesto { grid-template-columns: 1fr; margin-top: 70px; padding: 72px 0; }
  .editorial-manifesto h2 { font-size: 3.4rem; }
  .editorial-manifesto__aside { margin-top: 3.5rem; padding: 3.5rem 0 0; border-top: 1px solid var(--line); border-left: 0; }

  .detail-hero { min-height: auto; padding-block: 90px; }
  .detail-hero h1,
  .app-shell > h1,
  .checkout-shell h1,
  .auth-shell h1,
  .empty-state h1,
  .content-shell > h1,
  .lesson-shell > h1 { font-size: 3.55rem; }
  .detail-hero__main > p { font-size: 1rem; }
  .detail-facts { width: 100%; flex-direction: column; }
  .detail-facts span { padding: .9rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-facts span:last-child { border-bottom: 0; }
  .curriculum { padding-block: 80px 100px; }
  .curriculum__intro { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3.5rem; }
  .curriculum__intro .eyebrow { grid-column: 1; margin-bottom: .5rem; }
  .curriculum__intro h2, .bootcamp-overview h2, .bootcamp-included h2 { font-size: 3.1rem; }
  .curriculum__grid { gap: 56px; }
  .curriculum-module > header { grid-template-columns: 44px 1fr; }
  .curriculum-module h3 { font-size: 2rem; }
  .bootcamp-overview, .bootcamp-included { grid-template-columns: 1fr; gap: 3.5rem; padding: 80px 0; }
  .bootcamp-overview__copy, .bootcamp-included > div:last-child { padding: 3.5rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .bootcamp-outcomes { grid-template-columns: 1fr; padding-block: 70px; }
  .bootcamp-outcomes article { padding: 2.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .bootcamp-outcomes article:first-child { padding-top: 0; }
  .bootcamp-outcomes article:last-child { padding-bottom: 0; border-bottom: 0; }

  .app-shell, .checkout-shell { width: calc(100% - 36px); padding-block: 80px 100px; }
  .module header { grid-template-columns: 48px 1fr; }
  .module header p { grid-column: 2; margin-top: .7rem; }
  .module h2 { font-size: 2.15rem; }
  .module li a { padding-left: 48px; }
  .account-grid { grid-template-columns: 1fr; }
  .payment-list p { grid-template-columns: 1fr; gap: .25rem; }
  .checkout-layout { grid-template-columns: 1fr; gap: 3.5rem; }
  .checkout-summary { min-height: 230px; padding: 0 0 3.5rem; border-right: 0; border-bottom: 1px solid var(--line); }

  .auth-shell { min-height: 650px; padding-block: 80px 100px; }
  .empty-state { min-height: 600px; }
  .lesson-shell, .content-shell { width: calc(100% - 36px); padding-block: 64px 100px; }
  .lesson-body .wp-block-columns { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
