:root {
  color-scheme: light;
  --ink: #05070b;
  --navy: #062747;
  --blue: #0b5cab;
  --blue-soft: #ddecfb;
  --blue-glow: rgba(19, 107, 190, 0.22);
  --paper: #f6f8fb;
  --panel: #ffffff;
  --muted: #5f6978;
  --line: #dce3eb;
  --scroll-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: #ffffff;
}

.page-backdrop {
  background:
    radial-gradient(circle at 12% 8%, rgba(51, 123, 201, 0.11), transparent 30%),
    radial-gradient(circle at 86% 3%, rgba(9, 48, 91, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 48%, #ffffff 100%);
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: -15;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(5, 7, 11, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 7, 11, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 78%);
}

.site-header {
  color: var(--ink);
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 54px rgba(8, 29, 56, 0.1);
}

.nav-toggle {
  display: grid;
  height: 42px;
  width: 42px;
  place-items: center;
  border: 1px solid rgba(5, 7, 11, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: rgba(5, 7, 11, 0.82);
}

.main-nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 20px;
  right: 20px;
  display: none;
  flex-direction: column;
  gap: 6px;
  max-height: calc(100dvh - 108px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(8, 29, 56, 0.16);
  backdrop-filter: blur(24px);
}

.main-nav.open {
  display: flex;
}

.main-nav > a {
  border-radius: 12px;
  padding: 11px 12px;
  color: rgba(5, 7, 11, 0.68);
  font-size: 14px;
  font-weight: 640;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.main-nav > a:hover {
  color: var(--ink);
  background: rgba(11, 92, 171, 0.075);
  transform: translateX(2px);
}

.brand-logo-shell {
  display: grid;
  width: 122px;
  height: 64px;
  flex: 0 0 122px;
  place-items: center;
  overflow: visible;
}

.brand-logo {
  width: 118px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(7, 39, 71, 0.14));
}

.portal-menu {
  position: relative;
}

.portal-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  width: 420px;
  height: 22px;
}

.portal-trigger {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(5, 7, 11, 0.14);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 680;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.portal-trigger:hover,
.portal-menu.open .portal-trigger {
  border-color: rgba(11, 92, 171, 0.28);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(8, 29, 56, 0.08);
}

.portal-panel {
  display: none;
  max-height: min(52dvh, 420px);
  overflow-y: auto;
  overscroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 92, 171, 0.42) rgba(246, 248, 251, 0.86);
  margin-top: 10px;
  padding: 18px;
  border: 1px solid rgba(5, 7, 11, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 0%, rgba(11, 92, 171, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98));
  box-shadow: 0 32px 100px rgba(8, 29, 56, 0.18);
  transform-origin: top right;
}

.portal-panel::-webkit-scrollbar {
  width: 8px;
}

.portal-panel::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(246, 248, 251, 0.86);
}

.portal-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(11, 92, 171, 0.42);
}

.portal-menu.open .portal-panel,
.portal-menu:focus-within .portal-panel,
.portal-menu:hover .portal-panel {
  display: block;
  animation: portalReveal 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.portal-menu.open .portal-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.portal-label {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.portal-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.portal-panel p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.pulse-lock {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 999px;
  background: #0b5cab;
  box-shadow: 0 0 0 8px rgba(11, 92, 171, 0.08), 0 0 32px rgba(11, 92, 171, 0.38);
}

.portal-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.portal-role-grid a {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(5, 7, 11, 0.08);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 660;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.portal-role-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 92, 171, 0.24);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(8, 29, 56, 0.08);
}

.portal-role-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 12px;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, #05070b, #0b3a6d);
  font-weight: 720;
  box-shadow: 0 20px 45px rgba(7, 39, 71, 0.18);
  transition: transform 240ms ease, filter 240ms ease;
}

.portal-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.hero-parallax {
  background-image: url("assets/hero-estara-futuristic.png");
  background-position: center calc(50% + var(--scroll-shift));
  background-size: cover;
  transform: scale(1.06);
  filter: saturate(0.36) contrast(1.06) brightness(0.9);
  will-change: background-position;
}

