/* ==========================================================================
   NEXIO — Institutional Bitcoin Credit
   Brand system from web_proposal.ai
   ========================================================================== */

/* ---- Cy Grotesk Grand — licensed; files staged in /assets/fonts but
   DEACTIVATED by owner preference (Archivo expanded look preferred).
   To re-enable, restore the two @font-face rules for
   CyGroteskGrand-Demi.woff2 (weight 100-849) and
   CyGroteskGrand-Dark.woff2 (weight 850-900). ----------------------------- */

:root {
  /* Primary colors */
  --dark-blue: #0800af;
  --blue:      #405be2;
  --black:     #000000;
  --teal:      #4da6b1;
  --slate:     #5763a5;
  /* Complementary */
  --gray-1: #737373;
  --gray-2: #c6cacc;
  --gray-3: #e6e8eb;
  --white:  #ffffff;

  /* Type — swap "Archivo" for "Cy Grotesk Grand" once licensed files exist */
  --font-display: "Archivo", sans-serif; /* Cy Grotesk staged in assets/fonts; to re-enable, restore @font-face AND put "Cy Grotesk Grand" back at the front of this stack */
  --font-body: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --stretch: 125%;

  --container: min(92vw, 1320px);

  /* radius scale: control 6 / surface 14 / pill 999 */
  --radius-sm: 6px;
  --radius: 14px;

  /* spacing scale */
  --space-section: clamp(5rem, 9vw, 8rem);
  --space-block: clamp(2.5rem, 5vw, 4rem);

  /* shadow system */
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.1);
  --shadow-pop: 0 18px 44px rgba(0, 0, 0, 0.14);
  --shadow-cta: 0 8px 20px rgba(8, 0, 175, 0.22);

  --nav-h: 72px;
}

::selection { background: var(--dark-blue); color: var(--white); }

* { margin: 0; padding: 0; box-sizing: border-box; }

/* the display:block reset below would otherwise override the browser's
   built-in [hidden] -> display:none rule, un-hiding stacked hero layers */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}
[id] { scroll-margin-top: calc(var(--nav-h) + 1.2rem); }
#docs { scroll-margin-top: 38vh; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body { overflow-x: clip; }
}

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.container { width: var(--container); margin-inline: auto; }

