/* MySystem: Gabriel's product page (canvas "MySystem Landing", direction A). It keeps its own theme
   (near-black ground, violet accent, Space Grotesk / Geist) inside the Aio top bar and footer. */
.ms-page {
  --ms-ground: #05060b; --ms-panel: #0b0d17; --ms-ink: #e8eaf2; --ms-white: #fff;
  --ms-soft: #c9cddb; --ms-body: #b4b9c9; --ms-muted: #9aa0b4; --ms-faint: #7d8399;
  --ms-accent: #a78bfa; --ms-on-accent: #0b0718; --ms-line: rgba(255, 255, 255, .08); --ms-line-strong: rgba(255, 255, 255, .14);
  --ms-display: 'Space Grotesk', system-ui, sans-serif; --ms-text: 'Geist', system-ui, sans-serif; --ms-mono: 'Geist Mono', ui-monospace, monospace;
  --ms-glow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 120px -30px rgba(167, 139, 250, .45);
  background: var(--ms-ground);
}
.ms-main { background: var(--ms-ground); color: var(--ms-ink); font-family: var(--ms-text); font-size: 16px; line-height: 1.6; overflow: hidden; }
.ms-main h1, .ms-main h2, .ms-main h3 { font-family: var(--ms-display); font-weight: 600; color: var(--ms-white); }
.ms-main p { color: inherit; }
.ms-wrap { max-width: 1200px; margin: 0 auto; }
.ms-section { padding: 120px 24px; }
.ms-label { margin: 0 0 14px; font-family: var(--ms-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ms-accent); }
.ms-h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -.025em; }
.ms-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px;
  border-radius: 999px; font-family: var(--ms-text); font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .2s ease, background-color .2s ease;
}
.ms-btn:hover { transform: translateY(-2px); }
.ms-btn--accent { background: var(--ms-accent); color: var(--ms-on-accent); border: 0; }
.ms-btn--accent:hover { background: #c4b5fd; color: var(--ms-on-accent); }
.ms-btn--ghost { border: 1px solid rgba(255, 255, 255, .16); color: var(--ms-ink); }
.ms-btn--ghost:hover { border-color: rgba(255, 255, 255, .4); color: var(--ms-white); }
.ms-main a:focus-visible, .ms-main button:focus-visible, .ms-main input:focus-visible, .ms-main textarea:focus-visible { outline: 3px solid var(--ms-accent); outline-offset: 4px; }
.ms-stars {
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgba(255, 255, 255, .55), transparent 60%), radial-gradient(1px 1px at 22% 38%, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(1.5px 1.5px at 37% 8%, rgba(255, 255, 255, .6), transparent 60%), radial-gradient(1px 1px at 51% 27%, rgba(255, 255, 255, .3), transparent 60%),
    radial-gradient(1px 1px at 64% 14%, rgba(255, 255, 255, .5), transparent 60%), radial-gradient(1.5px 1.5px at 79% 33%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(1px 1px at 91% 9%, rgba(255, 255, 255, .4), transparent 60%), radial-gradient(1px 1px at 14% 71%, rgba(255, 255, 255, .3), transparent 60%),
    radial-gradient(1px 1px at 44% 63%, rgba(255, 255, 255, .4), transparent 60%), radial-gradient(1.5px 1.5px at 70% 78%, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(1px 1px at 86% 58%, rgba(255, 255, 255, .5), transparent 60%), radial-gradient(1px 1px at 4% 92%, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(1px 1px at 58% 95%, rgba(255, 255, 255, .3), transparent 60%);
  background-size: 640px 640px;
}

/* Hero: the words, then Edd's voice view on the stars. */
.ms-hero { position: relative; overflow: hidden; padding-bottom: 96px; }
.ms-hero-copy {
  position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
  padding: calc(var(--hdr-h, 96px) + 40px) 24px 0;
}
.ms-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ms-display); font-weight: 600; font-size: 19px; color: var(--ms-white); }
.ms-brand svg { color: var(--ms-white); }
.ms-hero-copy .ms-kicker { margin: 0; font-family: var(--ms-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ms-muted); }
.ms-hero-copy h1 { margin: 0; font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -.035em; }
.ms-hero-copy .ms-lede { margin: 0; max-width: 640px; font-size: 19px; line-height: 1.6; color: var(--ms-body); }
.ms-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.ms-play .ms-t0 { animation: ms-appear 1s ease-out .1s both; }
.ms-play .ms-t1 { animation: ms-rise .9s cubic-bezier(.2, .8, .2, 1) .1s both; } .ms-play .ms-t2 { animation: ms-rise 1s cubic-bezier(.2, .8, .2, 1) .3s both; }
.ms-play .ms-t3 { animation: ms-rise 1s cubic-bezier(.2, .8, .2, 1) .55s both; } .ms-play .ms-t4 { animation: ms-rise 1s cubic-bezier(.2, .8, .2, 1) .8s both; }
@keyframes ms-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes ms-rise { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* The system in use: the Office and a live task. */
.ms-film { position: relative; padding: 72px 24px 40px; }
.ms-film-head { text-align: center; }
.ms-film-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.025em; }
.ms-film-visual { position: relative; max-width: 1200px; margin: 72px auto 0; }
.ms-film-rings { position: absolute; left: 0; top: -60px; width: 100%; height: auto; overflow: visible; }
.ms-window { margin: 0; border-radius: 14px; overflow: hidden; background: var(--ms-panel); box-shadow: var(--ms-glow); }
.ms-window--main { position: relative; width: 88%; margin: 0 auto; }
.ms-window--task { position: absolute; right: 0; bottom: -64px; width: 44%; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px -10px rgba(0, 0, 0, .8); }
.ms-window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-family: var(--ms-mono); font-size: 11px; color: var(--ms-faint); }
.ms-window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.ms-window-bar i.ms-live { width: 7px; height: 7px; background: #60a5fa; }
.ms-window-bar span { margin-left: 10px; }
.ms-window--task .ms-window-bar span { margin-left: 2px; }
.ms-shot { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; background: var(--ms-panel); }

.ms-flight { padding: 128px 24px 24px; }
.ms-flight ol { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; display: flex; flex-wrap: wrap; gap: 12px; font-family: var(--ms-mono); font-size: 13px; color: var(--ms-muted); }
.ms-flight li { flex: 1 1 180px; border-top: 1px solid var(--ms-line-strong); padding-top: 14px; }
.ms-flight li:first-child { border-top-color: var(--ms-accent); }
.ms-flight li span { color: var(--ms-accent); }

.ms-problem .ms-wrap { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.ms-problem h2 { flex: 1 1 380px; margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.025em; }
.ms-problem-list { flex: 1 1 480px; }
.ms-problem-list p { margin: 0; padding: 22px 0; border-top: 1px solid var(--ms-line); font-size: 18px; color: var(--ms-soft); }
.ms-problem-list p:last-child { padding-bottom: 0; color: var(--ms-white); font-weight: 500; }

.ms-system { padding: 40px 24px 80px; }
.ms-system-head { margin-bottom: 72px; }
.ms-system-head .ms-h2 { max-width: 760px; }
.ms-system-head p:last-child { margin: 18px 0 0; font-size: 18px; color: var(--ms-muted); max-width: 640px; }
.ms-stages { display: flex; flex-direction: column; gap: 120px; }
.ms-stage { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.ms-stage--flip { flex-wrap: wrap-reverse; }
.ms-stage-copy { flex: 1 1 340px; max-width: 420px; }
.ms-stage-copy .ms-step { margin: 0 0 16px; font-family: var(--ms-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ms-muted); }
.ms-stage-copy .ms-step span { color: var(--ms-accent); }
.ms-stage-copy h3 { margin: 0 0 16px; font-size: 32px; line-height: 1.12; letter-spacing: -.02em; }
.ms-stage-copy p:last-child { margin: 0; font-size: 17px; color: var(--ms-body); }
.ms-stage .ms-window { flex: 1.6 1 520px; min-width: 0; }

.ms-learn { border-top: 1px solid rgba(255, 255, 255, .06); }
.ms-learn-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.ms-learn-head .ms-h2 { max-width: 680px; }
.ms-learn-head > p { margin: 0; font-size: 15px; color: var(--ms-muted); max-width: 360px; }
.ms-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.ms-module { border: 1px solid var(--ms-line); border-radius: 14px; padding: 28px; background: rgba(11, 13, 23, .7); }
.ms-module .ms-code { margin: 0 0 28px; font-family: var(--ms-mono); font-size: 12px; color: var(--ms-accent); }
.ms-module h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.ms-module p:last-child { margin: 0; font-size: 15px; color: var(--ms-muted); }

.ms-who .ms-h2 { max-width: 760px; margin-bottom: 56px; }
.ms-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.ms-people div { border-top: 1px solid var(--ms-line-strong); padding-top: 22px; }
.ms-people h3 { margin: 0 0 10px; font-size: 22px; }
.ms-people p { margin: 0; font-size: 16px; color: var(--ms-muted); }
.ms-not { margin: 56px 0 0; font-family: var(--ms-mono); font-size: 13px; color: var(--ms-muted); }

.ms-community { padding: 40px 24px 120px; }
.ms-community-card { border: 1px solid var(--ms-line); border-radius: 20px; padding: clamp(28px, 5vw, 64px); background: var(--ms-panel); display: flex; flex-wrap: wrap; gap: 48px 72px; }
.ms-community-card > div { flex: 1 1 360px; }
.ms-community-card h2 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.025em; }
.ms-community-card > div > p:last-child { margin: 0; font-size: 17px; color: var(--ms-body); }
.ms-community-card ul { flex: 1 1 420px; list-style: none; margin: 0; padding: 0; }
.ms-community-card li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--ms-line); }
.ms-community-card li > span { min-width: 44px; padding-top: 4px; font-family: var(--ms-mono); font-size: 12px; color: var(--ms-accent); }
.ms-community-card li b { display: block; font-weight: 600; color: var(--ms-white); }
.ms-community-card li p { margin: 4px 0 0; font-size: 15px; color: var(--ms-muted); }

/* Waitlist: name, email and the first job for an agent; stored in the leads project (docs/leads.md). */
.ms-waitlist { padding: 120px 24px 140px; border-top: 1px solid rgba(255, 255, 255, .06); }
.ms-waitlist-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.ms-waitlist-inner > svg { margin-bottom: 24px; }
.ms-waitlist h2 { margin: 0 0 16px; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.03em; }
.ms-waitlist-inner > p { margin: 0 0 40px; font-size: 18px; color: var(--ms-body); }
.ms-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.ms-form-row { display: flex; flex-wrap: wrap; gap: 14px; }
.ms-field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ms-muted); }
.ms-field input, .ms-field textarea {
  box-sizing: border-box; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--ms-line-strong);
  background: var(--ms-panel); color: var(--ms-white); font: inherit; font-size: 16px;
}
.ms-field textarea { resize: vertical; }
.ms-field input::placeholder, .ms-field textarea::placeholder { color: var(--ms-faint); }
.ms-field[data-invalid] input, .ms-field[data-invalid] textarea { border-color: #f9a8d4; }
.ms-error { color: #f9a8d4; font-size: 13px; }
.ms-error[hidden] { display: none; }
.ms-form .ms-btn { margin-top: 8px; min-height: 52px; font-size: 16px; cursor: pointer; }
.ms-form .ms-btn:disabled { opacity: .7; cursor: progress; transform: none; }
.ms-note { margin: 4px 0 0; text-align: center; font-size: 13px; color: var(--ms-muted); }
.ms-alert { margin: 0; padding: 14px 16px; border-radius: 12px; background: rgba(249, 168, 212, .1); border: 1px solid rgba(249, 168, 212, .35); color: #fbcfe8; font-size: 15px; }
.ms-alert a { color: inherit; text-decoration: underline; }
.ms-alert[hidden], .ms-sent[hidden], .ms-form[hidden] { display: none; }
.ms-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ms-sent { padding: 32px; border: 1px solid var(--ms-line); border-radius: 18px; background: var(--ms-panel); }
.ms-sent:focus { outline: none; }
.ms-sent h3 { margin: 0 0 8px; font-size: 26px; }
.ms-sent p { margin: 0; color: var(--ms-body); }
.ms-demo { padding: 0 24px 48px; text-align: center; font-family: var(--ms-mono); font-size: 12px; color: var(--ms-muted); }

@media (max-width: 700px) {
  .ms-section { padding: 88px 20px; }
  .ms-hero-copy { padding-top: calc(var(--hdr-h, 72px) + 28px); }
  .ms-hero-copy .ms-lede { font-size: 17px; }
  .ms-window--main { width: 100%; }
  .ms-window--task { position: relative; right: auto; bottom: auto; width: 86%; margin: -40px 0 0 auto; }
  .ms-flight { padding-top: 72px; }
  .ms-stages { gap: 80px; }
  .ms-stage-copy h3 { font-size: 27px; }
  .ms-modules { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-main *, .ms-main *::before, .ms-main *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .ms-btn { transition: none; }
}

/* Any subscription, any system: skills that build their own environment on the user's machine. */
.ms-any { border-top: 1px solid rgba(255, 255, 255, .06); }
.ms-any-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px 72px; align-items: start; }
.ms-any-head > p:not(.ms-label) { margin: 22px 0 0; font-size: 18px; color: var(--ms-body); max-width: 460px; }
.ms-subs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
.ms-subs li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ms-line-strong); background: rgba(11, 13, 23, .7); font-family: var(--ms-mono); font-size: 13px; color: var(--ms-soft); }
.ms-subs li span { margin-left: 6px; color: var(--ms-faint); }
.ms-subs li.ms-sub--now { border-color: var(--ms-accent); color: var(--ms-white); }
.ms-subs li.ms-sub--now span { color: var(--ms-accent); }
.ms-any-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ms-any-points .ms-module .ms-code { margin-bottom: 20px; letter-spacing: .12em; }

/* What we sell: the playbook, no pressure, and a demo on request. */
.ms-approach .ms-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px 80px; align-items: start; }
.ms-approach h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -.025em; }
.ms-approach-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px 32px; border: 1px solid var(--ms-line); border-radius: 20px; background: var(--ms-panel); }
.ms-approach-cta > p { margin: 0; font-family: var(--ms-display); font-size: 24px; font-weight: 600; color: var(--ms-white); }
.ms-approach-cta .ms-hero-actions { margin: 0; }
@media (max-width: 960px) {
  .ms-any-grid, .ms-approach .ms-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ms-any-points { grid-template-columns: 1fr; }
  .ms-approach-cta { padding: 24px; }
  .ms-approach-cta > p { font-size: 21px; }
}