.hero-cover {
  background:
    linear-gradient(90deg, rgba(4, 8, 14, 0.9) 0%, rgba(7, 22, 40, 0.64) 42%, rgba(255, 255, 255, 0.08) 76%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.18) 0%, rgba(255, 255, 255, 0.96) 98%);
}

.energy-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.48;
}

.energy-grid span {
  position: absolute;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 222, 255, 0.5), rgba(11, 92, 171, 0.36), transparent);
  animation: scanLine 7s linear infinite;
}

.energy-grid span:nth-child(1) {
  top: 28%;
}

.energy-grid span:nth-child(2) {
  top: 56%;
  animation-delay: -2.2s;
}

.energy-grid span:nth-child(3) {
  top: 78%;
  animation-delay: -4.5s;
}

.hero-stage {
  color: #ffffff;
}

.hero-kicker {
  color: rgba(219, 235, 255, 0.92);
}

.identity-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 12px 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

.identity-pill svg {
  width: 34px;
  height: 24px;
  flex: 0 0 auto;
}

.identity-pill img {
  width: 34px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 7px;
  object-fit: cover;
}

.identity-pill:nth-child(2) svg {
  width: 26px;
  height: 26px;
}

.identity-pill.brand-pill img {
  width: 76px;
  height: 34px;
  padding: 0;
  background: transparent;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32));
}

.identity-pill.brand-pill {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(4, 8, 14, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.identity-pill.brand-pill span {
  color: rgba(5, 7, 11, 0.82);
}

.identity-pill span {
  font-size: 12px;
  font-weight: 720;
}

.premium-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #05070b, #0b3a6d);
  font-weight: 720;
  box-shadow: 0 24px 60px rgba(8, 29, 56, 0.18);
  transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.premium-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 80px rgba(8, 29, 56, 0.24);
  filter: brightness(1.05);
}

.premium-button.ghost {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-panel {
  position: relative;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.16)),
    rgba(6, 17, 31, 0.34);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(28px) saturate(1.18);
}

.glass-panel .text-white\/50 {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.16);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 232, 232, 1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: livePulseText 3.6s ease-in-out infinite;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff2f3f;
  box-shadow: 0 0 0 7px rgba(255, 47, 63, 0.13), 0 0 26px rgba(255, 47, 63, 0.72);
  animation: livePulseDot 3.6s ease-in-out infinite;
}

.signal-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.signal-row span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.signal-row strong {
  color: rgba(255, 255, 255, 1);
  font-size: 13px;
  font-weight: 660;
}

main > section:nth-of-type(2) {
  border-color: var(--line) !important;
  background: #ffffff !important;
}

.metric-tile {
  min-height: 174px;
  padding: 24px;
  background: #ffffff;
}

.metric-tile span,
.strategy-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metric-tile strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.03em;
}

.metric-tile p,
.strategy-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.ecosystem-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 70px rgba(8, 29, 56, 0.06);
}

.ecosystem-card span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ecosystem-card img {
  width: 100%;
  max-height: 112px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 16px 28px rgba(8, 29, 56, 0.12));
}

.ecosystem-card:first-child img {
  max-height: 150px;
  max-width: 260px;
}

.ecosystem-card:nth-child(2) img {
  max-width: 170px;
  border-radius: 12px;
}

.ecosystem-card:nth-child(4) img {
  max-width: 270px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.section-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 110px 20px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-shell h2,
.section-shell .section-title-quiet {
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(2rem, 4.3vw, 4.25rem);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-shell .section-title-quiet {
  max-width: 820px;
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  font-weight: 540;
  line-height: 1.08;
}

.section-shell p {
  color: var(--muted) !important;
}

.strategy-card {
  min-height: 292px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 72px rgba(8, 29, 56, 0.06);
  transition: transform 320ms ease, border-color 320ms ease, background 320ms ease, box-shadow 320ms ease;
}

.strategy-card:hover {
  transform: translateY(-7px);
  border-color: rgba(11, 92, 171, 0.24);
  background: #fbfdff;
  box-shadow: 0 30px 90px rgba(8, 29, 56, 0.1);
}

.strategy-card h3 {
  margin-top: 64px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 660;
  letter-spacing: -0.035em;
}

#bit4mine {
  color: var(--ink);
  border-color: var(--line) !important;
  background: #f7f9fc !important;
}

.bit4mine-glow {
  background: radial-gradient(circle at 70% 40%, rgba(11, 92, 171, 0.1), transparent 32%) !important;
}

#bit4mine h2 {
  color: var(--ink) !important;
  font-weight: 600;
}