/* ---------------------------------------------------------------- type --- */
.h2 {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 850;
  font-size: clamp(2.2rem, 6.5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.h2--blue { color: var(--dark-blue); }
.protocol .h2--blue { color: #8fa0ff; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
}
.eyebrow--gray { color: var(--gray-1); text-transform: uppercase; }
.eyebrow--right { text-align: right; color: var(--gray-1); text-transform: uppercase; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 750;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85em 1.8em;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.99); transition-duration: 0.08s; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn--primary {
  background: linear-gradient(180deg, #1b22c4 0%, var(--dark-blue) 100%);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, var(--shadow-cta);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 12px 26px rgba(8, 0, 175, 0.32); }
.btn__arrow { display: inline-block; margin-left: 0.6em; transition: transform 0.25s ease; }
.btn--primary:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost {
  background: transparent;
  color: var(--dark-blue);
  box-shadow: inset 0 0 0 1.5px rgba(8, 0, 175, 0.35);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--dark-blue); background: rgba(8, 0, 175, 0.04); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { box-shadow: 0 10px 24px rgba(8, 0, 175, 0.25); }
.btn--white { background: var(--white); color: var(--dark-blue); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 26px rgba(0, 0, 0, 0.28); }
.btn--white:hover { box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 14px 32px rgba(0, 0, 0, 0.38); }
.btn--white:hover .btn__arrow { transform: translateX(4px); }
.btn--sm { padding: 0.65em 1.3em; font-size: 0.72rem; }

/* ----------------------------------------------------------------- nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-3);
  transition: box-shadow 0.3s ease;
}
.nav--scrolled { box-shadow: 0 8px 30px rgba(8, 0, 175, 0.07); }
.nav__inner {
  width: var(--container);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3.5rem);
}
.nav__brand {
  display: flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  gap: 0.5rem;
  color: var(--dark-blue);
}
.nav__logo { height: 27px; width: auto; }
.nav__links {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--gray-1);
}
.nav__links .nav__links-cta { display: none; }
.nav__links a[aria-current="true"] { color: var(--dark-blue); }
.nav__links a[aria-current="true"]::after { right: 0; }
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding-block: 0.35em;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--dark-blue);
  transition: right 0.25s ease;
}
.nav__links a:hover { color: var(--black); }
.nav__links a:hover::after { right: 0; }
.nav__cta { margin-left: auto; }
.nav__burger { display: none; }

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 140% at 85% 10%, rgba(64, 91, 226, 0.16) 0%, rgba(64, 91, 226, 0) 45%),
    linear-gradient(115deg, var(--gray-3) 0%, #dfe2ec 55%, #d4d7e6 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 0, 175, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 0, 175, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 100% at 70% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(90px, 14vh, 160px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--white) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

.hero__inner > * { min-width: 0; }
.hero__inner {
  width: var(--container);
  margin-inline: auto;
  min-height: min(calc(100vh - var(--nav-h)), 56rem);
  min-height: min(calc(100svh - var(--nav-h)), 56rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2rem;
  padding-block: 3rem;
}
.hero__title {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 880;
  font-size: clamp(1.9rem, 5.9vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.hero__line { display: block; }
.hero__line--blue { color: var(--dark-blue); }
.hero__sub {
  margin-top: 2.2rem;
  font-weight: 700;
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--gray-1);
}
.hero__actions { margin-top: 2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* hero animation slot */
.hero__anim {
  position: relative;
  height: min(86vh, 780px);
  min-height: 380px;
  /* bleed to the right viewport edge so the last panel crops like the mockup */
  margin-right: calc((100vw - var(--container)) / -2);
}
.hero__anim canvas,
.hero__anim video,
.hero__anim .hero__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.28);
  transform-origin: 0% 50%;
}
.hero__fallback { display: none; }
.hero--no-webgl .hero__fallback {
  display: block;
  position: absolute;
  inset: 0;
}
.hero--no-webgl .chev {
  position: absolute;
  top: 14%;
  width: 26%;
  height: 72%;
  border-radius: 10px;
  transform: skewY(-16deg);
  filter: blur(0.5px) drop-shadow(0 30px 50px rgba(8, 0, 175, 0.35));
  animation: chevFloat 6s ease-in-out infinite;
}
.chev--1 { left: 8%;  background: linear-gradient(160deg, #2b3fe0, #1414c8); animation-delay: 0s; }
.chev--2 { left: 38%; background: linear-gradient(160deg, #3f7cf0, #2b3fe0); animation-delay: 0.6s; }
.chev--3 { left: 68%; background: linear-gradient(160deg, #8a4cf0, #4b2bd8); animation-delay: 1.2s; }
@keyframes chevFloat {
  0%, 100% { transform: skewY(-16deg) translateY(0); }
  50%      { transform: skewY(-16deg) translateY(-14px); }
}

/* ------------------------------------------------------ unlock capital --- */
.unlock { padding: calc(var(--space-section) * 0.75) 0 calc(var(--space-section) * 0.6); background: var(--white); }
.unlock .eyebrow { margin-bottom: 1.2rem; }
.unlock .h2 { margin-bottom: var(--space-block); }

.card {
  position: sticky;
  top: calc(var(--nav-h) + 1.4rem + var(--i, 0) * 0.9rem);
  z-index: calc(1 + var(--i, 0));
  transform-origin: center top;
  will-change: transform, filter;
  border-radius: var(--radius);
  min-height: clamp(330px, 36vw, 440px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 -18px 40px rgba(0, 0, 0, 0.18);
  padding: clamp(1.6rem, 3.5vw, 3rem) clamp(1.6rem, 3.5vw, 3rem) clamp(2rem, 4vw, 3.4rem);
  margin-bottom: clamp(2.2rem, 4.5vw, 4rem);
  overflow: hidden;
}
.card__eyebrow {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: clamp(2rem, 4.5vw, 4rem);
}
.card__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 1.5rem;
}
.card__title {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 820;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
}
.card__desc {
  font-weight: 700;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-transform: uppercase;
  max-width: 46ch;
}
.card__num {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 900;
  font-size: clamp(6rem, 14vw, 12.5rem);
  line-height: 0.8;
  text-align: right;
  user-select: none;
}

.card--gray { background: var(--gray-2); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 -18px 40px rgba(0,0,0,0.12); }
.card--gray .card__eyebrow,
.card--gray .card__title,
.card--gray .card__desc { color: var(--dark-blue); }
.card--gray .card__num { color: var(--white); }

.card--blue { background: var(--dark-blue); }
.card--blue .card__eyebrow,
.card--blue .card__title,
.card--blue .card__desc { color: var(--white); }
.card--blue .card__num { color: var(--blue); }

.card--black { background: var(--black); }
.card--black .card__eyebrow { color: var(--white); }
.card--black .card__title { color: var(--gray-2); }
.card--black .card__desc { color: var(--white); }
.card--black .card__num { color: var(--gray-1); }

/* -------------------------------------------------------------- marquee --- */
.marquee {
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.5rem) 0;
  background: var(--white);
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 880;
  font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  text-transform: uppercase;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(8, 0, 175, 0.4);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ------------------------------------------------------- market context --- */
.context {
  overflow: hidden;
  background: var(--gray-2);
  padding: var(--space-section) 0 calc(var(--space-section) * 0.5);
}
.context .eyebrow { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.context__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}
.context__lead {
  margin-top: 1.8rem;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.6;
  max-width: 52ch;
  text-align: justify;
}
.context .h2 + .context__lead { margin-top: 2.6rem; }

/* orbs animation slot */
.context__anim {
  position: relative;
  height: min(66vh, 580px);
  min-height: 340px;
  overflow: hidden;
}
.context__anim video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1.05); transform-origin: center; }
.context__anim.has-video .orb,
.context__anim.has-video .orbs__logo { display: none; }
.orbs__logo {
  position: absolute;
  left: 50%; top: 50%;
  width: 56%;
  transform: translate(-50%, -50%) rotate(8deg);
  opacity: 0.95;
  animation: logoPulse 5s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(255,255,255,0.85)); }
  50%      { filter: drop-shadow(0 0 34px rgba(255,255,255,1)); }
}
.orb {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.9) 0%, rgba(120,190,255,0.85) 18%, rgba(36,110,235,0.92) 55%, rgba(10,40,170,0.95) 100%);
  box-shadow:
    inset -10px -14px 30px rgba(8, 0, 175, 0.5),
    0 18px 40px rgba(8, 0, 175, 0.28);
  animation: orbFloat var(--t, 7s) ease-in-out infinite;
  animation-delay: var(--de, 0s);
}
.orb--1 { width: 19%; aspect-ratio: 1; left: 8%;  top: 52%; --t: 7.5s; }
.orb--2 { width: 13%; aspect-ratio: 1; left: 24%; top: 30%; --t: 6.4s; --de: -2s; }
.orb--3 { width: 24%; aspect-ratio: 1; left: 34%; top: 58%; --t: 8.2s; --de: -4s; }
.orb--4 { width: 15%; aspect-ratio: 1; left: 63%; top: 18%; --t: 6.8s; --de: -1s; }
.orb--5 { width: 21%; aspect-ratio: 1; left: 72%; top: 46%; --t: 7.8s; --de: -3s; }
.orb--6 { width: 11%; aspect-ratio: 1; left: 55%; top: 74%; --t: 6s;  --de: -5s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(4%, -9%) scale(1.04); }
  66%      { transform: translate(-4%, 6%) scale(0.97); }
}

/* chart card */
.chart {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: clamp(1.4rem, 3vw, 2.6rem);
}
.chart__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.chart__title {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--dark-blue);
}
.chart__caption {
  margin-top: 0.45rem;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
}
.chart__stat { text-align: right; }
.chart__value {
  display: block;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 880;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  color: var(--dark-blue);
}
.chart__growth {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.3em 0.7em;
  border-radius: 999px;
  background: rgba(77, 166, 177, 0.14);
  color: #1f6e78;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chart__plot { position: relative; height: clamp(220px, 32vw, 320px); margin-left: 3rem; }
.chart__grid { position: absolute; inset: 0 0 1.6rem 0; }
.chart__gridline {
  position: absolute;
  left: 0; right: 0;
  bottom: var(--y);
  border-top: 1px solid var(--gray-3);
}
.chart__gridline span {
  position: absolute;
  left: -3rem;
  top: -0.55em;
  font-size: 0.7rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gray-1);
}
.chart__bars {
  position: absolute;
  inset: 0 0 1.6rem 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 4%;
  padding-inline: 3%;
  border-bottom: 1px solid var(--gray-2);
}
.bar { position: relative; flex: 0 0 8.5%; height: 100%; display: flex; align-items: flex-end; }
.bar i {
  display: block;
  width: 100%;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #d6d9dc 0%, var(--gray-2) 100%);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.bar--blue i { background: linear-gradient(180deg, var(--blue) 0%, var(--dark-blue) 100%); }
.chart.in .bar i { transform: scaleY(1); }
.chart.in .bar:nth-child(1) i { transition-delay: 0.05s; }
.chart.in .bar:nth-child(2) i { transition-delay: 0.15s; }
.chart.in .bar:nth-child(3) i { transition-delay: 0.25s; }
.chart.in .bar:nth-child(4) i { transition-delay: 0.35s; }
.chart.in .bar:nth-child(5) i { transition-delay: 0.45s; }
.chart.in .bar:nth-child(6) i { transition-delay: 0.55s; }
.bar i { transition: transform 1s cubic-bezier(0.22, 0.8, 0.3, 1), filter 0.25s ease; }
.bar:hover i { filter: brightness(1.08); }
.bar__note {
  position: absolute;
  left: 50%;
  bottom: calc(var(--h) + 0.55rem);
  transform: translateX(-50%);
  white-space: nowrap;
  font-style: normal;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-1);
}
.bar label {
  position: absolute;
  left: 50%;
  bottom: -1.6rem;
  transform: translateX(-50%);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--black);
}

