/* Backlinks Observer · Public site. Built on the tokens and components of bo.css. */

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  flex: none;
}

.brand-icon {
  width: 36px;
}

.brand-wordmark {
  width: 118px;
}

[data-bs-theme="dark"] .brand-icon {
  content: url(/img/logo-icone2-light.png);
}

[data-bs-theme="dark"] .brand-wordmark {
  filter: invert(1);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.nav-link,
.nav-dropdown>summary,
.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-dropdown>summary:hover,
.lang-link:hover,
.theme-toggle:hover {
  background: var(--tint);
}

.nav-link[aria-current] {
  box-shadow: inset 0 -2.5px 0 var(--accent);
  border-radius: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown>summary {
  list-style: none;
}

.nav-dropdown>summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown>summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--t-fast);
}

.nav-dropdown[open]>summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.nav-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 60;
  display: grid;
  min-width: 250px;
  padding: var(--s-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.nav-panel a {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
}

.nav-panel a:hover,
.nav-panel a[aria-current] {
  background: var(--tint);
}

.nav-tools {
  display: flex;
  align-items: center;
  margin-inline: var(--s-2);
  padding-inline: var(--s-2);
  border-inline: 1px solid var(--line);
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
}

.theme-toggle svg {
  fill: currentColor;
}

.icon-sun,
[data-bs-theme="dark"] .icon-moon {
  display: none;
}

[data-bs-theme="dark"] .icon-sun {
  display: block;
}

.nav-login {
  margin-right: var(--s-2);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: none;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-1);
    max-height: calc(100dvh - var(--header-h));
    padding: var(--s-4) 20px var(--s-5);
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-panel {
    position: static;
    margin: 0 0 var(--s-2) var(--s-3);
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    padding: 0 0 0 var(--s-2);
  }

  .nav-tools {
    margin: var(--s-2) 0;
    padding: var(--s-2) 0;
    border: solid var(--line);
    border-width: 1px 0;
  }

  .nav-login {
    margin: 0;
  }
}

/* Shared text blocks ------------------------------------------------------ */
.lead {
  max-width: 34em;
  font-size: var(--fs-lg);
  color: var(--ink-2);
}

.hero-actions {
  margin-top: var(--s-2);
}

.hero-note {
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.hero-note strong {
  color: var(--ink);
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--s-7);
}

.section-head p {
  margin-top: var(--s-3);
  font-size: var(--fs-lg);
  color: var(--ink-2);
}

.section-foot {
  margin-top: var(--s-6);
}

.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.reveal-on [data-reveal].is-seen {
  opacity: 1;
  transform: none;
}

/* Scroll story (homepage) -------------------------------------------------
   A full-screen scene stays fixed behind the chapters. Each chapter moves the camera:
   horizon view for the hero, then the whole orbit, a close-up on the changed link, and back. */
.glass {
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: var(--r-md);
}

.story {
  position: relative;
}

.story-stage {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
  --u: calc(max(100vw, 150vh) / 1200);
  --u: calc(max(100vw, 150svh) / 1200);
  --pt-a: .5;
  --pt-core: var(--brand-ink);
  --pl-lit: #0E6FA3;
  --pl-mid: #063F5E;
  --pl-dark: #03202F;
  --rim: rgba(205, 240, 255, .95);
  --glow-1: rgba(0, 178, 255, .85);
  --glow-2: rgba(0, 178, 255, .42);
  --glow-3: rgba(0, 160, 240, .18);
  --back-a: .34;
}

[data-bs-theme="dark"] .story-stage {
  --pt-a: .8;
  --pt-core: #E6F6FF;
  --pl-lit: #0A3F5C;
  --pl-mid: #031823;
  --pl-dark: #000305;
  --rim: rgba(150, 222, 255, .95);
  --glow-1: rgba(0, 178, 255, .9);
  --glow-2: rgba(0, 170, 250, .5);
  --glow-3: rgba(0, 140, 220, .26);
  --back-a: .62;
}

.stage {
  position: absolute;
  inset: 0;
  --cam-x: 20%;
  --cam-y: 0%;
  --cam-s: .7;
}