/* Focus and control: tasks run on their own and report status, on any machine. */
.ms-focus { border-top: 1px solid rgba(255, 255, 255, .06); }
.ms-focus-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 56px; }
.ms-focus-head .ms-label { flex-basis: 100%; margin-bottom: -10px; }
.ms-focus-head > p:not(.ms-label) { margin: 0; max-width: 420px; font-size: 17px; color: var(--ms-body); }
.ms-focus-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ms-focus-points .ms-module .ms-code { margin-bottom: 20px; letter-spacing: .12em; }

/* Who it's not for. */
.ms-not-for { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--ms-line-strong); }
.ms-not-for ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 40px; }
.ms-not-for li { font-size: 16px; color: var(--ms-muted); }
.ms-not-for strong { display: block; margin-bottom: 4px; font-family: var(--ms-display); font-size: 20px; font-weight: 600; color: var(--ms-white); }
@media (max-width: 1100px) { .ms-focus-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ms-focus-points { grid-template-columns: 1fr; } .ms-not-for ul { grid-template-columns: 1fr; } }

/* Connectors against one sandbox run: the same answer, far fewer tokens through the model. */
.ms-calls { grid-column: 1 / -1; margin: 8px 0 0; }
.ms-calls figcaption { margin-bottom: 14px; font-family: var(--ms-mono); font-size: 12px; color: var(--ms-muted); }
.ms-calls-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ms-call { display: flex; flex-direction: column; border: 1px solid var(--ms-line); border-radius: 14px; padding: 22px 24px; background: var(--ms-panel); min-width: 0; }
.ms-call--new { border-color: rgba(167, 139, 250, .5); box-shadow: var(--ms-glow); }
.ms-call-title { margin: 0 0 14px; font-family: var(--ms-display); font-size: 18px; font-weight: 600; color: var(--ms-white); }
.ms-call pre { margin: 0 0 16px; overflow-x: auto; font-family: var(--ms-mono); font-size: 13px; line-height: 1.75; color: var(--ms-soft); }
.ms-call .ms-k { color: var(--ms-accent); }
.ms-call .ms-c { color: var(--ms-faint); }
.ms-call--old .ms-k { color: var(--ms-muted); }
.ms-call-foot { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--ms-line); font-family: var(--ms-mono); font-size: 12px; color: var(--ms-muted); }
.ms-call--new .ms-call-foot { color: var(--ms-accent); }
@media (max-width: 960px) { .ms-calls-grid { grid-template-columns: 1fr; } }

