@font-face {
  font-family: MineManrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(assets/fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: MineManrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(assets/fonts/manrope-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
/* MineCode — natural surfaces, square silhouettes, quiet game details. */
:root {
  --ink: #1d3027;
  --muted: #67746b;
  --paper: #f7f8f1;
  --line: #dbe1d4;
  --green: #79b737;
  --green-dark: #3a711f;
  --lime: #a1d157;
  --dark: #14251f;
  --dark-surface: #1d3128;
  --cyan: #77d9d1;
  --gold: #e8bf68;
  --font: MineManrope, Arial, Helvetica, sans-serif;
  --display: MineManrope, Arial, Helvetica, sans-serif;
  --mono: "Courier New", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img,
svg,
canvas {
  max-width: 100%;
}
button,
fieldset {
  border: 0;
}
button {
  background: none;
}
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.1;
}
h1,
h2 {
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(2.15rem, 4.2vw, 3.8rem);
  font-weight: 800;
}
h3 {
  letter-spacing: -0.025em;
}
p {
  color: var(--muted);
}
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
pre {
  margin: 0;
  white-space: pre-wrap;
}
button:disabled {
  cursor: wait;
}
button,
a,
summary,
input,
select {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #3891d5;
  outline-offset: 5px;
}
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.mono,
.eyebrow {
  font-family: var(--mono);
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1.5;
  color: var(--green-dark);
  margin-bottom: 24px;
}
.section-dark .eyebrow {
  color: var(--lime);
}
.green-text {
  color: var(--green-dark);
}
.cyan-text {
  color: var(--cyan) !important;
}
.gold-text {
  color: var(--gold) !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  z-index: 200;
  background: var(--paper);
  padding: 12px 24px;
}
.skip-link:focus {
  transform: translateY(0);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 52px;
  padding: 14px 23px;
  background: var(--green);
  color: #172a17;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  border: 1px solid #5d9527;
  border-bottom: 4px solid #4b7d24;
  box-shadow: inset 0 1px 0 #b6db83;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  background: #8cc44a;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 #bfdf93,
    0 4px 0 #1e361619;
}
.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}
.btn span {
  font-size: 1.25rem;
}
.btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}
.btn-large {
  min-height: 60px;
  padding: 17px 26px;
  font-size: 1rem;
}
.btn-small {
  min-height: 43px;
  padding: 10px 17px;
  font-size: 0.875rem;
  gap: 18px;
}
.btn-outline {
  background: transparent;
  border: 1px solid #c7d0c0;
  border-bottom: 3px solid #c7d0c0;
  box-shadow: none;
}
.btn-outline:hover {
  background: #ebefdf;
}
.text-link,
.inline-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 12px 0;
}
.text-link:hover,
.inline-button:hover {
  color: var(--green-dark);
}
.text-link span,
.inline-button span {
  font-size: 1.3rem;
}
.small-note {
  font-size: 0.75rem;
  line-height: 1.6;
}
.xp-progress {
  position: fixed;
  top: 0;
  height: 3px;
  left: 0;
  width: 100%;
  z-index: 101;
}
.xp-progress i {
  display: block;
  height: 100%;
  background: var(--green);
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
.site-header {
  height: 83px;
  background: #f7f8f1f5;
  border-bottom: 1px solid #dce2d9;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1;
  flex-shrink: 0;
}
.brand > span > .brand-code {
  color: var(--green-dark);
}
.brand-period {
  color: var(--green-dark);
}
.brand-icon {
  width: 31px;
  height: 36px;
}
.desktop-nav {
  display: flex;
  gap: 26px;
  margin: auto;
  font-size: 0.875rem;
  font-weight: 500;
}
.desktop-nav a {
  padding: 12px 0;
  position: relative;
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-dark);
  transition: width 0.2s;
}
.desktop-nav a:hover:after {
  width: 100%;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 0.2s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.mobile-menu {
  position: absolute;
  top: 82px;
  left: 0;
  width: 100%;
  background: var(--paper);
  border-bottom: 3px solid var(--green);
  padding: 18px 24px 30px;
  box-shadow: 0 16px 25px #192b2718;
}
.mobile-menu > a {
  display: block;
  padding: 12px 0;
}
.mobile-menu .btn {
  margin-top: 15px;
  width: 100%;
}
/* The hero is an actual lightweight Three.js world. */
.hero {
  background: #e8eff0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  gap: 0;
  min-height: 704px;
  align-items: center;
  position: relative;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 63px 0 39px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #52664d;
}
.pixel-cross {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--green);
  clip-path: polygon(
    33% 0,
    66% 0,
    66% 33%,
    100% 33%,
    100% 66%,
    66% 66%,
    66% 100%,
    33% 100%,
    33% 66%,
    0 66%,
    0 33%,
    33% 33%
  );
  flex-shrink: 0;
}
h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.65rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.052em;
  max-width: 650px;
}
h1 > span {
  color: var(--green-dark);
}
.hero-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 465px;
  margin-top: 27px;
  color: #53635c;
}
.hero-facts {
  display: flex;
  gap: 22px;
  margin-top: 23px;
  font-size: 0.75rem;
  color: #67766d;
}
.hero-facts > span {
  display: flex;
  flex-direction: column;
}
.hero-facts b {
  font-size: 0.875rem;
  color: #2f4437;
}
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
}
.hero-actions > .text-link {
  font-size: 0.8125rem;
  gap: 8px;
}
.hero-copy > .small-note {
  margin-top: 12px;
}
.hero-teacher-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #788179;
}
.hero-teacher-note strong {
  font-weight: 500;
  color: #56685b;
}
.pixel-code {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  background: #dbe5d7;
  border: 1px solid #b5c5a9;
  color: #55733c;
}
.hero-world {
  position: relative;
  align-self: stretch;
  min-width: 0;
}
.world-coordinates {
  position: absolute;
  z-index: 1;
  top: 38px;
  left: 25px;
  width: calc(100% - 20px);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #798d80;
}
.world-coordinates span {
  color: #899c92;
}
.scene-viewport {
  position: absolute;
  left: -38px;
  top: 4px;
  width: calc(100% + 120px);
  height: 560px;
}
.scene-viewport canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}
.scene-viewport:active canvas {
  cursor: grabbing;
}
.scene-fallback {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.scene-fallback p {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.1;
  color: #3a7138;
}
.fallback-symbol {
  font-family: var(--mono);
  font-size: 6rem;
  color: var(--green);
}
.fallback-blocks {
  display: flex;
  gap: 5px;
  height: 30px;
  margin-top: 25px;
}
.fallback-blocks i {
  width: 26px;
  height: 26px;
  background: #61c3c5;
  border: 4px solid #36969f;
}
.world-label {
  position: absolute;
  left: 30px;
  top: 463px;
  font-size: 0.75rem;
  background: #f7f8f1e8;
  border: 1px solid #ccdac4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  transform: rotate(-3deg);
  color: #52714a;
  box-shadow: 3px 3px 0 #2939280d;
}
.code-console {
  position: absolute;
  z-index: 3;
  left: 8%;
  right: 2%;
  bottom: 45px;
  background: #182c24;
  color: #dee8d7;
  box-shadow: 7px 7px 0 #acbfb048;
  border: 1px solid #304a3b;
  transform: rotate(-1.2deg);
}
.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #354739;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #a1b79e;
}
.console-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.console-top i {
  width: 7px;
  height: 7px;
  background: var(--lime);
}
.console-top > span:last-child {
  font-size: 0.75rem;
  color: #6f897b;
}
.code-console pre {
  padding: 16px 20px 13px;
  font-size: 0.875rem;
  line-height: 1.9;
  font-family: var(--mono);
}
.code-purple {
  color: #d5a7e1;
}
.code-blue {
  color: #84cce2;
}
.code-gold {
  color: #edc36f;
}
.code-green {
  color: #b5d88b;
}
.console-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px 13px 20px;
  gap: 12px;
}
.console-bottom > span {
  font-size: 0.75rem;
  color: #9bb69c;
}
.run-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #a8d167;
  color: #173320;
  padding: 9px 13px;
  font-size: 0.75rem;
  font-weight: 700;
  border-bottom: 3px solid #68894b;
  line-height: 1.3;
  white-space: nowrap;
}
.run-button:hover {
  background: #b8e27c;
}
.run-button span {
  font-size: 0.75rem;
}
.run-button:disabled {
  opacity: 0.6;
}
.scene-caption {
  position: absolute;
  bottom: 9px;
  right: 7%;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #607166;
}
.hero-bottom {
  height: 52px;
  border-top: 1px solid #ccd9d1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-bottom > .mono {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: #728778;
}
.hero-bottom > a {
  font-size: 0.75rem;
  color: #58704f;
}
.hero-bottom > a > span {
  margin-left: 10px;
}
.terrain-edge {
  height: 12px;
  background: linear-gradient(
    90deg,
    #3b692e 25%,
    #689138 25%,
    #689138 50%,
    #4e7f32 50%,
    #4e7f32 75%,
    #65913b 75%
  );
  background-size: 96px 12px;
  border-bottom: 5px solid #8a7350;
}
/* Alternating, purpose-specific section layouts. */
.section-light {
  background: var(--paper);
}
.section-dark {
  background: var(--dark);
  color: #f1f4e9;
}
.section-dark p {
  color: #a9b8aa;
}
.section-heading {
  margin-bottom: 48px;
}
.section-heading > p:not(.eyebrow) {
  margin-top: 22px;
  max-width: 550px;
}
.section-heading.centered {
  text-align: center;
}
.section-heading.centered > p {
  margin-inline: auto;
}
.heading-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}
.heading-split > p {
  max-width: 360px;
  font-size: 0.9375rem;
}
.heading-split p strong {
  color: #d2dfc7;
  font-weight: 500;
}
.value-section {
  padding: 96px 0 90px;
}
.value-section .section-heading {
  max-width: 700px;
}
.compare-layout {
  display: grid;
  grid-template-columns: 1fr 50px 1.1fr;
  align-items: stretch;
}
.compare-side {
  padding: 30px 34px;
  border: 1px solid var(--line);
}
.compare-before {
  background: #eef0e7;
}
.compare-after {
  background: #edf3df;
  border-color: #bbd69d;
  box-shadow: 5px 5px 0 #dce5c8;
}
.compare-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare-title .mono {
  font-size: 0.75rem;
  color: #83907a;
  letter-spacing: 0.1em;
}
.compare-title h3 {
  font-size: 1.7rem;
}
.compare-before h3 {
  color: #788271;
}
.compare-after h3 {
  color: #3d6c28;
}
.compare-after h3 > span {
  float: right;
  font-size: 1.6rem;
  color: #79a840;
}
.compare-side ul {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  font-size: 0.9375rem;
}
.compare-side li {
  padding-left: 22px;
  position: relative;
}
.compare-before li {
  color: #7d8678;
}
.compare-before li:before {
  content: "−";
  position: absolute;
  left: 0;
  color: #a8b1a0;
}
.compare-after li:before {
  content: "+";
  position: absolute;
  left: 0;
  color: #629531;
  font-weight: bold;
}
.compare-label {
  display: block;
  font-size: 0.75rem;
  margin-top: 27px;
  padding-top: 17px;
  border-top: 1px solid #d8e0ce;
  color: #849077;
}
.compare-after .compare-label {
  color: #648248;
  border-color: #ccddb8;
}
.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #91a17e;
}
.value-summary {
  font-size: 1.35rem;
  text-align: center;
  line-height: 1.5;
  margin-top: 45px;
  color: #75836c;
}
.value-summary strong {
  color: #3a582c;
  font-weight: 700;
}
.program-section {
  padding: 98px 0 40px;
}
.course-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-bottom: 1px solid #3b4b3c;
  padding-bottom: 24px;
}
.course-tab {
  padding: 19px;
  display: flex;
  gap: 15px;
  align-items: center;
  text-align: left;
  border: 1px solid #3b4b3c;
  color: #c6d2be;
  position: relative;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.course-tab.active {
  background: #293e2b;
  border: 1px solid #88b152;
  box-shadow: inset 0 -3px 0 #86ae4f;
}
.course-tab:hover {
  background: #273a2c;
}
.level-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 48px;
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  border: 2px solid;
  box-shadow: 3px 3px 0 #0004;
  flex-shrink: 0;
}
.grass-symbol {
  color: #a5d861;
  background: #395b2f;
  border-color: #597b3b;
}
.diamond-symbol {
  color: #7edace;
  background: #284f4b;
  border-color: #3c7c72;
}
.gold-symbol {
  color: #e4bf6d;
  background: #534b2e;
  border-color: #8e773f;
}
.course-tab small {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  color: #97aa8e;
  margin-bottom: 5px;
  line-height: 1.5;
}
.course-tab strong {
  font-size: 1.625rem;
  line-height: 1;
}
.tab-arrow {
  margin-left: auto;
  align-self: flex-start;
  color: #719165;
}
.course-tab.active .tab-arrow {
  color: #aad366;
}
.course-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  padding: 52px 0 30px;
  min-height: 505px;
}
.course-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  color: #a4c681;
  line-height: 1.6;
  margin-bottom: 22px;
}
.course-overview h3 {
  font-size: 2.7rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.course-overview > p {
  margin-top: 22px;
  max-width: 400px;
  font-size: 0.9375rem;
}
.course-stats {
  display: flex;
  gap: 40px;
  margin: 28px 0 30px;
}
.course-stats > span {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  color: #8ca17f;
}
.course-stats b {
  color: #e2ebd4;
  font-size: 1.6rem;
  line-height: 1.4;
}
.course-overview .btn {
  font-size: 0.875rem;
}
.makecode-preview {
  padding: 25px 28px 16px;
  border: 1px solid #3d503e;
  background: #182b24;
  min-height: 207px;
}
.mc-block {
  font-size: 0.75rem;
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1.5;
  color: #f3f5e8;
  border-radius: 3px;
  padding: 8px 12px;
  max-width: 360px;
  box-shadow: 0 2px 0 #0005;
}
.mc-block span {
  display: inline-block;
  border-radius: 12px;
  background: #fff;
  font-size: 0.75rem;
  color: #425140;
  min-width: 24px;
  text-align: center;
  padding: 1px 7px;
}
.mc-event {
  background: #c39023;
  width: 90%;
  padding-bottom: 12px;
}
.mc-loop {
  background: #638f30;
  position: relative;
  margin-top: 8px;
  width: 95%;
}
.mc-action {
  background: #348c9d;
  margin-top: 7px;
  margin-left: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.mc-action b {
  color: #aae2d6;
}
.code-caption {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #7b9b75;
  margin-top: 18px;
}
.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 28px;
}
.curriculum-grid h4 {
  font-size: 0.875rem;
  letter-spacing: 0;
  margin-bottom: 15px;
  color: #e0e7d8;
}
.clean-list {
  display: grid;
  gap: 9px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #a6b4a1;
}
.clean-list li {
  padding-left: 14px;
  position: relative;
}
.clean-list li:before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  top: 0.6em;
  left: 0;
  background: #789364;
}
.program-details {
  margin-top: 23px;
  border-top: 1px solid #3a4b3b;
  padding-top: 16px;
  font-size: 0.8125rem;
}
.program-details summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  color: #aec396;
  list-style: none;
}
.program-details p {
  font-size: 0.8125rem;
  line-height: 1.7;
  margin-top: 15px;
}
.program-bottom {
  border-top: 1px solid #394b39;
  margin-top: 20px;
  padding: 19px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  font-size: 0.75rem;
  color: #94a78c;
}
.program-bottom > span > span {
  color: #b0c891;
  margin-right: 8px;
}
.program-bottom .inline-button {
  color: #a9c87e;
  white-space: nowrap;
  font-size: 0.75rem;
}
.middle-demo {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 246px;
  gap: 10px;
  padding: 20px 22px;
  background: #12241e;
  border: 1px solid #3c5544;
}
.middle-demo .mono {
  font-size: 0.75rem;
  color: #738f7b;
}
.middle-demo pre {
  font-size: 0.75rem;
  line-height: 1.75;
  color: #cce1cd;
  margin: 15px 0;
}
.middle-demo .run-button {
  font-size: 0.75rem;
  padding: 8px 12px;
}
.middle-demo > div:last-of-type {
  min-width: 0;
  min-height: 190px;
  position: relative;
}
.middle-demo canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.tower-fallback {
  display: block;
  color: #76d5cc;
  text-align: center;
  line-height: 1;
  font-size: 2.5rem;
  padding: 25px;
}
.senior-panel {
  display: block;
  padding-top: 45px;
}
.senior-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
}
.senior-intro h3 {
  font-size: 2.6rem;
}
.senior-intro .course-tag {
  margin-bottom: 14px;
}
.senior-intro p {
  font-size: 0.875rem;
  max-width: 610px;
  margin-top: 17px;
}
.senior-intro .btn {
  flex-shrink: 0;
  font-size: 0.8125rem;
}
.branch-root {
  font-size: 0.75rem;
  color: #a5b392;
  text-align: center;
  margin: 35px 0 0;
}
.branch-root > span {
  display: block;
  font-size: 1.4rem;
}
.senior-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  border-top: 1px solid #65764b;
  padding-top: 25px;
  align-items: start;
}
.senior-branches article {
  position: relative;
  background: #20332a;
  border: 1px solid #435340;
  padding: 25px 23px;
  display: flex;
  flex-direction: column;
}
.senior-branches article:before {
  content: "";
  width: 1px;
  height: 25px;
  background: #65764b;
  position: absolute;
  top: -26px;
  left: 50%;
}
.branch-number {
  font-size: 0.75rem;
  color: #b59b59;
}
.senior-branches h4 {
  font-size: 1.4rem;
  margin-top: 17px;
}
.branch-tech {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #7ba78c;
  margin-top: 9px;
}
.senior-branches p {
  font-size: 0.8125rem;
  margin-top: 16px;
}
.senior-branches details {
  font-size: 0.75rem;
  margin: 20px 0;
}
.senior-branches details summary {
  color: #b5c89b;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.branch-result {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #42523d;
  line-height: 1.55;
}
.branch-result small {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #8c9f7b;
  letter-spacing: 0.04em;
}
.branch-result strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 6px;
  color: #d1dfb6;
}
.format-section {
  padding: 102px 0;
}
.format-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 110px;
}
.format-title h2 {
  font-size: clamp(2rem, 3.3vw, 3.2rem);
}
.format-title > p:not(.eyebrow) {
  max-width: 430px;
  margin-top: 24px;
  font-size: 0.9375rem;
}
.one-to-one {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 33px;
  max-width: 375px;
}
.one-to-one > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: #718066;
}
.one-to-one i {
  width: 66px;
  height: 64px;
  border: 2px solid #b2c990;
  background: #e2eccf;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: bold;
  color: #4b6f2d;
  box-shadow: 4px 4px 0 #d1dcbf;
}
.one-to-one > div {
  align-self: flex-start;
  padding-top: 5px;
  color: #5c7d38;
  text-align: center;
  width: 80px;
}
.one-to-one > div > b {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
}
.one-to-one > div > span {
  display: block;
  overflow: hidden;
  height: 1px;
  width: 100%;
  background: #94b66c;
  margin-top: 15px;
  font-size: 0;
}
.format-title p.format-footnote {
  font-size: 0.75rem;
  margin-top: 15px;
  color: #919885;
}
.format-points article {
  display: flex;
  gap: 25px;
  border-top: 1px solid #d5ddca;
  padding: 24px 0;
}
.format-points article:first-child {
  padding-top: 8px;
  border-top: 0;
}
.format-points article > .mono {
  font-size: 0.75rem;
  color: #6e8f49;
  padding-top: 4px;
}
.format-points h3 {
  font-size: 1.35rem;
}
.format-points p {
  font-size: 0.875rem;
  margin-top: 12px;
  line-height: 1.7;
}
.teacher-section {
  background: #e8eddf;
  padding: 83px 0;
}
.teacher-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.teacher-terminal {
  background: #1b2b23;
  color: #e9f0e0;
  box-shadow: 8px 8px 0 #c6d2b8;
  border: 1px solid #445b3a;
  transform: rotate(-1.5deg);
}
.terminal-bar {
  padding: 12px 20px;
  border-bottom: 1px solid #3f5037;
  background: #27372c;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.75rem;
  color: #94a88c;
}
.terminal-bar > span:last-child {
  white-space: nowrap;
}
.terminal-body {
  padding: 30px;
}
.terminal-prompt {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #a0bd7d;
}
.terminal-body h3 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 18px 0 30px;
}
.terminal-body h3 span {
  color: #a2c16e;
}

