@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&family=Montserrat:wght@500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #101213;
  --panel: #171a1c;
  --panel-2: #202426;
  --text: #f4f4ef;
  --muted: rgba(244, 244, 239, .62);
  --soft: rgba(244, 244, 239, .38);
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .15);
  --yellow: #f3c74f;
  --blue: #7ccfff;
  --teal: #58dec6;
  --red: #ff7b5f;
  --font: "Geist", "Aptos", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Geist", sans-serif;
  --montserrat: "Montserrat", "Geist", sans-serif;
  --editorial: "Instrument Serif", Georgia, serif;
}

/* Item template must override shared fixed-nav/page rules because this file loads after shop-grid.css. */
.item-template-page .flow-nav {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 38px;
  background: #060909;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.item-template-page .item-template {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 44px 0 56px;
}

.item-template-page .item-hero-template {
  min-height: calc(100vh - 44px);
}

.item-template-page .item-gallery-stage {
  min-height: calc(100vh - 44px);
}

/* Redesign route polish */
.product-switcher-redesign {
  width: min(1180px, 100%);
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 26px;
  padding-top: 4px;
}

.product-switcher-redesign a {
  min-width: 118px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: rgba(244, 244, 239, .66);
  background: rgba(255, 255, 255, .035);
  font-size: 12px;
  font-weight: 560;
  text-align: center;
}

.product-switcher-redesign a:hover,
.product-switcher-redesign a[aria-current="page"] {
  color: #fff;
  border-color: rgba(243, 199, 79, .28);
  background: rgba(243, 199, 79, .1);
}

.ekflow-redesign-hero {
  align-items: center;
}

.ekflow-redesign-banner {
  width: min(640px, 100%);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .34);
}

.ekflow-action-row-redesign {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ekflow-action-card-redesign {
  min-width: 148px;
  display: grid;
  gap: 7px;
  align-content: start;
}

.ekflow-action-card-redesign .flow-primary,
.ekflow-action-card-redesign .flow-secondary,
.download-file-actions .flow-primary {
  border: 0;
  cursor: pointer;
}

.action-tier {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.free-tier {
  color: var(--blue);
}

.pro-tier {
  color: var(--yellow);
}

.button-note,
.product-owned-note,
.release-filename,
.virustotal-link-redesign {
  color: rgba(244, 244, 239, .55);
  font-size: 11px;
  line-height: 1.35;
}

.virustotal-link-redesign {
  color: rgba(124, 207, 255, .78);
}

.ekflow-media-grid {
  grid-template-columns: minmax(280px, .7fr) minmax(420px, 1.3fr);
  align-items: stretch;
  margin-top: 18px;
}

.gift-code-redesign {
  display: grid;
  align-content: center;
}

.ekflow-gallery-redesign {
  width: min(880px, 100%);
  margin: 28px auto 0;
}

.ekflow-gallery-stage-redesign {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(0, 0, 0, .22);
}

.ekflow-gallery-track-redesign {
  position: relative;
  aspect-ratio: 16 / 9;
}

.ekflow-gallery-item {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .22s ease;
}

.ekflow-gallery-item.is-active {
  opacity: 1;
}

.ekflow-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #050607;
}

.ekflow-gallery-button {
  width: 42px;
  height: 42px;
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 12, 13, .72);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
}

.ekflow-gallery-button.is-prev {
  left: 14px;
}

.ekflow-gallery-button.is-next {
  right: 14px;
}

.ekflow-gallery-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ekflow-gallery-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: rgba(244, 244, 239, .62);
  font-size: 11px;
  font-weight: 640;
}

.ekflow-gallery-dots-redesign {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.ekflow-gallery-dots-redesign button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  cursor: pointer;
}

.ekflow-gallery-dots-redesign button.is-active {
  background: var(--yellow);
}

.compare-redesign {
  width: min(980px, 100%);
  margin: 34px auto 0;
}

.addon-coming-grid .flow-panel {
  min-height: 220px;
  display: grid;
  align-content: center;
  text-align: center;
}

.redesign-footer {
  width: min(1180px, calc(100% - 48px));
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 56px auto 32px;
  color: rgba(244, 244, 239, .5);
  font-size: 12px;
}

.redesign-footer a:hover {
  color: #fff;
}

.credit-store {
  background:
    radial-gradient(circle at 12% 0, rgba(243, 199, 79, .16), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(124, 207, 255, .12), transparent 32%),
    rgba(255, 255, 255, .045);
}

.credit-pack-grid-clean article {
  position: relative;
  overflow: hidden;
}

.credit-pack-grid-clean article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), transparent 42%);
  opacity: .55;
}

.module-license-row,
.module-license-entry {
  border-radius: 14px;
}

.module-license-row {
  background: rgba(255, 255, 255, .04);
}

.module-license-entry {
  background: rgba(0, 0, 0, .18);
}

.module-license-top strong,
.module-license-entry-top strong {
  font-family: var(--display);
  font-weight: 620;
  letter-spacing: -.035em;
}

.module-key-line {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(0, 0, 0, .2);
  color: rgba(244, 244, 239, .74);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 12px;
}

.module-status-pill {
  border: 1px solid rgba(88, 222, 198, .24);
  color: rgba(88, 222, 198, .9);
  background: rgba(88, 222, 198, .08);
}

.admin-grid-clean {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 16px;
  margin-top: 16px;
}

.admin-card-clean.wide {
  grid-row: span 2;
}

.admin-table-wrap-clean {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
}

.admin-table-wrap-clean table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.admin-table-wrap-clean th,
.admin-table-wrap-clean td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .065);
  color: rgba(244, 244, 239, .68);
  font-size: 12px;
  text-align: left;
}

.admin-table-wrap-clean th {
  color: rgba(244, 244, 239, .42);
  font-size: 10px;
  font-weight: 690;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.limit-card-grid {
  display: grid;
  gap: 10px;
}

.download-file-actions button {
  min-height: 40px;
}

.flash-chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  font-family: var(--font);
}

.flash-chat-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(243, 199, 79, .28);
  border-radius: 999px;
  color: #07100c;
  background: linear-gradient(135deg, #f3c74f, #baff66);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.flash-chat-panel {
  width: min(390px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 92px));
  position: absolute;
  right: 0;
  bottom: 58px;
  overflow: hidden;
  display: none;
  grid-template-rows: auto 1fr auto auto;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(14, 17, 18, .82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
  backdrop-filter: blur(22px);
}

.flash-chat-widget.is-open .flash-chat-panel {
  display: grid;
}

.flash-chat-widget.is-open .flash-chat-toggle {
  display: none;
}

.flash-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.flash-chat-head span {
  color: #fff;
  font-size: 15px;
  font-weight: 650;
}

.flash-chat-head small {
  color: rgba(244, 244, 239, .52);
  font-size: 11px;
  font-weight: 420;
}

.flash-chat-head button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  color: rgba(244, 244, 239, .68);
  background: transparent;
  cursor: pointer;
}

.flash-chat-head button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.flash-chat-messages {
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.flash-chat-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.flash-chat-row.is-user {
  justify-content: flex-end;
}

.flash-chat-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: url("../assets/flashlogo-96.webp") center / cover, #111;
}

.flash-chat-message {
  max-width: 82%;
  padding: 11px 12px;
  border-radius: 14px;
  color: rgba(244, 244, 239, .82);
  background: rgba(255, 255, 255, .065);
  font-size: 13px;
  font-weight: 420;
  line-height: 1.42;
  text-align: left;
}

.flash-chat-row.is-user .flash-chat-message {
  color: #061112;
  background: #7ccfff;
}

.flash-chat-message strong {
  color: #fff;
  font-weight: 620;
}

.flash-chat-row.is-user .flash-chat-message strong {
  color: #061112;
}

.flash-chat-message a {
  color: #58dec6;
  text-decoration: none;
}

.flash-chat-message a:hover {
  text-decoration: underline;
}

.flash-chat-suggestions {
  overflow: hidden;
  padding: 0 14px 12px;
}

.flash-chat-suggestion-track {
  display: flex;
  width: max-content;
  gap: 8px;
  animation: flashChatPills 26s linear infinite;
}

.flash-chat-suggestions:hover .flash-chat-suggestion-track {
  animation-play-state: paused;
}

.flash-chat-suggestions button {
  min-height: 31px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: rgba(244, 244, 239, .76);
  background: rgba(255, 255, 255, .045);
  font-size: 12px;
  font-weight: 430;
  white-space: nowrap;
  cursor: pointer;
}

@keyframes flashChatPills {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.flash-chat-form {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.flash-chat-form textarea {
  min-height: 40px;
  max-height: 96px;
  resize: none;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  color: #fff;
  background: rgba(0, 0, 0, .2);
  font: inherit;
  font-size: 13px;
}

.flash-chat-form textarea::placeholder {
  color: rgba(244, 244, 239, .44);
}

.flash-chat-form button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #07100c;
  background: #baff66;
  cursor: pointer;
}

.flash-chat-form button svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 900px) {
  .ekflow-media-grid,
  .admin-grid-clean {
    grid-template-columns: 1fr;
  }

  .admin-card-clean.wide {
    grid-row: auto;
  }
}

/* Compact mobile navigation and corrected archive viewport */
.flow-menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --mobile-flow-header-height: 58px;
  }

  .flow-nav {
    min-height: var(--mobile-flow-header-height);
    height: var(--mobile-flow-header-height);
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  }

  .flow-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .flow-actions {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    justify-self: end;
  }

  .flow-actions a {
    min-height: 32px;
    max-width: 124px;
    padding: 0 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .flow-actions a:nth-child(n + 2) {
    display: none;
  }

  .flow-menu-toggle {
    width: 38px;
    height: 38px;
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    border: 1px solid rgba(215, 222, 205, .18);
    border-radius: 10px;
    color: #fff;
    background: rgba(15, 28, 38, .76);
    box-shadow: inset 0 1px rgba(255,255,255,.06);
  }

  .flow-menu-toggle span {
    width: 16px;
    height: 1px;
    border-radius: 99px;
    background: currentColor;
    transition: transform .22s ease, opacity .18s ease;
  }

  .flow-nav.is-menu-open .flow-menu-toggle span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .flow-nav.is-menu-open .flow-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .flow-nav.is-menu-open .flow-menu-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .flow-nav nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 10px;
    right: 10px;
    grid-column: auto;
    grid-row: auto;
    display: grid;
    gap: 2px;
    padding: 8px;
    overflow: visible;
    border: 1px solid rgba(225, 218, 190, .22);
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(169, 216, 234, .07), transparent 42%),
      rgba(7, 17, 24, .97);
    box-shadow: 0 22px 60px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.05);
    backdrop-filter: blur(22px) saturate(1.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.985);
    transform-origin: top center;
    transition: opacity .18s ease, transform .22s ease, visibility 0s linear .22s;
  }

  .flow-nav nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 9px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
  }

  .flow-nav nav a:hover,
  .flow-nav nav a:focus-visible,
  .flow-nav nav a[aria-current="page"] {
    color: #fff;
    background: rgba(169, 216, 234, .08);
  }

  .flow-nav.is-menu-open nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .home-archive-page .celestial-console {
    padding-top: 0;
  }

  .home-archive-page .archive-top-divider {
    display: none;
  }

  .home-archive-page .celestial-archive {
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-menu-toggle span,
  .flow-nav nav {
    transition: none;
  }
}

/* Central download relic and familiar landing polish */
a.archive-relic {
  cursor: pointer;
  text-decoration: none;
  outline: none;
}

.relic-symbols {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 108px;
  margin-top: -54px;
}

.relic-symbols .relic-glyph,
.relic-download {
  position: absolute;
  inset: 0;
  margin: auto;
  transition:
    opacity .78s cubic-bezier(.22, .7, .2, 1),
    filter .78s cubic-bezier(.22, .7, .2, 1),
    transform .78s cubic-bezier(.22, .7, .2, 1);
}

.relic-symbols .relic-glyph {
  width: 82px;
  height: 98px;
  margin-top: 0;
  opacity: 1;
  transform: scale(1);
}

.relic-download {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  color: #d9f4ff;
  opacity: 0;
  filter: blur(8px);
  transform: scale(.78);
}

.relic-download svg {
  width: 66px;
  height: 66px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 13px rgba(149, 218, 245, .42));
}

.relic-title {
  position: relative;
  width: 190px;
  height: 39px;
  display: block;
  margin-top: 4px;
}

.relic-title strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  transition:
    opacity .72s cubic-bezier(.22, .7, .2, 1),
    filter .72s cubic-bezier(.22, .7, .2, 1),
    transform .72s cubic-bezier(.22, .7, .2, 1);
}

.relic-title strong:last-child {
  color: #dff5ff;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(5px) scale(.96);
}

a.archive-relic:hover .relic-glyph,
a.archive-relic:focus-visible .relic-glyph {
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.14);
}

a.archive-relic:hover .relic-download,
a.archive-relic:focus-visible .relic-download {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

a.archive-relic:hover .relic-title strong:first-child,
a.archive-relic:focus-visible .relic-title strong:first-child {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(-4px) scale(1.03);
}

a.archive-relic:hover .relic-title strong:last-child,
a.archive-relic:focus-visible .relic-title strong:last-child {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

a.archive-relic:hover .relic-astrolabe,
a.archive-relic:focus-visible .relic-astrolabe {
  border-color: rgba(175, 225, 247, .4);
  background: radial-gradient(circle, rgba(139, 207, 235, .2), rgba(43, 92, 119, .11) 46%, rgba(7, 24, 38, .18) 68%, transparent 69%);
  box-shadow: 0 0 75px rgba(98, 186, 224, .16), inset 0 0 75px rgba(143, 215, 239, .07);
}

a.archive-relic:focus-visible {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(202, 237, 250, .8);
}

.archive-relic .relic-astrolabe {
  transition:
    border-color .85s ease,
    background .85s ease,
    box-shadow .85s ease;
}

.celestial-familiar.is-flying .familiar-wing-left,
.celestial-familiar.is-flying .familiar-wing-right {
  animation-duration: .3s;
}

.celestial-familiar.is-flying svg {
  animation: familiar-flight-flutter .54s ease-in-out infinite alternate;
}

@keyframes familiar-flight-flutter {
  from { transform: translateY(1px) scaleY(.97); }
  to { transform: translateY(-1.5px) scaleY(1.025); }
}

@media (prefers-reduced-motion: reduce) {
  .relic-symbols .relic-glyph,
  .relic-download,
  .relic-title strong,
  .archive-relic .relic-astrolabe {
    transition: none;
  }

  .celestial-familiar.is-flying svg {
    animation: none;
  }
}

/* Archive geometry and animation performance correction */
.flow-console.ecosystem-console.celestial-console {
  position: relative;
  left: auto;
  width: 100vw;
  max-width: none;
  margin-right: calc((100% - 100vw) / 2);
  margin-left: calc((100% - 100vw) / 2);
  transform: none;
}

.celestial-archive,
.celestial-pan,
.celestial-chart,
.celestial-sky-art {
  height: 1180px;
}

.celestial-archive {
  padding-bottom: 120px;
}

.flow-main:has(.celestial-console) {
  padding-bottom: 88px;
}

.celestial-particles {
  contain: layout paint;
  transform: translateZ(0);
}

.celestial-familiar {
  backface-visibility: hidden;
}

.celestial-dust {
  box-shadow: 0 0 6px rgba(241, 218, 160, .56);
}

.celestial-flight-streak {
  display: none;
}

@media (max-width: 900px) {
  .flow-console.ecosystem-console.celestial-console {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .celestial-archive,
  .celestial-pan,
  .celestial-chart,
  .celestial-sky-art {
    height: auto;
  }

  .celestial-archive {
    padding-bottom: 34px;
  }
}

@media (max-width: 560px) {
  .product-switcher-redesign {
    gap: 6px;
  }

  .product-switcher-redesign a {
    min-width: 96px;
    padding-inline: 12px;
  }

  .ekflow-action-row-redesign {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .flash-chat-widget {
    right: 14px;
    bottom: 14px;
  }
}

/* Homepage editorial typography experiment. */
.mockup-home .mock-hero-heading h1 {
  max-width: 790px;
  margin: 0;
  color: #f5f7f8;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: .96;
  text-wrap: balance;
}

.mockup-home .mock-type-voice {
  display: inline;
  letter-spacing: 0;
}

.mockup-home .mock-type-serif {
  color: #dcecf5;
  font-family: var(--editorial);
  font-size: 1.14em;
  font-style: italic;
  font-weight: 400;
}

.mockup-home .mock-type-tools {
  color: #c8dce7;
}

.mockup-home .mock-type-technical {
  position: relative;
  top: -.06em;
  color: #fff;
  font-family: var(--font);
  font-size: .46em;
  font-style: normal;
  font-weight: 600;
  text-transform: none;
}

.mockup-home .mock-type-emphasis {
  color: #f2e9e3;
  font-family: var(--montserrat);
  font-size: .9em;
  font-style: normal;
  font-weight: 800;
}

.mockup-home .mock-hero-lede strong,
.mockup-home .mock-hero-lede span {
  display: block;
}

.mockup-home .mock-hero-lede strong {
  color: #e4eff5;
  font-family: var(--editorial);
  font-size: 27px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.mockup-home .mock-hero-lede span {
  max-width: 310px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.5;
}

.mockup-home .mock-category-heading h2 {
  max-width: 760px;
  font-family: var(--display);
  font-size: 46px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: .98;
  text-wrap: balance;
}

.mockup-home .mock-category-heading h2 > span,
.mockup-home .mock-category-heading h2 > strong {
  display: block;
}

.mockup-home .mock-category-heading h2 em {
  color: #d9eaf3;
  font-family: var(--editorial);
  font-size: 1.08em;
  font-style: italic;
  font-weight: 400;
}

.mockup-home .mock-category-heading h2 > span:nth-child(2) {
  margin-top: 4px;
  color: #aebcc5;
  font-family: var(--font);
  font-size: .78em;
  font-weight: 400;
}

.mockup-home .mock-category-heading h2 > strong {
  margin-top: 5px;
  color: #f5f8fa;
  font-family: var(--montserrat);
  font-size: .82em;
  font-weight: 800;
}

.mockup-home .mock-section-head h2 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.mockup-home .mock-product-info h3 {
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.mockup-home .mock-product-info > p {
  margin-top: 7px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.mockup-home .mock-button {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0;
}

.mockup-home .mock-download-cta h2 {
  letter-spacing: 0;
  line-height: .94;
}

.mockup-home .mock-download-cta h2 span,
.mockup-home .mock-download-cta h2 strong {
  display: block;
}

.mockup-home .mock-download-cta h2 span {
  color: #afcad9;
  font-family: var(--editorial);
  font-size: 34px;
  font-style: italic;
  font-weight: 400;
}

.mockup-home .mock-download-cta h2 strong {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 46px;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .mockup-home .mock-hero-heading h1 {
    font-size: 50px;
  }

  .mockup-home .mock-category-heading h2 {
    font-size: 42px;
  }
}

@media (max-width: 800px) {
  .mockup-home .mock-hero-heading h1 {
    max-width: 620px;
    font-size: 44px;
    line-height: .98;
  }

  .mockup-home .mock-type-technical {
    font-size: .38em;
  }

  .mockup-home .mock-hero-lede strong {
    font-size: 25px;
  }

  .mockup-home .mock-category-heading h2 {
    font-size: 36px;
  }

  .mockup-home .mock-section-head h2 {
    font-size: 32px;
  }

  .mockup-home .mock-download-cta h2 span {
    font-size: 29px;
  }

  .mockup-home .mock-download-cta h2 strong {
    font-size: 38px;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 199, 79, .07), transparent 20%),
    radial-gradient(circle at 82% 8%, rgba(124, 207, 255, .08), transparent 25%),
    linear-gradient(135deg, #17191a, #0d0f10 55%, #141617);
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 244, 239, .28) transparent;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(244, 244, 239, .28);
  background-clip: padding-box;
}

.landing-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 28%, rgba(36, 242, 153, .34), transparent 23%),
    radial-gradient(circle at 78% 12%, rgba(0, 196, 126, .18), transparent 25%),
    radial-gradient(circle at 94% 80%, rgba(0, 132, 88, .2), transparent 26%),
    linear-gradient(100deg, #052c26 0, #06231f 34%, #030607 60%, #07101a 100%);
}

.landing-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 209, 128, .26), transparent 38%, rgba(0, 0, 0, .38)),
    radial-gradient(circle at 3% 60%, rgba(71, 255, 165, .34), transparent 18%);
  mix-blend-mode: screen;
  opacity: .55;
}

.landing-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1480px, calc(100% - 72px));
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.landing-logo,
.landing-nav,
.landing-contact {
  position: relative;
  z-index: 2;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.landing-logo strong {
  color: #fff;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.05em;
}

.landing-mark {
  width: 31px;
  height: 31px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
}

.landing-mark::before {
  content: "";
  grid-area: 1 / 1 / 4 / 4;
  background:
    linear-gradient(#baff66 0 0) 0 0 / 8px 8px,
    linear-gradient(#baff66 0 0) 11px 0 / 8px 8px,
    linear-gradient(#baff66 0 0) 22px 0 / 8px 8px,
    linear-gradient(#baff66 0 0) 0 11px / 8px 8px,
    linear-gradient(#baff66 0 0) 22px 11px / 8px 8px,
    linear-gradient(#baff66 0 0) 0 22px / 8px 8px,
    linear-gradient(#baff66 0 0) 11px 22px / 8px 8px,
    linear-gradient(#baff66 0 0) 22px 22px / 8px 8px;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 16px rgba(186, 255, 102, .42));
}

.landing-mark.small {
  width: 16px;
  height: 16px;
}

.landing-mark.small::before {
  background-size: 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px;
  background-position: 0 0, 6px 0, 12px 0, 0 6px, 12px 6px, 0 12px, 6px 12px, 12px 12px;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}

.landing-nav a {
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
  font-weight: 560;
}

.landing-nav a:hover,
.landing-nav a[aria-current="page"] {
  color: #fff;
}

.landing-contact,
.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(186, 255, 102, .48);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 0 18px rgba(186, 255, 102, .12);
  font-size: 12px;
  font-weight: 650;
}

.landing-button.primary,
.landing-contact {
  color: #07100c;
  border-color: transparent;
  background: #baff66;
  box-shadow: 0 0 30px rgba(186, 255, 102, .25);
}

.landing-shell {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 72px));
  margin: 0 auto;
  padding: 96px 0 92px;
}

.landing-hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(380px, .74fr) minmax(620px, 1.26fr);
  gap: 54px;
  align-items: center;
}

.landing-copy {
  padding-top: 40px;
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(186, 255, 102, .55);
  border-radius: 999px;
  color: rgba(255, 255, 255, .94);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 0 28px rgba(186, 255, 102, .28), inset 0 0 18px rgba(186, 255, 102, .14);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .03em;
}

.landing-copy h1 {
  max-width: 610px;
  margin: 42px 0 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(74px, 8.8vw, 146px);
  font-weight: 700;
  letter-spacing: -.09em;
  line-height: .82;
}

.landing-copy p {
  max-width: 500px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.55;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.landing-preview {
  min-height: 600px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 38px 38px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 72% 58%, rgba(29, 255, 154, .58), transparent 34%),
    radial-gradient(circle at 50% 24%, rgba(186, 255, 102, .28), transparent 17%),
    linear-gradient(135deg, #030607 0, #042923 46%, #0eba72 100%);
  box-shadow: 0 42px 120px rgba(0, 0, 0, .55), -22px 0 90px rgba(14, 219, 134, .08);
}

.landing-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .64), transparent 28%, rgba(255, 255, 255, .04)),
    radial-gradient(circle at 52% 24%, rgba(186, 255, 102, .4), transparent 9%);
}

.preview-nav {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 9px;
  padding: 26px 32px;
}

.preview-nav strong {
  font-family: var(--display);
  font-size: 17px;
}

.preview-nav small {
  justify-self: end;
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
  font-style: normal;
}

.preview-nav small:last-child {
  justify-self: start;
}

.preview-nav small::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: #baff66;
}

.preview-center {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 64px 24px 34px;
  text-align: center;
}

.preview-center span {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  box-shadow: 0 0 24px rgba(186, 255, 102, .28);
  color: #fff;
  font-size: 11px;
}

.preview-center h2 {
  margin: 26px 0 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(46px, 4.8vw, 82px);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .92;
}

.preview-center p {
  max-width: 500px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  line-height: 1.55;
}

.preview-orb {
  position: absolute;
  right: 12%;
  bottom: -62px;
  width: 260px;
  height: 260px;
  border-radius: 54px;
  background: linear-gradient(135deg, #12d0cc, #dfff75 62%, #fff);
  opacity: .34;
  filter: blur(4px);
  transform: rotate(16deg);
}

.preview-dashboard {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .75fr 1.1fr .95fr;
  gap: 12px;
  width: min(720px, calc(100% - 56px));
  margin: 18px auto 0;
}

.dash-card {
  min-height: 96px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(2, 7, 8, .42);
  box-shadow: inset 0 0 24px rgba(186, 255, 102, .06), 0 18px 40px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
}

.dash-card small {
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.dash-card strong {
  display: block;
  margin-top: 15px;
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .95;
}

.dash-balance strong {
  color: #baff66;
  font-size: 38px;
}

.landing-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 960px;
  margin: 16px auto 66px;
  color: rgba(255, 255, 255, .34);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  text-transform: lowercase;
}

.landing-feature {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, .8fr);
  gap: 34px;
  align-items: center;
  padding: 62px 54px;
  border: 1px solid rgba(255, 255, 255, .075);
  background:
    radial-gradient(circle at 78% 34%, rgba(36, 242, 153, .18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, .28));
}

.landing-kicker {
  margin: 0 0 18px;
  color: #31f0bd;
  font-size: 12px;
  font-weight: 700;
}

.landing-feature h2,
.landing-download h2 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .94;
}

.landing-feature p {
  max-width: 560px;
  color: rgba(255, 255, 255, .66);
  font-size: 15px;
  line-height: 1.6;
}

.landing-checks {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin-top: 34px;
}

.landing-checks span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(186, 255, 102, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 18px rgba(186, 255, 102, .06);
  color: rgba(255, 255, 255, .84);
}

.landing-grid-art {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(186, 255, 102, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 255, 102, .12) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle, black 0 46%, transparent 72%);
}

.landing-grid-art span {
  position: relative;
  z-index: 2;
  width: 130px;
  height: 130px;
  border-radius: 30px;
  background: linear-gradient(135deg, #0fd3c2, #dfff75 62%, #fff);
  box-shadow: 0 0 70px rgba(186, 255, 102, .28);
  transform: rotate(14deg);
}

.landing-grid-art i,
.landing-grid-art b {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(186, 255, 102, .18);
  filter: blur(18px);
}

.landing-grid-art i {
  width: 190px;
  height: 190px;
}

.landing-grid-art b {
  width: 86px;
  height: 86px;
  right: 20%;
  bottom: 22%;
  background: rgba(49, 240, 189, .26);
}

.landing-download {
  padding: 78px 0 0;
  text-align: center;
}

.landing-download h2 {
  margin: 0 auto;
}

.landing-download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}

.landing-download-grid article {
  min-height: 158px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
}

.landing-download-grid small,
.landing-download-grid span {
  color: rgba(255, 255, 255, .54);
  font-size: 12px;
}

.landing-download-grid strong {
  display: block;
  margin: 10px 0 22px;
  color: #fff;
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: -.05em;
}

.landing-download-grid a {
  color: #baff66;
  font-size: 13px;
  font-weight: 700;
}

.flow-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(2, 8, 12, .16), rgba(2, 12, 14, .86) 74%, #031212 100%),
    url("../assets/home2-cosmic-hero.jpg") top center / cover no-repeat fixed,
    linear-gradient(180deg, #07111b 0, #092b30 45%, #031212 100%);
}

.flow-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 13%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 17% 9%, rgba(255,255,255,.8) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 10%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 83% 21%, rgba(255,255,255,.65) 0 1px, transparent 2px),
    radial-gradient(circle at 58% 17%, rgba(255,255,255,.9) 0 1px, transparent 2px),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.38));
  opacity: .9;
}