/* Edd's orb and stars (the system's voice view). */
.ms-starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .75; }
.ms-orb {
  display: block; width: var(--orb-size); height: var(--orb-size); padding: 0; border: 0; border-radius: 50%; background: none;
  cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.ms-orb canvas { display: block; width: 100%; height: 100%; }
.ms-orb:focus-visible { outline: 3px solid var(--ms-accent); outline-offset: -24px; }
.ms-orb-words { margin: calc(var(--orb-size) * -.14) 0 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; pointer-events: none; }
.ms-orb-title { font-family: var(--ms-display); font-size: 18px; font-weight: 600; color: var(--ms-white); }
.ms-orb-hint { font-family: var(--ms-mono); font-size: 12px; color: var(--ms-muted); }
.ms-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* How a turn goes, one small orb per moment. */
.ms-talk { border-top: 1px solid rgba(255, 255, 255, .06); }
.ms-talk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 56px; }
.ms-talk-head > p { margin: 0; max-width: 460px; font-size: 17px; color: var(--ms-body); }
.ms-states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.ms-state { border: 1px solid var(--ms-line); border-radius: 14px; padding: 8px 24px 26px; background: rgba(11, 13, 23, .7); }
.ms-state-orb { display: block; width: 150px; height: 150px; margin: 0 auto -6px; }
.ms-state .ms-code { margin: 0 0 10px; font-family: var(--ms-mono); font-size: 12px; letter-spacing: .12em; color: var(--ms-accent); }
.ms-state h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; }
.ms-state p:last-child { margin: 0; font-size: 15px; color: var(--ms-muted); }
.ms-talk-note { margin: 32px 0 0; font-family: var(--ms-mono); font-size: 13px; color: var(--ms-muted); }

