:root {
  color-scheme: dark;
  --page: #080d1b;
  --panel: #11182b;
  --panel-deep: #0c1222;
  --white: #f7f8ff;
  --muted: #aeb7d1;
  --subtle: #8f9ab7;
  --line: #28324c;
  --purple: #c1adff;
  --violet: #a795f8;
  --mint: #84e9ce;
  --body: system-ui, -apple-system, sans-serif;
  font: 16px/1.55 var(--body);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--white); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
[hidden] { display: none !important; }
section[id], article[id] { scroll-margin-top: 25px; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; border-radius: 8px; padding: 9px 14px; background: var(--white); color: var(--page); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
h1,h2,h3 { margin: 0; font-weight: 700; line-height: 1.03; letter-spacing: -.058em; }
h1 { font-size: clamp(3.6rem, 6vw, 6.65rem); }
h1 em { color: #cbbcff; font-style: normal; background: linear-gradient(110deg,#f4edff 0%,#c2aaff 48%,#9c8bf7 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: clamp(2.5rem, 4.4vw, 4.05rem); }
h3 { font-size: clamp(1.32rem,2.25vw,1.75rem); letter-spacing: -.039em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--purple); font-size: .77rem; font-weight: 740; letter-spacing: .16em; margin: 0 0 18px; }
.eyebrow > span { width: 19px; height: 1px; flex: none; background: currentColor; }
.site-header { position: relative; z-index: 5; border-bottom: 1px solid #8494c42b; background: #090d1b; }
.header-inner { position: relative; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; flex: none; }
.brand > span { font-size: 1.32rem; letter-spacing: -.055em; font-weight: 760; line-height: .94; }
.brand small { display: block; color: var(--subtle); font-size: .54rem; letter-spacing: .16em; font-weight: 740; margin-top: 6px; }
.site-nav { display: flex; gap: clamp(18px,3.1vw,42px); align-items: center; }
.site-nav a { text-decoration: none; font-size: .89rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .2s ease; }
.site-nav a:hover, .site-nav [aria-current="page"] { color: var(--white); }
.site-nav [aria-current="page"] { box-shadow: 0 2px 0 var(--violet); }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; width: fit-content; min-height: 47px; padding: 10px 19px; border: 1px solid transparent; border-radius: 9px; font-size: .95rem; font-weight: 680; line-height: 1.15; white-space: nowrap; text-decoration: none; color: var(--white); background: transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(107deg,#dbcbff,#ad96fa); color: #17102b; box-shadow: 0 6px 20px #9975f238; }
.button-primary:hover { box-shadow: 0 8px 26px #a282fd59; }
.button-secondary { border-color: #6571977a; background: #b4a4ef0b; }
.button-secondary:hover { background: #302a50; border-color: #b1a1ec; }
.button-header { flex: none; min-height: 41px; padding-inline: 16px; font-size: .85rem; border-color: #493e70; background: #221b39; color: #e8ddff; }
.button-header:hover { border-color: var(--purple); }
.button:disabled { cursor: progress; opacity: .7; transform: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 80% 47%,#242047 0%,#12172e 32%,#080d1b 69%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: linear-gradient(#9383d714 1px,transparent 1px),linear-gradient(90deg,#9383d714 1px,transparent 1px); background-size: 55px 55px; mask-image: radial-gradient(ellipse 85% 72% at 82% 72%,#000 5%,transparent 85%); }
.hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 4px; min-height: clamp(495px,44vw,660px); padding-block: 38px 48px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 790px; line-height: .99; }
.hero h1 em { white-space: normal; }
.hero-intro { color: var(--muted); font-size: clamp(1.04rem,1.5vw,1.19rem); max-width: 470px; margin: 24px 0 27px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.platform-list { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; font-size: .84rem; color: #c8d0e6; font-weight: 640; }
.platform-list i { display: inline-block; height: 3px; width: 3px; background: #9497b7; border-radius: 50%; }
.hero-art { min-width: 0; isolation: isolate; perspective: 1100px; position: relative; height: clamp(370px,38vw,550px); margin-inline: -36px -25px; --tilt-x: 0deg; --tilt-y: 0deg; }
.art-stage { position: absolute; z-index: -1; inset: -5% -6%; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform .25s ease-out; }
.art-stage img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; mask-image: radial-gradient(ellipse at 53% 48%,#000 27%,#000 53%,transparent 76%); }
.orbit-layer { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.orbit-layer canvas { display: block; width: 100%; height: 100%; }
.art-card { display: flex; gap: 10px; align-items: center; position: absolute; z-index: 2; padding: 9px 12px 9px 9px; background: #192144df; border: 1px solid #9480db70; border-radius: 10px; box-shadow: 0 14px 38px #020716a8,inset 0 1px 0 #b4a6f82c; backdrop-filter: blur(11px); font-size: .8rem; }
.art-card--top { top: 16%; right: 4%; }
.art-card--bottom { left: 2%; bottom: 15%; }
.art-card-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: #a892ff25; color: #d1c3ff; font-size: 1.19rem; }
.art-card strong, .art-card small { display: block; white-space: nowrap; }
.art-card small { color: #b6bfd7; font-size: .7rem; }
.motion-toggle { position: absolute; z-index: 3; right: 3%; bottom: -1%; background: #10192acc; border: 1px solid var(--line); color: #c3cde6; font-size: .72rem; border-radius: 7px; padding: 5px 8px; }
.motion-toggle:hover { color: var(--white); border-color: var(--violet); }
.stats-band { border-block: 1px solid #41446989; background: #0f1427; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding-block: 27px; }
.stat { min-width: 0; padding-inline: clamp(16px,4vw,55px) 9px; border-left: 1px solid #4c51775e; }
.stat:first-child { border: 0; padding-left: 0; }
.stat-number { display: block; color: #f4f2ff; font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; letter-spacing: -.065em; line-height: 1; }
.stat-number > span { color: var(--mint); }
.stat-number > small { font-size: .67rem; letter-spacing: .04em; font-weight: 700; color: var(--purple); }
.stat p { color: var(--muted); font-size: .86rem; margin: 7px 0 0; }
.stat p small { display: block; color: #c1afe8; font-size: .75rem; }
.section { padding-block: clamp(57px,7.1vw,104px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.section-heading > p { color: var(--muted); margin: 0; width: min(100%,325px); }
.studio-section { padding-bottom: 0; }
.dashboard { overflow: hidden; background: linear-gradient(148deg,#141b32,#0f172b 59%,#11192e); border: 1px solid #41486e; border-radius: 17px; box-shadow: 0 25px 85px #020612ad,0 0 55px #8775df15; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.dash-title, .dash-controls { display: flex; align-items: center; gap: 10px; }
.dash-title strong,.dash-title small { display: block; line-height: 1.2; }
.dash-title strong { font-size: .95rem; }
.dash-title small { color: var(--subtle); font-size: .74rem; margin-top: 4px; }
.demo-chip { display: flex; align-items: center; gap: 6px; background: #66dfb921; color: #a3f6d7; border: 1px solid #66dfb941; border-radius: 50px; white-space: nowrap; font-size: .73rem; padding: 4px 8px; }
.demo-chip i { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 7px var(--mint); }
.dashboard.is-running .demo-chip i { animation: pulse 2s infinite ease-in-out; }
@keyframes pulse { 50% { opacity: .46; box-shadow: 0 0 2px var(--mint); } }
.dash-pause { color: #e3def7; background: #b6a8ff13; padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; font-size: .75rem; white-space: nowrap; }
.dash-pause:hover { border-color: var(--purple); }
.dash-tabs { display: flex; align-items: center; gap: 8px; padding: 15px 22px 0; }
.dash-tabs button { min-height: 37px; padding: 5px 12px; border: 1px solid transparent; border-radius: 7px; color: var(--muted); font-size: .85rem; background: transparent; font-weight: 650; }
.dash-tabs button:hover { color: var(--white); }
.dash-tabs button[aria-pressed="true"] { border-color: #7363b98c; color: #ede4ff; background: #a693f528; }
.dash-body { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(195px,1fr); gap: 14px; padding: 14px 22px 22px; }
.dash-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-bottom: 10px; }
.dash-metrics > div, .dash-chart, .dash-feed { border: 1px solid #343e60; border-radius: 9px; background: #0c1427cc; }
.dash-metrics > div { padding: 11px 12px; min-width: 0; }
.dash-metrics span, .dash-metrics strong { display: block; }
.dash-metrics span { color: var(--muted); font-size: .77rem; }
.dash-metrics strong { margin-top: 4px; font-size: clamp(1.19rem,2.65vw,1.8rem); letter-spacing: -.045em; line-height: 1.14; font-variant-numeric: tabular-nums; }
.dash-chart { padding: 12px 13px 10px; }
.dash-chart-heading { display: flex; justify-content: space-between; gap: 7px; font-size: .88rem; }
.dash-chart-heading small { color: var(--subtle); font-size: .71rem; }
.dash-chart canvas { display: block; width: 100%; height: 133px; margin-top: 8px; }
.chart-days { display: flex; justify-content: space-between; gap: 4px; color: var(--subtle); font-size: .69rem; margin-top: 3px; }
.dash-feed { padding: 13px; }
.dash-feed h3 { font-size: .92rem; letter-spacing: 0; }
.dash-feed ul { list-style: none; padding: 0; margin: 9px 0 0; }
.dash-feed li { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .8rem; }
.dash-feed li i { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 6px; background: #a58cff26; color: #c7b5ff; font: normal .89rem/1 var(--body); }
.dash-feed small { display: block; color: var(--subtle); font-size: .68rem; }
.dash-feed li.is-new { animation: new-event .35s ease-out both; }
@keyframes new-event { from { opacity: .3; transform: translateY(-4px); } }
.path-grid, .three-grid, .team-grid { display: grid; gap: 16px; }
.path-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.path-card, .program-card, .team-card { border: 1px solid #353a61; border-radius: 14px; background: #11182c; }
.path-card { padding: clamp(23px,4vw,42px); display: flex; flex-direction: column; align-items: start; background: radial-gradient(ellipse at 92% 0%,#2c2451,transparent 70%),#12182b; }
.path-card--studio { background: radial-gradient(ellipse at 91% 0%,#1b3a40,transparent 69%),#111b2b; border-color: #344e5e; }
.path-card p, .program-card p, .team-card p { color: var(--muted); margin: 11px 0 18px; }
.path-card .button, .program-card .button { margin-top: auto; }
.path-card .offer { color: var(--mint); margin-top: -4px; font-size: .88rem; font-weight: 650; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 19px; border: 1px solid #a998ff66; border-radius: 10px; background: #b4a2fa17; color: #d4c4ff; font-size: 1.28rem; }
.path-card--studio > .feature-icon { color: var(--mint); border-color: #84e9ce56; background: #84e9ce1b; }
.final-section { padding-bottom: clamp(45px,5vw,68px); }
.final-banner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(25px,4.6vw,57px); border: 1px solid #53476f; border-radius: 16px; background: radial-gradient(ellipse at 100% 0%,#342461,transparent 60%),#151b31; }
.final-banner h2 { font-size: clamp(2.2rem,4.2vw,3.85rem); }
.final-banner p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); }
.final-banner .button { flex: none; }
.site-footer { background: #090e1c; border-top: 1px solid var(--line); }
.footer { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; align-items: start; gap: 24px; padding-block: 32px 38px; font-size: .87rem; }
.footer a:not(.brand) { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer p { margin: 9px 0 0; color: var(--subtle); }
.footer-links { display: grid; gap: 7px; }
.footer-end p { margin: 0 0 7px; }
.footer-end span { color: var(--purple); }
.page-hero { padding-block: clamp(52px,7vw,95px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 75% 2%,#252044,transparent 67%),#0e1426; }
.page-hero-grid { display: grid; grid-template-columns: 1.18fr .8fr; align-items: center; gap: clamp(26px,6vw,76px); }
.page-hero h1, .subpage h1 { font-size: clamp(3.3rem,5.5vw,5.8rem); }
.page-hero-grid > div > p:not(.eyebrow), .subpage-intro { color: var(--muted); font-size: 1.12rem; margin: 19px 0 23px; max-width: 540px; }
.page-photo { width: 100%; height: auto; border-radius: 15px; aspect-ratio: 1.27; object-fit: cover; object-position: center; border: 1px solid #564977; box-shadow: 0 19px 30px #0003; }
.three-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.program-card { padding: clamp(18px,2.5vw,29px); display: flex; flex-direction: column; align-items: start; }
.program-card p { margin-bottom: 12px; }
.program-card ul { padding-left: 20px; margin: 0 0 21px; color: #d9ddf1; font-size: .9rem; }
.program-card li { margin-block: 4px; }
.program-card li::marker { color: var(--violet); }
.program-card .detail-note { font-size: .8rem; }
.program-mark { border-radius: 9px; margin-bottom: 18px; padding: 7px 11px; font-weight: 760; font-size: .94rem; }
.program-mark--green { background: #96efbd20; color: #a9f2c9; }
.program-mark--violet { background: #bfa6ff24; color: #d8c4ff; }
.program-mark--sky { background: #96c7ef23; color: #b8e1ff; }
.class-section { background: #0e1528; border-block: 1px solid var(--line); }
.faq-section { display: grid; grid-template-columns: .85fr 1.2fr; gap: 45px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 55px; padding-block: 11px; font-weight: 640; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary > span::after { content: "+"; color: var(--purple); font-size: 1.2rem; }
details[open] summary > span::after { content: "−"; }
details > p { color: var(--muted); margin: 0 25px 15px 0; }
.workflow-preview, .team-highlight { padding: clamp(19px,3.5vw,32px); border: 1px solid #4f4579; border-radius: 14px; background: radial-gradient(ellipse at 90% 0%,#3e2e69,transparent 80%),#161d34; box-shadow: 0 17px 37px #0004; }
.workflow-preview ol { padding: 0; margin: 0; list-style: none; }
.workflow-preview li { display: flex; align-items: center; gap: 11px; padding-block: 10px; border-top: 1px solid #9a8bc249; }
.workflow-preview li > span { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid #9d87e279; border-radius: 8px; color: #dbcaff; font-size: .75rem; }
.workflow-preview li strong, .workflow-preview li small { display: block; }
.workflow-preview li small { color: var(--muted); font-size: .8rem; }
.team-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.team-card { padding: 19px; }
.team-card h3 { font-size: 1.26rem; }
.team-card p { margin: 10px 0 0; font-size: .89rem; }
.team-card-top { display: flex; justify-content: space-between; align-items: start; gap: 8px; color: var(--subtle); font-size: .75rem; }
.team-card-top > span:last-child { margin-top: 9px; }
.team-highlight > strong { display: block; color: var(--mint); font-size: clamp(4rem,9.5vw,7rem); line-height: .96; letter-spacing: -.06em; }
.team-highlight > p:not(.eyebrow) { margin: 14px 0 0 !important; }
.subpage { padding-block: clamp(49px,7vw,95px); }
.subpage-grid { display: grid; grid-template-columns: .8fr 1fr; align-items: start; gap: clamp(24px,7vw,90px); }
.office, .contact-panel { padding: clamp(20px,4vw,36px); background: var(--panel); border: 1px solid var(--line); border-radius: 13px; }
.office h2, .contact-panel h2 { font-size: 1.85rem; }
.office p { color: var(--muted); margin: 11px 0 0; }
.legal-copy { max-width: 790px; }
.legal-copy section { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 24px; }
.legal-copy h2 { font-size: 1.5rem; letter-spacing: -.033em; }
.legal-copy p { color: var(--muted); margin: 10px 0; }
.legal-copy a,.form-privacy a { color: var(--purple); text-underline-offset: 3px; }
.legal-card { padding: 12px 16px; border: 1px solid #72659875; border-radius: 9px; background: #2a214c; }
.legal-card p { margin: 0; color: #e0d7f7; }
dialog { width: min(535px,calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; background: var(--panel); color: var(--white); border: 1px solid #76679d; border-radius: 15px; box-shadow: 0 25px 75px #0009; }
dialog::backdrop { background: #080a18d4; backdrop-filter: blur(4px); }
.dialog-inner { padding: clamp(20px,5vw,37px); }
.dialog-inner h2 { font-size: clamp(2rem,5vw,3rem); padding-right: 22px; }
.dialog-inner > p:not(.eyebrow), .form-note { color: var(--muted); }
.dialog-close { position: absolute; top: 11px; right: 11px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-deep); color: var(--white); font-size: 1.19rem; line-height: 1; }
.dialog-close:hover { border-color: var(--purple); }
.dialog-lessons { padding-left: 23px; margin: 15px 0 25px; }
.dialog-lessons li { margin: 7px 0; padding-left: 3px; }
.site-form { display: grid; gap: 5px; }
.site-form label { margin-top: 8px; font-size: .9rem; font-weight: 660; }
.site-form :is(input,select,textarea) { width: 100%; min-height: 43px; padding: 8px 10px; border: 1px solid #515c85; border-radius: 7px; background: #0c1325; color: var(--white); }
.site-form textarea { resize: vertical; min-height: 100px; }
.site-form .button { margin-top: 10px; }
.form-privacy,.form-status { color: var(--muted); font-size: .82rem; margin: 6px 0 0; }
.form-status { color: var(--mint); }
.form-status[data-error] { color: #ffb3b7; }
.form-status:empty { display: none; }
@media (max-width: 1030px) {
  .shell { width: calc(100% - 64px); }
  .hero-art { margin-inline: -25px -14px; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 790px) {
  .shell { width: calc(100% - 44px); }
  .header-inner { min-height: 65px; gap: 9px; }
  .header-inner .brand img { width: 34px; height: 34px; }
  .header-inner .brand > span { font-size: 1.15rem; }
  .brand small { font-size: .48rem; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 7px 5px; margin-left: auto; color: var(--muted); background: transparent; border: 0; font-size: .8rem; font-weight: 670; }
  .menu-toggle span { height: 8px; width: 13px; border-block: 1.5px solid currentColor; }
  .site-nav { display: none; position: absolute; inset: calc(100% + 4px) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 5px 10px; background: #151b32; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 12px 26px #0009; }
  .site-nav.is-open { display: flex; }
  .site-nav a { display: block; padding: 9px 6px; }
  .site-nav [aria-current="page"] { box-shadow: none; color: var(--purple); }
  .button-header { padding-inline: 9px; min-height: 37px; font-size: .78rem; }
  .hero-grid { min-height: 445px; }
  .hero h1 { font-size: clamp(3.05rem,7vw,4.3rem); }
  .hero-art { height: 325px; }
  .art-card--top { right: 2%; top: 10%; }
  .art-card--bottom { bottom: 9%; left: 2%; }
  .footer { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (max-width: 635px) {
  .hero-grid, .page-hero-grid, .path-grid, .three-grid, .subpage-grid, .faq-section { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 42px 28px; gap: 11px; }
  .hero h1 { font-size: clamp(2.9rem,10.9vw,4.45rem); }
  .hero-intro { margin: 17px 0 20px; }
  .hero-art { height: clamp(245px,73vw,356px); margin-inline: -10px; }
  .art-stage { inset: -4%; }
  .motion-toggle { right: 2%; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: 14px; }
  .stat { padding: 13px 10px 13px 16px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid #4c51775e; }
  .stat p { margin-top: 6px; font-size: .81rem; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading > p { margin-top: 10px; width: auto; }
  .dash-top { padding: 12px; gap: 7px; }
  .dash-title { gap: 6px; }
  .dash-title img { width: 26px; height: 26px; }
  .dash-title strong { font-size: .82rem; }
  .dash-controls { gap: 5px; align-items: flex-end; flex-direction: column; }
  .dash-tabs { padding: 10px 12px 0; gap: 2px; }
  .dash-tabs button { padding-inline: 8px; }
  .dash-body { grid-template-columns: 1fr; padding: 11px 12px 12px; gap: 10px; }
  .dash-metrics { gap: 5px; }
  .dash-metrics > div { padding: 7px; }
  .dash-metrics span { font-size: .7rem; }
  .dash-chart canvas { height: 108px; }
  .faq-section { gap: 22px; }
  .final-banner { align-items: start; flex-direction: column; }
  .footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 355px) {
  .shell { width: calc(100% - 30px); }
  .menu-toggle { min-height: 38px; width: 30px; justify-content: center; gap: 0; font-size: 0; }
  .hero-actions .button { padding-inline: 11px; font-size: .86rem; }
  .team-grid { grid-template-columns: 1fr; }
  .art-card { gap: 5px; padding: 5px; font-size: .74rem; }
  .art-card-icon { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* The same navigation and controls sit above both themes. */
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 41px;
  padding: 6px 9px;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: .79rem;
  font-weight: 650;
}
.theme-toggle:hover { border-color: var(--violet); }
.theme-toggle > span:first-child { color: var(--purple); font-size: 1.05rem; line-height: 1; }
@media (max-width: 790px) {
  .theme-toggle { min-height: 37px; min-width: 34px; padding-inline: 6px; }
  .theme-label { display: none; }
}
@media (max-width: 355px) {
  .header-actions { gap: 4px; }
  .header-inner { gap: 5px; }
  .header-inner .brand { gap: 6px; }
  .theme-toggle { min-width: 32px; }
}

/* Light palette and surfaces. */
:root[data-theme="light"] {
  color-scheme: light;
  --page: #fff;
  --panel: #fff;
  --panel-deep: #f6f7fb;
  --white: #192038;
  --muted: #4d5870;
  --subtle: #5e6980;
  --line: #dce1ed;
  --purple: #573bb4;
  --violet: #6549cd;
  --mint: #147567;
}
[data-theme="light"] :focus-visible { outline-color: var(--purple); }
[data-theme="light"] .site-header { background: #fff; border-color: var(--line); }
[data-theme="light"] .site-nav a:hover,
[data-theme="light"] .site-nav [aria-current="page"] { color: var(--purple); }
[data-theme="light"] .button-header { color: #fff; background: #25203e; border-color: #25203e; }
[data-theme="light"] .button-header:hover { background: #3b3162; border-color: #3b3162; }
[data-theme="light"] .theme-toggle { background: #fbfaff; }
[data-theme="light"] .button-primary {
  color: #fff;
  background: linear-gradient(105deg,#684dd0,#5436bb);
  box-shadow: 0 7px 18px #583ecb2f;
}
[data-theme="light"] .button-primary:hover { box-shadow: 0 8px 23px #583ecb49; }
[data-theme="light"] .button-secondary { border-color: #cdd3e4; color: #252c46; background: #fff; }
[data-theme="light"] .button-secondary:hover { border-color: #9f90db; background: #f5f1ff; }
[data-theme="light"] .hero {
  background: radial-gradient(ellipse at 85% 24%,#eeebff 0%,#f8f7ff 30%,#fff 73%);
}
[data-theme="light"] .hero::before {
  background-image: linear-gradient(#7d6bbc15 1px,transparent 1px),linear-gradient(90deg,#7d6bbc15 1px,transparent 1px);
  mask-image: radial-gradient(ellipse 72% 82% at 92% 58%,#000 8%,transparent 88%);
}
[data-theme="light"] .hero-grid { gap: clamp(18px,3vw,47px); }
[data-theme="light"] h1 em {
  color: #553cba;
  background-image: linear-gradient(109deg,#5032ac,#6c50d0 65%,#7150c6);
}
[data-theme="light"] .platform-list { color: #44506b; }
[data-theme="light"] .hero-art {
  height: auto;
  aspect-ratio: 1.13;
  margin: 0;
  border: 1px solid #423366;
  border-radius: 19px;
  background: radial-gradient(ellipse at 67% 43%,#282052,#110f2b 55%,#090e1e 100%);
  box-shadow: 0 24px 47px #33245d36,0 4px 11px #33245d29;
  overflow: hidden;
}
[data-theme="light"] .art-stage { inset: -5% -7%; }
[data-theme="light"] .art-stage img { mask-image: radial-gradient(ellipse at 54% 49%,#000 42%,#000b 61%,transparent 77%); }
[data-theme="light"] .art-card { color: #f7f4ff; }
[data-theme="light"] .art-card--top { right: 4%; top: 12%; }
[data-theme="light"] .art-card--bottom { left: 4%; bottom: 13%; }
[data-theme="light"] .motion-toggle { right: 3%; bottom: 3%; border-color: #524c76; }
[data-theme="light"] .hero-art :focus-visible { outline-color: #cfbeff; outline-offset: 2px; }
[data-theme="light"] .stats-band { border-color: var(--line); background: #f8f8fd; }
[data-theme="light"] .stat { border-color: #dce0ee; }
[data-theme="light"] .stat-number { color: #222741; }
[data-theme="light"] .stat p small { color: #624aa5; }
[data-theme="light"] .dashboard {
  background: linear-gradient(144deg,#fff,#f8f9fe);
  border-color: #d7dced;
  box-shadow: 0 16px 37px #27345612,0 3px 9px #2734560a;
}
[data-theme="light"] .demo-chip { color: #145e52; background: #e8f7f1; border-color: #bfe8da; }
[data-theme="light"] .demo-chip i { background: #219378; box-shadow: 0 0 6px #21937863; }
[data-theme="light"] .dash-pause { background: #f4f2fc; color: #3e3564; }
[data-theme="light"] .dash-tabs button[aria-pressed="true"] { background: #eee8ff; border-color: #d9cdfa; color: #4d32a2; }
[data-theme="light"] .dash-metrics > div,
[data-theme="light"] .dash-chart,
[data-theme="light"] .dash-feed { background: #fff; border-color: #dce1ef; }
[data-theme="light"] .dash-feed li i { background: #eee8ff; color: #6749be; }
[data-theme="light"] .path-card,
[data-theme="light"] .program-card,
[data-theme="light"] .team-card {
  border-color: #daddef;
  background: var(--panel);
  box-shadow: 0 8px 26px #2526460a;
}
[data-theme="light"] .path-card--academy { background: radial-gradient(ellipse at 94% 0%,#ece6ff,transparent 72%),#fcfbff; }
[data-theme="light"] .path-card--studio { border-color: #d6e4e6; background: radial-gradient(ellipse at 94% 0%,#def0ec,transparent 72%),#fafffe; }
[data-theme="light"] .feature-icon {
  border-color: #ded3f8;
  background: #eee7ff;
  color: #5d3faa;
}
[data-theme="light"] .path-card--studio > .feature-icon { border-color: #c5e5db; background: #e1f3ed; color: #196d60; }
[data-theme="light"] .final-banner { background: radial-gradient(ellipse at 98% 0%,#e6dfff,transparent 75%),#f7f3ff; border-color: #ddd4f4; }
[data-theme="light"] .site-footer { background: #f8f9fd; }
[data-theme="light"] .page-hero { background: radial-gradient(ellipse at 90% 5%,#ebe6ff,transparent 76%),#f9f9ff; }
[data-theme="light"] .page-photo { border-color: #d8d2e9; box-shadow: 0 16px 34px #29204424; }
[data-theme="light"] .program-card ul { color: #37435d; }
[data-theme="light"] .program-mark--green { background: #e0f3e9; color: #205d4c; }
[data-theme="light"] .program-mark--violet { background: #eee6ff; color: #573ca0; }
[data-theme="light"] .program-mark--sky { background: #e4effb; color: #285583; }
[data-theme="light"] .class-section { background: #f8f8fd; }
[data-theme="light"] .workflow-preview,
[data-theme="light"] .team-highlight {
  border-color: #d6cbea;
  background: radial-gradient(ellipse at 90% 0%,#ece3fc,transparent 80%),#fff;
  box-shadow: 0 12px 28px #2a1a5618;
}
[data-theme="light"] .workflow-preview li { border-color: #d9d1ec; }
[data-theme="light"] .workflow-preview li > span { border-color: #d4c5ed; color: #60458e; }
[data-theme="light"] .legal-card { border-color: #e0d7f1; background: #f4effc; }
[data-theme="light"] .legal-card p { color: #4c3b6b; }
[data-theme="light"] .office,
[data-theme="light"] .contact-panel { box-shadow: 0 8px 25px #2526460b; }
[data-theme="light"] dialog { border-color: #d1c7e6; box-shadow: 0 25px 75px #1c14394d; }
[data-theme="light"] dialog::backdrop { background: #211c3ab5; }
[data-theme="light"] .site-form :is(input,select,textarea) { color: #252d46; background: #fcfcff; border-color: #a9b3cd; }
[data-theme="light"] .form-status[data-error] { color: #a02e44; }
[data-theme="light"] .skip-link { color: #fff; background: #49319b; }
@media (max-width: 790px) {
  [data-theme="light"] .site-nav { background: #fff; box-shadow: 0 12px 26px #27345629; }
}
@media (max-width: 635px) {
  [data-theme="light"] .hero-grid { gap: 24px; }
  [data-theme="light"] .hero-art { aspect-ratio: 1.23; border-radius: 14px; }
}

/* Company profile and academy programme. */
.site-nav [aria-current="location"] { color: var(--white); }
[data-theme="light"] .site-nav [aria-current="location"] { color: var(--purple); }
.program-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
  padding: clamp(23px,4.6vw,52px);
  background: radial-gradient(ellipse at 96% 0%,#42316d,transparent 70%),#151c32;
  border: 1px solid #554673;
  border-radius: 15px;
}
.program-bridge .eyebrow { margin-bottom: 12px; }
.program-bridge h2 { font-size: clamp(2rem,4.05vw,3.6rem); }
.program-bridge p:not(.eyebrow) { max-width: 64ch; margin: 11px 0 0; color: var(--muted); }
.program-bridge > .button, .program-bridge-actions { flex: none; }
.program-bridge-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; max-width: 285px; gap: 8px; }
.academy-program-section { padding-bottom: 0; }
.company-capabilities { padding-bottom: clamp(43px,5.3vw,75px); }
#academy-launch.academy-program-section { padding-top: 0; padding-bottom: clamp(43px,5.3vw,75px); }
.inline-link {
  display: inline-block;
  margin-top: 13px;
  color: var(--purple);
  font-weight: 650;
  text-underline-offset: 3px;
}
[data-theme="light"] .program-bridge {
  background: radial-gradient(ellipse at 96% 0%,#e7dcfb,transparent 76%),#f7f4fc;
  border-color: #ded3f3;
}
@media (max-width: 745px) {
  .program-bridge { flex-direction: column; align-items: flex-start; }
  .program-bridge-actions { justify-content: flex-start; max-width: none; }
}
@media (max-width: 430px) {
  .menu-toggle { min-width: 32px; min-height: 37px; justify-content: center; gap: 0; font-size: 0; }
}
@media (max-width: 355px) {
  .header-actions .button-header { padding-inline: 6px; font-size: .73rem; }
}
