/* Landing page */
.hero { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-copy { flex: 1 1 520px; min-width: 0; padding: 64px 40px 52px max(40px, calc((100vw - 1320px) / 2 + 40px)); display: flex; flex-direction: column; justify-content: center; }
.hero-kicker { margin: 0 0 22px; font-family: var(--f-mono); font-weight: 700; font-size: 15px; letter-spacing: .06em; color: var(--yellow); }
.hero h1 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 6.2vw, 92px); line-height: .95; letter-spacing: .005em; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub { margin: 30px 0 0; font-family: var(--f-tech); font-weight: 600; font-size: 21px; line-height: 1.45; letter-spacing: .16em; color: var(--cyan); text-transform: uppercase; }
.hero-body { margin: 22px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-feats { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 44px; font-family: var(--f-tech); font-weight: 500; font-size: 14px; letter-spacing: .05em; line-height: 1.4; color: var(--muted); text-transform: uppercase; }
.hero-feats div { display: flex; flex-direction: column; gap: 10px; }
.hero-art { flex: 1 1 560px; min-width: 0; min-height: 420px; position: relative; }
.hero-art img { width: 100%; height: 100%; min-height: 420px; max-height: 780px; object-fit: cover; object-position: 30% center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
@media (max-width: 720px) {
  .hero-copy { padding: 44px 16px 36px; }
  .hero-sub { font-size: 17px; letter-spacing: .1em; }
  .hero-art img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%); min-height: 340px; }
  .hero-art { min-height: 340px; }
}

.subjects { background: var(--navy-850); border-bottom: 1px solid var(--line); padding: 32px 0; }
.subject-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .subject-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .subject-row { gap: 10px; } .subject { padding: 18px 10px 20px; } .subject svg { width: 72px; height: 72px; } .subject h3 { font-size: 16px; letter-spacing: .08em; } .subject p { font-size: 14px; } }
.subject { padding: 26px 20px 28px; text-align: center; }
.subject h3 { margin: 16px 0 6px; font-family: var(--f-tech); font-weight: 600; font-size: 21px; letter-spacing: .12em; text-transform: uppercase; }
.subject p { margin: 0; color: var(--muted); }

