:root {
  --program-bg: #070b14;
  --program-panel: #101827;
  --program-line: #31405c;
  --program-text: #f7f9fc;
  --program-muted: #aab6ca;
  --program-yellow: #ffd34d;
  --program-green: #4dd9a7;
  --program-cyan: #55c8ff;
  --program-coral: #ff7a6e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.python-program-page { margin: 0; background: var(--program-bg); color: var(--program-text); }
body.python-program-page:before,
body.python-program-page:after { display: none; }
.python-program-page main { background: var(--program-bg); }
.python-program-page h1,
.python-program-page h2,
.python-program-page h3,
.python-program-page p { letter-spacing: 0; }
.python-program-page .program-header { background: rgba(7,11,20,.94); border-color: #27344c; color: #fff; }
.python-program-page .program-header .brand,
.python-program-page .program-header nav a,
.python-program-page .program-header .header-actions a { color: #f7f9fc; }
.python-program-page .program-header .brand span { background: var(--program-yellow); color: #101522; box-shadow: 4px 4px 0 rgba(85,200,255,.28); }
.python-program-page .program-header nav a:hover,
.python-program-page .program-header .header-actions a:hover { background: #172238; color: #fff; }
.python-program-page .lang-toggle { border-color: #53617a; background: #101827; color: #fff; }

.program-hero { min-height: calc(100vh - 70px); display: grid; grid-template-columns: minmax(0,1fr) minmax(480px,680px); align-items: center; gap: 72px; width: min(1320px,calc(100% - 80px)); margin: 0 auto; padding: 74px 0 82px; position: relative; }
.program-hero:before { content: ""; position: absolute; inset: 24px 55% 24px -120px; border: 1px solid rgba(85,200,255,.13); background-image: linear-gradient(rgba(85,200,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(85,200,255,.06) 1px,transparent 1px); background-size: 40px 40px; pointer-events: none; }
.program-hero-copy { position: relative; z-index: 2; }
.program-kicker,.section-label { margin: 0 0 18px; color: var(--program-yellow); font-size: 12px; font-weight: 950; line-height: 1.5; }
.program-hero h1 { max-width: 720px; margin: 0; font-size: 68px; line-height: 1.02; text-wrap: balance; }
.program-lede { max-width: 650px; margin: 26px 0 0; color: #c4cede; font-size: 20px; line-height: 1.65; }
.program-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.program-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #72809a; border-radius: 6px; padding: 0 20px; color: #fff; font-weight: 900; transition: transform .18s ease,background .18s ease; }
.program-button:hover { transform: translateY(-2px); background: #172238; }
.program-button.is-bright { border-color: var(--program-yellow); background: var(--program-yellow); color: #101522; box-shadow: 0 6px 0 #927617; }
.program-button.is-bright:hover { background: #ffe16f; }
.program-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 44px 0 0; border-top: 1px solid var(--program-line); border-bottom: 1px solid var(--program-line); }
.program-facts div { min-height: 88px; padding: 18px 18px 16px 0; }
.program-facts div + div { border-left: 1px solid var(--program-line); padding-left: 18px; }
.program-facts dt { color: var(--program-muted); font-size: 12px; font-weight: 800; }
.program-facts dd { margin: 7px 0 0; font-size: 20px; font-weight: 950; }

.program-product { min-height: 600px; display: grid; place-items: center; position: relative; perspective: 1400px; }
.program-product>p { position: absolute; bottom: 16px; color: var(--program-muted); font-size: 12px; font-weight: 800; }
.program-orbit { position: absolute; width: 580px; height: 580px; border: 1px solid rgba(85,200,255,.25); border-radius: 50%; transform: rotateX(68deg) rotateZ(-12deg); animation: programOrbit 18s linear infinite; }
.program-orbit:before,.program-orbit:after,.program-orbit span { content: ""; position: absolute; border-radius: 50%; }
.program-orbit:before { inset: 74px; border: 1px solid rgba(77,217,167,.22); }
.program-orbit:after { inset: 145px; border: 1px solid rgba(255,211,77,.22); }
.program-orbit span { width: 9px; height: 9px; background: var(--program-yellow); box-shadow: 0 0 22px var(--program-yellow); }
.program-orbit span:nth-child(1) { top: 50%; left: -5px; }
.program-orbit span:nth-child(2) { top: 14%; right: 18%; background: var(--program-green); }
.program-orbit span:nth-child(3) { bottom: 8%; right: 26%; background: var(--program-cyan); }
.program-console { width: min(100%,610px); min-height: 390px; border: 1px solid #53617a; border-radius: 8px; background: #0b1120; box-shadow: 0 32px 70px rgba(0,0,0,.48),0 0 80px rgba(85,200,255,.1); overflow: hidden; transform: rotateY(-8deg) rotateX(4deg); animation: programFloat 7s ease-in-out infinite; position: relative; z-index: 2; }
.program-console>header,.program-console>footer { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; background: #151f32; border-bottom: 1px solid var(--program-line); font: 800 12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; }
.program-console>header b { color: var(--program-cyan); }
.program-console>footer { border-top: 1px solid var(--program-line); border-bottom: 0; color: var(--program-green); }
.program-console>footer b { color: var(--program-yellow); }
.program-console-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 292px; }
.program-console-body section { padding: 28px 24px; border-right: 1px solid var(--program-line); }
.program-console-body small { color: var(--program-coral); font-weight: 900; }
.program-console-body h2 { margin: 12px 0 8px; font-size: 25px; }
.program-console-body p { color: var(--program-muted); font-size: 14px; line-height: 1.55; }
.program-console-body ul { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 800; }
.program-console-body li { display: flex; align-items: center; gap: 8px; }
.program-console-body li i { width: 9px; height: 9px; border-radius: 50%; background: var(--program-green); box-shadow: 0 0 12px rgba(77,217,167,.7); }
.program-console-body pre { margin: 0; padding: 30px 22px; overflow: hidden; background: #071428; color: #f2f6ff; font: 13px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace; white-space: pre-wrap; }
.program-console-body pre span { color: var(--program-coral); }

.section-inner { width: min(1180px,calc(100% - 48px)); margin: 0 auto; }
.section-inner>h2,.outcome-layout h2,.teacher-layout h2,.fit-layout h2,.inquiry-copy h2 { margin: 0; font-size: 44px; line-height: 1.12; text-wrap: balance; }
.section-intro { max-width: 780px; margin: 20px 0 0; color: var(--program-muted); font-size: 18px; line-height: 1.7; }
.outcome-band { padding: 92px 0; background: var(--program-yellow); color: #111624; }
.outcome-band .section-label { color: #5c4a00; }
.outcome-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.outcome-list { border-top: 2px solid #111624; }
.outcome-list p { display: grid; grid-template-columns: 54px 1fr; gap: 14px; margin: 0; padding: 20px 0; border-bottom: 1px solid rgba(17,22,36,.35); font-size: 18px; font-weight: 800; line-height: 1.5; }
.outcome-list b { font: 900 14px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; }

.build-path { padding: 110px 0; background: #0b1120; }
.assembly-line { margin: 54px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--program-line); }
.assembly-line li { min-height: 220px; display: grid; grid-template-columns: 240px 1fr; gap: 60px; padding: 34px 0; border-bottom: 1px solid var(--program-line); }
.assembly-marker { display: flex; align-items: flex-start; gap: 18px; }
.assembly-marker span { width: 56px; height: 56px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--program-yellow); color: var(--program-yellow); font: 900 18px/1 ui-monospace,SFMono-Regular,Consolas,monospace; }
.assembly-marker b { padding-top: 10px; color: var(--program-muted); font-size: 12px; }
.assembly-content { display: grid; grid-template-columns: 190px minmax(220px,.8fr) minmax(280px,1.3fr) 110px; gap: 24px; align-items: start; }
.assembly-content p { margin: 10px 0 0; color: var(--program-cyan); font-size: 12px; font-weight: 900; }
.assembly-content h3 { margin: 4px 0 0; font-size: 26px; }
.assembly-content>span { color: #c2ccdc; font-size: 16px; line-height: 1.65; }
.assembly-content small { color: var(--program-yellow); font-weight: 850; }

.teacher-band { padding: 96px 0; background: var(--program-green); color: #0a2019; }
.teacher-band .section-label { color: #174e3c; }
.teacher-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.support-lines { margin: 0; border-top: 2px solid #0a2019; }
.support-lines div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(10,32,25,.35); }
.support-lines dt { font-weight: 950; }
.support-lines dd { margin: 0; line-height: 1.6; }

.fit-band { padding: 106px 0; background: #f2f4f7; color: #111624; }
.fit-band .section-label { color: #006c54; }
.fit-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.fit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid #111624; }
.fit-columns section { padding: 24px 28px 0 0; }
.fit-columns section + section { border-left: 1px solid #bdc5d1; padding-left: 28px; }
.fit-columns h3 { margin: 0 0 16px; font-size: 20px; }
.fit-columns p { color: #48546a; line-height: 1.65; }

.price-band { padding: 96px 0; background: var(--program-coral); color: #21100d; }
.price-band .section-label { color: #6b231d; }
.price-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.price-layout h2 { margin: 0; font-size: 88px; line-height: 1; }
.price-layout p { max-width: 600px; font-size: 17px; line-height: 1.65; }
.price-next { display: grid; border-top: 2px solid #21100d; }
.price-next>span { padding: 16px 0; border-bottom: 1px solid rgba(33,16,13,.35); font-weight: 850; }
.price-next .program-button { width: fit-content; margin-top: 24px; }

.faq-band { padding: 104px 0; background: #0b1120; }
.faq-list { margin-top: 42px; border-top: 1px solid var(--program-line); }
.faq-list details { border-bottom: 1px solid var(--program-line); }
.faq-list summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 18px; font-weight: 900; }
.faq-list summary:after { content: "+"; color: var(--program-yellow); font-size: 24px; }
.faq-list details[open] summary:after { content: "−"; }
.faq-list p { max-width: 780px; margin: 0 0 24px; color: var(--program-muted); line-height: 1.65; }

.inquiry-band { padding: 110px 0; background: #101827; }
.inquiry-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.inquiry-copy { position: sticky; top: 110px; }
.inquiry-copy>p:last-child { color: var(--program-muted); font-size: 17px; line-height: 1.7; }
.program-form { padding: 34px; border: 1px solid #53617a; border-radius: 8px; background: #0b1120; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.program-form label { display: grid; gap: 8px; color: #dce3ef; font-weight: 850; }
.program-form input,.program-form select { width: 100%; min-height: 48px; border: 1px solid #53617a; border-radius: 5px; padding: 0 12px; background: #111a2c; color: #fff; font: inherit; }
.program-form input:focus,.program-form select:focus { outline: 3px solid rgba(85,200,255,.35); border-color: var(--program-cyan); }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.program-form .consent-line { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 24px; font-weight: 650; line-height: 1.55; }
.program-form .consent-line input { width: 20px; min-height: 20px; margin-top: 2px; }
.program-submit { width: 100%; min-height: 50px; margin-top: 24px; border: 1px solid var(--program-yellow); border-radius: 6px; background: var(--program-yellow); color: #101522; box-shadow: 0 6px 0 #927617; font: 950 16px/1 inherit; cursor: pointer; }
.program-submit:disabled { opacity: .65; cursor: wait; }
.form-truth { margin: 20px 0 0; color: var(--program-muted); font-size: 13px; text-align: center; }
.form-status { min-height: 24px; margin: 12px 0 0; font-weight: 850; text-align: center; }
.form-status.is-success { color: var(--program-green); }
.form-status.is-error { color: #ff9c93; }

.program-footer { min-height: 110px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 26px 46px; border-top: 1px solid #27344c; background: #070b14; color: #fff; }
.program-footer .brand { color: #fff; }
.program-footer .brand span { background: var(--program-yellow); color: #111624; }
.program-footer p { color: var(--program-muted); }
.program-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.program-footer nav a { color: #fff; font-weight: 850; }

@keyframes programFloat { 0%,100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-4deg) rotateX(2deg) translateY(-14px); } }
@keyframes programOrbit { to { transform: rotateX(68deg) rotateZ(348deg); } }

@media (max-width: 1100px) {
  .program-hero { grid-template-columns: 1fr; width: min(900px,calc(100% - 48px)); gap: 32px; }
  .program-product { min-height: 530px; }
  .program-hero:before { inset: 24px -40px 50% -40px; }
  .outcome-layout,.teacher-layout,.fit-layout,.price-layout,.inquiry-layout { grid-template-columns: 1fr; gap: 44px; }
  .assembly-line li { grid-template-columns: 180px 1fr; gap: 32px; }
  .assembly-content { grid-template-columns: 150px 1fr; }
  .assembly-content>span { grid-column: 1/-1; }
  .inquiry-copy { position: static; }
}

@media (max-width: 760px) {
  .program-hero { width: min(100% - 28px,900px); min-height: 0; padding: 52px 0 64px; }
  .program-hero:before { display: none; }
  .program-hero h1 { font-size: 46px; }
  .program-lede { font-size: 17px; }
  .program-actions { display: grid; }
  .program-facts { grid-template-columns: 1fr; }
  .program-facts div { min-height: 70px; }
  .program-facts div + div { border-left: 0; border-top: 1px solid var(--program-line); padding-left: 0; }
  .program-product { min-height: 430px; }
  .program-orbit { width: min(310px,86vw); height: auto; aspect-ratio: 1; transform: rotateX(68deg); }
  .program-console { min-height: 330px; transform: none; animation: none; }
  .program-console-body { grid-template-columns: 1fr; }
  .program-console-body section { padding: 20px; border-right: 0; border-bottom: 1px solid var(--program-line); }
  .program-console-body section p,.program-console-body section ul { display: none; }
  .program-console-body pre { min-height: 166px; padding: 20px; font-size: 12px; }
  .section-inner>h2,.outcome-layout h2,.teacher-layout h2,.fit-layout h2,.inquiry-copy h2 { font-size: 34px; }
  .outcome-band,.teacher-band,.fit-band,.price-band { padding: 72px 0; }
  .build-path,.faq-band,.inquiry-band { padding: 80px 0; }
  .assembly-line li { grid-template-columns: 1fr; gap: 18px; }
  .assembly-content { grid-template-columns: 1fr; gap: 12px; }
  .assembly-content>span { grid-column: auto; }
  .fit-columns { grid-template-columns: 1fr; }
  .fit-columns section + section { margin-top: 24px; border-left: 0; border-top: 1px solid #bdc5d1; padding: 24px 0 0; }
  .support-lines div { grid-template-columns: 1fr; gap: 8px; }
  .price-layout h2 { font-size: 68px; }
  .form-grid { grid-template-columns: 1fr; }
  .program-form { padding: 22px 18px; }
  .program-footer { grid-template-columns: 1fr; padding: 30px 20px; }
}

@media (max-width: 420px) {
  .program-hero h1 { font-size: 39px; }
  .program-console>header { font-size: 10px; }
  .program-console-body h2 { font-size: 21px; }
  .section-inner { width: min(100% - 28px,1180px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .program-orbit,.program-console { animation: none; }
  .program-button { transition: none; }
}