.stage[data-scene="0"] {
  --cam-x: 0%;
  --cam-y: calc(50vh - 290px + var(--u) * 384);
  --cam-y: calc(50svh - 290px + var(--u) * 384);
  --cam-s: 3.2;
}

.stage[data-scene="3"] {
  --cam-x: -45.67%;
  --cam-y: -51%;
  --cam-s: 1.7;
}

.stage-grid {
  position: absolute;
  inset: 0;
  opacity: .7;
  background-image: radial-gradient(circle, var(--tint-strong) 1.2px, transparent 1.7px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 62%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 62%, #000, transparent 78%);
  transition: opacity 1s;
}

.stage[data-scene="0"] .stage-grid {
  opacity: 0;
}

.stage-alert {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 66% 50%, rgba(255, 122, 0, .2), transparent 55%);
  transition: opacity 1s;
}

.stage[data-scene="3"] .stage-alert {
  opacity: 1;
}

/* Camera: a 1200 x 800 world that always covers the screen. --u is one world unit in pixels.
   The whole world moves as one composited layer, so the glow never repaints while scrolling. */
.cam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100vw, 150vh);
  width: max(100vw, 150svh);
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%) translate(var(--cam-x), var(--cam-y)) scale(var(--cam-s));
  transition: transform 1.1s cubic-bezier(.65, 0, .2, 1);
}

.scene {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.auth-aside .scene {
  position: static;
}

/* The observed site, lit from behind like an eclipse: one smooth bloom, one thin lit limb,
   and a single orange spark where the light breaks over the edge. No stacked rings. */
.cam-back,
.planet-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.cam-back {
  width: calc(var(--u) * 1500);
  translate: -48% -53%;
  opacity: var(--back-a);
  background: radial-gradient(closest-side, rgb(0 178 255 / .5) 0, rgb(0 178 255 / .5) 16%, rgb(0 178 255 / .33) 18.5%, rgb(0 178 255 / .21) 22%, rgb(0 178 255 / .125) 27%, rgb(0 178 255 / .065) 34%, rgb(0 178 255 / .028) 45%, rgb(0 178 255 / .009) 62%, rgb(0 178 255 / 0) 100%);
}

.planet-halo {
  width: calc(var(--u) * 420);
  translate: -47% -54%;
  background: radial-gradient(closest-side, var(--glow-1) 0, var(--glow-1) 57%, var(--glow-2) 59.5%, var(--glow-3) 64%, rgb(0 178 255 / .07) 74%, rgb(0 178 255 / .02) 86%, rgb(0 178 255 / 0) 100%);
}

.planet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--u) * 240);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 72% 10%, var(--pl-lit) 0, var(--pl-mid) 30%, var(--pl-dark) 66%);
  box-shadow: inset calc(var(--u) * -6) calc(var(--u) * 8) calc(var(--u) * 14) calc(var(--u) * -7) var(--rim),
    inset calc(var(--u) * -18) calc(var(--u) * 24) calc(var(--u) * 44) calc(var(--u) * -22) var(--glow-2),
    calc(var(--u) * 2) calc(var(--u) * -3) calc(var(--u) * 8) var(--glow-1);
}

.planet i {
  position: absolute;
  left: 70%;
  top: 4.2%;
  width: calc(var(--u) * 4.5);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 calc(var(--u) * 3) calc(var(--u) * 1) #FFE3C4, 0 0 calc(var(--u) * 12) calc(var(--u) * 4) rgb(255 122 0 / .85), 0 0 calc(var(--u) * 34) calc(var(--u) * 10) rgb(255 122 0 / .3);
}

/* Light and colour: blues everywhere, orange only for the dawn on the limb and for changes. */
.st-h0 {
  stop-color: var(--brand);
  stop-opacity: 0;
}

.st-h2 {
  stop-color: var(--brand);
  stop-opacity: var(--pt-a);
}

.st-b1 {
  stop-color: var(--brand);
  stop-opacity: .3;
}

.st-d0 {
  stop-color: var(--accent);
  stop-opacity: 0;
}

.st-d1 {
  stop-color: var(--accent);
  stop-opacity: .75;
}

.s-stars circle,
.s-line {
  fill: var(--tint-strong);
}

.s-orbit {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: opacity 1s;
}

.stage[data-scene="0"] .s-orbit {
  opacity: 0;
}