.flow-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 10% 22%, rgba(255, 132, 72, .5), transparent 17%),
    radial-gradient(ellipse at 85% 20%, rgba(255, 174, 92, .48), transparent 22%),
    radial-gradient(ellipse at 48% 27%, rgba(123, 219, 255, .3), transparent 34%);
  filter: blur(12px);
  mix-blend-mode: screen;
  opacity: .34;
}

.market-page {
  background: #02090b;
}

.market-page::before {
  background:
    linear-gradient(180deg, rgba(2, 8, 12, .34), rgba(2, 9, 11, .9) 74%, #02090b 100%),
    url("../assets/home2-cosmic-hero.jpg") top center / cover no-repeat fixed;
  filter: blur(16px) saturate(.85) brightness(.72);
  opacity: .9;
  transform: scale(1.055);
}

.market-page::after {
  opacity: .22;
  filter: blur(24px);
}

.flow-nav,
.flow-main {
  position: relative;
  z-index: 2;
}

.flow-nav {
  width: min(1720px, calc(100% - 64px));
  height: 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
}

.flow-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.flow-brand strong {
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.flow-mark {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: #b7e5ff;
  clip-path: polygon(58% 0, 15% 55%, 46% 55%, 34% 100%, 86% 38%, 52% 38%);
}

.flow-nav nav,
.flow-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.flow-nav nav {
  justify-content: center;
}

.flow-nav nav a {
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 650;
}

.flow-nav nav a:hover,
.flow-nav nav a[aria-current="page"] {
  color: #fff;
}

.flow-nav nav a[aria-current="page"] {
  text-shadow: 0 0 18px rgba(167, 217, 255, .5);
}

.flow-actions {
  justify-content: end;
  gap: 7px;
}

.flow-actions a,
.flow-primary,
.flow-secondary {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 720;
}

.flow-actions a:last-child,
.flow-primary {
  color: #08111a;
  border-color: transparent;
  background: #fff;
}

.flow-main {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 46px 0 88px;
}

.flow-hero {
  min-height: 760px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.flow-hero-copy {
  width: min(720px, 100%);
}

.flow-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .95;
  text-shadow: 0 8px 34px rgba(0,0,0,.34);
}

.flow-hero-copy p {
  max-width: 670px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.45;
}

.flow-hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 23px;
}

.flow-secondary {
  color: #fff;
  background: rgba(0,0,0,.42);
}

.flow-console {
  width: min(1060px, 100%);
  margin-top: 58px;
  overflow: visible;
  text-align: left;
}

.flow-console img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0,0,0,.48);
  filter: brightness(.82) saturate(.82) contrast(1.06);
}

.flow-console.ecosystem-console {
  width: min(1800px, 100vw);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.flash-ecosystem {
  --ecosystem-line: url(#ecosystemLine);
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 49%, rgba(63, 160, 222, .16), transparent 20%),
    radial-gradient(ellipse at 20% 4%, rgba(56, 120, 177, .13), transparent 34%),
    radial-gradient(ellipse at 85% 100%, rgba(33, 112, 161, .12), transparent 32%),
    linear-gradient(180deg, rgba(2, 10, 18, .86), rgba(2, 10, 17, .97));
  border: 1px solid rgba(164, 218, 255, .12);
  border-right: 0;
  border-left: 0;
  box-shadow:
    0 46px 130px rgba(0, 0, 0, .46),
    inset 0 1px rgba(255, 255, 255, .04),
    inset 0 -1px rgba(101, 182, 235, .05);
}

.flash-ecosystem::before,
.flash-ecosystem::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.flash-ecosystem::before {
  inset: 0;
  background:
    linear-gradient(90deg, #020a12 0, transparent 7%, transparent 93%, #020a12 100%),
    linear-gradient(180deg, rgba(2, 9, 16, .5), transparent 14%, transparent 85%, rgba(2, 9, 16, .72));
}

.flash-ecosystem::after {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(128, 206, 255, .045);
  border-radius: 50%;
  box-shadow: 0 0 120px rgba(79, 172, 228, .06);
  transform: translate(-50%, -50%);
}

.ecosystem-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .52;
  background-image:
    radial-gradient(circle, rgba(220, 242, 255, .86) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(120, 196, 243, .62) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 255, 255, .42) 0 .7px, transparent 1px);
  background-position: 0 0, 37px 63px, 11px 29px;
  background-size: 137px 137px, 193px 193px, 83px 83px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ecosystem-pan {
  position: absolute;
  width: 1600px;
  height: 620px;
  top: 0;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  transform-origin: 50% 50%;
  will-change: transform;
}

.ecosystem-links,
.ecosystem-orbit {
  position: absolute;
  pointer-events: none;
}

.ecosystem-links {
  inset: 0;
  width: 1600px;
  height: 620px;
  overflow: visible;
}

.ecosystem-link-lines path {
  fill: none;
  stroke: var(--ecosystem-line);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-dasharray: 3 8;
  filter: drop-shadow(0 0 4px rgba(91, 184, 239, .2));
  animation: ecosystem-signal 14s linear infinite;
}

.ecosystem-link-lines path:nth-child(2n) {
  animation-duration: 18s;
  animation-direction: reverse;
}

.ecosystem-orbit {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(117, 198, 247, .055);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ecosystem-orbit-one {
  width: 326px;
  height: 326px;
}

.ecosystem-orbit-two {
  width: 462px;
  height: 462px;
  border-style: dashed;
}

.ecosystem-card,
.ecosystem-core {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  color: #f4faff;
  text-align: left;
  border: 1px solid rgba(159, 216, 253, .14);
  background:
    linear-gradient(135deg, rgba(16, 39, 57, .82), rgba(5, 18, 30, .72)),
    rgba(5, 19, 31, .76);
  box-shadow:
    0 16px 48px rgba(0, 4, 10, .3),
    inset 0 1px rgba(255, 255, 255, .045);
  backdrop-filter: blur(18px) saturate(1.15);
}

.ecosystem-card {
  width: 184px;
  min-height: 70px;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 13px;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

a.ecosystem-card:hover,
a.ecosystem-card:focus-visible {
  color: #fff;
  border-color: rgba(169, 226, 255, .38);
  background:
    linear-gradient(135deg, rgba(22, 55, 79, .94), rgba(7, 25, 40, .88)),
    rgba(8, 25, 39, .9);
  box-shadow:
    0 20px 54px rgba(0, 5, 12, .42),
    0 0 0 1px rgba(99, 191, 242, .06),
    0 0 32px rgba(67, 166, 225, .09),
    inset 0 1px rgba(255, 255, 255, .08);
  transform: translateY(-5px);
}

a.ecosystem-card:focus-visible {
  outline: 2px solid #a8dcff;
  outline-offset: 4px;
}

.ecosystem-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #a9dcff;
  border: 1px solid rgba(154, 217, 255, .15);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(104, 193, 246, .12), rgba(48, 112, 157, .04));
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.ecosystem-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ecosystem-card-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.ecosystem-card-copy strong {
  overflow: hidden;
  color: inherit;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -.025em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ecosystem-card-copy small {
  color: rgba(197, 224, 241, .58);
  font-size: 10px;
  font-weight: 560;
  letter-spacing: .015em;
  white-space: nowrap;
}

.ecosystem-core {
  width: 248px;
  min-height: 106px;
  left: 676px;
  top: 267px;
  gap: 15px;
  padding: 20px 20px;
  border-color: rgba(178, 226, 255, .29);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 12%, rgba(141, 218, 255, .19), transparent 38%),
    linear-gradient(140deg, rgba(20, 56, 81, .96), rgba(5, 20, 34, .94));
  box-shadow:
    0 28px 80px rgba(0, 4, 11, .5),
    0 0 70px rgba(63, 165, 225, .1),
    inset 0 1px rgba(255, 255, 255, .1);
}

.ecosystem-core::before {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border: 1px solid rgba(136, 210, 254, .08);
  border-radius: 29px;
}

.ecosystem-core-mark {
  width: 54px;
  height: 60px;
  flex: 0 0 auto;
  background: linear-gradient(160deg, #dff5ff, #75c8f5 56%, #3b8fc4);
  clip-path: polygon(57% 0, 11% 55%, 45% 55%, 30% 100%, 91% 37%, 55% 37%);
  filter: drop-shadow(0 0 18px rgba(126, 207, 251, .28));
}

.ecosystem-core .ecosystem-card-copy strong {
  font-size: 27px;
  letter-spacing: -.055em;
}

.ecosystem-core .ecosystem-card-copy small {
  font-size: 11px;
}

.ecosystem-core-status {
  position: absolute;
  right: 16px;
  bottom: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(194, 231, 250, .52);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ecosystem-core-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #72d3a2;
  box-shadow: 0 0 10px rgba(114, 211, 162, .65);
}

.product-modules { left: 98px; top: 126px; }
.product-plugins { left: 303px; top: 71px; }
.product-macros { left: 508px; top: 111px; }
.product-textures { left: 708px; top: 48px; }
.product-vfx { left: 908px; top: 111px; }
.product-sound { left: 1113px; top: 71px; }
.product-three-d { left: 1318px; top: 126px; }
.support-discord { left: 188px; top: 461px; width: 196px; }
.support-updates { left: 525px; top: 501px; width: 200px; }
.support-help { left: 875px; top: 501px; width: 200px; }
.support-users { left: 1216px; top: 461px; width: 196px; }

@keyframes ecosystem-signal {
  to { stroke-dashoffset: -110; }
}

.console-topbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(4, 7, 8, .96);
}

.console-topbar strong {
  color: #fff;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.05em;
}

.console-topbar nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.console-topbar span {
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 650;
}

.console-topbar .active {
  color: #fff;
  box-shadow: inset 0 -2px 0 #fff;
}

.console-topbar em {
  margin-left: auto;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

.console-layout {
  min-height: 498px;
  display: grid;
  grid-template-columns: 76px 1fr;
}

.console-sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 24px 18px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(9, 12, 13, .9);
}

.console-sidebar span {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background:
    linear-gradient(currentColor 0 0) 10px 10px / 6px 6px,
    linear-gradient(currentColor 0 0) 22px 10px / 6px 6px,
    linear-gradient(currentColor 0 0) 10px 22px / 6px 6px,
    linear-gradient(currentColor 0 0) 22px 22px / 6px 6px,
    rgba(255,255,255,.02);
  background-repeat: no-repeat;
  color: rgba(255,255,255,.58);
}

.console-sidebar span:not(.active) {
  border-color: transparent;
  background:
    radial-gradient(circle at 50% 44%, currentColor 0 4px, transparent 5px),
    linear-gradient(currentColor 0 0) 12px 24px / 14px 2px,
    transparent;
  background-repeat: no-repeat;
}

.console-body {
  display: grid;
  gap: 24px;
  padding: 24px 28px 28px;
  background:
    radial-gradient(circle at 74% 4%, rgba(32, 188, 121, .12), transparent 28%),
    radial-gradient(circle at 20% 90%, rgba(71, 173, 190, .14), transparent 32%),
    linear-gradient(180deg, #0d1112, #0a0e0f 58%, #090c0d);
}

.console-banner,
.console-explore,
.console-card-row article {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(8, 12, 13, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.console-banner {
  min-height: 154px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 24px 28px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.12)),
    radial-gradient(circle at 54% 44%, rgba(103, 255, 82, .75), transparent 9%),
    repeating-radial-gradient(circle at 54% 44%, rgba(103, 255, 82, .32) 0 1px, transparent 2px 18px),
    linear-gradient(105deg, #04100c, #0a281d 46%, #06100f);
}

.console-banner::before,
.console-banner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.console-banner::before {
  inset: 0;
  background:
    linear-gradient(80deg, transparent 0 32%, rgba(83, 255, 81, .34) 33%, transparent 37%),
    linear-gradient(100deg, transparent 0 48%, rgba(70, 205, 255, .22) 49%, transparent 53%),
    radial-gradient(circle at 14% 20%, rgba(255,255,255,.75) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 28%, rgba(255,255,255,.68) 0 1px, transparent 2px),
    radial-gradient(circle at 92% 72%, rgba(255,255,255,.54) 0 1px, transparent 2px);
  opacity: .9;
}

.console-banner::after {
  right: 70px;
  top: 22px;
  width: 260px;
  height: 112px;
  border: 1px solid rgba(92, 239, 255, .26);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(92,239,255,.2), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent),
    rgba(6, 18, 18, .48);
  box-shadow:
    -96px 16px 0 -18px rgba(12, 36, 35, .76),
    -166px 34px 0 -27px rgba(12, 36, 35, .62),
    0 0 34px rgba(77, 255, 114, .18);
  transform: rotate(-5deg);
}

.console-banner small {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.75);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.console-banner strong {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: #fff;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.04em;
}

.console-banner button {
  position: relative;
  z-index: 1;
  min-height: 32px;
  margin-top: 16px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  color: #0a0d0e;
  background: #fff;
  font-size: 11px;
  font-weight: 780;
}

.console-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 8px;
}

.console-section-title h3,
.console-explore h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.05em;
}

.console-section-title span {
  color: rgba(255,255,255,.82);
  font-size: 10px;
  font-weight: 780;
  text-transform: uppercase;
}

.console-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.console-card-row article {
  min-height: 90px;
  display: flex;
  align-items: end;
  padding: 11px;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.68)),
    radial-gradient(circle at 68% 34%, rgba(95, 239, 116, .3), transparent 24%),
    linear-gradient(135deg, rgba(91, 184, 196, .36), rgba(28, 42, 48, .86));
}

.console-card-row article:nth-child(2) {
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.68)),
    radial-gradient(circle at 72% 38%, rgba(197, 224, 60, .28), transparent 24%),
    linear-gradient(135deg, rgba(68, 142, 160, .38), rgba(26, 39, 43, .88));
}

.console-card-row article:nth-child(3) {
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.7)),
    radial-gradient(circle at 38% 48%, rgba(113, 162, 255, .28), transparent 26%),
    linear-gradient(135deg, rgba(30, 54, 73, .9), rgba(56, 37, 61, .85));
}

.console-card-row b {
  color: #fff;
  font-size: 12px;
}

.console-explore {
  min-height: 112px;
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(0,0,0,.58);
}

.console-explore h3,
.console-explore p {
  position: absolute;
  left: 0;
  margin: 0;
}

.console-explore h3 {
  top: -36px;
}

.console-explore p {
  top: -10px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.console-explore span {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  color: rgba(255,255,255,.74);
  background: rgba(0,0,0,.34);
  font-size: 10px;
  font-weight: 780;
  text-transform: uppercase;
}

.flow-statement {
  max-width: 980px;
  margin: 34px auto 118px;
  padding: 46px 50px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 44%),
    rgba(3, 12, 14, .58);
  box-shadow: 0 32px 90px rgba(0,0,0,.28);
}

.flow-kicker {
  margin: 0 0 12px;
  color: #a7d9ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.flow-statement h2 {
  max-width: 100%;
  margin: 0 auto;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(42px, 4.7vw, 68px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .94;
  white-space: nowrap;
}

.flow-statement p:last-child {
  max-width: 760px;
  margin: 22px auto 0;
  color: rgba(255,255,255,.66);
  font-size: 15px;
  line-height: 1.62;
}

.flow-teams {
  padding-bottom: 40px;
}

.flow-section-heading {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}

.flow-section-heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--montserrat);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.06em;
}

.flow-section-heading p {
  color: rgba(255,255,255,.64);
}

.flow-card-row,
.flow-text-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flow-card-row article,
.flow-text-card-row article {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: rgba(5, 17, 22, .66);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.flow-text-card-row article {
  min-height: 250px;
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(167, 217, 255, .08), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.07), transparent 42%),
    rgba(5, 17, 22, .62);
}

.flow-text-card-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 25px;
  border: 1px solid rgba(167, 217, 255, .2);
  border-radius: 999px;
  color: rgba(167, 217, 255, .82);
  background: rgba(0,0,0,.2);
  font-size: 11px;
  font-weight: 800;
}

.flow-card-row h3,
.flow-card-row p {
  padding-inline: 20px;
}

.flow-card-row h3,
.flow-text-card-row h3 {
  margin: 20px 0 0;
  color: #fff;
  font-family: var(--montserrat);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.045em;
}

.flow-card-row p,
.flow-text-card-row p {
  color: rgba(255,255,255,.62);
  font-family: var(--montserrat);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.45;
}

.flow-text-card-row p {
  max-width: 290px;
}

.flow-subpage .flow-main {
  padding-top: 86px;
}

.flow-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin: 0 0 34px;
  padding: 42px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), transparent 42%),
    rgba(3, 12, 14, .62);
  box-shadow: 0 32px 90px rgba(0,0,0,.28);
}

.flow-page-hero.compact {
  min-height: 260px;
}

.flow-page-hero .flow-kicker {
  margin-bottom: 12px;
}

.flow-page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(50px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -.085em;
  line-height: .86;
}

.flow-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.58;
}

.flow-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.flow-panel-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-panel {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(167, 217, 255, .07), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.055), transparent 42%),
    rgba(5, 17, 22, .66);
  box-shadow: 0 28px 70px rgba(0,0,0,.26);
}

.flow-panel.compact {
  box-shadow: none;
}

.flow-panel h2,
.flow-panel h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -.055em;
}

.flow-panel p,
.flow-panel li {
  color: rgba(255,255,255,.64);
  font-size: 13px;
  line-height: 1.52;
}

.flow-panel-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.flow-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 650;
}

.flow-panel-row b,
.flow-badge {
  color: #a7d9ff;
  font-weight: 820;
}

.flow-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(167, 217, 255, .18);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  font-size: 11px;
}

.flow-product-visual {
  min-height: 420px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.6)),
    url("../assets/ekflow1-1280.webp") center / cover;
  box-shadow: 0 32px 90px rgba(0,0,0,.32);
}

.flow-video-panel {
  min-height: 360px;
  padding: 0;
  overflow: hidden;
}

.flow-video-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.flow-legal {
  max-width: 980px;
  margin-inline: auto;
}

.flow-legal .flow-panel {
  margin-top: 14px;
}

.download-page {
  max-width: 1280px;
}

.download-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.download-header h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .92;
}

.download-header p:last-child {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.55;
}

.download-version {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), transparent 42%),
    rgba(5, 17, 22, .66);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

.download-version span,
.download-version small,
.download-specs dt {
  color: rgba(255,255,255,.54);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.download-version strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -.04em;
}

.download-version small {
  display: block;
  margin-top: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.download-primary,
.download-side article,
.download-steps article {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(167, 217, 255, .08), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 42%),
    rgba(5, 17, 22, .68);
  box-shadow: 0 28px 76px rgba(0,0,0,.26);
}

.download-primary {
  min-height: 360px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 30px;
}

.download-icon {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(167,217,255,.2);
  border-radius: 18px;
  background:
    linear-gradient(#a7d9ff 0 0) 24px 18px / 24px 30px,
    linear-gradient(135deg, rgba(167,217,255,.22), transparent),
    rgba(0,0,0,.24);
  background-repeat: no-repeat;
  position: relative;
}

.download-icon::after {
  content: "";
  position: absolute;
  left: 21px;
  bottom: 17px;
  width: 30px;
  height: 18px;
  background: #a7d9ff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.download-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .92;
}

.download-copy p:not(.flow-kicker) {
  max-width: 640px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.6;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.download-specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.download-specs div {
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}

.download-specs dd {
  margin: 7px 0 0;
  color: #fff;
  font-weight: 700;
}

.download-side {
  display: grid;
  gap: 18px;
}

.download-side article {
  padding: 22px;
}

.download-side h3,
.download-steps h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -.045em;
}

.download-side p,
.download-side li,
.download-steps p {
  color: rgba(255,255,255,.64);
  font-size: 13px;
  line-height: 1.52;
}

.download-side ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.download-side a {
  display: inline-flex;
  margin-top: 10px;
  color: #a7d9ff;
  font-size: 13px;
  font-weight: 700;
}

.download-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.download-steps article {
  min-height: 170px;
  padding: 20px;
}

.download-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  margin-bottom: 18px;
  border: 1px solid rgba(167,217,255,.2);
  border-radius: 999px;
  color: #a7d9ff;
  background: rgba(0,0,0,.2);
  font-size: 11px;
  font-weight: 800;
}

.download-clean {
  width: min(1120px, calc(100% - 64px));
  padding-top: 72px;
}

.download-clean-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.download-clean-head h1 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 780;
  letter-spacing: -.08em;
  line-height: .92;
}

.download-clean-head p:last-child {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 14px;
  line-height: 1.55;
}

.download-clean-head aside,
.download-release,
.download-notes article {
  border: 1px solid rgba(255,255,255,.11);
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), transparent 42%),
    rgba(4, 15, 18, .68);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
}

.download-clean-head aside {
  padding: 17px;
  border-radius: 12px;
}

.download-clean-head aside span,
.download-clean-head aside small,
.download-table [role="columnheader"] {
  color: rgba(255,255,255,.52);
  font-size: 10px;
  font-weight: 740;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.download-clean-head aside strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 760;
}

.download-clean-head aside small {
  display: block;
  margin-top: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.download-release {
  border-radius: 14px;
  overflow: hidden;
}

.download-release-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.download-release-top > div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.download-app-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid rgba(167,217,255,.22);
  background:
    linear-gradient(#a7d9ff 0 0) 15px 10px / 13px 18px,
    linear-gradient(135deg, rgba(167,217,255,.22), transparent),
    rgba(0,0,0,.24);
  background-repeat: no-repeat;
  position: relative;
}

.download-app-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  bottom: 9px;
  width: 17px;
  height: 10px;
  background: #a7d9ff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.download-release h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -.055em;
}

.download-release p {
  margin: 5px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.download-table {
  display: grid;
}

.download-table [role="row"] {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.download-table [role="row"] + [role="row"] {
  border-top: 1px solid rgba(255,255,255,.07);
}

.download-table span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-left: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 620;
}

.download-table span:first-child {
  border-left: 0;
}

.download-table a {
  color: #a7d9ff;
  font-weight: 720;
}

.download-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.download-notes article {
  min-height: 132px;
  padding: 18px;
  border-radius: 12px;
}

.download-notes h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -.045em;
}

.download-notes p {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.48;
}

.download-notes a {
  color: #a7d9ff;
  font-size: 13px;
  font-weight: 720;
}

.download-minimal {
  width: min(920px, calc(100% - 64px));
  padding-top: 100px;
}

.download-minimal-head {
  margin-bottom: 24px;
}

.download-minimal-head h1 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 760;
  letter-spacing: -.08em;
  line-height: .92;
}

.download-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.052), transparent 42%),
    rgba(4, 15, 18, .68);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
}

.download-file-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-file h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 720;
  letter-spacing: -.055em;
}

.download-file p {
  margin: 5px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.download-file-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.download-file-actions > a:not(.flow-primary),
.download-meta a {
  color: #a7d9ff;
  font-size: 13px;
  font-weight: 700;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  color: rgba(255,255,255,.54);
  font-size: 12px;
}

.hidden {
  display: none !important;
}

.account-clean {
  width: min(1120px, calc(100% - 64px));
  padding-top: 72px;
}

.account-clean-head {
  margin-bottom: 18px;
}

.account-clean-head h1 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 760;
  letter-spacing: -.08em;
  line-height: .92;
}

.account-auth-clean,
.account-topline,
.account-card-clean,
.account-stats-clean article {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.052), transparent 42%),
    rgba(4, 15, 18, .68);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
}

.account-auth-clean,
.account-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
}

.account-auth-clean h2,
.account-topline h2,
.account-card-clean h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 720;
  letter-spacing: -.055em;
}

.account-auth-clean p,
.account-topline p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.account-auth-actions,
.account-toolbar,
.account-billing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.primary-action,
.secondary-action,
.credit-pack-grid-clean button,
.module-key-line button,
.module-device-row button,
.gift-code-row button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(0,0,0,.24);
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
}

.primary-action,
.credit-pack-grid-clean button {
  color: #071018;
  border-color: transparent;
  background: #fff;
}

.inline-status {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(167,217,255,.18);
  border-radius: 10px;
  color: rgba(255,255,255,.76);
  background: rgba(0,0,0,.22);
  font-size: 12px;
}

.account-dashboard-clean {
  display: grid;
  gap: 14px;
}

.account-stats-clean {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-stats-clean article {
  min-height: 94px;
  padding: 16px;
}

.account-stats-clean span,
.credit-pack-grid-clean span,
.module-license-row span,
.purchase-row span,
.gift-code-row span,
.module-license-entry span,
.module-device-row span,
.module-license-status small,
.module-device-heading small {
  color: rgba(255,255,255,.54);
  font-size: 12px;
}

.account-stats-clean strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -.055em;
}

.account-card-clean {
  padding: 18px;
}

.account-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.credit-pack-grid-clean {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.credit-pack-grid-clean article {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}

.credit-pack-grid-clean strong,
.credit-pack-grid-clean b {
  color: #fff;
  font-size: 15px;
}

.credit-pack-grid-clean b {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -.05em;
}

.account-grid-clean {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 14px;
}

.modules-card {
  grid-row: span 2;
}

.module-license-list,
.purchase-history-list,
.gift-code-list,
.module-license-stack,
.module-device-list {
  display: grid;
  gap: 10px;
}

.module-license-row,
.purchase-row,
.gift-code-row,
.module-license-entry,
.module-device-row,
.module-key-line {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  background: rgba(0,0,0,.18);
}

.module-license-row,
.purchase-row,
.gift-code-row {
  padding: 12px;
}

.module-license-row strong,
.purchase-row strong,
.gift-code-row strong,
.module-license-entry strong,
.module-device-row strong {
  color: #fff;
  font-size: 13px;
}

.module-license-top,
.module-license-entry-top,
.module-key-line,
.module-device-row,
.purchase-row,
.gift-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.module-license-stack {
  margin-top: 12px;
}

.module-license-entry {
  padding: 12px;
}

.module-license-status {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.module-status-pill,
.module-device-count {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(167,217,255,.18);
  border-radius: 999px;
  color: #a7d9ff;
  background: rgba(0,0,0,.18);
  font-size: 11px;
  font-weight: 760;
}

.module-key-line {
  margin-top: 10px;
  padding: 10px;
}

.module-key-line code,
.gift-code-row code {
  color: rgba(255,255,255,.86);
  font-size: 12px;
  word-break: break-all;
}

.module-device-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 8px;
}

.module-device-heading span {
  color: #fff;
  font-size: 12px;
  font-weight: 740;
}

.module-device-row {
  padding: 10px;
}

.purchase-meta {
  color: rgba(255,255,255,.48);
  font-size: 11px;
}

.purchase-row a,
.text-link,
.gift-code-row button {
  color: #a7d9ff;
}

.account-billing-actions {
  margin-top: 12px;
}

.market-page .market-sidebar,
.market-page .market-content {
  position: relative;
  z-index: 2;
}

.market-page .flow-nav {
  width: 100%;
  grid-template-columns: 142px 1fr auto;
  margin: 0;
  padding: 0 92px 0 14px;
  z-index: 5;
}

.market-page .flow-brand {
  justify-self: start;
}

.market-page .market-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 3;
  padding-top: 74px;
  background:
    linear-gradient(180deg, rgba(3, 15, 18, .96), rgba(0, 8, 10, .94)),
    radial-gradient(circle at 20% 10%, rgba(167, 217, 255, .07), transparent 26%);
  border-right-color: rgba(255,255,255,.07);
  backdrop-filter: blur(22px);
}