@media (max-width: 1100px) { .ms-states { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .ms-orb-title { font-size: 16px; }
  .ms-states { grid-template-columns: 1fr; }
}

/* The hero's voice view, without any window around it: the orb in the middle; once Claude Code works, the orb rises and
   shrinks and the conversation shows under it, Claude Code's own look, its older lines fading upward. */
.ms-nebula {
  position: absolute; right: 8%; bottom: 14%; width: 340px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(217, 70, 239, .55), rgba(99, 102, 241, .25) 55%, transparent);
  filter: blur(36px); opacity: .55; animation: ms-drift 22s ease-in-out infinite alternate;
}
@keyframes ms-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, -30px) scale(1.12); } }
.ms-scene { --orb-size: 300px; position: relative; z-index: 4; max-width: 980px; height: 600px; margin: 40px auto 0; padding: 0 24px; }
.ms-voice {
  position: absolute; left: 50%; top: 50%; z-index: 3; display: flex; flex-direction: column; align-items: center;
  transform: translate(-50%, -55%); transform-origin: 50% 0; transition: top .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1);
}
.ms-orb-words { transition: opacity .3s ease; }
.ms-term {
  position: absolute; left: 24px; right: 24px; top: 170px; bottom: 0; display: flex; flex-direction: column;
  font-family: var(--ms-mono); font-size: 14px; line-height: 1.7; color: #e8eaf2; opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .7s cubic-bezier(.2, .8, .2, 1); pointer-events: none;
}
.ms-term-lines {
  flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding-bottom: 18px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%); mask-image: linear-gradient(to bottom, transparent, #000 28%);
}
.ms-term-lines p { margin: 0; white-space: pre-wrap; animation: ms-appear .35s ease-out both; }
.ms-t-mark { white-space: pre; }
.ms-t-prompt { margin-bottom: 10px !important; padding: 2px 10px 2px 0; background: rgba(255, 255, 255, .16); color: #fff; }
.ms-t-say { margin-top: 8px !important; } .ms-t-say .ms-t-mark { color: #fff; }
.ms-t-tool { margin-top: 8px !important; } .ms-t-tool .ms-t-mark { color: #86efac; }
.ms-t-result { color: #7d8399; }
.ms-t-status { margin-top: 12px !important; color: #f0abfc; }
.ms-t-done { margin-top: 12px !important; color: #7d8399; }
.ms-term-input { padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .4); border-bottom: 1px solid rgba(255, 255, 255, .4); }
.ms-caret { display: inline-block; width: .6em; height: 1.15em; vertical-align: -.2em; background: #e8eaf2; animation: ms-blink 1.1s steps(1) infinite; }
@keyframes ms-blink { 50% { opacity: 0; } }
.ms-term-mode { margin: 8px 0 0; font-size: 12.5px; color: #c9cddb; }
.ms-term-mode b { font-weight: 400; color: #fde047; }
.ms-term-mode span { color: #7d8399; }
.ms-scene:is([data-phase=working], [data-phase=speaking]) .ms-voice { top: -6px; transform: translate(-50%, 0) scale(.42); }
.ms-scene:is([data-phase=working], [data-phase=speaking]) .ms-orb-words { opacity: 0; }
.ms-scene:is([data-phase=working], [data-phase=speaking]) .ms-term { opacity: 1; transform: none; transition-delay: .25s; }
.ms-scene-note { position: relative; z-index: 4; margin: 22px auto 0; padding: 0 24px; max-width: 720px; text-align: center; font-family: var(--ms-mono); font-size: 12px; color: var(--ms-muted); }
@media (max-width: 700px) {
  .ms-hero { padding-bottom: 72px; }
  .ms-scene { --orb-size: 230px; height: 520px; margin-top: 28px; padding: 0 16px; }
  .ms-scene:is([data-phase=working], [data-phase=speaking]) .ms-voice { top: -4px; }
  .ms-term { left: 16px; right: 16px; top: 128px; font-size: 11.5px; line-height: 1.6; }
  .ms-term-mode span { display: none; }
  .ms-nebula { right: -60px; bottom: 30%; width: 240px; height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-term, .ms-voice, .ms-orb-words { transition: none; }
  .ms-nebula, .ms-caret { animation: none; }
}

/* Polaris (2026-10-30, Gabriel): the footer stays on the page's near-black ground instead of the site's navy gradient. */
.ms-page .site-footer { background: var(--ms-ground); border-top: 1px solid var(--ms-line); }
.ms-page .site-footer::before { background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px); }
.ms-page .fb-cta { background: rgba(255, 255, 255, .04); border-color: var(--ms-line-strong); box-shadow: none; }
.ms-page .fb-wordmark { background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .02) 92%); -webkit-background-clip: text; background-clip: text; }

/* Language switch with four languages (FR, 2026-10-30): between the phone menu (960px) and 1080px, the four buttons
   pushed "Client Portal" and "Talk to an Advisor" onto two lines; here they get narrower so the top bar stays on one. */
@media (min-width: 961px) and (max-width: 1080px) {
  .site-header .nav-lang { gap: 0; padding: 2px; }
  .site-header .nav-lang button { min-width: 0; padding: 0 7px; letter-spacing: .02em; }
}

/* The map from canvas U1 (your team → Polaris → your server or VM), placed first in "The system in use" (2026-11-12).
   A dot travels each link; it is hidden with reduced motion. */
.ms-map-wrap { position: relative; z-index: 2; margin-top: 56px; scroll-margin-top: 96px; }
.ms-map ul { list-style: none; margin: 0; padding: 0; }
.ms-map {
  display: grid; grid-template-columns: minmax(0, 290px) minmax(56px, 1fr) minmax(0, 290px) minmax(56px, 1fr) minmax(0, 380px); align-items: center;
  padding: 48px; border-radius: 28px; border: 1px solid var(--ms-line);
  background: radial-gradient(560px 320px at 50% 0%, rgba(167, 139, 250, .16), rgba(167, 139, 250, 0) 70%), var(--ms-panel);
}
.ms-map h3 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.ms-map-note { margin: 4px 0 0; font-family: var(--ms-mono); font-size: 13px; color: var(--ms-muted); }
.ms-map-team ul { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.ms-map-team li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--ms-line); }
.ms-map-team li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ms-map-team strong { font-size: 14.5px; font-weight: 600; color: var(--ms-white); }
.ms-map-team li span span { font-size: 13px; line-height: 1.4; color: var(--ms-muted); }
.ms-map-team .ms-map-note { margin-top: 14px; color: var(--ms-faint); }
.ms-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 12px; font-weight: 600; }
.ms-avatar--eng { background: #1e1b4b; color: #c7d2fe; }
.ms-avatar--creators { background: #3b0764; color: #f5d0fe; }
.ms-avatar--leads { background: #2e1065; color: #ddd6fe; }
.ms-link { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.ms-link i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, rgba(167, 139, 250, .25), var(--ms-accent) 35%, var(--ms-accent) 65%, rgba(167, 139, 250, .25)); }
.ms-link i::after {
  content: ''; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ms-white);
  box-shadow: 0 0 12px 2px rgba(167, 139, 250, .9); animation: ms-travel 2.6s cubic-bezier(.45, 0, .55, 1) infinite;
}
.ms-link + .ms-map-hub + .ms-link i::after { animation-delay: 1.3s; }
@keyframes ms-travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 7px); opacity: 0; } }
@keyframes ms-fall { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 7px); opacity: 0; } }
.ms-link span { position: relative; margin-bottom: 34px; font-family: var(--ms-mono); font-size: 11.5px; font-weight: 500; color: var(--ms-muted); }
.ms-map-hub {
  position: relative; z-index: 1; padding: 24px; border-radius: 22px; background: #11132a; border: 1px solid rgba(167, 139, 250, .45);
  box-shadow: 0 0 0 6px rgba(167, 139, 250, .06), 0 30px 80px -20px rgba(167, 139, 250, .5);
}
.ms-map-hub h3 { display: flex; align-items: center; gap: 10px; }
.ms-map-hub h3 svg { width: 22px; height: 22px; color: var(--ms-white); }
.ms-map-hub ul { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 14px; line-height: 1.4; color: var(--ms-soft); }
.ms-map-server { padding: 22px; border-radius: 22px; background: var(--ms-ground); border: 1px solid var(--ms-line-strong); }
.ms-shells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px !important; }
.ms-shells li { display: flex; flex-direction: column; padding: 10px; border-radius: 10px; background: var(--ms-panel); border: 1px solid var(--ms-line); font-family: var(--ms-mono); font-size: 12px; font-weight: 500; color: var(--ms-ink); }
.ms-shells span { color: var(--ms-muted); }
.ms-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.ms-chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 500; color: var(--ms-soft); }
.ms-chips .ms-chip-plan { border-color: rgba(167, 139, 250, .5); color: #ddd6fe; }
.ms-main .ms-map-caption { margin: 20px 0 0; text-align: center; font-size: 15px; color: var(--ms-muted); }
.ms-main .ms-map-note { color: var(--ms-muted); } .ms-main .ms-map-team .ms-map-note { color: var(--ms-faint); }
@media (max-width: 1100px) {
  .ms-map { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); padding: 40px; }
  .ms-map-server { grid-column: 1 / -1; }
  .ms-map > :nth-child(4) { grid-column: 3; height: 64px; }
  .ms-map > :nth-child(4) i { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(167, 139, 250, .25), var(--ms-accent) 35%, var(--ms-accent) 65%, rgba(167, 139, 250, .25)); }
  .ms-map > :nth-child(4) i::after { left: -3px; animation-name: ms-fall; }
  .ms-map > :nth-child(4) span { margin: 0 0 0 64px; }
}
@media (max-width: 960px) {
  .ms-map { grid-template-columns: 1fr; padding: 24px; }
  .ms-map-server, .ms-map > :nth-child(4) { grid-column: auto; }
  .ms-link { height: 64px; }
  .ms-link i { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(167, 139, 250, .25), var(--ms-accent) 35%, var(--ms-accent) 65%, rgba(167, 139, 250, .25)); }
  .ms-link i::after { left: -3px; animation-name: ms-fall; }
  .ms-link span { margin: 0 0 0 64px; }
}
@media (max-width: 700px) {
  .ms-map-wrap { margin-top: 40px; }
  .ms-map { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-link i::after { display: none; }
}

/* ---------- Polaris for Mac (canvas AC3): the app download, right after the hero */
.ms-mac { padding-top: 40px; padding-bottom: 40px; }
.ms-mac-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 56px; padding: 56px; border-radius: 28px; background: radial-gradient(700px 400px at 85% 0%, rgba(167, 139, 250, .16), rgba(167, 139, 250, 0) 70%), var(--ms-panel); border: 1px solid var(--ms-line); }
.ms-mac-lede { margin: 18px 0 0; max-width: 470px; font-size: 16.5px; line-height: 1.58; color: var(--ms-body); }
.ms-mac-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 20px; }
.ms-mac-actions .ms-btn--accent { box-shadow: 0 0 30px rgba(167, 139, 250, .28); }
.ms-mac-help { margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--ms-accent-soft); text-decoration: none; }
.ms-mac-help:hover { color: var(--ms-white); }
.ms-mac-meta { margin: 16px 0 0; font-family: var(--ms-mono); font-size: 12.5px; line-height: 1.6; color: var(--ms-faint); }
.ms-mac-side { display: flex; flex-direction: column; gap: 10px; }
.ms-mac-steps { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ms-mac-steps li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--ms-line); }
.ms-mac-n { font-family: var(--ms-mono); font-size: 12px; line-height: 20px; color: var(--ms-accent); }
.ms-mac-steps strong { display: block; font-size: 15px; font-weight: 600; line-height: 20px; color: var(--ms-white); }
.ms-mac-steps strong + span { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ms-body); }
.ms-mac-invite { margin: 0; padding: 16px 20px; border-radius: 16px; border: 1px dashed var(--ms-line-strong); font-size: 14px; line-height: 20px; color: var(--ms-muted); }
.ms-mac-invite a { color: var(--ms-accent-soft); text-decoration: none; white-space: nowrap; }
.ms-mac-invite a:hover { color: var(--ms-white); }
@media (max-width: 960px) {
  .ms-mac-card { grid-template-columns: 1fr; gap: 36px; padding: 32px 24px; border-radius: 22px; }
}