.stage[data-scene="0"] .s-orbit-glow {
  opacity: 0;
}

.s-sat-in {
  transition: transform 1.2s var(--ease);
}

.stage[data-scene="0"] .s-sat-in {
  transform: scale(.5);
}

.s-site {
  transition: opacity .8s;
}

.stage[data-scene="0"] .s-site {
  opacity: 0;
}

.s-orbit-a {
  stroke: var(--brand);
  stroke-dasharray: 86 14;
  stroke-dashoffset: -8;
}

.s-orbit-b {
  stroke: var(--accent);
  stroke-dasharray: 80 20;
  stroke-dashoffset: -30;
}

.story-stage .s-orbit-b {
  stroke: var(--brand-ink);
}

.s-orbit-glow {
  stroke-width: 14;
  stroke-dasharray: none;
  opacity: .1;
}

.s-planet>circle:first-child,
.s-hull {
  fill: var(--ink);
}

.s-window,
.s-eye {
  fill: var(--bg);
}

.s-site .s-window {
  fill: #fff;
  opacity: .94;
}

.s-dot,
.s-dish {
  fill: var(--accent);
}

.s-dot-2,
.s-panel,
.s-badge-bg {
  fill: var(--brand);
}

.s-pt-core {
  fill: var(--pt-core);
  transition: fill .4s;
}

.s-pt-warn {
  opacity: 0;
  transition: opacity .6s;
}

.s-badge-bg {
  transition: fill .4s;
}

.s-link {
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  opacity: .45;
  transition: stroke-dashoffset .8s var(--ease) calc(var(--i) * .12s), stroke .4s, opacity .4s;
}

.s-flow {
  stroke: var(--pt-core);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1.2 13;
  animation: s-flow 2.6s linear infinite;
  transition: opacity .5s calc(.6s + var(--i) * .12s);
}

.s-src {
  transition: opacity .5s calc(var(--i) * .12s), transform .7s var(--ease) calc(var(--i) * .12s);
}

.s-badge {
  transition: opacity .3s calc(var(--i) * .16s), transform .45s var(--ease) calc(var(--i) * .16s);
}

.s-check,
.s-bang {
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity .3s;
}

.s-bang,
.s-pulse,
.s-waves path,
.s-beam {
  opacity: 0;
}

.s-beam {
  transition: opacity .8s;
}

.s-pulse {
  fill: none;
  stroke: var(--brand);
  stroke-width: 3;
}

.s-waves path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
}

.s-trace circle {
  fill: var(--brand);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .3s calc(var(--i) * .09s), transform .45s var(--ease) calc(var(--i) * .09s);
}

.s-trace .is-change {
  fill: var(--accent);
}

/* Scene states. Without JavaScript nothing below applies and the full scene stays visible. */
.has-js .stage:not(.is-s1) .s-src {
  opacity: 0;
  transform: scale(.2);
}

.has-js .stage:not(.is-s1) .s-link {
  stroke-dashoffset: 1;
}

.has-js .stage:not(.is-s1) .s-flow {
  opacity: 0;
  transition-delay: 0s;
}

.has-js .stage:not(.is-s2) .s-badge {
  opacity: 0;
  transform: scale(0);
}

.has-js .stage:not(.is-s5) .s-trace circle {
  opacity: 0;
  transform: scale(0);
}

.stage[data-scene="0"] .s-beam,
.stage[data-scene="2"] .s-beam {
  opacity: 1;
}

.stage[data-scene="2"] .s-pulse {
  animation: s-pulse 2s ease-out infinite;
  animation-delay: calc(var(--i) * .4s);
}

.stage.is-alert .s-src-watch .s-pt-core,
.stage.is-alert .s-src-watch .s-badge-bg {
  fill: var(--accent);
}

.stage.is-alert .s-src-watch .s-pt-warn {
  opacity: 1;
}

.stage.is-alert .s-src-watch .s-check {
  opacity: 0;
}

.stage.is-alert .s-src-watch .s-bang {
  opacity: 1;
}

.stage.is-alert .s-link-watch {
  stroke: var(--accent);
  stroke-dasharray: .04 .05;
  opacity: .9;
}

.stage.is-alert .s-flow-watch {
  opacity: 0;
}