.market-page .market-content {
  padding-top: 46px;
}

.market-page .shop-grid-header h1 {
  color: #fff;
  font-family: var(--display);
}

.market-page .shop-grid-header p {
  color: #a7d9ff;
}

.market-page .market-card,
.market-page .blank-card {
  border-color: rgba(255,255,255,.11);
  background-color: rgba(5, 17, 22, .66);
}

@media (max-width: 980px) {
  .flow-nav {
    grid-template-columns: auto 1fr;
    height: auto;
    padding-top: 12px;
  }

  .flow-nav nav {
    justify-content: end;
    gap: 12px;
    overflow-x: auto;
  }

  .flow-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .flow-main {
    padding-top: 34px;
  }

  .flow-hero {
    min-height: auto;
  }

  .console-topbar nav {
    overflow-x: auto;
  }

  .console-topbar span {
    white-space: nowrap;
  }

  .flow-card-row,
  .flow-text-card-row,
  .flow-panel-grid,
  .flow-panel-grid.three,
  .download-header,
  .download-layout,
  .download-steps,
  .download-clean-head,
  .download-notes,
  .account-stats-clean,
  .account-grid-clean,
  .credit-pack-grid-clean {
    grid-template-columns: 1fr;
  }

  .download-specs {
    grid-template-columns: 1fr;
  }

  .download-table [role="row"] {
    grid-template-columns: 1fr 1fr;
  }

  .market-page .market-sidebar {
    position: sticky;
    top: 0;
    padding-top: 9px;
  }

  .market-page .market-content {
    padding-top: 28px;
  }

  .flow-page-hero {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .flow-page-hero h1 {
    font-size: clamp(44px, 11vw, 76px);
  }

  .flow-product-visual {
    width: 100%;
    min-height: 300px;
  }

  .flow-statement {
    margin-bottom: 72px;
    padding: 30px 24px;
  }
}

@media (max-width: 900px) {
  .flow-console.ecosystem-console {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .flash-ecosystem {
    height: auto;
    min-height: 0;
    padding: 24px;
    overflow: hidden;
    border-right: 1px solid rgba(164, 218, 255, .12);
    border-left: 1px solid rgba(164, 218, 255, .12);
    border-radius: 20px;
  }

  .flash-ecosystem::before {
    background: linear-gradient(180deg, rgba(2, 9, 16, .24), transparent 20%, transparent 82%, rgba(2, 9, 16, .42));
  }

  .ecosystem-pan {
    position: relative;
    width: 100%;
    height: auto;
    top: auto;
    left: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    transform: none;
  }

  .ecosystem-links,
  .ecosystem-orbit {
    display: none;
  }

  .ecosystem-core,
  .ecosystem-card {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .ecosystem-core {
    grid-column: 1 / -1;
    min-height: 112px;
    justify-content: center;
    margin-bottom: 8px;
  }

  .ecosystem-core-status {
    right: 18px;
    bottom: 13px;
  }

  .ecosystem-card {
    min-height: 76px;
  }

  .ecosystem-product {
    order: 2;
  }

  .ecosystem-support {
    order: 3;
  }
}

@media (max-width: 620px) {
  .flow-console.ecosystem-console {
    margin-top: 40px;
  }

  .flash-ecosystem {
    padding: 14px;
    border-radius: 15px;
  }

  .ecosystem-pan {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .ecosystem-core {
    min-height: 104px;
    padding: 17px;
  }

  .ecosystem-core-mark {
    width: 44px;
    height: 50px;
  }

  .ecosystem-core .ecosystem-card-copy strong {
    font-size: 24px;
  }

  .ecosystem-card {
    min-height: 68px;
    padding: 11px 12px;
  }

  .ecosystem-icon {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-link-lines path,
  .ecosystem-card {
    animation: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 901px) {
  .ecosystem-pan {
    transform: translate3d(-50%, 0, 0) !important;
  }
}

@media (max-width: 620px) {
  .flow-nav,
  .flow-main {
    width: min(100% - 24px, 520px);
  }

  .flow-brand strong {
    font-size: 18px;
  }

  .flow-nav nav a {
    font-size: 11px;
  }

  .flow-hero-copy h1 {
    font-size: clamp(40px, 13vw, 64px);
  }

  .flow-hero-copy p {
    font-size: 14px;
  }

  .flow-statement h2 {
    white-space: normal;
  }

  .flow-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .flow-primary,
  .flow-secondary {
    width: min(260px, 100%);
  }

  .console-layout {
    grid-template-columns: 1fr;
  }

  .console-sidebar {
    display: none;
  }

  .console-body {
    padding: 16px;
  }

  .console-card-row {
    grid-template-columns: 1fr;
  }

  .console-explore h3,
  .console-explore p {
    position: static;
  }

  .flow-section-heading h2 {
    font-size: 32px;
  }

  .flow-panel {
    padding: 20px;
  }

  .download-header h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .download-primary {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .download-clean {
    width: min(100% - 24px, 520px);
  }

  .download-minimal {
    width: min(100% - 24px, 520px);
    padding-top: 54px;
  }

  .account-clean {
    width: min(100% - 24px, 520px);
    padding-top: 54px;
  }

  .account-auth-clean,
  .account-topline,
  .module-license-top,
  .module-license-entry-top,
  .module-key-line,
  .module-device-row,
  .purchase-row,
  .gift-code-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-license-status {
    justify-items: start;
  }

  .download-file {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-release-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .download-table span {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.07);
  }

  .flow-panel-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
  }

  .flow-video-panel,
  .flow-video-panel iframe {
    min-height: 230px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.rd-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(28, 31, 32, .9);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
}

.rd-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.rd-bolt {
  width: 16px;
  height: 20px;
  display: inline-block;
  background: #fff;
  clip-path: polygon(62% 0, 12% 58%, 47% 58%, 34% 100%, 88% 39%, 52% 39%);
  transform: rotate(-14deg);
}

.rd-logo strong,
.rd-display {
  font-family: var(--display);
}

.rd-logo strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.rd-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 999px;
  background: rgba(0, 0, 0, .18);
}

.rd-nav a {
  padding: 6px 11px;
  border-radius: 999px;
  color: rgba(244, 244, 239, .64);
  font-size: 12px;
  font-weight: 560;
}

.rd-nav a:hover,
.rd-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.rd-shell {
  width: min(1480px, calc(100% - 56px));
  margin: 0 auto;
  padding: 88px 0 58px;
}

.rd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.rd-hero-copy,
.rd-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .07), transparent 40%),
    rgba(18, 20, 21, .82);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .32);
}

.rd-hero-copy {
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: 30px;
}

.rd-eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rd-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: .85;
}

.rd-lede {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.rd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.rd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #101213;
  background: linear-gradient(135deg, var(--yellow), #8be3ff);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: -.01em;
}

.rd-button.secondary {
  color: rgba(244, 244, 239, .78);
  background: rgba(255, 255, 255, .05);
}

.rd-visual {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .64)),
    url("../assets/ekflow1-1280.webp") center / cover;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .32);
}

.home-visual {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .42)),
    url("../assets/website2.jpg") center / cover;
}

.product-visual {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .64)),
    url("../assets/ekflow1-1280.webp") center / cover;
}

.rd-visual::after {
  content: "ekFlow";
  position: absolute;
  left: 24px;
  bottom: 18px;
  color: #fff;
  font-family: var(--display);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -.07em;
}

.home-visual::after {
  content: "View";
  right: 22px;
  left: auto;
  bottom: 20px;
  padding: 8px 13px;
  color: #101213;
  background: var(--yellow);
  font-size: 13px;
  letter-spacing: -.02em;
}

.rd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rd-card,
.rd-panel {
  padding: 18px;
}

.rd-card {
  min-height: 160px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .055), transparent 42%),
    rgba(255, 255, 255, .022);
}

.rd-card small,
.rd-metric small,
.rd-row small {
  display: block;
  color: var(--soft);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rd-card strong,
.rd-panel h2 {
  display: block;
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.05em;
}

.rd-card p,
.rd-panel p,
.rd-row span,
.rd-legal p,
.rd-legal li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.rd-panel h2 {
  margin: 0 0 14px;
}

.rd-text-link {
  display: inline-flex;
  margin: 0 0 14px;
  color: rgba(244, 244, 239, .68);
  font-size: 12px;
  font-weight: 650;
}

.rd-text-link:hover {
  color: #fff;
}

.product-hero {
  margin-bottom: 14px;
}

.rd-video-panel {
  min-height: 240px;
  padding: 0;
  display: grid;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .7)),
    radial-gradient(circle at 50% 45%, rgba(124, 207, 255, .2), transparent 22%),
    rgba(255, 255, 255, .022);
}

.rd-video-panel iframe {
  width: 100%;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.account-hero {
  min-height: 280px;
  display: grid;
  align-content: end;
}

.credit-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.credit-mini-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  color: rgba(244, 244, 239, .76);
  background: rgba(0, 0, 0, .16);
  font-size: 12px;
  font-weight: 600;
}

.credit-mini-grid b {
  color: var(--yellow);
  font-weight: 800;
}

.rd-stack {
  display: grid;
  gap: 14px;
}

.rd-two {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 14px;
}

.rd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.rd-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.rd-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: #101213;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 800;
}

.rd-pill.blue {
  background: var(--blue);
}

.rd-pill.ghost {
  color: rgba(244, 244, 239, .72);
  background: rgba(255, 255, 255, .06);
}

.rd-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rd-metric {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.rd-metric strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -.06em;
}

.rd-table {
  display: grid;
  gap: 8px;
}

.rd-table .rd-row {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(0, 0, 0, .14);
}

.rd-legal {
  max-width: 980px;
  margin: 0 auto;
}

.rd-legal h1 {
  margin-bottom: 26px;
}

.rd-legal section {
  margin-top: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.rd-legal h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -.05em;
}

@media (max-width: 900px) {
  .landing-topbar,
  .landing-shell {
    width: min(100% - 24px, 640px);
  }

  .landing-topbar {
    height: 54px;
  }

  .landing-logo strong {
    font-size: 22px;
  }

  .landing-nav {
    max-width: 52vw;
    overflow-x: auto;
    gap: 12px;
  }

  .landing-contact {
    display: none;
  }

  .landing-shell {
    padding-top: 76px;
  }

  .landing-hero,
  .landing-feature {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: 0;
    gap: 28px;
  }

  .landing-copy {
    padding-top: 12px;
  }

  .landing-copy h1 {
    font-size: clamp(56px, 17vw, 86px);
  }

  .landing-preview {
    min-height: 420px;
  }

  .preview-nav i {
    display: none;
  }

  .landing-strip {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 34px;
  }

  .landing-feature {
    padding: 34px 22px;
  }

  .landing-download-grid {
    grid-template-columns: 1fr;
  }

  .rd-nav {
    overflow-x: auto;
    max-width: 68vw;
  }

  .rd-shell {
    width: min(100% - 24px, 640px);
    padding-top: 72px;
  }

  .rd-hero,
  .rd-two {
    grid-template-columns: 1fr;
  }

  .rd-hero-copy,
  .rd-visual {
    min-height: 320px;
  }

  .rd-grid,
  .rd-metrics {
    grid-template-columns: 1fr;
  }
}

/* Final item-page layout override. Keep this at EOF so it wins the shared redesign cascade. */
body.item-template-page {
  background: #060909 !important;
}

body.item-template-page::before {
  opacity: 0 !important;
}

body.item-template-page .flow-nav {
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 38px !important;
  background: #060909 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.item-template-page .item-template {
  width: 100% !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 44px 0 56px !important;
}

body.item-template-page .item-hero-template {
  width: 100% !important;
  min-height: calc(100vh - 44px) !important;
  margin: 0 !important;
}

body.item-template-page .item-gallery-stage {
  min-height: calc(100vh - 44px) !important;
}

body.item-template-page .item-gallery-panel {
  background:
    linear-gradient(90deg, rgba(124, 207, 255, .09) 0%, rgba(124, 207, 255, .045) 18%, rgba(255, 255, 255, .018) 46%, rgba(6, 9, 9, 0) 100%),
    #060909 !important;
}

/* Constellation OS hero: redesign/index.html only */
.constellation-console {
  max-width: 100vw;
  overflow: hidden;
}

.constellation-os {
  height: 620px;
  border-color: rgba(145, 181, 205, .1);
  background:
    radial-gradient(ellipse at 50% 58%, rgba(61, 113, 151, .11), transparent 28%),
    radial-gradient(ellipse at 50% -16%, rgba(93, 137, 173, .12), transparent 44%),
    linear-gradient(180deg, rgba(3, 9, 16, .91), rgba(2, 8, 14, .985));
  box-shadow: 0 48px 130px rgba(0, 0, 0, .42), inset 0 1px rgba(205, 233, 250, .025);
}

.constellation-os::before {
  background:
    linear-gradient(90deg, #020810 0, transparent 9%, transparent 91%, #020810 100%),
    linear-gradient(180deg, rgba(2, 8, 14, .58), transparent 17%, transparent 84%, rgba(2, 8, 14, .7));
}

.constellation-os::after {
  width: 680px;
  height: 680px;
  border-color: rgba(136, 174, 201, .025);
  box-shadow: none;
}

.constellation-stars {
  opacity: .43;
  background-image:
    radial-gradient(circle, rgba(221, 239, 250, .74) 0 .8px, transparent 1.2px),
    radial-gradient(circle, rgba(120, 161, 191, .46) 0 .7px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, .24) 0 .55px, transparent .9px);
  background-position: 3px 7px, 47px 71px, 19px 31px;
  background-size: 149px 149px, 211px 211px, 89px 89px;
}

.constellation-pan {
  height: 620px;
}

.constellation-map {
  position: absolute;
  inset: 0;
  width: 1600px;
  height: 620px;
  overflow: visible;
  pointer-events: none;
}

.constellation-orbit,
.constellation-segments path {
  fill: none;
  stroke: url(#constellationStroke);
  vector-effect: non-scaling-stroke;
}

.constellation-orbit {
  stroke-width: .8;
}

.orbit-outer { opacity: .42; }
.orbit-inner { opacity: .29; stroke-dasharray: 2 7; }
.orbit-core { opacity: .22; }

.constellation-segments path {
  stroke-width: .75;
  opacity: .5;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: constellation-draw 2.4s cubic-bezier(.22, .7, .2, 1) forwards;
}

.constellation-segments path:nth-child(2n) { animation-delay: .12s; }
.constellation-segments path:nth-child(3n) { animation-delay: .24s; }

.constellation-anchors circle {
  fill: #c4e3f5;
  opacity: .72;
  filter: drop-shadow(0 0 5px rgba(157, 211, 243, .48));
}

.constellation-heading {
  position: absolute;
  top: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(183, 208, 225, .45);
  font-size: 9px;
  font-weight: 520;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.constellation-heading i {
  width: 28px;
  height: 1px;
  background: rgba(176, 210, 231, .2);
}

.constellation-heading small {
  color: rgba(154, 183, 202, .3);
  font-size: inherit;
}

.constellation-core {
  position: absolute;
  z-index: 4;
  width: 238px;
  height: 238px;
  top: 205px;
  left: 681px;
  display: grid;
  place-items: center;
  color: #edf8ff;
  text-align: center;
}

.constellation-core-rings,
.constellation-core-rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.constellation-core-rings {
  border: 1px solid rgba(161, 205, 232, .1);
  box-shadow: inset 0 0 80px rgba(62, 128, 169, .06), 0 0 70px rgba(61, 137, 184, .06);
}

.constellation-core-rings::before,
.constellation-core-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.constellation-core-rings::before {
  inset: 19px;
  border: 1px dashed rgba(166, 207, 231, .15);
  animation: constellation-turn 38s linear infinite;
}

.constellation-core-rings::after {
  inset: 44px;
  border: 1px solid rgba(185, 222, 243, .13);
  background: radial-gradient(circle, rgba(121, 189, 227, .13), rgba(21, 54, 76, .04) 48%, transparent 70%);
}

.constellation-core-rings i:nth-child(1) {
  inset: 7px 111px;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(205, 232, 247, .45);
  background: #071521;
  box-shadow: 0 0 12px rgba(145, 205, 239, .25);
}

.constellation-core-rings i:nth-child(2) {
  inset: auto 23px 55px auto;
  width: 8px;
  height: 8px;
  background: rgba(164, 210, 237, .7);
  box-shadow: 0 0 10px rgba(140, 202, 237, .42);
}

.constellation-core-rings i:nth-child(3) {
  inset: 76px auto auto 18px;
  width: 5px;
  height: 5px;
  background: rgba(164, 210, 237, .55);
}

.constellation-glyph {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 82px;
  margin-top: -22px;
  background: linear-gradient(160deg, #f1faff, #b8ddf1 46%, #678fab);
  clip-path: polygon(57% 0, 11% 55%, 45% 55%, 30% 100%, 91% 37%, 55% 37%);
  filter: drop-shadow(0 0 13px rgba(174, 221, 247, .34)) drop-shadow(0 0 36px rgba(81, 154, 198, .16));
}

.constellation-core-copy {
  position: absolute;
  z-index: 2;
  bottom: 43px;
  display: grid;
  gap: 4px;
}

.constellation-core-copy strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 520;
  letter-spacing: -.045em;
}

.constellation-core-copy small {
  color: rgba(184, 210, 225, .5);
  font-size: 9px;
  font-weight: 450;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.constellation-products {
  position: absolute;
  inset: 0;
}

.constellation-node {
  position: absolute;
  z-index: 5;
  width: 158px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  color: rgba(224, 239, 248, .82);
  border-radius: 11px;
  transition: color .25s ease, background .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}

.constellation-node::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid transparent;
  border-radius: inherit;
  background: rgba(9, 22, 33, 0);
  transition: inherit;
}

.constellation-node:hover,
.constellation-node:focus-visible {
  color: #f4fbff;
  transform: translateY(-4px);
}

.constellation-node:hover::before,
.constellation-node:focus-visible::before {
  border-color: rgba(150, 197, 225, .14);
  background: rgba(8, 21, 32, .72);
  box-shadow: 0 14px 34px rgba(0, 4, 10, .25), inset 0 1px rgba(255, 255, 255, .025);
  backdrop-filter: blur(12px);
}

.constellation-node:focus-visible,
.constellation-dock-item:focus-visible {
  outline: 1px solid rgba(187, 224, 245, .8);
  outline-offset: 4px;
}

.constellation-node-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: rgba(183, 218, 238, .78);
  border: 1px solid rgba(153, 194, 218, .14);
  border-radius: 50%;
  background: rgba(12, 29, 42, .68);
  box-shadow: inset 0 0 16px rgba(99, 160, 197, .05);
}

.constellation-node-icon svg,
.dock-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.constellation-node > span:last-child,
.constellation-dock-item > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.constellation-node strong,
.constellation-dock-item strong {
  color: inherit;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.1;
  white-space: nowrap;
}

.constellation-node small,
.constellation-dock-item small {
  color: rgba(161, 190, 208, .47);
  font-size: 9px;
  font-weight: 430;
  white-space: nowrap;
}

.node-modules { left: 146px; top: 177px; }
.node-plugins { left: 333px; top: 85px; }
.node-macros { left: 526px; top: 43px; }
.node-textures { left: 721px; top: 34px; }
.node-vfx { left: 916px; top: 43px; }
.node-sound { left: 1109px; top: 85px; }
.node-three-d { left: 1296px; top: 177px; }

.constellation-dock {
  position: absolute;
  z-index: 6;
  width: 754px;
  min-height: 72px;
  left: 423px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px;
  border: 1px solid rgba(150, 191, 217, .1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 24, 36, .78), rgba(5, 15, 24, .88));
  box-shadow: 0 20px 55px rgba(0, 4, 10, .32), inset 0 1px rgba(255, 255, 255, .025);
  backdrop-filter: blur(16px);
}

.constellation-dock::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 1px;
  height: 18px;
  background: linear-gradient(rgba(144, 187, 213, .02), rgba(144, 187, 213, .3));
}

.constellation-dock-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: rgba(211, 230, 241, .72);
  border-right: 1px solid rgba(151, 190, 213, .08);
  border-radius: 9px;
  transition: color .25s ease, background .25s ease;
}

.constellation-dock-item:last-child {
  border-right: 0;
}

.constellation-dock a:hover,
.constellation-dock a:focus-visible {
  color: #f0f9ff;
  background: rgba(91, 141, 174, .08);
}

.dock-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: rgba(167, 207, 232, .68);
}

.dock-icon svg {
  width: 16px;
  height: 16px;
}

@keyframes constellation-draw { to { stroke-dashoffset: 0; } }
@keyframes constellation-turn { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .constellation-console {
    max-width: 100%;
  }

  .constellation-os {
    height: auto;
    padding: 22px;
  }

  .constellation-pan {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .constellation-map,
  .constellation-heading {
    display: none;
  }

  .constellation-core {
    position: relative;
    width: 210px;
    height: 210px;
    inset: auto;
    justify-self: center;
    margin: 0 auto 4px;
  }

  .constellation-products {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .constellation-node {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 62px;
    border: 1px solid rgba(150, 195, 222, .09);
    background: rgba(8, 21, 32, .56);
  }

  .constellation-node::before {
    display: none;
  }

  .constellation-dock {
    position: relative;
    width: 100%;
    min-height: 0;
    inset: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }

  .constellation-dock::before {
    display: none;
  }

  .constellation-dock-item,
  .constellation-dock-item:last-child {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .constellation-os {
    padding: 14px;
  }

  .constellation-core {
    width: 184px;
    height: 184px;
  }

  .constellation-glyph {
    width: 58px;
    height: 68px;
  }

  .constellation-core-copy {
    bottom: 34px;
  }

  .constellation-products,
  .constellation-dock {
    grid-template-columns: 1fr;
  }

  .constellation-node {
    min-height: 58px;
  }

  .constellation-dock-item {
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .constellation-segments path,
  .constellation-core-rings::before {
    animation: none;
    stroke-dashoffset: 0;
  }

  .constellation-node,
  .constellation-node::before,
  .constellation-dock-item {
    transition: none;
  }
}

/* Celestial Archive hero: redesign/home2.html */
.celestial-console {
  max-width: 100vw;
  overflow: hidden;
}

.celestial-archive {
  height: 680px;
  border-color: rgba(218, 195, 143, .17);
  background: #08131d;
  box-shadow: 0 50px 140px rgba(0, 0, 0, .5), inset 0 1px rgba(255, 244, 214, .05);
}

.celestial-archive::before {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 9, 15, .92), transparent 8%, transparent 92%, rgba(3, 9, 15, .92)),
    linear-gradient(180deg, rgba(5, 11, 18, .56), transparent 18%, transparent 78%, rgba(4, 10, 16, .78));
}

.celestial-archive::after {
  display: none;
}

.celestial-backdrop {
  position: absolute;
  inset: -35px -50px;
  z-index: -2;
  background: linear-gradient(180deg, rgba(8, 20, 29, .08), rgba(4, 13, 21, .38));
  filter: none;
  transform: scale(1.04);
  will-change: transform;
}

.celestial-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 53%, transparent 15%, rgba(4, 13, 20, .18) 48%, rgba(2, 7, 12, .72) 100%),
    linear-gradient(115deg, rgba(19, 35, 49, .52), transparent 40%, rgba(34, 24, 29, .25));
  pointer-events: none;
}

.celestial-pan {
  height: 680px;
}

.celestial-chart {
  position: absolute;
  inset: 0;
  width: 1600px;
  height: 680px;
  pointer-events: none;
}

.celestial-engraving path,
.celestial-engraving circle {
  fill: none;
  stroke: url(#archiveGold);
  stroke-width: .7;
  opacity: .38;
  vector-effect: non-scaling-stroke;
}

.celestial-engraving path:nth-child(2) {
  stroke-dasharray: 2 7;
  opacity: .3;
}

.celestial-engraving circle:nth-of-type(1) {
  stroke-dasharray: 1 9;
}

.celestial-stars path {
  fill: rgba(239, 218, 165, .72);
  filter: drop-shadow(0 0 7px rgba(231, 200, 131, .3));
}

.archive-heading {
  position: absolute;
  z-index: 5;
  top: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(237, 221, 183, .75);
  transform: translateX(-50%);
}

.archive-heading span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: .27em;
}

.archive-heading i {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(229, 204, 148, .5), transparent);
}

.archive-heading small {
  color: rgba(205, 217, 218, .52);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-style: italic;
  letter-spacing: .04em;
}

.archive-disciplines {
  position: absolute;
  inset: 0;
}

.archive-seal {
  --seal-accent: #dfc786;
  position: absolute;
  z-index: 7;
  width: 152px;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 23px 12px 16px;
  color: rgba(243, 235, 210, .92);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--seal-accent) 40%, transparent);
  border-radius: 50% 50% 24px 24px / 32% 32% 18px 18px;
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--seal-accent) 16%, transparent), transparent 35%),
    linear-gradient(180deg, rgba(22, 34, 45, .78), rgba(10, 21, 30, .9));
  box-shadow:
    0 21px 46px rgba(0, 5, 10, .28),
    inset 0 0 0 4px rgba(238, 220, 177, .025),
    inset 0 1px rgba(255, 243, 211, .06);
  backdrop-filter: blur(7px);
  transition: color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.archive-seal::before,
.archive-seal::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.archive-seal::before {
  inset: 7px;
  border: 1px solid rgba(237, 217, 168, .1);
  border-radius: inherit;
}

.archive-seal::after {
  width: 8px;
  height: 8px;
  top: -5px;
  left: 50%;
  border: 1px solid color-mix(in srgb, var(--seal-accent) 60%, transparent);
  background: #101c25;
  transform: translateX(-50%) rotate(45deg);
}

.archive-seal:hover,
.archive-seal:focus-visible,
.archive-seal.is-guided {
  color: #fff8e9;
  border-color: color-mix(in srgb, var(--seal-accent) 72%, transparent);
  box-shadow:
    0 27px 55px rgba(0, 5, 10, .4),
    0 0 35px color-mix(in srgb, var(--seal-accent) 14%, transparent),
    inset 0 0 0 4px rgba(248, 230, 185, .04),
    inset 0 1px rgba(255, 247, 224, .11);
  transform: translateY(-8px);
}

.archive-seal:focus-visible,
.archive-wayfinder a:focus-visible {
  outline: 1px solid rgba(255, 235, 189, .9);
  outline-offset: 5px;
}

.seal-crown {
  position: absolute;
  width: 54px;
  height: 16px;
  top: -11px;
  left: 50%;
  border-top: 1px solid color-mix(in srgb, var(--seal-accent) 58%, transparent);
  transform: translateX(-50%);
}

.seal-crown::before,
.seal-crown::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: -5px;
  border-top: 1px solid color-mix(in srgb, var(--seal-accent) 45%, transparent);
}

.seal-crown::before { left: -4px; transform: rotate(-35deg); }
.seal-crown::after { right: -4px; transform: rotate(35deg); }

.seal-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: var(--seal-accent);
  border: 1px solid color-mix(in srgb, var(--seal-accent) 35%, transparent);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--seal-accent) 15%, transparent), rgba(5, 15, 23, .42) 68%);
  box-shadow: inset 0 0 22px rgba(255, 239, 199, .025), 0 0 18px color-mix(in srgb, var(--seal-accent) 8%, transparent);
}

.seal-icon svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.archive-seal strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.05;
}

