@layer reset, tokens, base, components, utilities, responsive;

@layer components {
  .product-status { display: inline-block; margin-block: 1rem; padding: .5rem .8rem; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--cyan-soft); font-size: .9rem; line-height: 1.5; }
  .exchange-capture { align-self: center; min-width: 0; }
  .exchange-capture > a { display: block; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
  .exchange-capture img { width: 100%; height: auto; }
  .exchange-capture figcaption { margin-top: 1rem; color: var(--muted); font-size: .875rem; line-height: 1.7; }
  .exchange-preview__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 2rem; margin-top: 2rem; }
  .exchange-preview__grid .exchange-capture { align-self: start; }
  .module-availability { margin-block: 1.5rem 2rem; padding: 1.5rem; border-left: 2px solid var(--violet-bright); background: var(--surface); color: var(--text-soft); font-size: 1rem; line-height: 1.8; }
  .home-help__links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; margin-top: 2rem; }
  .home-help__links > a { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; }
  .home-help__links > a:hover { border-color: var(--violet-bright); }
  .home-help__links span { color: var(--cyan); font-size: .9rem; }
  .home-help__links h3 { font-size: 1.3rem; margin-block: 1.2rem .75rem; }
  .home-help__links p { font-size: 1rem; line-height: 1.75; color: var(--text-soft); }
}
@layer responsive {
  @media (max-width: 900px) {
    .exchange-preview__grid, .home-help__links { grid-template-columns: 1fr; }
  }
}

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    min-width: 320px;
    background: #020106;
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
    text-size-adjust: 100%;
  }

  body,
  h1,
  h2,
  h3,
  p,
  figure,
  blockquote,
  dl,
  dd {
    margin: 0;
  }

  ul,
  ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  img,
  picture,
  video {
    display: block;
    max-width: 100%;
  }

  button,
  input,
  textarea,
  select {
    font: inherit;
  }

  a {
    color: inherit;
  }

  button,
  summary {
    -webkit-tap-highlight-color: transparent;
  }
}

@layer tokens {
  :root {
    color-scheme: dark;
    --void: #020106;
    --void-soft: #05020a;
    --obsidian: #08040e;
    --surface: #0d0815;
    --surface-raised: #130b20;
    --surface-violet: #180d2a;
    --violet: #7d45ff;
    --violet-bright: #9b68ff;
    --plasma: #c95aff;
    --cyan: #78e8ff;
    --cyan-soft: #a8f1ff;
    --text: #f7f4fa;
    --text-soft: #d7d1df;
    --muted: #aaa3b5;
    --muted-dark: #756f80;
    --border: rgba(229, 220, 255, 0.13);
    --border-strong: rgba(191, 164, 255, 0.27);
    --focus: #9befff;
    --success: #84f1ca;
    --danger: #ff8b9a;

    --font-display: Inter, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
    --font-body: Inter, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;

    --step--1: clamp(0.78rem, 0.74rem + 0.14vw, 0.9rem);
    --step-0: clamp(0.98rem, 0.93rem + 0.17vw, 1.08rem);
    --step-1: clamp(1.12rem, 1.03rem + 0.34vw, 1.34rem);
    --step-2: clamp(1.35rem, 1.17rem + 0.68vw, 1.8rem);
    --step-3: clamp(1.75rem, 1.4rem + 1.35vw, 2.65rem);
    --step-4: clamp(2.35rem, 1.78rem + 2.15vw, 3.8rem);
    --step-5: clamp(3rem, 2.12rem + 3.4vw, 5.7rem);
    --step-hero: clamp(3.25rem, 2rem + 4.2vw, 6.4rem);

    --space-1: 0.35rem;
    --space-2: 0.65rem;
    --space-3: 0.9rem;
    --space-4: 1.25rem;
    --space-5: 1.75rem;
    --space-6: 2.5rem;
    --space-7: 3.5rem;
    --space-8: 5rem;
    --space-9: 7rem;
    --space-10: 9rem;

    --radius-sm: 0.65rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-pill: 999px;

    --shadow-raised: 0 1.5rem 5rem rgba(0, 0, 0, 0.38);
    --shadow-violet: 0 0 4rem rgba(125, 69, 255, 0.16);
    --shadow-cyan: 0 0 3rem rgba(120, 232, 255, 0.1);

    --duration-fast: 160ms;
    --duration-base: 320ms;
    --duration-slow: 700ms;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);

    --container: 86rem;
    --container-wide: 100rem;
    --container-copy: 46rem;
    --header-height: 5.5rem;
  }
}

@layer base {
  body {
    min-height: 100vh;
    overflow-x: clip;
    background:
      radial-gradient(circle at 82% 18%, rgba(89, 38, 153, 0.09), transparent 28rem),
      radial-gradient(circle at 10% 54%, rgba(24, 103, 139, 0.06), transparent 34rem),
      var(--void);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--step-0);
    font-weight: 400;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
  }

  main {
    display: block;
  }

  h1,
  h2,
  h3 {
    font-family: var(--font-display);
    font-weight: 620;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
  }

  p {
    text-wrap: pretty;
  }

  :where(section, footer, [id]) {
    scroll-margin-top: 7rem;
  }

  ::selection {
    background: rgba(155, 104, 255, 0.4);
    color: #fff;
  }

  :focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
  }

  .skip-link {
    position: fixed;
    z-index: 200;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--text);
    color: var(--void);
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform var(--duration-fast) var(--ease-out);
  }

  .skip-link:focus {
    transform: translateY(0);
  }
}