.stage.is-alert .s-src-watch .s-pulse {
  stroke: var(--accent);
  animation: s-pulse 1.8s ease-out infinite;
}

.stage[data-scene="3"] .s-src:not(.s-src-watch),
.stage[data-scene="3"] .s-link:not(.s-link-watch),
.stage[data-scene="3"] .s-flow {
  opacity: .2;
}

.stage[data-scene="4"] .s-waves path {
  animation: s-wave 1.6s ease-in-out infinite;
}

.stage[data-scene="4"] .s-waves path:nth-child(2) {
  animation-delay: .2s;
}

.stage[data-scene="4"] .s-waves path:nth-child(3) {
  animation-delay: .4s;
}

@keyframes s-pulse {
  0% {
    opacity: .9;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

@keyframes s-wave {

  0%,
  100% {
    opacity: 0;
  }

  45% {
    opacity: 1;
  }
}

@keyframes s-flow {
  to {
    stroke-dashoffset: -14.2;
  }
}

@keyframes live-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 122, 0, .55);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(255, 122, 0, 0);
  }
}

/* Chapters scroll over the scene. */
.story-chapters {
  position: relative;
  z-index: 1;
  margin-top: -100vh;
  margin-top: -100svh;
  pointer-events: none;
}

.chapter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 62vh;
  min-height: 62svh;
  padding-block: var(--s-5);
}

.chapter:last-child {
  padding-bottom: 14vh;
}

.chapter-hero>*,
.chapter-panel {
  pointer-events: auto;
}

.chapter-hero {
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(20px, 6vh, 72px) clamp(20px, 4vh, 36px);
  text-align: center;
}

.chapter-hero h1 {
  max-width: 13em;
  font-size: clamp(2.25rem, min(5.4vw, 9.4vh), 5.25rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}

.chapter-hero h1 span {
  display: block;
  color: var(--brand-ink);
}

.chapter-hero .lead {
  max-width: 40em;
  font-size: clamp(1.0625rem, .95rem + .5vw, 1.3125rem);
  font-weight: 450;
  color: var(--ink);
}

.chapter-hero .hero-actions {
  justify-content: center;
  margin-top: var(--s-2);
}

.chapter-hero .hero-note {
  color: var(--ink);
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.live-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: live-dot 1.8s ease-out infinite;
}

/* Facts sit on the dark planet at the bottom of the first screen. */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2) var(--s-6);
  margin-top: auto;
  padding-top: var(--s-6);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.has-js .hero-facts {
  color: #fff;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.hero-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.chapter-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
  max-width: 470px;
  padding: var(--s-6);
}

.chapter-panel h2 {
  font-size: clamp(1.75rem, 1.1rem + 2vw, 2.5rem);
  letter-spacing: -.03em;
}

.chapter-panel>p {
  font-size: var(--fs-lg);
  color: var(--ink-2);
}

/* Readout: one small card per chapter, synchronised with the scene. */
.readout {
  position: absolute;
  right: max(56px, 6vw);
  bottom: 6vh;
  width: 320px;
  height: 132px;
}

.readout-item {
  position: absolute;
  inset: auto 0 0;
  padding: 12px 16px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s, transform .45s var(--ease);
}

.stage[data-scene="1"] [data-for="1"],
.stage[data-scene="2"] [data-for="2"],
.stage[data-scene="3"] [data-for="3"],
.stage[data-scene="4"] [data-for="4"],
.stage[data-scene="5"] [data-for="5"] {
  opacity: 1;
  transform: none;
}

.readout-item .badge {
  margin-bottom: 6px;
}

.readout-rows {
  margin-top: 6px;
}

.readout-rows li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 3px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

.readout-rows b {
  font-weight: 600;
  color: var(--ink);
}

.readout-rows b.is-change {
  color: var(--warn-ink);
}

/* Rail: chapter navigation */
.story-rail {
  position: absolute;
  right: 14px;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  transform: translateY(-50%);
}

.story-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.story-rail a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tint-strong);
  transition: transform var(--t-fast), background var(--t-fast);
}

.story-rail a:hover::before {
  background: var(--ink-2);
}

.story-rail a[aria-current]::before {
  background: var(--accent);
  transform: scale(1.4);
}