.archive-seal small {
  margin-top: 5px;
  color: rgba(208, 215, 208, .6);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.archive-seal em {
  margin-top: 12px;
  color: color-mix(in srgb, var(--seal-accent) 72%, #b8c5c7);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-style: italic;
  opacity: .72;
}

.seal-modules { --seal-accent: #ddc884; left: 113px; top: 188px; transform: rotate(-2deg); }
.seal-plugins { --seal-accent: #a8cbd0; left: 309px; top: 93px; transform: rotate(1.5deg); }
.seal-macros { --seal-accent: #c0a7d6; left: 505px; top: 42px; transform: rotate(-1deg); }
.seal-textures { --seal-accent: #d8b982; left: 724px; top: 27px; }
.seal-vfx { --seal-accent: #96bcd8; left: 943px; top: 42px; transform: rotate(1deg); }
.seal-sound { --seal-accent: #c7a6a4; left: 1139px; top: 93px; transform: rotate(-1.5deg); }
.seal-three-d { --seal-accent: #a8c89c; left: 1335px; top: 188px; transform: rotate(2deg); }

.seal-modules:hover, .seal-modules:focus-visible, .seal-modules.is-guided { transform: rotate(-2deg) translateY(-8px); }
.seal-plugins:hover, .seal-plugins:focus-visible, .seal-plugins.is-guided { transform: rotate(1.5deg) translateY(-8px); }
.seal-macros:hover, .seal-macros:focus-visible, .seal-macros.is-guided { transform: rotate(-1deg) translateY(-8px); }
.seal-vfx:hover, .seal-vfx:focus-visible, .seal-vfx.is-guided { transform: rotate(1deg) translateY(-8px); }
.seal-sound:hover, .seal-sound:focus-visible, .seal-sound.is-guided { transform: rotate(-1.5deg) translateY(-8px); }
.seal-three-d:hover, .seal-three-d:focus-visible, .seal-three-d.is-guided { transform: rotate(2deg) translateY(-8px); }

.archive-relic {
  position: absolute;
  z-index: 6;
  width: 304px;
  height: 304px;
  left: 648px;
  top: 270px;
  display: grid;
  place-items: center;
  color: #fff4d7;
}

.relic-astrolabe,
.relic-astrolabe i {
  position: absolute;
  border-radius: 50%;
}

.relic-astrolabe {
  inset: 0;
  border: 1px solid rgba(230, 210, 162, .26);
  background: radial-gradient(circle, rgba(216, 235, 228, .12), rgba(32, 61, 70, .06) 46%, rgba(5, 13, 20, .14) 68%, transparent 69%);
  box-shadow: 0 0 60px rgba(191, 216, 208, .08), inset 0 0 70px rgba(220, 202, 157, .035);
}

.relic-astrolabe::before,
.relic-astrolabe::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.relic-astrolabe::before {
  inset: 15px;
  border: 1px dashed rgba(232, 212, 165, .24);
  animation: archive-rotate 50s linear infinite;
}

.relic-astrolabe::after {
  inset: 44px;
  border: 1px solid rgba(226, 208, 166, .2);
  box-shadow: inset 0 0 28px rgba(201, 226, 221, .08);
}

.relic-astrolabe i:nth-child(1) { inset: 31px; border: 1px dotted rgba(189, 216, 216, .2); animation: archive-rotate 35s linear infinite reverse; }
.relic-astrolabe i:nth-child(2) { width: 1px; height: 276px; top: 14px; left: 151px; border-radius: 0; background: linear-gradient(transparent, rgba(229, 210, 165, .28), transparent); transform: rotate(34deg); }
.relic-astrolabe i:nth-child(3) { width: 1px; height: 276px; top: 14px; left: 151px; border-radius: 0; background: linear-gradient(transparent, rgba(181, 213, 215, .18), transparent); transform: rotate(-58deg); }
.relic-astrolabe i:nth-child(4) { inset: 78px; border: 1px solid rgba(244, 226, 182, .12); background: radial-gradient(circle, rgba(209, 235, 231, .13), transparent 65%); }

.relic-glyph {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 98px;
  margin-top: -54px;
  background: linear-gradient(160deg, #fff8dc, #d9d6b0 47%, #8eb2b5);
  clip-path: polygon(57% 0, 11% 55%, 45% 55%, 30% 100%, 91% 37%, 55% 37%);
  filter: drop-shadow(0 0 16px rgba(247, 226, 175, .42)) drop-shadow(0 0 52px rgba(164, 213, 215, .2));
}

.relic-copy {
  position: absolute;
  z-index: 3;
  width: 250px;
  bottom: 37px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.relic-copy small {
  color: rgba(233, 212, 165, .68);
  font-size: 8px;
  letter-spacing: .24em;
}

.relic-copy strong {
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.04em;
}

.relic-copy p {
  margin: 5px 0 0;
  color: rgba(215, 223, 216, .61);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  line-height: 1.45;
}

.archive-lore {
  position: absolute;
  z-index: 7;
  width: 245px;
  left: 355px;
  top: 400px;
  padding-left: 18px;
  border-left: 1px solid rgba(224, 203, 156, .32);
  color: rgba(237, 228, 207, .85);
}

.archive-lore span {
  color: rgba(224, 201, 150, .55);
  font-size: 8px;
  letter-spacing: .19em;
}

.archive-lore strong {
  display: block;
  margin-top: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
}

.archive-lore p {
  margin: 5px 0 0;
  color: rgba(196, 210, 210, .55);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  line-height: 1.45;
}

.archive-wayfinder {
  position: absolute;
  z-index: 8;
  width: 786px;
  min-height: 76px;
  left: 407px;
  bottom: 17px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 8px 8px;
  border-top: 1px solid rgba(226, 206, 161, .24);
  border-bottom: 1px solid rgba(156, 187, 192, .08);
  background: linear-gradient(90deg, transparent, rgba(8, 20, 29, .7) 8%, rgba(8, 20, 29, .78) 92%, transparent);
}

.wayfinder-title {
  position: absolute;
  top: -17px;
  left: 50%;
  padding: 0 13px;
  color: rgba(231, 211, 168, .62);
  background: rgba(7, 17, 25, .72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: .25em;
  transform: translateX(-50%);
}

.archive-wayfinder > a,
.archive-wayfinder > article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  color: rgba(219, 224, 211, .72);
  border-right: 1px solid rgba(220, 204, 169, .1);
  transition: color .25s ease, background .25s ease;
}

.archive-wayfinder > :last-child { border-right: 0; }
.archive-wayfinder > a:hover, .archive-wayfinder > a:focus-visible, .archive-wayfinder > .is-guided { color: #fff4d4; background: linear-gradient(90deg, transparent, rgba(204, 183, 137, .06), transparent); }

.wayfinder-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: rgba(224, 207, 166, .73);
}

.wayfinder-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.archive-wayfinder > * > span:last-child { min-width: 0; display: grid; gap: 3px; }
.archive-wayfinder strong { color: inherit; font-family: Georgia, "Times New Roman", serif; font-size: 12px; font-weight: 500; white-space: nowrap; }
.archive-wayfinder small { color: rgba(180, 201, 201, .5); font-size: 9px; white-space: nowrap; }

.celestial-familiar {
  --familiar-x: 774px;
  --familiar-y: 323px;
  position: absolute;
  z-index: 20;
  width: 56px;
  height: 44px;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: .96;
  transform: translate3d(var(--familiar-x), var(--familiar-y), 0) rotate(var(--familiar-rotate, 0deg)) scale(var(--familiar-scale, .72));
  transform-origin: 50% 50%;
  will-change: transform;
}

.celestial-familiar svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 7px rgba(243, 221, 168, .52)) drop-shadow(0 0 18px rgba(143, 207, 214, .28));
}

.familiar-aura {
  position: absolute;
  inset: -13px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 226, 171, .21), rgba(144, 205, 211, .07) 35%, transparent 68%);
  animation: familiar-aura 2.8s ease-in-out infinite;
}

.familiar-wing,
.familiar-tail {
  fill: rgba(225, 239, 222, .88);
  stroke: rgba(255, 234, 181, .86);
  stroke-width: .65;
  transform-box: fill-box;
}

.familiar-wing-left { transform-origin: 100% 60%; animation: familiar-wing-left .42s ease-in-out infinite alternate; }
.familiar-wing-right { transform-origin: 0 60%; animation: familiar-wing-right .42s ease-in-out infinite alternate; }
.familiar-tail { fill: rgba(151, 204, 207, .52); }
.familiar-body { fill: #f4db9e; }
.familiar-antenna { fill: none; stroke: rgba(248, 228, 181, .9); stroke-width: 1; stroke-linecap: round; }

.celestial-particles {
  position: absolute;
  inset: 0;
  z-index: 18;
  overflow: hidden;
  pointer-events: none;
}

.celestial-dust {
  position: absolute;
  width: var(--dust-size, 3px);
  height: var(--dust-size, 3px);
  border-radius: 50%;
  background: radial-gradient(circle, #fff1bd, rgba(190, 222, 211, .75) 42%, transparent 70%);
  box-shadow: 0 0 7px rgba(234, 213, 157, .6);
  animation: celestial-dust-fade var(--dust-life, 900ms) ease-out forwards;
}

@keyframes archive-rotate { to { transform: rotate(360deg); } }
@keyframes familiar-wing-left { from { transform: rotate(13deg) scaleX(.78); } to { transform: rotate(-11deg) scaleX(1.04); } }
@keyframes familiar-wing-right { from { transform: rotate(-13deg) scaleX(.78); } to { transform: rotate(11deg) scaleX(1.04); } }
@keyframes familiar-aura { 50% { opacity: .55; transform: scale(.82); } }
@keyframes celestial-dust-fade { from { opacity: .95; transform: translate3d(0, 0, 0) scale(1); } to { opacity: 0; transform: translate3d(var(--dust-drift-x), var(--dust-drift-y), 0) scale(.1); } }

@media (max-width: 900px) {
  .celestial-console { max-width: 100%; }
  .celestial-archive { height: auto; min-height: 0; padding: 24px; }
  .celestial-backdrop { inset: 0; background-position: center top; }
  .celestial-pan { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .celestial-chart, .archive-heading, .archive-lore, .celestial-familiar, .celestial-particles { display: none; }
  .archive-disciplines { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; order: 2; }
  .archive-seal, .archive-seal:hover, .archive-seal:focus-visible, .archive-seal.is-guided { position: relative; inset: auto; width: 100%; min-height: 170px; transform: none; }
  .archive-relic { position: relative; inset: auto; width: 260px; height: 260px; justify-self: center; order: 1; }
  .archive-wayfinder { position: relative; inset: auto; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; order: 3; }
  .archive-wayfinder > a, .archive-wayfinder > article { border-right: 0; }
}

@media (max-width: 560px) {
  .celestial-archive { padding: 16px; }
  .archive-disciplines, .archive-wayfinder { grid-template-columns: 1fr; }
  .archive-seal { min-height: 154px; }
  .archive-relic { width: 226px; height: 226px; }
  .relic-glyph { width: 66px; height: 80px; }
  .relic-copy { bottom: 25px; }
  .relic-copy p { max-width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .relic-astrolabe::before,
  .relic-astrolabe i:nth-child(1),
  .familiar-aura,
  .familiar-wing-left,
  .familiar-wing-right,
  .celestial-dust {
    animation: none;
  }

  .celestial-familiar {
    display: none;
  }
}

/* Celestial Archive refinement */
.flow-hero:has(.celestial-console) {
  min-height: auto;
}

.celestial-console {
  width: min(1920px, 100vw);
  max-width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.celestial-archive {
  height: 920px;
  max-width: 1920px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(119, 151, 168, .1), transparent 31%),
    radial-gradient(ellipse at 13% 36%, rgba(72, 93, 129, .14), transparent 31%),
    radial-gradient(ellipse at 88% 25%, rgba(82, 105, 135, .12), transparent 30%),
    linear-gradient(180deg, #07121c 0%, #081621 47%, #050e17 100%);
}

.celestial-backdrop {
  inset: 0;
  background:
    radial-gradient(ellipse at 19% 20%, rgba(104, 125, 160, .17), transparent 30%),
    radial-gradient(ellipse at 75% 18%, rgba(85, 120, 137, .14), transparent 31%),
    radial-gradient(ellipse at 49% 54%, rgba(126, 150, 149, .08), transparent 36%),
    radial-gradient(ellipse at 12% 73%, rgba(74, 83, 125, .11), transparent 27%),
    radial-gradient(ellipse at 88% 68%, rgba(105, 86, 113, .08), transparent 28%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 84px, rgba(219, 209, 174, .025) 85px, transparent 86px),
    linear-gradient(150deg, rgba(14, 30, 43, .4), rgba(4, 13, 22, .12));
  filter: none;
  transform: none;
}

.celestial-backdrop::before,
.celestial-backdrop::after {
  content: "";
  position: absolute;
  inset: -12%;
  opacity: .64;
  filter: blur(42px);
  background:
    radial-gradient(ellipse at 18% 34%, rgba(89, 107, 145, .2), transparent 22%),
    radial-gradient(ellipse at 68% 28%, rgba(92, 128, 139, .15), transparent 24%),
    radial-gradient(ellipse at 53% 75%, rgba(116, 103, 124, .1), transparent 24%);
  transform: rotate(-5deg);
}

.celestial-backdrop::after {
  opacity: .36;
  filter: blur(65px);
  transform: rotate(7deg) scale(1.08);
}

.celestial-vignette {
  background:
    radial-gradient(ellipse at 50% 37%, transparent 10%, rgba(3, 10, 17, .12) 51%, rgba(2, 7, 12, .68) 100%),
    linear-gradient(180deg, rgba(3, 9, 15, .2), transparent 16%, transparent 80%, rgba(2, 7, 12, .64));
}

.celestial-pan {
  height: 920px;
}

.celestial-chart {
  height: 920px;
}

.celestial-background-constellations path {
  fill: none;
  stroke: rgba(194, 207, 203, .16);
  stroke-width: .65;
  stroke-dasharray: 1 5;
}

.celestial-background-constellations circle {
  fill: rgba(237, 221, 177, .48);
  filter: drop-shadow(0 0 5px rgba(223, 207, 166, .2));
}

.archive-top-divider {
  position: absolute;
  z-index: 8;
  top: 13px;
  left: 50%;
  width: min(1120px, calc(100% - 100px));
  display: grid;
  grid-template-columns: 18px minmax(40px, 1fr) auto 26px auto minmax(40px, 1fr) 18px;
  align-items: center;
  gap: 9px;
  color: rgba(231, 213, 173, .54);
  transform: translateX(-50%);
  pointer-events: none;
}

.archive-top-divider i {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(225, 205, 162, .26);
  transform: rotate(45deg);
}

.archive-top-divider b {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 204, 162, .32));
}

.archive-top-divider b:nth-of-type(2) {
  background: linear-gradient(90deg, rgba(224, 204, 162, .32), transparent);
}

.archive-top-divider > span:not(.archive-divider-star) {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .24em;
  white-space: nowrap;
}

.archive-divider-star {
  font-size: 10px;
  color: rgba(241, 219, 169, .7);
}

.archive-heading {
  top: 47px;
}

.archive-wayfinder {
  bottom: auto;
  top: 575px;
}

.archive-introduction {
  position: absolute;
  z-index: 8;
  width: 1120px;
  left: 240px;
  top: 684px;
  color: rgba(229, 229, 214, .82);
}

.archive-introduction > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  padding: 0 3px 13px;
  border-bottom: 1px solid rgba(225, 206, 165, .16);
}

.archive-introduction > header small {
  color: rgba(225, 204, 157, .58);
  font-size: 8px;
  letter-spacing: .22em;
}

.archive-introduction > header h2 {
  margin: 0;
  color: rgba(236, 234, 216, .88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.015em;
}

.archive-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.archive-intro-grid article {
  position: relative;
  min-height: 142px;
  padding: 20px 22px 18px 70px;
  border: 1px solid rgba(221, 204, 164, .14);
  background:
    linear-gradient(135deg, rgba(217, 203, 169, .025), transparent 48%),
    rgba(7, 19, 29, .58);
  box-shadow: inset 0 0 0 4px rgba(237, 222, 188, .015), 0 15px 38px rgba(0, 4, 9, .18);
}

.archive-intro-grid article::before,
.archive-intro-grid article::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border-color: rgba(227, 207, 162, .24);
}

.archive-intro-grid article::before {
  top: 6px;
  left: 6px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.archive-intro-grid article::after {
  right: 6px;
  bottom: 6px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.archive-intro-number {
  position: absolute;
  top: 13px;
  right: 15px;
  color: rgba(224, 203, 156, .28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
}

.archive-intro-icon {
  position: absolute;
  top: 27px;
  left: 22px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: rgba(224, 205, 165, .67);
}

.archive-intro-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.archive-intro-grid h3 {
  margin: 3px 0 8px;
  color: rgba(242, 238, 220, .9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
}

.archive-intro-grid p {
  margin: 0;
  color: rgba(194, 207, 207, .58);
  font-size: 11px;
  line-height: 1.55;
}

.celestial-dialog {
  width: min(470px, calc(100% - 32px));
  padding: 0;
  color: #f4ecd7;
  border: 0;
  background: transparent;
  overflow: visible;
}

.celestial-dialog::backdrop {
  background: rgba(2, 8, 13, .76);
  backdrop-filter: blur(8px);
}

.celestial-dialog-frame {
  position: relative;
  padding: 42px 40px 34px;
  text-align: center;
  border: 1px solid rgba(230, 208, 160, .28);
  background:
    radial-gradient(circle at 50% 0, rgba(114, 148, 156, .15), transparent 40%),
    linear-gradient(180deg, rgba(11, 26, 36, .98), rgba(5, 15, 23, .99));
  box-shadow: 0 40px 110px rgba(0, 0, 0, .58), inset 0 0 0 5px rgba(245, 229, 194, .025);
}

.celestial-dialog-frame::before,
.celestial-dialog-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(228, 208, 166, .07);
  pointer-events: none;
}

.celestial-dialog-frame::after {
  inset: -8px 22px;
  border-top-color: rgba(229, 208, 163, .18);
  border-bottom-color: rgba(229, 208, 163, .18);
  border-right: 0;
  border-left: 0;
}

.celestial-dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 14px;
  width: 29px;
  height: 29px;
  color: rgba(235, 219, 183, .62);
  border: 1px solid rgba(226, 207, 166, .16);
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.celestial-dialog-sigil {
  display: block;
  margin-bottom: 11px;
  color: rgba(240, 216, 165, .82);
  font-size: 19px;
  text-shadow: 0 0 18px rgba(222, 199, 146, .32);
}

.celestial-dialog-frame > small {
  color: rgba(221, 200, 154, .54);
  font-size: 8px;
  letter-spacing: .22em;
}

.celestial-dialog h2 {
  margin: 9px 0 9px;
  color: #f2ead6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.celestial-dialog p {
  max-width: 330px;
  margin: 0 auto;
  color: rgba(202, 214, 211, .62);
  font-size: 12px;
  line-height: 1.55;
}

.celestial-dialog-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 25px;
}

.celestial-dialog-actions button,
.celestial-dialog-actions a {
  min-width: 118px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(225, 207, 169, .2);
  color: rgba(232, 229, 213, .78);
  background: rgba(7, 18, 27, .72);
  font-size: 11px;
  cursor: pointer;
}

.celestial-dialog-actions a {
  color: #172026;
  border-color: rgba(237, 219, 181, .78);
  background: linear-gradient(180deg, #e5d7b6, #cbb98f);
}

.celestial-dialog-actions button:focus-visible,
.celestial-dialog-actions a:focus-visible,
.celestial-dialog-close:focus-visible {
  outline: 1px solid #f1dca9;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .celestial-console { width: 100%; margin-right: 0; margin-left: 0; }
  .celestial-archive { height: auto; }
  .celestial-pan { height: auto; }
  .archive-top-divider { width: calc(100% - 42px); grid-template-columns: 10px 1fr auto 18px auto 1fr 10px; }
  .archive-top-divider > span:not(.archive-divider-star) { display: none; }
  .archive-introduction { position: relative; inset: auto; width: 100%; order: 4; }
  .archive-introduction > header { display: block; }
  .archive-introduction > header h2 { margin-top: 7px; }
  .archive-intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .archive-intro-grid { grid-template-columns: 1fr; }
  .archive-intro-grid article { min-height: 130px; }
  .celestial-dialog-frame { padding: 38px 22px 27px; }
  .celestial-dialog-actions { flex-direction: column-reverse; }
  .celestial-dialog-actions button, .celestial-dialog-actions a { width: 100%; }
}

.celestial-familiar {
  width: 44px;
  height: 34px;
  transform: translate3d(var(--familiar-x), var(--familiar-y), 0) perspective(180px) rotateX(var(--familiar-rotate-x, 0deg)) rotateY(var(--familiar-rotate-y, 0deg)) rotateZ(var(--familiar-rotate-z, 0deg)) scale(var(--familiar-scale, .66));
  transform-style: preserve-3d;
}

.celestial-familiar:not(.is-flying) .familiar-wing-left {
  animation-duration: 1.55s;
  animation-timing-function: ease-in-out;
}

.celestial-familiar:not(.is-flying) .familiar-wing-right {
  animation-duration: 1.55s;
  animation-timing-function: ease-in-out;
}

.celestial-familiar.is-flying .familiar-wing-left,
.celestial-familiar.is-flying .familiar-wing-right {
  animation-duration: .62s;
}

.celestial-dust {
  box-shadow: 0 0 8px rgba(241, 218, 160, .72), 0 0 16px rgba(151, 205, 211, .22);
}

.celestial-spark {
  background: radial-gradient(circle, #f8f4dd 0 18%, #b7dfe2 38%, rgba(221, 199, 146, .45) 56%, transparent 72%);
  box-shadow: 0 0 9px rgba(220, 238, 231, .86), 0 0 19px rgba(146, 202, 208, .46);
}

/* Celestial Archive final composition */
.flow-page {
  overflow-x: clip;
}

.flow-main:has(.celestial-console) {
  width: min(1320px, calc(100% - 64px));
  padding-bottom: 0;
}

.flow-hero:has(.celestial-console) {
  min-height: 0;
  align-content: start;
}

.celestial-console {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  overflow: hidden;
  transform: translateX(-50%);
}

.celestial-archive {
  width: 100%;
  max-width: none;
  height: 1060px;
  margin: 0;
  border-right: 0;
  border-left: 0;
  background:
    radial-gradient(ellipse at 50% 27%, rgba(224, 239, 239, .2), transparent 28%),
    radial-gradient(ellipse at 12% 31%, rgba(156, 194, 215, .3), transparent 34%),
    radial-gradient(ellipse at 88% 25%, rgba(183, 208, 222, .26), transparent 32%),
    radial-gradient(ellipse at 55% 78%, rgba(185, 201, 219, .18), transparent 35%),
    linear-gradient(180deg, #7fa5b9 0%, #789cad 29%, #638493 56%, #46616f 100%);
}

.celestial-archive::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(35, 58, 70, .2), transparent 7%, transparent 93%, rgba(35, 58, 70, .2)),
    linear-gradient(180deg, rgba(35, 57, 68, .12), transparent 14%, transparent 90%, rgba(27, 44, 54, .26));
}

.celestial-backdrop {
  inset: 0;
  background:
    radial-gradient(ellipse at 5% 21%, rgba(235, 245, 242, .5), transparent 22%),
    radial-gradient(ellipse at 22% 14%, rgba(207, 227, 237, .38), transparent 26%),
    radial-gradient(ellipse at 78% 12%, rgba(225, 235, 239, .38), transparent 25%),
    radial-gradient(ellipse at 99% 27%, rgba(232, 238, 232, .44), transparent 23%),
    radial-gradient(ellipse at 15% 72%, rgba(210, 222, 235, .28), transparent 29%),
    radial-gradient(ellipse at 85% 73%, rgba(218, 212, 232, .24), transparent 30%),
    repeating-radial-gradient(circle at 50% 38%, transparent 0 92px, rgba(247, 242, 215, .055) 93px, transparent 94px),
    linear-gradient(145deg, rgba(209, 230, 236, .18), rgba(82, 113, 130, .08));
}

.celestial-backdrop::before,
.celestial-backdrop::after {
  inset: -8%;
  opacity: .9;
  filter: blur(38px);
  background:
    radial-gradient(ellipse at 11% 35%, rgba(239, 246, 241, .56), transparent 21%),
    radial-gradient(ellipse at 30% 18%, rgba(199, 221, 235, .42), transparent 20%),
    radial-gradient(ellipse at 72% 21%, rgba(224, 230, 236, .4), transparent 22%),
    radial-gradient(ellipse at 91% 42%, rgba(235, 241, 235, .48), transparent 23%),
    radial-gradient(ellipse at 54% 82%, rgba(194, 211, 226, .3), transparent 26%);
  transform: rotate(-4deg);
}

.celestial-backdrop::after {
  opacity: .55;
  filter: blur(60px);
  transform: rotate(7deg) scale(1.08);
}

.celestial-vignette {
  background:
    radial-gradient(ellipse at 50% 35%, transparent 15%, rgba(37, 59, 70, .04) 60%, rgba(28, 46, 57, .16) 100%),
    linear-gradient(180deg, rgba(37, 61, 72, .04), transparent 78%, rgba(28, 45, 55, .2));
}

.celestial-pan,
.celestial-chart {
  height: 1060px;
}

.archive-top-divider {
  z-index: 30;
  top: 18px;
  width: min(1260px, calc(100% - 80px));
  grid-template-columns: 14px minmax(60px, 1fr) auto 28px auto minmax(60px, 1fr) 14px;
  color: rgba(250, 246, 224, .9);
  text-shadow: 0 1px 8px rgba(34, 55, 66, .35);
}

.archive-top-divider i {
  border-color: rgba(249, 242, 211, .72);
  box-shadow: 0 0 12px rgba(231, 244, 244, .28);
}

.archive-top-divider b {
  height: 3px;
  border-top: 1px solid rgba(251, 246, 219, .68);
  border-bottom: 1px solid rgba(226, 239, 238, .32);
  background: transparent;
}

.archive-top-divider > span:not(.archive-divider-star) {
  font-size: 9px;
  letter-spacing: .22em;
}

.archive-divider-star,
.archive-live-star {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 8px rgba(226, 246, 250, .72));
}

.archive-divider-star::before,
.archive-divider-star::after,
.archive-live-star::before,
.archive-live-star::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(180deg, #fff, #cdeaf5 62%, #94c2dc);
  transform: translate(-50%, -50%);
}

.archive-divider-star::before,
.archive-live-star::before {
  width: 4px;
  height: 18px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.archive-divider-star::after,
.archive-live-star::after {
  width: 18px;
  height: 4px;
  clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
}

.celestial-engraving path,
.celestial-engraving circle {
  stroke: rgba(248, 241, 211, .32);
}

.celestial-stars path {
  fill: rgba(255, 248, 218, .82);
}

.celestial-background-constellations path {
  stroke: rgba(245, 246, 230, .34);
}

.celestial-background-constellations circle {
  fill: rgba(255, 250, 224, .76);
}

.archive-seal {
  min-height: 182px;
  color: rgba(255, 251, 232, .96);
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--seal-accent) 22%, transparent), transparent 36%),
    linear-gradient(180deg, rgba(42, 66, 78, .76), rgba(28, 48, 60, .88));
  box-shadow: 0 19px 40px rgba(31, 50, 61, .23), inset 0 0 0 4px rgba(255,255,255,.028), inset 0 1px rgba(255,255,255,.14);
}

.archive-seal small {
  font-size: 10.5px;
  color: rgba(238, 239, 221, .76);
}

.archive-seal em {
  font-size: 10px;
  color: color-mix(in srgb, var(--seal-accent) 74%, #fff7dc);
}

.seal-modules { left: 118px; top: 190px; }
.seal-macros { left: 360px; top: 91px; }
.seal-textures { left: 602px; top: 43px; }
.seal-vfx { left: 846px; top: 43px; }
.seal-sound { left: 1088px; top: 91px; }
.seal-three-d { left: 1330px; top: 190px; }

.archive-relic {
  top: 274px;
}

.archive-lore {
  top: 414px;
  color: rgba(255, 251, 230, .95);
  text-shadow: 0 2px 10px rgba(35, 55, 66, .42);
}

.archive-lore span { font-size: 9px; color: rgba(255, 240, 200, .82); }
.archive-lore p { font-size: 11.5px; color: rgba(240, 244, 232, .78); }

.archive-live-status {
  position: absolute;
  z-index: 12;
  top: 565px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  color: rgba(255, 252, 231, .92);
  border: 1px solid rgba(245, 239, 210, .24);
  background: rgba(47, 72, 84, .4);
  box-shadow: 0 8px 24px rgba(41, 60, 70, .15), inset 0 1px rgba(255,255,255,.12);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.archive-live-status strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-live-star {
  width: 14px;
  height: 14px;
  animation: archive-live-pulse 2.8s ease-in-out infinite;
}

.archive-live-star::before { width: 3px; height: 14px; }
.archive-live-star::after { width: 14px; height: 3px; }

.archive-wayfinder {
  top: 614px;
  color: rgba(255, 251, 232, .92);
  background: linear-gradient(90deg, transparent, rgba(46, 70, 82, .63) 8%, rgba(46, 70, 82, .72) 92%, transparent);
}

.archive-wayfinder strong { font-size: 13px; }
.archive-wayfinder small { font-size: 10px; color: rgba(235, 240, 229, .7); }

.archive-introduction {
  top: 760px;
  width: 1080px;
  left: 260px;
}

.archive-introduction::before {
  content: "";
  position: absolute;
  top: -31px;
  left: 50%;
  width: 760px;
  height: 20px;
  border-top: 1px solid rgba(251, 246, 219, .45);
  border-bottom: 1px solid rgba(233, 243, 240, .18);
  transform: translateX(-50%);
}

.archive-introduction > header {
  justify-content: center;
  display: grid;
  justify-items: center;
  border-bottom: 0;
  margin-bottom: 18px;
  text-align: center;
}

.archive-introduction > header small { font-size: 9px; color: rgba(255, 244, 210, .82); }
.archive-introduction > header h2 { font-size: 22px; color: rgba(255, 253, 238, .96); text-shadow: 0 2px 10px rgba(44, 61, 70, .25); }

.archive-intro-grid {
  gap: 24px;
}

.archive-intro-grid article {
  min-height: 244px;
  padding: 62px 30px 33px;
  text-align: center;
  border: 1px solid rgba(252, 246, 217, .48);
  background:
    radial-gradient(circle at 50% 10%, rgba(229, 243, 242, .16), transparent 31%),
    linear-gradient(180deg, rgba(56, 81, 94, .72), rgba(36, 60, 73, .82));
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.025), 0 16px 38px rgba(39, 57, 67, .2);
}

.archive-intro-grid article::before {
  top: 9px;
  left: 9px;
  width: 24px;
  height: 24px;
}

.archive-intro-grid article::after {
  right: 9px;
  bottom: 9px;
  width: 24px;
  height: 24px;
}

.archive-intro-crest {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 74px;
  height: 25px;
  border-top: 1px solid rgba(255, 248, 219, .66);
  transform: translateX(-50%);
}

.archive-intro-crest::before,
.archive-intro-crest::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 23px;
  height: 23px;
  border-top: 1px solid rgba(255, 248, 219, .52);
}

.archive-intro-crest::before { left: -2px; transform: rotate(-34deg); }
.archive-intro-crest::after { right: -2px; transform: rotate(34deg); }

.archive-intro-number {
  top: 18px;
  right: 20px;
  font-size: 11px;
  color: rgba(255, 244, 210, .54);
}

.archive-intro-icon {
  position: relative;
  top: auto;
  left: auto;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  color: rgba(255, 245, 215, .86);
  border: 1px solid rgba(251, 245, 218, .3);
  border-radius: 50%;
}

.archive-intro-icon svg { width: 31px; height: 31px; }
.archive-intro-grid h3 { margin: 0 0 12px; font-size: 18px; color: rgba(255, 253, 238, .98); }
.archive-intro-grid p { font-size: 12.5px; line-height: 1.6; color: rgba(239, 243, 230, .78); }

.archive-intro-foot {
  position: absolute;
  bottom: 15px;
  left: 50%;
  color: rgba(255, 244, 208, .62);
  font-size: 10px;
  transform: translateX(-50%);
}

@keyframes archive-live-pulse {
  0%, 100% { opacity: .7; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1.18); }
}

@media (max-width: 900px) {
  .flow-main:has(.celestial-console) { width: min(100% - 24px, 640px); }
  .celestial-console { left: auto; width: 100%; transform: none; }
  .celestial-archive { height: auto; background: linear-gradient(180deg, #8bafc0, #668997 48%, #456270); }
  .celestial-pan { height: auto; }
  .archive-top-divider { position: relative; top: auto; width: 100%; grid-template-columns: 10px 1fr auto 18px auto 1fr 10px; margin-bottom: 10px; }
  .archive-top-divider > span:not(.archive-divider-star) { display: none; }
  .archive-disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-live-status { position: relative; inset: auto; justify-self: center; transform: none; order: 3; }
  .archive-wayfinder { order: 4; }
  .archive-introduction { order: 5; }
  .archive-introduction::before { display: none; }
  .archive-intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-intro-grid article { min-height: 235px; }
}

@media (max-width: 560px) {
  .archive-disciplines,
  .archive-intro-grid { grid-template-columns: 1fr; }
  .archive-intro-grid article { min-height: 224px; }
}

@media (prefers-reduced-motion: reduce) {
  .archive-live-star { animation: none; }
}

.celestial-flight-streak {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(210, 238, 245, .18), rgba(255, 245, 205, .68));
  box-shadow: 0 0 8px rgba(208, 239, 244, .28);
  transform-origin: 100% 50%;
  animation: celestial-streak-fade 720ms ease-out forwards;
}

@keyframes celestial-streak-fade {
  from { opacity: .78; }
  to { opacity: 0; width: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .celestial-flight-streak { display: none; }
}

/* Celestial Archive alignment and atmosphere correction */
.flow-hero:has(.celestial-console) {
  overflow: visible;
}

.celestial-console {
  left: auto;
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
  padding-top: 54px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0, rgba(10, 17, 25, .36) 27px, rgba(11, 17, 24, .92) 54px);
  transform: none;
}

.archive-top-divider {
  top: 15px;
  z-index: 50;
  width: min(1260px, calc(100% - 72px));
  color: rgba(231, 224, 203, .82);
}

.archive-top-divider b {
  border-top-color: rgba(225, 217, 195, .54);
  border-bottom-color: rgba(157, 185, 197, .24);
}

.archive-top-divider i {
  border-color: rgba(225, 218, 198, .5);
}

.celestial-archive {
  height: 1060px;
  background:
    radial-gradient(ellipse at 50% 26%, rgba(96, 117, 132, .12), transparent 29%),
    radial-gradient(ellipse at 10% 27%, rgba(119, 83, 82, .19), transparent 33%),
    radial-gradient(ellipse at 90% 25%, rgba(79, 101, 124, .2), transparent 32%),
    radial-gradient(ellipse at 53% 80%, rgba(93, 74, 89, .15), transparent 34%),
    linear-gradient(180deg, #18222d 0%, #19232d 33%, #171e28 64%, #121821 100%);
  border-top: 1px solid rgba(223, 214, 192, .17);
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 -28px 65px rgba(19, 27, 36, .24);
}

.celestial-archive::before {
  background:
    linear-gradient(90deg, rgba(8, 13, 19, .44), transparent 8%, transparent 92%, rgba(8, 13, 19, .44)),
    linear-gradient(180deg, rgba(7, 12, 18, .2), transparent 14%, transparent 88%, rgba(6, 10, 16, .34));
}

.celestial-backdrop {
  opacity: .72;
  background:
    radial-gradient(ellipse at 5% 21%, rgba(174, 151, 148, .18), transparent 24%),
    radial-gradient(ellipse at 24% 13%, rgba(103, 138, 159, .17), transparent 28%),
    radial-gradient(ellipse at 77% 13%, rgba(118, 131, 154, .15), transparent 27%),
    radial-gradient(ellipse at 98% 29%, rgba(144, 110, 118, .17), transparent 25%),
    radial-gradient(ellipse at 15% 74%, rgba(94, 105, 133, .15), transparent 31%),
    radial-gradient(ellipse at 86% 74%, rgba(123, 93, 113, .14), transparent 31%),
    linear-gradient(145deg, rgba(103, 123, 137, .1), rgba(28, 39, 51, .08));
}

.celestial-backdrop::before,
.celestial-backdrop::after {
  opacity: .42;
  filter: blur(22px);
  background:
    radial-gradient(ellipse at 10% 33%, rgba(176, 144, 139, .2), transparent 23%),
    radial-gradient(ellipse at 31% 18%, rgba(96, 132, 153, .2), transparent 22%),
    radial-gradient(ellipse at 71% 20%, rgba(124, 123, 153, .18), transparent 24%),
    radial-gradient(ellipse at 91% 42%, rgba(151, 113, 121, .19), transparent 24%),
    radial-gradient(ellipse at 54% 83%, rgba(102, 93, 121, .16), transparent 27%);
}

.celestial-backdrop::after {
  opacity: .3;
  filter: blur(34px);
}

.celestial-sky-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: .78;
  pointer-events: none;
}

.sky-painted-clouds {
  opacity: .78;
}

.sky-chart-detail circle,
.sky-chart-detail path {
  fill: none;
  stroke: rgba(211, 207, 194, .17);
  stroke-width: .7;
  stroke-dasharray: 1 5;
  vector-effect: non-scaling-stroke;
}

.sky-chart-detail path:nth-child(n+3) {
  stroke-dasharray: none;
  opacity: .5;
}

.sky-wind-lines path {
  fill: none;
  stroke: rgba(190, 211, 216, .16);
  stroke-width: 1.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.celestial-vignette {
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 34%, transparent 20%, rgba(11, 17, 24, .05) 67%, rgba(7, 11, 17, .3) 100%),
    linear-gradient(180deg, rgba(8, 13, 20, .03), transparent 75%, rgba(6, 10, 16, .25));
}

.celestial-pan {
  z-index: 3;
}

.archive-seal {
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--seal-accent) 17%, transparent), transparent 36%),
    linear-gradient(180deg, rgba(31, 49, 61, .86), rgba(19, 34, 45, .94));
  box-shadow: 0 20px 45px rgba(5, 10, 15, .32), inset 0 0 0 4px rgba(255,255,255,.022), inset 0 1px rgba(255,255,255,.08);
}

.archive-live-status {
  background: rgba(25, 41, 52, .68);
}

.archive-wayfinder {
  background: linear-gradient(90deg, transparent, rgba(24, 39, 50, .76) 8%, rgba(24, 39, 50, .82) 92%, transparent);
}

.archive-intro-grid article {
  background:
    radial-gradient(circle at 50% 10%, rgba(150, 179, 184, .09), transparent 31%),
    linear-gradient(180deg, rgba(32, 49, 61, .9), rgba(20, 34, 45, .94));
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.018), 0 18px 42px rgba(4, 9, 14, .28);
}

@media (max-width: 900px) {
  .celestial-console {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-top: 45px;
    background: linear-gradient(180deg, transparent, rgba(13, 21, 29, .88) 45px);
  }

  .archive-top-divider {
    position: absolute;
    top: 12px;
  }

  .celestial-archive {
    background: linear-gradient(180deg, #253541, #202e39 50%, #17232d);
  }
}

/* Final authoritative archive geometry */
.flow-console.ecosystem-console.celestial-console {
  position: relative;
  left: auto;
  width: 100vw;
  max-width: none;
  margin-right: calc((100% - 100vw) / 2);
  margin-left: calc((100% - 100vw) / 2);
  transform: none;
}

.celestial-archive,
.celestial-pan,
.celestial-chart,
.celestial-sky-art {
  height: 1180px;
}

.celestial-archive {
  padding-bottom: 120px;
}

.flow-main:has(.celestial-console) {
  padding-bottom: 88px;
}

.celestial-particles {
  contain: layout paint;
  transform: translateZ(0);
}

.celestial-familiar {
  backface-visibility: hidden;
}

.celestial-dust {
  box-shadow: 0 0 6px rgba(241, 218, 160, .56);
}

.celestial-flight-streak {
  display: none;
}

@media (max-width: 900px) {
  .flow-console.ecosystem-console.celestial-console {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .celestial-archive,
  .celestial-pan,
  .celestial-chart,
  .celestial-sky-art {
    height: auto;
  }

  .celestial-archive {
    padding-bottom: 34px;
  }
}

/* Final familiar and relic interaction authority */
.celestial-familiar.is-flying .familiar-wing-left,
.celestial-familiar.is-flying .familiar-wing-right {
  animation-duration: .28s;
}

.celestial-familiar.is-flying svg {
  animation: none;
}

.relic-title strong {
  margin: 0;
}

/* Shared celestial navigation and mobile archive camera */
:root {
  --celestial-ink: #081018;
  --celestial-panel: rgba(12, 25, 34, .88);
  --celestial-panel-soft: rgba(19, 36, 47, .68);
  --celestial-line: rgba(215, 222, 205, .18);
  --celestial-line-strong: rgba(225, 218, 190, .32);
  --celestial-pearl: #e9e1c9;
  --celestial-blue: #a9d8ea;
}

.flow-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 0 max(32px, calc((100vw - 1720px) / 2));
  border-bottom: 1px solid var(--celestial-line);
  background: rgba(5, 12, 17, .86);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
  backdrop-filter: blur(18px) saturate(1.1);
  isolation: isolate;
}

html {
  scroll-padding-top: 64px;
}

a.archive-relic:not(.is-download-preview) .relic-glyph {
  opacity: 1;
  filter: drop-shadow(0 0 16px rgba(247, 226, 175, .42)) drop-shadow(0 0 52px rgba(164, 213, 215, .2));
  transform: scale(1);
}

a.archive-relic:not(.is-download-preview) .relic-download {
  opacity: 0;
  filter: blur(8px);
  transform: scale(.78);
}

a.archive-relic:not(.is-download-preview) .relic-title strong:first-child {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

a.archive-relic:not(.is-download-preview) .relic-title strong:last-child {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(5px) scale(.96);
}

a.archive-relic:not(.is-download-preview) .relic-astrolabe {
  border-color: rgba(230, 210, 162, .26);
  background: radial-gradient(circle, rgba(216, 235, 228, .12), rgba(32, 61, 70, .06) 46%, rgba(5, 13, 20, .14) 68%, transparent 69%);
  box-shadow: 0 0 60px rgba(191, 216, 208, .08), inset 0 0 70px rgba(220, 202, 157, .035);
}

a.archive-relic.is-download-preview .relic-glyph {
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.14);
}

a.archive-relic.is-download-preview .relic-download {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

a.archive-relic.is-download-preview .relic-title strong:first-child {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(-4px) scale(1.03);
}

a.archive-relic.is-download-preview .relic-title strong:last-child {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

a.archive-relic.is-download-preview .relic-astrolabe {
  border-color: rgba(175, 225, 247, .4);
  background: radial-gradient(circle, rgba(139, 207, 235, .2), rgba(43, 92, 119, .11) 46%, rgba(7, 24, 38, .18) 68%, transparent 69%);
  box-shadow: 0 0 75px rgba(98, 186, 224, .16), inset 0 0 75px rgba(143, 215, 239, .07);
}

.market-page,
.flow-subpage,
.account-page,
.item-template-page {
  background:
    radial-gradient(ellipse at 18% 8%, rgba(91, 126, 143, .11), transparent 31%),
    radial-gradient(ellipse at 86% 14%, rgba(115, 83, 92, .08), transparent 29%),
    linear-gradient(180deg, #071016, #050b0f 62%, #04090c);
}

.market-sidebar,
.download-file,
.account-auth-clean,
.account-card-clean,
.account-stats-clean article,
.item-description-panel,
.item-gallery-panel {
  border-color: var(--celestial-line);
  background-color: var(--celestial-panel);
  box-shadow: inset 0 0 0 4px rgba(233, 225, 201, .012), 0 18px 54px rgba(0, 0, 0, .16);
}

.market-section h2,
.download-minimal-head h1,
.account-auth-clean h2,
.account-card-clean h2,
.item-product-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.market-card,
.blank-card,
.credit-pack-grid-clean article,
.module-license-row,
.purchase-row,
.gift-code-row {
  border-color: var(--celestial-line);
  border-radius: 3px;
}

.blank-card {
  background:
    radial-gradient(circle at 50% 26%, rgba(151, 196, 211, .05), transparent 34%),
    rgba(6, 16, 22, .58);
}

.carousel-arrow,
.market-section-link,
.item-gallery-arrow {
  border-color: var(--celestial-line-strong);
  color: var(--celestial-pearl);
}

@media (max-width: 900px) {
  :root {
    --mobile-flow-header-height: 84px;
  }

  .flow-nav {
    min-height: var(--mobile-flow-header-height);
    height: auto;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    padding: 7px 12px 6px;
  }

  .flow-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .flow-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .flow-nav nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .flow-nav nav::-webkit-scrollbar {
    display: none;
  }

  html {
    scroll-padding-top: var(--mobile-flow-header-height);
  }

  .home-archive-page {
    height: 100svh;
    overflow: hidden;
  }

  .home-archive-page .flow-main {
    width: 100%;
    height: calc(100svh - var(--mobile-flow-header-height));
    margin: 0;
    padding: 0;
  }

  .home-archive-page .flow-hero {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
  }

  .home-archive-page .flow-hero-copy {
    display: none;
  }

  .home-archive-page .celestial-console {
    width: 100%;
    height: 100%;
    margin: 0;
    padding-top: 45px;
  }

  .home-archive-page .archive-top-divider {
    position: absolute;
    top: 11px;
    z-index: 40;
  }

  .home-archive-page .celestial-archive {
    width: 100%;
    height: calc(100% - 45px);
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    touch-action: none;
    overscroll-behavior: contain;
  }

  .home-archive-page .celestial-pan {
    position: absolute;
    width: 1600px;
    height: 1180px;
    top: 0;
    left: 50%;
    display: block;
    transform: translate3d(-50%, 0, 0);
    transform-origin: 0 0;
    will-change: transform;
  }

  .home-archive-page .celestial-chart,
  .home-archive-page .celestial-sky-art {
    display: block;
    width: 1600px;
    height: 1180px;
  }

  .home-archive-page .archive-disciplines {
    position: absolute;
    inset: 0;
    display: block;
  }

  .home-archive-page .archive-seal {
    position: absolute;
    inset: auto;
    width: 152px;
    min-height: 182px;
  }

  .home-archive-page .seal-modules { left: 118px; top: 190px; }
  .home-archive-page .seal-macros { left: 360px; top: 91px; }
  .home-archive-page .seal-textures { left: 602px; top: 43px; }
  .home-archive-page .seal-vfx { left: 846px; top: 43px; }
  .home-archive-page .seal-sound { left: 1088px; top: 91px; }
  .home-archive-page .seal-three-d { left: 1330px; top: 190px; }

  .home-archive-page .archive-relic {
    position: absolute;
    inset: auto;
    left: 648px;
    top: 274px;
    width: 304px;
    height: 304px;
  }

  .home-archive-page .archive-lore {
    display: block;
    left: 355px;
    top: 414px;
  }

  .home-archive-page .archive-live-status {
    position: absolute;
    inset: auto;
    left: 50%;
    top: 600px;
    transform: translateX(-50%);
  }

  .home-archive-page .archive-wayfinder {
    position: absolute;
    inset: auto;
    left: 407px;
    top: 648px;
    width: 786px;
    grid-template-columns: repeat(4, 1fr);
  }

  .home-archive-page .archive-introduction {
    position: absolute;
    inset: auto;
    left: 260px;
    top: 790px;
    width: 1080px;
  }

  .home-archive-page .archive-intro-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-archive-page .celestial-familiar,
  .home-archive-page .celestial-particles {
    display: none;
  }

  .home-archive-page .is-mobile-dragging {
    cursor: grabbing;
  }
}

@media (max-width: 900px) {
  :root {
    --mobile-flow-header-height: 58px;
  }

  .flow-nav {
    min-height: var(--mobile-flow-header-height);
    height: var(--mobile-flow-header-height);
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  }

  .flow-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .flow-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .flow-menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .flow-nav nav {
    grid-column: auto;
    grid-row: auto;
    justify-content: initial;
    gap: 2px;
    overflow: visible;
    white-space: normal;
  }

  .home-archive-page .celestial-console {
    padding-top: 0;
    background: none;
  }

  .home-archive-page .archive-top-divider {
    display: none;
  }

  .home-archive-page .celestial-archive {
    height: 100%;
  }

  .home-archive-page .celestial-vignette {
    display: none;
  }

  .home-archive-page .celestial-archive::before {
    background: none;
  }
}
.gift-redeem-form {
  display: grid;
  gap: 9px;
  margin: 2px 0 14px;
  padding: 12px;
  border: 1px solid rgba(167, 217, 255, .12);
  border-radius: 11px;
  background: rgba(0, 0, 0, .16);
}

.gift-redeem-form label {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 700;
}

.gift-redeem-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.gift-redeem-row input {
  min-width: 0;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  color: #fff;
  background: rgba(0, 0, 0, .22);
  font: inherit;
}

.gift-redeem-row input:focus {
  border-color: rgba(167, 217, 255, .48);
  outline: 2px solid rgba(167, 217, 255, .12);
  outline-offset: 1px;
}

@media (max-width: 620px) {
  .gift-redeem-row {
    grid-template-columns: 1fr;
  }
}
body.flash-app-embed {
  min-height: 100vh;
  overflow-x: hidden;
}

body.flash-app-embed > .flow-nav,
body.flash-app-embed > .redesign-footer,
body.flash-app-embed > footer {
  display: none !important;
}

body.flash-app-embed.market-page {
  grid-template-columns: 152px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
}

body.flash-app-embed.market-page .market-sidebar {
  top: 0;
  width: 152px;
  height: 100vh;
  padding: 16px 10px;
  background: rgba(8, 10, 11, .94);
}

body.flash-app-embed.market-page .market-content {
  padding: 18px 20px 34px;
}

body.flash-app-embed .shop-grid-header {
  min-height: 0;
  margin-bottom: 18px;
  padding: 8px 0 12px;
}

body.flash-app-embed .shop-grid-header h1 {
  font-size: clamp(30px, 4vw, 52px);
}

body.flash-app-embed .market-row {
  margin-top: 22px;
}

body.flash-app-embed .market-card {
  min-height: 196px;
}

body.flash-app-embed.item-template-page .item-template {
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  padding: 16px 0 30px;
}

body.flash-app-embed.item-template-page .item-hero-template {
  min-height: min(610px, calc(100vh - 38px));
  gap: 16px;
}

body.flash-app-embed .account-shell-clean,
body.flash-app-embed .app-store-shell {
  padding-top: 18px;
}

@media (max-width: 760px) {
  body.flash-app-embed.market-page {
    display: block;
  }

  body.flash-app-embed.market-page .market-sidebar {
    position: sticky;
    top: 0;
    z-index: 12;
    width: 100%;
    height: auto;
  }
}

/* Neutral product styling: keep the ecosystem structure without fantasy ornament. */
.flow-page {
  background: linear-gradient(180deg, #0a1117 0%, #081017 48%, #060c11 100%);
}

body.market-page,
.item-template-page {
  background: linear-gradient(180deg, #0a1117 0%, #081017 48%, #060c11 100%);
}

.flow-page::before,
.flow-page::after,
.market-page::before,
.market-page::after {
  display: none;
}

/* Product-first hidden homepage */
.product-home {
  --home-bg: #080a0d;
  --home-panel: #0e1116;
  --home-panel-raised: #12161c;
  --home-text: #f7f8fa;
  --home-muted: #9da4af;
  --home-soft: #6e7682;
  --home-line: rgba(255, 255, 255, .09);
  --home-line-strong: rgba(255, 255, 255, .16);
  --home-blue: #8ed2ff;
  --home-blue-strong: #53b8ff;
  color: var(--home-text);
  background:
    radial-gradient(circle at 50% -10%, rgba(71, 149, 209, .13), transparent 31%),
    linear-gradient(180deg, #0a0d11 0%, var(--home-bg) 42%, #07090c 100%);
}

.product-home::before,
.product-home::after {
  display: none;
}

.product-home .flow-nav {
  height: 64px;
  padding-inline: max(32px, calc((100vw - 1440px) / 2));
  border-bottom-color: rgba(255, 255, 255, .075);
  background: rgba(8, 10, 13, .82);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.15);
}

.product-home .flow-brand {
  gap: 9px;
}

.product-home .flow-brand strong {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.035em;
}

.product-home .flow-mark {
  width: 19px;
  height: 19px;
  background: linear-gradient(145deg, #d9f0ff, #71c7ff 64%, #3299df);
  filter: drop-shadow(0 0 12px rgba(91, 190, 255, .22));
}

.product-home .flow-nav nav {
  gap: 28px;
}

.product-home .flow-nav nav a {
  color: rgba(238, 242, 247, .66);
  font-size: 13px;
  font-weight: 500;
}

.product-home .flow-nav nav a:hover,
.product-home .flow-nav nav a:focus-visible {
  color: #fff;
}

.product-home .flow-actions {
  gap: 8px;
}

.product-home .flow-actions a {
  min-height: 34px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, .11);
  border-radius: 7px;
  color: rgba(244, 247, 250, .78);
  background: transparent;
  font-size: 12px;
  font-weight: 550;
  backdrop-filter: none;
}

.product-home .flow-actions a:last-child {
  color: #06131d;
  border-color: rgba(142, 210, 255, .8);
  background: #a6dcff;
}

.product-home-main {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
}

.product-hero {
  min-height: calc(100vh - 64px);
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 92px 0 104px;
  text-align: center;
}

.product-hero-copy {
  width: min(880px, 100%);
  position: relative;
  z-index: 1;
}

.product-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--home-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-hero .product-kicker {
  justify-content: center;
}

.product-hero .product-kicker span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-blue);
  box-shadow: 0 0 15px rgba(83, 184, 255, .72);
}

.product-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font);
  font-size: clamp(54px, 6.8vw, 96px);
  font-weight: 560;
  letter-spacing: -.072em;
  line-height: .98;
}

.product-hero-lede {
  max-width: 710px;
  margin: 26px auto 0;
  color: var(--home-muted);
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 400;
  line-height: 1.62;
}

.product-hero-actions,
.product-final-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.product-hero-actions {
  margin-top: 32px;
}

.product-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 590;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.product-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-button:hover {
  transform: translateY(-2px);
}

.product-button-primary {
  color: #06131d;
  border-color: #a6dcff;
  background: #a6dcff;
  box-shadow: 0 10px 38px rgba(62, 163, 227, .16);
}

.product-button-primary:hover {
  color: #020b11;
  border-color: #c4e9ff;
  background: #c4e9ff;
}

.product-button-secondary {
  color: rgba(246, 248, 251, .84);
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .035);
}

.product-button-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .06);
}

.product-hero-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  color: var(--home-soft);
  font-size: 12px;
}

.product-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.product-hero-meta span:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}

.product-app-stage {
  width: min(1320px, 100%);
  position: relative;
  margin-top: 74px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: #0c0f13;
  box-shadow: 0 45px 110px rgba(0, 0, 0, .48), 0 0 80px rgba(61, 149, 211, .07);
}

.product-app-stage::before {
  content: "";
  position: absolute;
  inset: -2px 9% auto;
  z-index: -1;
  height: 120px;
  background: rgba(70, 172, 240, .16);
  filter: blur(68px);
}

.product-app-toolbar {
  height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  color: rgba(226, 232, 239, .48);
  background: #101318;
  font-size: 11px;
  letter-spacing: .02em;
}

.product-window-controls {
  display: flex;
  gap: 6px;
}

.product-window-controls i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.product-app-status {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
}

.product-app-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #68d5aa;
  box-shadow: 0 0 8px rgba(104, 213, 170, .42);
}

.product-app-image {
  overflow: hidden;
  background: #080a0d;
}

.product-app-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(.88) contrast(1.03) brightness(.92);
}

