:root {
  --academy-cobalt: #0737d3;
  --academy-cobalt-deep: #05258f;
  --academy-cobalt-night: #071d68;
  --academy-limestone: #f2f0e8;
  --academy-paper: #faf9f4;
  --academy-ink: #10183a;
  --academy-ink-soft: #4d5572;
  --academy-bronze: #a97a3f;
  --academy-line: rgba(7, 55, 211, 0.17);
  --academy-line-light: rgba(242, 240, 232, 0.28);
  --academy-serif: Georgia, "Times New Roman", Times, serif;
  --academy-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --academy-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --academy-max: 1450px;
  --academy-gutter: clamp(22px, 4.75vw, 76px);
  --academy-shadow: 14px 14px 0 rgba(5, 37, 143, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--academy-limestone);
  color: var(--academy-ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--academy-limestone);
  color: var(--academy-ink);
  font-family: var(--academy-sans);
  -webkit-font-smoothing: antialiased;
}

body:not(.is-admin-view) main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body:not(.is-admin-view) a,
body:not(.is-admin-view) button,
body:not(.is-admin-view) input,
body:not(.is-admin-view) select,
body:not(.is-admin-view) textarea {
  font: inherit;
}

body:not(.is-admin-view) button,
body:not(.is-admin-view) .button {
  min-height: 52px;
  border: 1px solid var(--academy-cobalt);
  border-radius: 0;
  background: var(--academy-cobalt);
  color: #fff;
  font-family: var(--academy-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body:not(.is-admin-view) button:hover,
body:not(.is-admin-view) .button:hover {
  box-shadow: 5px 5px 0 var(--academy-cobalt-deep);
  transform: translate(-2px, -2px);
}

body:not(.is-admin-view) button.secondary,
body:not(.is-admin-view) .button.secondary {
  border-color: currentColor;
  background: transparent;
  color: var(--academy-cobalt);
}

body:not(.is-admin-view) button:focus-visible,
body:not(.is-admin-view) .button:focus-visible,
body:not(.is-admin-view) a:focus-visible,
body:not(.is-admin-view) input:focus-visible,
body:not(.is-admin-view) select:focus-visible,
body:not(.is-admin-view) textarea:focus-visible {
  outline: 3px solid var(--academy-bronze);
  outline-offset: 3px;
}

body:not(.is-admin-view) input,
body:not(.is-admin-view) select,
body:not(.is-admin-view) textarea {
  min-height: 50px;
  border: 1px solid rgba(16, 24, 58, 0.28);
  border-radius: 0;
  background: #fff;
  color: var(--academy-ink);
  padding: 13px 15px;
}

body:not(.is-admin-view) textarea {
  min-height: 104px;
  resize: vertical;
}

body:not(.is-admin-view) label {
  color: var(--academy-ink);
  font-family: var(--academy-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.topbar {
  position: relative;
  z-index: 50;
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 96px;
  margin: 0;
  padding: 0 var(--academy-gutter);
  border: 0;
  border-bottom: 1px solid rgba(242, 240, 232, 0.25);
  background: var(--academy-cobalt);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(184px, 19vw, 240px);
  height: auto;
}

.topbar .nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
}

.mobile-store-nav {
  display: none;
}

.topbar .nav button,
.topbar .nav .nav-flagship {
  position: relative;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-family: var(--academy-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.topbar .nav button::after,
.topbar .nav .nav-flagship::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--academy-bronze);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.topbar .nav button:hover,
.topbar .nav button.active,
.topbar .nav .nav-flagship:hover,
.topbar .nav .nav-flagship:focus-visible {
  box-shadow: none;
  color: #fff;
  transform: none;
}

.topbar .nav button:hover::after,
.topbar .nav button.active::after,
.topbar .nav .nav-flagship:hover::after,
.topbar .nav .nav-flagship:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.topbar .nav .nav-login {
  min-width: 112px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.topbar .nav .nav-student-area {
  color: #fff;
}

.nav-profile-menu {
  position: relative;
}

.nav-profile-menu > summary {
  list-style: none;
}

.nav-profile-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-profile-trigger {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 3px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 50%;
  cursor: pointer;
}

.nav-profile-trigger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.nav-profile-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 14px);
  right: 0;
  display: grid;
  width: 290px;
  padding: 8px;
  border: 1px solid rgba(218, 184, 108, .42);
  border-top: 3px solid var(--academy-bronze);
  background: linear-gradient(145deg, #061a3a, #0737d3 160%);
  box-shadow: 0 22px 52px rgba(3, 19, 38, .34);
}

.nav-profile-panel::before {
  position: absolute;
  top: -7px;
  right: 15px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(218, 184, 108, .42);
  border-left: 1px solid rgba(218, 184, 108, .42);
  background: #061a3a;
  content: "";
  transform: rotate(45deg);
}

.nav-profile-heading {
  display: grid;
  gap: 4px;
  padding: 14px 14px 16px;
  overflow: hidden;
  border-bottom: 1px solid rgba(218, 184, 108, .3);
}

.nav-profile-heading small {
  color: var(--academy-bronze);
  font-family: var(--academy-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .22em;
}

.nav-profile-heading strong {
  overflow: hidden;
  color: #fff;
  font-family: var(--academy-serif);
  font-size: 21px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar .nav .nav-profile-panel button {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  color: rgba(255, 255, 255, .84);
  font-family: var(--academy-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: left;
  text-transform: none;
}

.nav-profile-panel button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--academy-bronze);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.topbar .nav .nav-profile-panel button:hover,
.topbar .nav .nav-profile-panel button:focus-visible {
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

.topbar .nav .nav-profile-panel .nav-profile-logout {
  margin-top: 6px;
  border-top: 1px solid rgba(218, 184, 108, .22);
  color: var(--academy-bronze);
}

.topbar .nav .nav-login::after {
  display: none;
}

.topbar .nav .nav-login:hover,
.topbar .nav .nav-login.active {
  background: var(--academy-limestone);
  color: var(--academy-cobalt);
}

.topbar .nav .nav-login.is-authenticated {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 3px;
  overflow: hidden;
  border-radius: 50%;
}

.nav-profile-avatar,
.nav-profile-initials {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
}

.nav-profile-initials {
  background: var(--academy-limestone);
  color: var(--academy-cobalt);
  font-family: var(--academy-font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(420px, 0.72fr);
  width: 100%;
  min-height: 700px;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--academy-cobalt);
  color: #fff;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 60px var(--academy-gutter) 66px;
}

.hero .eyebrow,
.academy-catalog-heading .eyebrow,
.academy-sales-copy .eyebrow,
.public-product-shell .eyebrow,
.academy-auth-copy .eyebrow,
.certificate-page-grid .eyebrow,
.thankyou-shell .eyebrow {
  margin: 0 0 28px;
  color: inherit;
  font-family: var(--academy-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero .eyebrow::before {
  width: 52px;
  height: 1px;
  background: var(--academy-bronze);
  content: "";
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-size: clamp(68px, 7vw, 120px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.hero p.hero-intro {
  max-width: 720px;
  margin: 40px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--academy-serif);
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.hero-actions button {
  min-width: 248px;
  min-height: 68px;
  padding: 0 28px;
  border-color: var(--academy-limestone);
  background: var(--academy-limestone);
  color: var(--academy-cobalt-deep);
}

.hero-actions button:hover {
  box-shadow: 6px 6px 0 var(--academy-cobalt-deep);
}

.hero-actions button.secondary {
  border-color: var(--academy-limestone);
  color: var(--academy-limestone);
}

.hero-actions button.secondary:hover {
  background: var(--academy-limestone);
  color: var(--academy-cobalt-deep);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: 54px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--academy-line-light);
}

.hero-proof div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-right: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-proof dt,
.hero-proof dd {
  margin: 0;
  color: inherit;
  font-family: var(--academy-mono);
}

.hero-proof dt {
  color: var(--academy-bronze);
  font-size: 11px;
}

.hero-proof dd {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.plato-geometry {
  position: relative;
  min-width: 0;
  min-height: 700px;
  align-self: stretch;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.geometry-circle,
.geometry-square,
.geometry-axis,
.geometry-column,
.geometry-caption {
  position: absolute;
  display: block;
}

body:not(.is-admin-view) .hero-actions button,
body:not(.is-admin-view) .academy-home-actions button,
body:not(.is-admin-view) .public-product-actions button,
body:not(.is-admin-view) .public-buy-box > button {
  border-color: var(--academy-limestone);
  background: var(--academy-limestone);
  color: var(--academy-cobalt-deep);
}

body:not(.is-admin-view) .hero-actions button.secondary,
body:not(.is-admin-view) .academy-home-actions button.secondary,
body:not(.is-admin-view) .public-product-actions button.secondary {
  border-color: var(--academy-limestone);
  background: transparent;
  color: var(--academy-limestone);
}

.geometry-circle {
  top: 52px;
  left: 50%;
  width: min(470px, 86%);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 240, 232, 0.55);
  border-radius: 50%;
  transform: translateX(-50%);
}

.geometry-circle::before,
.geometry-circle::after {
  position: absolute;
  border: 1px solid rgba(169, 122, 63, 0.8);
  content: "";
}

.geometry-circle::before {
  inset: 17%;
  transform: rotate(45deg);
}

.geometry-circle::after {
  top: 50%;
  right: -18%;
  left: -18%;
  height: 1px;
  border-width: 1px 0 0;
}

.geometry-square {
  top: 151px;
  left: 50%;
  width: min(330px, 62%);
  aspect-ratio: 1;
  border: 2px solid rgba(242, 240, 232, 0.84);
  transform: translateX(-50%) rotate(45deg);
}

.geometry-axis-x {
  top: 286px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--academy-bronze);
}

.geometry-axis-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(169, 122, 63, 0.72);
}

.geometry-column {
  bottom: 72px;
  width: 94px;
  border: 1px solid rgba(242, 240, 232, 0.58);
  border-top: 18px solid rgba(242, 240, 232, 0.16);
  border-bottom: 18px solid rgba(242, 240, 232, 0.16);
  background: repeating-linear-gradient(90deg, transparent 0 13px, rgba(242, 240, 232, 0.1) 14px 22px);
}

.geometry-column::before,
.geometry-column::after {
  position: absolute;
  right: -12px;
  left: -12px;
  height: 12px;
  border: 1px solid rgba(242, 240, 232, 0.7);
  content: "";
}

.geometry-column::before {
  top: -28px;
}

.geometry-column::after {
  bottom: -28px;
}

.geometry-column-one {
  left: 10%;
  height: 205px;
}

.geometry-column-two {
  left: 40%;
  height: 260px;
}

.geometry-column-three {
  right: 9%;
  height: 220px;
}

.geometry-caption {
  right: 26px;
  bottom: 22px;
  color: rgba(242, 240, 232, 0.55);
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
}

.academy-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3.2vw, 54px);
  min-height: 74px;
  padding: 18px var(--academy-gutter);
  overflow: hidden;
  border-bottom: 1px solid var(--academy-line);
  background: var(--academy-limestone);
  color: var(--academy-cobalt-deep);
  font-family: var(--academy-mono);
  font-size: clamp(10px, 1.05vw, 14px);
  font-weight: 700;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.academy-ribbon i {
  color: var(--academy-bronze);
  font-style: normal;
}

#academy-catalog.panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(76px, 8vw, 128px) var(--academy-gutter) 0;
  border: 0;
  border-radius: 0;
  background: var(--academy-limestone);
}

.academy-catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  width: min(var(--academy-max), 100%);
  margin: 0 auto;
  padding: 0 0 48px;
  border-bottom: 1px solid var(--academy-line);
}

.academy-catalog-heading .eyebrow {
  margin-bottom: 22px;
  color: var(--academy-cobalt);
}

.academy-catalog-heading h2,
.academy-sales-copy h2 {
  margin: 0;
  color: var(--academy-ink);
  font-family: var(--academy-serif);
  font-size: clamp(52px, 5.6vw, 86px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.academy-catalog-heading h2 em {
  color: var(--academy-cobalt);
  font-weight: 400;
}

.academy-catalog-heading > div > p:last-child {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--academy-ink-soft);
  font-family: var(--academy-serif);
  font-size: 21px;
  line-height: 1.6;
}

.academy-catalog-heading > button {
  margin-bottom: 6px;
}

.academy-manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(var(--academy-max), 100%);
  margin: 0 auto;
  border-bottom: 1px solid var(--academy-line);
}

.academy-manifesto-grid article {
  position: relative;
  min-height: 205px;
  padding: 34px clamp(24px, 3vw, 48px) 36px;
}

.academy-manifesto-grid article + article {
  border-left: 1px solid var(--academy-line);
}

.academy-manifesto-grid span,
.academy-manifesto-grid h3 {
  font-family: var(--academy-mono);
}

.academy-manifesto-grid span {
  color: var(--academy-bronze);
  font-size: 10px;
}

.academy-manifesto-grid h3 {
  margin: 30px 0 14px;
  font-size: 13px;
  letter-spacing: 0.13em;
}

.academy-manifesto-grid p {
  max-width: 320px;
  margin: 0;
  color: var(--academy-ink-soft);
  font-family: var(--academy-serif);
  font-size: 17px;
  line-height: 1.5;
}

.academy-home-layout {
  display: grid;
  gap: 72px;
  width: min(var(--academy-max), 100%);
  margin: 84px auto 0;
}

.academy-product-carousel {
  display: grid;
  gap: 18px;
}

.academy-product-carousel-stage {
  height: 620px;
  min-width: 0;
}

.academy-home-feature[hidden] {
  display: none;
}

.academy-product-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

body:not(.is-admin-view) .academy-product-carousel-controls > button {
  display: inline-flex;
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--academy-cobalt);
  background: var(--academy-cobalt);
  box-shadow: none;
  color: #fff;
}

body:not(.is-admin-view) .academy-product-carousel-controls > button:hover,
body:not(.is-admin-view) .academy-product-carousel-controls > button:focus-visible {
  background: var(--academy-cobalt-deep);
  box-shadow: none;
  color: #fff;
  transform: none;
}

.academy-product-carousel-controls svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.academy-product-carousel-indicators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

body:not(.is-admin-view) .academy-product-carousel-indicators button {
  position: relative;
  width: 26px;
  min-width: 0;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.is-admin-view) .academy-product-carousel-indicators button:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.academy-product-carousel-indicators button::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--academy-line);
  content: "";
  transform: translateY(-50%);
}

.academy-product-carousel-indicators button[aria-current="true"]::before {
  background: var(--academy-cobalt);
}

.academy-product-carousel-status {
  min-width: 54px;
  color: var(--academy-cobalt-deep);
  font-family: var(--academy-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

.academy-home-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.35fr) minmax(180px, 0.42fr);
  height: 100%;
  min-height: 0;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--academy-cobalt);
  border-radius: 0;
  background: var(--academy-cobalt);
  box-shadow: var(--academy-shadow);
  color: #fff;
}

.academy-home-cover,
.academy-rail-cover,
.public-product-cover,
.student-card-poster {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 64px 100%,
    var(--academy-cobalt-deep);
  background-position: center;
  background-size: cover;
}

.academy-home-cover {
  min-height: 100%;
  padding: 0;
  border-radius: 0;
}

.academy-home-feature .academy-home-cover[style],
.academy-rail-card .academy-rail-cover[style],
.public-product-cover[style] {
  min-width: 0;
  width: 100%;
  background-color: var(--academy-cobalt-deep);
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: 100% 100%, contain;
}

.academy-home-cover::after,
.academy-rail-cover::after,
.public-product-cover::after,
.student-card-poster::after {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 240, 232, 0.65);
  content: "";
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.academy-home-cover > span,
.academy-rail-cover > span,
.public-product-cover > span,
.student-card-poster > span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--academy-limestone);
  font-family: var(--academy-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.academy-home-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px clamp(34px, 4vw, 70px);
}

.academy-home-copy .eyebrow {
  color: var(--academy-bronze);
}

.academy-home-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-width: 760px;
  margin: 0;
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-size: clamp(46px, 4vw, 72px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.academy-home-copy > p:not(.eyebrow) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-width: 680px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--academy-serif);
  font-size: 19px;
  line-height: 1.58;
}