#bit4mine p {
  color: var(--muted) !important;
}

.ops-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.ops-line span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 22px rgba(11, 92, 171, 0.36);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(5, 7, 11, 0.74)),
    radial-gradient(circle at 70% 20%, rgba(11, 92, 171, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(238, 244, 251, 0.9), rgba(13, 31, 51, 0.88)),
    var(--gallery-image) center/cover;
  box-shadow: 0 24px 72px rgba(8, 29, 56, 0.1);
  transition: transform 420ms ease, border-color 420ms ease, filter 420ms ease;
}

.gallery-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(11, 92, 171, 0.28);
  filter: saturate(1.04);
}

.gallery-card span {
  color: rgba(219, 235, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gallery-card h3 {
  margin-top: 8px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 660;
  letter-spacing: -0.04em;
}

.leader-card {
  display: flex;
  gap: 20px;
  min-height: 205px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 22px 72px rgba(8, 29, 56, 0.06);
}

.leader-orbit {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #05070b, #0b3a6d);
  font-weight: 740;
}

.leader-orbit::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(11, 92, 171, 0.18);
  border-radius: 24px;
  animation: orbitPulse 4s ease-in-out infinite;
}

.leader-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.leader-card h3 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.leader-card p {
  margin-top: 10px;
  color: var(--muted) !important;
  line-height: 1.7;
}

.security-panel,
.tokenization-panel {
  display: grid;
  gap: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 0%, rgba(11, 92, 171, 0.1), transparent 32%),
    linear-gradient(145deg, #ffffff, #f6f8fb);
  box-shadow: 0 32px 90px rgba(8, 29, 56, 0.08);
}

.security-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.security-tags span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  font-size: 13px;
  font-weight: 660;
}

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

.token-flow span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 660;
}

.token-flow span::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 24px rgba(11, 92, 171, 0.34);
}

.tokenization-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.tokenization-logo-row img {
  height: 64px;
  max-width: 270px;
  object-fit: contain;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.tokenization-logo-row img:nth-child(2) {
  width: 132px;
  background: transparent;
}

main > section:last-of-type > div {
  border-color: var(--line) !important;
  background: #ffffff !important;
  box-shadow: 0 28px 90px rgba(8, 29, 56, 0.08) !important;
}

main > section:last-of-type h2 {
  color: var(--ink) !important;
  font-weight: 600;
}

main > section:last-of-type p {
  color: var(--muted) !important;
}

footer {
  color: var(--muted) !important;
  border-color: var(--line) !important;
  background: #ffffff;
}

.footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-links a {
  color: inherit;
  transition: color 180ms ease;
}

.footer-legal-links a:hover {
  color: var(--blue);
}

.legal-body {
  min-height: 100vh;
  color: #f8fbff;
  background:
    radial-gradient(circle at 12% 8%, rgba(54, 132, 216, 0.18), transparent 30%),
    radial-gradient(circle at 86% 0%, rgba(8, 42, 82, 0.32), transparent 34%),
    linear-gradient(180deg, #05070b 0%, #0a1320 48%, #05070b 100%);
}

.legal-body .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 20px;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(5, 7, 11, 0.72) !important;
  color: #ffffff;
  backdrop-filter: blur(24px);
}

.legal-body .site-header strong,
.legal-body .site-header small,
.legal-body .footer-legal-links a,
.legal-body footer {
  color: rgba(255, 255, 255, 0.72) !important;
}

.legal-body .footer-legal-links a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.legal-header-inner,
.legal-footer-inner {
  display: flex;
  width: min(100%, 1280px);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.legal-brand-text {
  min-width: 0;
}

.legal-brand-text strong {
  display: block;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.18em;
}

.legal-brand-text small {
  display: block;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 12px;
}

.legal-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.legal-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.legal-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.legal-page {
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 156px 20px 88px;
}

.legal-page::before {
  content: "";
  position: absolute;
  inset: 96px 20px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(146, 196, 255, 0.44), transparent);
}

.legal-hero {
  margin-bottom: 34px;
}

.legal-kicker {
  margin: 0 0 14px;
  color: #8cc7ff;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 620;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.legal-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(238, 246, 255, 0.66);
  font-size: 17px;
  line-height: 1.75;
}

.legal-panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(31, 116, 208, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
}

.legal-panel h2 {
  margin: 34px 0 12px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -0.035em;
}

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

.legal-panel p,
.legal-panel li {
  color: rgba(238, 246, 255, 0.72);
  font-size: 16px;
  line-height: 1.8;
}

.legal-panel p {
  margin: 0 0 14px;
}

.legal-panel ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 18px;
  padding-left: 20px;
}