.teacher-carousel {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  margin: -4px 0 10px;
}

.teacher-carousel-window {
  min-width: 0;
  overflow: hidden;
}

.teacher-carousel-track {
  display: flex;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.teacher-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 17px;
}

.teacher-slide img {
  margin-left: 5px;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid #536a47;
  border-radius: 2px;
  background: #18291a;
}

.teacher-slide-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.teacher-status {
  margin-bottom: 7px;
  font-size: 0.625rem;
  color: #86b547;
}

.teacher-slide-info strong {
  color: #d5e2cc;
  font-size: 1rem;
  font-weight: 700;
}

.teacher-slide-info small {
  display: block;
  margin-top: 5px;
  color: #7f9871;
  font-size: 0.6875rem;
  line-height: 1.45;
}

.teacher-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #47613b;
  background: #18291a;
  color: #a2c16e;
  font-family: var(--mono);
  font-size: 0.875rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.teacher-arrow:hover {
  background: #253b27;
  border-color: #74954f;
  color: #d1e6ae;
  transform: translateY(-1px);
}

.teacher-arrow:active {
  transform: translateY(1px);
}

.teacher-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 13px 0 25px;
}

.teacher-carousel-dots button {
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  background: #43573b;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.teacher-carousel-dots button.active {
  width: 18px;
  background: #86b547;
}
.skill-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.75rem;
  margin: 16px 0;
  color: #bdcdb4;
}
.skill-meter > i {
  height: 8px;
  width: 90px;
  flex-shrink: 0;
  border: 1px solid #47613b;
  background: #18291a;
  display: block;
  position: relative;
}
.skill-meter b {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    #86b547 0 7px,
    transparent 7px 9px
  );
  width: var(--fill);
}
.terminal-footer {
  display: block;
  font-size: 0.75rem;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #3a4e32;
  color: #7f9871;
  letter-spacing: 0.05em;
}
.teacher-copy h2 {
  font-size: 3.2rem;
}
.teacher-copy > p:not(.eyebrow) {
  font-size: 0.9375rem;
  margin-top: 25px;
}
.teacher-benefits {
  display: grid;
  gap: 13px;
  margin: 24px 0;
  font-size: 0.8125rem;
  color: #53694b;
}
.teacher-benefits li {
  position: relative;
  padding-left: 23px;
}
.teacher-benefits li:before {
  content: "+";
  position: absolute;
  left: 0;
  color: #6e983f;
  font-weight: 700;
}
.teacher-copy .text-link {
  font-size: 0.8125rem;
  color: #41652e;
}
.journey-section {
  padding: 98px 0;
}
.journey-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  position: relative;
}
.journey-list:before {
  content: "";
  height: 1px;
  background: #b9c6a4;
  top: 23px;
  left: 0;
  right: 0;
  position: absolute;
}
.journey-list li {
  position: relative;
  min-width: 0;
}
.journey-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #eff3e5;
  border: 1px solid #c8d6b2;
  box-shadow: 3px 3px 0 #e1e7d4;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: #668847;
  margin-bottom: 30px;
  position: relative;
}
.journey-list li:first-child .journey-marker {
  background: var(--green);
  border-color: #65943b;
  color: #22400f;
}
.journey-badge {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #8b9c79;
  letter-spacing: 0.06em;
}
.journey-list h3 {
  font-size: 1.25rem;
  margin: 13px 0 17px;
}
.journey-list p {
  font-size: 0.8125rem;
  line-height: 1.75;
}
.projects-section {
  padding: 83px 0 90px;
}
.projects-section h2 {
  font-size: 3.1rem;
}
.project-workbench {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.inventory-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 143px;
  border: 1px solid #40543e;
  border-top: 3px solid #506047;
  border-left: 3px solid #506047;
  background: #22352b;
  color: #b3c4a7;
  position: relative;
  padding: 15px 8px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.inventory-item:before {
  content: attr(data-slot);
  position: absolute;
  top: 7px;
  left: 9px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #6d8262;
}
.inventory-item:hover {
  background: #2c4230;
  transform: translateY(-3px);
}
.inventory-item.active {
  background: #304532;
  border-color: #93b25c;
  box-shadow: inset 0 0 0 1px #719347;
  color: #e0ecd3;
}
.inventory-item > svg {
  width: 45px;
  height: 45px;
  image-rendering: pixelated;
  filter: drop-shadow(3px 4px 0 #06120b66);
  transition: transform 0.2s;
}
.inventory-item:hover > svg {
  transform: translateY(-3px);
}
.inventory-item > span {
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: center;
}
.project-detail {
  padding: 28px 34px;
  background: #20312a;
  border: 1px solid #41503d;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.project-rarity {
  font-size: 0.75rem;
  color: #b6d084;
  letter-spacing: 0.08em;
}
.project-large-icon {
  align-self: center;
  margin: 22px 0 16px;
}
.project-large-icon svg {
  width: 85px;
  height: 85px;
  filter: drop-shadow(5px 6px 0 #0b1e1566);
}
.project-detail h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.project-detail > p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 360px;
}
.project-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0;
}
.project-skills > span {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.4;
  color: #b7c9a4;
  border: 1px solid #4b603c;
  background: #293b2a;
  padding: 7px 9px;
}
.project-tip {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #76916c;
  border-top: 1px solid #3c4c36;
  padding-top: 19px;
  margin-top: auto;
  width: 100%;
}
.prices-section {
  padding: 100px 0 78px;
}
.prices-section .section-heading {
  margin-bottom: 70px;
}
.prices-section h2 {
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  line-height: 1.12;
}
.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  padding: 30px 28px 28px;
  border: 1px solid #d3dcc7;
  background: #f4f6ed;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-index {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  color: #909e7f;
}
.price-card h3 {
  font-size: 1.5rem;
  margin: 24px 0;
}
.price {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.price > span:not(.old-price) {
  font-size: 1.7rem;
  font-weight: 500;
}
.price-per {
  font-size: 0.8125rem;
  color: #6e805b;
  margin-top: 5px;
}
.price-card .old-price {
  font-size: 1rem;
  color: #8a9d71;
  position: absolute;
  top: 104px;
  left: 30px;
  letter-spacing: 0;
  text-decoration: line-through;
  font-weight: 400;
}
.price-featured h3 {
  margin-bottom: 38px;
}
.price-featured .price {
  margin-top: -14px;
}
.price-card ul {
  margin: 29px 0 32px;
  display: grid;
  gap: 13px;
  font-size: 0.8125rem;
  line-height: 1.6;
  flex: 1;
}
.price-card li {
  padding-left: 20px;
  position: relative;
  color: #5f7251;
}
.price-card li:before {
  content: "+";
  position: absolute;
  left: 0;
  color: #82a556;
  font-weight: 700;
}
.price-card .btn {
  width: 100%;
  font-size: 0.8125rem;
  justify-content: space-between;
  gap: 10px;
}
.price-featured {
  border: 2px solid #8ead56;
  background: #edf3df;
  box-shadow: 5px 5px 0 #d3dfbc;
  padding: 29px 27px 27px;
}
.popular-label {
  position: absolute;
  top: -31px;
  left: -2px;
  right: -2px;
  height: 30px;
  background: #8ba94b;
  color: #182b15;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.8;
  margin-top: 37px;
  color: #7e8b72;
}
.faq-section {
  padding: 45px 0 110px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 95px;
}
.faq-heading h2 {
  font-size: 3rem;
}
.faq-heading p:not(.eyebrow) {
  font-size: 0.875rem;
  margin-top: 25px;
}
.faq-heading .text-link {
  color: #537b32;
  margin-top: 10px;
}
.faq-list details {
  border-bottom: 1px solid #d6dfca;
}
.faq-list details:first-child {
  border-top: 1px solid #d6dfca;
}
.faq-list summary {
  padding: 21px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.55;
}
.faq-list summary > span {
  font-family: var(--mono);
  font-size: 1.15rem;
  color: #71944d;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list details p {
  font-size: 0.875rem;
  line-height: 1.8;
  padding: 0 32px 23px 0;
}
.faq-list details p a {
  color: var(--green-dark);
  text-decoration: underline;
}
summary::-webkit-details-marker {
  display: none;
}
.final-section {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  overflow: hidden;
  background: #0a1c29;
}
.final-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  z-index: -2;
  image-rendering: auto;
}
.final-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #0b1c2cec 0%,
    #0b1c2cc9 26%,
    #0b1c2c68 50%,
    transparent 78%
  );
}
.final-copy {
  padding: 78px 0;
}
.final-copy > .eyebrow {
  color: #a5c78d;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.final-copy h2 {
  color: #f1f5e9;
  font-size: clamp(2.2rem, 4.3vw, 3.9rem);
  line-height: 1.08;
}
.final-copy h2 span {
  color: #aad379;
}
.final-copy > p:not(.eyebrow) {
  font-size: 0.9375rem;
  color: #bcc9c5;
  line-height: 1.8;
  margin: 25px 0 28px;
}
.final-copy .btn {
  font-size: 0.875rem;
}
.final-note {
  display: block;
  font-size: 0.75rem;
  color: #9dadab;
  margin-top: 15px;
}
.site-footer {
  background: #12221e;
  color: #adbea5;
  padding: 39px 0 28px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 31px;
  border-bottom: 1px solid #354630;
}
.footer-top .brand {
  font-size: 1.65rem;
  gap: 0;
  color: #edf1e1;
}
.footer-top .brand-code {
  color: #a2be76;
}
.footer-top .brand-period {
  color: #a2be76;
}
.footer-top p {
  font-size: 0.75rem;
  color: #7e9876;
  margin-right: auto;
}
.footer-top > a:not(.brand),
.footer-top > .inline-button {
  font-size: 0.75rem;
  white-space: nowrap;
}
.footer-top > .inline-button {
  color: #a9c783;
}
.footer-bottom {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  font-size: 0.75rem;
  line-height: 1.8;
  color: #768c6f;
  padding-top: 24px;
}
.footer-bottom > span:first-child {
  white-space: nowrap;
}
.footer-bottom > span:nth-child(2) {
  max-width: 610px;
}
.footer-bottom .mono {
  margin-left: auto;
  font-size: 0.75rem;
  white-space: nowrap;
}
.achievement {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: calc(100% - 32px);
  padding: 16px 22px;
  background: #213429;
  color: #dbe8c9;
  border: 2px solid #8caa56;
  box-shadow: 5px 5px 0 #12221e33;
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition:
    transform 0.4s,
    opacity 0.4s;
  pointer-events: none;
}
.achievement.show {
  transform: translateY(0);
  opacity: 1;
}
.achievement-icon {
  color: #b8cd75;
  font-size: 2rem;
}
.achievement small {
  font-family: var(--mono);
  display: block;
  color: #b4cc7c;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.achievement strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
}
/* Native dialog provides focus containment and keyboard semantics. */
.enroll-dialog {
  width: min(580px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  border: 1px solid #8da36e;
  border-top: 5px solid #87ac4e;
  padding: 0;
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 9px 9px 0 #17282050;
  scrollbar-width: thin;
  scrollbar-color: #a2b986 transparent;
}
.enroll-dialog::backdrop {
  background: #0c1a20bb;
}
.dialog-content {
  padding: 32px 38px 25px;
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  font-size: 1.7rem;
  line-height: 1;
  background: #e9eede;
  border: 1px solid #d2ddc3;
  z-index: 2;
  color: #647f4d;
}
.dialog-close:hover {
  background: #dce7cb;
}
.dialog-content > .eyebrow {
  font-size: 0.75rem;
  margin-bottom: 17px;
  padding-right: 20px;
}
.dialog-content h2 {
  font-size: 2.4rem;
  line-height: 1.03;
}
.dialog-intro {
  font-size: 0.8125rem;
  margin-top: 14px;
  line-height: 1.7;
  max-width: 390px;
}
.contact-heading {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 22px 0 10px;
}
.messenger-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.messenger-links button {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.75rem;
  background: #eef2e7;
  border: 1px solid #cfdbc1;
}
.messenger-links button:hover {
  background: #e0eace;
  border-color: #8db063;
}
.messenger-links svg {
  width: 19px;
  height: 19px;
  fill: #479bd1;
}
.messenger-links button:nth-child(2) svg {
  fill: #6e69ca;
}
.messenger-links button:nth-child(3) svg {
  fill: #56a668;
}
.messenger-links .icon-cutout {
  fill: var(--paper);
}
.messenger-status {
  font-size: 0.75rem;
  margin-top: 10px;
  color: #597742;
}
.form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: #8a987d;
  font-size: 0.75rem;
}
.form-divider:before,
.form-divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d9e1cf;
}
form {
  display: grid;
  gap: 15px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.form-field > span,
legend {
  font-weight: 600;
  font-size: 0.75rem;
}
.form-field input,
.form-field select {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  background: #fffefa;
  border: 1px solid #cfd9c4;
  border-radius: 0;
  padding: 10px 12px;
  color: #3e5435;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.form-field input::placeholder {
  color: #99a28f;
}
.form-field input[aria-invalid="true"] {
  border-color: #b6483c;
  background: #fff6f0;
}
.field-error {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #aa4138;
}
.field-error:empty {
  display: none;
}
.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.privacy-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: #6cab3d;
  cursor: pointer;
}