.academy-home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--academy-line-light);
}

.academy-home-stats div {
  display: grid;
  gap: 5px;
}

.academy-home-stats dt {
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-family: var(--academy-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.academy-home-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--academy-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.academy-home-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.academy-home-actions button {
  border-color: var(--academy-limestone);
  background: var(--academy-limestone);
  color: var(--academy-cobalt-deep);
}

.academy-home-actions button.secondary {
  color: var(--academy-limestone);
}

.academy-home-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-left: 1px solid var(--academy-line-light);
  background: rgba(5, 37, 143, 0.34);
}

.academy-home-price span {
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.academy-home-price strong {
  font-family: var(--academy-serif);
  font-size: 30px;
  font-weight: 400;
  writing-mode: vertical-rl;
}

.academy-home-rail {
  display: grid;
  gap: 30px;
  padding: 38px 0 4px;
  border: 0;
  border-top: 1px solid var(--academy-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.academy-rail-head,
.student-rail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 0;
  border-bottom: 0;
}

.academy-rail-kicker {
  display: block;
  margin-bottom: 11px;
  color: var(--academy-cobalt);
  font-family: var(--academy-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.academy-rail-head h3,
.student-rail-head h3 {
  margin: 0;
  font-family: var(--academy-serif);
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.academy-rail-head p {
  max-width: 620px;
  margin: 9px 0 0;
  color: var(--academy-ink-soft);
  font-family: var(--academy-serif);
  font-size: 17px;
  line-height: 1.45;
}

.academy-rail-head small,
.student-rail-head small {
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.academy-rail-track,
.student-rail-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  grid-auto-flow: row;
  grid-auto-columns: auto;
  overflow: visible;
  padding: 0;
}

.academy-rail-track[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.academy-rail-track[data-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.academy-rail-track[data-count="1"] {
  grid-template-columns: 1fr;
}

.academy-rail-card {
  display: grid;
  grid-template-rows: minmax(248px, auto) 1fr;
  min-width: 0;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--academy-line);
  border-radius: 0;
  background: var(--academy-paper);
  box-shadow: 0 14px 32px rgba(8, 26, 70, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.academy-rail-card:hover {
  border-color: rgba(7, 55, 211, 0.45);
  box-shadow: 10px 10px 0 rgba(7, 55, 211, 0.12);
  transform: translate(-2px, -2px);
}

.academy-rail-cover {
  min-height: 248px;
  background-position: center;
  background-size: cover;
}

.academy-rail-card[data-product-type="course"] .academy-rail-cover {
  background-image: linear-gradient(180deg, rgba(7, 55, 211, 0.02), rgba(7, 22, 61, 0.12)), url("/brand/greek/thinkers-plato-socrates-aristotle.png");
}

.academy-rail-card[data-product-type="ebook"] .academy-rail-cover {
  background-image: linear-gradient(180deg, rgba(7, 55, 211, 0.02), rgba(7, 22, 61, 0.12)), url("/brand/greek/ancient-greece-elements.png");
}

.academy-rail-card[data-product-type="subscription"] .academy-rail-cover,
.academy-rail-card[data-product-type="bundle"] .academy-rail-cover,
.academy-rail-card[data-product-type="free"] .academy-rail-cover {
  background-image: linear-gradient(180deg, rgba(7, 55, 211, 0.02), rgba(7, 22, 61, 0.12)), url("/brand/greek/pantheon-athena-apollo-zeus.png");
}

.academy-rail-cover::after {
  width: 38%;
  border-color: rgba(7, 55, 211, 0.3);
}

.academy-rail-cover > span {
  padding: 7px 9px;
  background: var(--academy-cobalt);
  color: #fff;
}

.academy-rail-cover > b {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  color: rgba(7, 55, 211, 0.82);
  font-family: var(--academy-serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.academy-rail-card-body {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  align-items: stretch;
  padding: 26px 26px 24px;
}

.academy-rail-card-body > small {
  margin-bottom: 11px;
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.academy-rail-card strong {
  color: var(--academy-ink);
  font-family: var(--academy-serif);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.08;
}

.academy-rail-card-body > p {
  display: -webkit-box;
  margin: 14px 0 24px;
  overflow: hidden;
  color: var(--academy-ink-soft);
  font-family: var(--academy-serif);
  font-size: 16px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.academy-rail-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--academy-line);
}

.academy-rail-card-footer > span {
  color: var(--academy-ink);
  font-family: var(--academy-serif);
  font-size: 21px;
}

body:not(.is-admin-view) .academy-rail-card-footer > button {
  display: inline-flex;
  width: auto;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0 17px;
  border-color: var(--academy-cobalt);
  background: var(--academy-cobalt);
  color: #fff;
}

.academy-rail-card-footer button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.academy-rail-track[data-count="1"] .academy-rail-card {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  grid-template-rows: minmax(300px, auto);
}

.academy-rail-track[data-count="1"] .academy-rail-cover {
  min-height: 300px;
}

.academy-rail-track[data-count="1"] .academy-rail-card-body {
  min-height: 300px;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
}

.academy-home-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 44px;
  padding: clamp(42px, 5vw, 72px);
  border: 1px solid var(--academy-cobalt);
  border-radius: 0;
  background: var(--academy-limestone);
  color: var(--academy-ink);
}

.academy-home-cta .eyebrow {
  color: var(--academy-cobalt);
}

.academy-home-cta h3 {
  margin: 0;
  font-family: var(--academy-serif);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.academy-home-cta p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--academy-ink-soft);
  font-family: var(--academy-serif);
  font-size: 18px;
  line-height: 1.55;
}

.product-grid:empty {
  display: none;
}

.product-grid > .state {
  grid-column: 1 / -1;
}

.academy-sales-assist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  gap: clamp(48px, 8vw, 120px);
  width: calc(100% + (var(--academy-gutter) * 2));
  margin: 112px calc(var(--academy-gutter) * -1) 0;
  padding: clamp(76px, 9vw, 132px) var(--academy-gutter);
  background: var(--academy-cobalt-deep);
  color: #fff;
}

.academy-sales-copy {
  align-self: center;
  max-width: 820px;
  justify-self: end;
}

.academy-sales-copy .eyebrow {
  color: var(--academy-bronze);
}

.academy-sales-copy h2 {
  color: var(--academy-limestone);
}

.academy-sales-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--academy-serif);
  font-size: 21px;
  line-height: 1.6;
}

.sales-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--academy-line-light);
}

.sales-guarantees span {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sales-guarantees span::before {
  margin-right: 8px;
  color: var(--academy-bronze);
  content: "✓";
}

.quick-checkout,
.checkout-page-form,
.order-summary-card,
.certificate-card {
  border: 1px solid rgba(7, 55, 211, 0.2);
  border-radius: 0;
  background: var(--academy-paper);
  box-shadow: var(--academy-shadow);
  color: var(--academy-ink);
}

.quick-checkout {
  display: grid;
  width: min(100%, 520px);
  margin: 0;
  padding: clamp(28px, 3.5vw, 46px);
  justify-self: start;
}

.checkout-card-head,
.order-summary-head {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--academy-line);
}

.checkout-card-head > span,
.order-summary-head > span {
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.checkout-card-head > span {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  justify-self: start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  line-height: 1;
}

.checkout-card-head strong,
.order-summary-head strong {
  font-family: var(--academy-serif);
  font-size: 30px;
  font-weight: 400;
}

.checkout-card-head small,
.order-summary-head small {
  color: var(--academy-ink-soft);
}

.quick-checkout label,
.checkout-page-form label,
.certificate-card label,
.academy-auth-card label {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
}

.quick-checkout label > small {
  display: inline;
  color: var(--academy-ink-soft);
  font-size: 9px;
}

.quick-checkout .check,
.checkout-page-form .check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  color: var(--academy-ink-soft);
  font-family: var(--academy-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.quick-checkout .check input,
.checkout-page-form .check input {
  width: 17px;
  min-height: 17px;
  margin-top: 1px;
  padding: 0;
}

.academy-page,
#academy-student.panel {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 96px);
  margin: 0;
  padding: clamp(54px, 7vw, 104px) var(--academy-gutter);
  border: 0;
  border-radius: 0;
  background: var(--academy-limestone);
}

.page-head,
.checkout-page-grid,
.certificate-page-grid,
.thankyou-shell,
.public-product-shell,
#academy-student > :not(.academy-auth-panel) {
  width: min(var(--academy-max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.page-head {
  display: flex;
  align-items: end;
  gap: 30px;
  margin-bottom: 42px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--academy-line);
}

.page-head .eyebrow {
  margin: 0 0 8px;
  color: var(--academy-cobalt);
}

.page-head h2 {
  margin: 0;
  font-family: var(--academy-serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.checkout-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.58fr);
  align-items: start;
  gap: clamp(34px, 6vw, 86px);
}

.checkout-page-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  padding: clamp(28px, 4vw, 54px);
}

.checkout-page-form.is-authenticated {
  grid-template-columns: 1fr;
}

.checkout-page-form.is-authenticated .checkout-account-note {
  margin-bottom: 8px;
}

.checkout-page-form.is-authenticated .checkout-auth-gate {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 18px;
  border-color: rgba(8, 123, 91, .22);
  background: linear-gradient(135deg, rgba(8, 123, 91, .07), rgba(8, 123, 91, .025));
}

.checkout-validated-account {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.checkout-validated-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--checkout-accent);
  color: #fff;
  font-family: var(--academy-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.checkout-validated-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.checkout-validated-copy small {
  color: #087b5b;
  font-family: var(--academy-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.checkout-validated-copy strong,
.checkout-validated-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-validated-copy strong {
  color: var(--academy-ink);
  font-size: 15px;
}

.checkout-validated-copy span {
  color: var(--academy-muted);
  font-size: 12px;
}

.checkout-validated-state {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff4de;
  color: #8a5a0b;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-validated-state.is-complete {
  background: rgba(8, 123, 91, .1);
  color: #086747;
}

.checkout-page-form.is-authenticated .checkout-auth-gate .auth-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.checkout-page-form.is-authenticated #checkout-switch-account {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  min-height: 38px;
  padding: 0 12px;
  border-color: transparent;
  background: transparent;
  color: #086747;
  font-size: 10px;
  white-space: nowrap;
}

.checkout-buyer-data {
  display: grid;
  grid-column: 1 / -1;
  gap: 14px;
  margin-bottom: 8px;
  padding: 18px;
  border: 1px solid rgba(177, 127, 44, .28);
  background: rgba(177, 127, 44, .055);
}

.checkout-buyer-data-heading {
  display: grid;
  gap: 3px;
}

.checkout-buyer-data-heading strong {
  color: var(--academy-ink);
  font-size: 15px;
}

.checkout-buyer-data-heading span {
  color: var(--academy-muted);
  font-size: 12px;
}

.checkout-buyer-data-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.checkout-page-form.is-authenticated .checkout-payment-gate {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}

.checkout-page-form.is-authenticated .checkout-payment-gate > legend,
.checkout-page-form.is-authenticated .checkout-payment-gate > .checkout-coupon-field,
.checkout-page-form.is-authenticated .checkout-payment-gate > .payment-method-box,
.checkout-page-form.is-authenticated .checkout-payment-gate > [data-checkout-field="cardData"],
.checkout-page-form.is-authenticated .checkout-payment-gate > .checkout-terms,
.checkout-page-form.is-authenticated .checkout-payment-gate > .form-status,
.checkout-page-form.is-authenticated .checkout-payment-gate > button {
  grid-column: 1 / -1;
}

.checkout-page-form > .payment-method-box,
.checkout-page-form > [data-checkout-field="cardData"],
.checkout-page-form > .checkout-terms,
.checkout-page-form > .form-status,
.checkout-page-form > button {
  grid-column: 1 / -1;
}

#academy-checkout-page {
  --checkout-accent: #087b5b;
}

#academy-checkout-page .checkout-page-form > button,
#academy-checkout-page .order-summary-card button {
  background: var(--checkout-accent);
  border-color: var(--checkout-accent);
}

.checkout-trust-copy {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid var(--line, #dfe3ea);
  color: var(--ink-soft, #53606f);
}

.checkout-trust-copy strong {
  color: var(--ink, #17202a);
}

.landing-pages-list {
  display: grid;
  gap: 14px;
}

.landing-page-row,
.checkout-customization {
  border: 1px solid var(--line, #dfe3ea);
  border-radius: 12px;
  background: #fff;
}

.landing-page-row > summary,
.checkout-customization > summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  cursor: pointer;
}

.landing-page-fields,
.checkout-customization-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border-top: 1px solid var(--line, #dfe3ea);
}

.landing-page-fields .wide,
.checkout-customization-grid .wide,
.checkout-customization {
  grid-column: 1 / -1;
}

.landing-section-toggles,
.landing-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-section-toggles {
  justify-content: flex-start;
}

@media (max-width: 720px) {
  .landing-page-fields,
  .checkout-customization-grid {
    grid-template-columns: 1fr;
  }
}

.payment-method-box {
  display: grid;
  gap: 13px;
  margin: 8px 0 22px;
  padding: 22px;
  border: 1px solid var(--academy-line);
  background: rgba(7, 55, 211, 0.035);
}

.payment-method-box > span {
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.checkout-method-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkout-method-option {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 10px 13px;
  border: 1px solid var(--academy-line);
  background: #fff;
}

.checkout-method-option input {
  width: 16px;
  min-height: 16px;
  padding: 0;
}

.order-summary-card {
  position: sticky;
  top: 28px;
  padding: clamp(28px, 3.5vw, 46px);
}

.order-summary-line,
.order-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--academy-line);
  color: var(--academy-ink-soft);
}

.order-summary-line strong,
.order-summary-total strong {
  color: var(--academy-ink);
  text-align: right;
}

.order-summary-total {
  margin-top: 12px;
  color: var(--academy-ink);
  font-family: var(--academy-serif);
  font-size: 20px;
}

.order-summary-note {
  margin-top: 20px;
  color: var(--academy-ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.public-product-shell {
  display: grid;
  gap: 64px;
}

.public-product-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.2fr) minmax(250px, 0.5fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--academy-cobalt);
  background: var(--academy-cobalt);
  box-shadow: var(--academy-shadow);
  color: #fff;
}

.public-product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4vw, 62px);
}

.public-product-copy .pill {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #fff;
}

.public-product-copy h1 {
  margin: 25px 0 0;
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.public-product-copy > p {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--academy-serif);
  font-size: 19px;
  line-height: 1.55;
}

.public-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.public-product-actions button {
  border-color: var(--academy-limestone);
  background: var(--academy-limestone);
  color: var(--academy-cobalt-deep);
}

.public-product-actions button.secondary {
  color: var(--academy-limestone);
}

.public-buy-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  padding: 34px;
  border-left: 1px solid var(--academy-line-light);
  background: var(--academy-cobalt-deep);
}

.public-buy-box > strong {
  font-family: var(--academy-serif);
  font-size: 42px;
  font-weight: 400;
}

.public-buy-box > button {
  margin-top: 14px;
  border-color: var(--academy-limestone);
  background: var(--academy-limestone);
  color: var(--academy-cobalt-deep);
}

.public-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.public-section {
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--academy-line);
  border-radius: 0;
  background: var(--academy-paper);
}

.public-section h2 {
  margin: 0 0 28px;
  font-family: var(--academy-serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.public-feature-list > div,
.public-lesson-row {
  border-color: var(--academy-line);
}

.certificate-page-grid,
.thankyou-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.6fr);
  align-items: center;
  gap: clamp(44px, 8vw, 120px);
  min-height: 620px;
}

.certificate-page-grid h2,
.thankyou-shell h1 {
  margin: 0;
  font-family: var(--academy-serif);
  font-size: clamp(54px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.page-copy,
.thankyou-shell > div > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--academy-ink-soft);
  font-family: var(--academy-serif);
  font-size: 21px;
  line-height: 1.6;
}

.certificate-card {
  padding: clamp(30px, 4vw, 52px);
}

.academy-auth-panel.academy-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.72fr);
  width: min(var(--academy-max), 100%);
  max-width: var(--academy-max);
  min-height: 680px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--academy-cobalt);
  border-radius: 0;
  background: var(--academy-cobalt);
  box-shadow: var(--academy-shadow);
}

