/* Shared visual rhythm for the school homepage. Demo projects keep their own art direction. */
:root {
  --bg: #0b1018;
  --panel: #141d28;
  --panel2: #1b2632;
  --light: #f3f5ef;
  --muted: #b3bfcc;
  --line: #ffffff20;
  --accent: #d7fa82;
  --shadow: 0 18px 48px #03081024;
}
body { color: var(--light); }
.wrap { width: min(1160px, calc(100% - 48px)); }
.tag, .smallcaps { letter-spacing: .1em; line-height: 1.6; }
.btn { min-height: 48px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.btn.primary { box-shadow: none; }
.btn.ghost { background: #ffffff04; border-color: #53606c; }
.btn:hover { transform: none; }
.quiet-link { line-height: 1.6; }
.section { padding-block: 68px; }
.section-top { margin-bottom: 28px; }
.section h2 { font-weight: 650; letter-spacing: -.04em; line-height: 1.14; }
.section-top p { line-height: 1.7; }

/* Navigation remains available on small screens, without compressing its labels. */
.header { background: #0b1018f5; border-bottom-color: #ffffff1c; }
.nav { min-height: 76px; height: auto; padding-block: 13px; gap: 22px; }
.logo { letter-spacing: -.035em; font-size: 19px; }
.mark { border-radius: 8px; }
.navlinks { gap: 18px; font-size: 12px; }
.navlinks a { display: inline-flex; align-items: center; min-height: 44px; }
.navcta { min-height: 44px; padding: 10px 16px; border-radius: 10px; font-size: 13px; }
.school-menu-toggle { display: none; }
.school-menu[hidden] { display: none !important; }
.school-menu { display: none; }
.school-skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  transform: translateY(-150%); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 8px;
  color: #162115; background: var(--accent); font-weight: 700;
}
.school-skip:focus { transform: none; opacity: 1; pointer-events: auto; }

/* A short proposition and one leading project image establish the first screen. */
.hero { background: radial-gradient(ellipse at 100% 0%, #b6d5940a, transparent 62%); }
.hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; padding-block: 56px; }
.eyebrow { border: 0; padding: 0; background: none; font-size: 12px; font-weight: 600; color: #c2d4bd; }
.dot { width: 6px; height: 6px; box-shadow: none; }
.hero h1 { font-size: clamp(44px, 5vw, 66px); font-weight: 650; line-height: 1.07; letter-spacing: -.055em; margin: 23px 0; }
.hero .lead { font-size: 17px; line-height: 1.75; color: #bdc8d3; max-width: 520px; margin-bottom: 27px; }
.hero .buttons { gap: 10px; }
.hero-foot { margin-top: 28px; gap: 12px 24px; font-size: 12px; }
.hero-foot strong { font-size: 14px; font-weight: 650; }
.hero-mentor { margin-top: 25px; font-size: 12px; }
.hero-mentor strong { font-size: 13px; }
.hero-visual { padding: 19px; border: 1px solid #3e4d47; background: #15201f; border-radius: 20px; }
.hero-projects-tag { color: #c0cebf; font-size: 12px; letter-spacing: .03em; }
.hero-visual h2 { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; margin: 8px 0 18px; }
.hero-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-project-tile { border-color: #43504b; border-radius: 10px; background: #111a20; }
.hero-project-tile:first-child { grid-column: 1 / -1; }
.hero-project-tile img { height: 94px; background: #0e171d; }
.hero-project-tile:first-child img { height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.hero-project-tile > span { min-height: 38px; padding: 7px 10px; font-size: 12px; font-weight: 600; color: #e1e9df; }
.hero-project-tile:hover { transform: none; }
.hero-projects-note { margin-top: 13px; font-size: 12px; line-height: 1.6; color: #b6c5c0; }

/* The catalog explains choices before exposing all the detail. */
#programs.program-menu { padding-block: 52px; }
.program-menu .menu-heading { margin-bottom: 24px; }
.program-menu .menu-heading h2 { font-weight: 650; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.04em; }
.program-menu .menu-heading p { font-size: 15px; line-height: 1.7; }
.career-entry { border-color: #3c4c47; background: #141f25; border-radius: 12px; padding: 17px 20px; margin-bottom: 24px; }
.career-entry p, .career-entry > a { font-size: 13px; }
#programs #catalogFilters .chip { font-size: 12px; padding: 10px 14px; }
#programs .catalog-search label, #programs #catalogCount { font-size: 13px; }
#programs #catalogCount { color: #c2cdc6; }
.neural-catalog-intro { padding: 17px 20px; border-radius: 0 10px 10px 0; margin-bottom: 16px; background: #192720; }
.neural-catalog-intro p { font-size: 14px; }
.home-courses .neural-course-entrance { margin: 0 0 24px; padding: 18px 20px; background: #141e25; border-color: #3b4c48; border-radius: 12px; }
.home-courses .neural-course-entrance h2 { font-size: 16px; }
.home-courses .neural-start-actions { max-width: 680px; }
.home-courses .neural-start-actions button { min-height: 66px; font-size: 13px; background: #20302b; border-color: #536759; }
.home-courses .neural-start-actions span { font-size: 14px; }
.home-courses .neural-course-entrance > a { font-size: 13px; }
.program { border-color: #3b4950; border-radius: 16px; background: #15212c; box-shadow: none; }
.program-body { padding: 20px; }
.program .program-name { font-size: 23px; font-weight: 650; letter-spacing: -.025em; }
.program-outcome { font-size: 14px; line-height: 1.6; color: #c9d3d8; }
.program .n, .program .pill { font-size: 11px; letter-spacing: .04em; }
.program-category, .program-cover-index { font-size: 11px; }
.program-cover-note { font-size: 11px; background: #101923e8; padding: 2px 6px; border-radius: 4px; text-shadow: none; }
.program-outcome-label, .program-role > span, .program-skill > span { font-size: 12px; }
.program-role, .program-skill, .program-role strong { font-size: 13px; }
.program-meta > span, .program-level { font-size: 12px; }
.program-choice { font-size: 13px; border-radius: 8px; }
#programs .menu-note { color: #bac7c4; line-height: 1.7; }
.program[aria-pressed='true'] { box-shadow: 0 0 0 1px #d7fa82; }

/* Five interests have the same visual weight; questions follow a clear reading order. */
.quiz { padding: 30px; border-radius: 20px; background: #141e2b; box-shadow: none; }
.goal-options { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.goal-option { min-height: 148px; padding: 16px; border-radius: 12px; gap: 10px; }
.goal-option b { font-size: 14px; line-height: 1.4; }
.goal-option small { font-size: 12px; line-height: 1.55; color: #bdc9d5; }
.quiz-secondary .chip { font-size: 13px; }
.quiz-secondary p, .topic-picker p { font-size: 13px; line-height: 1.65; }
.quiz-hint { font-size: 14px; }
.question-no { border-color: #71835a; }

/* Selected plan and enquiry share typography without flattening their meaning. */
.selection-hero { background: #17252b; border-color: #4c5d4b; box-shadow: none; }
.selection-heading > .tag { font-size: 12px; letter-spacing: .08em; }
.selection-heading .offer-early-action > span { font-size: 12px; color: #c5d0bd; }
.selection-heading .detail-lead { font-size: 15px; line-height: 1.75; }
#selected .detail { box-shadow: none; background: #151f2b; }
.plan-nav a { font-size: 12px; line-height: 1.6; }
#selected .fact span, .pace-note, .selected-example figcaption, .selected-concept figcaption { font-size: 12px; line-height: 1.6; }
.requirement, .outcome p, .first-task p, .takeaways li { font-size: 14px; line-height: 1.7; }
.readiness-box summary, .takeaway-box > summary, .starter-pack summary { font-size: 14px; line-height: 1.65; }
.starter-pack p, .plan-save > p, .start-intro, .start-panel .contact-note, .idea-privacy, .start-alternative p { font-size: 13px; line-height: 1.7; }
.start-panel > label { font-size: 14px; }
.start-panel > label span, .start-panel > .tag, .start-summary > span, .mentor-quote footer { font-size: 12px; }
.start-summary p, .offer-facts dt, .offer-facts dd, .notices { font-size: 13px; line-height: 1.65; }
.program-curriculum { background: #171f2d; border-radius: 20px; }
.program-curriculum .steps li { font-size: 14px; background: #1b2735; }
.program-curriculum .refs > .subhead, .program-curriculum .refs a { font-size: 12px; }
.nb-grid > [role='listitem'] { display: flex; }
.nb-grid > [role='listitem'] > .nb-card { width: 100%; }

/* Proof, disclosures and closing copy use the same spacing and reading scale. */
.portfolio-overview { padding-top: 48px; padding-bottom: 24px; }
.portfolio-entry { border-radius: 16px; background: #16232b; border-color: #3b4c50; }
.portfolio-entry h3 { font-weight: 650; }
.content-disclosure { border-radius: 14px; background: #141e2a; border-color: #384651; }
.content-disclosure > summary { padding: 22px 25px; }
.content-disclosure > summary strong { font-size: 20px; font-weight: 600; }
.content-disclosure > summary small { font-size: 13px; color: #becbd8; }
.mentor-card { border-radius: 20px; background: #141f2b; }
.mentor-card p { color: #becad6; font-size: 15px; }
.mentor-card .intro-offer, .mentor-proof a { font-size: 13px; }
.faq summary { font-size: 16px; line-height: 1.5; min-height: 44px; display: flex; align-items: center; }
.faq p { font-size: 14px; line-height: 1.75; }
.closing { border-radius: 20px; padding: 34px; background: #17252b; margin-bottom: 48px; }
.closing h2 { font-weight: 600; letter-spacing: -.035em; }
.closing p { font-size: 15px; line-height: 1.7; }
.footer { font-size: 13px; line-height: 1.7; color: #adbdcc; padding-block: 26px 34px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 1280px) {
  .neural-menu .program-body { padding: 17px; }
  .neural-menu .program-name { font-size: 21px; }
  .neural-menu .program-outcome { font-size: 13px; }
}
@media (max-width: 1100px) {
  .navlinks { display: none; }
  .nav { gap: 12px; }
  .navcta { margin-left: auto; }
  .school-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid #53636b; border-radius: 10px; background: #17232d; color: var(--light); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
  .school-menu-toggle[aria-expanded='true'] { background: #d7fa82; color: #152211; border-color: #d7fa82; }
  .school-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 80px); overflow-y: auto; padding: 15px max(24px, calc((100vw - 1160px) / 2)); gap: 5px 20px; border-bottom: 1px solid #566151; background: #101923; box-shadow: 0 18px 26px #0005; }
  .school-menu a { min-height: 48px; padding: 12px 8px; border-bottom: 1px solid #ffffff16; font-size: 14px; line-height: 1.6; }
  .school-menu a:hover { color: var(--accent); }
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: clamp(44px, 5.6vw, 58px); }
  .hero .lead { font-size: 16px; }
  .goal-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goal-option { min-height: 135px; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 560px); }
  .nav { min-height: 68px; padding-block: 10px; gap: 8px; }
  .logo { font-size: 18px; gap: 7px; }
  .navcta { padding: 9px 12px; font-size: 12px; }
  .school-menu-toggle { font-size: 12px; padding-inline: 12px; }
  .school-menu { padding: 12px 16px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 34px; }
  .hero h1 { font-size: clamp(42px, 10.5vw, 58px); margin: 22px 0; }
  .hero .lead { font-size: 16px; line-height: 1.7; margin-bottom: 23px; }
  .hero .buttons { align-items: stretch; }
  .hero .buttons .btn { font-size: 14px; }
  .hero-foot { margin-top: 23px; gap: 10px 20px; }
  .hero-foot span, .hero-mentor { font-size: 12px; }
  .hero-mentor strong { font-size: 13px; }
  .hero-visual { padding: 16px; }
  .hero-visual h2 { font-size: 23px; }
  .hero-projects-tag, .hero-project-tile > span, .hero-projects-note { font-size: 12px; }
  .hero-project-tile img { height: 84px; }
  .hero-project-tile:first-child img { aspect-ratio: 1.8; }
  .section { padding-block: 48px; }
  .section h2 { font-size: clamp(30px, 8vw, 38px); }
  #programs.program-menu { padding-block: 38px; }
  .program-menu .menu-heading p { font-size: 14px; }
  .program-body { padding: 21px; }
  .program-category, .program-cover-index, .program-cover-note { font-size: 12px; }
  .program .n, .program .pill { font-size: 12px; letter-spacing: .02em; }
  .program .program-name { font-size: 24px; }
  .program-outcome { font-size: 15px; }
  #programs #catalogFilters .chip { font-size: 12px; padding: 10px 13px; }
  .career-entry { padding: 18px; }
  .neural-catalog-intro { padding: 16px; }
  .home-courses .neural-course-entrance { padding: 16px; }
  .home-courses .neural-start-actions button { padding: 12px; }
  .home-courses .neural-start-actions span { font-size: 13px; }
  .goal-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goal-option:last-child { grid-column: 1 / -1; min-height: 0; }
  .goal-option { padding: 15px; }
  .quiz { padding: 22px; }
  .quiz h3 { font-size: 20px; }
  .quiz-secondary .chip, .quiz-hint { font-size: 13px; }
  .selection-heading > .tag, .selection-heading .offer-early-action > span { font-size: 12px; }
  .selection-heading .detail-lead { font-size: 15px; }
  .start-panel > .btn, .start-alternative > .btn { font-size: 13px; }
  #selected .fact span, .program-curriculum .refs a { font-size: 12px; }
  .program-curriculum .steps li { font-size: 14px; }
  .takeaways li { font-size: 14px; }
  .content-disclosure > summary { padding: 20px; gap: 14px; }
  .content-disclosure > summary strong { font-size: 18px; }
  .content-disclosure > summary small { font-size: 13px; }
  .mentor-card p { font-size: 14px; }
  .mentor-card .intro-offer, .mentor-proof a { font-size: 13px; }
  .closing { padding: 26px; margin-bottom: 35px; }
  .closing p { font-size: 14px; }
  .footer { gap: 8px; }
  .dock-copy > span, .dock-copy strong, .dock-actions .quiet-link, .dock-actions .btn { font-size: 12px; }
}
@media (max-width: 380px) {
  .nav { gap: 6px; }
  .logo { font-size: 17px; }
  .mark { width: 27px; height: 29px; font-size: 20px; }
  .navcta, .school-menu-toggle { padding-inline: 9px; }
  .school-menu { grid-template-columns: 1fr; }
  .hero .buttons .btn { width: 100%; }
  .hero h1 { font-size: 41px; }
  .hero-project-tile img { height: 76px; }
  .hero-project-tile > span { padding-inline: 7px; }
  .program-body { padding: 19px; }
  .program .program-name { font-size: 23px; }
  .program-category { max-width: calc(100% - 96px); }
  .quiz { padding: 18px; }
  .goal-options { grid-template-columns: minmax(0, 1fr); }
  .goal-option { min-height: 0; gap: 7px; }
  .goal-option:last-child { grid-column: auto; }
  .goal-option .goal-glyph { display: none; }
  .home-courses .neural-start-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (forced-colors: active) {
  .program[aria-pressed='true'], .chip[aria-pressed='true'], .school-menu-toggle[aria-expanded='true'] { outline: 2px solid Highlight; outline-offset: 2px; }
  .hero-project-tile, .btn, .school-menu-toggle { border: 1px solid ButtonText; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-project-tile, .program, .program-media img { transition: none; }
  .hero-project-tile:hover, .program:hover, .program:hover .program-media img { transform: none; }
}
