/* Direct port from Finiverse-Eight-Orbits-Prototype.zip.
 * Only selectors/keyframe names are scoped to avoid changing the existing product.
 * Geometry, colors, assets, breakpoints, and motion values match the supplied source.
 */
.fv-prototype {
  --ink: #f9f7ff;
  --muted: rgba(239, 234, 255, .68);
  --line: rgba(224, 213, 255, .22);
  --glass: rgba(12, 8, 31, .62);
  --violet: #ae93ff;
  --gold: #f7d694;
}

:where(.fv-prototype) * { box-sizing: border-box; }
.fv-prototype { color-scheme: dark; }
.fv-prototype {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: #05020d;
  font-family: "DM Sans", system-ui, sans-serif;
}

:where(.fv-prototype) button, :where(.fv-prototype) a { font: inherit; }
:where(.fv-prototype) button { color: inherit; }

.fv-page {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(4,2,14,.94) 0%, rgba(4,2,14,.65) 39%, rgba(4,2,14,.22) 70%, rgba(4,2,14,.58) 100%),
    linear-gradient(180deg, rgba(4,2,14,.28), rgba(4,2,14,.82)),
    url("assets/galaxy.png");
  background-size: cover;
  background-position: center 52%;
}

.fv-page::before {
  content: none;
}

.fv-cursor-light {
  position: fixed;
  z-index: 20;
  top: var(--cursor-y, 50vh);
  left: var(--cursor-x, 50vw);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, .92) 0%,
    rgba(235, 219, 255, .72) 6%,
    rgba(187, 145, 255, .52) 24%,
    rgba(114, 65, 225, .27) 48%,
    transparent 74%
  );
  filter: blur(3px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .16s ease;
  will-change: top, left;
  pointer-events: none;
}

.fv-cursor-light.is-visible { opacity: 1; }

@media (hover: none), (pointer: coarse) {
  .fv-cursor-light { display: none; }
}

.fv-nav {
  position: relative;
  z-index: 2;
  height: 76px;
  padding: 0 clamp(22px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.11);
  background: linear-gradient(180deg, rgba(4,2,14,.56), transparent);
  backdrop-filter: blur(4px);
}

.fv-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.fv-brand-mark {
  width: 28px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 15px rgba(174,147,255,.42), 0 0 18px rgba(174,147,255,.28);
}

.fv-brand-mark::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 10px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  top: 8px;
  left: -6px;
  transform: rotate(-19deg);
}

.fv-nav-links { display: flex; align-items: center; gap: 30px; }
.fv-nav-links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .91rem; }
.fv-nav-links a:hover { color: #fff; }
.fv-nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.fv-language-toggle {
  flex-shrink: 0;
  min-width: 40px;
  min-height: 44px;
  padding: 10px 8px;
  font-size: .78rem;
  cursor: pointer;
}

/* Additive persona and feature layer. On wide screens it occupies the unused
 * space above the existing hero and orbit system without participating in
 * their layout. */
.fv-interface-layer {
  position: absolute;
  z-index: 7;
  top: 79px;
  left: clamp(22px, 4vw, 72px);
  right: clamp(22px, 4vw, 72px);
  display: grid;
  grid-template-columns: 342px minmax(620px, 760px);
  align-items: start;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 68px);
  pointer-events: none;
}