.academy-auth-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 6vw, 88px);
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 100% 110px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 110px 100%,
    var(--academy-cobalt);
  color: #fff;
}

.academy-auth-copy::after {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 450px;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 240, 232, 0.42);
  content: "";
  transform: rotate(45deg);
}

.academy-auth-brand {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--academy-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.academy-auth-logo {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.academy-auth-copy .eyebrow {
  position: relative;
  z-index: 2;
  margin: 54px 0 18px;
  color: var(--academy-bronze);
}

.academy-auth-copy h3 {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0;
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-size: clamp(46px, 4.2vw, 66px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.academy-auth-copy > p:not(.eyebrow) {
  position: relative;
  z-index: 2;
  max-width: 630px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--academy-serif);
  font-size: 20px;
  line-height: 1.6;
}

.academy-auth-benefits {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 15px;
  margin: 38px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--academy-line-light);
  list-style: none;
}

.academy-auth-benefits li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.academy-auth-benefits li::before {
  color: var(--academy-bronze);
  content: "◇" / "";
}

.academy-auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 70px);
  border: 0;
  border-radius: 0;
  background: var(--academy-paper);
  box-shadow: none;
}

.academy-login-destination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 30px;
  padding: 4px;
  border: 1px solid var(--academy-line);
  background: rgba(7, 55, 211, 0.04);
}

.academy-login-destination button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--academy-ink-soft);
  font-size: 10px;
}

.academy-login-destination button.active,
.academy-login-destination button:hover {
  background: var(--academy-cobalt);
  box-shadow: none;
  color: #fff;
  transform: none;
}

.academy-auth-card-head h1 {
  margin: 0;
  font-family: var(--academy-serif);
  font-size: 39px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.academy-auth-card-head p,
.auth-panel-copy,
.auth-footnote {
  color: var(--academy-ink-soft);
}

.google-login-button.academy-google-login {
  width: 100%;
  min-height: 44px;
  margin-top: 28px;
  border: 0;
  background: transparent;
  color: var(--academy-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-divider {
  border-color: var(--academy-line);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 26px;
  border-bottom: 1px solid var(--academy-line);
}

.auth-tabs .auth-tab {
  min-width: 0;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  box-shadow: none;
  color: var(--academy-ink-soft);
  font-size: 9px;
}

.auth-tabs .auth-tab.active,
.auth-tabs .auth-tab:hover {
  border-bottom-color: var(--academy-cobalt);
  box-shadow: none;
  color: var(--academy-cobalt);
  transform: none;
}

.password-input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
}

.password-input-wrap input {
  min-width: 0;
}

.password-input-wrap .password-toggle {
  min-height: 50px;
  padding: 0 13px;
  border-left: 0;
}

.academy-auth-card .auth-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--academy-ink-soft);
  font-family: var(--academy-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.academy-auth-card .auth-remember input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--academy-cobalt);
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.student-stream-shell {
  display: grid;
  gap: 36px;
  padding: 20px;
  border: 1px solid rgba(7, 55, 211, 0.35);
  border-radius: 0;
  background: var(--academy-cobalt-night);
}

.student-stream-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--academy-cobalt);
  border-radius: 0;
  background: var(--academy-cobalt-deep);
  box-shadow: var(--academy-shadow);
  color: #fff;
}

.student-hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 37, 143, 0.98) 0%, rgba(5, 37, 143, 0.8) 58%, rgba(5, 37, 143, 0.18) 100%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 88px 100%;
  background-position: center;
  background-size: cover;
}

.student-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(780px, 70%);
  min-height: 500px;
  padding: clamp(40px, 6vw, 84px);
}

.student-hero-copy > span {
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.student-hero-copy h3 {
  margin: 18px 0 0;
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.student-hero-copy > p {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--academy-serif);
  font-size: 18px;
  line-height: 1.55;
}

.student-stream-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.student-stream-main,
.student-rails {
  display: grid;
  gap: 42px;
}

.student-rail-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.student-content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--academy-line);
  border-radius: 0;
  background: var(--academy-paper);
}

.student-card-poster {
  min-height: 180px;
}

.student-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.student-card-body > strong {
  color: var(--academy-ink);
  font-family: var(--academy-serif);
  font-size: 23px;
  font-weight: 400;
}

.student-card-body > small,
.student-card-progress small {
  color: var(--academy-ink-soft);
}

.student-action-panel .student-rail-head h3,
.student-action-item strong,
.student-action-item small {
  color: var(--academy-ink);
}

.student-action-item small {
  opacity: 0.7;
}

.student-stream-aside > div,
.student-action-panel {
  border: 1px solid var(--academy-line);
  border-radius: 0;
  background: var(--academy-paper);
}

.student-stream-aside > div {
  margin-bottom: 16px;
  padding: 20px;
}

.student-player {
  margin-top: 52px !important;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--academy-cobalt);
  border-radius: 0;
  background: var(--academy-cobalt-deep);
  color: #fff;
}

.student-player h3,
.student-player h4 {
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-weight: 400;
}

.student-player-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 24px;
}

.student-watch-frame,
.lesson-list {
  border-color: var(--academy-line-light);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
}

.academy-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 160px;
  padding: 36px var(--academy-gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--academy-cobalt-night);
  color: #fff;
}

.academy-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--academy-serif);
  font-size: 18px;
}

.academy-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 28px;
}

.academy-footer nav button {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.academy-footer nav button:hover {
  box-shadow: none;
  color: #fff;
  transform: none;
}

.academy-developer-credit {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

body.is-admin-view .academy-footer,
body.is-admin-view .hero,
body.is-admin-view .academy-ribbon,
body.is-student-view .hero,
body.is-student-view .academy-ribbon,
body.is-producer-view .hero,
body.is-producer-view .academy-ribbon,
body.is-public-page .hero,
body.is-public-page .academy-ribbon,
body.is-store-view .hero,
body.is-store-view .academy-ribbon {
  display: none;
}

#academy-student.is-login-gate.panel,
#academy-producer.is-login-gate.panel {
  display: grid;
  min-height: calc(100dvh - 96px);
  padding: clamp(36px, 5vw, 72px) var(--academy-gutter);
  place-items: center;
  background: var(--academy-limestone);
}

#academy-student.is-login-gate .academy-auth-shell,
#academy-producer.is-login-gate .academy-auth-shell {
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  width: min(1480px, 100%);
  min-height: min(700px, calc(100dvh - 168px));
}

#academy-student.is-login-gate .academy-auth-copy,
#academy-producer.is-login-gate .academy-auth-copy {
  isolation: isolate;
  padding: clamp(48px, 5vw, 78px);
}

#academy-student.is-login-gate .academy-auth-copy > :not(.academy-auth-deity),
#academy-producer.is-login-gate .academy-auth-copy > :not(.academy-auth-deity) {
  max-width: 52%;
}

.academy-auth-deity {
  position: absolute;
  z-index: 1;
  right: clamp(12px, 3vw, 54px);
  bottom: 0;
  width: auto;
  height: 92%;
  max-width: 48%;
  max-height: none;
  border: 0;
  background: transparent;
  filter: drop-shadow(-18px 18px 26px rgba(0, 15, 74, 0.28));
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

#academy-student.is-login-gate .academy-auth-card,
#academy-producer.is-login-gate .academy-auth-card {
  align-items: center;
  padding: clamp(38px, 4vw, 64px);
}

#academy-student.is-login-gate .academy-auth-card > *,
#academy-producer.is-login-gate .academy-auth-card > * {
  width: min(100%, 440px);
}

#academy-student.is-login-gate .academy-login-destination,
#academy-producer.is-login-gate .academy-login-destination {
  margin-bottom: 38px;
}

#academy-student.is-login-gate .academy-login-destination button:hover:not(.active),
#academy-producer.is-login-gate .academy-login-destination button:hover:not(.active) {
  background: rgba(7, 55, 211, 0.08);
  color: var(--academy-cobalt);
}

#academy-student.is-login-gate .academy-auth-card-head,
#academy-producer.is-login-gate .academy-auth-card-head {
  margin-bottom: 26px;
}

#academy-student.is-login-gate .google-login-button.academy-google-login,
#academy-producer.is-login-gate .google-login-button.academy-google-login {
  margin-top: 0;
}

#academy-producer.is-login-gate .academy-password-login-form {
  display: grid;
  gap: 18px;
}

#academy-producer.is-login-gate .academy-password-login-form > button {
  margin-top: 2px;
}

#academy-producer.is-login-gate .auth-status {
  min-height: 20px;
  margin: 10px 0 0;
}

body.is-store-view:not(.is-store-ready) .academy-footer {
  display: none;
}

body.is-admin-view {
  background: #f4f5f8;
}

body.is-admin-view .topbar {
  display: none;
}

body.is-admin-view .admin-shell,
body.is-admin-view .admin-card,
body.is-admin-view .admin-form,
body.is-admin-view .admin-data-card {
  border-radius: 0;
}

body.is-admin-view .admin-shell {
  --admin-accent: var(--academy-cobalt);
}

.form-status.error,
.state.error {
  color: #a32626;
}

.form-status.ok {
  color: #14733c;
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .academy-product-carousel-stage {
    height: 720px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  }

  .hero h1 {
    font-size: clamp(64px, 8vw, 96px);
  }

  .academy-home-feature,
  .public-product-hero {
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  }

  .academy-home-price,
  .public-buy-box {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--academy-line-light);
    border-left: 0;
  }

  .academy-home-price strong {
    writing-mode: initial;
  }

  .public-buy-box > button {
    margin: 0 0 0 auto;
  }

  .academy-rail-track,
  .student-rail-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-stream-grid {
    grid-template-columns: 1fr;
  }

  .student-stream-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .student-stream-aside > div {
    margin: 0;
  }
}

@media (max-width: 900px) {
  .academy-product-carousel-stage {
    height: 980px;
  }

  .topbar {
    flex-wrap: wrap;
    min-height: 82px;
  }

  .topbar .nav {
    gap: 14px;
  }

  .topbar .nav button:not(.nav-login):not(.nav-student-area):not(.nav-profile-panel button) {
    display: none;
  }

  .mobile-store-nav {
    display: grid;
    flex: 1 0 calc(100% + (2 * var(--academy-gutter)));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 3;
    margin: 0 calc(-1 * var(--academy-gutter));
    border-top: 1px solid rgba(255, 255, 255, .2);
  }

  .mobile-store-nav button {
    min-height: 46px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    font-family: var(--academy-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
  }

  .mobile-store-nav button + button {
    border-left: 1px solid rgba(255, 255, 255, .2);
  }

  .mobile-store-nav button.active,
  .mobile-store-nav button[aria-current="page"] {
    background: rgba(3, 19, 38, .22);
    color: #fff;
    box-shadow: inset 0 -2px 0 var(--academy-bronze);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 660px;
  }

  .plato-geometry {
    min-height: 520px;
  }

  .academy-catalog-heading,
  .academy-home-cta,
  .academy-sales-assist,
  .checkout-page-grid,
  .certificate-page-grid,
  .thankyou-shell,
  .academy-auth-panel.academy-auth-shell,
  .student-player-grid {
    grid-template-columns: 1fr;
  }

  .academy-catalog-heading > button {
    justify-self: start;
    margin-top: 28px;
  }

  .academy-manifesto-grid {
    grid-template-columns: 1fr;
  }

  .academy-manifesto-grid article {
    min-height: 0;
  }

  .academy-manifesto-grid article + article {
    border-top: 1px solid var(--academy-line);
    border-left: 0;
  }

  .academy-home-feature,
  .public-product-hero {
    grid-template-columns: 1fr;
  }

  .academy-home-cover,
  .public-product-cover {
    min-height: 330px;
  }

  .academy-home-price,
  .public-buy-box {
    grid-column: auto;
  }

  .academy-sales-copy {
    justify-self: stretch;
  }

  .quick-checkout {
    width: 100%;
    justify-self: stretch;
  }

  .order-summary-card {
    position: static;
  }

  .public-product-grid {
    grid-template-columns: 1fr;
  }

  .academy-auth-copy {
    min-height: 520px;
  }

  #academy-student.is-login-gate .academy-auth-shell,
  #academy-producer.is-login-gate .academy-auth-shell {
    grid-template-columns: 1fr;
  }

  #academy-student.is-login-gate .academy-auth-copy,
  #academy-producer.is-login-gate .academy-auth-copy {
    min-height: 520px;
  }

  #academy-student.is-login-gate .academy-auth-deity,
  #academy-producer.is-login-gate .academy-auth-deity {
    right: 7%;
    height: 90%;
  }

  .student-hero-copy {
    width: 100%;
  }

  .academy-footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .academy-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --academy-gutter: 20px;
  }

  .academy-product-carousel-stage {
    height: 1120px;
  }

  body {
    padding-bottom: 0;
  }

  .topbar {
    gap: 8px;
    min-height: 120px;
  }

  .brand-logo {
    width: 132px;
  }

  .topbar .nav .nav-login {
    min-width: 88px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 9px;
  }

  .topbar .nav .nav-login.is-authenticated {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 3px;
  }

  .topbar .nav .nav-student-area {
    display: block;
    min-width: auto;
    padding: 0 4px;
    font-size: 8px;
  }

  .nav-profile-trigger {
    width: 38px;
    height: 38px;
  }

  .topbar .nav {
    position: static;
    inset: auto;
    z-index: auto;
    display: flex;
    gap: 8px;
    grid-template-columns: none;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero-copy {
    min-height: 620px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .hero .eyebrow::before {
    width: 26px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .hero-intro {
    margin-top: 28px;
    font-size: 20px;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .hero-actions button {
    width: 100%;
    min-width: 0;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 36px;
  }

  .plato-geometry {
    min-height: 430px;
  }

  .geometry-column {
    width: 66px;
  }

  .academy-ribbon {
    justify-content: center;
    gap: 8px;
    padding: 13px 8px;
    overflow: hidden;
    font-size: 7px;
    letter-spacing: 0.06em;
  }

  #academy-catalog.panel {
    padding-top: 70px;
  }

  .academy-catalog-heading h2,
  .academy-sales-copy h2 {
    font-size: 48px;
  }

  .academy-home-layout {
    gap: 54px;
    margin-top: 58px;
  }

  .academy-home-cover,
  .public-product-cover {
    min-height: 260px;
  }

  .academy-home-copy,
  .public-product-copy {
    padding: 30px 24px 36px;
  }

  .academy-home-copy h3,
  .public-product-copy h1 {
    font-size: 43px;
  }

  .academy-home-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .academy-home-stats div {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
  }

  .academy-home-actions,
  .public-product-actions,
  .thankyou-actions {
    display: grid;
  }

  .academy-home-price,
  .public-buy-box {
    display: grid;
    padding: 28px 24px;
  }

  .public-buy-box > button {
    width: 100%;
    margin: 10px 0 0;
  }

  .academy-rail-track,
  .student-rail-track,
  .student-stream-aside {
    grid-template-columns: 1fr;
  }

  .academy-rail-track[data-count] {
    grid-template-columns: 1fr;
  }

  .academy-rail-track[data-count="1"] .academy-rail-card {
    grid-template-columns: 1fr;
    grid-template-rows: 230px 1fr;
  }

  .academy-rail-track[data-count="1"] .academy-rail-cover,
  .academy-rail-cover {
    min-height: 230px;
  }

  .academy-rail-track[data-count="1"] .academy-rail-card-body,
  .academy-rail-card-body {
    min-height: 0;
    padding: 24px 20px 22px;
  }

  .academy-rail-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  body:not(.is-admin-view) .academy-rail-card-footer > button {
    width: 100%;
  }

  .academy-home-cta {
    padding: 32px 24px;
  }

  .academy-sales-assist {
    gap: 42px;
    margin-top: 76px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .checkout-page-form {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .checkout-page-form > * {
    grid-column: 1 !important;
  }

  .checkout-page-form.is-authenticated .checkout-auth-gate,
  .checkout-page-form.is-authenticated .checkout-payment-gate {
    grid-template-columns: 1fr;
  }

  .checkout-page-form.is-authenticated .checkout-auth-gate {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
  }

  .checkout-page-form.is-authenticated .checkout-auth-gate .auth-status {
    grid-column: 1;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .checkout-page-form.is-authenticated #checkout-switch-account {
    grid-column: 1 / -1 !important;
    grid-row: auto;
    width: 100%;
  }

  .checkout-validated-account {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .checkout-validated-avatar {
    width: 40px;
    height: 40px;
  }

  .checkout-validated-state {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .checkout-buyer-data-fields {
    grid-template-columns: 1fr;
  }

  .checkout-method-options,
  .auth-actions {
    grid-template-columns: 1fr;
  }

  .academy-page,
  #academy-student.panel {
    min-height: calc(100vh - 74px);
    padding-top: 42px;
  }

  .page-head {
    display: grid;
  }

  .academy-auth-panel.academy-auth-shell {
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .academy-auth-copy {
    min-height: 500px;
    padding: 42px 24px;
  }

  .academy-auth-copy h3 {
    font-size: 48px;
  }

  #academy-student.is-login-gate.panel,
  #academy-producer.is-login-gate.panel {
    padding: 0;
  }

  #academy-student.is-login-gate .academy-auth-shell,
  #academy-producer.is-login-gate .academy-auth-shell {
    min-height: calc(100dvh - 74px);
  }

  #academy-student.is-login-gate .academy-auth-copy,
  #academy-producer.is-login-gate .academy-auth-copy {
    min-height: 390px;
  }

  #academy-student.is-login-gate .academy-auth-copy > :not(.academy-auth-deity),
  #academy-producer.is-login-gate .academy-auth-copy > :not(.academy-auth-deity) {
    max-width: 62%;
  }

  #academy-student.is-login-gate .academy-auth-copy h3,
  #academy-producer.is-login-gate .academy-auth-copy h3 {
    font-size: clamp(38px, 12vw, 48px);
  }

  #academy-student.is-login-gate .academy-auth-copy > p:not(.eyebrow),
  #academy-producer.is-login-gate .academy-auth-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  #academy-student.is-login-gate .academy-auth-deity,
  #academy-producer.is-login-gate .academy-auth-deity {
    right: -5%;
    bottom: 0;
    height: 84%;
    max-width: 48%;
  }

  #academy-student.is-login-gate .academy-login-destination,
  #academy-producer.is-login-gate .academy-login-destination {
    margin-bottom: 30px;
  }

  .academy-auth-card {
    padding: 38px 24px;
  }

  .student-stream-hero,
  .student-hero-copy {
    min-height: 470px;
  }

  .student-hero-copy {
    padding: 34px 24px;
  }

  .student-hero-copy h3 {
    font-size: 46px;
  }
}