@layer components {
  .container {
    width: min(calc(100% - 2.5rem), var(--container));
    margin-inline: auto;
  }

  .container--wide {
    width: min(calc(100% - 2.5rem), var(--container-wide));
  }

  .section {
    position: relative;
    padding-block: clamp(5.5rem, 9vw, 10rem);
  }

  .section--tight {
    padding-block: clamp(4rem, 6vw, 7rem);
  }

  .section-heading {
    display: grid;
    max-width: 58rem;
    gap: var(--space-4);
  }

  .section-heading--center {
    margin-inline: auto;
    text-align: center;
  }

  .section-heading h2 {
    max-width: 14ch;
    font-size: var(--step-5);
  }

  .section-heading--center h2 {
    margin-inline: auto;
  }

  .section-heading p {
    max-width: 44rem;
    color: var(--muted);
    font-size: var(--step-1);
  }

  .section-heading--center p {
    margin-inline: auto;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--cyan-soft);
    font-size: var(--step--1);
    font-weight: 680;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .eyebrow::before {
    width: 1.8rem;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), rgba(120, 232, 255, 0));
    content: "";
  }

  .button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .button {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 680;
    line-height: 1.2;
    text-decoration: none;
    transition:
      transform var(--duration-fast) var(--ease-out),
      border-color var(--duration-fast) ease,
      background-color var(--duration-fast) ease,
      color var(--duration-fast) ease;
  }

  .button:hover {
    transform: translateY(-2px);
  }

  .button--primary {
    background: linear-gradient(125deg, #7040e9, var(--violet-bright) 54%, #b649e8);
    box-shadow: 0 0.8rem 2.8rem rgba(125, 69, 255, 0.25);
  }

  .button--primary:hover {
    background: linear-gradient(125deg, #8154ed, #a979ff 54%, #cc66f1);
  }

  .button--secondary {
    border-color: var(--border-strong);
    background: rgba(8, 4, 14, 0.64);
  }

  .button--secondary:hover {
    border-color: rgba(168, 241, 255, 0.38);
    background: rgba(16, 9, 27, 0.86);
  }

  .text-link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.55rem;
    color: var(--text);
    font-weight: 650;
    text-decoration: none;
  }

  .text-link::after {
    color: var(--cyan);
    content: "↗";
    font-size: 0.95em;
    transition: transform var(--duration-fast) var(--ease-out);
  }

  .text-link[href^="#"]::after,
  .text-link[href^="/"]::after {
    content: "→";
  }

  .text-link:hover::after {
    transform: translate(0.18rem, -0.12rem);
  }

  /* GlobalHeader */
  .global-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    min-height: calc(var(--header-height) + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid transparent;
    background: linear-gradient(180deg, rgba(2, 1, 6, 0.7), transparent);
    transition:
      min-height var(--duration-base) var(--ease-standard),
      background-color var(--duration-base) ease,
      border-color var(--duration-base) ease,
      box-shadow var(--duration-base) ease;
  }

  .global-header.is-scrolled,
  .global-header:has(details[open]) {
    min-height: calc(4.8rem + env(safe-area-inset-top));
    border-color: var(--border);
    background: rgba(5, 2, 10, 0.9);
    box-shadow: 0 1rem 3.5rem rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
  }

  .header__inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
  }

  .brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
  }

  .brand img {
    width: clamp(8.6rem, 11vw, 11rem);
    height: auto;
  }

  .desktop-navigation,
  .header__actions {
    display: flex;
    align-items: center;
  }

  .desktop-navigation {
    margin-left: auto;
    gap: clamp(1.1rem, 2vw, 2rem);
  }

  .desktop-navigation > a,
  .product-menu > summary {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    color: var(--text-soft);
    cursor: pointer;
    font-size: 0.89rem;
    font-weight: 560;
    text-decoration: none;
    transition: color var(--duration-fast) ease;
  }

  .desktop-navigation > a:hover,
  .product-menu > summary:hover,
  .product-menu[open] > summary {
    color: #fff;
  }

  .product-menu {
    position: relative;
  }

  .product-menu > summary {
    gap: 0.35rem;
    list-style: none;
  }

  .product-menu > summary::-webkit-details-marker,
  .mobile-navigation > summary::-webkit-details-marker {
    display: none;
  }

  .product-menu > summary::after {
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    padding: 0.18rem;
    content: "";
    transform: rotate(45deg) translateY(-0.1rem);
    transition: transform var(--duration-fast) ease;
  }

  .product-menu[open] > summary::after {
    transform: rotate(225deg) translate(-0.08rem, -0.08rem);
  }

  .product-menu__panel {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 50%;
    width: min(28rem, 76vw);
    padding: 0.65rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: rgba(8, 4, 14, 0.97);
    box-shadow: var(--shadow-raised);
    transform: translateX(-50%);
  }

  .product-menu__panel a {
    display: grid;
    grid-template-columns: 2rem 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.8rem;
    color: var(--text-soft);
    font-size: 0.91rem;
    text-decoration: none;
  }

  .product-menu__panel a:hover {
    background: rgba(125, 69, 255, 0.1);
    color: #fff;
  }

  .menu-index {
    color: var(--cyan);
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
  }

  .header__actions {
    gap: 0.7rem;
  }

  .language-link {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .language-link:hover {
    border-color: var(--border-strong);
    color: #fff;
  }

  .header__cta {
    min-height: 2.8rem;
    padding-inline: 1rem;
    font-size: 0.84rem;
  }

  .mobile-navigation {
    display: none;
  }

  /* GravityHero + NiobGravityHeroMedia */
  .gravity-hero {
    position: relative;
    display: grid;
    min-height: max(46rem, 100svh);
    isolation: isolate;
    overflow: clip;
    align-items: stretch;
    background: var(--void);
  }

  .hero__sentinel {
    position: absolute;
    top: 1rem;
    width: 1px;
    height: 1px;
  }

  .hero-media,
  .hero-media__poster,
  .hero-media__poster img,
  .hero-media video,
  .hero-media__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-media {
    z-index: -3;
    overflow: hidden;
    background:
      radial-gradient(circle at 70% 46%, rgba(108, 44, 180, 0.28), transparent 27%),
      radial-gradient(circle at 74% 46%, #05030c 0 9%, transparent 31%),
      var(--void);
  }

  .hero-media__poster img,
  .hero-media video {
    object-fit: cover;
    object-position: center;
  }

  .hero-media__poster {
    z-index: 0;
  }

  .hero-media video {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.1s ease;
  }

  .hero-media.is-playing video {
    opacity: 1;
  }

  .hero-media__overlay {
    z-index: 2;
    background:
      linear-gradient(90deg, rgba(2, 1, 6, 0.9) 0%, rgba(2, 1, 6, 0.72) 30%, rgba(2, 1, 6, 0.12) 67%, rgba(2, 1, 6, 0.42) 100%),
      linear-gradient(180deg, rgba(2, 1, 6, 0.72) 0%, transparent 22%, transparent 68%, var(--void) 100%);
  }

  .hero-media__noise {
    position: absolute;
    z-index: 3;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
    background-image:
      radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.24) 0 0.35px, transparent 0.65px),
      radial-gradient(circle at 72% 68%, rgba(255, 255, 255, 0.18) 0 0.3px, transparent 0.6px);
    background-size: 7px 9px, 11px 13px;
    mix-blend-mode: soft-light;
  }

  .hero-media__fallback-core {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 73%;
    width: min(52vw, 54rem);
    aspect-ratio: 1;
    border: 1px solid rgba(201, 90, 255, 0.2);
    border-radius: 50%;
    box-shadow:
      0 0 8rem rgba(125, 69, 255, 0.17),
      inset 0 0 8rem rgba(120, 232, 255, 0.05);
    transform: translate(-50%, -50%);
  }

  .hero-media__fallback-core::before,
  .hero-media__fallback-core::after {
    position: absolute;
    border-radius: inherit;
    content: "";
  }

  .hero-media[data-final-media-available="true"] .hero-media__fallback-core {
    display: none;
  }

  .hero-media__fallback-core::before {
    inset: 13%;
    border: 1px solid rgba(120, 232, 255, 0.14);
  }

  .hero-media__fallback-core::after {
    inset: 32%;
    background: #010104;
    box-shadow: 0 0 3rem rgba(125, 69, 255, 0.24);
  }

  .hero__inner {
    display: flex;
    min-height: inherit;
    align-items: center;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 5rem;
  }

  .hero__content {
    display: grid;
    width: min(70rem, 68vw);
    gap: var(--space-5);
  }

  .hero__title {
    max-width: none;
    font-size: var(--step-hero);
    letter-spacing: -0.065em;
    line-height: 0.86;
    text-transform: uppercase;
  }

  .hero__title span {
    display: block;
    white-space: nowrap;
  }

  .hero__title span:last-child {
    background: linear-gradient(105deg, #fff 10%, #d8cdfd 54%, #9d75ff 100%);
    background-clip: text;
    color: transparent;
  }

  .hero__body {
    max-width: 42rem;
    color: var(--text-soft);
    font-size: var(--step-1);
    line-height: 1.55;
  }

  .hero__body strong {
    color: #fff;
    font-weight: 590;
  }

  .hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.15rem;
    padding-top: 0.5rem;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
  }

  .hero__meta span::before {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
    box-shadow: 0 0 0.8rem rgba(120, 232, 255, 0.8);
  }

  .motion-toggle {
    position: absolute;
    z-index: 8;
    right: max(1.25rem, env(safe-area-inset-right));
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    display: inline-flex;
    min-width: 2.9rem;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: rgba(5, 2, 10, 0.68);
    color: var(--text-soft);
    cursor: pointer;
  }

  .motion-toggle[hidden] {
    display: none;
  }

  .motion-toggle::before {
    content: "Ⅱ";
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.15em;
  }

  .motion-toggle[aria-pressed="true"]::before {
    margin-left: 0.12rem;
    content: "▶";
    letter-spacing: 0;
  }

  .hero__scroll-cue {
    position: absolute;
    z-index: 6;
    bottom: 1.6rem;
    left: 50%;
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    color: var(--muted);
    font-size: 0.67rem;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
  }

  .hero__scroll-cue::after {
    width: 1px;
    height: 1.7rem;
    background: linear-gradient(var(--cyan), transparent);
    content: "";
  }

  /* EcosystemCore + ProductWorld */
  .ecosystem {
    background:
      radial-gradient(circle at 50% 48%, rgba(104, 54, 193, 0.11), transparent 23rem),
      var(--void);
  }

  .ecosystem-map {
    position: relative;
    display: grid;
    width: min(74rem, 100%);
    min-height: 44rem;
    margin: clamp(4.5rem, 8vw, 8rem) auto 0;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 1rem;
    isolation: isolate;
  }

  .ecosystem-map::before,
  .ecosystem-map::after {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    content: "";
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

  .ecosystem-map::before {
    width: min(76vw, 59rem);
    height: 72%;
    background:
      linear-gradient(28deg, transparent 49.86%, rgba(191, 164, 255, 0.1) 49.96%, rgba(191, 164, 255, 0.1) 50.04%, transparent 50.14%),
      linear-gradient(-28deg, transparent 49.86%, rgba(120, 232, 255, 0.065) 49.96%, rgba(120, 232, 255, 0.065) 50.04%, transparent 50.14%);
    -webkit-mask-image: radial-gradient(circle, transparent 0 11%, #000 23%, #000 82%, transparent 100%);
    mask-image: radial-gradient(circle, transparent 0 11%, #000 23%, #000 82%, transparent 100%);
  }

  .ecosystem-map::after {
    width: min(35vw, 26rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 48, 194, 0.13), rgba(48, 17, 89, 0.045) 46%, transparent 72%);
    filter: blur(1rem);
  }

  .ecosystem-core {
    position: absolute;
    z-index: 2;
    display: grid;
    top: 50%;
    left: 50%;
    width: clamp(13rem, 18vw, 16.5rem);
    aspect-ratio: 1;
    place-items: center;
    isolation: isolate;
    transform: translate(-50%, -50%);
    pointer-events: none;
    text-align: center;
  }

  .ambient-loop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #020106;
    pointer-events: none;
  }

  .ambient-loop__poster,
  .ambient-loop__poster img,
  .ambient-loop video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .ambient-loop__poster img,
  .ambient-loop video {
    object-fit: cover;
  }

  .ambient-loop__poster {
    z-index: 1;
    opacity: 1;
    transition: opacity 700ms ease;
  }

  .ambient-loop video {
    z-index: 2;
    opacity: 0;
    transition: opacity 700ms ease;
  }

  .ambient-loop.is-playing .ambient-loop__poster {
    opacity: 0;
  }

  .ambient-loop.is-playing video {
    opacity: 1;
  }

  .ecosystem-core__media {
    z-index: 1;
    inset: -34% -54%;
    overflow: hidden;
    border-radius: 50%;
    background: transparent;
    clip-path: ellipse(49.5% 48% at 50% 50%);
    contain: paint;
    -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 0 58%, rgba(0, 0, 0, 0.96) 72%, rgba(0, 0, 0, 0.62) 84%, transparent 100%);
    mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 0 58%, rgba(0, 0, 0, 0.96) 72%, rgba(0, 0, 0, 0.62) 84%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    isolation: isolate;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .ecosystem-core__media .ambient-loop__poster img,
  .ecosystem-core__media video {
    border-radius: inherit;
    object-fit: cover;
    object-position: 50% 50%;
  }

  .ecosystem-core::before {
    position: absolute;
    z-index: 0;
    inset: -42%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(125, 69, 255, 0.24), rgba(73, 34, 132, 0.085) 38%, transparent 70%);
    content: "";
    filter: blur(1rem);
  }

  .ecosystem-core__label {
    position: relative;
    z-index: 4;
    display: grid;
    gap: 0.1rem;
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
    text-shadow: 0 0.15rem 1rem #000, 0 0 1.35rem rgba(117, 47, 198, 0.78);
    text-transform: uppercase;
  }

  .ecosystem-core__label strong {
    font-size: 1.42rem;
    letter-spacing: 0.04em;
  }

  .product-world {
    position: relative;
    z-index: 3;
    align-self: center;
  }

  .ecosystem-worlds {
    display: contents;
  }

  .product-world:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; }
  .product-world:nth-child(2) { grid-column: 9 / 13; grid-row: 1 / 3; }
  .product-world:nth-child(3) { grid-column: 1 / 5; grid-row: 4 / 6; }
  .product-world:nth-child(4) { grid-column: 9 / 13; grid-row: 4 / 6; }

  .product-world a {
    display: grid;
    min-height: 11rem;
    align-content: space-between;
    gap: var(--space-4);
    padding: clamp(1.4rem, 2.4vw, 2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(19, 11, 32, 0.8), rgba(5, 2, 10, 0.74));
    box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition:
      transform var(--duration-base) var(--ease-out),
      border-color var(--duration-base) ease,
      box-shadow var(--duration-base) ease;
  }

  .product-world a:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-violet);
    transform: translateY(-0.35rem);
  }

  .product-world__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .product-world__index {
    color: var(--cyan);
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.14em;
  }

  .product-world__arrow {
    color: var(--muted);
    transition: color var(--duration-fast) ease, transform var(--duration-fast) var(--ease-out);
  }

  .product-world a:hover .product-world__arrow {
    color: var(--cyan);
    transform: translate(0.2rem, -0.2rem);
  }

  .product-world h3 {
    margin-bottom: 0.55rem;
    font-size: var(--step-2);
    letter-spacing: -0.035em;
    line-height: 1.05;
  }

  .product-world p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* ProductShowcase */
  .product-showcase {
    overflow: clip;
    border-top: 1px solid rgba(229, 220, 255, 0.07);
    background: var(--void);
    content-visibility: auto;
    contain-intrinsic-size: auto 58rem;
  }

  .product-showcase:nth-of-type(even) {
    background: linear-gradient(180deg, var(--void), rgba(13, 8, 21, 0.58), var(--void));
  }

  .showcase__grid {
    display: grid;
    min-height: 42rem;
    align-items: center;
    grid-template-columns: minmax(0, 0.88fr) minmax(30rem, 1.12fr);
    gap: clamp(3rem, 7vw, 8rem);
  }

  .showcase__grid--reverse {
    grid-template-columns: minmax(30rem, 1.12fr) minmax(0, 0.88fr);
  }

  .showcase__grid--reverse .showcase__copy {
    order: 2;
  }

  .showcase__copy {
    display: grid;
    max-width: 39rem;
    gap: var(--space-5);
  }

  .showcase__number {
    color: var(--cyan);
    font-size: 0.76rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.14em;
  }

  .showcase__copy h2 {
    font-size: var(--step-4);
    line-height: 1.02;
  }

  .showcase__copy h2 span {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--violet-bright);
    font-size: 0.42em;
    font-weight: 650;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .showcase__copy > p {
    color: var(--muted);
    font-size: var(--step-1);
  }

  .showcase__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .showcase__facts li {
    padding: 0.45rem 0.72rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 0.76rem;
  }

  .showcase__subarea {
    display: grid;
    gap: 0.45rem;
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 1px solid rgba(201, 90, 255, 0.42);
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
  }

  .showcase__subarea h3 {
    color: var(--text-soft);
    font-size: 0.96rem;
    letter-spacing: -0.01em;
  }

  .showcase__subarea p {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .showcase__visual {
    position: relative;
    min-height: 34rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
      radial-gradient(circle at 70% 18%, rgba(125, 69, 255, 0.2), transparent 17rem),
      linear-gradient(145deg, rgba(19, 11, 32, 0.82), rgba(5, 2, 10, 0.95));
    box-shadow: var(--shadow-raised);
  }

  .showcase__visual::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
    content: "";
    pointer-events: none;
  }

  .visual-label {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .visual-label::before {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
    box-shadow: 0 0 0.8rem rgba(120, 232, 255, 0.65);
  }

  /* Exchange visual */
  .exchange-visual {
    display: grid;
    place-items: center;
    background:
      linear-gradient(rgba(191, 164, 255, 0.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(191, 164, 255, 0.055) 1px, transparent 1px),
      radial-gradient(circle at 50% 50%, rgba(125, 69, 255, 0.18), transparent 18rem),
      #07030d;
    background-size: 3rem 3rem, 3rem 3rem, auto, auto;
  }

  .exchange-hub {
    position: relative;
    width: min(82%, 31rem);
    aspect-ratio: 1;
  }

  .exchange-hub::before,
  .exchange-hub::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .exchange-hub::before {
    inset: 13%;
    border: 1px solid rgba(155, 104, 255, 0.34);
    box-shadow:
      0 0 3rem rgba(125, 69, 255, 0.12),
      inset 0 0 3rem rgba(120, 232, 255, 0.035);
  }

  .exchange-hub::after {
    inset: 26%;
    border: 1px dashed rgba(120, 232, 255, 0.18);
  }

  .exchange-hub__core,
  .exchange-hub__node {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-strong);
    background: rgba(7, 3, 13, 0.92);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.34);
    text-align: center;
  }

  .exchange-hub__core {
    top: 50%;
    left: 50%;
    width: clamp(8.2rem, 27%, 9.8rem);
    aspect-ratio: 1;
    align-content: center;
    gap: 0.22rem;
    border-color: rgba(155, 104, 255, 0.55);
    border-radius: 50%;
    background:
      radial-gradient(circle at 40% 30%, rgba(120, 232, 255, 0.12), transparent 42%),
      linear-gradient(145deg, rgba(35, 17, 58, 0.98), rgba(7, 3, 13, 0.98));
    box-shadow:
      0 0 4rem rgba(125, 69, 255, 0.25),
      inset 0 1px rgba(255, 255, 255, 0.06);
    transform: translate(-50%, -50%);
  }

  .exchange-hub__core small {
    color: var(--cyan);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.2em;
  }

  .exchange-hub__core strong {
    font-size: 0.92rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .exchange-hub__node {
    min-width: 7.2rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.8rem;
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 0.69rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .exchange-hub__node::before {
    width: 0.34rem;
    height: 0.34rem;
    margin-bottom: 0.24rem;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
    box-shadow: 0 0 0.65rem rgba(120, 232, 255, 0.58);
  }

  .exchange-hub__node--swap { top: 0; left: 50%; transform: translateX(-50%); }
  .exchange-hub__node--markets { top: 22%; right: 0; }
  .exchange-hub__node--liquidity { right: 0; bottom: 22%; }
  .exchange-hub__node--farms { bottom: 0; left: 50%; transform: translateX(-50%); }
  .exchange-hub__node--bridge { bottom: 22%; left: 0; }
  .exchange-hub__node--referral { top: 22%; left: 0; }

  /* Exchange product explanation */
  .exchange-explanation {
    margin-top: clamp(5rem, 9vw, 9rem);
  }

  .exchange-explanation__intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 0.72fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 7rem);
  }

  .exchange-explanation__intro > div {
    display: grid;
    gap: var(--space-4);
  }

  .exchange-explanation__intro h3 {
    max-width: 15ch;
    font-size: var(--step-4);
    line-height: 1.03;
  }

  .exchange-explanation__intro > p {
    max-width: 39rem;
    color: var(--muted);
    font-size: var(--step-1);
  }

  .exchange-features {
    display: grid;
    margin-top: clamp(3rem, 6vw, 5.5rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .exchange-features li {
    display: grid;
    min-height: 14rem;
    padding: clamp(1.35rem, 2.8vw, 2.5rem);
    grid-template-columns: 2.35rem minmax(0, 1fr);
    align-content: start;
    gap: 1.1rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(19, 11, 32, 0.38), rgba(5, 2, 10, 0.2));
  }

  .exchange-feature__index {
    color: var(--cyan);
    font-size: 0.67rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.14em;
  }

  .exchange-features h4,
  .exchange-journey h4 {
    margin: 0 0 0.7rem;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .exchange-features p,
  .exchange-journey li p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .exchange-journey {
    display: grid;
    margin-top: clamp(4rem, 8vw, 7rem);
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    grid-template-columns: minmax(15rem, 0.52fr) minmax(0, 1.48fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    border-top: 1px solid var(--border);
  }

  .exchange-journey__intro {
    display: grid;
    align-content: start;
    gap: var(--space-4);
  }

  .exchange-journey__intro h3 {
    max-width: 11ch;
    font-size: var(--step-3);
    line-height: 1.05;
  }

  .exchange-journey ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .exchange-journey li {
    display: grid;
    min-height: 13rem;
    padding: 0.3rem clamp(1.3rem, 2.5vw, 2.2rem);
    align-content: start;
    gap: var(--space-5);
    border-left: 1px solid var(--border);
  }

  .exchange-journey li > span {
    color: var(--violet-bright);
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.14em;
  }

  /* NIWA visual */
  .niwa-visual {
    display: grid;
    place-items: center;
    background:
      radial-gradient(circle at 50% 45%, rgba(125, 69, 255, 0.24), transparent 18rem),
      linear-gradient(135deg, rgba(120, 232, 255, 0.035), transparent 36%),
      #06020c;
  }

  .niwa-device {
    position: relative;
    width: min(56%, 17.5rem);
    min-width: 14rem;
    aspect-ratio: 0.52;
    padding: 0.55rem;
    border: 1px solid rgba(229, 220, 255, 0.28);
    border-radius: 2.6rem;
    background: #020106;
    box-shadow: 0 2.4rem 6rem rgba(0, 0, 0, 0.52), 0 0 4rem rgba(125, 69, 255, 0.17);
  }

  .niwa-device__screen {
    display: grid;
    height: 100%;
    padding: 1.8rem 1.2rem 1.25rem;
    overflow: hidden;
    align-content: space-between;
    border: 1px solid rgba(191, 164, 255, 0.13);
    border-radius: 2.1rem;
    background:
      radial-gradient(circle at 80% 15%, rgba(201, 90, 255, 0.18), transparent 10rem),
      #090316;
  }

  .niwa-device__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .niwa-device__mark {
    position: relative;
    display: grid;
    width: 7.4rem;
    aspect-ratio: 1;
    margin-inline: auto;
    place-items: center;
    border: 1px solid rgba(155, 104, 255, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(125, 69, 255, 0.3);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: 0.16em;
  }

  .niwa-device__mark::before,
  .niwa-device__mark::after {
    position: absolute;
    border: 1px solid rgba(120, 232, 255, 0.14);
    border-radius: inherit;
    content: "";
  }

  .niwa-device__mark::before { inset: -2.1rem; }
  .niwa-device__mark::after { inset: -4.2rem; border-color: rgba(201, 90, 255, 0.08); }

  .niwa-device__bottom {
    display: grid;
    gap: 0.6rem;
  }

  .niwa-device__line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    color: var(--text-soft);
    font-size: 0.69rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .niwa-device__line::after {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
  }

  /* Insights screenshot gallery */
  .insights-showcase {
    background:
      radial-gradient(circle at 50% 42%, rgba(142, 57, 214, 0.12), transparent 33rem),
      linear-gradient(180deg, var(--void), #07030d 52%, var(--void));
  }

  .insights-showcase .section-heading {
    margin-bottom: clamp(3.5rem, 6vw, 6rem);
  }

  .insights-showcase .section-heading h2 {
    max-width: 16ch;
  }

  .insights__lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.65fr);
    gap: clamp(2rem, 7vw, 8rem);
    align-items: end;
  }

  .insights__actions {
    display: grid;
    justify-items: start;
    gap: var(--space-4);
  }

  .insights__notice {
    max-width: 34rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border-strong);
    color: var(--muted);
    font-size: 0.8rem;
  }

  .insights-gallery-wrap {
    position: relative;
    margin-top: clamp(3rem, 7vw, 7rem);
  }

  .insights-gallery {
    display: grid;
    width: min(100%, 88rem);
    margin-inline: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    gap: clamp(0.7rem, 1.4vw, 1.25rem);
  }

  .insights-gallery figure {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: clamp(1.1rem, 2vw, 1.75rem);
    background: #07030d;
    box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.34);
  }

  .insights-gallery figure:nth-child(2),
  .insights-gallery figure:nth-child(4) {
    margin-top: 3.5rem;
  }

  .insights-gallery figure:nth-child(3) {
    border-color: rgba(201, 90, 255, 0.35);
    box-shadow: 0 2rem 5rem rgba(90, 34, 137, 0.27);
  }

  .insights-gallery img {
    width: 100%;
    height: auto;
  }

  .insights-gallery figcaption {
    position: absolute;
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(229, 220, 255, 0.12);
    border-radius: 0.65rem;
    background: rgba(2, 1, 6, 0.78);
    color: var(--text-soft);
    font-size: 0.63rem;
    line-height: 1.35;
    text-align: center;
    backdrop-filter: blur(8px);
  }

  .insights-gallery__caption {
    max-width: 52rem;
    margin: 4.2rem auto 0;
    color: var(--muted-dark);
    font-size: 0.76rem;
    text-align: center;
  }

  /* Dashboard visual */
  .dashboard-visual {
    display: grid;
    place-items: center;
    background:
      radial-gradient(circle at 50% 50%, rgba(120, 232, 255, 0.08), transparent 15rem),
      radial-gradient(circle at 50% 50%, rgba(125, 69, 255, 0.13), transparent 24rem),
      #05020a;
  }

  .dashboard-hub {
    position: relative;
    display: grid;
    width: min(78%, 34rem);
    aspect-ratio: 1;
    place-items: center;
  }

  .dashboard-hub::before,
  .dashboard-hub::after {
    position: absolute;
    border: 1px solid var(--border);
    border-radius: 50%;
    content: "";
  }

  .dashboard-hub::before { inset: 2%; }
  .dashboard-hub::after { inset: 22%; border-color: rgba(120, 232, 255, 0.12); }

  .dashboard-hub__core {
    position: relative;
    z-index: 2;
    display: grid;
    width: 9.5rem;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: radial-gradient(circle, #1b0c32, #040108 67%);
    box-shadow: var(--shadow-violet);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
  }

  .dashboard-hub__node {
    position: absolute;
    z-index: 3;
    display: grid;
    min-width: 7.5rem;
    min-height: 3.2rem;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: rgba(8, 4, 14, 0.85);
    color: var(--text-soft);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .dashboard-hub__node:nth-child(2) { top: 5%; left: 50%; transform: translateX(-50%); }
  .dashboard-hub__node:nth-child(3) { right: 0; bottom: 24%; }
  .dashboard-hub__node:nth-child(4) { bottom: 24%; left: 0; }

  /* TrustSection */
  .trust-section {
    overflow: hidden;
    border-top: 1px solid rgba(229, 220, 255, 0.07);
    background:
      radial-gradient(circle at 10% 20%, rgba(120, 232, 255, 0.05), transparent 24rem),
      linear-gradient(180deg, var(--void), #07030d);
    content-visibility: auto;
    contain-intrinsic-size: auto 52rem;
  }

  .trust-grid {
    display: grid;
    margin-top: clamp(3rem, 6vw, 6rem);
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .trust-item {
    display: grid;
    min-height: 18rem;
    align-content: space-between;
    gap: var(--space-6);
    padding: clamp(1.5rem, 3vw, 2.8rem);
    border-right: 1px solid var(--border);
  }

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

  .trust-item__index {
    color: var(--cyan);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .trust-item h3 {
    margin-bottom: 0.8rem;
    font-size: var(--step-2);
    letter-spacing: -0.03em;
  }

  .trust-item p {
    color: var(--muted);
    font-size: 0.9rem;
  }

  /* ProductAccess */
  .product-access {
    background: #07030d;
  }

  .access-list {
    margin-top: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--border);
  }

  .access-list li {
    border-bottom: 1px solid var(--border);
  }

  .access-list > li > a {
    display: grid;
    min-height: 6.7rem;
    padding-block: 1.1rem;
    grid-template-columns: 4rem minmax(0, 1fr) minmax(12rem, 0.6fr) auto;
    align-items: center;
    gap: 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: padding-inline var(--duration-base) var(--ease-out), background-color var(--duration-fast) ease;
  }

  .access-list > li > a:hover {
    padding-inline: 1rem;
    background: rgba(125, 69, 255, 0.06);
  }

  .access-list__index {
    color: var(--cyan);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .access-list h3 {
    font-size: var(--step-2);
    letter-spacing: -0.03em;
  }

  .access-list p {
    color: var(--muted);
    font-size: 0.88rem;
  }

  .access-list__arrow {
    color: var(--violet-bright);
    font-size: 1.15rem;
  }

  .access-list__combined {
    display: grid;
    min-height: 7.4rem;
    padding-block: 1.1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
  }

  .access-list__combined > div:first-child {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    align-items: center;
    gap: 0.25rem 1.5rem;
  }

  .access-list__combined > div:first-child p {
    grid-column: 2;
  }

  .access-list__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
  }

  .access-list__actions a {
    display: inline-flex;
    min-height: 2.8rem;
    padding: 0.65rem 0.85rem;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 650;
    text-decoration: none;
    transition: border-color var(--duration-fast) ease, background-color var(--duration-fast) ease;
  }

  .access-list__actions a:hover {
    border-color: var(--border-strong);
    background: rgba(125, 69, 255, 0.08);
  }

  /* FinalEcosystemCTA */
  .final-cta {
    position: relative;
    min-height: 52rem;
    display: grid;
    overflow: clip;
    place-items: center;
    isolation: isolate;
    background:
      radial-gradient(ellipse at 50% 52%, transparent 0 8%, #030107 9% 15%, rgba(125, 69, 255, 0.2) 18%, transparent 39%),
      linear-gradient(180deg, #07030d, var(--void));
    text-align: center;
  }

  .final-cta__media {
    position: absolute;
    z-index: 0;
    background: transparent;
  }

  .final-cta__media .ambient-loop__poster img,
  .final-cta__media video {
    object-position: 50% 50%;
  }

  @keyframes final-cta-cinematic-drift {
    0%,
    100% {
      transform: scale(1.025) translate3d(0, 0, 0);
    }

    50% {
      transform: scale(1.065) translate3d(0, -0.45%, 0);
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    html[data-background-motion="playing"] .final-cta__media.is-playing video {
      animation: final-cta-cinematic-drift 13s ease-in-out infinite;
    }
  }

  .final-cta__scrim {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(2, 1, 6, 0.72), rgba(2, 1, 6, 0.2) 38%, rgba(2, 1, 6, 0.35) 67%, #020106 100%),
      radial-gradient(ellipse at 50% 52%, rgba(2, 1, 6, 0.05) 0 28%, rgba(2, 1, 6, 0.58) 78%);
    pointer-events: none;
  }

  .final-cta__content {
    position: relative;
    z-index: 2;
    display: grid;
    max-width: 62rem;
    gap: var(--space-5);
    justify-items: center;
  }

  .final-cta h2 {
    font-size: var(--step-5);
    text-transform: uppercase;
  }

  .final-cta p {
    max-width: 39rem;
    color: var(--muted);
    font-size: var(--step-1);
  }

  @media (prefers-reduced-motion: reduce) {
    .ambient-loop video {
      display: none;
    }

    .ambient-loop.is-playing .ambient-loop__poster {
      opacity: 1 !important;
    }
  }

  /* GlobalFooter */
  .global-footer {
    padding-top: clamp(4rem, 7vw, 7rem);
    border-top: 1px solid var(--border);
    background: #020106;
  }

  .footer__grid {
    display: grid;
    grid-template-columns: minmax(17rem, 1.35fr) repeat(3, minmax(10rem, 0.7fr));
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .footer__brand {
    display: grid;
    max-width: 24rem;
    gap: var(--space-4);
    align-content: start;
  }

  .footer__brand img {
    width: 10.5rem;
    height: auto;
  }

  .footer__brand p,
  .footer__address {
    color: var(--muted);
    font-size: 0.82rem;
    font-style: normal;
    line-height: 1.65;
  }

  .footer__column h2 {
    margin-bottom: 1.1rem;
    color: var(--text-soft);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .footer__column ul {
    display: grid;
    gap: 0.55rem;
  }

  .footer__column a {
    display: inline-flex;
    min-height: 2.2rem;
    align-items: center;
    color: var(--muted);
    font-size: 0.83rem;
    text-decoration: none;
  }

  .footer__column a:hover {
    color: var(--text);
  }

  .footer__world {
    display: grid;
    justify-items: start;
  }

  .footer__world .footer__sub-link {
    min-height: 1.75rem;
    padding-left: 0.75rem;
    color: var(--muted-dark);
    font-size: 0.72rem;
  }

  .footer__bottom {
    display: flex;
    margin-top: clamp(3rem, 6vw, 5.5rem);
    padding-block: 1.6rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--muted-dark);
    font-size: 0.72rem;
  }

  .footer__bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer__bottom a {
    color: var(--muted);
    text-decoration: none;
  }

  /* Reveal enhancement: content remains visible before JS initializes. */
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(1.6rem);
    transition:
      opacity var(--duration-slow) var(--ease-out),
      transform var(--duration-slow) var(--ease-out);
  }

  .reveal-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }

  .page-hidden *,
  .page-hidden *::before,
  .page-hidden *::after {
    animation-play-state: paused !important;
  }
}

@layer utilities {
  .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .muted {
    color: var(--muted);
  }
}

@layer responsive {
  @media (max-width: 74rem) {
    .desktop-navigation {
      gap: 1rem;
    }

    .header__cta {
      display: none;
    }

    .showcase__grid,
    .showcase__grid--reverse {
      grid-template-columns: minmax(0, 0.86fr) minmax(26rem, 1.14fr);
      gap: 3.5rem;
    }

    .ecosystem-map {
      min-height: 46rem;
    }
  }

  @media (max-width: 64rem) {
    :root {
      --header-height: 4.9rem;
    }

    .desktop-navigation,
    .header__actions > .language-link {
      display: none;
    }

    .header__actions {
      margin-left: auto;
    }

    .mobile-navigation {
      display: block;
    }

    .ecosystem-core {
      width: clamp(11rem, 18vw, 13rem);
    }

    .ecosystem-core__media {
      inset: -30% -50%;
    }

    .mobile-navigation > summary {
      display: grid;
      width: 3rem;
      height: 3rem;
      cursor: pointer;
      place-items: center;
      border: 1px solid var(--border);
      border-radius: 50%;
      list-style: none;
    }

    .mobile-navigation__icon,
    .mobile-navigation__icon::before,
    .mobile-navigation__icon::after {
      display: block;
      width: 1rem;
      height: 1px;
      background: var(--text);
      content: "";
      transition: transform var(--duration-fast) ease;
    }

    .mobile-navigation__icon {
      position: relative;
    }

    .mobile-navigation__icon::before {
      position: absolute;
      top: -0.32rem;
    }

    .mobile-navigation__icon::after {
      position: absolute;
      top: 0.32rem;
    }

    .mobile-navigation[open] .mobile-navigation__icon {
      background: transparent;
    }

    .mobile-navigation[open] .mobile-navigation__icon::before {
      top: 0;
      transform: rotate(45deg);
    }

    .mobile-navigation[open] .mobile-navigation__icon::after {
      top: 0;
      transform: rotate(-45deg);
    }

    .mobile-navigation__panel {
      position: fixed;
      top: calc(var(--header-height) + env(safe-area-inset-top) - 0.1rem);
      right: 0;
      left: 0;
      max-height: calc(100svh - var(--header-height));
      padding: 1.2rem max(1.25rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
      overflow-y: auto;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: rgba(5, 2, 10, 0.98);
      box-shadow: var(--shadow-raised);
    }

    .mobile-navigation__label {
      display: block;
      margin-bottom: 0.7rem;
      color: var(--muted-dark);
      font-size: 0.68rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .mobile-navigation__links {
      display: grid;
    }

    .mobile-navigation__links a {
      display: grid;
      min-height: 3.55rem;
      padding-block: 0.6rem;
      grid-template-columns: 2.2rem 1fr auto;
      align-items: center;
      border-bottom: 1px solid var(--border);
      color: var(--text-soft);
      font-size: 0.96rem;
      text-decoration: none;
    }

    .mobile-navigation__links a span:first-child {
      color: var(--cyan);
      font-size: 0.68rem;
      letter-spacing: 0.1em;
    }

    .mobile-navigation__links a span:last-child {
      color: var(--violet-bright);
    }

    .mobile-navigation__utility {
      display: flex;
      margin-top: 1.25rem;
      flex-wrap: wrap;
      gap: 0.7rem;
    }

    .mobile-navigation__utility .button {
      flex: 1 1 13rem;
    }

    .hero__content {
      width: min(45rem, 72vw);
    }

    .ecosystem-map {
      min-height: 51rem;
    }

    .product-world:nth-child(1) { grid-column: 1 / 6; }
    .product-world:nth-child(2) { grid-column: 8 / 13; }
    .product-world:nth-child(3) { grid-column: 1 / 6; }
    .product-world:nth-child(4) { grid-column: 8 / 13; }

    .showcase__grid,
    .showcase__grid--reverse {
      min-height: auto;
      grid-template-columns: 1fr;
      gap: 3.5rem;
    }

    .showcase__grid--reverse .showcase__copy {
      order: initial;
    }

    .showcase__copy {
      max-width: 45rem;
    }

    .showcase__visual {
      min-height: min(70vw, 36rem);
    }

    .exchange-explanation__intro,
    .exchange-journey {
      grid-template-columns: 1fr;
    }

    .exchange-explanation__intro > p {
      max-width: 46rem;
    }

    .exchange-features {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exchange-journey__intro h3 {
      max-width: 16ch;
    }

    .insights__lead {
      grid-template-columns: 1fr;
    }

    .trust-grid {
      grid-template-columns: 1fr;
    }

    .trust-item {
      min-height: auto;
      border-right: 0;
      border-bottom: 1px solid var(--border);
    }

    .trust-item:last-child {
      border-bottom: 0;
    }

    .access-list > li > a {
      grid-template-columns: 3rem minmax(0, 1fr) auto;
    }

    .access-list__combined {
      grid-template-columns: 1fr;
    }

    .access-list__combined > div:first-child {
      grid-template-columns: 3rem minmax(0, 1fr);
    }

    .access-list__actions {
      padding-left: 4.5rem;
      justify-content: flex-start;
    }

    .access-list p {
      display: none;
    }

    .footer__grid {
      grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer__brand {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 48rem) {
    .container,
    .container--wide {
      width: min(calc(100% - 2rem), var(--container));
    }

    .section {
      padding-block: clamp(4.5rem, 15vw, 7rem);
    }

    .gravity-hero {
      min-height: 47rem;
      min-height: max(47rem, 100vh);
      min-height: max(42rem, 100svh);
    }

    @supports (height: 100dvh) {
      .gravity-hero {
        min-height: max(42rem, 100dvh);
      }
    }

    .hero-media__poster img,
    .hero-media video {
      object-position: center top;
    }

    .hero-media__overlay {
      background:
        linear-gradient(180deg, rgba(2, 1, 6, 0.32) 0%, rgba(2, 1, 6, 0.08) 28%, rgba(2, 1, 6, 0.62) 49%, rgba(2, 1, 6, 0.9) 72%, #020106 100%),
        linear-gradient(90deg, rgba(2, 1, 6, 0.22), transparent 42%, rgba(2, 1, 6, 0.2));
    }

    .hero-media__fallback-core {
      top: 34%;
      left: 58%;
      width: 88vw;
    }

    .hero__inner {
      align-items: flex-end;
      padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 4rem);
      padding-bottom: clamp(5.5rem, 12svh, 7.5rem);
    }

    .hero__content {
      width: 100%;
      gap: 1.1rem;
    }

    .hero__title {
      max-width: none;
      font-size: clamp(2rem, 9.2vw, 3.5rem);
      line-height: 0.9;
    }

    .hero__title span {
      white-space: normal;
    }

    .hero__body {
      max-width: 34rem;
      font-size: 1rem;
      line-height: 1.55;
    }

    .hero__meta,
    .hero__scroll-cue {
      display: none;
    }

    .hero__content .button-row {
      display: grid;
      width: min(100%, 30rem);
      grid-template-columns: 1fr;
    }

    .hero__content .button {
      width: 100%;
    }

    .motion-toggle {
      right: 1rem;
      bottom: 1rem;
    }

    .ecosystem-map {
      display: block;
      min-height: auto;
      margin-top: 4rem;
    }

    .ecosystem-map::before,
    .ecosystem-map::after {
      display: none;
    }

    .ecosystem-core {
      position: relative;
      top: auto;
      left: auto;
      width: 10.5rem;
      margin: 0 auto 4.5rem;
      transform: none;
    }

    .ecosystem-core__media {
      inset: -28% -43%;
    }

    .ecosystem-worlds {
      position: relative;
      display: grid;
      gap: 0.9rem;
    }

    .ecosystem-worlds::before {
      position: absolute;
      z-index: 0;
      top: -1.5rem;
      bottom: -1rem;
      left: 1.4rem;
      width: 1px;
      background: linear-gradient(var(--violet), rgba(120, 232, 255, 0.24), transparent);
      content: "";
    }

    .product-world,
    .product-world:nth-child(n) {
      position: relative;
      z-index: 1;
      grid-column: auto;
      grid-row: auto;
    }

    .product-world a {
      min-height: auto;
      padding: 1.35rem 1.2rem 1.35rem 3.2rem;
      border-radius: var(--radius-md);
    }

    .product-world a::before {
      position: absolute;
      top: 1.5rem;
      left: 1.2rem;
      width: 0.45rem;
      height: 0.45rem;
      border-radius: 50%;
      background: var(--cyan);
      box-shadow: 0 0 0.8rem rgba(120, 232, 255, 0.62);
      content: "";
    }

    .showcase__visual {
      min-height: 30rem;
      border-radius: var(--radius-lg);
    }

    .exchange-hub {
      width: min(88%, 26rem);
    }

    .exchange-hub__core {
      width: clamp(7.1rem, 29%, 8.3rem);
    }

    .exchange-hub__node {
      min-width: 5.7rem;
      min-height: 2.4rem;
      padding: 0.45rem 0.6rem;
      font-size: 0.6rem;
      letter-spacing: 0.06em;
    }

    .exchange-explanation {
      margin-top: 4.5rem;
    }

    .exchange-features {
      grid-template-columns: 1fr;
    }

    .exchange-features li {
      min-height: auto;
    }

    .exchange-journey ol {
      grid-template-columns: 1fr;
    }

    .exchange-journey li {
      min-height: auto;
      padding: 1.4rem 0;
      grid-template-columns: 2.3rem minmax(0, 1fr);
      gap: 0.8rem;
      border-top: 1px solid var(--border);
      border-left: 0;
    }

    .exchange-journey li > span {
      padding-top: 0.16rem;
    }

    .niwa-device {
      width: min(62%, 16rem);
    }

    .insights-gallery-wrap {
      margin-inline: -1rem;
      overflow: hidden;
    }

    .insights-gallery {
      display: flex;
      width: auto;
      margin: 0;
      padding: 0.5rem 1rem 2rem;
      overflow-x: auto;
      gap: 0.85rem;
      scroll-padding-left: 1rem;
      scroll-snap-type: x mandatory;
      scrollbar-width: thin;
      overscroll-behavior-inline: contain;
    }

    .insights-gallery figure,
    .insights-gallery figure:nth-child(n) {
      width: min(74vw, 19rem);
      flex: 0 0 auto;
      margin-top: 0;
      scroll-snap-align: start;
    }

    .insights-gallery__caption {
      margin: 1.5rem 1rem 0;
    }

    .dashboard-hub {
      width: 94%;
    }

    .dashboard-hub__node {
      min-width: 6.3rem;
      min-height: 2.8rem;
      font-size: 0.61rem;
    }

    .access-list > li > a {
      min-height: 5.8rem;
      grid-template-columns: 2.3rem minmax(0, 1fr) auto;
      gap: 0.8rem;
    }

    .access-list__combined > div:first-child {
      grid-template-columns: 2.3rem minmax(0, 1fr);
      gap: 0.25rem 0.8rem;
    }

    .access-list__actions {
      padding-left: 3.1rem;
    }

    .access-list h3 {
      font-size: 1.12rem;
    }

    .final-cta {
      min-height: 42rem;
    }

    .final-cta .button-row {
      width: min(100%, 24rem);
      display: grid;
    }

    .footer__grid {
      grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
      grid-column: 1 / -1;
    }

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

  @media (max-width: 28rem) {
    .footer__grid {
      grid-template-columns: 1fr;
    }

    .footer__brand {
      grid-column: auto;
    }

    .header__inner {
      gap: 0.8rem;
    }

    .brand img {
      width: 8.4rem;
    }
  }

  @media (max-height: 31rem) and (orientation: landscape) and (max-width: 64rem) {
    .gravity-hero {
      min-height: 24rem;
      min-height: max(24rem, 100vh);
      min-height: max(24rem, 100svh);
    }

    @supports (height: 100dvh) {
      .gravity-hero {
        min-height: max(24rem, 100dvh);
      }
    }

    .hero__inner {
      align-items: center;
      padding-top: calc(var(--header-height) + 1rem);
      padding-bottom: 1rem;
    }

    .hero__content {
      width: min(42rem, 72vw);
      gap: 0.72rem;
    }

    .hero__title {
      font-size: clamp(2.4rem, 5.7vw, 3.1rem);
    }

    .hero__body {
      max-width: 38rem;
      font-size: 0.85rem;
      line-height: 1.4;
    }

    .hero__content .button-row {
      display: flex;
    }

    .hero__content .button {
      width: auto;
      min-height: 3rem;
      padding-block: 0.65rem;
    }

    .hero__meta,
    .hero__scroll-cue {
      display: none;
    }

    .mobile-navigation__panel {
      columns: 2;
    }

    .ecosystem-core__media {
      inset: -22% -40%;
    }
  }

  @media (min-width: 110rem) {
    .hero__content {
      margin-left: max(0rem, calc((100vw - var(--container)) / 18));
    }

    .showcase__grid {
      gap: 9rem;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }

    .reveal-ready [data-reveal] {
      opacity: 1;
      transform: none;
    }

    .hero-media video {
      display: none;
    }
  }

  @media (forced-colors: active) {
    .button,
    .product-world a,
    .showcase__visual,
    .trust-grid,
    .access-list,
    .global-footer {
      border: 1px solid CanvasText;
    }

    .hero__title span:last-child {
      color: CanvasText;
    }
  }

  @media print {
    .global-header,
    .motion-toggle,
    .hero-media video,
    .hero__scroll-cue {
      display: none !important;
    }

    body {
      background: #fff;
      color: #000;
    }

    .section,
    .product-showcase {
      break-inside: avoid;
    }
  }
}
