.site-language-switch{display:inline-flex;flex-shrink:0;align-items:center;gap:2px;padding:3px;border:1px solid #ffffff20;border-radius:999px;background:#14141680;line-height:1}
.site-language-switch button{display:grid;place-items:center;min-width:34px;height:29px;padding:0 9px;border:0;border-radius:999px;background:transparent;color:#a5a5ae;font-family:inherit;font-size:12px;font-weight:500;letter-spacing:.02em;cursor:pointer;transition:color .2s,background .2s}
.site-language-switch button[aria-pressed="true"]{color:#f0d7fc;background:#cd95eb26}
.site-language-switch button:hover{color:#f5e5ff;background:#ffffff08}
.site-language-switch button[aria-pressed="true"]:hover{background:#cd95eb32}
.site-language-switch button:focus-visible{outline:2px solid #73C9FF;outline-offset:2px}
.site-language-switch button:active{transform:none}
.language-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:650px){.site-language-switch{padding:2px;gap:0}.site-language-switch button{height:28px;min-width:29px;padding:0 7px;font-size:11px}.header>.site-language-switch{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.site-language-switch button{transition:none}}

/* Common wordmarks and footer for the studio and both product pages. */
.brand-spectrum, .header .brand-name {
  --spectrum-duration: 6s;
  /* Negative tracking shortens the box, but the last glyph still paints at full width. */
  padding-inline-end: .09em;
  display: inline-block;
  color: #f5f5f7;
  background-image: linear-gradient(90deg, #f5f5f7 43%, #CD95EB 48%, #73C9FF 52%, #f5f5f7 57%);
  background-size: 250% 100%;
  background-position: 100% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: spectrum-pass var(--spectrum-duration) linear infinite;
}
@keyframes spectrum-pass {
  from { background-position: 100% 50%; }
  to { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-spectrum, .header .brand-name { animation: none; background-position: 50% 50%; }
}

:is(#footer,.studio-site-footer) {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 28px 6% 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .875rem;
  line-height: 1.45;
  text-align: left;
  border-top: 1px solid #ffffff12;
  background: radial-gradient(ellipse at 15% 0, #cd95eb08, transparent 55%);
}
.studio-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.12fr 1.24fr;
  gap: 24px;
}
.footer-identity > .brand-spectrum {
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -.035em;
}
.footer-identity p { margin: 7px 0 8px; color: #9f9bab; max-width: 28ch; }
.footer-identity > a:last-child { color: #cfc8d9; }
.footer-column { display: grid; align-content: start; gap: 6px; }
.footer-column h2 {
  color: #9f9bab;
  margin: 0 0 2px;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: inherit;
}
.footer-column a { width: fit-content; color: #ded9e6; font-size: .875rem; line-height: inherit; }
.footer-column a:hover, .footer-identity > a:last-child:hover { color: #CD95EB; }
.studio-footer-bottom {
  color: #9f9bab;
  font-size: .8125rem;
  margin-top: 18px;
  padding-top: 10px;
}
@media (max-width: 680px) {
  .studio-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  :is(#footer,.studio-site-footer) { padding-block: 21px 14px; }
}

html { overscroll-behavior-y: none; }
:is(.skip,.skip-link):not(:focus-visible) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}


/* The studio bar and product are painted together on ordinary same-origin navigation. */
html { color-scheme: dark; background-color: #0b0b0d; }
@media (min-width: 701px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { animation-duration: 160ms; }
  ::view-transition-old(root) { animation: none; }
  ::view-transition-new(root) { mix-blend-mode: normal; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-timing-function: ease-out; }
}
.studio-product { --studio-bar: 66px; --product-height: calc(100svh - var(--studio-bar)); }
.studio-product body { padding-top: var(--studio-bar); }
.studio-masthead {
  position: fixed; inset: 0 0 auto; z-index: 200; height: var(--studio-bar);
  display: flex; align-items: center; gap: 32px; padding-inline: max(5%, calc((100vw - 1250px)/2));
  background: #0b0b0d; color: #f5f5f7;
  font: 500 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.studio-masthead a { color: inherit; text-decoration: none; }
.studio-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.035em; }
.studio-brand img { display: block; }
.studio-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; color: #c3c3ca; font-size: .9rem; }
.studio-nav a:hover { color: white; }
.studio-product :is(.nav,body > .header,.reading-progress) { top: var(--studio-bar); }
.studio-product .brand-orbit { top: calc(var(--studio-bar) + var(--product-height)/2); }
.studio-product .journey-logo { top: calc(var(--product-height)/2); }
.studio-product .scene { top: var(--studio-bar); height: var(--product-height); }
@media (max-width: 1040px) {
  .studio-product { --studio-bar: 86px; }
  .studio-masthead {
    display: grid; grid-template: 38px 32px / 1fr auto 1fr;
    align-content: center; gap: 2px 8px;
  }
  .studio-brand { grid-area: 1 / 1; justify-self: start; }
  .studio-masthead #language { grid-area: 1 / 3; justify-self: end; }
  .studio-nav { grid-area: 2 / 1 / 3 / -1; justify-self: center; gap: 20px; margin: 0; }
}
@media (max-width: 540px) { .studio-brand span { display: none; } }

/* Allow the product title to cross the bar while preserving access to the nav links. */
.studio-product .brand-orbit, .studio-product body > header.header { z-index: 210; }

@media (max-width: 700px) {
  :is(#nav,.studio-nav) a { position: relative; touch-action: manipulation; }
  :is(#nav,.studio-nav) a::before {
    content: ""; position: absolute; left: -5px; right: -5px; top: 50%;
    height: 44px; transform: translateY(-50%);
  }
}