/* Virtus Club — flagship product */
.topbar .nav .nav-flagship {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.nav-flagship img {
  display: block;
  width: 18px;
  height: 20px;
  object-fit: contain;
}

.hero-club-signal {
  display: grid;
  grid-template-columns: auto minmax(190px, 250px) auto;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  width: min(710px, 100%);
  min-height: 78px;
  margin-top: 30px;
  padding: 11px 18px;
  border: 1px solid rgba(217, 184, 94, 0.65);
  background: rgba(7, 22, 61, 0.28);
  color: var(--academy-limestone);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.hero-club-signal:hover,
.hero-club-signal:focus-visible {
  border-color: #f3e3ac;
  background: rgba(7, 22, 61, 0.56);
}

.hero-club-signal span,
.hero-club-signal strong {
  font-family: var(--academy-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.hero-club-signal span {
  color: #f3e3ac;
}

.hero-club-signal strong {
  justify-self: end;
  color: var(--academy-limestone);
}

.hero-club-signal img {
  width: 100%;
  height: 44px;
  object-fit: contain;
}

.hero-club-signal + .hero-actions {
  margin-top: 28px;
}

.academy-ribbon .academy-ribbon-flagship {
  padding: 8px 14px;
  border: 1px solid rgba(169, 122, 63, 0.5);
  color: var(--academy-cobalt-deep);
  background: rgba(199, 154, 43, 0.16);
}

.virtus-club-flagship {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  width: min(var(--academy-max), 100%);
  min-height: 590px;
  margin: 0 auto clamp(92px, 10vw, 150px);
  overflow: hidden;
  border: 1px solid rgba(217, 184, 94, 0.72);
  background: var(--academy-cobalt);
  box-shadow: 12px 12px 0 rgba(7, 22, 61, 0.14);
  color: var(--academy-limestone);
}

.virtus-club-flagship-brand {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: clamp(42px, 5vw, 78px);
  overflow: hidden;
  border-right: 1px solid rgba(217, 184, 94, 0.36);
  background:
    linear-gradient(rgba(217, 184, 94, 0.09) 1px, transparent 1px) 0 0 / 100% 92px,
    linear-gradient(90deg, rgba(217, 184, 94, 0.08) 1px, transparent 1px) 0 0 / 92px 100%,
    var(--academy-cobalt);
  text-align: center;
}

.virtus-club-flagship-brand::before {
  position: absolute;
  width: min(440px, 82%);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 184, 94, 0.3);
  border-radius: 50%;
  content: "";
}

.virtus-club-flagship-brand::after {
  position: absolute;
  width: min(300px, 56%);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 184, 94, 0.22);
  content: "";
  transform: rotate(45deg);
}

.virtus-club-flagship-brand span,
.virtus-club-flagship-brand small,
.virtus-club-flagship-brand img {
  position: relative;
  z-index: 1;
}

.virtus-club-flagship-brand span,
.virtus-club-flagship-brand small {
  color: #f3e3ac;
  font-family: var(--academy-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.virtus-club-flagship-brand img {
  width: min(100%, 560px);
  height: auto;
}

.virtus-club-flagship-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 5.4vw, 86px);
}

.virtus-club-flagship-copy .eyebrow {
  margin: 0 0 24px;
  color: #d9b85e;
  font-family: var(--academy-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.virtus-club-flagship-copy h2 {
  margin: 0;
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-size: clamp(50px, 5.2vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.virtus-club-flagship-copy h2 em {
  color: #d9b85e;
  font-weight: 400;
}

.virtus-club-flagship-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(243, 240, 230, 0.74);
  font-family: var(--academy-serif);
  font-size: 19px;
  line-height: 1.55;
}

.virtus-club-flagship-copy ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(217, 184, 94, 0.28);
  list-style: none;
}

.virtus-club-flagship-copy li {
  display: grid;
  gap: 8px;
  padding-right: 22px;
}

.virtus-club-flagship-copy li + li {
  padding-left: 22px;
  border-left: 1px solid rgba(217, 184, 94, 0.22);
}

.virtus-club-flagship-copy li strong {
  color: #f3e3ac;
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.virtus-club-flagship-copy li span {
  color: rgba(243, 240, 230, 0.66);
  font-family: var(--academy-serif);
  font-size: 14px;
  line-height: 1.45;
}

.virtus-club-flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.virtus-club-flagship-actions a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid #d9b85e;
  background: #d9b85e;
  color: #07163d;
  font-family: var(--academy-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
}

.virtus-club-flagship-actions a.secondary {
  background: transparent;
  color: #f3e3ac;
}

.academy-rail-card:has([data-home-product="virtus-club"]),
.academy-home-feature:has([data-home-product="virtus-club"]) {
  border-color: #d9b85e;
}

.academy-rail-card:has([data-home-product="virtus-club"]) .academy-rail-cover::before,
.academy-home-feature:has([data-home-product="virtus-club"]) .academy-home-cover::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: #07163d url("/brand/virtus-club/virtus-club-logo-official-2026.png") center / 82% auto no-repeat;
  content: "";
  opacity: 1;
}

@media (max-width: 1180px) {
  .virtus-club-flagship {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  }
}

@media (max-width: 900px) {
  .virtus-club-flagship {
    grid-template-columns: 1fr;
  }

  .virtus-club-flagship-brand {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid rgba(217, 184, 94, 0.36);
  }
}

@media (max-width: 640px) {
  .topbar .nav .nav-flagship {
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-flagship span {
    display: none;
  }

  .nav-flagship img {
    width: 42px;
    height: 42px;
  }

  .hero-club-signal {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 68px;
    padding: 10px 14px;
  }

  .hero-club-signal span {
    display: none;
  }

  .hero-club-signal img {
    height: 38px;
  }

  .academy-ribbon span:not(.academy-ribbon-flagship),
  .academy-ribbon i {
    display: none;
  }

  .academy-ribbon .academy-ribbon-flagship {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .virtus-club-flagship {
    margin-bottom: 84px;
    box-shadow: 7px 7px 0 rgba(7, 22, 61, 0.14);
  }

  .virtus-club-flagship-brand {
    min-height: 260px;
    gap: 22px;
    padding: 34px 22px;
  }

  .virtus-club-flagship-copy {
    padding: 42px 24px;
  }

  .virtus-club-flagship-copy h2 {
    font-size: 46px;
  }

  .virtus-club-flagship-copy ul {
    grid-template-columns: 1fr;
  }

  .virtus-club-flagship-copy li {
    padding: 14px 0;
  }

  .virtus-club-flagship-copy li + li {
    padding-left: 0;
    border-top: 1px solid rgba(217, 184, 94, 0.22);
    border-left: 0;
  }

  .virtus-club-flagship-actions {
    display: grid;
  }
}

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

/* Buyer experience: product, checkout and authenticated library */
.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: 0 auto 42px;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--academy-ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-steps li:not(:last-child)::after {
  height: 1px;
  flex: 1;
  margin: 0 14px;
  background: var(--academy-line);
  content: "";
}

.checkout-steps span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--academy-line);
  border-radius: 50%;
}

.checkout-steps .active {
  color: var(--academy-cobalt-deep);
}

.checkout-steps .active span {
  border-color: var(--academy-cobalt-deep);
  background: var(--academy-cobalt-deep);
  color: #fff;
}

.checkout-account-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--academy-line);
}

.checkout-account-note strong {
  color: var(--academy-cobalt-deep);
  font-family: var(--academy-serif);
  font-size: 24px;
  font-weight: 400;
}

.checkout-account-note span {
  color: var(--academy-ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.checkout-google-auth {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: -6px 0 18px;
}

.checkout-google-auth > strong {
  color: var(--academy-ink);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-google-auth .academy-google-login {
  width: min(100%, 400px);
  margin-top: 0;
}

.checkout-google-auth .form-status {
  margin: 0;
  color: var(--academy-ink-soft);
  font-size: 11px;
  text-align: center;
}

.checkout-google-auth .auth-divider {
  width: 100%;
  margin: 4px 0 0;
}

.mobile-student-brand {
  display: none;
}

#academy-student:not(.is-login-gate) .student-stream-shell {
  --student-bg: #f7f7f5;
  --student-panel: #fff;
  --student-line: rgba(13, 34, 64, .13);
  --student-muted: #657080;
  background: var(--student-bg);
  color: #0d2240;
}

#academy-student:not(.is-login-gate) .student-app-nav {
  background: linear-gradient(180deg, color-mix(in srgb, var(--member-primary) 20%, #031326), #031326 42%);
}

#academy-student:not(.is-login-gate) .student-app-content {
  background: var(--student-bg);
}

#academy-student:not(.is-login-gate) .student-app-topbar {
  border-bottom-color: var(--student-line);
  background: rgba(255, 255, 255, .94);
}

#academy-student:not(.is-login-gate) .student-search input {
  border-color: var(--student-line);
  background: #fff !important;
  color: #0d2240 !important;
}

#academy-student:not(.is-login-gate) .student-search input::placeholder,
#academy-student:not(.is-login-gate) .student-user-summary {
  color: var(--student-muted);
}

#academy-student:not(.is-login-gate) .student-user-summary strong {
  color: #0d2240;
}

#academy-student:not(.is-login-gate) .student-stream-hero {
  min-height: 430px;
  margin: 24px clamp(22px, 4vw, 56px) 0;
  border: 1px solid rgba(13, 34, 64, .16);
  border-radius: 12px;
}

#academy-student:not(.is-login-gate) .student-stream-hero::before {
  background: linear-gradient(90deg, #031326 0%, rgba(3, 19, 38, .94) 42%, rgba(3, 19, 38, .2) 82%);
}

#academy-student:not(.is-login-gate) .student-hero-copy {
  min-height: 430px;
}

#academy-student:not(.is-login-gate) .student-hero-copy h3 {
  font-size: clamp(46px, 5vw, 72px);
}

#academy-student:not(.is-login-gate) .student-overview {
  margin: 0 clamp(22px, 4vw, 56px);
  border: 1px solid var(--student-line);
  border-top: 0;
  background: #fff;
}

#academy-student:not(.is-login-gate) .student-overall-progress strong,
#academy-student:not(.is-login-gate) .student-next-step > strong,
#academy-student:not(.is-login-gate) .student-journey-strip li strong,
#academy-student:not(.is-login-gate) .student-action-panel .student-rail-head h3,
#academy-student:not(.is-login-gate) .student-action-item strong,
#academy-student:not(.is-login-gate) .student-rail-head h3,
#academy-student:not(.is-login-gate) .student-card-body > strong,
#academy-student:not(.is-login-gate) .student-stream-aside h4,
#academy-student:not(.is-login-gate) .student-aside-row strong {
  color: #0d2240;
}

#academy-student:not(.is-login-gate) .student-progress-ring::after,
#academy-student:not(.is-login-gate) .student-journey-strip i {
  background: #fff;
}

#academy-student:not(.is-login-gate) .student-journey-strip li:not(:last-child)::after {
  background: var(--student-line);
}

#academy-student:not(.is-login-gate) .student-stream-grid {
  gap: 42px;
}

#academy-student:not(.is-login-gate) .student-rail-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#academy-student:not(.is-login-gate) .student-action-item,
#academy-student:not(.is-login-gate) .student-content-card {
  border-color: var(--student-line);
  border-radius: 8px;
  background: #fff;
}

#academy-student:not(.is-login-gate) .student-content-card:hover {
  border-color: var(--academy-bronze);
  box-shadow: 0 18px 38px rgba(13, 34, 64, .1);
}

#academy-student:not(.is-login-gate) .student-content-card[data-student-kind="course"] .student-card-poster {
  aspect-ratio: 16 / 9;
}

#academy-student:not(.is-login-gate) .student-content-card[data-student-kind="ebook"] .student-card-poster {
  aspect-ratio: 3 / 4;
}

#academy-student:not(.is-login-gate) .student-content-card[data-student-kind="club"] .student-card-poster {
  aspect-ratio: 3 / 2;
}

#academy-student:not(.is-login-gate) .student-card-poster > span {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(3, 19, 38, .7);
  color: #fff;
}