/* -------------------------------------------------------------- protocol --- */
.protocol {
  position: relative;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(8, 0, 175, 0.35) 0%, rgba(8, 0, 175, 0) 60%),
    linear-gradient(180deg, #07071c 0%, #040410 100%);
  padding: var(--space-section) 0;
  overflow: hidden;
}
.protocol::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(100% 80% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(100% 80% at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}
.protocol .container { position: relative; }
.protocol .eyebrow { color: rgba(255, 255, 255, 0.55); }
.protocol .eyebrow { margin-bottom: 1.2rem; }
.protocol__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.spec {
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--blue);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: clamp(1.3rem, 2.2vw, 1.8rem);
}
.spec__title {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa0ff;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.spec__list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}
.spec__list div:last-child { border-bottom: 0; padding-bottom: 0; }
.spec__list dt { color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.spec__list dd { color: var(--white); font-weight: 700; text-align: right; }
.protocol__sub {
  margin-top: 1.6rem;
  color: var(--gray-2);
  font-weight: 700;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  letter-spacing: 0.03em;
  line-height: 1.55;
  text-transform: uppercase;
}
.steps {
  list-style: none;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 880px;
  margin-inline: auto;
}
.step {
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1.3rem, 2.6vw, 2rem);
}
.step + .step { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.step__num { transition: color 0.3s ease; }
.step:hover .step__num { color: rgba(255, 255, 255, 0.95); -webkit-text-stroke: 1.5px transparent; }
.step__num { transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease; }
.step__num {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 900;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
  text-align: right;
  user-select: none;
}
.step__title {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 820;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  text-transform: uppercase;
  color: #8fa0ff;
  margin-bottom: 0.6rem;
}
.step__body p {
  font-weight: 500;
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.55;
  color: var(--gray-2);
  max-width: 56ch;
}
.protocol__cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ----------------------------------------------------------------- access --- */
.access {
  position: relative;
  overflow: hidden;
  background: var(--dark-blue);
  padding: var(--space-section) 0 clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
}
.access__title {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 900;
  font-size: clamp(3rem, 16.5vw, 15rem);
  line-height: 0.85;
  text-align: center;
  text-transform: uppercase;
  color: var(--black);
  user-select: none;
}
.access__sub {
  margin-top: 1.4rem;
  text-align: center;
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 750;
  font-size: clamp(0.85rem, 1.6vw, 1.3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.access__cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.access__watermark {
  position: absolute;
  right: 0;
  bottom: -14%;
  width: clamp(280px, 34vw, 520px);
  max-width: min(30vw, 420px);
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.access .container { position: relative; }
.access__brandrow { margin-bottom: clamp(2rem, 4vw, 3rem); }
.access__logo { height: 30px; width: auto; color: var(--white); }
.access__social { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; gap: 0.5rem; }
.access__social svg { width: 15px; height: 15px; }
.access__social:hover { opacity: 0.85; }
.access__rule {
  border: none;
  border-top: 1px solid var(--blue);
  margin: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.access__grid {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.access__col { display: grid; gap: 0.55rem; font-weight: 500; }
.access__col a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.access__col a:hover { opacity: 0.85; border-color: rgba(255, 255, 255, 0.5); }
.access__label { color: var(--blue); font-weight: 500; margin-bottom: 0.4rem; }
.access__copyright {
  justify-self: end;
  align-self: end;
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
}

.access__legal {
  margin-top: clamp(2.5rem, 5vw, 4rem);

  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 70ch;
}

/* ---------------------------------------------------------------- reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease var(--d, 0s), transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- responsive --- */
@media (max-width: 920px) {
  .protocol__intro { grid-template-columns: 1fr; }
  .spec { max-width: 480px; }
  .hero__inner { grid-template-columns: 1fr; min-height: auto; padding-block: 1.65rem 0.75rem; gap: 1.15rem; }
  .hero__sub { margin-top: 1.25rem; line-height: 1.45; }
  .hero__actions { margin-top: 1.2rem; gap: 0.7rem; }
  .hero__anim { height: clamp(250px, 40vh, 360px); min-height: 250px; order: 2; margin-right: 0; overflow: hidden; }
  .hero__anim canvas, .hero__anim video, .hero__anim .hero__still { transform: scale(1.1); transform-origin: center; }
  .context__anim video { transform: scale(1.02); }
  .context__grid { grid-template-columns: 1fr; }
  .context__anim { order: -1; height: 300px; min-height: 0; }
  .card__body { grid-template-columns: 1fr; }
  .card__num { text-align: left; font-size: clamp(4.5rem, 18vw, 8rem); margin-top: 0.5rem; }
  .step { grid-template-columns: minmax(90px, auto) 1fr; }
  .step__num { font-size: clamp(3rem, 12vw, 4.5rem); }
  .access__grid { grid-template-columns: 1fr 1fr; }
  .access__copyright { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 720px) {
  .bar__note { display: none; }
  .nav__inner { gap: 0.55rem; }
  .nav__cta {
    white-space: nowrap;
    padding: 0.72rem 0.95rem;
    margin-left: auto;
  }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-3);
    flex-direction: column;
    padding: 1.4rem 4vw 1.8rem;
    gap: 1.1rem;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }
  .nav--open .nav__links { transform: translateY(0); box-shadow: 0 24px 40px rgba(0,0,0,0.12); }
  .nav__links a {
    display: flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    padding-block: 0.7em;
    border-bottom: 1px solid var(--gray-3);
    font-size: 1.05rem;
  }
  .nav__links a::after { display: none; }
  .nav__links .nav__links-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 0.9rem;
    border-bottom: 0;
    text-align: center;
    color: var(--white);
  }
  .nav__burger {
    display: grid;
    width: 44px;
    height: 44px;
    gap: 6px;
    place-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: transform 0.3s ease;
  }
  .nav--open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav--open .nav__burger span:last-child  { transform: translateY(-4px) rotate(-45deg); }
  .chart__plot { margin-left: 2.4rem; }
  .chart__gridline span { left: -2.4rem; }
  .bar i { transition: transform 1s cubic-bezier(0.22, 0.8, 0.3, 1), filter 0.25s ease; }
.bar:hover i { filter: brightness(1.08); }
.bar__note {
  position: absolute;
  left: 50%;
  bottom: calc(var(--h) + 0.55rem);
  transform: translateX(-50%);
  white-space: nowrap;
  font-style: normal;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-1);
}
.bar label { font-size: 0.62rem; }
}

@media (max-width: 340px) {
  .nav__cta { display: none; }
}

@media (max-width: 340px) and (max-height: 650px) {
  .hero__inner {
    padding-block: 1.1rem 0.4rem;
    gap: 0.55rem;
  }

  .hero__title {
    font-size: 1.65rem;
  }

  .hero__sub {
    margin-top: 0.8rem;
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .hero__actions {
    margin-top: 0.85rem;
    gap: 0.55rem;
  }

  .hero__anim {
    height: 190px;
    min-height: 190px;
  }
}

/* --------------------------------------------------------- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .card { position: static; transform: none !important; filter: none !important; }
  html { scroll-behavior: auto !important; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none !important; transform: none !important; }
  .orb, .orbs__logo, .chev { animation: none; }
  .bar i { transform: scaleY(1); transition: none; }
}