.product-categories,
.product-workflow,
.product-featured {
  padding: 118px 0;
  border-top: 1px solid var(--home-line);
}

.product-section-heading-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.product-section-heading .product-kicker {
  margin-bottom: 12px;
}

.product-section-heading h2,
.product-workflow h2,
.product-final-cta h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 520;
  letter-spacing: -.06em;
  line-height: 1.02;
}

.product-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(237, 242, 247, .68);
  font-size: 13px;
  font-weight: 520;
  transition: color .18s ease, gap .18s ease;
}

.product-text-link:hover {
  gap: 11px;
  color: #fff;
}

.product-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--home-line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, .018);
}

.product-category-grid > a {
  min-height: 182px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px;
  border-right: 1px solid var(--home-line);
  color: var(--home-text);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .012));
  transition: background .2s ease, transform .2s ease;
}

.product-category-grid > a:last-child {
  border-right: 0;
}

.product-category-grid > a:hover {
  background: linear-gradient(180deg, rgba(88, 180, 242, .07), rgba(255, 255, 255, .025));
}

.product-category-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border: 1px solid rgba(142, 210, 255, .16);
  border-radius: 9px;
  color: var(--home-blue);
  background: rgba(83, 184, 255, .055);
}

.product-category-icon svg,
.product-trust-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-category-grid strong {
  font-size: 15px;
  font-weight: 570;
  letter-spacing: -.02em;
}