.section { padding: 64px 0 76px; border-bottom: 1px solid var(--line); }
.steps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 42px; }
.step { flex: 1 1 300px; min-width: 0; max-width: 400px; }
.step .cut-inner { padding: 30px 30px 28px; min-height: 330px; display: flex; flex-direction: column; }
.step-num { margin: 0; font-family: var(--f-display); font-size: 24px; color: var(--yellow); }
.step h3 { margin: 10px 0 12px; font-family: var(--f-tech); font-weight: 600; font-size: 23px; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.step p { margin: 0; color: var(--muted); font-size: 17px; }
.step-art { margin-top: auto; padding-top: 18px; display: flex; justify-content: center; }
.step-arrow { flex: none; }
@media (max-width: 1000px) { .step-arrow { transform: rotate(90deg); } }

/* curriculum */
.tabs { display: inline-flex; border: 1px solid var(--line-2); margin: 28px 0 24px; }
.tabs button { font-family: var(--f-tech); font-weight: 700; font-size: 14px; letter-spacing: .08em; background: transparent; color: var(--muted); border: 0; padding: 14px 20px; cursor: pointer; min-height: 48px; }
.tabs button[aria-selected="true"] { background: var(--yellow); color: var(--navy-900); }
.cur-label { margin: 0 0 12px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--cyan); }
.cur-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cur-grid.labs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cur-grid, .cur-grid.labs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cur-grid, .cur-grid.labs { grid-template-columns: 1fr; } }
.cur-card { padding: 22px; }
.cur-card .code { font-family: var(--f-mono); font-size: 12px; color: var(--cyan); margin: 0 0 6px; }
.cur-card h3 { margin: 0 0 10px; font-family: var(--f-tech); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.cur-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.cur-card.lab { border-color: var(--yellow); background: linear-gradient(180deg, rgba(255,210,31,.08), rgba(8,22,56,.9)); }
.cur-card.lab h3 { color: var(--yellow); }

/* lab showcase */
.lab-show { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; margin-top: 36px; border: 1px solid var(--line-2); background: var(--navy-800); }
@media (max-width: 900px) { .lab-show { grid-template-columns: 1fr; } }
.lab-list { border-right: 1px solid var(--line-2); padding: 12px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 900px) { .lab-list { border-right: 0; border-bottom: 1px solid var(--line-2); flex-direction: row; overflow-x: auto; } }
.lab-list button { text-align: left; background: transparent; border: 1px solid transparent; color: var(--text); padding: 14px; cursor: pointer; font: inherit; min-width: 200px; }
.lab-list button:hover { border-color: var(--line-2); }
.lab-list button[aria-pressed="true"] { border-color: var(--cyan); background: rgba(76,195,255,.1); }
.lab-list .t { display: block; font-family: var(--f-tech); font-weight: 600; letter-spacing: .04em; }
.lab-list .m { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--cyan); margin-top: 4px; }
.lab-main { min-width: 0; display: flex; flex-direction: column; }
.lab-head { padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.lab-head h3 { margin: 0; font-family: var(--f-tech); font-size: 22px; letter-spacing: .04em; }
.lab-head p { margin: 6px 0 0; color: var(--muted); }
#lab-host { display: flex; flex-direction: column; }
.lab-stage { height: 400px; background: radial-gradient(circle at 50% 40%, #0f2a6a 0, var(--navy-800) 70%); }
@media (max-width: 560px) { .lab-stage { height: 300px; } }
.lab-controls { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 16px 22px 20px; border-top: 1px solid var(--line-2); align-items: flex-end; }
.lab-field { flex: 1 1 220px; }
.lab-field label { display: flex; justify-content: space-between; font-family: var(--f-tech); font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.lab-field output { color: var(--yellow); font-family: var(--f-mono); }
.lab-readout { flex: 1 1 100%; margin: 0; color: var(--cyan-2); font-size: 14px; min-height: 22px; }

/* sample lesson */
.sample { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 36px; }
.sample-plan { flex: 1 1 480px; min-width: 0; }
.sample-plan ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sample-plan li { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line-2); background: var(--navy-800); }
.sample-plan li .tag { flex: none; min-width: 74px; font-family: var(--f-mono); font-weight: 700; font-size: 13px; color: var(--yellow); }
.sample-plan .stds { margin: 16px 0 0; font-family: var(--f-mono); font-size: 13px; color: var(--muted-2); }
.worksheet { flex: 1 1 380px; min-width: 0; background: #f6f9ff; color: #10233f; padding: 26px; border: 1px solid #fff; }
.worksheet .ws-head { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid #10233f; padding-bottom: 10px; }
.worksheet table { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 13px; margin-top: 8px; }
.worksheet td, .worksheet th { border: 1px solid #10233f; padding: 8px; text-align: left; }
.worksheet .lines { height: 56px; background-image: linear-gradient(transparent 26px, #8aa0c2 27px, transparent 28px); background-size: 100% 28px; }

/* progress */
.progress-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; margin-top: 36px; }
@media (max-width: 900px) { .progress-wrap { grid-template-columns: 1fr; } }
.chart-card { padding: 20px; }
.chart-card .stage { height: 320px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { padding: 20px; }
.feature-list h3 { margin: 0 0 6px; font-family: var(--f-tech); letter-spacing: .06em; font-size: 18px; text-transform: uppercase; color: var(--yellow); }
.feature-list p { margin: 0; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow), 0 0 28px rgba(255,210,31,.18); }
.plan .tier { margin: 0; font-family: var(--f-mono); font-size: 12px; color: var(--cyan); letter-spacing: .1em; }
.plan h3 { margin: 0; font-family: var(--f-cond); font-size: 32px; text-transform: uppercase; }
.plan .price { margin: 0; font-family: var(--f-display); font-size: 42px; }
.plan .price small { font-family: var(--f-body); font-size: 15px; color: var(--muted); }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; flex: 1; }
.billing-toggle { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; color: var(--muted); font-size: 15px; }

/* faq */
.faq { max-width: 900px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line-2); background: var(--navy-800); }
.faq summary { cursor: pointer; padding: 18px 20px; font-family: var(--f-tech); font-weight: 600; font-size: 17px; letter-spacing: .04em; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--yellow); font-family: var(--f-mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