#academy-student:not(.is-login-gate) .student-stream-aside > details {
  padding: 0 22px 22px;
  border: 1px solid var(--student-line);
  border-radius: 8px;
  background: #fff;
}

#academy-student:not(.is-login-gate) .student-stream-aside .compact + .compact {
  padding-top: 18px;
  border-top: 1px solid var(--student-line);
}

#academy-student:not(.is-login-gate) .student-player {
  --student-bg: #030b15;
  --student-panel: #071321;
  --student-line: rgba(218, 184, 108, .18);
  --student-muted: rgba(242, 240, 232, .62);
}

@media (max-width: 860px) {
  #academy-student:not(.is-login-gate) .student-stream-shell {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  #academy-student:not(.is-login-gate) .student-app-nav {
    height: calc(68px + env(safe-area-inset-bottom));
    background: #031326;
  }

  #academy-student:not(.is-login-gate) .student-app-nav > button[data-student-target="student-certificates"] {
    display: none;
  }

  #academy-student:not(.is-login-gate) .student-account-menu {
    position: relative;
    display: block;
    margin: 0;
    border: 0;
  }

  #academy-student:not(.is-login-gate) .student-account-menu > summary {
    min-height: 68px;
    justify-content: center;
    padding: 5px;
    color: var(--student-muted);
    font-size: 9px;
    text-align: center;
  }

  #academy-student:not(.is-login-gate) .student-account-menu > summary::before {
    display: none;
  }

  #academy-student:not(.is-login-gate) .student-account-menu[open] > .student-account-popover {
    position: fixed;
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    z-index: 42;
    width: min(260px, calc(100vw - 24px));
    margin: 0;
    padding: 12px 16px;
    border: 1px solid rgba(218, 184, 108, .3);
    background: #031326 !important;
    color: #fff !important;
    text-align: left;
  }

  #academy-student:not(.is-login-gate) .student-account-popover > button,
  #academy-student:not(.is-login-gate) .student-account-popover #student-support-nav {
    display: block;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(218, 184, 108, .18);
    background: transparent !important;
    color: #fff !important;
    text-align: left;
  }

  .mobile-student-brand {
    display: block;
    flex: 0 0 auto;
  }

  .mobile-student-brand img {
    display: block;
    width: 112px;
  }

  #academy-student:not(.is-login-gate) .student-search {
    display: none;
  }

  #academy-student:not(.is-login-gate) .student-stream-hero {
    min-height: 435px;
    margin: 14px 14px 0;
  }

  #academy-student:not(.is-login-gate) .student-hero-copy {
    width: 100%;
    min-height: 435px;
    padding: 28px 24px;
  }

  #academy-student:not(.is-login-gate) .student-hero-copy h3 {
    max-width: 88%;
    font-size: clamp(38px, 12vw, 54px);
  }

  #academy-student:not(.is-login-gate) .student-hero-actions {
    display: grid;
  }

  #academy-student:not(.is-login-gate) .student-hero-actions button {
    width: 100%;
  }

  #academy-student:not(.is-login-gate) .student-overview {
    margin: 0 14px;
  }

  #academy-student:not(.is-login-gate) .student-overview > div {
    padding: 22px;
  }

  #academy-student:not(.is-login-gate) .student-stream-grid {
    padding: 34px 18px 54px;
  }

  #academy-student:not(.is-login-gate) .student-rail-track {
    grid-template-columns: none;
    grid-auto-columns: minmax(220px, 72vw);
    margin-right: -18px;
    padding-right: 18px;
    scroll-snap-type: x proximity;
  }

  #academy-student:not(.is-login-gate) .student-content-card {
    scroll-snap-align: start;
  }

  #academy-student:not(.is-login-gate) .student-rail:has([data-student-kind="ebook"]) .student-rail-track {
    grid-auto-columns: minmax(150px, 46vw);
  }

  #academy-student:not(.is-login-gate) .student-rail:has([data-student-kind="club"]) .student-rail-track {
    grid-auto-columns: minmax(260px, 82vw);
  }

  .checkout-steps {
    margin-bottom: 28px;
  }

  .checkout-steps li {
    display: grid;
    justify-items: center;
    gap: 6px;
    font-size: 8px;
    text-align: center;
  }

  .checkout-steps li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  #academy-product-page.academy-page,
  #academy-checkout-page.academy-page,
  #academy-thankyou-page.academy-page,
  #academy-certificate-page.academy-page {
    padding-top: 28px;
  }

  .public-product-shell {
    gap: 34px;
  }

  .public-product-copy h1 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1;
  }

  .public-section {
    padding: 28px 22px;
  }

  .checkout-page-form,
  .order-summary-card {
    box-shadow: 0 14px 34px rgba(13, 34, 64, .08);
  }

  .student-player-head {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #030b15;
  }

  .student-media-stage {
    min-height: 0;
  }

  .student-workspace-panel,
  .lesson-list {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* Greek Atlas — official Virtus Academy editorial imagery */
.hero-plato-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.plato-geometry > span:not(.geometry-caption) {
  z-index: 1;
  opacity: 0.16;
}

.plato-geometry .geometry-caption {
  z-index: 2;
}

.academy-greek-atlas {
  width: min(var(--academy-max), 100%);
  margin: 88px auto 0;
}

.academy-greek-atlas-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  align-items: end;
  gap: 48px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--academy-line);
}

.academy-greek-atlas-heading .eyebrow {
  margin: 0 0 7px;
  color: var(--academy-cobalt);
}

.academy-greek-atlas-heading h2 {
  margin: 0;
  color: var(--academy-ink);
  font-family: var(--academy-serif);
  font-size: clamp(48px, 5.3vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.academy-greek-atlas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid var(--academy-line);
  border-bottom: 1px solid var(--academy-line);
  border-left: 1px solid var(--academy-line);
}

.academy-greek-atlas-grid article {
  display: grid;
  grid-template-rows: minmax(250px, 1fr) auto;
  min-width: 0;
  background: var(--academy-paper);
}

.academy-greek-atlas-grid article + article {
  border-left: 1px solid var(--academy-line);
}

.academy-greek-atlas-grid img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}

.academy-greek-atlas-grid article:nth-child(1) img {
  object-position: center 35%;
}

.academy-greek-atlas-grid article:nth-child(2) img {
  object-position: center 28%;
}

.academy-greek-atlas-grid article:nth-child(3) img {
  object-position: center;
}

.academy-greek-atlas-grid article > div {
  min-height: 210px;
  padding: 30px;
  border-top: 1px solid var(--academy-line);
}

.academy-greek-atlas-grid span,
.academy-greek-atlas-grid h3 {
  font-family: var(--academy-mono);
}

.academy-greek-atlas-grid span {
  color: var(--academy-cobalt);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.academy-greek-atlas-grid h3 {
  margin: 24px 0 12px;
  color: var(--academy-ink);
  font-size: 14px;
  letter-spacing: 0.15em;
}

.academy-greek-atlas-grid p {
  margin: 0;
  color: var(--academy-ink-soft);
  font-family: var(--academy-serif);
  font-size: 17px;
  line-height: 1.55;
}

.academy-home-cover::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url("/brand/greek/plato-hero.webp?v=20260724-transparent") 64% center / cover no-repeat;
  content: "";
  opacity: 0.86;
}

.academy-home-cover[style]::before,
.public-product-cover[style]::before {
  display: none;
}

.public-product-cover::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url("/brand/greek/gods/apollo.png") center bottom / auto 92% no-repeat;
  content: "";
  opacity: 0.9;
}

.academy-home-cover::after,
.public-product-cover::after {
  z-index: 1;
}

.checkout-greek-banner {
  position: relative;
  height: clamp(160px, 18vw, 250px);
  margin: 32px 0 42px;
  overflow: hidden;
  border: 1px solid rgba(182, 138, 44, 0.65);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 64px 100%,
    var(--academy-cobalt-deep);
}

.checkout-greek-banner::before {
  position: absolute;
  top: 50%;
  right: 12%;
  width: min(26vw, 290px);
  aspect-ratio: 1;
  border: 1px solid rgba(182, 138, 44, 0.58);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.checkout-greek-banner img {
  position: absolute;
  z-index: 1;
  right: 5%;
  bottom: -20%;
  width: clamp(180px, 26vw, 330px);
  height: 125%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.certificate-page-copy {
  min-width: 0;
}

.certificate-greek-art {
  display: block;
  width: min(70%, 360px);
  max-height: 380px;
  margin-top: 38px;
  margin-inline: auto;
  object-fit: contain;
}

.academy-auth-greek-art {
  position: absolute;
  z-index: 1;
  right: 1%;
  bottom: -9%;
  width: min(46%, 360px);
  max-height: 82%;
  object-fit: contain;
  opacity: 0.72;
  pointer-events: none;
  user-select: none;
}

.academy-auth-greek-art-admin {
  right: -1%;
  opacity: 0.66;
}

.student-stream-hero::after {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: -20%;
  width: min(32vw, 410px);
  height: 116%;
  background: url("/brand/greek/gods/athena.png") center bottom / contain no-repeat;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

@media (max-width: 900px) {
  .academy-greek-atlas-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .academy-greek-atlas-grid {
    grid-template-columns: 1fr;
  }

  .academy-greek-atlas-grid article {
    grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: minmax(260px, auto);
  }

  .academy-greek-atlas-grid article + article {
    border-top: 1px solid var(--academy-line);
    border-left: 0;
  }

  .academy-greek-atlas-grid article > div {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    border-top: 0;
    border-left: 1px solid var(--academy-line);
  }

  .academy-auth-greek-art {
    right: -4%;
    width: 50%;
    opacity: 0.5;
  }
}

@media (max-width: 640px) {
  .hero-plato-art {
    object-position: 62% center;
  }

  .academy-greek-atlas {
    margin-top: 64px;
  }

  .academy-greek-atlas-grid article {
    grid-template-columns: 1fr;
    grid-template-rows: 250px auto;
  }

  .academy-greek-atlas-grid article > div {
    min-height: 190px;
    padding: 26px 22px;
    border-top: 1px solid var(--academy-line);
    border-left: 0;
  }

  .checkout-greek-banner {
    height: 150px;
    margin: 24px 0 30px;
  }

  .checkout-greek-banner img {
    right: -2%;
    width: 190px;
  }

  .certificate-greek-art {
    max-height: 220px;
  }

  .academy-auth-greek-art {
    right: -14%;
    bottom: -4%;
    width: 62%;
    opacity: 0.25;
  }

  .student-stream-hero::after {
    right: -14%;
    width: 72vw;
    opacity: 0.18;
  }
}

/* Student cinema — focused learning surface */
body.is-student-view:has(#academy-student:not(.is-login-gate)) {
  background: #030b15;
}

body.is-student-view:has(#academy-student:not(.is-login-gate)) > .topbar,
body.is-student-view:has(#academy-student:not(.is-login-gate)) > .academy-footer {
  display: none;
}

#academy-student:not(.is-login-gate).panel {
  min-height: 100vh;
  padding: 0;
  background: #030b15;
}

#academy-student:not(.is-login-gate) .auth-section-heading,
#academy-student:not(.is-login-gate) > #student-state {
  display: none !important;
}

#academy-student:not(.is-login-gate) > .student-stream-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.student-stream-shell {
  --student-bg: #030b15;
  --student-panel: #071321;
  --student-line: rgba(218, 184, 108, 0.18);
  --student-muted: rgba(242, 240, 232, 0.62);
  --member-primary: #0737d3;
  --member-accent: #dab86c;
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr);
  gap: 0;
  min-height: 100vh;
  padding: 0;
  border: 0;
  background: var(--student-bg);
  color: var(--academy-limestone);
}

.student-stream-shell .student-app-nav {
  background: linear-gradient(180deg, color-mix(in srgb, var(--member-primary) 28%, transparent), transparent 30%), #020a13;
}

.student-stream-shell.member-theme-light {
  --student-bg: #f5f6f8;
  --student-panel: #ffffff;
  --student-line: color-mix(in srgb, var(--member-primary) 18%, transparent);
  --student-muted: rgba(17, 24, 39, 0.64);
  color: #111827;
}

.student-stream-shell.member-theme-light .student-app-nav {
  background: linear-gradient(180deg, color-mix(in srgb, var(--member-primary) 12%, white), #ffffff 42%);
}

.student-stream-shell.member-theme-light .student-app-brand img {
  filter: drop-shadow(0 0 1px rgba(17, 24, 39, 0.35));
}

.student-app-content {
  position: relative;
}

#academy-student > .student-loading {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  place-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(41, 78, 219, 0.55), transparent 36%),
    linear-gradient(135deg, #00162e 0%, #062681 58%, #103bd7 100%);
}

.student-loading-card {
  display: grid;
  max-width: 360px;
  justify-items: center;
  gap: 14px;
  padding: 32px;
  color: #f6f1e7;
  text-align: center;
}

.student-loading-card img {
  width: min(240px, 68vw);
  height: auto;
  margin-bottom: 18px;
}

.student-loading-card strong {
  font-family: var(--academy-serif);
  font-size: 28px;
  font-weight: 500;
}

.student-loading-card small {
  color: rgba(246, 241, 231, 0.72);
  font-size: 13px;
}

.student-loading-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(246, 241, 231, 0.2);
  border-top-color: #dab86c;
  border-radius: 50%;
  animation: student-loading-spin .75s linear infinite;
}

@keyframes student-loading-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .student-loading-spinner { animation-duration: 1.5s; }
}

.student-app-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 12;
  display: flex;
  width: 194px;
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 28px 0 24px;
  border-right: 1px solid var(--student-line);
  background:
    linear-gradient(180deg, rgba(7, 55, 211, 0.1), transparent 30%),
    #020a13;
}

.student-app-brand {
  display: block;
  padding: 0 24px 34px;
  border-bottom: 1px solid var(--student-line);
}

.student-app-brand img {
  width: 126px;
  height: auto;
}

.student-app-nav > button,
.student-account-menu > summary {
  position: relative;
  justify-content: flex-start;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--student-muted);
  font-family: var(--academy-sans);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

.student-app-nav > button::before,
.student-account-menu > summary::before {
  width: 6px;
  height: 6px;
  margin-right: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.student-app-nav > button.active {
  background: linear-gradient(90deg, rgba(218, 184, 108, 0.13), transparent);
  color: var(--academy-bronze);
}

.student-app-nav > button.active::after {
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: var(--academy-bronze);
  content: "";
}

.student-app-nav > button:hover,
.student-account-menu > summary:hover {
  box-shadow: none;
  color: #fff;
  transform: none;
}

.student-account-menu {
  margin-top: auto;
  border-top: 1px solid var(--student-line);
}

.student-app-nav > [data-student-view="account"] {
  margin-top: auto;
  border-top: 1px solid var(--student-line);
}

.student-app-nav > .student-nav-logout {
  min-height: 40px;
  color: var(--student-muted);
  font-size: 11px;
}

.student-account-menu > summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.student-account-menu > summary::-webkit-details-marker {
  display: none;
}

#student-support-nav {
  padding: 0 22px 8px 40px;
}

#student-support-nav a,
#student-support-nav button {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--academy-bronze);
  font-size: 11px;
}

.student-app-content {
  grid-column: 2;
  min-width: 0;
}

.student-app-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(22px, 4vw, 56px);
  border-bottom: 1px solid var(--student-line);
  background: rgba(3, 11, 21, 0.92);
  backdrop-filter: blur(18px);
}

.student-search {
  width: min(560px, 60vw);
}

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

.student-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(242, 240, 232, 0.14);
  border-radius: 7px;
  outline: 0;
  background: rgba(255, 255, 255, 0.045) !important;
  color: #fff !important;
  font-family: var(--academy-sans);
  font-size: 13px;
}

.student-search input::placeholder {
  color: rgba(242, 240, 232, 0.42);
}