/* ---------- Polaris page, option AE1c (2026-11-18): star vortex, voice orb, the app in alternating rows, plugins,
   workflow, subscriptions and machines, Aio Academy as the access plan, sign in. Built by docs/polaris/build.py. */
.pl-main { --pl-deep: #1b1142; --pl-violet: #a78bfa; --pl-star: #fff4e0; background: var(--ms-ground); color: var(--ms-ink); font-family: var(--ms-text); overflow: hidden; }
.pl-main h1, .pl-main h2, .pl-main h3 { font-family: var(--ms-display); font-weight: 500; color: #fff; margin: 0; }
.pl-wrap { max-width: 1184px; margin: 0 auto; padding: 0 24px; }
.pl-h2 { font-size: clamp(36px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.pl-h3 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.03em; }
.pl-text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ms-body); max-width: 62ch; }
.pl-text--bright { color: var(--ms-soft); }
.pl-star { flex: none; fill: var(--pl-violet); }
.pl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pl-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px var(--ms-text); text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.pl-btn:hover { transform: translateY(-1px); }
.pl-btn:focus-visible, .pl-orb:focus-visible { outline: 2px solid var(--pl-violet); outline-offset: 3px; }
.pl-btn--light { background: #fff; color: #0b0718; }
.pl-btn--accent { background: var(--pl-violet); color: var(--ms-on-accent); }
.pl-btn--ghost { border: 1px solid rgba(255, 255, 255, .24); color: #fff; background: rgba(5, 6, 11, .35); }
.pl-logo { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: #fff; flex: none; }
.pl-logo img { display: block; }
.pl-logo--big { width: 44px; height: 44px; border-radius: 12px; }

/* hero: the vortex sits under the copy, its core just below the fold line */
.pl-hero { position: relative; min-height: 880px; padding: 150px 24px 120px; box-sizing: border-box; display: flex; justify-content: center; text-align: center; background: var(--ms-ground); }
/* The violet glow runs on under the voice section instead of stopping at the hero's edge. */
.pl-hero::before { content: ""; position: absolute; left: 50%; top: 280px; width: 1800px; height: 1000px; margin-left: -900px; background: radial-gradient(closest-side, #2a1559 0%, rgba(27, 17, 66, .8) 38%, rgba(18, 12, 44, .45) 62%, rgba(5, 6, 11, 0) 100%); pointer-events: none; }
/* The stars stay in the hero and fade out before the voice orb below. */
.pl-space { position: absolute; inset: 0 0 -60px; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.pl-sky { position: absolute; inset: 0; pointer-events: none; }
.pl-sky i, .pl-band i { position: absolute; border-radius: 999px; }
.pl-vortex { position: absolute; left: 50%; bottom: 210px; width: 0; height: 0; perspective: 900px; pointer-events: none; }
.pl-disk { position: absolute; transform: rotateX(62deg); transform-style: preserve-3d; }
.pl-arms { position: absolute; left: -760px; top: -760px; width: 1520px; height: 1520px; border-radius: 999px; background: conic-gradient(from 0deg, transparent 0 6%, rgba(167, 139, 250, .42) 14%, rgba(240, 171, 252, .18) 22%, transparent 32% 50%, rgba(167, 139, 250, .42) 64%, rgba(196, 181, 253, .18) 72%, transparent 82%); -webkit-mask-image: radial-gradient(closest-side, #000 8%, rgba(0, 0, 0, .7) 40%, transparent 100%); mask-image: radial-gradient(closest-side, #000 8%, rgba(0, 0, 0, .7) 40%, transparent 100%); filter: blur(22px); animation: pl-spin 70s linear infinite; }
.pl-arms--fast { scale: .55; animation-duration: 38s; opacity: .9; }
.pl-band { position: absolute; left: 0; top: 0; animation: pl-spin linear infinite; }
.pl-core { position: absolute; left: -200px; top: -200px; width: 400px; height: 400px; border-radius: 999px; transform: scaleY(.55); background: radial-gradient(closest-side, rgba(255, 244, 224, .95), rgba(217, 204, 255, .55) 30%, rgba(167, 139, 250, .25) 60%, rgba(167, 139, 250, 0)); animation: pl-breathe 6s ease-in-out infinite; }
@keyframes pl-spin { to { transform: rotate(360deg); } }
@keyframes pl-breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.pl-hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 900px; }
.pl-hero h1 { font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.035em; }
.pl-lede { margin: 0; max-width: 620px; font-size: 19px; line-height: 1.58; color: var(--ms-soft); }
.pl-hero .pl-actions { justify-content: center; margin-top: 6px; }
.pl-works { margin: 12px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; font-size: 14px; color: var(--ms-muted); }
.pl-sub { display: inline-flex; align-items: center; gap: 8px; color: #fff; }

/* the voice orb, between things people say */
.pl-voice { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: center; gap: 24px; max-width: 1280px; margin: 0 auto; padding: 40px 24px 96px; box-sizing: border-box; }
.pl-voice-middle { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.pl-orb { width: min(440px, 80vw); aspect-ratio: 1; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; touch-action: none; }
.pl-orb canvas { display: block; width: 100%; height: 100%; }
.pl-orb-hint { min-height: 22px; margin: -8px 0 10px; font-size: 14px; color: var(--ms-muted); }
.pl-voice .pl-text { margin: 0 auto; max-width: 500px; }
.pl-says { display: flex; flex-direction: column; gap: 48px; }
.pl-says--left { align-items: flex-end; text-align: right; }
.pl-say { margin: 0; max-width: 300px; font: 500 21px/1.38 var(--ms-display); letter-spacing: -.01em; color: var(--ms-muted); }
.pl-say--bright { color: #fff; }

/* the app, screen by screen: image and text take turns */
.pl-tour { padding: 96px 0 40px; background: linear-gradient(180deg, var(--ms-ground), #080915 30%, var(--ms-ground)); }
.pl-intro { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.pl-rows { margin-top: 72px; display: flex; flex-direction: column; gap: 112px; }
.pl-row { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); align-items: center; gap: 64px; }
.pl-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 720px); }
.pl-row:nth-child(even) .pl-window { order: 2; }
.pl-window { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--ms-line-strong); background: var(--ms-panel); box-shadow: 0 40px 120px -40px rgba(167, 139, 250, .5); }
.pl-dots { display: flex; gap: 7px; padding: 10px 13px; background: #10131c; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pl-dots i { width: 10px; height: 10px; border-radius: 99px; background: #ff5f57; }
.pl-dots i:nth-child(2) { background: #febc2e; }
.pl-dots i:nth-child(3) { background: #28c840; }
.pl-window img { display: block; width: 100%; height: auto; }
.pl-row-copy { display: flex; flex-direction: column; gap: 16px; }
.pl-row-copy h3 { font-size: clamp(28px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.03em; }
.pl-row-copy p { margin: 0; font-size: 16px; line-height: 1.58; color: var(--ms-body); }
.pl-row-copy ul, .pl-includes, .pl-list, .pl-join, .pl-steps { margin: 0; padding: 0; list-style: none; }
.pl-row-copy ul { margin-top: 6px; display: flex; flex-direction: column; gap: 10px; }
.pl-row-copy li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.45; color: var(--ms-ink); }

.pl-window--wide { margin-top: 56px; }
.pl-parts { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pl-parts li { display: flex; gap: 14px; align-items: baseline; }
.pl-parts li > span { display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; line-height: 1.55; color: var(--ms-body); }
.pl-parts strong { font: 600 20px var(--ms-display); color: #fff; }

.pl-gallery { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pl-gallery figure { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.pl-gallery .pl-window { box-shadow: 0 30px 80px -40px rgba(167, 139, 250, .5); }
.pl-gallery figcaption { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.55; color: var(--ms-body); }
.pl-gallery strong { font: 600 19px var(--ms-display); color: #fff; }

/* the main idea: one subscription, a department's workflow */
.pl-dept { padding: 120px 0 40px; background: radial-gradient(900px 420px at 15% 30%, rgba(42, 21, 89, .55), rgba(5, 6, 11, 0) 70%); }
.pl-dept .pl-h2 { font-size: clamp(38px, 5vw, 60px); max-width: 22ch; }
.pl-dept .pl-text { margin-top: 22px; font-size: 19px; max-width: 58ch; }
.pl-dept-list { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pl-dept-list li { padding-top: 22px; border-top: 1px solid rgba(167, 139, 250, .45); }
.pl-dept-list li > span { display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; line-height: 1.55; color: var(--ms-body); }
.pl-dept-list strong { font: 500 24px/1.2 var(--ms-display); letter-spacing: -.02em; color: #fff; }

/* plugins: the work they put to run */
.pl-plugins { padding: 112px 0 96px; }
.pl-split { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; align-items: start; }
.pl-split-head { display: flex; flex-direction: column; gap: 18px; }
.pl-work { margin: 0; }
.pl-work div { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.pl-work dt { font: 500 24px/1.25 var(--ms-display); letter-spacing: -.02em; color: #fff; }
.pl-work dd { margin: 0; font-size: 16px; line-height: 1.58; color: var(--ms-body); }

/* how Aio works with you */
.pl-flow { padding: 96px 0; text-align: center; background: radial-gradient(800px 380px at 50% 0%, var(--pl-deep), rgba(5, 6, 11, 0) 75%); }
.pl-steps { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; text-align: left; }
.pl-steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 1px; background: linear-gradient(90deg, var(--pl-star), rgba(167, 139, 250, .5), rgba(167, 139, 250, .1)); }
.pl-steps li { position: relative; display: flex; flex-direction: column; gap: 14px; }
.pl-n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--ms-ground); border: 1px solid rgba(255, 244, 224, .5); box-shadow: 0 0 24px rgba(167, 139, 250, .35); font: 600 15px var(--ms-display); color: #fff; }
.pl-steps h3 { font-size: 24px; letter-spacing: -.02em; }
.pl-steps p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ms-body); }
.pl-promise { margin: 80px auto 0; max-width: 900px; font: 500 clamp(22px, 2.4vw, 28px)/1.36 var(--ms-display); letter-spacing: -.02em; color: #fff; }

/* subscriptions and machines */
.pl-runs { padding: 96px 0; }
.pl-halves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
.pl-halves > div { display: flex; flex-direction: column; gap: 22px; }
.pl-list { border-top: 1px solid rgba(255, 255, 255, .1); }
.pl-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pl-list li > span:last-child, .pl-includes li > span, .pl-join li > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: 14.5px; line-height: 1.5; color: var(--ms-muted); }
.pl-list strong, .pl-includes strong, .pl-join strong { font: 600 18px var(--ms-display); color: #fff; }

/* where it runs: a slow strip of hosts, paused on hover, still with reduced motion */
.pl-hosts { margin-top: 64px; }
.pl-hosts-label { max-width: 1184px; margin: 0 auto 22px; padding: 0 24px; font-size: 14.5px; color: var(--ms-muted); }
.pl-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pl-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: pl-marquee 48s linear infinite; }
.pl-marquee:hover .pl-track { animation-play-state: paused; }
.pl-track li { display: flex; align-items: center; gap: 12px; margin-right: 18px; padding: 14px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); font: 500 16px var(--ms-text); color: #fff; white-space: nowrap; }
.pl-track img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
@keyframes pl-marquee { to { transform: translateX(-50%); } }

/* Aio Academy, the access plan */
.pl-academy { padding: 112px 0 40px; border-top: 1px solid var(--ms-line); }
.pl-academy-copy .pl-actions { margin-top: 6px; }
.pl-includes-title { margin: 0; font: 500 18px var(--ms-display); color: #fff; }
.pl-includes { border-top: 1px solid rgba(255, 255, 255, .1); }
.pl-includes li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pl-includes .pl-star { width: 14px; height: 14px; margin-top: 5px; }
.pl-includes .pl-polaris .pl-star { fill: var(--pl-star); }
.pl-includes li > span { font-size: 15px; color: var(--ms-body); }
.pl-price { margin: 6px 0 0; font-size: 14.5px; color: var(--ms-muted); }
.pl-join { margin-top: 72px; padding: 28px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-radius: 24px; background: linear-gradient(135deg, var(--pl-deep), var(--ms-panel) 70%); border: 1px solid rgba(167, 139, 250, .25); }
.pl-join li { display: flex; gap: 16px; align-items: flex-start; }

/* access: no public download */
.pl-access { padding: 112px 0 120px; text-align: center; background: radial-gradient(700px 420px at 50% 100%, #2a1559, rgba(5, 6, 11, 0) 70%); }
.pl-access .pl-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pl-north { fill: var(--pl-star); filter: drop-shadow(0 0 18px rgba(255, 244, 224, .7)); }
.pl-access .pl-text { margin: 0 auto; max-width: 640px; }
.pl-access .pl-actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .pl-band, .pl-core, .pl-arms, .pl-track { animation: none; }
  .pl-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 12px; }
  .pl-track li[aria-hidden] { display: none; }
  .pl-btn { transition: none; }
}
@media (max-width: 960px) {
  .pl-hero { min-height: 760px; padding: 120px 16px 100px; }
  .pl-voice { grid-template-columns: minmax(0, 1fr); padding: 24px 16px 72px; }
  .pl-says { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
  .pl-says--left { order: 2; align-items: center; text-align: center; }
  .pl-says--right { order: 3; }
  .pl-say { font-size: 17px; text-align: center; }
  .pl-wrap { padding: 0 16px; }
  .pl-row, .pl-split, .pl-halves { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pl-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .pl-row:nth-child(even) .pl-window { order: 0; }
  .pl-rows { gap: 72px; }
  .pl-work div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pl-parts { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pl-dept-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pl-gallery { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pl-hosts-label { padding: 0 16px; }
  .pl-steps, .pl-join { grid-template-columns: minmax(0, 1fr); }
  .pl-steps::before { display: none; }
  .pl-halves { gap: 56px; }
}

/* ---------- Polaris page: the link to the installation guide, under the access section's buttons (2026-11-25) */
.pl-guide { margin: 0; font-size: 14.5px; }
.pl-guide a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(167, 139, 250, .6); text-underline-offset: 4px; }
.pl-guide a:hover { text-decoration-color: #fff; }

/* ---------- Polaris docs, Get started (polaris/docs/, 2026-11-25): the Polaris page's look, with a Mac | Windows
   switch, numbered steps and command blocks with a Copy button. assets/polaris-docs.js sets html[data-os] and .pd-js;
   without it both systems show, each labelled. */
.pd-main { overflow: clip; }   /* .pl-main's overflow: hidden would stop the side column from sticking */
.pd-hero { padding: 150px 0 64px; background: radial-gradient(900px 420px at 18% 30%, rgba(42, 21, 89, .55), rgba(5, 6, 11, 0) 70%); }
.pd-hero .pl-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pd-hero h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.035em; }
.pd-back { font-size: 14.5px; color: var(--ms-muted); text-decoration: none; }
.pd-back:hover { color: #fff; }
.pd-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; align-items: start; padding-top: 24px; padding-bottom: 120px; }
.pd-side { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 28px; }
.pd-switch { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; border: 1px solid var(--ms-line-strong); background: rgba(255, 255, 255, .03); }
.pd-switch[hidden] { display: none; }
.pd-switch button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ms-muted); font: 600 14.5px var(--ms-text); cursor: pointer; }
.pd-switch button:hover { color: #fff; }
.pd-switch button[aria-pressed="true"] { background: #fff; color: #0b0718; }
.pd-switch button:focus-visible, .pd-copy:focus-visible, .pd-main a:focus-visible { outline: 2px solid var(--pl-violet); outline-offset: 3px; }
.pd-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid rgba(255, 255, 255, .1); }
.pd-toc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 1px solid transparent; font-size: 14.5px; color: var(--ms-muted); text-decoration: none; }
.pd-toc a:hover { color: #fff; border-left-color: var(--pl-violet); }
.pd-steps { margin: 0; padding: 0; list-style: none; }
.pd-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 24px; padding-bottom: 72px; scroll-margin-top: 112px; }
.pd-step::before { content: ""; position: absolute; left: 22px; top: 56px; bottom: 12px; width: 1px; background: linear-gradient(180deg, rgba(167, 139, 250, .5), rgba(167, 139, 250, .06)); }
.pd-step:last-child { padding-bottom: 0; }
.pd-step:last-child::before { display: none; }
.pd-body { min-width: 0; display: flex; flex-direction: column; gap: 18px; padding-top: 5px; }
.pd-body h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
.pd-body p, .pd-sub { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.6; color: var(--ms-body); }
.pd-body .pl-actions { margin-top: 4px; }
.pd-sub { padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.pd-sub li::marker { color: var(--pl-violet); }
.pd-ui { color: #fff; font-weight: 600; }
.pd-inline { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .08); font: 500 .92em 'IBM Plex Mono', ui-monospace, monospace; color: #fff; }
.pd-tag { display: inline-block; margin-right: 10px; padding: 1px 9px; border-radius: 999px; border: 1px solid rgba(167, 139, 250, .45); font: 600 12px/1.6 var(--ms-text); letter-spacing: .02em; color: var(--pl-violet); vertical-align: 1px; }
.pd-code { max-width: 720px; border-radius: 14px; overflow: hidden; border: 1px solid var(--ms-line-strong); background: var(--ms-panel); box-shadow: 0 30px 80px -50px rgba(167, 139, 250, .5); }
.pd-code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 8px 7px 16px; background: #10131c; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pd-code-label { font-size: 13px; color: var(--ms-muted); }
.pd-copy { min-height: 32px; min-width: 76px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #fff; font: 600 13px var(--ms-text); cursor: pointer; transition: background-color .2s ease; }
.pd-copy:hover { background: rgba(255, 255, 255, .1); }
.pd-copy[hidden] { display: none; }
.pd-copy.is-copied { border-color: rgba(167, 139, 250, .6); color: var(--pl-violet); }
.pd-code pre { margin: 0; padding: 16px 18px; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 14.5px/1.6 'IBM Plex Mono', ui-monospace, monospace; color: var(--ms-ink); }
.pd-code code { font: inherit; }
.pd-link { align-self: flex-start; font-size: 15px; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: rgba(167, 139, 250, .6); text-underline-offset: 4px; }
.pd-link:hover { text-decoration-color: #fff; }
/* Install problems: closed by default, one problem per item, each with its fix (and command when it has one). */
.pd-help { max-width: 720px; border: 1px solid var(--ms-line-strong); border-radius: 14px; background: rgba(255, 255, 255, .02); }
.pd-help summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 18px; font: 600 15px var(--ms-text); color: #fff; cursor: pointer; list-style: none; }
.pd-help summary::-webkit-details-marker { display: none; }
.pd-help summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--pl-violet); }
.pd-help[open] summary::after { content: "−"; }
.pd-help summary:focus-visible { outline: 2px solid var(--pl-violet); outline-offset: 3px; border-radius: 14px; }
.pd-help ul { margin: 0; padding: 0 18px; list-style: none; }
.pd-help li { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-top: 1px solid var(--ms-line); }
.pd-help li p { font-size: 15px; }
.pd-help .pd-link { display: inline-block; margin: 4px 18px 18px; }
.pd-js[data-os="mac"] .pd-main [data-os-only="windows"], .pd-js[data-os="windows"] .pd-main [data-os-only="mac"] { display: none; }
@media (max-width: 960px) {
  .pd-hero { padding: 120px 0 40px; }
  .pd-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 8px; padding-bottom: 88px; }
  .pd-side { position: static; }
  .pd-toc { display: none; }
  .pd-step { grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-bottom: 56px; scroll-margin-top: 96px; }
  .pd-step .pl-n { width: 36px; height: 36px; font-size: 14px; }
  .pd-step::before { left: 18px; top: 46px; }
  .pd-code pre { padding: 14px 16px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .pd-copy { transition: none; } }