.privacy-consent a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-consent a:hover {
  opacity: 0.75;
}
legend {
  margin-bottom: 8px;
}
.choice-group {
  display: grid;
  gap: 7px;
}
.contact-choices {
  grid-template-columns: repeat(4, 1fr);
}
.recipient-choices {
  grid-template-columns: 1fr 1fr;
}
.choice-group > label {
  position: relative;
  cursor: pointer;
  display: block;
  min-width: 0;
}
.choice-group input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choice-group label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 4px;
  font-size: 0.75rem;
  border: 1px solid #d0dac5;
  color: #748366;
  background: #f1f4e9;
  line-height: 1.5;
}
.choice-group input:checked + span {
  background: #e3edcf;
  color: #43632c;
  border-color: #8daa60;
  box-shadow: inset 0 -2px 0 #88a957;
}
.choice-group input:focus-visible + span {
  outline: 2px solid #3387c4;
  outline-offset: 3px;
}
#child-fields {
  display: grid;
  gap: 13px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 14px;
}
.btn-submit {
  width: 100%;
  margin-top: 3px;
  justify-content: space-between;
  font-size: 0.875rem;
}
.form-note {
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #8b937f;
  margin-top: -4px;
}
.enroll-success {
  padding: 62px 38px 42px;
  text-align: center;
}
.success-mark {
  margin: 0 auto 27px;
  width: 67px;
  height: 67px;
  background: #e0eccb;
  border: 2px solid #84a755;
  box-shadow: 5px 5px 0 #c6d7ac;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #61892e;
}
.enroll-success h2 {
  font-size: 2.2rem;
}
.enroll-success > p:not(.eyebrow) {
  margin-top: 23px;
  font-size: 0.9375rem;
}
.success-demo {
  padding: 15px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: #7b856e;
  background: #ebf0e1;
  margin: 25px 0;
}
.enroll-success .btn {
  font-size: 0.8125rem;
}
.modal-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .js-motion .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.55s ease,
      transform 0.55s ease;
  }
  .js-motion .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .enroll-dialog[open] {
    animation: dialog-in 0.2s ease-out;
  }
  @keyframes dialog-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (min-width: 1600px) {
  .hero-grid {
    min-height: 790px;
  }
  .hero-copy {
    padding-block: 75px;
  }
  .hero-world .scene-viewport {
    height: 625px;
    top: 20px;
  }
  .code-console {
    bottom: 55px;
  }
  .world-label {
    top: 520px;
  }
  .scene-caption {
    bottom: 20px;
  }
  h1 {
    font-size: 4.7rem;
  }
}
@media (max-width: 1199px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 20px;
  }
  .desktop-nav {
    gap: 18px;
    font-size: 0.8125rem;
  }
  .brand {
    font-size: 1.7rem;
  }
  .header-cta {
    font-size: 0.75rem;
    padding: 10px 14px;
  }
  .hero-grid {
    min-height: 700px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy {
    padding-top: 48px;
  }
  h1 {
    font-size: 4.1rem;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 5px 17px;
  }
  .hero-actions > .btn {
    font-size: 0.875rem;
    min-height: 54px;
  }
  .hero-description {
    font-size: 0.9375rem;
  }
  .hero-facts {
    gap: 16px;
  }
  .hero-world .scene-viewport {
    left: -40px;
    width: calc(100% + 100px);
    top: 12px;
    height: 530px;
  }
  .world-coordinates {
    font-size: 0.75rem;
    left: 10px;
  }
  .world-coordinates span {
    display: none;
  }
  .code-console {
    left: 1%;
    right: 0;
    bottom: 75px;
  }
  .code-console pre {
    font-size: 0.75rem;
    padding-inline: 16px;
  }
  .console-bottom {
    padding-left: 16px;
  }
  .console-bottom > span {
    font-size: 0.75rem;
  }
  .world-label {
    top: 440px;
    left: 5px;
  }
  .scene-caption {
    bottom: 42px;
    font-size: 0.75rem;
  }
  .format-grid {
    gap: 60px;
  }
  .teacher-layout {
    gap: 60px;
  }
  .course-panel {
    gap: 45px;
  }
  .course-overview h3 {
    font-size: 2.4rem;
  }
  .course-tab {
    padding: 15px;
  }
  .course-tab strong {
    font-size: 1.5rem;
  }
  .course-tab small {
    font-size: 0.75rem;
  }
  .price-card {
    padding-inline: 22px;
  }
  .price-featured {
    padding-inline: 21px;
  }
  .price-card .old-price {
    left: 22px;
  }
  .faq-layout {
    gap: 65px;
  }
  .footer-bottom .mono {
    display: none;
  }
  .hero-teacher-note {
    margin-top: 20px;
  }
  .curriculum-grid {
    gap: 15px;
  }
  .clean-list {
    font-size: 0.75rem;
  }
  .final-section {
    min-height: 590px;
  }
}
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 660px;
  }
  .hero-eyebrow {
    font-size: 0.75rem;
  }
  h1 {
    font-size: 3.35rem;
  }
  .hero-facts {
    font-size: 0.75rem;
    gap: 15px;
  }
  .hero-facts b {
    font-size: 0.75rem;
  }
  .hero-description {
    font-size: 0.875rem;
    margin-top: 23px;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .hero-copy .small-note {
    font-size: 0.75rem;
  }
  .hero-world .scene-viewport {
    height: 470px;
    top: 25px;
    left: -55px;
    width: calc(100% + 110px);
  }
  .world-label {
    font-size: 0.75rem;
    top: 410px;
    left: 0;
  }
  .code-console {
    bottom: 72px;
    left: -5%;
    right: -2%;
    transform: rotate(-1deg);
  }
  .code-console pre {
    font-size: 0.75rem;
    line-height: 1.85;
    padding: 13px;
  }
  .console-bottom {
    padding-left: 13px;
    gap: 7px;
  }
  .console-bottom > span {
    max-width: 120px;
    font-size: 0.75rem;
  }
  .run-button {
    font-size: 0.75rem;
    padding: 8px 10px;
    gap: 5px;
  }
  .code-console .console-top {
    padding: 9px 13px;
    font-size: 0.75rem;
  }
  .scene-caption {
    font-size: 0.75rem;
    right: 0;
  }
  .heading-split {
    gap: 40px;
  }
  .heading-split > p {
    font-size: 0.8125rem;
    max-width: 280px;
  }
  .course-panel {
    gap: 32px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .course-overview h3 {
    font-size: 2.1rem;
  }
  .course-overview > p {
    font-size: 0.8125rem;
  }
  .makecode-preview {
    padding: 19px;
  }
  .mc-block {
    font-size: 0.75rem;
  }
  .curriculum-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .clean-list {
    font-size: 0.75rem;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
  }
  .curriculum-grid h4 {
    margin-bottom: 12px;
  }
  .course-tab {
    gap: 10px;
    padding: 14px 10px;
  }
  .level-symbol {
    width: 38px;
    height: 42px;
    font-size: 1rem;
  }
  .course-tab strong {
    font-size: 1.35rem;
  }
  .tab-arrow {
    display: none;
  }
  .course-tab small {
    font-size: 0.75rem;
  }
  .format-grid {
    gap: 45px;
  }
  .format-title h2 {
    font-size: 2.5rem;
  }
  .one-to-one {
    gap: 17px;
  }
  .one-to-one i {
    width: 55px;
    height: 55px;
    font-size: 1.2rem;
  }
  .one-to-one > span {
    font-size: 0.75rem;
  }
  .format-points h3 {
    font-size: 1.15rem;
  }
  .format-points article {
    gap: 18px;
  }
  .format-points p {
    font-size: 0.8125rem;
  }
  .teacher-layout {
    gap: 43px;
  }
  .teacher-copy h2 {
    font-size: 2.8rem;
  }
  .teacher-copy > p:not(.eyebrow) {
    font-size: 0.875rem;
  }
  .terminal-body {
    padding: 25px 21px;
  }
  .terminal-body h3 {
    font-size: 1.7rem;
  }
  .skill-meter {
    font-size: 0.75rem;
    gap: 10px;
  }
  .skill-meter > i {
    width: 64px;
  }
  .terminal-footer {
    font-size: 0.75rem;
    letter-spacing: 0;
  }
  .journey-list {
    gap: 25px;
  }
  .journey-list h3 {
    font-size: 1.1rem;
  }
  .journey-list p {
    font-size: 0.75rem;
  }
  .project-workbench {
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
  }
  .inventory-item {
    min-height: 135px;
  }
  .inventory-item > span {
    font-size: 0.75rem;
  }
  .inventory-item > svg {
    width: 38px;
    height: 38px;
  }
  .project-detail {
    padding: 23px;
  }
  .project-detail h3 {
    font-size: 1.65rem;
  }
  .project-detail > p {
    font-size: 0.8125rem;
  }
  .prices-grid {
    gap: 12px;
  }
  .price-card {
    padding: 24px 18px;
  }
  .price-card h3 {
    font-size: 1.25rem;
  }
  .price {
    font-size: 2.15rem;
  }
  .price-index {
    font-size: 0.75rem;
  }
  .price-card .old-price {
    top: 90px;
    left: 18px;
    font-size: 0.8125rem;
  }
  .price-card ul {
    font-size: 0.75rem;
  }
  .price-card .btn {
    font-size: 0.75rem;
    padding-inline: 12px;
  }
  .price-card .btn > span {
    font-size: 1rem;
  }
  .price-featured {
    padding: 23px 17px;
  }
  .price-per {
    font-size: 0.75rem;
  }
  .faq-layout {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 45px;
  }
  .faq-heading h2 {
    font-size: 2.6rem;
  }
  .faq-list summary {
    font-size: 0.8125rem;
  }
  .senior-branches {
    gap: 15px;
  }
  .senior-branches article {
    padding: 20px 17px;
  }
  .senior-branches h4 {
    font-size: 1.15rem;
  }
  .senior-intro {
    align-items: flex-start;
  }
  .senior-intro .btn {
    max-width: 185px;
  }
  .middle-demo {
    padding: 17px;
    grid-template-columns: 1.3fr 0.7fr;
  }
  .middle-demo pre {
    font-size: 0.75rem;
  }
  .footer-top {
    gap: 24px;
  }
  .footer-top p {
    max-width: 130px;
  }
  .projects-section h2 {
    font-size: 2.8rem;
  }
}
@media (max-width: 767px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 71px;
  }
  .header-inner {
    gap: 13px;
  }
  .mobile-menu {
    top: 70px;
  }
  .brand {
    font-size: 1.6rem;
    gap: 7px;
  }
  .brand-icon {
    width: 27px;
    height: 31px;
  }
  .header-cta {
    font-size: 0.75rem;
    gap: 8px;
    padding: 8px 10px;
    min-height: 37px;
  }
  .header-cta span {
    font-size: 0.875rem;
  }
  .menu-toggle {
    width: 34px;
    padding: 5px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-items: stretch;
  }
  .hero-copy {
    padding: 40px 0 0;
    max-width: 600px;
  }
  .hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.09em;
    margin-bottom: 22px;
  }
  h1 {
    font-size: clamp(2.6rem, 8.7vw, 4.9rem);
    line-height: 1.03;
    letter-spacing: -0.05em;
  }
  h1 > span > br {
    display: none;
  }
  .hero-description {
    font-size: 0.9375rem;
    max-width: 490px;
    line-height: 1.7;
    margin-top: 22px;
  }
  .hero-facts {
    gap: 24px;
    margin-top: 22px;
    font-size: 0.75rem;
  }
  .hero-facts b {
    font-size: 0.8125rem;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 12px 21px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .hero-actions > .btn {
    font-size: 0.8125rem;
    padding: 14px 18px;
    gap: 12px;
    min-height: 53px;
  }
  .hero-actions > .text-link {
    font-size: 0.75rem;
    max-width: 105px;
    gap: 7px;
    flex-shrink: 0;
  }
  .hero-copy > .small-note {
    font-size: 0.75rem;
    margin-top: 12px;
  }
  .hero-teacher-note {
    display: none;
  }
  .hero-world {
    height: 497px;
    width: 100%;
    max-width: 570px;
    margin: 0 auto;
  }
  .world-coordinates {
    top: 25px;
    left: 0;
    font-size: 0.75rem;
  }
  .world-coordinates span {
    display: block;
    font-size: 0.75rem;
  }
  .hero-world .scene-viewport {
    top: -20px;
    height: 403px;
    width: calc(100% + 20px);
    left: -10px;
  }
  .world-label {
    top: 280px;
    left: 0;
    font-size: 0.75rem;
    padding: 6px 9px;
    transform: rotate(-3deg);
  }
  .code-console {
    left: 4%;
    right: 3%;
    bottom: 46px;
    transform: rotate(-1deg);
  }
  .code-console pre {
    font-size: 0.8125rem;
    padding: 12px 16px;
  }
  .code-console .console-top {
    font-size: 0.75rem;
    padding: 9px 15px;
  }
  .console-top > span:last-child {
    font-size: 0.75rem;
  }
  .console-bottom {
    padding: 0 13px 12px 16px;
  }
  .console-bottom > span {
    font-size: 0.75rem;
    max-width: none;
  }
  .run-button {
    font-size: 0.75rem;
    min-height: 34px;
    padding: 8px 11px;
  }
  .scene-caption {
    bottom: 16px;
    right: 5%;
    font-size: 0.75rem;
  }
  .hero-bottom {
    height: 44px;
  }
  .hero-bottom > .mono {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }
  .hero-bottom > a {
    font-size: 0.75rem;
  }
  .terrain-edge {
    height: 10px;
    border-bottom-width: 4px;
  }
  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 19px;
  }
  .value-section {
    padding: 59px 0;
  }
  .section-heading {
    margin-bottom: 29px;
  }
  h2 {
    font-size: 2.25rem;
    line-height: 1.12;
  }
  .section-heading > p:not(.eyebrow) {
    font-size: 0.875rem;
    margin-top: 20px;
  }
  .compare-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .compare-side {
    padding: 24px;
  }
  .compare-title {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }
  .compare-title > .mono {
    font-size: 0.75rem;
    order: 2;
  }
  .compare-title h3 {
    font-size: 1.35rem;
  }
  .compare-after h3 > span {
    float: none;
    font-size: 1.15rem;
    margin-left: 9px;
  }
  .compare-side ul {
    gap: 10px;
    font-size: 0.8125rem;
    margin-top: 20px;
  }
  .compare-label {
    font-size: 0.75rem;
    margin-top: 22px;
    padding-top: 14px;
  }
  .compare-arrow {
    height: 39px;
    font-size: 1.4rem;
    transform: rotate(90deg);
  }
  .value-summary {
    font-size: 1.05rem;
    margin-top: 29px;
    line-height: 1.6;
  }
  .program-section {
    padding: 57px 0 28px;
  }
  .heading-split {
    display: block;
  }
  .heading-split > p {
    font-size: 0.875rem;
    max-width: 500px;
    margin-top: 20px;
  }
  .course-tabs {
    gap: 7px;
    padding-bottom: 17px;
  }
  .course-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 10px;
  }
  .level-symbol {
    width: 31px;
    height: 32px;
    font-size: 0.75rem;
    border-width: 1px;
  }
  .course-tab small {
    font-size: 0.75rem;
    letter-spacing: 0;
    line-height: 1.5;
    margin-bottom: 7px;
    white-space: nowrap;
  }
  .course-tab strong {
    font-size: 1.25rem;
  }
  .course-panel {
    display: block;
    padding-top: 29px;
    min-height: 0;
  }
  .course-tag {
    font-size: 0.75rem;
    margin-bottom: 18px;
  }
  .course-overview h3 {
    font-size: 2.15rem;
  }
  .course-overview h3 > br {
    display: none;
  }
  .course-overview > p {
    max-width: 550px;
    font-size: 0.8755rem;
    margin-top: 18px;
  }
  .course-stats {
    margin: 22px 0;
    gap: 40px;
  }
  .course-stats b {
    font-size: 1.4rem;
  }
  .course-stats > span {
    font-size: 0.75rem;
  }
  .course-overview .btn {
    font-size: 0.8125rem;
    min-height: 47px;
  }
  .course-curriculum {
    margin-top: 30px;
  }
  .makecode-preview {
    min-height: 205px;
    padding: 24px;
  }
  .mc-block {
    font-size: 0.75rem;
  }
  .mc-event {
    width: 90%;
    max-width: 380px;
  }
  .code-caption {
    font-size: 0.75rem;
  }
  .curriculum-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 26px;
  }
  .clean-list {
    display: block;
    font-size: 0.75rem;
  }
  .clean-list li {
    margin-bottom: 9px;
    padding-left: 12px;
  }
  .curriculum-grid h4 {
    font-size: 0.8125rem;
  }
  .program-details {
    font-size: 0.75rem;
    margin-top: 15px;
  }
  .program-details p {
    font-size: 0.8125rem;
  }
  .program-bottom {
    display: block;
    margin-top: 7px;
    padding-top: 20px;
    font-size: 0.75rem;
    line-height: 1.8;
  }
  .program-bottom .inline-button {
    font-size: 0.75rem;
    margin-top: 7px;
  }
  .senior-intro {
    display: block;
  }
  .senior-intro h3 {
    font-size: 2rem;
  }
  .senior-intro p {
    font-size: 0.875rem;
  }
  .senior-intro .btn {
    margin-top: 20px;
    max-width: none;
  }
  .branch-root {
    text-align: left;
    font-size: 0.75rem;
    margin-top: 26px;
    padding-left: 25px;
  }
  .branch-root > span {
    padding-left: 8px;
  }
  .senior-branches {
    display: block;
    border-top: 0;
    border-left: 1px solid #65764b;
    margin-left: 14px;
    padding: 0 0 0 20px;
  }
  .senior-branches article {
    padding: 24px 22px;
    margin-bottom: 15px;
  }
  .senior-branches article:before {
    width: 20px;
    height: 1px;
    left: -21px;
    top: 25px;
  }
  .senior-branches h4 {
    font-size: 1.35rem;
  }
  .senior-branches p {
    font-size: 0.8125rem;
  }
  .branch-result small {
    font-size: 0.75rem;
  }
  .middle-demo {
    grid-template-columns: 1.15fr 1fr;
    min-height: 240px;
    padding: 20px;
  }
  .middle-demo pre {
    font-size: 0.75rem;
  }
  .format-section {
    padding: 60px 0 40px;
  }
  .format-grid {
    display: block;
  }
  .format-title h2 {
    font-size: 2.3rem;
    line-height: 1.13;
  }
  .format-title > p:not(.eyebrow) {
    font-size: 0.875rem;
    max-width: 470px;
    margin-top: 21px;
  }
  .one-to-one {
    gap: 22px;
    margin-top: 27px;
  }
  .one-to-one i {
    width: 64px;
    height: 64px;
  }
  .one-to-one > span {
    font-size: 0.75rem;
  }
  .format-title p.format-footnote {
    font-size: 0.75rem;
  }
  .format-points {
    margin-top: 30px;
  }
  .format-points article {
    padding: 23px 0;
    gap: 20px;
  }
  .format-points h3 {
    font-size: 1.25rem;
  }
  .format-points p {
    font-size: 0.875rem;
    margin-top: 11px;
    max-width: 500px;
  }
  .format-points article:first-child {
    border-top: 1px solid #d5ddca;
    padding-top: 23px;
  }
  .teacher-section {
    padding: 52px 0;
  }
  .teacher-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 33px;
    align-items: stretch;
  }
  .teacher-copy h2 {
    font-size: 2.4rem;
  }
  .teacher-copy h2 > br {
    display: none;
  }
  .teacher-copy > p:not(.eyebrow) {
    font-size: 0.875rem;
    max-width: 570px;
    margin-top: 20px;
  }
  .teacher-benefits {
    font-size: 0.8125rem;
  }
  .teacher-copy .text-link {
    font-size: 0.8125rem;
  }
  .teacher-terminal {
    max-width: 480px;
    width: calc(100% - 8px);
    margin: 0 auto 0 3px;
    transform: rotate(-1deg);
  }
  .terminal-bar {
    font-size: 0.75rem;
    padding: 12px 18px;
  }
  .terminal-body {
    padding: 23px 24px;
  }
  .terminal-prompt {
    font-size: 0.75rem;
  }
  .terminal-body h3 {
    font-size: 1.9rem;
    margin: 19px 0 28px;
  }
  .skill-meter {
    font-size: 0.75rem;
    gap: 12px;
  }
  .skill-meter > i {
    width: 85px;
  }
  .terminal-footer {
    font-size: 0.75rem;
  }
  .journey-section {
    padding: 62px 0 43px;
  }
  .journey-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 35px;
  }
  .journey-list:before {
    width: 1px;
    top: 0;
    bottom: 48px;
    left: 23px;
    right: auto;
    height: auto;
  }
  .journey-list li {
    padding: 0 0 31px 72px;
    min-height: 165px;
  }
  .journey-marker {
    position: absolute;
    left: 0;
    top: 0;
  }
  .journey-badge {
    font-size: 0.75rem;
  }
  .journey-list h3 {
    font-size: 1.35rem;
    margin: 10px 0 12px;
  }
  .journey-list p {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 440px;
  }
  .journey-list li:last-child {
    padding-bottom: 0;
  }
  .projects-section {
    padding: 55px 0;
  }
  .projects-section h2 {
    font-size: 2.15rem;
  }
  .project-workbench {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .inventory-grid {
    gap: 8px;
  }
  .inventory-item {
    min-height: 117px;
    padding: 18px 7px 12px;
    gap: 9px;
  }
  .inventory-item > svg {
    width: 39px;
    height: 39px;
  }
  .inventory-item > span {
    font-size: 0.75rem;
  }
  .inventory-item:before {
    font-size: 0.75rem;
    top: 4px;
    left: 6px;
  }
  .project-detail {
    padding: 24px;
    display: block;
    min-height: 280px;
  }
  .project-rarity {
    font-size: 0.75rem;
    display: block;
    max-width: 70%;
    min-height: 17px;
  }
  .project-large-icon {
    float: right;
    margin: 2px 0 12px 14px;
  }
  .project-large-icon svg {
    width: 65px;
    height: 65px;
  }
  .project-detail h3 {
    font-size: 1.6rem;
    max-width: 75%;
    margin-top: 17px;
    margin-bottom: 15px;
  }
  .project-detail > p {
    font-size: 0.875rem;
    max-width: none;
  }
  .project-skills {
    margin: 22px 0;
  }
  .project-tip {
    display: block;
    clear: both;
    font-size: 0.75rem;
    line-height: 1.6;
  }
  .prices-section {
    padding: 62px 0 40px;
  }
  .prices-section .section-heading {
    margin-bottom: 35px;
    text-align: left;
  }
  .prices-section h2 {
    font-size: 2.15rem;
  }
  .prices-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .price-card {
    padding: 27px;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 15px;
  }
  .price-index {
    grid-column: 1/-1;
    font-size: 0.75rem;
    margin-bottom: 20px;
  }
  .price-card h3 {
    font-size: 1.35rem;
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    align-self: center;
  }
  .price {
    font-size: 2rem;
    grid-column: 2;
    grid-row: 2;
    line-height: 1.1;
    white-space: nowrap;
  }
  .price > span:not(.old-price) {
    font-size: 1.3rem;
  }
  .price-per {
    grid-column: 2;
    grid-row: 3;
    font-size: 0.75rem;
    text-align: right;
  }
  .price-card ul {
    grid-column: 1/-1;
    grid-row: 4;
    font-size: 0.8125rem;
    gap: 9px;
    margin: 24px 0;
  }
  .price-card .btn {
    grid-column: 1/-1;
    font-size: 0.875rem;
    min-height: 49px;
    padding: 12px 19px;
    justify-content: center;
  }
  .price-card .btn > span {
    margin-left: auto;
  }
  .price-featured {
    padding: 26px;
    margin-top: 24px;
    order: -1;
  }
  .price-featured h3 {
    margin-bottom: 0;
  }
  .price-featured .price {
    margin-top: 0;
  }
  .price-card .old-price {
    font-size: 0.75rem;
    top: 39px;
    right: 27px;
    left: auto;
  }
  .popular-label {
    font-size: 0.75rem;
  }
  .pricing-note {
    font-size: 0.75rem;
    margin-top: 25px;
  }
  .faq-section {
    padding: 25px 0 55px;
  }
  .faq-layout {
    display: block;
  }
  .faq-heading {
    margin-bottom: 27px;
  }
  .faq-heading h2 {
    font-size: 2.3rem;
  }
  .faq-heading h2 > br {
    display: none;
  }
  .faq-heading p:not(.eyebrow) {
    font-size: 0.8125rem;
    margin-top: 18px;
  }
  .faq-heading p > br {
    display: none;
  }
  .faq-heading .text-link {
    font-size: 0.8125rem;
    margin-top: 4px;
  }
  .faq-list summary {
    font-size: 0.875rem;
    padding: 20px 0;
    gap: 24px;
    font-weight: 500;
  }
  .faq-list details p {
    font-size: 0.8125rem;
    padding: 0 15px 20px 0;
  }
  .final-section {
    min-height: 565px;
  }
  .final-background {
    object-position: 72% center;
  }
  .final-shade {
    background: linear-gradient(90deg, #0b1c2ce3, #0b1c2ca6 65%, #0b1c2c36);
  }
  .final-copy {
    padding: 58px 0 56px;
  }
  .final-copy > .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.065em;
  }
  .final-copy h2 {
    font-size: clamp(2.2rem, 7.4vw, 3.5rem);
  }
  .final-copy > p:not(.eyebrow) {
    font-size: 0.875rem;
    max-width: 370px;
  }
  .final-copy > p > br {
    display: none;
  }
  .final-copy .btn {
    font-size: 0.8125rem;
    min-height: 54px;
    padding: 15px 18px;
    gap: 15px;
  }
  .final-note {
    font-size: 0.75rem;
    max-width: 340px;
    line-height: 1.8;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 17px 24px;
    padding-bottom: 23px;
  }
  .footer-top .brand {
    font-size: 1.55rem;
  }
  .footer-top p {
    max-width: none;
    font-size: 0.75rem;
    flex: 1;
  }
  .footer-top > a:not(.brand),
  .footer-top > .inline-button {
    font-size: 0.75rem;
  }
  .footer-top > .inline-button {
    margin-left: auto;
    padding-block: 0;
  }
  .footer-bottom {
    display: block;
    font-size: 0.75rem;
    padding-top: 20px;
  }
  .footer-bottom > span {
    display: block;
  }
  .footer-bottom > span:nth-child(2) {
    margin-top: 13px;
    max-width: 450px;
  }
  .footer-bottom > .mono {
    display: none;
  }
  .site-footer {
    padding: 31px 0 25px;
  }
  .achievement {
    bottom: 17px;
    right: 17px;
    padding: 13px 15px;
    gap: 10px;
  }
  .achievement strong {
    font-size: 0.75rem;
  }
  .achievement small {
    font-size: 0.75rem;
  }
  .achievement-icon {
    font-size: 1.6rem;
  }
}
@media (max-width: 374px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    gap: 7px;
  }
  .brand {
    font-size: 1.45rem;
  }
  .brand-icon {
    width: 23px;
    height: 28px;
  }
  .header-cta {
    padding: 8px;
    font-size: 0.75rem;
    gap: 6px;
  }
  .header-cta span {
    display: none;
  }
  .hero-copy {
    padding-top: 30px;
  }
  h1 {
    font-size: 2.6rem;
  }
  .hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.035em;
    gap: 7px;
  }
  .hero-description {
    font-size: 0.875rem;
  }
  .hero-facts {
    gap: 20px;
    font-size: 0.75rem;
  }
  .hero-facts b {
    font-size: 0.75rem;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions > .btn {
    font-size: 0.75rem;
    padding: 13px 12px;
    gap: 9px;
    min-height: 49px;
  }
  .hero-actions > .btn svg {
    width: 16px;
  }
  .hero-actions > .text-link {
    font-size: 0.75rem;
    max-width: 84px;
    gap: 5px;
  }
  .hero-copy > .small-note {
    font-size: 0.75rem;
  }
  .hero-world {
    height: 455px;
  }
  .hero-world .scene-viewport {
    height: 360px;
    top: -5px;
    left: -15px;
    width: calc(100% + 30px);
  }
  .world-label {
    top: 263px;
    font-size: 0.75rem;
  }
  .code-console {
    left: 0;
    right: 0;
    bottom: 39px;
  }
  .code-console pre {
    font-size: 0.75rem;
  }
  .console-bottom > span {
    font-size: 0.75rem;
  }
  .scene-caption {
    font-size: 0.75rem;
    bottom: 13px;
    right: 0;
  }
  .world-coordinates span {
    display: none;
  }
  h2 {
    font-size: 2rem;
  }
  .course-tab {
    padding: 12px 8px;
  }
  .course-tab small {
    font-size: 0.75rem;
  }
  .course-tab strong {
    font-size: 1.125rem;
  }
  .compare-side {
    padding: 22px 19px;
  }
  .compare-title h3 {
    font-size: 1.2rem;
  }
  .compare-title > .mono {
    font-size: 0.75rem;
  }
  .compare-side ul {
    font-size: 0.75rem;
  }
  .mc-block {
    font-size: 0.75rem;
    padding: 8px;
  }
  .mc-block span {
    font-size: 0.75rem;
  }
  .makecode-preview {
    padding: 20px 17px;
  }
  .mc-action {
    margin-left: 6px;
  }
  .curriculum-grid {
    gap: 16px;
  }
  .clean-list {
    font-size: 0.75rem;
  }
  .format-title h2 {
    font-size: 2.1rem;
  }
  .format-points article {
    gap: 15px;
  }
  .teacher-copy h2 {
    font-size: 2.2rem;
  }
  .terminal-body {
    padding: 22px 18px;
  }
  .skill-meter {
    font-size: 0.75rem;
  }
  .skill-meter > i {
    width: 67px;
  }
  .terminal-footer {
    font-size: 0.75rem;
  }
  .journey-list li {
    padding-left: 64px;
  }
  .inventory-item {
    min-height: 110px;
  }
  .inventory-item > span {
    font-size: 0.75rem;
  }
  .inventory-item > svg {
    width: 34px;
    height: 34px;
  }
  .project-detail {
    padding: 22px;
  }
  .project-detail h3 {
    font-size: 1.4rem;
  }
  .project-large-icon svg {
    width: 53px;
    height: 53px;
  }
  .price-card {
    padding: 24px 21px;
    column-gap: 10px;
  }
  .price-card h3 {
    font-size: 1.17rem;
  }
  .price {
    font-size: 1.8rem;
  }
  .price-card .old-price {
    right: 21px;
    top: 39px;
  }
  .price-card .btn {
    font-size: 0.8125rem;
  }
  .final-copy h2 {
    font-size: 2.15rem;
  }
  .final-copy .btn {
    font-size: 0.75rem;
    padding-inline: 14px;
  }
  .final-note {
    font-size: 0.75rem;
  }
  .footer-top p {
    font-size: 0.75rem;
  }
  .enroll-dialog {
    max-height: calc(100dvh - 20px);
  }
  .dialog-content {
    padding: 28px 21px 23px;
  }
  .dialog-content h2 {
    font-size: 2.15rem;
  }
  .messenger-links {
    gap: 6px;
  }
  .messenger-links button {
    font-size: 0.75rem;
    gap: 5px;
  }
  .messenger-links svg {
    width: 16px;
  }
  .contact-choices {
    gap: 5px;
  }
  .choice-group label > span {
    font-size: 0.75rem;
  }
  .form-row {
    grid-template-columns: 1fr 80px;
    gap: 10px;
  }
  .enroll-success {
    padding: 60px 25px 30px;
  }
  .enroll-success h2 {
    font-size: 1.9rem;
  }
}
@media (min-width: 375px) and (max-width: 600px) {
  .dialog-content {
    padding: 30px 27px 24px;
  }
  .form-row {
    grid-template-columns: 1fr 95px;
  }
  .enroll-success {
    padding: 58px 28px 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Legibility is preserved independently of viewport size. */
.hero-grid > *,
.course-panel > *,
.format-grid > *,
.teacher-layout > *,
.faq-layout > *,
.prices-grid > *,
.inventory-grid > * {
  min-width: 0;
}
.section-heading > p:not(.eyebrow),
.hero-description,
.course-overview > p,
.senior-intro p,
.senior-branches article > p,
.format-title > p:not(.eyebrow):not(.format-footnote),
.format-points p,
.teacher-copy > p:not(.eyebrow),
.journey-list p,
.project-detail > p,
.faq-list details p,
.final-copy > p:not(.eyebrow) {
  font-size: 1rem;
}
.btn,
.text-link,
.inline-button,
.faq-list summary,
.compare-side li,
.clean-list,
.teacher-benefits,
.price-card ul,
.inventory-item > span,
.form-field input,
.form-field select,
.choice-group label > span,
.messenger-links button,
.run-button,
.dialog-intro {
  font-size: 0.875rem;
}
.hero-facts {
  font-size: 0.75rem;
}
.hero-facts b {
  font-size: 0.875rem;
}
.course-tab small {
  white-space: normal;
  line-height: 1.4;
}
.terminal-footer,
.project-tip,
.footer-bottom {
  overflow-wrap: anywhere;
}
.header-inner,
.hero-actions {
  column-gap: 18px;
}
.header-cta {
  font-size: 0.8125rem;
}
.menu-toggle {
  flex-shrink: 0;
}
.console-bottom {
  min-height: 49px;
}
.console-bottom > span {
  line-height: 1.5;
  max-width: 230px;
}
.code-console pre {
  overflow-wrap: anywhere;
}
.world-label {
  z-index: 4;
  cursor: pointer;
  text-align: left;
}
.world-label:hover {
  background: #f7fbe8;
  border-color: #8eaf65;
}
.price-card .old-price {
  top: 99px;
}
.price-featured h3 {
  margin-bottom: 44px;
}
.price-featured .price {
  margin-top: -13px;
}
.senior-branches details summary {
  font-size: 0.875rem;
}
.program-bottom > span {
  font-size: 0.875rem;
}
.project-skills > span {
  font-size: 0.75rem;
}
.teacher-copy .text-link {
  font-size: 0.875rem;
}
.course-tabs .tab-arrow {
  font-size: 1.25rem;
}
@media (min-width: 981px) and (max-width: 1199px) {
  .header-inner {
    column-gap: 20px;
  }
  .desktop-nav {
    gap: 16px;
  }
  .desktop-nav a {
    font-size: 0.8125rem;
  }
  .header-cta {
    padding-inline: 12px;
    font-size: 0.75rem;
  }
  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }
  .hero-description {
    max-width: 420px;
  }
  .hero-facts {
    gap: 15px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .code-console {
    bottom: 54px;
  }
  .scene-caption {
    bottom: 13px;
  }
  .world-label {
    top: 438px;
  }
  .price-card .old-price {
    top: 104px;
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  h1 {
    font-size: 3.1rem;
  }
  .hero-grid {
    min-height: 725px;
  }
  .hero-actions > .text-link {
    max-width: none;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .hero-teacher-note {
    font-size: 0.75rem;
  }
  .hero-facts {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .world-coordinates {
    top: 55px;
  }
  .hero-world .scene-viewport {
    top: 55px;
    height: 450px;
    left: -45px;
    width: calc(100% + 85px);
  }
  .world-label {
    top: 410px;
    left: -10px;
    max-width: 240px;
  }
  .code-console {
    bottom: 115px;
    left: -9%;
    right: 0;
  }
  .code-console pre {
    font-size: 0.75rem;
  }
  .console-bottom > span {
    max-width: 150px;
    font-size: 0.75rem;
  }
  .scene-caption {
    bottom: 53px;
    max-width: 300px;
    line-height: 1.5;
    text-align: right;
  }
  .course-tabs {
    gap: 9px;
  }
  .course-tab small {
    font-size: 0.75rem;
  }
  .course-tab {
    flex-direction: column;
    align-items: flex-start;
  }
  .curriculum-grid {
    grid-template-columns: 1fr;
  }
  .clean-list {
    font-size: 0.875rem;
  }
  .price-card .old-price {
    top: 96px;
  }
  .price-index {
    font-size: 0.75rem;
    line-height: 1.6;
  }
  .price-card {
    padding-top: 22px;
  }
  .price-card h3 {
    margin-top: 23px;
  }
  .price-card .price {
    margin-top: 0;
    font-size: 2rem;
  }
  .price-featured h3 {
    margin-bottom: 24px;
  }
  .price-card .old-price {
    position: static;
    display: block;
    margin-top: -20px;
    margin-bottom: 3px;
    font-size: 0.75rem;
  }
  .price-card .btn {
    font-size: 0.875rem;
    min-height: 65px;
  }
  .popular-label {
    font-size: 0.75rem;
  }
  .teacher-layout {
    gap: 33px;
  }
  .terminal-body {
    padding-inline: 20px;
  }
  .skill-meter {
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 7px;
  }
  .skill-meter > i {
    width: 100%;
  }
  .terminal-footer {
    font-size: 0.75rem;
  }
  .journey-list {
    grid-template-columns: 1fr 1fr;
    gap: 37px;
  }
  .journey-list:before {
    display: none;
  }
  .journey-marker {
    margin-bottom: 20px;
  }
  .inventory-item {
    min-height: 153px;
  }
  .inventory-item > span {
    font-size: 0.875rem;
  }
  .project-detail h3 {
    font-size: 1.55rem;
  }
  .project-rarity {
    font-size: 0.75rem;
  }
}
@media (max-width: 767px) {
  .hero-world {
    height: 535px;
  }
  .hero-world .scene-viewport {
    height: 410px;
  }
  .world-coordinates {
    font-size: 0.75rem;
    top: 32px;
  }
  .world-coordinates span {
    display: none;
  }
  .world-label {
    top: 300px;
    font-size: 0.75rem;
    padding: 7px 10px;
  }
  .code-console {
    bottom: 47px;
  }
  .console-bottom > span {
    max-width: 175px;
    font-size: 0.75rem;
  }
  .scene-caption {
    font-size: 0.75rem;
    bottom: 9px;
    right: 1%;
    max-width: 100%;
    line-height: 1.4;
  }
  .hero-bottom > .mono {
    font-size: 0.75rem;
    letter-spacing: 0;
    max-width: 58%;
    line-height: 1.4;
  }
  .hero-bottom > a {
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .course-tab {
    padding: 13px 10px;
  }
  .course-tab small {
    font-size: 0.75rem;
    min-height: 34px;
    display: flex;
    align-items: flex-end;
  }
  .course-tab strong {
    font-size: 1.25rem;
  }
  .course-tag {
    font-size: 0.75rem;
  }
  .program-details summary {
    font-size: 0.875rem;
  }
  .compare-title > .mono {
    font-size: 0.75rem;
  }
  .curriculum-grid {
    gap: 15px;
  }
  .makecode-preview {
    padding: 22px;
  }
  .mc-block {
    font-size: 0.875rem;
  }
  .mc-block span {
    font-size: 0.75rem;
  }
  .mc-event {
    width: 100%;
  }
  .mc-loop {
    width: 98%;
  }
  .mc-action {
    white-space: normal;
  }
  .code-caption {
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .middle-demo {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 17px;
  }
  .middle-demo pre {
    font-size: 0.75rem;
    overflow-wrap: anywhere;
  }
  .one-to-one > span {
    font-size: 0.75rem;
  }
  .format-title p.format-footnote {
    font-size: 0.75rem;
  }
  .terminal-footer {
    font-size: 0.75rem;
  }
  .terminal-body h3 {
    font-size: 1.9rem;
  }
  .skill-meter {
    font-size: 0.875rem;
  }
  .skill-meter > i {
    width: 70px;
  }
  .journey-badge {
    font-size: 0.75rem;
  }
  .inventory-item {
    min-height: 142px;
  }
  .inventory-item > span {
    font-size: 0.875rem;
  }
  .inventory-item:before {
    font-size: 0.75rem;
  }
  .project-tip {
    font-size: 0.75rem;
  }
  .project-detail {
    min-height: 315px;
  }
  .project-rarity {
    font-size: 0.75rem;
  }
  .price-index {
    font-size: 0.75rem;
  }
  .price-featured h3 {
    margin-bottom: 0;
  }
  .price-featured .price {
    margin-top: 0;
  }
  .price-card .old-price {
    position: absolute;
    top: 35px;
    right: 27px;
    left: auto;
    font-size: 0.75rem;
  }
  .price-per {
    font-size: 0.875rem;
  }
  .popular-label {
    font-size: 0.75rem;
  }
  .price-card .btn {
    font-size: 0.875rem;
  }
  .final-note {
    font-size: 0.75rem;
    max-width: 370px;
  }
  .final-copy .btn {
    font-size: 0.875rem;
  }
  .final-copy > .eyebrow {
    font-size: 0.75rem;
    max-width: 380px;
  }
  .footer-top p {
    font-size: 0.75rem;
  }
  .footer-top > a:not(.brand),
  .footer-top > .inline-button {
    font-size: 0.875rem;
  }
  .footer-bottom {
    font-size: 0.75rem;
  }
  .footer-top > .brand {
    flex: 0 0 100%;
  }
  .dialog-content > .eyebrow {
    font-size: 0.75rem;
    padding-right: 17px;
  }
  .contact-heading,
  .form-field > span,
  legend {
    font-size: 0.875rem;
  }
  .form-note {
    font-size: 0.75rem;
  }
  .dialog-intro {
    font-size: 0.875rem;
  }
  .choice-group label > span {
    font-size: 0.875rem;
  }
  .messenger-links button {
    font-size: 0.875rem;
  }
  .form-field input,
  .form-field select {
    font-size: 1rem;
  }
  .field-error {
    font-size: 0.75rem;
  }
}
@media (max-width: 430px) {
  .teacher-carousel {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 8px;
  }
  .teacher-arrow {
    width: 30px;
    height: 30px;
  }
  .teacher-slide {
    gap: 12px;
  }
  .teacher-slide img {
    width: 120px;
    height: 120px;
  }

  .header-inner {
    column-gap: 9px;
  }
  .brand {
    font-size: 1.45rem;
  }
  .brand-icon {
    width: 25px;
  }
  .header-cta {
    font-size: 0.75rem;
    gap: 5px;
    padding-inline: 10px;
  }
  .header-cta > span {
    display: none;
  }
  .hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
    max-width: 100%;
  }
  .hero-eyebrow .pixel-cross {
    width: 9px;
    height: 9px;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .hero-actions > .btn {
    min-height: 54px;
    font-size: 1rem;
    align-self: stretch;
  }
  .hero-actions > .text-link {
    max-width: none;
    font-size: 0.875rem;
    align-self: flex-start;
  }
  .hero-copy > .small-note {
    font-size: 0.75rem;
  }
  .hero-facts {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero-world {
    height: 504px;
  }
  .hero-world .scene-viewport {
    top: -8px;
    height: 384px;
  }
  .world-label {
    top: 282px;
  }
  .code-console {
    left: 0;
    right: 0;
    bottom: 43px;
  }
  .code-console pre {
    font-size: 0.75rem;
  }
  .console-bottom > span {
    max-width: 154px;
    font-size: 0.75rem;
  }
  .run-button {
    font-size: 0.875rem;
    padding-inline: 10px;
  }
  .scene-caption {
    bottom: 4px;
    font-size: 0.75rem;
    max-width: 280px;
  }
  .compare-title {
    flex-wrap: wrap;
    gap: 8px;
  }
  .compare-title h3 {
    font-size: 1.35rem;
  }
  .compare-title > .mono {
    font-size: 0.75rem;
  }
  .compare-after h3 > span {
    display: none;
  }
  .curriculum-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .clean-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .clean-list li {
    margin-bottom: 0;
  }
  .mc-action {
    margin-left: 5px;
  }
  .mc-block {
    font-size: 0.8125rem;
  }
  .mc-block span {
    padding: 1px 4px;
  }
  .makecode-preview {
    padding: 21px 17px;
  }
  .teacher-layout {
    gap: 28px;
  }
  .teacher-copy .text-link {
    font-size: 0.875rem;
  }
  .terminal-body {
    padding: 24px 19px;
  }
  .skill-meter {
    font-size: 0.75rem;
  }
  .skill-meter > i {
    width: 66px;
  }
  .terminal-footer {
    font-size: 0.75rem;
  }
  .journey-list li {
    padding-left: 67px;
  }
  .inventory-item {
    min-height: 130px;
    padding-inline: 6px;
  }
  .inventory-item > span {
    font-size: 0.75rem;
  }
  .project-detail h3 {
    max-width: 74%;
    font-size: 1.4rem;
  }
  .project-large-icon svg {
    width: 57px;
    height: 57px;
  }
  .price-card {
    padding: 28px 21px 23px;
  }
  .price-card .old-price {
    top: 38px;
    right: 21px;
    font-size: 0.75rem;
  }
  .price-per {
    font-size: 0.75rem;
  }
  .final-copy .btn {
    font-size: 0.875rem;
    padding: 15px 16px;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
  }
  .final-note {
    font-size: 0.75rem;
  }
  .final-section {
    min-height: 610px;
  }
  .footer-top {
    gap: 18px 20px;
  }
  .footer-top p {
    flex: 0 0 100%;
  }
  .dialog-content {
    padding: 31px 22px 24px;
  }
  .dialog-content > .eyebrow {
    max-width: 87%;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }
  .contact-choices {
    grid-template-columns: repeat(2, 1fr);
  }
  .messenger-links {
    gap: 6px;
  }
  .messenger-links button {
    font-size: 0.75rem;
    gap: 5px;
  }
  .form-row {
    grid-template-columns: 1fr 85px;
  }
  .choice-group label > span {
    font-size: 0.875rem;
  }
  .enroll-success {
    padding-inline: 24px;
  }
  .success-demo {
    font-size: 0.875rem;
  }
}
@media (max-width: 374px) {
  .brand {
    font-size: 1.3rem;
    gap: 6px;
  }
  .brand-icon {
    width: 22px;
  }
  .header-cta {
    padding-inline: 7px;
    font-size: 0.75rem;
    line-height: 1.25;
    max-width: 109px;
  }
  .hero-eyebrow {
    font-size: 0.75rem;
  }
  .hero-facts {
    font-size: 0.75rem;
    gap: 12px;
  }
  .hero-facts b {
    font-size: 0.8125rem;
  }
  .hero-world {
    height: 473px;
  }
  .hero-world .scene-viewport {
    height: 351px;
  }
  .world-label {
    top: 251px;
  }
  .console-bottom > span {
    max-width: 143px;
    font-size: 0.75rem;
  }
  .hero-bottom > .mono {
    font-size: 0.75rem;
    max-width: 52%;
  }
  .course-tabs {
    gap: 6px;
  }
  .course-tab {
    padding: 12px 8px;
  }
  .course-tab small {
    font-size: 0.75rem;
  }
  .course-tab strong {
    font-size: 1.15rem;
  }
  .price-index {
    font-size: 0.75rem;
  }
  .price-card h3 {
    font-size: 1.0625rem;
  }
  .price {
    font-size: 1.75rem;
  }
  .final-copy .btn {
    font-size: 0.875rem;
  }
  .dialog-content h2 {
    font-size: 2rem;
  }
}