.product-category-grid small {
  margin-top: 7px;
  color: var(--home-soft);
  font-size: 12px;
  line-height: 1.42;
}

.product-workflow {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: start;
}

.product-workflow-copy {
  position: sticky;
  top: 120px;
}

.product-workflow-copy > p:not(.product-kicker) {
  max-width: 470px;
  margin: 24px 0 26px;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.65;
}

.product-workflow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line);
}

.product-workflow-steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--home-line);
}

.product-workflow-steps li > span {
  color: var(--home-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
}

.product-workflow-steps h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 530;
  letter-spacing: -.035em;
}

.product-workflow-steps p {
  max-width: 500px;
  margin: 9px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.58;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-feature-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 13px;
  color: var(--home-text);
  background: var(--home-panel);
  transition: border-color .22s ease, transform .22s ease, background .22s ease;
}

.product-feature-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .7fr);
  min-height: 500px;
}

.product-feature-card:hover {
  border-color: rgba(142, 210, 255, .22);
  background: var(--home-panel-raised);
  transform: translateY(-3px);
}

.product-feature-media {
  min-height: 310px;
  overflow: hidden;
  background: #090b0e;
}

.product-feature-card-wide .product-feature-media {
  min-height: 500px;
}

.product-feature-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.8) brightness(.82) contrast(1.06);
  transition: filter .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}

.product-feature-card:hover .product-feature-media img {
  filter: saturate(.94) brightness(.9) contrast(1.04);
  transform: scale(1.015);
}

.product-feature-media-app img {
  object-position: center 36%;
}

.product-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 30px;
}

.product-feature-card-wide .product-feature-copy {
  border-left: 1px solid var(--home-line);
  padding: 42px;
}

.product-feature-copy > span {
  margin-bottom: 13px;
  color: var(--home-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-feature-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 530;
  letter-spacing: -.045em;
}

.product-feature-copy p {
  max-width: 430px;
  margin: 13px 0 27px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.58;
}

.product-feature-copy strong {
  margin-top: auto;
  color: rgba(245, 248, 252, .82);
  font-size: 13px;
  font-weight: 550;
}

.product-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 118px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, .018);
}

.product-trust > * {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 24px;
  border-right: 1px solid var(--home-line);
  color: var(--home-text);
}

.product-trust > *:last-child {
  border-right: 0;
}

.product-trust > a:hover {
  background: rgba(255, 255, 255, .025);
}

.product-trust-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--home-blue);
}

.product-trust strong,
.product-trust small {
  display: block;
}

.product-trust strong {
  font-size: 13px;
  font-weight: 570;
}

.product-trust small {
  margin-top: 5px;
  color: var(--home-soft);
  font-size: 11px;
  line-height: 1.35;
}

.product-final-cta {
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 64px;
  padding: clamp(44px, 6vw, 78px);
  overflow: hidden;
  border: 1px solid var(--home-line-strong);
  border-radius: 14px;
  background:
    linear-gradient(110deg, rgba(64, 157, 219, .12), transparent 43%),
    linear-gradient(180deg, #11161c, #0c1015);
}

.product-final-cta > div:first-child {
  max-width: 760px;
}

.product-final-cta p:not(.product-kicker) {
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.6;
}

.product-final-actions {
  flex: 0 0 auto;
  flex-direction: column;
}

.product-footer {
  width: min(1440px, calc(100% - 64px));
  min-height: 118px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  border-top: 1px solid var(--home-line);
}

.product-footer p {
  margin: 0;
  color: var(--home-soft);
  font-size: 12px;
}

.product-footer nav {
  display: flex;
  gap: 22px;
}

.product-footer nav a {
  color: var(--home-soft);
  font-size: 12px;
}

.product-footer nav a:hover {
  color: #fff;
}

.product-home a:focus-visible,
.product-home button:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .product-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-category-grid > a:nth-child(3) {
    border-right: 0;
  }

  .product-category-grid > a:nth-child(-n + 3) {
    border-bottom: 1px solid var(--home-line);
  }

  .product-workflow {
    gap: 70px;
  }

  .product-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-trust > *:nth-child(2) {
    border-right: 0;
  }

  .product-trust > *:nth-child(-n + 2) {
    border-bottom: 1px solid var(--home-line);
  }
}

@media (max-width: 900px) {
  .product-home .flow-nav {
    height: var(--mobile-flow-header-height);
    padding-inline: max(14px, env(safe-area-inset-left));
  }

  .product-home .flow-actions a:first-child {
    display: none;
  }

  .product-home .flow-actions a:last-child {
    display: inline-flex;
  }

  .product-home .flow-menu-toggle {
    border-color: rgba(255, 255, 255, .11);
    background: rgba(255, 255, 255, .035);
  }

  .product-home .flow-nav nav {
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 10px 14px 14px;
    border: 0;
    border-bottom: 1px solid var(--home-line);
    border-radius: 0;
    background: rgba(8, 10, 13, .98);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .34);
  }

  .product-home-main,
  .product-footer {
    width: min(100% - 32px, 720px);
  }

  .product-hero {
    min-height: 0;
    padding: 86px 0 82px;
  }

  .product-hero h1 {
    font-size: clamp(46px, 12vw, 72px);
  }

  .product-app-stage {
    width: calc(100vw - 20px);
    margin-top: 58px;
  }

  .product-workflow {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-workflow-copy {
    position: static;
  }

  .product-feature-card-wide {
    display: block;
    min-height: 0;
  }

  .product-feature-card-wide .product-feature-media {
    min-height: 360px;
  }

  .product-feature-card-wide .product-feature-copy {
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .product-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-final-actions {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .product-home-main,
  .product-footer {
    width: min(100% - 28px, 560px);
  }

  .product-home .flow-brand strong {
    font-size: 17px;
  }

  .product-home .flow-actions a:last-child {
    min-height: 32px;
    padding-inline: 11px;
  }

  .product-hero {
    padding: 64px 0 70px;
  }

  .product-kicker {
    font-size: 10px;
  }

  .product-hero h1 {
    font-size: clamp(42px, 13.7vw, 62px);
    letter-spacing: -.066em;
  }

  .product-hero-lede {
    margin-top: 21px;
    font-size: 15px;
    line-height: 1.58;
  }

  .product-hero-actions {
    width: 100%;
    flex-direction: column;
    margin-top: 27px;
  }

  .product-hero-actions .product-button {
    width: 100%;
  }

  .product-hero-meta {
    flex-wrap: wrap;
    gap: 7px 14px;
    font-size: 10px;
  }

  .product-hero-meta span {
    gap: 14px;
  }

  .product-hero-meta span:nth-child(2)::after {
    display: none;
  }

  .product-app-stage {
    width: calc(100vw - 14px);
    margin-top: 44px;
    border-radius: 10px;
  }

  .product-app-toolbar {
    height: 34px;
    padding-inline: 10px;
    font-size: 9px;
  }

  .product-app-image {
    min-height: 250px;
  }

  .product-app-image img {
    width: auto;
    max-width: none;
    height: 250px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .product-categories,
  .product-workflow,
  .product-featured {
    padding: 82px 0;
  }

  .product-section-heading-inline {
    display: block;
    margin-bottom: 28px;
  }

  .product-section-heading-inline > .product-text-link {
    margin-top: 18px;
  }

  .product-section-heading h2,
  .product-workflow h2,
  .product-final-cta h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .product-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-category-grid > a {
    min-height: 158px;
    padding: 18px;
    border-right: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
  }

  .product-category-grid > a:nth-child(even) {
    border-right: 0;
  }

  .product-category-grid > a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .product-category-grid > a:nth-child(3) {
    border-right: 1px solid var(--home-line);
  }

  .product-category-icon {
    width: 36px;
    height: 36px;
  }

  .product-category-grid strong {
    font-size: 14px;
  }

  .product-category-grid small {
    font-size: 11px;
  }

  .product-workflow-steps li {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-feature-card-wide {
    grid-column: auto;
  }

  .product-feature-media,
  .product-feature-card-wide .product-feature-media {
    min-height: 260px;
  }

  .product-feature-copy,
  .product-feature-card-wide .product-feature-copy {
    padding: 24px;
  }

  .product-feature-copy h3 {
    font-size: 28px;
  }

  .product-trust {
    grid-template-columns: 1fr;
    margin-bottom: 82px;
  }

  .product-trust > * {
    min-height: 92px;
    padding: 19px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .product-trust > *:nth-child(2) {
    border-bottom: 1px solid var(--home-line);
  }

  .product-trust > *:last-child {
    border-bottom: 0;
  }

  .product-final-cta {
    min-height: 0;
    gap: 34px;
    margin-bottom: 44px;
    padding: 32px 24px;
  }

  .product-final-actions,
  .product-final-actions .product-button {
    width: 100%;
  }

  .product-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0 36px;
  }

  .product-footer nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

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

/* V2 mockup reconstruction */
.mockup-home {
  --mock-bg: #101116;
  --mock-shell: #1b1c21;
  --mock-panel: #24262d;
  --mock-panel-soft: #2b2e36;
  --mock-line: rgba(255, 255, 255, .17);
  --mock-line-soft: rgba(255, 255, 255, .08);
  --mock-text: #f5f6f8;
  --mock-muted: #b9bdc6;
  --mock-soft: #838995;
  --mock-blue: #168bf0;
  --mock-blue-light: #42a9ff;
  min-height: 100vh;
  padding: 72px 24px;
  color: var(--mock-text);
  background: #101116;
}

.mockup-home::before,
.mockup-home::after {
  display: none;
}

.mock-site-frame {
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow: clip;
  border: 2px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 72% 10%, rgba(62, 78, 112, .08), transparent 28%),
    linear-gradient(180deg, #1c1d22 0%, #1a1b20 78%, #17181c 100%);
  box-shadow: 0 38px 110px rgba(0, 0, 0, .42);
}

.mockup-home .mock-nav {
  width: 100%;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0;
  padding: 0 88px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  background: rgba(28, 29, 34, .94);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.mockup-home .flow-brand {
  gap: 9px;
}

.mockup-home .flow-brand strong {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -.035em;
}

.mockup-home .flow-mark {
  width: 18px;
  height: 23px;
  background: #1599ff;
  filter: drop-shadow(0 0 10px rgba(21, 153, 255, .28));
}

.mockup-home .flow-nav nav {
  gap: 28px;
}

.mockup-home .flow-nav nav a {
  color: rgba(255, 255, 255, .83);
  font-size: 12px;
  font-weight: 560;
}

.mockup-home .flow-actions {
  gap: 15px;
}

.mockup-home .flow-actions a {
  min-height: 30px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .88);
  background: transparent;
  font-size: 12px;
  font-weight: 560;
  backdrop-filter: none;
}

.mockup-home .flow-actions a:first-child {
  min-height: 35px;
  padding: 0 17px;
  border-radius: 6px;
  color: #fff;
  background: var(--mock-blue);
  box-shadow: inset 0 1px rgba(255, 255, 255, .18);
}

.mock-home-main {
  width: min(1168px, calc(100% - 80px));
  margin: 0 auto;
}

.mock-hero {
  display: grid;
  grid-template-columns: minmax(350px, .92fr) minmax(520px, 1.08fr);
  gap: 62px;
  align-items: center;
  padding: 76px 0 72px;
}

.mock-hero-copy h1 {
  max-width: 540px;
  margin: 0;
  color: #fff;
  font-family: var(--font);
  font-size: clamp(48px, 4.6vw, 68px);
  font-weight: 700;
  letter-spacing: -.062em;
  line-height: 1.03;
}

.mock-hero-copy h2 {
  margin: 22px 0 0;
  color: #fff;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -.02em;
}

.mock-hero-copy > p {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--mock-muted);
  font-size: 14px;
  line-height: 1.52;
}

.mock-hero-actions {
  display: flex;
  gap: 11px;
  margin-top: 21px;
}

.mock-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 620;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mock-button:hover {
  transform: translateY(-1px);
}

.mock-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-button-primary {
  color: #fff;
  border-color: rgba(82, 177, 255, .72);
  background: var(--mock-blue);
  box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 10px 25px rgba(0, 94, 190, .16);
}

.mock-button-primary:hover {
  background: #289cf8;
}

.mock-button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .56);
  background: transparent;
}

.mock-button-secondary:hover {
  border-color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .035);
}

.mock-app-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 8px;
  background: #17191f;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .35);
}

.mock-hero-window {
  height: 418px;
}

.mock-app-titlebar {
  min-height: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  color: rgba(255, 255, 255, .42);
  background: #26272b;
  font-size: 7px;
}

.mock-window-dots {
  display: flex;
  gap: 4px;
}

.mock-window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fa5f57;
}

.mock-window-dots i:nth-child(2) {
  background: #febc2e;
}

.mock-window-dots i:nth-child(3) {
  background: #28c840;
}

.mock-app-menubar {
  min-height: 34px;
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  align-items: center;
  gap: 22px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .5);
  background: #1e2026;
  font-size: 8px;
}

.mock-app-menubar strong {
  color: rgba(255, 255, 255, .75);
  font-weight: 570;
}

.mock-app-layout {
  height: calc(100% - 78px);
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
}

.mock-app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 9px;
  border-right: 1px solid rgba(255, 255, 255, .065);
  color: rgba(255, 255, 255, .4);
  background: #181a20;
  font-size: 8px;
}

.mock-app-sidebar span,
.mock-app-sidebar strong {
  min-height: 29px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 3px;
  font-weight: 500;
}

.mock-app-sidebar strong {
  color: rgba(255, 255, 255, .83);
  background: #383c4a;
}

.mock-app-content {
  min-width: 0;
  padding: 13px;
  background: #15171c;
}

.mock-app-content-head,
.mock-library-head {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .5);
  font-size: 8px;
}

.mock-app-content-head strong,
.mock-library-head strong {
  color: rgba(255, 255, 255, .82);
  font-weight: 570;
}

.mock-app-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 7px;
}

.mock-app-product-grid article {
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px;
  background: #24262d;
}

.mock-preview {
  width: 100%;
  height: 72px;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background-color: #20242b;
}

.mock-preview-one {
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, .08) 50%, transparent 51%),
    linear-gradient(rgba(255, 255, 255, .06) 49%, transparent 50%),
    linear-gradient(135deg, #25374c, #7a685a 48%, #1a1e25 49%);
  background-size: 26px 100%, 100% 20px, 100% 100%;
}

.mock-preview-two {
  background:
    radial-gradient(circle at 50% 48%, #65a5ff 0 7%, #5a39e3 8% 16%, rgba(44, 56, 156, .46) 17% 31%, transparent 32%),
    conic-gradient(from 45deg, transparent, rgba(64, 120, 255, .5), transparent, rgba(98, 56, 222, .46), transparent),
    #111528;
}

.mock-preview-three {
  background:
    radial-gradient(circle at 55% 48%, #20242a 0 19%, #0c0d10 20% 28%, transparent 29%),
    linear-gradient(145deg, #9d1d22 0 52%, #621014 53%);
}

.mock-preview-four {
  background:
    linear-gradient(135deg, transparent 38%, rgba(255, 255, 255, .18) 39% 42%, transparent 43%),
    radial-gradient(ellipse at 25% 68%, #d2a07b 0 14%, transparent 15%),
    linear-gradient(135deg, #263842, #6a4e42 55%, #161a20);
}

.mock-preview-five {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(135deg, #10131a, #3b3844);
  background-size: 12px 12px, 12px 12px, 100% 100%;
}

.mock-preview-six {
  background:
    radial-gradient(circle at 58% 50%, rgba(28, 255, 168, .74), transparent 12%),
    radial-gradient(circle at 44% 54%, rgba(0, 152, 255, .55), transparent 22%),
    repeating-radial-gradient(ellipse at 55% 54%, transparent 0 5px, rgba(54, 255, 180, .16) 6px 7px),
    #10171b;
}

.mock-app-product-grid article > strong,
.mock-app-product-grid article > small,
.mock-app-product-grid article > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-app-product-grid article > strong {
  margin-top: 6px;
  color: rgba(255, 255, 255, .82);
  font-size: 7px;
  font-weight: 580;
}

.mock-app-product-grid article > small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .37);
  font-size: 6px;
}

.mock-app-product-grid article > span {
  min-height: 20px;
  display: grid;
  place-items: center;
  margin-top: 6px;
  border-radius: 3px;
  color: #fff;
  background: #167ee0;
  font-size: 7px;
}

.mock-app-statusbar {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .36);
  background: #1b1d22;
  font-size: 7px;
}

.mock-app-statusbar span:last-child {
  color: #319eff;
}

.mock-categories,
.mock-workflow,
.mock-products {
  padding-bottom: 70px;
}

.mock-categories > h2,
.mock-workflow h2,
.mock-section-head h2 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.028em;
}

.mock-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.mock-category-grid > a {
  min-width: 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 255, 255, .018);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.mock-category-grid > a:hover {
  border-color: rgba(75, 167, 245, .55);
  background: rgba(31, 117, 191, .06);
  transform: translateY(-2px);
}

.mock-category-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #3ea4ff;
  background: #30333d;
}

.mock-category-icon.is-blue {
  color: #fff;
  background: #168bf0;
}

.mock-icon-vfx {
  color: #ff9b59;
  background: radial-gradient(circle, #9b240d 0, #4b1611 47%, #292b32 70%);
}

.mock-icon-texture {
  color: #b8c1cb;
  background: repeating-linear-gradient(125deg, #59616d 0 2px, #78828e 3px 4px, #454c56 5px 7px);
}

.mock-category-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-category-grid strong,
.mock-category-grid small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-category-grid strong {
  font-size: 12px;
  font-weight: 620;
}

.mock-category-grid small {
  margin-top: 9px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--mock-soft);
  font-size: 9px;
}

.mock-workflow {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(470px, 1fr);
  gap: 20px;
  align-items: end;
}

.mock-feature-stack {
  display: grid;
  gap: 10px;
}

.mock-feature-stack article {
  min-height: 89px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
}

.mock-feature-stack article > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #464a55;
}

.mock-feature-stack svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-feature-stack h3 {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 620;
}

.mock-feature-stack p {
  margin: 5px 0 0;
  color: var(--mock-muted);
  font-size: 11px;
  line-height: 1.42;
}

.mock-library-window {
  height: 348px;
}

.mock-library-content {
  padding: 12px;
  background: #15171c;
}

.mock-library-content > article:not(.mock-library-feature) {
  min-height: 42px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 9px;
  align-items: center;
  margin-top: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 4px;
  background: #24262d;
}

.mock-library-content > article:not(.mock-library-feature) > i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #24c87a;
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .14);
}

.mock-library-content strong,
.mock-library-content small {
  display: block;
}

.mock-library-content strong {
  color: rgba(255, 255, 255, .82);
  font-size: 8px;
  font-weight: 570;
}

.mock-library-content small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .38);
  font-size: 6px;
}

.mock-library-content > article:not(.mock-library-feature) > span {
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  background: #16b76c;
  font-size: 6px;
}

.mock-library-feature {
  min-height: 124px;
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 12px;
  margin-top: 9px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 4px;
  background: #24262d;
}

.mock-library-feature .mock-preview {
  height: 106px;
}

.mock-library-feature div {
  align-self: center;
}

.mock-library-feature p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .42);
  font-size: 7px;
  line-height: 1.4;
}

.mock-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.mock-section-head a {
  color: #fff;
  font-size: 11px;
  font-weight: 540;
}

.mock-section-head a span {
  color: var(--mock-blue-light);
  font-size: 18px;
}

.mock-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mock-product-grid > a,
.mock-product-grid > article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 7px;
  color: #fff;
  background: #292b32;
  transition: border-color .18s ease, transform .18s ease;
}

.mock-product-grid > a:hover {
  border-color: rgba(70, 163, 242, .52);
  transform: translateY(-2px);
}

.mock-product-grid > article.is-placeholder {
  opacity: .78;
}

.mock-product-image[style] {
  background-repeat: no-repeat;
}

.mock-product-image.is-placeholder span {
  color: rgba(255, 255, 255, .28);
}

.mock-product-image {
  height: 188px;
  display: grid;
  place-items: center;
  margin: 9px 9px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 3px;
  color: rgba(255, 255, 255, .35);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mock-product-image-one {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(145deg, #11161c, #3c4c5b 48%, #151a20);
  background-size: 18px 18px, 18px 18px, 100% 100%;
}

.mock-product-image-two {
  background:
    linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, .5)),
    radial-gradient(circle at 62% 38%, rgba(66, 175, 203, .56), transparent 9%),
    linear-gradient(135deg, #0e1a20, #1c3138 45%, #10151a);
}

.mock-product-image-three {
  background:
    radial-gradient(circle at 50% 42%, #5f8fff 0 6%, #5032c8 7% 15%, rgba(55, 73, 173, .38) 16% 31%, transparent 32%),
    conic-gradient(from 45deg, transparent, rgba(64, 120, 255, .45), transparent, rgba(98, 56, 222, .4), transparent),
    #111528;
}

.mock-product-image-four {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(84, 187, 255, .42), transparent 4%),
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(105, 200, 255, .2) 8px 9px, transparent 10px 14px),
    linear-gradient(180deg, #050609, #101722);
}

.mock-product-info {
  padding: 12px 12px 14px;
}

.mock-product-info h3 {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 620;
}

.mock-product-info > p {
  margin: 4px 0 12px;
  color: var(--mock-soft);
  font-size: 10px;
}

.mock-product-info > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mock-product-info > div strong {
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
  font-weight: 570;
}

.mock-product-info > div span {
  padding: 6px 9px;
  border-radius: 4px;
  color: #fff;
  background: var(--mock-blue);
  font-size: 8px;
  font-weight: 600;
}

.mock-trust-strip {
  color: #111319;
  background: #d9dce2;
}

.mock-trust-grid {
  width: min(1168px, calc(100% - 80px));
  min-height: 132px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  margin: 0 auto;
}

.mock-trust-grid > * {
  min-width: 0;
  min-height: 69px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 7px;
  color: #12141a;
  background: rgba(255, 255, 255, .08);
}

.mock-trust-grid svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-trust-grid strong,
.mock-trust-grid small {
  display: block;
}

.mock-trust-grid strong {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.mock-trust-grid small {
  margin-top: 2px;
  color: rgba(18, 20, 26, .62);
  font-size: 9px;
  line-height: 1.25;
}

.mock-download-cta {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0, rgba(20, 139, 240, .26), transparent 45%),
    #17191e;
}

.mock-download-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 680;
  letter-spacing: -.045em;
}

.mock-download-cta p {
  margin: 10px 0 20px;
  color: var(--mock-muted);
  font-size: 12px;
}

.mock-download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mock-download-cta small {
  margin-top: 10px;
  color: var(--mock-soft);
  font-size: 9px;
}

.mock-footer {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 0 88px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .42);
  background: #17181c;
  font-size: 9px;
}

.mock-footer > span:nth-child(2) {
  justify-self: center;
}

.mock-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.mock-footer a {
  color: rgba(255, 255, 255, .52);
}