.fv-persona-id,
.fv-feature-card {
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--card-accent, #9c78ff) 15%, transparent), transparent 45%),
    linear-gradient(135deg, rgba(21, 12, 48, .88), rgba(6, 7, 24, .78));
  border: 1px solid color-mix(in srgb, var(--card-accent, #9c78ff) 72%, rgba(255,255,255,.22));
  box-shadow:
    inset 0 0 24px color-mix(in srgb, var(--card-accent, #9c78ff) 8%, transparent),
    0 8px 30px rgba(0, 0, 0, .24),
    0 0 16px color-mix(in srgb, var(--card-accent, #9c78ff) 12%, transparent);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  pointer-events: auto;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.fv-persona-id::before,
.fv-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.08), transparent 34%, rgba(255,255,255,.025));
  pointer-events: none;
}

.fv-persona-id:hover,
.fv-persona-id:focus-visible,
.fv-feature-card:hover,
.fv-feature-card:focus-visible {
  border-color: color-mix(in srgb, var(--card-accent, #9c78ff) 92%, white 8%);
  box-shadow: inset 0 0 26px color-mix(in srgb, var(--card-accent, #9c78ff) 12%, transparent), 0 10px 34px rgba(0,0,0,.3), 0 0 23px color-mix(in srgb, var(--card-accent, #9c78ff) 23%, transparent);
  outline: none;
}

.fv-persona-id {
  --card-accent: #46e7dc;
  width: 342px;
  height: 134px;
  padding: 7px 34px 7px 5px;
  border: 1px solid transparent;
  border-radius: 15px;
  background:
    radial-gradient(circle at 16% 36%, rgba(112,69,207,.2), transparent 42%) padding-box,
    linear-gradient(135deg, rgba(13,7,34,.94), rgba(4,5,19,.9)) padding-box,
    linear-gradient(118deg, #4ae7d8 0%, #645cff 48%, #c34ae4 100%) border-box;
  box-shadow: inset 0 0 25px rgba(112,78,218,.12), 11px 14px 28px rgba(0,0,0,.44), 0 0 18px rgba(38,220,208,.1);
  gap: 5px;
}

.fv-persona-portrait {
  flex: 0 0 116px;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  color: #cdb7ff;
  filter: drop-shadow(0 0 7px rgba(150, 105, 255, .7));
}

.fv-persona-portrait svg { width: 116px; height: 112px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.fv-persona-portrait .fv-astronaut-orbit { stroke: #8c64ff; opacity: .9; }
.fv-persona-portrait .fv-astronaut-body,
.fv-persona-portrait .fv-astronaut-pack,
.fv-persona-portrait .fv-astronaut-chest,
.fv-persona-portrait .fv-astronaut-base,
.fv-persona-portrait .fv-astronaut-glove,
.fv-persona-portrait .fv-astronaut-ear { fill: rgba(128, 91, 207, .28); stroke: #d6c8ff; }
.fv-persona-portrait .fv-astronaut-arm,
.fv-persona-portrait .fv-astronaut-headset { stroke: #d6c8ff; }
.fv-persona-portrait .fv-astronaut-panel { fill: rgba(8,4,27,.72); stroke: #c8b6ff; }
.fv-persona-portrait .fv-astronaut-helmet { fill: rgba(63, 35, 119, .34); stroke: #d9caff; stroke-width: 2; }
.fv-persona-portrait .fv-astronaut-visor { fill: rgba(3, 2, 18, .96); stroke: #a57dff; stroke-width: 2; }
.fv-persona-portrait .fv-astronaut-crescent { fill: rgba(133,83,239,.35); stroke: #d0baff; stroke-width: 1.8; }
.fv-persona-portrait .fv-astronaut-rim { stroke: #a77fff; stroke-width: 2; }
.fv-persona-portrait .fv-persona-stars { fill: rgba(244,240,255,.18); stroke: #d8c8ff; filter: drop-shadow(0 0 3px #9b6fff); }
.fv-persona-copy,
.fv-feature-copy { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.fv-card-title { color: rgba(255,255,255,.96); font-size: .87rem; font-weight: 600; line-height: 1.18; }
.fv-card-description { margin-top: 4px; color: rgba(240,236,255,.72); font-size: .68rem; line-height: 1.35; }
.fv-persona-id .fv-card-title { font-size: 1.02rem; }
.fv-persona-state { margin-top: 4px; color: #84e8dc; font-size: .78rem; line-height: 1.2; text-shadow: 0 0 8px rgba(57,231,211,.34); }
.fv-progress-track { width: 183px; margin-top: 10px; display: grid; grid-template-columns: repeat(6, minmax(20px, 1fr)); gap: 5px; }
.fv-progress-track > span {
  height: 15px;
  border: 1px solid rgba(42, 179, 166, .4);
  border-radius: 5px;
  background: rgba(1, 20, 27, .78);
  box-shadow: inset 0 0 8px rgba(0,0,0,.55);
}
.fv-progress-track > span.is-complete {
  border-color: #1ff0d0;
  background: linear-gradient(135deg, #16f3ca, #00c9b0);
  box-shadow: 0 0 12px rgba(16,235,204,.7), inset 0 0 5px rgba(255,255,255,.28);
}
.fv-space-id { margin-top: 9px; color: rgba(105,225,216,.82); font-size: .62rem; font-weight: 600; }
/* Match the supplied Persona card while keeping the original hero geometry. */
.fv-persona-id {
  padding: 8px 32px 8px 9px;
  gap: 9px;
  background:
    radial-gradient(ellipse at 28% 60%, #140b25 0%, #080511 45%, #070713 100%) padding-box,
    linear-gradient(120deg, #6babc0, #655597 50%, #638cc7) border-box;
  box-shadow: inset 0 0 18px rgba(83,64,139,.15), 0 0 3px rgba(97,151,205,.3);
}
.fv-persona-id::before { background: none; }
.fv-persona-id .fv-persona-portrait {
  flex: 0 0 114px;
  width: 114px;
  height: 114px;
  filter: none;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 75%, transparent 100%);
}
.fv-persona-portrait .fv-persona-reference { width: 114px; height: 114px; }
.fv-persona-portrait .fv-persona-original { display: none; }
.fv-persona-id .fv-card-title {
  max-width: 168px;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
}
.fv-persona-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 29px;
  margin-top: 8px;
  padding: 0 9px;
  border: 1px solid rgba(72,187,159,.35);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(12,66,57,.44), rgba(15,29,32,.65));
  box-shadow: inset 0 0 8px rgba(39,155,131,.1), 0 0 9px rgba(32,152,131,.1);
  color: #67d5be;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.fv-persona-check {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #59e2c4;
  color: #164f45;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(70,220,187,.25);
}
.fv-persona-id:not(.is-complete) .fv-persona-check { display: none; }
.fv-persona-id.is-complete .fv-persona-badge {
  height: 23px;
  margin-top: 5px;
  padding-inline: 7px;
  gap: 5px;
  font-size: 10.5px;
}
.fv-persona-id.is-complete .fv-persona-check { width: 13px; height: 13px; font-size: 9px; }
.fv-progress-summary {
  width: 164px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  color: rgba(183,201,197,.8);
  font-size: 9.5px;
  line-height: 1;
}
.fv-persona-id .fv-card-arrow { right: 15px; font-size: 28px; font-weight: 300; }
.fv-persona-id .fv-progress-track {
  width: 164px;
  margin-top: 5px;
  gap: 4px;
}
.fv-persona-id .fv-progress-track > span {
  height: 5px;
  border-radius: 999px;
}
@media (max-width: 360px) {
  .fv-persona-id { padding-left: 4px; padding-right: 24px; gap: 4px; }
  .fv-persona-id .fv-persona-portrait { flex-basis: 96px; width: 96px; }
  .fv-persona-portrait .fv-persona-reference { width: 96px; height: 106px; }
  .fv-persona-id .fv-card-title { font-size: 15px; }
  .fv-persona-badge { padding-inline: 7px; gap: 5px; font-size: 11px; }
  .fv-progress-summary,
  .fv-persona-id .fv-progress-track { width: 136px; }
  .fv-persona-id .fv-card-arrow { right: 9px; }
}
.fv-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 3px 9px;
  color: #bdd7ff;
  border: 1px solid rgba(74, 137, 255, .22);
  border-radius: 999px;
  background: rgba(19, 65, 139, .55);
  box-shadow: inset 0 0 10px rgba(50, 119, 255, .12);
  font-size: .61rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.fv-status-complete { color: #7ce7c6; border-color: rgba(87,221,183,.34); background: rgba(14, 91, 75, .52); }
.fv-status-complete span { width: 15px; height: 15px; display: grid; place-items: center; color: #103c34; border-radius: 50%; background: #6de4c1; font-size: .61rem; font-weight: 800; }
.fv-card-arrow { position: absolute; right: 12px; top: 50%; color: rgba(255,255,255,.82); font-size: 1.55rem; font-weight: 300; transform: translateY(-52%); transition: transform .2s ease, color .2s ease; }
.fv-persona-id:hover .fv-card-arrow,
.fv-persona-id:focus-visible .fv-card-arrow,
.fv-feature-card:hover .fv-card-arrow,
.fv-feature-card:focus-visible .fv-card-arrow { color: white; transform: translate(2px, -52%); }

.fv-feature-board { width: 100%; display: grid; gap: 8px; }
.fv-feature-row { display: grid; gap: 9px; }
.fv-feature-row-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fv-feature-row-bottom { width: 67%; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fv-feature-card {
  --card-accent: #956fff;
  background:
    linear-gradient(rgba(2, 5, 16, .65), rgba(2, 5, 16, .65)) padding-box,
    radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--card-accent, #9c78ff) 15%, transparent), transparent 45%),
    linear-gradient(135deg, rgba(21, 12, 48, .88), rgba(6, 7, 24, .78));
  min-height: 61px;
  padding: 9px 28px 8px 9px;
  border-radius: 13px;
  gap: 9px;
}
.fv-feature-icon { flex: 0 0 37px; width: 37px; height: 37px; display: grid; place-items: center; color: var(--card-accent); filter: drop-shadow(0 0 6px currentColor); }
.fv-feature-icon svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fv-feature-heart { --card-accent: #e66df3; }
.fv-feature-money { --card-accent: #f5bd19; }
.fv-feature-mobility { --card-accent: #168cff; }
.fv-feature-intersection { --card-accent: #7d93ff; }
.fv-feature-gps { --card-accent: #4ab5ff; }
.fv-feature-card.is-complete .fv-status { color: #7ce7c6; border-color: rgba(87,221,183,.34); background: rgba(14,91,75,.52); }
.fv-feature-card.is-in-progress .fv-status { color: #ffe1a0; border-color: rgba(247,190,65,.34); background: rgba(103,67,12,.58); }
.fv-feature-card.is-locked { cursor: not-allowed; filter: saturate(.42); opacity: .62; }
.fv-feature-card.is-locked .fv-status { color: rgba(231,232,244,.65); border-color: rgba(255,255,255,.13); background: rgba(41,42,57,.64); }
.fv-feature-card.is-locked .fv-card-arrow { color: rgba(255,255,255,.28); }

.fv-main {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(310px, .78fr) minmax(600px, 1.22fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  padding: 32px clamp(22px, 4vw, 72px) 48px;
}

/* Keep the absolutely positioned ID card clear of the hero copy on shorter
 * desktop viewports. The page can scroll when the full orbit graphic no
 * longer fits beneath the reserved card area. */
@media (min-width: 1180px) and (max-height: 840px) {
  .fv-page { overflow-y: auto; }
  .fv-main {
    align-items: start;
    padding-top: 166px;
  }
}

.fv-copy { position: relative; z-index: 5; max-width: 590px; }
@media (min-width: 1180px) {
  .fv-copy { transform: translateY(24px); }
}
.fv-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.fv-eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }

:where(.fv-prototype) h1 {
  margin: 0;
  max-width: 650px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.6rem, 6.4vw, 7rem);
  line-height: .93;
  letter-spacing: -.045em;
  font-weight: 500;
  text-wrap: balance;
}
:where(.fv-prototype) h1 em { color: #d7caff; font-style: normal; }

.fv-subhead {
  max-width: 500px;
  margin: 25px 0 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.65;
}

.fv-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fv-primary, .fv-secondary {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.fv-primary { border: 0; background: #f5efff; color: #171025; font-weight: 700; }
.fv-primary:hover { transform: translateY(-2px); background: #fff; }
.fv-primary > span[aria-hidden] { font-size: 1.15rem; }
.fv-secondary { border: 1px solid rgba(255,255,255,.28); background: rgba(8,4,21,.35); }
.fv-secondary:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }

.fv-microcopy { margin-top: 17px; color: rgba(255,255,255,.48); font-size: .79rem; }
.fv-tour-link {
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(255,255,255,.72);
  background: transparent;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.fv-tour-link:hover,
.fv-tour-link:focus-visible { color: #fff; outline: none; }

.fv-universe {
  position: relative;
  width: min(69vw, 820px);
  aspect-ratio: 1.14;
  justify-self: end;
  perspective: 900px;
  transform: translateX(2%);
}

.fv-orbit-field {
  position: absolute;
  inset: 2% 0;
  transform: rotateX(58deg) rotateZ(-8deg);
  transform-style: preserve-3d;
}

.fv-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 30px rgba(148,110,255,.04);
}
.fv-o1 { width: 24%; height: 21%; }
.fv-o2 { width: 38%; height: 33%; }
.fv-o3 { width: 52%; height: 45%; }
.fv-o4 { width: 66%; height: 57%; }
.fv-o5 { width: 80%; height: 69%; }
.fv-o6 { width: 94%; height: 81%; }

.fv-sun {
  position: absolute;
  left: 50%; top: 50%;
  width: 74px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fffdf1 0 7%, #ffe0a0 23%, #c17a63 50%, #5d2b73 72%, transparent 73%);
  box-shadow: 0 0 30px #ffd28d, 0 0 90px rgba(194,108,255,.7), 0 0 150px rgba(139,87,255,.42);
  z-index: 3;
}

.fv-sun-label {
  position: absolute;
  left: 50%; top: calc(50% + 56px);
  transform: translateX(-50%);
  color: rgba(255,255,255,.76);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fv-planet {
  --size: 56px;
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--size);
  aspect-ratio: 1;
  z-index: 4;
  padding: 0;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset -13px -10px 20px rgba(0,0,0,.55), inset 8px 7px 18px rgba(255,255,255,.17), 0 0 26px var(--glow);
  cursor: pointer;
  animation: fv-float 5.2s ease-in-out infinite alternate;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), filter .28s ease, box-shadow .28s ease;
}
.fv-planet:nth-of-type(even) { animation-delay: -2.3s; animation-duration: 6.4s; }
.fv-planet::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color .2s ease;
}
.fv-planet::after {
  content: attr(data-short);
  position: absolute;
  left: 50%; top: calc(100% + 12px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 150px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(4,2,14,.72);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.82);
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .02em;
  pointer-events: none;
  transition: color .2s, background .2s;
}
.fv-planet:hover, .fv-planet:focus-visible, .fv-planet.fv-active {
  transform: scale(1.2);
  filter: brightness(1.18) saturate(1.1);
  box-shadow: inset -13px -10px 20px rgba(0,0,0,.48), inset 8px 7px 18px rgba(255,255,255,.21), 0 0 40px var(--glow);
  outline: none;
}
.fv-planet:hover::before, .fv-planet:focus-visible::before, .fv-planet.fv-active::before { border-color: rgba(255,255,255,.46); }
.fv-planet:hover::after, .fv-planet:focus-visible::after, .fv-planet.fv-active::after { color: white; background: rgba(17,10,40,.92); }

@keyframes fv-float { from { margin-top: -4px; } to { margin-top: 5px; } }

.fv-p1 { --x: 44%; --y: 29%; --size: 49px; --surface: radial-gradient(circle at 31% 28%, #ffe6bd, #d98d62 42%, #5b224c 78%); --glow: rgba(255,163,116,.46); }
.fv-p2 { --x: 66%; --y: 34%; --size: 62px; --surface: radial-gradient(circle at 34% 29%, #dff5ff, #5e9ed0 42%, #27366f 76%); --glow: rgba(100,178,255,.48); }
.fv-p3 { --x: 25%; --y: 38%; --size: 53px; --surface: repeating-linear-gradient(15deg, #df8b51 0 6px, #9a4d63 7px 12px, #512458 13px 18px); --glow: rgba(255,145,92,.46); }
.fv-p4 { --x: 73%; --y: 55%; --size: 68px; --surface: radial-gradient(circle at 32% 30%, #fff2a7, #c6a247 43%, #684d3c 78%); --glow: rgba(255,215,107,.46); }
.fv-p5 { --x: 35%; --y: 66%; --size: 58px; --surface: radial-gradient(circle at 34% 25%, #d8f8ff, #61b0d3 43%, #294476 79%); --glow: rgba(106,207,255,.46); }
.fv-p6 { --x: 84%; --y: 71%; --size: 52px; --surface: radial-gradient(circle at 33% 27%, #e4e7ff, #7d84db 43%, #332568 78%); --glow: rgba(144,139,255,.48); }
.fv-p7 { --x: 14%; --y: 72%; --size: 63px; --surface: radial-gradient(circle at 30% 28%, #f0d4ff, #9d6aca 43%, #43204f 78%); --glow: rgba(198,129,255,.48); }
.fv-p8 { --x: 58%; --y: 85%; --size: 47px; --surface: radial-gradient(circle at 33% 27%, #fff3b9, #d2a84e 43%, #6a3e37 78%); --glow: rgba(255,207,92,.48); }

.fv-hint {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
}
.fv-hint-dot { width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; box-shadow: 0 0 10px var(--violet); }

.fv-detail {
  position: fixed;
  z-index: 20;
  right: clamp(18px, 3vw, 44px);
  bottom: clamp(18px, 3vw, 40px);
  width: min(430px, calc(100vw - 36px));
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  background: rgba(9,5,26,.84);
  box-shadow: 0 25px 80px rgba(0,0,0,.48);
  backdrop-filter: blur(20px);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.fv-detail.fv-open { opacity: 1; transform: none; pointer-events: auto; }
.fv-detail-kicker { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.fv-detail h2 { margin: 9px 32px 8px 0; font-family: "Fraunces", Georgia, serif; font-size: 1.75rem; line-height: 1.08; }
.fv-detail p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.fv-close {
  position: absolute;
  right: 15px; top: 15px;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

@media (max-width: 1179px) {
  .fv-interface-layer {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    grid-template-columns: 342px minmax(0, 1fr);
    padding: 20px clamp(22px, 4vw, 72px) 0;
  }
  .fv-feature-row-bottom { width: 76%; }
  .fv-main { grid-template-columns: minmax(0, 1fr); padding-top: 48px; }
  .fv-copy { min-width: 0; max-width: 760px; }
  :where(.fv-prototype) h1 { max-width: 760px; }
  .fv-universe { width: min(94vw, 760px); justify-self: center; margin-top: -10px; }
  .fv-page { overflow-y: auto; }
}

@media (max-width: 680px) {
  .fv-nav { height: 66px; }
  .fv-nav-links { gap: 8px; }
  .fv-nav-links a:not(.fv-nav-cta) { display: none; }
  .fv-interface-layer { grid-template-columns: 1fr; gap: 11px; padding-top: 16px; }
  .fv-persona-id { width: 100%; height: 136px; }
  .fv-persona-portrait { flex-basis: 116px; width: 116px; height: 116px; }
  .fv-persona-portrait svg { width: 116px; height: 112px; }
  .fv-feature-board { gap: 8px; }
  .fv-feature-row,
  .fv-feature-row-bottom { width: 100%; grid-template-columns: 1fr; margin: 0; }
  .fv-feature-card { min-height: 64px; padding-inline: 12px 34px; }
  .fv-feature-icon { flex-basis: 42px; width: 42px; }
  .fv-feature-icon svg { width: 38px; height: 38px; }
  .fv-card-title { font-size: .92rem; }
  .fv-card-description { font-size: .72rem; }
  .fv-main { min-height: calc(100svh - 66px); padding-top: 38px; gap: 14px; }
  :where(.fv-prototype) h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .fv-subhead { margin: 20px 0 24px; }
  .fv-actions { align-items: stretch; }
  .fv-primary, .fv-secondary { justify-content: center; }
  .fv-universe { width: 118vw; left: 8vw; margin-top: 0; }
  .fv-orbit-field { inset: 4% 0; }
  .fv-planet { transform: scale(.85); }
  .fv-planet:hover, .fv-planet:focus-visible, .fv-planet.fv-active { transform: scale(1); }
  .fv-planet::after { font-size: .61rem; max-width: 110px; }
  .fv-hint { display: none; }
}

@media (max-width: 480px) {
  .fv-actions { flex-direction: column; }
  .fv-primary, .fv-secondary { width: 100%; }
}

@media (max-width: 360px) {
  .fv-nav-links { gap: 0; }
  .fv-language-toggle {
    position: relative;
    min-width: 22px;
    padding-inline: 0;
    border-color: transparent;
    background: transparent;
  }
  /* Extend the compact switch's touch target into the navigation's end padding. */
  .fv-language-toggle::before { content: ""; position: absolute; inset: 0 -22px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  :where(.fv-prototype) *, :where(.fv-prototype) *::before, :where(.fv-prototype) *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Responsive layout: keep content in document flow and let the document scroll. */
.fv-prototype { overflow: visible; }
.fv-page {
  display: flex;
  flex-direction: column;
  overflow: clip;
}
.fv-nav { height: auto; min-height: 76px; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.fv-nav-links { flex-wrap: wrap; gap: 12px 24px; }
.fv-nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.fv-interface-layer {
  position: relative;
  inset: auto;
  grid-template-columns: minmax(280px, 342px) minmax(0, 760px);
  gap: clamp(16px, 3vw, 48px);
  padding: 16px clamp(22px, 4vw, 72px) 0;
}
.fv-persona-id { width: 100%; height: auto; min-height: 134px; }
.fv-persona-copy { flex: 1; }
.fv-persona-description { font-size: .85rem; line-height: 1.4; margin-top: 6px; }
.fv-progress-summary,
.fv-persona-id .fv-progress-track { width: 100%; max-width: 164px; }
.fv-persona-id .fv-progress-track { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.fv-feature-row-bottom { width: 100%; }
.fv-card-description { font-size: .8rem; }
.fv-status { font-size: .75rem; }
.fv-main {
  flex: 1;
  min-height: 0;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  padding: 28px clamp(22px, 4vw, 72px) 36px;
}
.fv-copy { min-width: 0; transform: none; }
:where(.fv-prototype) h1 { font-size: clamp(3rem, 4.7vw, 6rem); line-height: 1; overflow-wrap: anywhere; }
.fv-subhead { margin: 20px 0 24px; }
.fv-universe {
  width: 100%;
  max-width: 820px;
  justify-self: center;
  margin: 0;
  left: auto;
  transform: none;
}
.fv-planet::after { width: 140px; max-width: 140px; text-align: center; white-space: normal; line-height: 1.35; }
.fv-p1 { --y: 15%; }
.fv-p2 { --x: 69%; --y: 25%; }
.fv-p3 { --x: 18%; --y: 32%; }
.fv-p4 { --x: 76%; --y: 48%; }
.fv-p6 { --x: 80%; --y: 78%; }
.fv-p7 { --x: 9%; --y: 77%; }
.fv-p8 { --x: 49%; --y: 83%; }
.fv-hint { top: 0; bottom: auto; }
.fv-detail { max-height: calc(100svh - 36px); max-height: calc(100dvh - 36px); overflow-y: auto; overscroll-behavior: contain; }
.fv-close { width: 44px; height: 44px; }
.fv-detail h2 { margin-right: 42px; overflow-wrap: anywhere; }
@media (min-width: 1180px) {
  .fv-universe { max-width: min(820px, max(460px, calc((100svh - 360px) * 1.14))); }
}
@media (min-width: 1180px) and (max-height: 840px) {
  .fv-main { padding-block: 16px 24px; }
  :where(.fv-prototype) h1 { font-size: clamp(3rem, 4.3vw, 6rem); }
  .fv-eyebrow { margin-bottom: 14px; }
  .fv-subhead { margin-block: 16px 20px; }
  .fv-subhead { font-size: 1rem; line-height: 1.55; }
}
@media (max-width: 1000px) {
  .fv-interface-layer { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fv-persona-id { max-width: 420px; }
  .fv-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fv-copy { max-width: 760px; }
  .fv-universe { max-width: 680px; }
}
@media (max-width: 680px) {
  .fv-nav { min-height: 66px; padding-inline: 16px; gap: 8px; }
  .fv-brand { font-size: 1rem; }
  .fv-nav-links { gap: 8px; }
  .fv-nav-links a:not(.fv-nav-cta) { display: inline-flex; }
  .fv-nav-cta { padding-inline: 12px; }
  .fv-language-toggle { min-width: 44px; }
  .fv-interface-layer { padding-inline: 16px; }
  .fv-persona-id { max-width: none; }
  .fv-feature-row { grid-template-columns: minmax(0, 1fr); }
  .fv-card-description { font-size: .85rem; }
  .fv-main { padding: 32px 16px; gap: 24px; }
  :where(.fv-prototype) h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  /* A single compact galaxy, with room for labels and floating motion.
   * Percentages describe planet centres; no page scaling or list layout. */
  .fv-universe {
    display: block;
    max-width: 440px;
    height: clamp(540px, 145vw, 600px);
    aspect-ratio: auto;
    padding: 0;
    margin-block: 8px 0;
    isolation: isolate;
  }
  .fv-orbit-field {
    inset: 12% 3% 22%;
    transform: rotate(-18deg);
    pointer-events: none;
    opacity: .45;
  }
  .fv-orbit { border-color: rgba(224, 213, 255, .24); box-shadow: none; }
  .fv-o1 { width: 38%; height: 30%; }
  .fv-o3 { width: 65%; height: 58%; }
  .fv-o5 { width: 96%; height: 90%; }
  .fv-o2, .fv-o4, .fv-o6 { display: none; }
  .fv-sun {
    left: 50%;
    top: 45%;
    width: 60px;
    box-shadow: 0 0 26px #ffd28d, 0 0 65px rgba(194,108,255,.5), 0 0 110px rgba(139,87,255,.28);
  }
  .fv-sun-label { left: 50%; top: calc(45% + 43px); font-size: .7rem; }
  .fv-planet {
    position: absolute;
    left: calc(var(--x) - var(--size) / 2);
    top: calc(var(--y) - var(--size) / 2);
    transform: none;
    min-width: 44px;
    min-height: 44px;
  }
  .fv-p1 { --x: 41%; --y: 8%; --size: 46px; }
  .fv-p2 { --x: 77%; --y: 21%; --size: 52px; }
  .fv-p3 { --x: 20%; --y: 29%; --size: 46px; }
  .fv-p4 { --x: 81%; --y: 43%; --size: 56px; }
  .fv-p5 { --x: 22%; --y: 56%; --size: 50px; }
  .fv-p6 { --x: 80%; --y: 67%; --size: 46px; }
  .fv-p7 { --x: 20%; --y: 81%; --size: 52px; }
  .fv-p8 { --x: 61%; --y: 87%; --size: 44px; }
  .fv-planet:hover, .fv-planet:focus-visible, .fv-planet.fv-active { transform: scale(1.08); }
  .fv-planet::after {
    top: calc(100% + 8px);
    width: 108px;
    max-width: 108px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    color: rgba(249,247,255,.88);
    font-size: .8rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 1px 6px #05020d, 0 0 12px #05020d;
    pointer-events: auto;
  }
  .fv-planet:hover::after,
  .fv-planet:focus-visible::after,
  .fv-planet.fv-active::after { background: transparent; color: #fff; }
  .fv-hint { display: none; }
}