.legal-placeholder {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(140, 199, 255, 0.26);
  border-radius: 999px;
  color: #ddecfb;
  background: rgba(140, 199, 255, 0.08);
  font-size: 0.95em;
}

.legal-body footer {
  padding: 28px 20px;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(5, 7, 11, 0.78);
}

@media (max-width: 700px) {
  .legal-header-inner,
  .legal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-nav {
    justify-content: flex-start;
  }

  .legal-page {
    padding-top: 190px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(8px);
  transition: opacity 760ms cubic-bezier(0.16, 1, 0.3, 1), transform 760ms cubic-bezier(0.16, 1, 0.3, 1), filter 760ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-150 {
  transition-delay: 150ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

@keyframes portalReveal {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes livePulseDot {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.92);
    box-shadow: 0 0 0 5px rgba(255, 47, 63, 0.08), 0 0 18px rgba(255, 47, 63, 0.42);
  }
  45%,
  60% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 9px rgba(255, 47, 63, 0.16), 0 0 34px rgba(255, 47, 63, 0.9);
  }
}

@keyframes livePulseText {
  0%,
  100% {
    opacity: 0.72;
  }
  45%,
  60% {
    opacity: 1;
  }
}

@keyframes scanLine {
  0% {
    transform: translateX(-24%) scaleX(0.45);
    opacity: 0;
  }
  22%,
  72% {
    opacity: 1;
  }
  100% {
    transform: translateX(24%) scaleX(1);
    opacity: 0;
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (min-width: 1024px) {
  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .main-nav > a {
    padding: 10px 11px;
    font-size: 13px;
  }

  .portal-trigger {
    width: auto;
    min-height: 40px;
    text-align: left;
  }

  .portal-menu::after {
    display: block;
  }

  .portal-panel {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    width: 390px;
    display: block;
    max-height: min(70dvh, 560px);
    overscroll-behavior: contain;
    margin-top: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.97);
    filter: blur(8px);
    transition: opacity 260ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1), filter 260ms ease;
  }

  .portal-menu.open .portal-panel,
  .portal-menu:focus-within .portal-panel,
  .portal-menu:hover .portal-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
    animation: none;
  }

  .gallery-grid {
    grid-template-columns: 1.35fr 0.9fr;
  }

  .gallery-card.large {
    grid-row: span 2;
    min-height: 620px;
  }

  .security-panel,
  .tokenization-panel {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 42px;
  }
}

@media (max-width: 700px) {
  .brand-logo-shell {
    width: 92px;
    height: 54px;
    flex-basis: 92px;
  }

  .brand-logo {
    width: 90px;
    height: 52px;
  }

  .section-shell {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-shell h2 {
    line-height: 1.06;
  }

  .leader-card {
    flex-direction: column;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