.mockup-home a:focus-visible,
.mockup-home button:focus-visible {
  outline: 2px solid #53b6ff;
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .mockup-home {
    padding: 28px 18px;
  }

  .mockup-home .mock-nav,
  .mock-footer {
    padding-inline: 40px;
  }

  .mock-home-main,
  .mock-trust-grid {
    width: min(100% - 48px, 960px);
  }

  .mock-hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .mock-hero-copy {
    max-width: 680px;
  }

  .mock-hero-window {
    width: 100%;
    height: 500px;
  }

  .mock-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mock-workflow {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mock-library-window {
    height: 450px;
  }

  .mock-product-grid,
  .mock-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-trust-grid {
    padding: 24px 0;
  }
}

@media (max-width: 900px) {
  .mockup-home {
    padding: 0;
  }

  .mock-site-frame {
    border: 0;
    border-radius: 0;
  }

  .mockup-home .mock-nav {
    height: var(--mobile-flow-header-height);
    padding: 0 14px;
  }

  .mockup-home .flow-actions a:first-child {
    display: inline-flex;
  }

  .mockup-home .flow-actions a:nth-child(n + 2) {
    display: none;
  }

  .mockup-home .flow-menu-toggle {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
  }

  .mockup-home .flow-nav nav {
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 14px 14px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    background: rgba(25, 26, 31, .98);
  }

  .mock-home-main,
  .mock-trust-grid {
    width: min(100% - 32px, 720px);
  }

  .mock-hero {
    padding-top: 62px;
  }

  .mock-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 24px 16px;
    text-align: center;
  }

  .mock-footer nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .mock-home-main,
  .mock-trust-grid {
    width: min(100% - 26px, 500px);
  }

  .mockup-home .flow-brand strong {
    font-size: 17px;
  }

  .mockup-home .flow-actions a:first-child {
    min-height: 31px;
    padding-inline: 11px;
    font-size: 11px;
  }

  .mock-hero {
    gap: 34px;
    padding: 48px 0 58px;
  }

  .mock-hero-copy h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .mock-hero-copy h2 {
    font-size: 16px;
  }

  .mock-hero-copy > p {
    font-size: 13px;
  }

  .mock-hero-actions {
    flex-direction: column;
  }

  .mock-hero-actions .mock-button {
    width: 100%;
  }

  .mock-hero-window,
  .mock-library-window {
    width: calc(100vw - 14px);
    position: relative;
    left: 50%;
    height: 355px;
    transform: translateX(-50%);
  }

  .mock-app-layout {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .mock-app-sidebar {
    padding-inline: 5px;
  }

  .mock-app-sidebar span,
  .mock-app-sidebar strong {
    padding-inline: 6px;
    font-size: 6px;
  }

  .mock-app-content {
    padding: 8px;
  }

  .mock-app-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .mock-app-product-grid article:nth-child(n + 5) {
    display: none;
  }

  .mock-preview {
    height: 62px;
  }

  .mock-categories,
  .mock-workflow,
  .mock-products {
    padding-bottom: 56px;
  }

  .mock-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .mock-category-grid > a {
    min-height: 74px;
    gap: 9px;
    padding: 9px;
  }

  .mock-category-icon {
    width: 38px;
    height: 38px;
  }

  .mock-category-grid strong {
    font-size: 11px;
  }

  .mock-category-grid small {
    font-size: 8px;
  }

  .mock-workflow h2,
  .mock-categories > h2,
  .mock-section-head h2 {
    font-size: 17px;
  }

  .mock-feature-stack article {
    grid-template-columns: 42px 1fr;
    gap: 11px;
  }

  .mock-feature-stack article > span {
    width: 42px;
    height: 42px;
  }

  .mock-library-window {
    height: 350px;
  }

  .mock-library-feature {
    grid-template-columns: 38% 1fr;
  }

  .mock-section-head {
    align-items: flex-end;
  }

  .mock-section-head a {
    font-size: 10px;
  }

  .mock-product-grid,
  .mock-trust-grid {
    grid-template-columns: 1fr;
  }

  .mock-product-image {
    height: 215px;
  }

  .mock-trust-grid {
    gap: 9px;
    padding: 18px 0;
  }

  .mock-trust-grid > * {
    min-height: 64px;
  }

  .mock-download-cta {
    min-height: 300px;
  }
}

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

/* Homepage integration: use the shared site chrome and full-width page flow. */
.mockup-home {
  padding: 0;
  background: linear-gradient(180deg, #17191e 0%, #15171c 62%, #111318 100%);
}

.mock-site-frame {
  width: 100%;
  max-width: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mockup-home .flow-nav {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 max(32px, calc((100vw - 1720px) / 2));
  border-bottom: 1px solid var(--celestial-line);
  background: rgba(5, 12, 17, .86);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
  backdrop-filter: blur(18px) saturate(1.1);
}

.mockup-home .flow-brand {
  gap: 7px;
}

.mockup-home .flow-brand strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.mockup-home .flow-mark {
  width: 20px;
  height: 20px;
  background: #b7e5ff;
  filter: none;
}

.mockup-home .flow-nav nav {
  gap: 20px;
}

.mockup-home .flow-nav nav a {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 650;
}

.mockup-home .flow-nav nav a:hover,
.mockup-home .flow-nav nav a[aria-current="page"] {
  color: #fff;
}

.mockup-home .flow-nav nav a[aria-current="page"] {
  text-shadow: 0 0 18px rgba(167, 217, 255, .5);
}

.mockup-home .flow-actions {
  gap: 7px;
}

.mockup-home .flow-actions a,
.mockup-home .flow-actions a:first-child {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, .28);
  box-shadow: none;
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 720;
}

.mockup-home .flow-actions a:last-child {
  color: #08111a;
  border-color: transparent;
  background: #fff;
}

.mock-trust-strip {
  color: var(--mock-text);
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: #111318;
}

.mock-trust-grid > * {
  border-color: rgba(255, 255, 255, .12);
  color: var(--mock-text);
  background: rgba(255, 255, 255, .025);
}

.mock-trust-grid > a:hover {
  border-color: rgba(78, 168, 242, .34);
  background: rgba(68, 149, 218, .055);
}

.mock-trust-grid strong {
  color: #f3f5f8;
}

.mock-trust-grid small {
  color: rgba(229, 234, 241, .5);
}

@media (max-width: 900px) {
  .mockup-home .flow-nav {
    height: var(--mobile-flow-header-height);
    padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  }

  .mockup-home .flow-brand strong {
    font-size: 20px;
  }

  .mockup-home .flow-actions a:first-child {
    min-height: 32px;
    padding: 0 11px;
  }

  .mockup-home .flow-menu-toggle {
    border: 1px solid rgba(215, 222, 205, .18);
    background: rgba(15, 28, 38, .76);
  }

  .mockup-home .flow-nav nav {
    top: calc(100% + 8px);
    left: 10px;
    right: 10px;
    padding: 8px;
    border: 1px solid rgba(225, 218, 190, .22);
    border-radius: 14px;
    background: rgba(7, 17, 24, .97);
  }
}

/* Homepage visual refinement pass */
.mock-category-icon .icon-fill,
.mock-feature-stack .icon-fill {
  fill: currentColor;
  stroke: none;
  opacity: .13;
}

.mock-category-icon {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(117, 184, 239, .1);
  background:
    radial-gradient(circle at 35% 22%, rgba(91, 180, 247, .12), transparent 48%),
    #292d36;
  box-shadow: inset 0 1px rgba(255, 255, 255, .045);
}

.mock-category-icon::after {
  content: "";
  width: 20px;
  height: 1px;
  position: absolute;
  right: -7px;
  bottom: 7px;
  background: currentColor;
  opacity: .16;
  transform: rotate(-42deg);
}

.mock-category-icon.is-blue {
  border-color: rgba(130, 207, 255, .42);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .24), transparent 38%),
    linear-gradient(145deg, #1ba0ff, #116fc9);
  box-shadow: 0 8px 20px rgba(9, 109, 196, .2), inset 0 1px rgba(255, 255, 255, .18);
}

.mock-icon-vfx {
  border-color: rgba(255, 132, 73, .22);
  background: radial-gradient(circle at 50% 48%, rgba(245, 100, 38, .34), rgba(93, 27, 18, .58) 38%, #292b32 72%);
  box-shadow: 0 7px 20px rgba(114, 35, 15, .18);
}

.mock-icon-texture {
  border-color: rgba(215, 225, 236, .18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), transparent 42%),
    #505866;
}

.mock-category-grid > a:hover .mock-category-icon {
  color: #8fd0ff;
  border-color: rgba(111, 194, 255, .38);
}

.mock-hero,
.mock-categories,
.mock-workflow,
.mock-products {
  position: relative;
}

.mock-categories::before,
.mock-workflow::before,
.mock-products::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .11) 12%, rgba(255, 255, 255, .11) 88%, transparent);
}

.mock-categories,
.mock-workflow,
.mock-products {
  padding-top: 52px;
}

.mock-hero-window,
.mock-library-window {
  position: relative;
  isolation: isolate;
  border-color: rgba(146, 176, 201, .27);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .38), 0 0 54px rgba(28, 128, 205, .055);
}

.mock-hero-window::before,
.mock-library-window::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(83, 169, 233, .13), transparent 25%, transparent 72%, rgba(83, 169, 233, .05));
}

.mock-hero-window {
  height: 438px;
}

.mock-app-titlebar {
  min-height: 24px;
  font-size: 8px;
}

.mock-app-menubar {
  min-height: 36px;
  font-size: 9px;
}

.mock-app-layout {
  height: calc(100% - 84px);
}

.mock-app-sidebar {
  font-size: 9px;
}

.mock-app-content-head,
.mock-library-head {
  font-size: 9px;
}

.mock-app-product-grid article > strong {
  font-size: 8px;
}

.mock-app-product-grid article > small,
.mock-app-product-grid article > span {
  font-size: 8px;
}

.mock-app-statusbar {
  min-height: 24px;
  font-size: 8px;
}

.mock-library-window {
  height: 368px;
}

.mock-library-content strong {
  font-size: 9px;
}

.mock-library-content small,
.mock-library-content > article:not(.mock-library-feature) > span,
.mock-library-feature p {
  font-size: 8px;
}

.mock-feature-stack article {
  border-color: rgba(255, 255, 255, .15);
  background:
    linear-gradient(90deg, rgba(72, 117, 153, .09), transparent 36%),
    rgba(255, 255, 255, .025);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.mock-feature-stack article > span {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(123, 192, 245, .16);
  color: #91d0ff;
  background:
    radial-gradient(circle at 35% 20%, rgba(103, 193, 255, .16), transparent 46%),
    #303640;
}

.mock-feature-stack article > span::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -9px;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .1;
}

.mock-product-grid > a,
.mock-product-grid > article {
  background: linear-gradient(180deg, #282b33, #24262c);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.mock-product-image {
  position: relative;
  isolation: isolate;
}

.mock-product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 7, 10, .42));
}

.mock-product-image > span {
  position: absolute;
  right: 10px;
  bottom: 9px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .62);
  background: rgba(8, 11, 15, .52);
  font-size: 8px;
  letter-spacing: .06em;
  backdrop-filter: blur(10px);
}

.mock-product-image.is-placeholder span {
  color: rgba(255, 255, 255, .68);
}

.mock-download-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(31, 145, 232, .31), transparent 43%),
    linear-gradient(180deg, #171b21, #14161b);
}

.mock-download-cta::before,
.mock-download-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mock-download-cta::before {
  width: 520px;
  height: 1px;
  top: 0;
  left: 50%;
  background: linear-gradient(90deg, transparent, rgba(93, 185, 255, .72), transparent);
  transform: translateX(-50%);
}

.mock-download-cta::after {
  width: 420px;
  height: 180px;
  top: -120px;
  left: 50%;
  border: 1px solid rgba(87, 171, 235, .12);
  border-radius: 50%;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .mock-hero-window,
  .mock-library-window {
    height: 390px;
  }

  .mock-app-layout {
    grid-template-columns: 1fr;
  }

  .mock-app-sidebar {
    display: none;
  }

  .mock-app-menubar {
    grid-template-columns: 1fr repeat(2, auto);
  }

  .mock-app-menubar span:nth-last-child(2) {
    display: none;
  }

  .mock-app-product-grid article > strong {
    font-size: 8px;
  }

  .mock-product-grid {
    width: calc(100vw - 13px);
    position: relative;
    left: 50%;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 84vw);
    gap: 12px;
    padding: 0 7px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 7px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    transform: translateX(-50%);
  }

  .mock-product-grid::-webkit-scrollbar {
    display: none;
  }

  .mock-product-grid > * {
    scroll-snap-align: start;
  }

  .mock-product-image {
    height: 196px;
  }

  .mock-products {
    padding-bottom: 64px;
  }
}

body.market-page::before,
body.market-page::after,
.item-template-page::before,
.item-template-page::after {
  display: none;
}

.home-archive-page .archive-seal,
.home-archive-page .archive-lore,
.home-archive-page .archive-live-status,
.home-archive-page .archive-wayfinder,
.home-archive-page .archive-introduction,
.home-archive-page .relic-copy,
.celestial-dialog-frame,
.market-section h2,
.download-minimal-head h1,
.account-auth-clean h2,
.account-card-clean h2,
.item-product-title {
  font-family: var(--font);
}

.home-archive-page .archive-seal {
  border-radius: 18px;
  border-color: rgba(164, 196, 211, .24);
  box-shadow: 0 18px 38px rgba(4, 10, 15, .26), inset 0 1px rgba(255, 255, 255, .06);
  transform: none;
}

.home-archive-page .archive-seal:hover,
.home-archive-page .archive-seal:focus-visible,
.home-archive-page .archive-seal.is-guided {
  border-color: rgba(151, 205, 230, .48);
  box-shadow: 0 22px 44px rgba(4, 10, 15, .32), 0 0 28px rgba(91, 173, 211, .09);
  transform: translateY(-6px);
}

.home-archive-page .archive-seal::before,
.home-archive-page .archive-seal::after,
.home-archive-page .archive-introduction::before,
.home-archive-page .archive-intro-grid article::before,
.home-archive-page .archive-intro-grid article::after,
.celestial-dialog-frame::before,
.celestial-dialog-frame::after {
  display: none;
}

.home-archive-page .archive-seal strong,
.home-archive-page .archive-live-status strong,
.home-archive-page .archive-introduction h2,
.home-archive-page .archive-intro-grid h3,
.home-archive-page .relic-copy strong {
  font-family: var(--font);
  font-style: normal;
}

.home-archive-page .celestial-pan strong,
.home-archive-page .celestial-pan small,
.home-archive-page .celestial-pan p,
.home-archive-page .celestial-pan span,
.home-archive-page .celestial-pan h2,
.home-archive-page .celestial-pan h3 {
  font-family: var(--font);
  font-style: normal;
}

.home-archive-page .archive-seal small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.home-archive-page .archive-live-status strong {
  letter-spacing: .02em;
  text-transform: none;
}

.home-archive-page .archive-intro-grid article {
  padding-top: 48px;
  border-color: rgba(164, 196, 211, .25);
  border-radius: 16px;
}

.home-archive-page .archive-introduction > header small {
  color: rgba(218, 228, 232, .68);
  letter-spacing: .08em;
}

.celestial-dialog-frame {
  border-color: rgba(164, 196, 211, .28);
  border-radius: 18px;
}