.story-rail span {
  position: absolute;
  right: 100%;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}

.story-rail a:hover span,
.story-rail a:focus-visible span {
  opacity: 1;
}

@media (max-width: 899px) {
  .stage {
    --cam-x: 0%;
    --cam-y: -27%;
    --cam-s: .36;
  }

  .stage[data-scene="0"] {
    --cam-x: 0%;
    --cam-y: calc(50vh - 215px + var(--u) * 228);
    --cam-y: calc(50svh - 215px + var(--u) * 228);
    --cam-s: 1.9;
  }

  .stage[data-scene="3"] {
    --cam-x: -33%;
    --cam-y: -48.25%;
    --cam-s: .9;
  }

  .stage-alert {
    background: radial-gradient(circle at 50% 30%, rgba(255, 122, 0, .22), transparent 60%);
  }

  .chapter {
    justify-content: flex-end;
    min-height: 78vh;
    min-height: 78svh;
    padding-block: var(--s-4);
  }

  .chapter-hero {
    justify-content: flex-start;
  }

  .chapter-panel {
    max-width: none;
    padding: var(--s-5);
  }

  .hero-facts {
    gap: var(--s-1) var(--s-4);
    letter-spacing: .04em;
  }

  .readout,
  .story-rail {
    display: none;
  }
}

/* Homepage blocks --------------------------------------------------------- */
.feature-card,
.plan-teaser,
.audience-card {
  display: block;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.feature-card:hover,
.plan-teaser:hover,
.audience-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.feature-card svg {
  fill: var(--brand);
  fill-rule: evenodd;
  margin-bottom: var(--s-3);
}

.feature-card:nth-child(3n+2) svg {
  fill: var(--accent);
}

.feature-card p,
.plan-teaser p,
.audience-card p {
  margin-top: var(--s-2);
  color: var(--ink-2);
}

.plan-teaser-price strong {
  font-size: var(--fs-2xl);
  letter-spacing: -.03em;
  color: var(--ink);
}

.audience-card {
  padding: var(--s-6);
  background: var(--tint);
  border-color: transparent;
}

.audience-card .link-arrow {
  margin-top: var(--s-4);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-8);
  align-items: center;
}

.calculator {
  padding: var(--s-6);
  background: var(--tint);
  border-radius: var(--r-md);
}

.calculator label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  font-weight: 600;
}

.calculator label output {
  font-size: var(--fs-xl);
  font-weight: 700;
}

.calculator input[type="range"] {
  width: 100%;
  height: 32px;
  margin-top: var(--s-2);
  accent-color: var(--accent);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.calculator-result {
  margin: var(--s-4) 0 var(--s-3);
  font-weight: 600;
}

.calculator-result output {
  display: block;
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

@media (max-width: 899px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* Inner pages ------------------------------------------------------------- */
.page-hero {
  padding-block: var(--s-7) var(--s-8);
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
  max-width: 820px;
}

.page-hero h1 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
}

.page-hero.has-demo .page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.breadcrumb a {
  color: var(--ink-2);
}

@media (max-width: 899px) {
  .page-hero.has-demo .page-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

.demo {
  padding: var(--s-5);
  background: var(--tint);
  border-radius: var(--r-md);
}

.demo-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border-radius: var(--r-sm);
}

.demo-controls button {
  min-height: 40px;
  padding: 6px;
  border: 0;
  border-radius: 4px;
  background: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
}

.demo-controls button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--on-ink);
}

.demo-source,
.demo-result {
  margin-top: var(--s-3);
  padding: var(--s-4);
  background: var(--surface);
  border-radius: var(--r-sm);
}

.demo-url {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  margin-bottom: var(--s-2);
}