.student-user-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 2px 4px 2px 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--student-muted);
  font-size: 12px;
}

.student-user-summary:hover {
  background: rgba(218, 184, 108, .08);
  box-shadow: none;
  transform: none;
}

.student-user-summary strong,
.student-user-summary img {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--academy-bronze);
  border-radius: 50%;
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-size: 17px;
  font-weight: 400;
}

.student-user-summary img {
  object-fit: cover;
}

.student-account-view {
  min-height: calc(100vh - 72px);
  padding: clamp(28px, 4vw, 58px) clamp(22px, 5vw, 72px) 80px;
  background: #f5f4ef;
  color: #0d2240;
}

.student-account-header,
.student-account-identity,
.student-profile-actions,
.student-security-panel article,
.student-payment-history li {
  display: flex;
  align-items: center;
}

.student-account-header {
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(13, 34, 64, .15);
}

.student-account-identity {
  gap: 18px;
}

.student-account-identity > strong,
.student-account-identity > img {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--academy-bronze);
  border-radius: 50%;
  object-fit: cover;
  color: #0d2240;
  font-family: var(--academy-serif);
  font-size: 32px;
  font-weight: 400;
}

.student-account-identity span,
.student-account-section-copy > span {
  color: #997633;
  font-family: var(--academy-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.student-account-identity h1 {
  margin: 4px 0 2px;
  color: #0d2240;
  font-family: var(--academy-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
}

.student-account-identity p,
.student-account-section-copy p,
.student-payment-notice {
  margin: 0;
  color: #68758a;
  font-size: 13px;
  line-height: 1.55;
}

.student-account-tabs {
  position: sticky;
  top: 72px;
  z-index: 8;
  display: flex;
  gap: 24px;
  margin: 0 0 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(13, 34, 64, .12);
  background: rgba(245, 244, 239, .94);
  backdrop-filter: blur(12px);
}

.student-account-tabs a {
  color: #42506a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.student-account-tabs a:hover {
  color: var(--member-primary);
}

.student-profile-form,
.student-account-section-standalone {
  border-bottom: 1px solid rgba(13, 34, 64, .14);
}

.student-account-section {
  display: grid;
  grid-template-columns: minmax(190px, .42fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 96px);
  padding: 42px 0;
  scroll-margin-top: 130px;
}

.student-account-section-copy h2 {
  margin: 8px 0 10px;
  color: #0d2240;
  font-family: var(--academy-serif);
  font-size: 30px;
  font-weight: 400;
}

.student-account-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.student-account-fields label {
  display: grid;
  gap: 7px;
  color: #344157;
  font-family: var(--academy-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.student-account-fields label.wide,
.student-preference-list.wide {
  grid-column: 1 / -1;
}

.student-account-fields input,
.student-account-fields select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(13, 34, 64, .2);
  border-radius: 4px;
  background: #fff !important;
  color: #0d2240 !important;
  font-family: var(--academy-sans);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.student-account-fields input[readonly] {
  background: #ecebe6 !important;
  color: #68758a !important;
}

.student-account-fields label > small {
  color: #39764e;
  font-family: var(--academy-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.student-preference-list {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(13, 34, 64, .15);
  background: #fff;
}

.student-preference-list label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  font-family: var(--academy-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.student-preference-list input {
  width: 18px;
  min-height: 18px;
}

.student-profile-actions {
  justify-content: flex-end;
  gap: 22px;
  padding: 0 0 36px;
}

.student-profile-actions p {
  margin: 0;
  color: #68758a;
  font-size: 12px;
}

.student-profile-actions p.is-ok { color: #39764e; }
.student-profile-actions p.is-error { color: #a63333; }

.student-profile-actions button,
.student-account-header button {
  min-height: 44px;
  border-color: #0d2240;
  border-radius: 3px;
  background: #0d2240;
  color: #fff;
  box-shadow: none;
}

.student-payment-panel,
.student-security-panel {
  min-width: 0;
}

.student-payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.student-payment-methods article {
  display: grid;
  gap: 5px;
  min-height: 88px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(13, 34, 64, .15);
  background: #fff;
}

.student-payment-methods strong,
.student-payment-panel h3,
.student-security-panel strong,
.student-payment-history strong {
  color: #0d2240;
}

.student-payment-methods small,
.student-security-panel small,
.student-payment-history small {
  color: #68758a;
  font-size: 11px;
}

.student-payment-panel h3 {
  margin: 28px 0 10px;
  font-size: 15px;
}

.student-payment-history {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(13, 34, 64, .12);
  list-style: none;
}

.student-payment-history li {
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid rgba(13, 34, 64, .1);
}

.student-payment-history li span {
  display: grid;
  gap: 3px;
}

.student-payment-history em {
  color: #39764e;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.student-security-panel article {
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(13, 34, 64, .12);
}

.student-security-panel article > div {
  display: grid;
  gap: 4px;
}

.student-security-panel span,
.student-security-panel a {
  color: #68758a;
  font-size: 12px;
  font-weight: 700;
}

.student-security-panel span.is-ok { color: #39764e; }

.student-security-panel button {
  min-height: 38px;
  border-color: rgba(13, 34, 64, .24) !important;
  background: transparent !important;
  color: #0d2240 !important;
  box-shadow: none !important;
}

.student-stream-hero {
  min-height: 500px;
  border: 0;
  border-bottom: 1px solid var(--student-line);
  box-shadow: none;
}

.student-hero-backdrop {
  background-color: #071321;
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.01);
  animation: studentHeroReveal 0.9s var(--ease) both;
}

.student-stream-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, #030b15 0%, rgba(3, 11, 21, 0.92) 34%, rgba(3, 11, 21, 0.2) 78%),
    linear-gradient(0deg, #030b15 0%, transparent 45%);
  content: "";
  pointer-events: none;
}

.student-stream-hero::after {
  display: none;
}

.student-hero-copy {
  justify-content: flex-end;
  width: min(760px, 72%);
  min-height: 500px;
  padding: clamp(42px, 6vw, 78px) clamp(22px, 5vw, 72px);
}

.student-hero-copy h3 {
  max-width: 760px;
  font-size: clamp(52px, 6vw, 86px);
}

.student-hero-copy > p {
  max-width: 650px;
  margin: 16px 0 0;
  font-family: var(--academy-sans);
  font-size: 15px;
}

.student-hero-meta {
  margin-top: 4px;
}

.student-hero-actions button,
.student-hero-actions .button {
  min-height: 48px;
  border-color: var(--academy-bronze);
  border-radius: 3px;
  background: var(--academy-bronze);
  color: #0a1016;
  box-shadow: none;
}

.student-hero-actions button.secondary {
  border-color: rgba(242, 240, 232, 0.35);
  background: rgba(3, 11, 21, 0.42);
  color: #fff;
}

.student-card-progress.hero-progress {
  width: min(520px, 100%);
  margin-top: 4px;
}

.student-card-progress.hero-progress span {
  background: rgba(255, 255, 255, 0.16);
}

.student-overview {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(440px, 1.45fr) minmax(230px, 0.72fr);
  border-bottom: 1px solid var(--student-line);
}

.student-overview > div {
  min-width: 0;
  padding: 26px clamp(22px, 3vw, 42px);
}

.student-overview > div + div {
  border-left: 1px solid var(--student-line);
}

.student-overall-progress {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 18px;
}

.student-overall-progress span,
.student-journey-strip > span,
.student-next-step > span,
.student-quiz-teaser > span,
.lesson-rail-head > span,
.student-quiz-head span {
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.student-overall-progress > div:last-child,
.student-next-step {
  display: grid;
  gap: 6px;
}

.student-overall-progress strong,
.student-next-step > strong {
  color: #fff;
  font-family: var(--academy-serif);
  font-size: 18px;
  font-weight: 400;
}

.student-overall-progress small,
.student-next-step small {
  color: var(--student-muted);
  font-size: 11px;
  line-height: 1.45;
}

.student-progress-ring {
  position: relative;
  display: grid;
  width: 86px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--academy-bronze) calc(var(--progress) * 1%), rgba(255, 255, 255, 0.1) 0);
}

.student-progress-ring::after {
  position: absolute;
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--student-bg);
  content: "";
}

.student-progress-ring strong {
  position: relative;
  z-index: 1;
  font-family: var(--academy-serif);
  font-size: 25px;
  font-weight: 400;
}

.student-journey-strip {
  display: grid;
  gap: 18px;
}

.student-journey-strip ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.student-journey-strip li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--student-muted);
  text-align: center;
}

.student-journey-strip li:not(:last-child)::after {
  position: absolute;
  top: 17px;
  left: calc(50% + 24px);
  width: calc(100% - 36px);
  height: 1px;
  background: rgba(242, 240, 232, 0.18);
  content: "";
}

.student-journey-strip i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(242, 240, 232, 0.3);
  border-radius: 50%;
  background: var(--student-bg);
  font-family: var(--academy-serif);
  font-style: normal;
}

.student-journey-strip li.completed i,
.student-journey-strip li.active i {
  border-color: var(--academy-bronze);
  color: var(--academy-bronze);
}

.student-account-menu > [data-academy-logout] {
  width: calc(100% - 44px);
  min-height: 36px;
  margin: 0 22px 10px;
  padding: 0;
  justify-content: flex-start;
  color: var(--student-muted);
  font-size: 12px;
  font-weight: 700;
}

.student-journey-strip li strong {
  max-width: 130px;
  color: #fff;
  font-family: var(--academy-serif);
  font-size: 14px;
  font-weight: 400;
}

.student-journey-strip li small {
  color: var(--academy-bronze);
  font-size: 10px;
}

.student-next-step button {
  justify-self: start;
  min-height: 34px;
  margin-top: 5px;
  padding: 6px 10px;
  border-color: var(--student-line);
  background: transparent;
  color: var(--academy-bronze);
}

.student-stream-grid {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  padding: 42px clamp(22px, 4vw, 56px) 72px;
}

.student-stream-main,
.student-rails {
  gap: 40px;
}

.student-action-center {
  margin: 0;
}

.student-action-panel {
  padding: 0 0 30px;
  border: 0;
  border-bottom: 1px solid var(--student-line);
  background: transparent;
}

.student-action-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.student-action-item {
  border-color: var(--student-line);
  border-radius: 0;
  background: var(--student-panel);
}

.student-action-panel .student-rail-head h3,
.student-action-item strong {
  color: #fff;
}

.student-action-item small {
  color: var(--student-muted);
}

.student-rail {
  gap: 16px;
}

.student-rail-head h3 {
  color: #fff;
  font-family: var(--academy-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.student-rail-head small {
  color: var(--student-muted);
}

.student-rail-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: initial;
  gap: 14px;
  overflow: visible;
}

.student-content-card {
  border-color: rgba(242, 240, 232, 0.12);
  background: transparent;
  transition: border-color 0.2s ease, transform 0.24s var(--ease);
}

.student-content-card:hover {
  border-color: var(--academy-bronze);
  transform: translateY(-4px);
}

.student-content-card[hidden] {
  display: none;
}

.student-card-poster {
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-bottom: 1px solid rgba(242, 240, 232, 0.1);
  filter: saturate(0.8);
}

.student-card-body {
  gap: 9px;
  padding: 15px;
}

.student-card-body > strong {
  min-height: 44px;
  color: #fff;
  font-size: 18px;
}

.student-card-body > small,
.student-card-progress small {
  color: var(--student-muted);
}

.student-card-actions button {
  min-height: 34px;
  border-color: var(--academy-bronze);
  background: transparent !important;
  color: var(--academy-bronze) !important;
}

.student-card-actions button.secondary {
  display: none;
}

.student-stream-aside {
  display: block;
}

.student-stream-aside > details {
  border-top: 1px solid var(--student-line);
  border-bottom: 1px solid var(--student-line);
}

.student-stream-aside > details > summary {
  padding: 16px 0;
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.student-stream-aside .compact {
  padding: 0;
  border: 0;
  background: transparent;
}

.student-stream-aside .compact + .compact {
  margin-top: 22px;
}

.student-stream-aside h4,
.student-aside-row strong {
  color: #fff;
}

.student-aside-row {
  border-color: var(--student-line);
}

.student-aside-row small,
.student-aside-empty,
.student-stream-aside a {
  color: var(--student-muted);
}

.student-player {
  width: 100%;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: var(--student-bg);
  box-shadow: none;
}

.student-stream-shell.is-player-open .student-app-topbar,
.student-stream-shell.is-player-open .student-stream-hero,
.student-stream-shell.is-player-open .student-overview,
.student-stream-shell.is-player-open .student-stream-grid {
  display: none;
}

.student-stream-shell.is-player-open {
  grid-template-columns: minmax(0, 1fr);
}

.student-stream-shell.is-player-open .student-app-nav {
  display: none;
}

.student-stream-shell.is-player-open .student-app-content {
  grid-column: 1;
}

.student-player-head {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(250px, auto) minmax(240px, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 76px;
  margin: 0;
  padding: 12px 24px;
  border-bottom: 1px solid var(--student-line);
}

.student-player-back {
  justify-self: start;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--student-muted);
  font-size: 12px;
}

.student-player-course-title h3 {
  margin: 0;
  font-size: 26px;
  text-align: center;
}

.student-player-head .student-progress {
  display: grid;
  grid-template-columns: auto minmax(100px, 220px) auto;
  align-items: center;
  justify-self: end;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.student-player-head .student-progress span {
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.student-player-head .student-progress i {
  display: block;
  height: 100%;
  background: var(--academy-bronze);
}

.student-player-head .student-progress strong {
  color: var(--academy-bronze);
  font-family: var(--academy-serif);
  font-size: 18px;
  font-weight: 400;
}

.student-player-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 0;
}

.student-watch-column {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--student-line);
}

.student-watch-frame {
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 240, 232, 0.12);
  background: #000;
}

.student-media-stage {
  display: grid;
  position: relative;
  min-height: 380px;
  place-items: center;
  background: #000;
}

.student-cc-unavailable {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 42px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font: 700 13px/1 var(--academy-sans);
  letter-spacing: 0.08em;
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.student-video-embed {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  box-shadow: none;
}

.student-media-empty,
.student-text-lesson {
  width: min(760px, 90%);
  max-height: 60vh;
  overflow: auto;
  padding: clamp(26px, 5vw, 64px);
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-size: 21px;
  line-height: 1.75;
}

.student-audio-player {
  display: grid;
  width: min(720px, 86%);
  gap: 18px;
  padding: 48px;
  border: 1px solid var(--student-line);
  background:
    radial-gradient(circle at 80% 10%, rgba(218, 184, 108, 0.18), transparent 36%),
    var(--student-panel);
}

.student-audio-player span {
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.student-audio-player strong {
  color: #fff;
  font-family: var(--academy-serif);
  font-size: 32px;
  font-weight: 400;
}

.student-audio-player audio {
  width: 100%;
}

.student-lesson-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 22px;
  padding: 15px 20px;
  background: var(--student-panel);
}

.student-lesson-caption > span,
.student-lesson-caption > h4,
.student-lesson-caption > p {
  grid-column: 1;
}

.student-lesson-caption h4 {
  margin: 0;
  font-size: 26px;
}

.student-lesson-caption p {
  margin: 0;
  color: var(--student-muted);
  font-size: 13px;
}

.student-watch-actions {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  margin: 0;
}

.student-watch-actions button {
  min-height: 36px;
  border-color: var(--academy-bronze);
  background: var(--academy-bronze);
  color: #07111c;
}

.student-study-workspace {
  margin-top: 16px;
  border: 1px solid var(--student-line);
}

.student-workspace-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--student-line);
  overflow-x: auto;
}

.student-workspace-tabs button {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--student-muted);
  font-family: var(--academy-serif);
  font-size: 16px;
  font-weight: 400;
}

.student-workspace-tabs button.active {
  border-bottom-color: var(--academy-bronze);
  color: var(--academy-bronze);
}

.student-workspace-panel {
  min-height: 150px;
  padding: 24px;
  color: var(--student-muted);
}

.student-workspace-panel h5 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--academy-serif);
  font-size: 21px;
  font-weight: 400;
}

.student-workspace-panel p {
  margin: 0;
  line-height: 1.65;
}

.student-note-form {
  display: grid;
  gap: 10px;
}

.student-note-form label {
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-note-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(242, 240, 232, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.student-note-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.student-note-form button {
  min-height: 36px;
  background: var(--academy-bronze);
  color: #07111c;
}

.student-material-list {
  display: grid;
  gap: 8px;
}

.student-material-list > * {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--student-line);
  color: #fff;
  text-decoration: none;
}

.lesson-list {
  align-content: start;
  max-height: calc(100vh - 76px);
  padding: 22px;
  overflow-y: auto;
  border: 0;
  background: #06101b;
}

.lesson-rail-head {
  display: grid;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--student-line);
}

.lesson-rail-head strong {
  color: #fff;
  font-family: var(--academy-serif);
  font-size: 19px;
  font-weight: 400;
}

.lesson-rail-head small {
  color: var(--student-muted);
  line-height: 1.45;
}

.student-module {
  gap: 6px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--student-line);
  background: transparent;
}

.student-module > strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--student-muted);
  font-family: var(--academy-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.student-module > strong small {
  color: rgba(242, 240, 232, 0.4);
  font-weight: 400;
}

.student-player .lesson-button {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 42px;
  padding: 7px 8px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.student-player .lesson-button:hover,
.student-player .lesson-button.active {
  border-left-color: var(--academy-bronze);
  background: rgba(7, 55, 211, 0.16);
  transform: none;
}

.student-player .lesson-button i {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid rgba(242, 240, 232, 0.3);
  border-radius: 50%;
  color: #06101b;
  font-size: 10px;
  font-style: normal;
}

.student-player .lesson-button.completed i {
  border-color: #7bd79d;
  background: #7bd79d;
}

.student-player .lesson-button span {
  overflow: hidden;
  color: #fff;
  font-family: var(--academy-serif);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-player .lesson-button small {
  color: var(--student-muted);
  font-size: 10px;
}

.lesson-rail-actions {
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.lesson-rail-actions button {
  min-height: 42px;
  border-color: var(--academy-bronze);
  border-radius: 2px;
  background: var(--academy-bronze);
  color: #07111c;
}

.lesson-rail-actions button.secondary {
  background: transparent;
  color: var(--academy-limestone);
}

.student-quiz-teaser {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--student-line);
  background: rgba(255, 255, 255, 0.025);
}

.student-quiz-teaser strong {
  color: #fff;
  font-family: var(--academy-serif);
  font-size: 19px;
  font-weight: 400;
}

.student-quiz-teaser small {
  color: var(--student-muted);
}

.student-quiz-teaser button {
  justify-self: start;
  min-height: 34px;
  border-color: var(--student-line);
  background: transparent;
  color: var(--academy-bronze);
}

.student-quiz-drawer {
  padding: clamp(26px, 4vw, 56px);
  border-top: 1px solid var(--student-line);
  background: var(--student-panel);
}

.student-quiz-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.student-quiz-head h4 {
  margin: 7px 0;
  font-size: 34px;
}

.student-quiz-head p {
  margin: 0;
  color: var(--student-muted);
}

.student-quiz-form {
  display: grid;
  gap: 24px;
  max-width: 860px;
}

.student-quiz-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--student-line);
}

.student-quiz-form legend {
  padding: 0 8px;
  color: #fff;
  font-family: var(--academy-serif);
  font-size: 19px;
}

.student-quiz-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: var(--student-muted);
}