/* Flash product-first homepage direction */
.mockup-home {
  --mock-ink: #f3f6f8;
  --mock-muted: #9ca8b2;
  --mock-line: rgba(227, 237, 243, .16);
  --mock-blue: #88b9db;
  color: var(--mock-ink);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    #111417;
  background-size: 56px 56px;
}
.mockup-home .mock-site-frame { background: transparent; }
.mockup-home .flow-nav {
  height: 58px;
  border-bottom: 1px solid var(--mock-line);
  background: rgba(17, 20, 23, .96);
  box-shadow: none;
  backdrop-filter: none;
}
.mockup-home .flow-brand strong { font-weight: 650; letter-spacing: -.035em; }
.mockup-home .flow-nav nav a { font-weight: 500; color: #b8c0c7; }
.mockup-home .flow-nav nav a:hover,
.mockup-home .flow-nav nav a[aria-current="page"] { color: #fff; text-shadow: none; }
.mockup-home .flow-actions a,
.mockup-home .flow-actions a:first-child { border-radius: 2px; font-weight: 600; background: #1b2024; }
.mockup-home .flow-actions a:last-child { color: #0e1418; background: #d9e5eb; }
.mock-home-main { max-width: 1480px; margin: 0 auto; padding: 0 36px; }
.mock-hero {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.65fr);
  align-items: center;
  gap: clamp(40px, 7vw, 118px);
  min-height: min(780px, calc(100vh - 58px));
  padding: clamp(72px, 9vw, 132px) 0 112px;
}
.mock-hero-copy { max-width: 420px; }
.mock-kicker { margin: 0 0 22px; color: var(--mock-blue); font: 600 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .16em; }
.mock-hero-copy h1 { max-width: 600px; margin: 0; color: #f5f7f8; font-size: clamp(46px, 5.3vw, 82px); font-weight: 530; line-height: .98; letter-spacing: -.065em; }
.mock-hero-lede { max-width: 360px; margin: 28px 0 0; color: var(--mock-muted); font-size: 17px; line-height: 1.55; }
.mock-hero-note { margin: 22px 0 0; color: #71808a; font-size: 12px; }
.mock-hero-actions { margin-top: 32px; }
.mock-button { border-radius: 2px; font-weight: 600; }
.mock-button-primary { color: #0e1418; background: #d9e5eb; }
.mock-button-secondary { border-color: var(--mock-line); color: #d5dde2; background: transparent; }
.mock-source-preview { position: relative; overflow: hidden; border: 1px solid rgba(220, 235, 243, .25); border-radius: 3px; background: #0c1013; box-shadow: 18px 22px 0 rgba(0,0,0,.18); }
.mock-source-preview::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border: 1px solid rgba(255,255,255,.05); }
.mock-source-preview img { display: block; width: 100%; height: auto; aspect-ratio: 1408 / 768; object-fit: cover; }
.mock-preview-label { display: flex; justify-content: space-between; gap: 16px; padding: 10px 13px; color: #78868f; border-bottom: 1px solid var(--mock-line); font: 600 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.mock-categories,
.mock-workflow,
.mock-products { border-top: 1px solid var(--mock-line); }
.mock-categories { padding: 42px 0 112px; }
.mock-categories > h2 { color: #87959e; font: 600 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
.mock-category-grid { grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--mock-line); border: 1px solid var(--mock-line); }
.mock-category-grid > a { min-height: 112px; border: 0; border-radius: 0; background: #151a1e; }
.mock-category-grid > a:hover { background: #1b2328; transform: none; }
.mock-category-icon { border-radius: 2px; background: #202a30; }
.mock-category-grid strong { font-weight: 560; }
.mock-category-grid small { color: #83919a; }
.mock-workflow { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(54px, 11vw, 180px); padding: 108px 0 128px; }
.mock-workflow-copy h2 { max-width: 500px; margin: 0; font-size: clamp(32px, 4vw, 56px); font-weight: 520; line-height: 1; letter-spacing: -.055em; }
.mock-section-lede { max-width: 390px; color: var(--mock-muted); font-size: 16px; line-height: 1.55; }
.mock-feature-stack { display: grid; gap: 0; border-top: 1px solid var(--mock-line); }
.mock-feature-stack article { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--mock-line); }
.mock-feature-stack article > span { width: 32px; height: 32px; border: 1px solid #536773; border-radius: 2px; background: #182126; }
.mock-feature-stack article > span svg { width: 16px; height: 16px; fill: none; stroke: #b9d8eb; stroke-width: 1.5; }
.mock-feature-stack h3 { margin: 0; font-size: 16px; font-weight: 580; }
.mock-feature-stack p { margin: 6px 0 0; color: var(--mock-muted); font-size: 14px; line-height: 1.5; }
.mock-products { padding: 58px 0 126px; }
.mock-section-head h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 520; letter-spacing: -.05em; }
.mock-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--mock-line); border: 1px solid var(--mock-line); }
.mock-product-grid > * { border: 0; border-radius: 0; background: #151a1e; }
.mock-product-grid > *:hover { transform: none; background: #1b2328; }
.mock-product-image { border-radius: 0; filter: saturate(.72) contrast(1.04); }
.mock-product-info h3 { font-weight: 560; }
.mock-trust-strip { background: #0d1012; }
.mock-trust-grid { max-width: 1480px; padding-inline: 36px; }
.mock-trust-grid > * { border-color: var(--mock-line); border-radius: 0; background: #12171a; }
.mock-download-cta { border-top: 1px solid var(--mock-line); border-bottom: 1px solid var(--mock-line); background: #171e22; }
.mock-download-cta h2 { font-weight: 520; }
.mock-footer { background: #0d1012; }
@media (max-width: 800px) {
  .mockup-home .flow-nav { height: auto; min-height: 58px; padding-inline: 18px; }
  .mock-home-main { padding-inline: 18px; }
  .mock-hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; gap: 42px; padding: 68px 0 76px; }
  .mock-hero-copy { max-width: none; }
  .mock-hero-copy h1 { max-width: 520px; font-size: clamp(44px, 14vw, 68px); }
  .mock-hero-lede { font-size: 16px; }
  .mock-source-preview { width: 100%; box-shadow: 8px 10px 0 rgba(0,0,0,.18); }
  .mock-preview-label { font-size: 8px; }
  .mock-category-grid { grid-template-columns: repeat(2, 1fr); }
  .mock-workflow { display: block; padding: 76px 0 84px; }
  .mock-feature-stack { margin-top: 38px; }
  .mock-product-grid { grid-template-columns: 1fr 1fr; }
  .mock-trust-grid { padding-inline: 18px; }
}
.mock-library-summary { margin-top: 42px; padding: 24px; border: 1px solid var(--mock-line); border-radius: 2px; background: #12181b; box-shadow: 10px 12px 0 rgba(0,0,0,.14); }
.mock-summary-top { display: flex; align-items: center; justify-content: space-between; }
.mock-summary-top .mock-kicker { margin: 0; }
.mock-summary-dot { width: 7px; height: 7px; border-radius: 50%; background: #a9cbe0; box-shadow: 0 0 0 4px rgba(169,203,224,.12); }
.mock-summary-title { display: block; max-width: 280px; margin-top: 34px; color: #eaf0f3; font-size: clamp(22px, 2.4vw, 34px); font-weight: 520; line-height: 1.08; letter-spacing: -.045em; }
.mock-summary-list { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--mock-line); }
.mock-summary-list span { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--mock-line); color: #9ca8b2; font-size: 12px; }
.mock-summary-list b { color: #dbe4e9; font-weight: 560; }
.mock-summary-list em { color: #81909a; font-style: normal; text-align: right; }
@media (max-width: 800px) { .mock-library-summary { margin-top: 42px; } }
.mock-source-preview { box-sizing: border-box; max-width: 100%; }
.mock-source-preview img { max-width: 100%; }
@media (max-width: 800px) {
  .mockup-home .mock-hero-window.mock-source-preview {
    width: 100%;
    left: auto;
    transform: none;
  }
}
@media (max-width: 800px) {
  .mockup-home .mock-source-preview {
    width: min(100%, calc(100vw - 36px));
    max-width: calc(100vw - 36px);
  }
}
@media (max-width: 800px) {
  .mockup-home .mock-source-preview { margin: 0; }
}

/* Second-pass composition: product preview first, library index second */
.mockup-home .mock-home-main { max-width: 1520px; }
.mockup-home .mock-hero {
  display: block;
  min-height: auto;
  padding: clamp(74px, 9vw, 128px) 0 76px;
}
.mock-hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .55fr);
  align-items: end;
  gap: 60px;
  padding-bottom: 46px;
}
.mock-hero-heading h1 { max-width: 850px; }
.mock-hero-side { max-width: 330px; padding-bottom: 5px; }
.mock-hero-side .mock-hero-lede { margin: 0; }
.mock-hero-side .mock-hero-actions { margin-top: 24px; }
.mock-hero-window.mock-source-preview { width: 100%; margin: 0; box-shadow: 18px 22px 0 rgba(0,0,0,.2); }
.mock-hero-meta { display: flex; justify-content: space-between; gap: 18px; padding-top: 13px; color: #74828b; font: 600 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.mock-category-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.mock-category-heading .mock-kicker { margin-bottom: 15px; }
.mock-category-heading h2 { max-width: 650px; margin: 0; color: #eef3f5; font-size: clamp(30px, 4vw, 54px); font-weight: 520; line-height: 1; letter-spacing: -.06em; }
.mock-category-heading > p { max-width: 280px; margin: 0 0 3px; color: var(--mock-muted); font-size: 14px; line-height: 1.5; }
.mock-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mock-category-grid > a:first-child { grid-column: span 2; }
.mock-category-grid > a { min-height: 128px; padding: 22px; }
.mock-category-grid > a:first-child .mock-category-icon { width: 50px; height: 50px; }
.mock-category-grid > a:first-child strong { font-size: 19px; }
.mock-category-grid > a:first-child small { font-size: 12px; }
.mock-categories { padding-top: 70px; }
.mock-workflow { padding-top: 126px; }
.mock-products { padding-top: 100px; }
.mock-product-grid > * { min-width: 0; }
.mock-product-image { filter: grayscale(.2) saturate(.55) contrast(1.05); }
.mock-trust-strip { margin-top: 0; }
.mock-trust-grid > * { min-height: 94px; }
.mock-download-cta { min-height: 360px; }
@media (max-width: 800px) {
  .mockup-home .mock-hero { padding-top: 66px; }
  .mock-hero-intro { display: block; padding-bottom: 34px; }
  .mock-hero-heading h1 { font-size: clamp(44px, 13vw, 68px); }
  .mock-hero-side { max-width: 420px; margin-top: 26px; }
  .mock-hero-side .mock-hero-actions { margin-top: 20px; }
  .mock-hero-meta { display: grid; grid-template-columns: 1fr 1fr; font-size: 8px; }
  .mock-hero-meta span:last-child { grid-column: 1 / -1; }
  .mock-category-heading { display: block; }
  .mock-category-heading h2 { font-size: 34px; }
  .mock-category-heading > p { margin-top: 18px; }
  .mock-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-category-grid > a:first-child { grid-column: span 2; }
  .mock-category-grid > a { min-height: 96px; padding: 13px; }
  .mock-category-grid > a:first-child .mock-category-icon { width: 40px; height: 40px; }
  .mock-category-grid > a:first-child strong { font-size: 14px; }
  .mock-category-grid > a:first-child small { font-size: 10px; }
}

/* Final density and overflow pass */
@media (min-width: 801px) {
  .mockup-home .mock-source-preview { width: min(100%, 1280px); max-width: 1280px; margin-inline: auto; }
}
.mock-categories { padding-bottom: 82px; }
.mock-workflow { padding: 88px 0 96px; }
.mock-products { padding: 72px 0 92px; }
.mock-trust-grid > * { min-height: 78px; }
.mock-download-cta { min-height: 292px; }
@media (max-width: 800px) {
  .mock-categories { padding: 54px 0 64px; }
  .mock-workflow { padding: 64px 0 70px; }
  .mock-products { min-width: 0; overflow: hidden; padding: 58px 0 70px; }
  .mock-products .mock-product-grid {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .mock-products .mock-product-grid::-webkit-scrollbar { display: none; }
  .mock-products .mock-product-grid > * {
    flex: 0 0 min(78vw, 292px);
    width: min(78vw, 292px);
    scroll-snap-align: start;
  }
  .mock-download-cta { min-height: 260px; }
}
.mockup-home { overflow-x: clip; }
.mock-products { contain: inline-size; }
@media (min-width: 801px) {
  .mockup-home .mock-source-preview { width: 100% !important; max-width: 1280px !important; }
}
@media (min-width: 801px) {
  .mockup-home .mock-home-main { width: min(1520px, calc(100% - 72px)); max-width: 1520px; }
}

/* High-effort visual QA fixes */
.mockup-home .mock-source-preview {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
.mockup-home .mock-source-preview img {
  display: block;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1408 / 768 !important;
  object-fit: contain !important;
}
.mock-preview-label,
.mock-hero-meta { font-size: 10px; line-height: 1.25; }
.mock-category-grid small,
.mock-category-heading > p { font-size: 12px; }
.mock-product-image > span { font-size: 10px; }
.mock-trust-grid small,
.mock-download-cta small,
.mock-footer,
.mock-footer a { font-size: 11px; }
.mockup-home .mock-workflow {
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  grid-template-areas: "copy stack" "summary stack";
  align-items: start;
  row-gap: 30px;
  padding-top: 78px;
  padding-bottom: 84px;
}
.mockup-home .mock-workflow-copy { grid-area: copy; }
.mockup-home .mock-feature-stack { grid-area: stack; }
.mockup-home .mock-library-summary {
  grid-area: summary;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  align-self: start;
}
.mockup-home .mock-feature-stack article { padding: 18px 0; }
.mockup-home .mock-feature-stack p { font-size: 15px; }
.mockup-home .mock-trust-strip { background: #0d1012; }
.mockup-home .mock-trust-grid {
  min-height: 0;
  gap: 0;
  align-items: stretch;
  padding-block: 10px;
}
.mockup-home .mock-trust-grid > * {
  min-height: 56px;
  gap: 12px;
  padding: 10px 18px;
  border: 0;
  border-left: 1px solid var(--mock-line);
  border-radius: 0;
  background: transparent;
}
.mockup-home .mock-trust-grid > *:first-child { border-left: 0; }
.mockup-home .mock-trust-grid svg {
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid rgba(142, 201, 236, .28);
  border-radius: 3px;
  color: #9acbe8;
  background: rgba(76, 145, 186, .1);
  stroke: currentColor;
  stroke-width: 1.6;
}
.mockup-home .mock-trust-grid strong { font-size: 11px; }
.mockup-home .mock-trust-grid small { margin-top: 1px; font-size: 10px; }
@media (max-width: 1200px) {
  .mockup-home .mock-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mockup-home .mock-trust-grid > *:nth-child(odd) { border-left: 0; }
  .mockup-home .mock-trust-grid > *:nth-child(n + 3) { border-top: 1px solid var(--mock-line); }
}
.mockup-home .mock-download-cta { min-height: 260px; }
.mockup-home .mock-download-cta p { max-width: 440px; font-size: 16px; }
.mockup-home .mock-category-grid { counter-reset: category; }
.mockup-home .mock-category-grid > a { position: relative; counter-increment: category; }
.mockup-home .mock-category-grid > a::after { content: "0" counter(category); position: absolute; top: 16px; right: 18px; color: #66747d; font: 600 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.mockup-home .mock-category-grid > a:nth-child(5) { grid-column: span 2; }
@media (max-width: 800px) {
  html:has(body.mockup-home),
  body.mockup-home { overflow-x: clip; }
  .mockup-home .mock-workflow {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "stack" "summary";
    row-gap: 28px;
    padding-top: 58px;
    padding-bottom: 66px;
  }
  .mockup-home .mock-library-summary { margin-top: 0; }
  .mockup-home .mock-category-grid > a:nth-child(5) { grid-column: span 1; }
  .mockup-home .mock-category-grid > a::after { top: 12px; right: 12px; }
  .mockup-home .mock-preview-label { font-size: 9px; }
  .mockup-home .mock-hero-meta { font-size: 9px; }
  .mockup-home .mock-category-grid small { font-size: 11px; }
  .mockup-home .mock-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mockup-home .mock-trust-grid > * { min-height: 60px; padding: 10px 12px; }
  .mockup-home .mock-trust-grid svg { width: 28px; height: 28px; padding: 5px; }
}
.mockup-home .mock-product-info > div strong,
.mockup-home .mock-product-info > div span { font-size: 11px; }
@media (max-width: 800px) {
  .mockup-home .mock-library-summary { display: none; }
}

/* Homepage motion and workflow stabilization. */
.mockup-home {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background: #0c1113;
}

.mock-motion-backdrop {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0a0f11 url("./assets/home/flash-motion-poster.webp") center / cover no-repeat;
}

.mock-motion-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 12, .72);
}

.mock-motion-backdrop video {
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  position: absolute;
  top: -24px;
  left: -24px;
  display: block;
  object-fit: cover;
  opacity: 0;
  filter: brightness(.68) saturate(.72) contrast(1.08);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1.035);
  transition: transform 520ms cubic-bezier(.16, 1, .3, 1), opacity 720ms cubic-bezier(.4, 0, .2, 1);
  will-change: transform, opacity;
}

.mock-motion-backdrop video.is-loop-active {
  opacity: 1;
}

.mock-motion-backdrop.is-loop-fading video.is-loop-outgoing {
  opacity: 0;
}

.mock-motion-backdrop[data-motion="reduced"] video,
.mock-motion-backdrop[data-motion="poster"] video {
  display: none;
  transform: none;
  will-change: auto;
}

.mockup-home .mock-site-frame {
  position: relative;
  z-index: 1;
}

.mockup-home .flow-nav {
  background: rgba(9, 15, 18, .9);
  backdrop-filter: blur(14px) saturate(1.05);
}

.mockup-home .mock-hero-window {
  transform: translate3d(var(--hero-parallax-x, 0px), var(--hero-parallax-y, 0px), 0);
  transition: transform 520ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.mockup-home .mock-workflow {
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
  grid-template-areas: "copy stack" "summary stack";
  column-gap: clamp(54px, 9vw, 148px);
  row-gap: 40px;
  align-items: start;
  padding-top: 96px;
  padding-bottom: 104px;
}

.mockup-home .mock-workflow-copy {
  max-width: 390px;
}

.mockup-home .mock-workflow-copy .mock-kicker {
  margin-bottom: 16px;
}

.mockup-home .mock-workflow-copy h2 {
  max-width: 440px;
  font-size: clamp(38px, 4.2vw, 62px);
  letter-spacing: -.04em;
}

.mockup-home .mock-section-lede {
  margin: 20px 0 0;
  font-size: 16px;
}

.mockup-home .mock-feature-stack {
  width: 100%;
  border-top: 1px solid rgba(214, 232, 241, .2);
}

.mockup-home .mock-feature-stack article {
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
  min-height: 118px;
  padding: 26px 0;
  border-bottom-color: rgba(214, 232, 241, .2);
  background: none;
  box-shadow: none;
}

.mockup-home .mock-feature-stack article > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-color: rgba(146, 206, 241, .36);
  background: rgba(89, 145, 178, .16);
}

.mockup-home .mock-feature-stack article > span::after {
  display: none;
}

.mockup-home .mock-feature-stack article > span svg {
  width: 19px;
  height: 19px;
}

.mockup-home .mock-feature-stack h3 {
  padding-top: 2px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.mockup-home .mock-feature-stack p {
  max-width: 570px;
  margin-top: 7px;
  color: #adbbc3;
  font-size: 15px;
  line-height: 1.55;
}

.mockup-home .mock-library-summary {
  padding: 26px;
  border-color: rgba(214, 232, 241, .18);
  background: rgba(12, 20, 23, .74);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .2);
}

@media (max-width: 800px) {
  .mock-motion-backdrop video {
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    top: -12px;
    left: -12px;
    transform: scale(1.02);
    transition: opacity 720ms cubic-bezier(.4, 0, .2, 1);
    will-change: opacity;
  }

  .mockup-home .mock-hero-window {
    transform: none;
    transition: none;
    will-change: auto;
  }

  .mockup-home .mock-workflow {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "stack" "summary";
    row-gap: 32px;
    padding-top: 68px;
    padding-bottom: 74px;
  }

  .mockup-home .mock-feature-stack article {
    min-height: 0;
    padding: 22px 0;
  }

  .mockup-home .mock-feature-stack h3 {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mock-motion-backdrop video,
  .mockup-home .mock-hero-window {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* Shared Quiet Studio theme for public redesign routes beyond the homepage. */
.public-studio-page:not(.mockup-home) {
  --studio-scroll-y: 0px;
  --studio-bg: #0c1113;
  --studio-panel: rgba(13, 20, 23, .86);
  --studio-panel-soft: rgba(18, 27, 31, .78);
  --studio-line: rgba(214, 232, 241, .16);
  --studio-line-strong: rgba(154, 203, 232, .3);
  --studio-text: #f3f6f8;
  --studio-muted: #9ca8b2;
  --studio-accent: #9acbe8;
  isolation: isolate;
  color: var(--studio-text);
  background: var(--studio-bg);
}

.public-studio-page:not(.mockup-home)::before {
  content: "";
  position: fixed;
  inset: -32px;
  z-index: -2;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 10, 12, .7), rgba(4, 10, 12, .88)) center / cover no-repeat,
    url("./assets/backgrounds/misty-forest-studio-v2.jpg") center / cover no-repeat;
  filter: blur(3px) saturate(.68) contrast(1.06) brightness(.9);
  opacity: 1;
  transform: translate3d(0, var(--studio-scroll-y), 0) scale(1.04);
  will-change: transform;
}

.public-studio-page:not(.mockup-home)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  pointer-events: none;
  background-color: rgba(4, 10, 12, .2);
  background-image:
    linear-gradient(rgba(154, 203, 232, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 203, 232, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

.public-studio-page:not(.mockup-home) .flow-nav {
  border-bottom-color: var(--studio-line);
  background: rgba(9, 15, 18, .9);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(1.05);
}

.public-studio-page:not(.mockup-home) .flow-brand strong,
.public-studio-page:not(.mockup-home) h1,
.public-studio-page:not(.mockup-home) h2,
.public-studio-page:not(.mockup-home) h3,
.public-studio-page:not(.mockup-home) .market-section h2,
.public-studio-page:not(.mockup-home) .download-minimal-head h1,
.public-studio-page:not(.mockup-home) .account-auth-clean h2,
.public-studio-page:not(.mockup-home) .account-card-clean h2,
.public-studio-page:not(.mockup-home) .item-product-title,
.public-studio-page:not(.mockup-home) .item-info-panel h1 {
  font-family: var(--display);
  letter-spacing: 0;
}

.public-studio-page:not(.mockup-home) .flow-brand strong {
  font-weight: 650;
}

.public-studio-page:not(.mockup-home) .flow-nav nav a {
  color: #b8c0c7;
  font-weight: 500;
}

.public-studio-page:not(.mockup-home) .flow-nav nav a:hover,
.public-studio-page:not(.mockup-home) .flow-nav nav a:focus-visible,
.public-studio-page:not(.mockup-home) .flow-nav nav a[aria-current="page"] {
  color: #fff;
  text-shadow: none;
}

.public-studio-page:not(.mockup-home) .flow-actions a,
.public-studio-page:not(.mockup-home) .flow-primary,
.public-studio-page:not(.mockup-home) .flow-secondary,
.public-studio-page:not(.mockup-home) .primary-action,
.public-studio-page:not(.mockup-home) .secondary-action,
.public-studio-page:not(.mockup-home) .credit-pack-grid-clean button,
.public-studio-page:not(.mockup-home) .download-file-actions button,
.public-studio-page:not(.mockup-home) .item-version-row button {
  border-color: var(--studio-line);
  border-radius: 2px;
  color: #dbe4e9;
  background: rgba(18, 27, 31, .9);
  box-shadow: none;
  font-weight: 600;
  letter-spacing: 0;
}

.public-studio-page:not(.mockup-home) .flow-actions a:last-child,
.public-studio-page:not(.mockup-home) .flow-primary,
.public-studio-page:not(.mockup-home) .primary-action {
  border-color: transparent;
  color: #0e1418;
  background: #d9e5eb;
}

.public-studio-page:not(.mockup-home) .flow-actions a:hover,
.public-studio-page:not(.mockup-home) .flow-primary:hover,
.public-studio-page:not(.mockup-home) .flow-secondary:hover,
.public-studio-page:not(.mockup-home) .primary-action:hover,
.public-studio-page:not(.mockup-home) .secondary-action:hover,
.public-studio-page:not(.mockup-home) .item-version-row button:hover {
  border-color: var(--studio-line-strong);
  filter: brightness(1.08);
  transform: none;
}

.public-studio-page:not(.mockup-home) .item-version-row.is-managed-install {
  grid-template-columns: 54px minmax(0, 1fr) auto;
}

.public-studio-page:not(.mockup-home) .item-managed-install-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-studio-page:not(.mockup-home) .item-managed-install-actions a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--studio-line);
  border-radius: 2px;
  color: #dbe4e9;
  background: rgba(18, 27, 31, .9);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.public-studio-page:not(.mockup-home) .item-managed-install-actions .item-managed-install-primary {
  border-color: transparent;
  color: #0e1418;
  background: #d9e5eb;
}

.public-studio-page:not(.mockup-home) .item-managed-install-actions .item-managed-install-fallback {
  color: var(--studio-text-muted);
  background: transparent;
}

.public-studio-page:not(.mockup-home) .item-managed-install-actions a:hover,
.public-studio-page:not(.mockup-home) .item-managed-install-actions a:focus-visible {
  border-color: var(--studio-line-strong);
  filter: brightness(1.08);
}

@media (max-width: 620px) {
  .public-studio-page:not(.mockup-home) .item-version-row.is-managed-install {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .public-studio-page:not(.mockup-home) .item-version-row.is-managed-install > [data-price-scope] {
    grid-column: 1 / -1;
  }

  .public-studio-page:not(.mockup-home) .item-managed-install-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

.public-studio-page:not(.mockup-home) :is(input, select, textarea) {
  border-color: var(--studio-line);
  border-radius: 2px;
  color: var(--studio-text);
  background-color: rgba(7, 13, 16, .76);
  box-shadow: none;
}

.public-studio-page:not(.mockup-home) :is(input, select, textarea):focus {
  border-color: var(--studio-line-strong);
  outline: 2px solid rgba(154, 203, 232, .1);
  outline-offset: 1px;
}

.public-studio-page:not(.mockup-home) .flow-page-hero,
.public-studio-page:not(.mockup-home) .flow-panel,
.public-studio-page:not(.mockup-home) .download-clean-head aside,
.public-studio-page:not(.mockup-home) .download-release,
.public-studio-page:not(.mockup-home) .download-notes article,
.public-studio-page:not(.mockup-home) .download-file,
.public-studio-page:not(.mockup-home) .account-auth-clean,
.public-studio-page:not(.mockup-home) .account-topline,
.public-studio-page:not(.mockup-home) .account-card-clean,
.public-studio-page:not(.mockup-home) .account-stats-clean article,
.public-studio-page:not(.mockup-home) .admin-card-clean,
.public-studio-page:not(.mockup-home) .admin-table-wrap-clean,
.public-studio-page:not(.mockup-home) .category-browser-toolbar,
.public-studio-page:not(.mockup-home) .category-browser-card {
  border-color: var(--studio-line);
  border-radius: 3px;
  background: var(--studio-panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px) saturate(.9);
}

.public-studio-page:not(.mockup-home) .flow-page-hero {
  background:
    linear-gradient(135deg, rgba(154, 203, 232, .07), transparent 42%),
    var(--studio-panel);
}

.public-studio-page:not(.mockup-home) .flow-panel-row,
.public-studio-page:not(.mockup-home) .credit-pack-grid-clean article,
.public-studio-page:not(.mockup-home) .module-license-row,
.public-studio-page:not(.mockup-home) .purchase-row,
.public-studio-page:not(.mockup-home) .gift-code-row,
.public-studio-page:not(.mockup-home) .module-license-entry,
.public-studio-page:not(.mockup-home) .module-device-row {
  border-color: var(--studio-line);
  border-radius: 2px;
  background: rgba(7, 13, 16, .46);
  box-shadow: none;
}

.public-studio-page:not(.mockup-home) :is(.flow-page-hero, .flow-panel, .download-file, .account-auth-clean, .account-topline, .account-card-clean, .account-stats-clean article, .category-browser-toolbar) p,
.public-studio-page:not(.mockup-home) :is(.flow-panel, .account-card-clean) li,
.public-studio-page:not(.mockup-home) .category-browser-head span,
.public-studio-page:not(.mockup-home) .row-heading p {
  color: var(--studio-muted);
}

.public-studio-page:not(.mockup-home) .flow-badge,
.public-studio-page:not(.mockup-home) .download-file-actions > a:not(.flow-primary),
.public-studio-page:not(.mockup-home) .download-meta a,
.public-studio-page:not(.mockup-home) .purchase-row a,
.public-studio-page:not(.mockup-home) .text-link,
.public-studio-page:not(.mockup-home) .gift-code-row button,
.public-studio-page:not(.mockup-home) .category-back-link,
.public-studio-page:not(.mockup-home) .see-all-link {
  color: var(--studio-accent);
}

.public-studio-page:not(.mockup-home) .market-sidebar {
  border-color: var(--studio-line);
  background: rgba(9, 15, 18, .88);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(.9);
}

.public-studio-page:not(.mockup-home) .market-sidebar a {
  border-radius: 2px;
  color: #aeb9c0;
}

.public-studio-page:not(.mockup-home) .market-sidebar a:hover,
.public-studio-page:not(.mockup-home) .market-sidebar a.active {
  border-color: var(--studio-line);
  color: #eef4f7;
  background: rgba(154, 203, 232, .09);
}

.public-studio-page:not(.mockup-home) .cat-svg {
  color: var(--studio-accent);
}

.public-studio-page:not(.mockup-home) .market-card,
.public-studio-page:not(.mockup-home) .blank-card {
  border-color: var(--studio-line);
  border-radius: 3px;
  background-color: var(--studio-panel-soft);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

.public-studio-page:not(.mockup-home) .blank-card {
  background:
    linear-gradient(135deg, rgba(154, 203, 232, .05), transparent 48%),
    var(--studio-panel-soft);
}

.public-studio-page:not(.mockup-home) .market-card:hover,
.public-studio-page:not(.mockup-home) .category-browser-card:hover {
  border-color: var(--studio-line-strong);
}

.public-studio-page:not(.mockup-home) .carousel-arrow,
.public-studio-page:not(.mockup-home) .item-gallery-arrow {
  border-color: var(--studio-line-strong);
  border-radius: 2px;
  color: #d9e5eb;
  background: rgba(9, 15, 18, .82);
  box-shadow: none;
}

.public-studio-page:not(.mockup-home).item-template-page .item-hero-template,
.public-studio-page:not(.mockup-home).item-template-page .item-info-panel,
.public-studio-page:not(.mockup-home).item-template-page .item-gallery-panel {
  border-color: var(--studio-line);
  border-radius: 0;
  background-color: rgba(8, 14, 17, .9);
  box-shadow: none;
}

.public-studio-page:not(.mockup-home).item-template-page::before {
  opacity: 1 !important;
}

.public-studio-page:not(.mockup-home).item-template-page .flow-nav {
  height: 58px !important;
  padding-inline: 38px !important;
  border-bottom: 1px solid var(--studio-line) !important;
  background: rgba(9, 15, 18, .9) !important;
  backdrop-filter: blur(14px) saturate(1.05) !important;
}

.public-studio-page:not(.mockup-home).item-template-page .item-template {
  padding-top: 58px !important;
}

.public-studio-page:not(.mockup-home).item-template-page .item-hero-template,
.public-studio-page:not(.mockup-home).item-template-page .item-gallery-stage {
  min-height: calc(100vh - 58px) !important;
}

.public-studio-page:not(.mockup-home).item-template-page .item-gallery-stage {
  background:
    linear-gradient(rgba(7, 13, 16, .58), rgba(7, 13, 16, .78)),
    url("./assets/home/flash-motion-poster.webp") center / cover no-repeat !important;
}

.public-studio-page:not(.mockup-home) .item-tab-button {
  color: #7f8d96;
  letter-spacing: 0;
}

.public-studio-page:not(.mockup-home) .item-tab-button.is-active {
  color: #e7eef2;
}

.public-studio-page:not(.mockup-home) .item-tab-button::after {
  background: var(--studio-accent);
}

.public-studio-page:not(.mockup-home) .item-related-section h2,
.public-studio-page:not(.mockup-home) .category-browser-head p,
.public-studio-page:not(.mockup-home) .item-type,
.public-studio-page:not(.mockup-home) .market-sidebar small {
  color: #81909a;
  letter-spacing: .08em;
}

@media (max-width: 900px) {
  .public-studio-page:not(.mockup-home).item-template-page .flow-nav {
    height: auto !important;
    min-height: var(--mobile-flow-header-height);
    padding: 7px 12px 6px !important;
  }

  .public-studio-page:not(.mockup-home) .flow-nav nav {
    border-top-color: var(--studio-line);
    background: rgba(9, 15, 18, .97);
  }

  .public-studio-page:not(.mockup-home) .market-sidebar {
    background: rgba(9, 15, 18, .96);
  }

  .public-studio-page:not(.mockup-home) .market-sidebar a {
    flex: 0 0 auto;
  }
}

@media (max-width: 560px) {
  .public-studio-page:not(.mockup-home).item-template-page .item-info-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 34px 28px;
  }

  .public-studio-page:not(.mockup-home).item-template-page :is(.item-description, .compat-entry) {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-studio-page:not(.mockup-home)::before {
    transform: none;
  }
}

/* Downloads studio: a focused installer surface with a readable install path. */
.download-studio {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 78px 0 112px;
}

.download-studio-head {
  max-width: 760px;
}

.download-studio-head h1 {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--studio-text);
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.02;
}

.download-studio-head > p:last-child {
  margin: 18px 0 0;
  color: var(--studio-muted);
  font-size: 16px;
  line-height: 1.55;
}

.download-platforms {
  margin-top: 60px;
}

.download-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.download-section-heading h2,
.trust-note h2,
.install-visualizer h2 {
  margin: 0;
  color: var(--studio-text);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 620;
  letter-spacing: 0;
}

.download-platform {
  border: 1px solid var(--studio-line);
  border-radius: 3px;
  color: var(--studio-text);
  background: rgba(13, 20, 23, .78);
}

.download-platform.is-primary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-color: var(--studio-line-strong);
  background:
    linear-gradient(120deg, rgba(154, 203, 232, .1), transparent 44%),
    rgba(13, 20, 23, .9);
}

.download-platform-copy {
  min-width: 0;
}

.download-platform-copy h3,
.download-platform-unavailable-grid h3 {
  margin: 4px 0 0;
  color: var(--studio-text);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 620;
  letter-spacing: 0;
}

.download-platform-copy > p:not(.flow-kicker),
.download-platform-unavailable-grid p {
  margin: 5px 0 0;
  color: var(--studio-muted);
  font-size: 13px;
  line-height: 1.45;
}

.download-platform-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 14px 0 0;
}

.download-platform-meta div {
  display: grid;
  gap: 3px;
}

.download-platform-meta dt {
  color: #81909a;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.download-platform-meta dd {
  margin: 0;
  color: #dbe4e9;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.download-platform-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.download-platform-actions a,
.trust-note a {
  color: var(--studio-accent);
  font-size: 12px;
  font-weight: 600;
}

.download-platform-unavailable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.download-platform.is-unavailable {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 18px 20px;
  background: rgba(9, 15, 18, .58);
}

.download-platform-status {
  color: #81909a;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.trust-note {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr);
  gap: 36px;
  margin-top: 64px;
  padding: 26px 0;
  border-top: 1px solid var(--studio-line);
  border-bottom: 1px solid var(--studio-line);
}

.trust-note-copy {
  max-width: 610px;
}

.trust-note-copy p {
  margin: 0;
  color: var(--studio-muted);
  font-size: 13px;
  line-height: 1.55;
}

.trust-note-copy p + a,
.trust-note-copy a + p {
  display: block;
  margin-top: 12px;
}

.trust-note-copy strong {
  color: #dbe4e9;
  font-weight: 620;
}

.install-visualizer {
  margin-top: 72px;
}

.install-visualizer-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 20px;
}

.install-stage-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.install-stage,
.install-stage-branch {
  position: relative;
  min-height: 148px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--studio-line);
  border-radius: 3px;
  background: rgba(9, 15, 18, .5);
}

.install-stage {
  opacity: .42;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease, border-color .28s ease, background-color .28s ease;
}

.install-stage.is-active {
  opacity: 1;
  transform: none;
  border-color: var(--studio-line-strong);
  background: rgba(18, 29, 34, .76);
}

.install-stage span,
.install-stage-branch span {
  color: var(--studio-accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
}

.install-stage strong,
.install-stage-branch strong {
  color: var(--studio-text);
  font-size: 14px;
  font-weight: 620;
}

.install-stage small,
.install-stage-branch small {
  color: var(--studio-muted);
  font-size: 12px;
  line-height: 1.45;
}

.install-stage-branch {
  grid-column: 2;
  grid-row: 2;
  min-height: 92px;
  margin-top: -4px;
  border-style: dashed;
  border-color: rgba(154, 203, 232, .26);
  background: rgba(12, 21, 25, .36);
}

.install-stage-branch::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 22px;
  height: 14px;
  border-left: 1px dashed rgba(154, 203, 232, .3);
}

.download-studio .download-file {
  margin-top: 28px;
}

@media (max-width: 760px) {
  .download-studio {
    width: min(100% - 28px, 620px);
    padding-top: 52px;
  }

  .download-studio-head h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .download-platform.is-primary {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: 18px;
  }

  .download-platform-actions {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .trust-note {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 48px;
  }

  .install-visualizer {
    margin-top: 52px;
  }

  .install-visualizer-heading {
    display: block;
  }

  .install-stage-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .install-stage-branch {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 460px) {
  .download-section-heading,
  .download-platform-unavailable-grid {
    grid-template-columns: 1fr;
  }

  .download-section-heading {
    display: block;
  }

  .download-section-heading h2 {
    margin-top: 8px;
  }

  .download-platform-unavailable-grid {
    display: grid;
  }

  .download-platform-meta {
    gap: 12px 18px;
  }

  .install-stage-track {
    grid-template-columns: 1fr;
  }

  .install-stage-branch {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .install-stage-branch::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-studio [data-stage] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Account Studio surfaces: presentation-only layer over the existing auth/data contract. */
.account-clean {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  padding: 76px 0 96px;
}

.account-access {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  min-height: 430px;
}

.account-access-copy,
.account-access-panel,
.account-studio-identity,
.account-card-clean,
.account-stats-clean article {
  min-width: 0;
}

.account-access-copy {
  padding-bottom: 22px;
}

.account-access-copy h1 {
  max-width: 680px;
  margin: 14px 0 20px;
  color: #fff;
  font-family: var(--display);
  font-size: 76px;
  font-weight: 560;
  letter-spacing: 0;
  line-height: .94;
}

.account-access-copy > p:not(.flow-kicker) {
  max-width: 500px;
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: 16px;
  line-height: 1.55;
}

.account-access-panel,
.account-studio-identity,
.account-card-clean,
.account-stats-clean article {
  border: 1px solid rgba(194, 224, 222, .18);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(178, 222, 210, .06), transparent 48%),
    rgba(8, 20, 21, .82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.account-access-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 26px;
}

.account-access-panel h2,
.account-studio-identity h2,
.account-card-clean h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
}

.account-auth-actions {
  display: grid;
  gap: 10px;
}

.account-auth-actions .primary-action,
.account-auth-actions .secondary-action {
  width: 100%;
  min-height: 44px;
}

.account-access-panel :is(button, a, input):focus-visible,
.account-dashboard-clean :is(button, a, input):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.account-dashboard-clean {
  display: grid;
  gap: 16px;
}

.account-studio-identity {
  padding: 22px 24px;
}

.account-studio-identity p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.account-studio-actions {
  align-self: end;
}

.account-studio-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-studio-stats article {
  min-height: 112px;
  padding: 18px;
}

.account-studio-stats article span {
  color: rgba(255,255,255,.56);
  font-size: 12px;
}

.account-studio-stats article strong {
  display: block;
  margin-top: 13px;
  color: #fff;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1;
}

.account-studio-credits,
.account-studio-owned-tools,
.account-studio-purchases,
.account-studio-gifts {
  padding: 22px;
}

.account-studio-regions {
  gap: 16px;
}

.account-studio-credits .credit-pack-grid-clean article,
.account-studio-owned-tools .module-license-row,
.account-studio-purchases .purchase-row,
.account-studio-gifts .gift-code-row {
  border-radius: 4px;
  border-color: rgba(194, 224, 222, .13);
  background: rgba(2, 11, 13, .35);
}

.account-studio-credits .credit-pack-grid-clean button,
.account-studio-gifts .gift-redeem-row button {
  min-height: 36px;
}

.account-studio-gifts input {
  min-width: 0;
  border-color: rgba(194, 224, 222, .2);
  border-radius: 4px;
  color: #fff;
  background: rgba(2, 11, 13, .45);
}

@media (max-width: 720px) {
  .account-clean {
    width: min(100% - 28px, 560px);
    padding-top: 52px;
    padding-bottom: 64px;
  }

  .account-access {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    min-height: 0;
  }

  .account-access-copy {
    padding-bottom: 0;
  }

  .account-access-copy h1 {
    max-width: 520px;
    font-size: 46px;
  }

  .account-access-copy > p:not(.flow-kicker) {
    font-size: 14px;
  }

  .account-access-panel,
  .account-studio-identity,
  .account-studio-credits,
  .account-studio-owned-tools,
  .account-studio-purchases,
  .account-studio-gifts {
    padding: 18px;
  }

  .account-studio-identity,
  .account-studio-actions,
  .account-billing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-studio-actions > *,
  .account-billing-actions > * {
    width: 100%;
  }

  .account-studio-stats {
    grid-template-columns: 1fr;
  }

  .account-studio-stats article {
    min-height: 88px;
  }

  .account-studio-credits .credit-pack-grid-clean,
  .account-studio-regions {
    grid-template-columns: 1fr;
  }

  .account-studio-credits .credit-pack-grid-clean article {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .account-studio-credits .credit-pack-grid-clean article button {
    grid-column: 1 / -1;
  }

  .account-studio-gifts .gift-redeem-row {
    align-items: stretch;
    flex-direction: column;
  }

  .account-studio-gifts .gift-redeem-row > * {
    width: 100%;
  }
}