.demo-link {
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.demo-link.is-missing {
  color: var(--ink-2);
  text-decoration: line-through;
}

.demo-tag {
  margin-top: var(--s-2);
  color: var(--ink-2);
}

.demo-title {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.demo-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-weight: 700;
}

.demo-result {
  border-left: 4px solid var(--brand);
}

.demo-result[data-demo-state="changed"] {
  border-color: var(--accent);
}

.demo-result[data-demo-state="changed"] .demo-icon {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.demo-result[data-demo-state="missing"] {
  border-color: var(--danger);
}

.demo-result[data-demo-state="missing"] .demo-icon {
  background: var(--danger-bg);
  color: var(--danger-ink);
}

.demo-result[data-demo-state="error"] {
  border-color: var(--ink-2);
}

.demo-result[data-demo-state="error"] .demo-icon {
  background: var(--neutral-bg);
  color: var(--neutral-ink);
}

.demo-details {
  margin-top: var(--s-3);
  font-size: var(--fs-sm);
}

.demo-details div {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.demo-details dt {
  color: var(--ink-2);
}

.demo-details dd {
  font-weight: 600;
  text-align: right;
}

.demo-explanation {
  margin-top: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.editorial {
  padding-top: 0;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: var(--s-8);
  align-items: start;
  padding-top: var(--s-7);
  border-top: 1px solid var(--line);
}

.page-outline {
  position: sticky;
  top: calc(var(--header-h) + var(--s-5));
  font-size: var(--fs-sm);
}

.outline-title {
  font-weight: 700;
  margin-bottom: var(--s-3);
}

.page-outline ol {
  counter-reset: outline;
  border-left: 2px solid var(--line);
}

.page-outline li a {
  display: block;
  padding: 6px var(--s-3);
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--ink-2);
  text-decoration: none;
}

.page-outline li a:hover {
  color: var(--ink);
  border-left-color: var(--accent);
}

.outline-cta {
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: var(--tint);
  border-radius: var(--r-md);
}

.outline-cta .link-arrow {
  margin-top: var(--s-2);
}

.editorial-copy {
  max-width: 68ch;
}

.editorial-copy>section+section {
  margin-top: var(--s-7);
}

.editorial-copy p,
.editorial-copy .check-list {
  margin-top: var(--s-4);
}

.editorial-copy p {
  font-size: var(--fs-lg);
  line-height: 1.7;
}

@media (max-width: 899px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }

  .page-outline {
    position: static;
  }
}

.guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.guide-card h2 {
  font-size: var(--fs-xl);
}

.guide-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.guide-card h2 a:hover {
  text-decoration: underline;
}

.guide-card p {
  color: var(--ink-2);
  flex: 1;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: var(--s-8);
  align-items: start;
}

.faq-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
}

.faq-intro p {
  color: var(--ink-2);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}

.faq-list details p {
  padding: 0 var(--s-7) var(--s-5) 0;
  color: var(--ink-2);
}

@media (max-width: 899px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .faq-list details p {
    padding-right: 0;
  }
}

.related {
  padding-block: var(--s-8);
}

.related h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-5);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--s-3);
}

.related-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: var(--tint);
  border-radius: var(--r-md);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.related-grid a::after {
  content: "→";
  transition: transform var(--t-fast);
}

.related-grid a:hover::after {
  transform: translateX(4px);
}

.closing {
  margin-block: var(--s-7) var(--s-9);
}

.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-6) var(--s-7);
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-md);
}

[data-bs-theme="dark"] .closing-inner {
  background: var(--tint);
}

.closing-orbit {
  width: 120px;
  height: 120px;
  overflow: visible;
}

.closing-orbit ellipse {
  fill: none;
  stroke: var(--brand);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 86 14;
}

.closing-orbit .is-accent {
  stroke: var(--accent);
  stroke-dasharray: 80 20;
  stroke-dashoffset: -30;
}

.closing-orbit circle,
.closing-orbit .is-hull {
  fill: #fff;
}

.closing-orbit .is-panel {
  fill: var(--brand);
}

.closing-copy p {
  margin-top: var(--s-2);
  color: #C9E3EE;
}

.closing-action {
  text-align: center;
}

.closing-action .small {
  margin-top: var(--s-2);
  color: #C9E3EE;
}

@media (max-width: 899px) {
  .closing-inner {
    grid-template-columns: 1fr;
    padding: var(--s-6) var(--s-5);
  }

  .closing-orbit {
    display: none;
  }

  .closing-action {
    text-align: left;
  }
}

/* Pricing ----------------------------------------------------------------- */
.pricing {
  padding-top: 0;
}

.pricing-grid {
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.plan-featured {
  border: 2px solid var(--ink);
}

.plan-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--warn-bg);
}