.student-quiz-form label:has(input:checked) {
  background: rgba(218, 184, 108, 0.1);
  color: #fff;
}

.student-quiz-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.student-quiz-submit button {
  background: var(--academy-bronze);
  color: #07111c;
}

.ebook-reader-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px;
  background: var(--student-panel);
}

.ebook-reader-head h4 {
  max-width: 700px;
  margin: 8px 0 0;
  font-size: 23px;
}

.ebook-frame {
  margin: 18px;
  border: 1px solid var(--student-line);
}

body.is-student-view #academy-student:not(.is-login-gate) .student-app-nav > button,
body.is-student-view #academy-student:not(.is-login-gate) .student-account-menu button,
body.is-student-view #academy-student:not(.is-login-gate) .student-hero-actions button.secondary,
body.is-student-view #academy-student:not(.is-login-gate) .student-next-step button,
body.is-student-view #academy-student:not(.is-login-gate) .student-card-actions button,
body.is-student-view #academy-student:not(.is-login-gate) .student-player-back,
body.is-student-view #academy-student:not(.is-login-gate) .student-workspace-tabs button,
body.is-student-view #academy-student:not(.is-login-gate) .lesson-button,
body.is-student-view #academy-student:not(.is-login-gate) .lesson-rail-actions button.secondary,
body.is-student-view #academy-student:not(.is-login-gate) .student-quiz-teaser button,
body.is-student-view #academy-student:not(.is-login-gate) .student-quiz-head button {
  border-color: var(--student-line) !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--academy-limestone) !important;
}

body.is-student-view #academy-student:not(.is-login-gate) .student-app-nav > button,
body.is-student-view #academy-student:not(.is-login-gate) .student-workspace-tabs button,
body.is-student-view #academy-student:not(.is-login-gate) .lesson-button {
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.is-student-view #academy-student:not(.is-login-gate) .student-app-nav > button.active {
  background: linear-gradient(90deg, rgba(218, 184, 108, 0.13), transparent) !important;
  color: var(--academy-bronze) !important;
}

body.is-student-view #academy-student:not(.is-login-gate) .student-hero-actions button:not(.secondary),
body.is-student-view #academy-student:not(.is-login-gate) .student-watch-actions button,
body.is-student-view #academy-student:not(.is-login-gate) .lesson-rail-actions button:not(.secondary),
body.is-student-view #academy-student:not(.is-login-gate) .student-note-form button,
body.is-student-view #academy-student:not(.is-login-gate) .student-quiz-submit button {
  border-color: var(--academy-bronze) !important;
  background: var(--academy-bronze) !important;
  box-shadow: none !important;
  color: #07111c !important;
}

@keyframes studentHeroReveal {
  from { opacity: 0; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1.01); }
}

@media (max-width: 1180px) {
  .student-stream-shell {
    grid-template-columns: 164px minmax(0, 1fr);
  }

  .student-app-nav {
    width: 164px;
  }

  .student-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-next-step {
    grid-column: 1 / -1;
    border-top: 1px solid var(--student-line);
    border-left: 0 !important;
  }

  .student-rail-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .student-player-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (max-width: 860px) {
  .student-stream-shell {
    display: block;
    padding-bottom: 70px;
  }

  .student-app-nav {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    width: 100%;
    height: 68px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    border-top: 1px solid var(--student-line);
    border-right: 0;
  }

  .student-app-content {
    grid-column: 1;
  }

  .student-app-brand,
  .student-account-menu {
    display: none;
  }

  .student-app-nav > button {
    min-height: 68px;
    justify-content: center;
    padding: 5px;
    font-size: 9px;
    text-align: center;
  }

  .student-app-nav > .student-nav-logout {
    display: none;
  }

  .student-app-nav > [data-student-view="account"] {
    margin-top: 0;
    border-top: 0;
  }

  .student-app-nav > button::before,
  .student-app-nav > button.active::after {
    display: none;
  }

  .student-app-topbar {
    min-height: 62px;
    padding: 9px 14px;
  }

  .student-search {
    width: 100%;
  }

  .student-user-summary span {
    display: none;
  }

  .student-account-view {
    min-height: calc(100vh - 62px);
    padding: 24px 16px 96px;
  }

  .student-account-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-account-identity > strong,
  .student-account-identity > img {
    width: 56px;
    height: 56px;
  }

  .student-account-header > button {
    width: 100%;
  }

  .student-account-tabs {
    top: 62px;
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .student-account-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 0;
  }

  .student-account-fields,
  .student-payment-methods {
    grid-template-columns: 1fr;
  }

  .student-profile-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .student-profile-actions button {
    width: 100%;
  }

  .student-security-panel article {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-stream-hero,
  .student-hero-copy {
    min-height: 470px;
  }

  .student-hero-copy {
    width: 92%;
    padding: 38px 22px;
  }

  .student-hero-copy h3 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .student-overview,
  .student-stream-grid,
  .student-player-grid {
    grid-template-columns: 1fr;
  }

  .student-overview > div + div {
    border-top: 1px solid var(--student-line);
    border-left: 0;
  }

  .student-next-step {
    grid-column: auto;
  }

  .student-stream-grid {
    padding: 30px 18px 48px;
  }

  .student-rail-track {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 58vw);
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .student-stream-aside {
    margin-top: 20px;
  }

  .student-player-head {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }

  .student-player-course-title {
    display: none;
  }

  .student-player-head .student-progress {
    grid-template-columns: minmax(70px, 110px) auto;
  }

  .student-player-head .student-progress small {
    display: none;
  }

  .student-watch-column {
    padding: 10px;
    border-right: 0;
  }

  .lesson-list {
    max-height: none;
    border-top: 1px solid var(--student-line);
  }

  .student-media-stage {
    min-height: 220px;
  }

  .student-lesson-caption {
    grid-template-columns: 1fr;
  }

  .student-watch-actions {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .ebook-reader-head,
  .student-quiz-head,
  .student-quiz-submit {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .student-hero-backdrop {
    animation: none;
  }

  .student-content-card {
    transition: none;
  }
}

body.is-student-view #academy-student:not(.is-login-gate) .student-next-step button,
body.is-student-view #academy-student:not(.is-login-gate) .student-card-actions button {
  border-color: #0d2240 !important;
  background: #0d2240 !important;
  color: #fff !important;
}

/* Student area: calmer hierarchy, clearer navigation and useful empty states. */
#academy-student:not(.is-login-gate) .student-stream-shell {
  --student-surface: #fbfaf6;
  --student-surface-soft: #f2efe7;
  --student-ink: #0b2040;
  --student-muted-light: #65738a;
  grid-template-columns: 224px minmax(0, 1fr);
  background: var(--student-surface-soft);
}

#academy-student:not(.is-login-gate) .student-app-nav {
  width: 224px;
  gap: 6px;
  padding: 24px 12px 18px;
  border-right-color: rgba(218, 184, 108, .22);
  background:
    radial-gradient(circle at 50% 0, rgba(7, 55, 211, .36), transparent 34%),
    linear-gradient(180deg, #04162e 0%, #020b16 100%);
}

#academy-student:not(.is-login-gate) .student-app-brand {
  margin: 0 6px 22px;
  padding: 2px 12px 26px;
  border-bottom-color: rgba(218, 184, 108, .2);
}

#academy-student:not(.is-login-gate) .student-app-brand img {
  width: 142px;
}

#academy-student:not(.is-login-gate) .student-app-nav > button {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid transparent !important;
  border-radius: 10px;
  color: rgba(255, 255, 255, .72) !important;
  font-size: 13px;
  font-weight: 650;
}

#academy-student:not(.is-login-gate) .student-app-nav > button::before,
#academy-student:not(.is-login-gate) .student-app-nav > button::after {
  display: none;
}

#academy-student:not(.is-login-gate) .student-app-nav > button:hover {
  border-color: rgba(218, 184, 108, .16) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #fff !important;
}

#academy-student:not(.is-login-gate) .student-app-nav > button.active {
  border-color: rgba(218, 184, 108, .32) !important;
  background: linear-gradient(90deg, rgba(218, 184, 108, .18), rgba(218, 184, 108, .06)) !important;
  color: #f4d995 !important;
}

#academy-student:not(.is-login-gate) .student-nav-icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
}

#academy-student:not(.is-login-gate) .student-nav-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

#academy-student:not(.is-login-gate) .student-app-nav > [data-student-view="account"] {
  margin-top: auto;
  padding-top: 0;
  border-top-color: transparent !important;
}

#academy-student:not(.is-login-gate) .student-app-nav > .student-nav-logout {
  min-height: 46px;
  color: rgba(255, 255, 255, .52) !important;
}

#academy-student:not(.is-login-gate) .student-app-content {
  background: var(--student-surface-soft);
}

#academy-student:not(.is-login-gate) .student-app-topbar {
  min-height: 76px;
  padding: 12px clamp(22px, 3vw, 48px);
  border-bottom-color: rgba(11, 32, 64, .1);
  background: rgba(251, 250, 246, .94);
  box-shadow: 0 8px 30px rgba(11, 32, 64, .04);
}

#academy-student:not(.is-login-gate) .student-search {
  position: relative;
  width: min(620px, 56vw);
}

#academy-student:not(.is-login-gate) .student-search::before {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 14px;
  height: 14px;
  border: 1.7px solid #64748b;
  border-radius: 50%;
  content: "";
  transform: translateY(-58%);
}

#academy-student:not(.is-login-gate) .student-search::after {
  position: absolute;
  top: 27px;
  left: 29px;
  width: 6px;
  height: 1.7px;
  background: #64748b;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

#academy-student:not(.is-login-gate) .student-search input {
  min-height: 48px;
  padding: 0 18px 0 44px;
  border-color: rgba(11, 32, 64, .14);
  border-radius: 12px;
  background: #fff;
  color: var(--student-ink);
  font-size: 14px;
}

#academy-student:not(.is-login-gate) .student-search input:focus {
  border-color: var(--member-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--member-primary) 14%, transparent);
  outline: 0;
}

#academy-student:not(.is-login-gate) .student-user-summary {
  display: flex;
  min-width: 164px;
  min-height: 50px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 5px 6px 5px 14px;
  border: 1px solid rgba(11, 32, 64, .12);
  border-radius: 13px;
  background: #fff;
  color: var(--student-ink);
  box-shadow: 0 6px 18px rgba(11, 32, 64, .05);
}

#academy-student:not(.is-login-gate) .student-user-summary:hover {
  border-color: rgba(7, 55, 211, .35);
  box-shadow: 0 9px 24px rgba(11, 32, 64, .09);
  transform: none;
}

#academy-student:not(.is-login-gate) .student-user-summary > span {
  display: grid;
  gap: 1px;
  text-align: right;
}

#academy-student:not(.is-login-gate) .student-user-summary small {
  color: var(--student-muted-light);
  font-family: var(--academy-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

#academy-student:not(.is-login-gate) .student-user-summary b {
  color: var(--student-ink);
  font-size: 13px;
  font-weight: 700;
}

#academy-student:not(.is-login-gate) .student-user-summary strong,
#academy-student:not(.is-login-gate) .student-user-summary img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(218, 184, 108, .8);
  background: var(--member-primary);
  color: #fff;
}

#academy-student:not(.is-login-gate) .student-stream-hero {
  min-height: 390px;
  margin: 28px clamp(22px, 3vw, 48px) 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(11, 32, 64, .12);
  border-radius: 20px;
  background: #04152c;
  box-shadow: 0 18px 54px rgba(11, 32, 64, .14);
}

#academy-student:not(.is-login-gate) .student-hero-copy {
  width: min(700px, 68%);
  min-height: 390px;
  justify-content: center;
  padding: clamp(38px, 5vw, 64px);
}

#academy-student:not(.is-login-gate) .student-hero-copy h1 {
  max-width: 680px;
  margin: 10px 0 0;
  color: #f5f1e7;
  font-family: var(--academy-serif);
  font-size: clamp(42px, 4.5vw, 68px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
}

#academy-student:not(.is-login-gate) .student-hero-copy > p {
  max-width: 610px;
  color: rgba(255, 255, 255, .74);
  font-size: 15px;
  line-height: 1.65;
}