.plan-ribbon {
  position: absolute;
  top: -14px;
  left: var(--s-5);
  padding: 2px 12px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.plan-card h2 {
  font-size: var(--fs-xl);
}

.plan-price strong {
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  letter-spacing: -.04em;
  line-height: 1;
}

.plan-price span {
  color: var(--ink-2);
  font-size: var(--fs-sm);
}

.plan-capacity {
  font-weight: 600;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}

.plan-card .check-list {
  flex: 1;
  margin-bottom: var(--s-3);
}

.plan-feedback {
  min-height: 1.5em;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3) var(--s-6);
  margin-top: var(--s-7);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.checkout-steps b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--tint-strong);
}

.pricing-footnote {
  max-width: 70ch;
  margin: var(--s-5) auto 0;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

/* Public forms ------------------------------------------------------------ */
.form-section {
  padding-top: 0;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--s-8);
  align-items: start;
}

.form-context p {
  color: var(--ink-2);
}

.public-form {
  padding: var(--s-6);
}

.public-form label {
  display: block;
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.public-form label:first-of-type {
  margin-top: 0;
}

.public-form .form-text {
  margin: 2px 0 0;
}

.public-form .form-control {
  margin-top: 6px;
}

.public-form button[type="submit"] {
  margin-block: var(--s-5) var(--s-4);
}

.honey-field {
  position: absolute;
  left: -9999px;
}

.form-result:not(:empty) {
  margin-top: var(--s-4);
  padding: 12px 16px;
  border-left: 4px solid var(--brand);
  border-radius: var(--r-sm);
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.form-result.is-error:not(:empty) {
  border-color: var(--accent);
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.form-result dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px var(--s-3);
  margin: var(--s-2) 0;
}

.form-result dd {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.form-result a {
  display: inline-block;
  margin-top: var(--s-2);
  color: inherit;
  font-weight: 700;
}

@media (max-width: 899px) {
  .form-layout {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* Legal ------------------------------------------------------------------- */
.legal-copy {
  max-width: 72ch;
}

.legal-copy h2 {
  font-size: var(--fs-xl);
  margin-top: var(--s-7);
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy h3 {
  margin-top: var(--s-5);
}

.legal-copy p,
.legal-copy ul,
.legal-copy ol {
  margin-top: var(--s-4);
}

.legal-copy ul {
  list-style: disc;
  padding-left: 1.25em;
}

.legal-copy ol {
  list-style: decimal;
  padding-left: 1.25em;
}

.legal-copy li+li {
  margin-top: var(--s-2);
}

/* Footer and dialog ------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--s-8) var(--s-5);
  font-size: var(--fs-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-6);
}

.footer-brand p {
  max-width: 28em;
  margin-top: var(--s-3);
  color: var(--ink-2);
}

.footer-title {
  font-weight: 700;
  margin-bottom: var(--s-2);
}

.site-footer nav a {
  display: block;
  padding: 5px 0;
  color: var(--ink-2);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2);
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

@media (max-width: 899px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

.account-dialog {
  width: min(100% - 32px, 480px);
  padding: var(--s-6);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.account-dialog::backdrop {
  background: rgba(6, 54, 77, .55);
}

.account-dialog h2 {
  font-size: var(--fs-xl);
  padding-right: var(--s-6);
}

.account-dialog p {
  margin-block: var(--s-3) var(--s-5);
  color: var(--ink-2);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  font-size: 24px;
  line-height: 1;
}

.dialog-close:hover {
  background: var(--tint);
}

/* Space decor: the backlit planet of the homepage, reused on every page ----- */
.space {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  --u: 2.4px;
  --px: 88%;
  --py: 120%;
  --pl-lit: #0E6FA3;
  --pl-mid: #063F5E;
  --pl-dark: #03202F;
  --rim: rgba(205, 240, 255, .95);
  --glow-1: rgba(0, 178, 255, .85);
  --glow-2: rgba(0, 178, 255, .42);
  --glow-3: rgba(0, 160, 240, .18);
  --back-a: .3;
}

[data-bs-theme="dark"] .space {
  --pl-lit: #0A3F5C;
  --pl-mid: #031823;
  --pl-dark: #000305;
  --rim: rgba(150, 222, 255, .95);
  --glow-1: rgba(0, 178, 255, .9);
  --glow-2: rgba(0, 170, 250, .5);
  --glow-3: rgba(0, 140, 220, .26);
  --back-a: .55;
}

.space .cam-back,
.space .planet-halo,
.space .planet {
  left: var(--px);
  top: var(--py);
}

.page-hero,
.trial-box,
.closing-inner,
.auth-aside {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero .space,
.trial-box .space,
.closing-inner .space,
.auth-aside .space {
  z-index: -1;
}

.page-hero .space {
  --u: clamp(1.6px, .19vw, 2.8px);
  --px: 92%;
  --py: 128%;
}

.page-hero.has-demo .space {
  --px: 100%;
  --py: 135%;
}

.trial-box .space {
  --u: 2.2px;
  --px: 90%;
  --py: 118%;
}

.closing-inner .space {
  --u: 1.5px;
  --px: 90%;
  --py: 150%;
  --back-a: .5;
}

.auth-aside .space {
  --u: clamp(2px, .24vw, 3.4px);
  --px: 50%;
  --py: 100%;
}

@media (min-width: 900px) {
  .page-hero:not(.has-demo) .page-hero-copy {
    max-width: min(820px, 64%);
  }
}

@media (max-width: 899px) {

  .page-hero .space .planet,
  .page-hero .space .planet-halo {
    display: none;
  }

  .page-hero .space {
    --px: 100%;
    --py: 110%;
  }
}

/* Free trial module ------------------------------------------------------- */
.trial-band {
  padding-block: var(--s-7);
}

.trial-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  gap: var(--s-7);
  align-items: center;
  padding: var(--s-7);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.trial-copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.trial-copy p {
  font-size: var(--fs-lg);
  color: var(--ink-2);
}

.trial-form {
  padding: var(--s-5);
}

.trial-form .field:last-of-type {
  margin-bottom: var(--s-5);
}

.trial-inline {
  display: grid;
  gap: var(--s-5);
  margin-block: var(--s-7);
  padding: var(--s-6);
  background: var(--tint);
  border-radius: 16px;
}

.trial-inline .trial-form {
  background: var(--surface);
  border-color: var(--line);
}

.editorial-copy .trial-inline h2 {
  font-size: var(--fs-xl);
}

.editorial-copy .trial-inline p {
  margin-top: 0;
  font-size: var(--fs-md);
  line-height: 1.6;
}

.editorial-copy .trial-inline .check-list {
  margin-top: 0;
}

.trial-next {
  margin-top: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: var(--tint);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
}

.trial-next a {
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 899px) {
  .trial-box {
    grid-template-columns: 1fr;
    gap: var(--s-5);
    padding: var(--s-5);
  }

  .trial-box .space {
    --px: 100%;
    --py: 104%;
    --u: 1.4px;
  }

  .trial-inline {
    padding: var(--s-5);
  }
}

/* Cocoon links ------------------------------------------------------------ */
.cocoon {
  padding-block: var(--s-8);
}

.cocoon h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-5);
}

.cocoon h2 a {
  color: var(--brand-ink);
}

.cocoon-card {
  display: block;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.cocoon-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.cocoon-card p {
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.guides-hub {
  padding-top: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.site-footer .footer-legal a {
  display: inline;
  padding: 0;
}

/* Auth pages -------------------------------------------------------------- */
.auth-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-5);
  width: min(100% - 40px, 420px);
  margin-inline: auto;
  padding-block: var(--s-6);
}

.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-panel h1 {
  font-size: var(--fs-2xl);
}

.auth-panel form .btn {
  margin-top: var(--s-2);
}

.auth-panel #message:not(:empty) {
  margin-top: var(--s-4);
  white-space: pre-wrap;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  font-size: var(--fs-sm);
}

.auth-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-5);
  padding: var(--s-7);
  background: var(--tint);
}

.auth-aside {
  justify-content: flex-start;
  padding-top: 16vh;
  background: var(--bg);
  border-left: 1px solid var(--line);
}

.auth-aside p {
  max-width: 16em;
  margin-inline: auto;
  text-align: center;
  font-size: var(--fs-2xl);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

@media (max-width: 899px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    display: none;
  }
}