#academy-student:not(.is-login-gate) .student-stream-hero.is-empty {
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 32%, rgba(7, 55, 211, .68), transparent 34%),
    linear-gradient(120deg, #031326 0%, #06245f 100%);
}

#academy-student:not(.is-login-gate) .student-stream-hero.is-empty::before {
  background:
    linear-gradient(90deg, rgba(3, 19, 38, .98) 0%, rgba(3, 19, 38, .8) 48%, rgba(3, 19, 38, .12) 82%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .045) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 255, 255, .04) 80px);
}

#academy-student:not(.is-login-gate) .student-empty-visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(38px, 8vw, 130px);
  display: grid;
  width: clamp(160px, 20vw, 280px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(218, 184, 108, .3);
  border-radius: 50%;
  opacity: .72;
  transform: translateY(-50%);
}

#academy-student:not(.is-login-gate) .student-empty-visual::before,
#academy-student:not(.is-login-gate) .student-empty-visual::after {
  position: absolute;
  border: 1px solid rgba(218, 184, 108, .18);
  border-radius: 50%;
  content: "";
  inset: 12%;
}

#academy-student:not(.is-login-gate) .student-empty-visual::after {
  inset: -14%;
}

#academy-student:not(.is-login-gate) .student-empty-visual img {
  width: 42%;
  height: auto;
  opacity: .9;
}

#academy-student:not(.is-login-gate) .student-hero-actions {
  margin-top: 24px;
}

#academy-student:not(.is-login-gate) .student-hero-actions .button,
#academy-student:not(.is-login-gate) .student-hero-actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 11px;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}

#academy-student:not(.is-login-gate) .student-overview {
  grid-template-columns: minmax(240px, .8fr) minmax(420px, 1.35fr) minmax(230px, .75fr);
  gap: 16px;
  margin: 16px clamp(22px, 3vw, 48px) 0;
  border: 0;
  background: transparent;
}

#academy-student:not(.is-login-gate) .student-overview > div {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(11, 32, 64, .11);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 32, 64, .045);
}

#academy-student:not(.is-login-gate) .student-overview > div + div {
  border-left: 1px solid rgba(11, 32, 64, .11);
}

#academy-student:not(.is-login-gate) .student-progress-ring {
  width: 74px;
  background: conic-gradient(var(--member-primary) calc(var(--progress) * 1%), rgba(11, 32, 64, .09) 0);
}

#academy-student:not(.is-login-gate) .student-progress-ring::after {
  width: 60px;
}

#academy-student:not(.is-login-gate) .student-progress-ring strong {
  color: var(--student-ink);
  font-size: 22px;
}

#academy-student:not(.is-login-gate) .student-journey-strip li {
  color: var(--student-muted-light);
}

#academy-student:not(.is-login-gate) .student-journey-strip i {
  border-color: rgba(11, 32, 64, .18);
  color: var(--student-muted-light);
}

#academy-student:not(.is-login-gate) .student-journey-strip li.completed i,
#academy-student:not(.is-login-gate) .student-journey-strip li.active i {
  border-color: var(--member-primary);
  color: var(--member-primary);
}

#academy-student:not(.is-login-gate) .student-stream-grid {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  gap: 28px;
  padding: 36px clamp(22px, 3vw, 48px) 72px;
}

#academy-student:not(.is-login-gate) .student-stream-aside > details {
  overflow: hidden;
  padding: 0 20px 22px;
  border-color: rgba(11, 32, 64, .11);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(11, 32, 64, .045);
}

#academy-student:not(.is-login-gate) .student-stream-aside > details > summary {
  min-height: 54px;
  padding: 18px 0;
  color: #8c6826;
}

#academy-student:not(.is-login-gate) .student-empty-state {
  display: grid;
  min-height: 220px;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(11, 32, 64, .11);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(7, 55, 211, .045), transparent 55%),
    #fff;
  color: var(--student-muted-light);
  text-align: left;
}

#academy-student:not(.is-login-gate) .student-empty-state strong {
  color: var(--student-ink);
  font-family: var(--academy-serif);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 400;
}

#academy-student:not(.is-login-gate) .student-empty-state p {
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}

#academy-student:not(.is-login-gate) .student-empty-state .button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--member-primary);
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

#academy-student:not(.is-login-gate) :is(button, a, input):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--member-primary) 72%, white);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  #academy-student:not(.is-login-gate) .student-stream-shell {
    grid-template-columns: 188px minmax(0, 1fr);
  }

  #academy-student:not(.is-login-gate) .student-app-nav {
    width: 188px;
  }

  #academy-student:not(.is-login-gate) .student-app-brand img {
    width: 130px;
  }

  #academy-student:not(.is-login-gate) .student-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #academy-student:not(.is-login-gate) .student-next-step {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  #academy-student:not(.is-login-gate) .student-stream-shell {
    display: block;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  #academy-student:not(.is-login-gate) .student-app-nav {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(72px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    padding: 4px max(4px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4px, env(safe-area-inset-left));
    border-top: 1px solid rgba(218, 184, 108, .24);
    border-right: 0;
    background: rgba(3, 19, 38, .97);
    backdrop-filter: blur(18px);
  }

  #academy-student:not(.is-login-gate) .student-app-nav > button {
    display: grid;
    min-height: 64px;
    justify-items: center;
    align-content: center;
    gap: 4px;
    padding: 4px;
    border: 0 !important;
    border-radius: 8px;
    font-size: 10px;
  }

  #academy-student:not(.is-login-gate) .student-app-nav > button.active {
    background: rgba(218, 184, 108, .13) !important;
  }

  #academy-student:not(.is-login-gate) .student-nav-icon,
  #academy-student:not(.is-login-gate) .student-nav-icon svg {
    width: 20px;
    height: 20px;
  }

  #academy-student:not(.is-login-gate) .student-app-nav > [data-student-view="account"] {
    margin-top: 0;
  }

  #academy-student:not(.is-login-gate) .student-app-topbar {
    min-height: 66px;
    padding: 8px 14px;
  }

  #academy-student:not(.is-login-gate) .student-user-summary {
    min-width: 50px;
    min-height: 48px;
    padding: 4px;
    border: 0;
    box-shadow: none;
  }

  #academy-student:not(.is-login-gate) .student-user-summary > span {
    display: none;
  }

  #academy-student:not(.is-login-gate) .student-stream-hero {
    min-height: 390px;
    margin: 14px 14px 0;
    border-radius: 14px;
  }

  #academy-student:not(.is-login-gate) .student-hero-copy {
    width: 100%;
    min-height: 390px;
    padding: 34px 24px;
  }

  #academy-student:not(.is-login-gate) .student-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 54px);
  }

  #academy-student:not(.is-login-gate) .student-empty-visual {
    right: -38px;
    width: 180px;
    opacity: .18;
  }

  #academy-student:not(.is-login-gate) .student-hero-actions {
    display: grid;
    width: 100%;
  }

  #academy-student:not(.is-login-gate) .student-hero-actions .button,
  #academy-student:not(.is-login-gate) .student-hero-actions button {
    width: 100%;
  }

  #academy-student:not(.is-login-gate) .student-overview {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 12px 14px 0;
  }

  #academy-student:not(.is-login-gate) .student-overview > div,
  #academy-student:not(.is-login-gate) .student-overview > div + div {
    min-height: 0;
    padding: 20px;
    border: 1px solid rgba(11, 32, 64, .11);
  }

  #academy-student:not(.is-login-gate) .student-next-step {
    grid-column: auto;
  }

  #academy-student:not(.is-login-gate) .student-stream-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 14px 48px;
  }

  #academy-student:not(.is-login-gate) .student-empty-state {
    min-height: 230px;
    padding: 28px 22px;
  }
}

@media (max-width: 420px) {
  #academy-student:not(.is-login-gate) .mobile-student-brand img {
    width: 102px;
  }

  #academy-student:not(.is-login-gate) .student-stream-hero,
  #academy-student:not(.is-login-gate) .student-hero-copy {
    min-height: 420px;
  }

  #academy-student:not(.is-login-gate) .student-hero-copy h1 {
    font-size: clamp(36px, 11.5vw, 48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #academy-student:not(.is-login-gate) .student-user-summary,
  #academy-student:not(.is-login-gate) .student-app-nav > button,
  #academy-student:not(.is-login-gate) .student-content-card {
    transition: none;
  }
}

/* Dedicated digital stores */
#academy-catalog.is-store-view {
  min-height: calc(100vh + 340px);
  padding-top: 0;
}

#academy-catalog.is-store-view > :not(.academy-storefront) {
  display: none;
}

.academy-storefront {
  width: calc(100% + (var(--academy-gutter) * 2));
  margin-inline: calc(var(--academy-gutter) * -1);
  color: var(--academy-ink);
}

.academy-store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(72px, 9vw, 132px) var(--academy-gutter) clamp(58px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(7, 55, 211, .82), transparent 32%),
    linear-gradient(120deg, #021225 0%, #092766 100%);
  color: #fff;
}

.academy-store-hero > div,
.academy-store-hero > dl {
  width: 100%;
  max-width: 820px;
}

.academy-store-hero > div {
  justify-self: end;
}

.academy-store-hero .eyebrow {
  color: var(--academy-bronze);
}

.academy-store-hero h1 {
  max-width: 940px;
  margin: 22px 0 0;
  color: var(--academy-limestone);
  font-family: var(--academy-serif);
  font-size: clamp(52px, 6.4vw, 96px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .94;
}

.academy-store-hero > div > p:last-child {
  max-width: 740px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .72);
  font-family: var(--academy-serif);
  font-size: 20px;
  line-height: 1.6;
}

.academy-store-hero dl {
  display: grid;
  align-self: end;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.academy-store-hero dl > div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.academy-store-hero dt {
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.academy-store-hero dd {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-family: var(--academy-serif);
  font-size: 17px;
}

.academy-store-discovery,
.academy-store-results-head,
.academy-store-grid {
  width: min(var(--academy-max), calc(100% - (var(--academy-gutter) * 2)));
  margin-inline: auto;
}

.academy-store-discovery {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1.2fr);
  gap: 28px 44px;
  padding: 42px 0 28px;
  border-bottom: 1px solid var(--academy-line);
}

.academy-store-search label,
.academy-store-selects label {
  display: grid;
  gap: 10px;
  color: var(--academy-ink-soft);
  font-family: var(--academy-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.academy-store-search {
  display: grid;
  align-content: start;
  gap: 10px;
}

.academy-store-search > div {
  position: relative;
}

.academy-store-search input,
.academy-store-selects select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(11, 32, 64, .18);
  border-radius: 0;
  background: #fff;
  color: var(--academy-ink);
  font-family: var(--academy-sans);
  font-size: 14px;
}

.academy-store-search input {
  padding: 0 52px 0 17px;
}

.academy-store-search > div > span {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--academy-cobalt);
  font-size: 25px;
  transform: translateY(-54%);
  pointer-events: none;
}

.academy-store-selects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.academy-store-selects select {
  padding: 0 38px 0 13px;
}

.academy-store-categories {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px;
}

body:not(.is-admin-view) .academy-store-categories button {
  display: inline-flex;
  width: auto;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid rgba(11, 32, 64, .16);
  background: transparent;
  color: var(--academy-ink-soft);
  box-shadow: none;
  text-transform: capitalize;
}

body:not(.is-admin-view) .academy-store-categories button.active,
body:not(.is-admin-view) .academy-store-categories button:hover {
  border-color: var(--academy-cobalt);
  background: var(--academy-cobalt);
  color: #fff;
  transform: none;
}

.academy-store-categories button span {
  color: var(--academy-bronze);
  font-size: 9px;
}

.academy-store-results-head {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.academy-store-results-head > div {
  display: grid;
  gap: 5px;
}

.academy-store-results-head span {
  font-family: var(--academy-serif);
  font-size: 24px;
}

.academy-store-results-head small {
  color: var(--academy-ink-soft);
}

body:not(.is-admin-view) .academy-store-results-head button {
  width: auto;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--academy-cobalt);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.academy-store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: clamp(80px, 9vw, 132px);
}

.academy-store-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(11, 32, 64, .13);
  background: var(--academy-paper);
  box-shadow: 0 12px 34px rgba(11, 32, 64, .06);
  content-visibility: auto;
  contain-intrinsic-size: 640px;
}

body:not(.is-admin-view) .academy-store-more {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 240px;
}

body:not(.is-admin-view) .academy-store-card-cover {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 2 / 3;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(11, 32, 64, .12);
  border-radius: 0;
  background-color: #071321;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: none;
}

body:not(.is-admin-view) .academy-store-card-cover[data-product-type="course"] {
  min-height: 0;
  background-size: contain;
}

body:not(.is-admin-view) .academy-store-card-cover:hover {
  filter: brightness(1.04);
  transform: none;
}

.academy-store-card-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.academy-store-card-cover[data-product-type="course"] > img {
  height: 100%;
  object-fit: contain;
}

.academy-store-card-cover > span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  background: var(--academy-cobalt);
  color: #fff;
  font-family: var(--academy-mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.academy-store-card-body {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px;
}

.academy-store-card-body > small {
  min-height: 24px;
  color: var(--academy-bronze);
  font-family: var(--academy-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.academy-store-card h2 {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--academy-ink);
  font-family: var(--academy-serif);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.academy-store-card-body > p {
  display: -webkit-box;
  margin: 14px 0 22px;
  overflow: hidden;
  color: var(--academy-ink-soft);
  font-family: var(--academy-serif);
  font-size: 15px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.academy-store-card-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--academy-line);
}

.academy-store-card-price > div {
  display: grid;
  gap: 2px;
}

.academy-store-card-price del,
.academy-store-card-price > span {
  color: var(--academy-ink-soft);
  font-size: 11px;
}

.academy-store-card-price strong {
  font-family: var(--academy-serif);
  font-size: 25px;
  font-weight: 400;
}

.academy-store-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

body:not(.is-admin-view) .academy-store-card-actions button {
  min-height: 44px;
  margin: 0;
  padding: 0 10px;
}

.academy-store-empty,
.academy-store-loading {
  grid-column: 1 / -1;
  display: grid;
  min-height: 320px;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 40px;
  border: 1px solid var(--academy-line);
  text-align: center;
}

.academy-store-empty strong {
  font-family: var(--academy-serif);
  font-size: 34px;
  font-weight: 400;
}

.academy-store-empty p {
  margin: 0;
  color: var(--academy-ink-soft);
}

body:not(.is-admin-view) .academy-store-empty button {
  width: auto;
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .academy-store-hero {
    grid-template-columns: 1fr;
  }

  .academy-store-hero > div,
  .academy-store-hero > dl {
    max-width: none;
    justify-self: stretch;
  }

  .academy-store-hero dl {
    grid-template-columns: repeat(3, 1fr);
  }

  .academy-store-hero dl > div {
    grid-template-columns: 1fr;
    padding-right: 18px;
  }

  .academy-store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .academy-store-hero {
    padding-top: 62px;
  }

  .academy-store-hero h1 {
    font-size: clamp(48px, 12vw, 72px);
  }

  .academy-store-hero dl {
    grid-template-columns: 1fr;
  }

  .academy-store-discovery {
    grid-template-columns: 1fr;
  }

  .academy-store-selects {
    grid-template-columns: 1fr;
  }

  .academy-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .academy-store-hero {
    padding-inline: 22px;
  }

  .academy-store-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .academy-store-hero > div > p:last-child {
    font-size: 17px;
  }

  .academy-store-discovery,
  .academy-store-results-head,
  .academy-store-grid {
    width: calc(100% - 32px);
  }

  .academy-store-results-head {
    min-height: 96px;
  }

  .academy-store-grid {
    grid-template-columns: 1fr;
  }

}
