:root {
  --bg: #f7fbff;
  --bg2: #eef6ff;
  --panel: #ffffff;
  --panel-soft: #f6f9ff;
  --panel-light: #f6f9ff;
  --text: #1e2559;
  --ink: #1e2559;
  --muted: #5d7d98;
  --muted-dark: #5d7d98;
  --blue: #0058bc;
  --blue-2: #4fbaff;
  --line: rgba(107, 166, 255, 0.2);
  --line-2: rgba(16, 98, 255, 0.2);
  --white: #fff;
  --radius: 24px;
  --radius-sm: 18px;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  --max: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Calibri, "Calibri MS", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(
    circle at top left,
    #0d2144 0,
    #081321 28%,
    #060d18 100%
  );
  color: var(--text);
  overflow-x: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 18px;
  top: 18px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}
.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(45px);
  opacity: 0.18;
}
.orb.one {
  width: 420px;
  height: 420px;
  left: -140px;
  top: -120px;
  background: #1a82ff;
}
.orb.two {
  width: 380px;
  height: 380px;
  right: -120px;
  top: 120px;
  background: #00c8ff;
}
.orb.three {
  width: 320px;
  height: 320px;
  left: 35%;
  bottom: -120px;
  background: #2d48ff;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 11, 20, 0.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 18px;
}
.logo img {
  height: 40px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #c9d8ec;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(20, 98, 255, 0.16);
  color: #fff;
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 16px 34px rgba(20, 98, 255, 0.28);
}
.btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}
.btn.small {
  padding: 10px 14px;
  font-size: 14px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 18px var(--blue-2);
}
.hero,
.page-hero {
  padding: 82px 0 42px;
}
.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.97;
  letter-spacing: -0.06em;
}
h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}
h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.lead {
  margin-top: 22px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 760px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.micro-proof {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: #c8d7ea;
  font-size: 13px;
}
.micro-proof strong {
  color: #fff;
}
.section {
  padding: 82px 0;
}
.section.compact {
  padding: 56px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 28px;
}
.copy {
  max-width: 730px;
}
.kicker {
  color: #7bc7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.text {
  color: var(--muted);
  line-height: 1.72;
}
.text.large {
  font-size: 18px;
}
.text.max {
  max-width: 760px;
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card,
.infocard,
.panel {
  background: linear-gradient(
    180deg,
    rgba(14, 26, 46, 0.94),
    rgba(9, 18, 33, 0.92)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel {
  padding: 24px;
}
.card {
  padding: 24px;
}
.card h3 {
  margin-bottom: 12px;
}
.card p {
  color: var(--muted);
  line-height: 1.68;
}
.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
}
.infocard {
  padding: 16px;
}
.infocard.light {
  background: var(--panel-light);
  color: var(--ink);
  border-color: #dbe8ff;
}
.infocard.light p,
.infocard.light .caption,
.infocard.light .meta {
  color: var(--muted-dark);
}
.infocard img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.caption {
  margin-top: 12px;
  color: #d6e6fb;
  font-size: 15px;
  line-height: 1.6;
}
.meta {
  margin-top: 8px;
  font-size: 12px;
  color: #8ea7c7;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.feature.reverse .feature-copy {
  order: 2;
}
.feature.reverse .feature-media {
  order: 1;
}
.feature-media {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.feature-media img {
  border-radius: 16px;
}
.check-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.55;
}
.check::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 0 16px rgba(41, 166, 255, 0.36);
}
.check b {
  color: #fff;
}
.promo-banner {
  padding: 18px 0;
}
.promo-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(20, 98, 255, 0.18),
    rgba(41, 166, 255, 0.08)
  );
  border: 1px solid rgba(107, 166, 255, 0.25);
  box-shadow: 0 18px 50px rgba(9, 24, 49, 0.28);
}
.promo-copy {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.promo-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #0f45c7;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.promo-text {
  font-size: 18px;
  font-weight: 700;
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: #8aa4c7;
  font-size: 13px;
}
.breadcrumbs a {
  color: #dcebff;
}
.breadcrumbs span.sep {
  color: #4f89ff;
}
.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 32px;
}
.metric {
  padding: 22px;
  background: rgba(12, 24, 44, 0.95);
}
.metric b {
  display: block;
  font-size: 30px;
  letter-spacing: -0.05em;
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 6px;
}
.callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(20, 98, 255, 0.18),
    rgba(41, 166, 255, 0.06),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(107, 166, 255, 0.24);
  box-shadow: var(--shadow);
}
.callout p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 760px;
}
.timeline {
  display: grid;
  gap: 14px;
  position: relative;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 18px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(#5caeff, transparent);
}
.time-item {
  position: relative;
  padding-left: 52px;
}
.time-item:before {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #081321;
  border: 2px solid #5caeff;
  box-shadow: 0 0 18px rgba(92, 174, 255, 0.4);
}
.date {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7bc7ff;
  margin-bottom: 4px;
}
.time-item p {
  color: var(--muted);
  line-height: 1.6;
}
.time-item b {
  color: #fff;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.team-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(14, 26, 46, 0.92),
    rgba(9, 18, 33, 0.9)
  );
  box-shadow: var(--shadow);
}
.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  font-weight: 900;
  font-size: 24px;
}
.team-card h3 {
  margin-top: 16px;
  font-size: 20px;
}
.team-role {
  color: #7bc7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
}
.team-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.team-note {
  margin-top: 10px;
  font-size: 12px;
  color: #8ea7c7;
}
.form {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 13px;
  font-weight: 800;
  color: #dcebff;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  outline: none;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #76c8ff;
  box-shadow: 0 0 0 4px rgba(118, 200, 255, 0.12);
}
.info-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.info-list span {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #d8e6f9;
}
.footer {
  padding: 52px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 12, 24, 0.76);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.72fr 0.78fr 0.78fr 0.85fr;
  gap: 24px;
}
.footer-grid h4 {
  margin: 0 0 12px;
}
.footer p,
.footer a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.footer-links {
  display: grid;
  gap: 8px;
}
.legal {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #8ea7c7;
  font-size: 13px;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* === Enhancement layer === */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.3);
  }
}
.badge .dot {
  animation: pulse 2.4s ease-in-out infinite;
}

.card {
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(107, 166, 255, 0.34);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(41, 166, 255, 0.1);
}
a.card {
  cursor: pointer;
}

.metric b,
.stat b {
  background: linear-gradient(135deg, #fff 35%, #29a6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-card {
  border-top: 2px solid rgba(41, 166, 255, 0.32);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}
.team-note {
  display: none;
}

.infocard.light .caption {
  color: #4d6a9a;
  font-size: 14px;
}
.infocard.light .meta {
  color: #6b8ab0;
}

.callout {
  transition: box-shadow 0.25s ease;
}
.callout:hover {
  box-shadow:
    0 28px 80px rgba(20, 98, 255, 0.18),
    0 0 0 1px rgba(107, 166, 255, 0.2);
}

.btn.primary {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(20, 98, 255, 0.42);
}

.timeline:before {
  background: linear-gradient(180deg, #5caeff 0%, rgba(92, 174, 255, 0.1) 100%);
}
.time-item:before {
  transition: box-shadow 0.3s;
}
.time-item:hover:before {
  box-shadow: 0 0 28px rgba(92, 174, 255, 0.7);
}
@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .feature,
  .feature.reverse {
    grid-template-columns: 1fr;
  }
  .feature.reverse .feature-copy,
  .feature.reverse .feature-media {
    order: initial;
  }
  .grid.cols-3,
  .grid.cols-4,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1/-1;
  }
  .callout {
    grid-template-columns: 1fr;
  }
  .metric-band {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: rgba(8, 15, 29, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 14px;
  }
  .nav-cta .secondary {
    display: none;
  }
  .promo-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }
  .section,
  .hero,
  .page-hero {
    padding-top: 60px;
  }
  h1 {
    font-size: 44px;
  }
  .lead {
    font-size: 17px;
  }
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .team-grid,
  .metric-band {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .hero-actions {
    width: 100%;
  }
  .nav-cta .primary {
    display: none;
  }
}

/* === Requested updates: roomier titles, hover-expanding infographics, social footer and use cases === */
h1 {
  letter-spacing: -0.035em;
  word-spacing: 0.07em;
}
h2 {
  letter-spacing: -0.025em;
  word-spacing: 0.055em;
}
h3 {
  letter-spacing: -0.012em;
  word-spacing: 0.035em;
}
.infocard {
  position: relative;
  overflow: visible;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}
.infocard img {
  transition:
    transform 0.36s ease,
    box-shadow 0.36s ease;
  transform-origin: center center;
  will-change: transform;
}
.infocard:hover {
  z-index: 8;
  border-color: rgba(107, 166, 255, 0.34);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(41, 166, 255, 0.1);
}
.infocard:hover img {
  transform: scale(1.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}
.infocard.light:hover img {
  box-shadow: 0 26px 70px rgba(20, 98, 255, 0.2);
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(107, 166, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #dcebff !important;
  font-weight: 800;
  line-height: 1 !important;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
  flex: 0 0 auto;
}
.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 166, 255, 0.46);
  background: rgba(20, 98, 255, 0.16);
  color: #fff !important;
}
.usecase-stack {
  display: grid;
  gap: 26px;
}
.case-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(14, 26, 46, 0.96),
    rgba(9, 18, 33, 0.94)
  );
  border: 1px solid rgba(107, 166, 255, 0.16);
  box-shadow: var(--shadow);
  scroll-margin-top: 110px;
}
.case-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(41, 166, 255, 0.14),
    transparent 34%
  );
  pointer-events: none;
}
.case-content {
  position: relative;
  max-width: 980px;
}
.case-meta {
  display: inline-flex;
  margin: 10px 0 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(20, 98, 255, 0.14);
  border: 1px solid rgba(107, 166, 255, 0.25);
  color: #9bd8ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.case-panel p {
  color: var(--muted);
  line-height: 1.72;
  margin-top: 12px;
}
.case-panel strong {
  color: #fff;
}
.resource-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.resource-links.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.resource-links.single {
  grid-template-columns: minmax(220px, 360px);
}
.resource-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 74px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(107, 166, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  font-weight: 900;
  line-height: 1.25;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.resource-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  color: #7bc7ff;
}
.resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 166, 255, 0.52);
  background: rgba(20, 98, 255, 0.15);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}
.award-panel {
  margin-top: 20px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(107, 166, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}
.award-panel h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.award-links {
  display: grid;
  gap: 10px;
}
.award-links a {
  display: block;
  color: #dcebff;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 98, 255, 0.1);
  border: 1px solid rgba(107, 166, 255, 0.16);
  line-height: 1.45;
  transition: 0.18s ease;
}
.award-links a:hover {
  background: rgba(20, 98, 255, 0.18);
  border-color: rgba(107, 166, 255, 0.42);
  transform: translateY(-1px);
}
@media (hover: none) {
  .infocard:hover img {
    transform: none;
    box-shadow: none;
  }
}
@media (max-width: 980px) {
  .resource-links,
  .resource-links.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .resource-links.single {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  h1 {
    word-spacing: 0.03em;
  }
  .resource-links,
  .resource-links.three,
  .resource-links.single {
    grid-template-columns: 1fr;
  }
  .case-panel {
    padding: 22px;
  }
  .social-links {
    gap: 8px;
  }
  .social-link span {
    display: none;
  }
}

/* Nav safety for the added Use Cases item */
@media (max-width: 1120px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: rgba(8, 15, 29, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 14px;
  }
}

/* Scale the whole infographic card so captions do not get covered by the image. */
.infocard {
  cursor: zoom-in;
  transform-origin: center center;
}
.infocard:hover {
  transform: scale(1.04);
}
.infocard:hover img {
  transform: none;
}
@media (hover: none) {
  .infocard:hover {
    transform: none;
  }
}

/* === Final readability pass: large infographic hover preview, consistent ZK-chain media sizing, exact team roster === */
.infocard {
  cursor: zoom-in;
}
.infocard:hover {
  transform: none;
}
.infocard:hover img {
  transform: none;
  box-shadow: none;
}
body[data-page="zk"] .zk-page-infographic {
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
body[data-page="zk"] .zk-page-infographic img {
  width: 100%;
  height: auto;
  display: block;
}
.image-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(3, 8, 18, 0.86);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}
.image-zoom-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.image-zoom-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  overscroll-behavior: contain;
}
.image-zoom-inner img {
  display: block;
  width: auto;
  max-width: calc(100vw - 72px);
  max-height: calc(100vh - 72px);
  height: auto;
  border-radius: 22px;
  box-shadow:
    0 36px 120px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(123, 199, 255, 0.32);
  background: #fff;
}
.image-zoom-overlay.scrollable {
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
}
.image-zoom-overlay.scrollable .image-zoom-inner {
  align-items: flex-start;
  justify-content: center;
}
.image-zoom-overlay.scrollable .image-zoom-inner img {
  width: min(1180px, calc(100vw - 48px));
  max-width: none;
  max-height: none;
}
.image-zoom-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10001;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 10, 20, 0.72);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.image-zoom-hint {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 10001;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 10, 20, 0.7);
  color: #dcebff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.team-subtitle {
  margin-top: 14px;
  font-size: 20px;
  color: var(--muted);
}
.team-grid-expanded {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#team .team-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
#team .team-card h3 {
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  word-spacing: 0.035em;
}
#team .team-role {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #7bc7ff;
}
#team .avatar {
  width: 58px;
  height: 58px;
  font-size: 20px;
}
@media (max-width: 980px) {
  .team-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="zk"] .zk-page-infographic {
    max-width: 620px;
  }
  .image-zoom-hint {
    display: none;
  }
}
@media (max-width: 640px) {
  .team-grid-expanded {
    grid-template-columns: 1fr;
  }
  #team .team-card {
    min-height: auto;
  }
  .image-zoom-overlay {
    padding: 14px;
  }
  .image-zoom-inner img {
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }
  .image-zoom-overlay.scrollable .image-zoom-inner img {
    width: calc(100vw - 28px);
  }
}

/* === Update v3: click-only infographic zoom, real team photos, team LinkedIn buttons === */
.infocard img {
  cursor: zoom-in;
}
.image-zoom-overlay {
  z-index: 10000;
}
body[data-page="zk"] .page-hero-grid,
body[data-page="zk"] .feature {
  align-items: start;
}
body[data-page="zk"] .zk-page-infographic {
  width: 100%;
  max-width: 560px;
  align-self: start;
}
body[data-page="zk"] .zk-page-infographic img {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 1414;
  object-fit: contain;
  background: #fff;
}
#team .team-grid-expanded {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
#team .team-card {
  min-height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#team .team-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid rgba(107, 166, 255, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  background: #0d1d34;
}
#team .team-card h3 {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.2;
}
#team .team-role {
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #86d1ff;
  text-transform: none;
  letter-spacing: 0;
}
.team-linkedin {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(107, 166, 255, 0.24);
  background: rgba(20, 98, 255, 0.12);
  color: #eaf5ff;
  font-weight: 800;
  font-size: 14px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.team-linkedin svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}
.team-linkedin:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 166, 255, 0.52);
  background: rgba(20, 98, 255, 0.22);
}
.team-card-placeholder {
  justify-content: center;
  min-height: 320px;
  border-style: dashed;
  background: linear-gradient(
    180deg,
    rgba(14, 26, 46, 0.86),
    rgba(9, 18, 33, 0.78)
  );
}
.team-placeholder-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 34px rgba(20, 98, 255, 0.34);
}
.team-card-placeholder h3 {
  margin-top: 18px;
}
@media (max-width: 1100px) {
  #team .team-grid-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  #team .team-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  #team .team-grid-expanded {
    grid-template-columns: 1fr;
  }
  body[data-page="zk"] .zk-page-infographic {
    max-width: 100%;
  }
}

/* DFM dApp launch CTA */
.launch-dapp {
  box-shadow:
    0 18px 42px rgba(20, 98, 255, 0.34),
    0 0 0 1px rgba(123, 199, 255, 0.22);
}

/* Home landing image hero */
.home-landing {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(107, 166, 255, 0.18);
}
.home-landing-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("home-landing-finance.png");
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  transform: none;
}
.home-landing-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(2, 8, 18, 0.76) 0%,
      rgba(4, 12, 26, 0.55) 36%,
      rgba(4, 12, 26, 0.22) 68%,
      rgba(2, 8, 18, 0.44) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 8, 18, 0.34) 0%,
      rgba(2, 8, 18, 0.08) 44%,
      rgba(2, 8, 18, 0.78) 100%
    );
}
.home-landing-content {
  padding: clamp(72px, 9vh, 120px) 0 clamp(78px, 10vh, 130px);
  max-width: var(--max);
}
.home-landing-content h1 {
  max-width: 1120px;
  font-size: clamp(12px, 6vw, 97px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  word-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.56);
}
.home-landing-content h1 .landing-title-line {
  display: block;
  xwhite-space: nowrap;
}
.home-landing-content p {
  max-width: none;
  margin-top: 18px;
  color: #eef7ff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  font-weight: 600;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.62);
}
.home-landing-content .home-landing-primary {
  margin-top: 38px;
  white-space: nowrap;
}
.home-landing-content .home-landing-location {
  margin-top: 8px;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.45;
  font-weight: 500;
  white-space: nowrap;
  color: #dcecff;
}
@media (max-width: 900px) {
  .home-landing {
    min-height: calc(100vh - 82px);
    align-items: flex-end;
  }
  .home-landing-bg {
    background-position: center top;
  }
  .home-landing-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2, 8, 18, 0.18) 0%,
        rgba(2, 8, 18, 0.38) 42%,
        rgba(2, 8, 18, 0.86) 100%
      ),
      linear-gradient(90deg, rgba(2, 8, 18, 0.42), rgba(2, 8, 18, 0.16));
  }
  .home-landing-content {
    padding-top: 140px;
    padding-bottom: 70px;
  }
  .home-landing-content h1 {
    font-size: clamp(40px, 11.7vw, 68px);
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .home-landing {
    min-height: calc(100svh - 82px);
  }
  .home-landing-content p {
    font-size: 17px;
  }
  .home-landing-content h1 .landing-title-line {
    white-space: normal;
  }
  .home-landing-content .home-landing-primary,
  .home-landing-content .home-landing-location {
    white-space: normal;
  }
}

/* === Light background variant === */
body {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 46%, #ffffff 100%);
  color: #08234f;
}
.site-bg {
  display: none;
}
.topbar {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(20, 98, 255, 0.14);
  box-shadow: 0 10px 30px rgba(8, 35, 79, 0.06);
}
.nav-links a {
  color: #173a68;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(20, 98, 255, 0.1);
  color: #0f45c7;
}
.menu-toggle {
  background: rgba(20, 98, 255, 0.06);
  border-color: rgba(20, 98, 255, 0.18);
}
.menu-toggle span {
  background: #08234f;
}
.btn.secondary {
  background: #fff;
  color: #0f45c7;
  border-color: rgba(20, 98, 255, 0.2);
  box-shadow: 0 12px 28px rgba(8, 35, 79, 0.06);
}
.badge {
  border-color: rgba(20, 98, 255, 0.16);
  background: rgba(255, 255, 255, 0.74);
  color: #0f45c7;
}
.lead,
.text,
.card p,
.check,
.time-item p,
.callout p,
.footer p,
.footer a,
.team-card p,
.team-note,
.caption,
.meta {
  color: #5b6e8f;
}
.micro-proof {
  color: #4d6a9a;
}
.micro-proof strong,
.check b,
.time-item b {
  color: #08234f;
}
.card,
.infocard,
.panel,
.team-card,
.case-panel {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(246, 250, 255, 0.94)
  );
  border-color: rgba(20, 98, 255, 0.14);
  box-shadow: 0 20px 70px rgba(8, 35, 79, 0.1);
}
.tag,
.resource-card,
.award-panel,
.award-links a {
  background: rgba(20, 98, 255, 0.06);
  border-color: rgba(20, 98, 255, 0.14);
  color: #08234f;
}
.feature-media {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(246, 250, 255, 0.92)
  );
  border-color: rgba(20, 98, 255, 0.14);
  box-shadow: 0 20px 70px rgba(8, 35, 79, 0.1);
}
.metric-band {
  border-color: rgba(20, 98, 255, 0.12);
  background: rgba(20, 98, 255, 0.1);
}
.metric {
  background: #fff;
}
.metric b {
  color: #08234f;
}
.metric span {
  color: #5b6e8f;
}
.metric b,
.stat b {
  background: linear-gradient(135deg, #0f45c7 20%, #29a6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.callout,
.promo-inner {
  background: linear-gradient(
    135deg,
    rgba(20, 98, 255, 0.1),
    rgba(41, 166, 255, 0.08),
    rgba(255, 255, 255, 0.92)
  );
  border-color: rgba(20, 98, 255, 0.18);
  box-shadow: 0 18px 50px rgba(8, 35, 79, 0.1);
}
.field label {
  color: #173a68;
}
.field input,
.field select,
.field textarea {
  background: #fff;
  color: #08234f;
  border-color: rgba(20, 98, 255, 0.18);
}
.info-list span {
  background: #fff;
  color: #173a68;
  border-color: rgba(20, 98, 255, 0.14);
}
.footer {
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(20, 98, 255, 0.12);
}
.legal {
  border-top-color: rgba(20, 98, 255, 0.12);
  color: #6b8ab0;
}
.social-link {
  background: #fff;
  color: #0f45c7 !important;
  border-color: rgba(20, 98, 255, 0.2);
}
.team-linkedin {
  background: rgba(20, 98, 255, 0.08);
  color: #0f45c7;
  border-color: rgba(20, 98, 255, 0.2);
}
.team-card-placeholder {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(246, 250, 255, 0.82)
  );
}
.breadcrumbs {
  color: #5b6e8f;
}
.breadcrumbs a {
  color: #0f45c7;
}
.home-landing {
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 52%, #dfeeff 100%);
  border-bottom: 1px solid rgba(20, 98, 255, 0.16);
}
.home-landing-bg {
  opacity: 1;
  filter: none;
}
.home-landing-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.84) 44%,
      rgba(238, 246, 255, 0.7) 100%
    ),
    radial-gradient(
      circle at 18% 35%,
      rgba(41, 166, 255, 0.16),
      transparent 42%
    );
}
.home-landing-content h1 {
  color: #08234f;
  text-shadow: none;
}
.home-landing-content p {
  color: #173a68;
  text-shadow: none;
}
.home-landing-content .home-landing-location {
  color: #4d6a9a;
}
@media (max-width: 900px) {
  .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(20, 98, 255, 0.14);
  }
  .home-landing-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.86) 0%,
      rgba(255, 255, 255, 0.9) 45%,
      rgba(238, 246, 255, 0.96) 100%
    );
  }
}

/* === Brand guideline refinement - Page 6 palette === */
:root {
  --memento-blue: #0058bc;
  --accent-purple: #3c5caa;
  --navy: #1e2559;
  --brand-grey: #5d7d98;
  --brand-sky: #4fbaff;
  --tone-light-blue: #c9e5f4;
  --tone-teal: #5ed2e5;
  --tone-deep: #384e75;
  --tone-mint: #b8f4ef;
}
body {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, #c9e5f4 100%);
  color: var(--navy);
}
.topbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 88, 188, 0.14);
  box-shadow: 0 12px 32px rgba(30, 37, 89, 0.07);
}
.nav-links a {
  color: var(--navy);
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(0, 88, 188, 0.1);
  color: var(--memento-blue);
}
.btn.primary,
.launch-dapp {
  background: linear-gradient(
    135deg,
    var(--memento-blue),
    var(--accent-purple)
  );
  box-shadow: 0 16px 34px rgba(0, 88, 188, 0.24);
}
.btn.secondary {
  color: var(--memento-blue);
  border-color: rgba(0, 88, 188, 0.22);
}
.kicker,
.team-role,
.date {
  color: var(--memento-blue);
}
.card,
.infocard,
.panel,
.team-card,
.case-panel,
.feature-media {
  border-color: rgba(0, 88, 188, 0.14);
  box-shadow: 0 22px 70px rgba(30, 37, 89, 0.1);
}
.callout,
.promo-inner,
.metric-band {
  background: linear-gradient(
    135deg,
    rgba(201, 229, 244, 0.6),
    rgba(184, 244, 239, 0.35),
    rgba(255, 255, 255, 0.94)
  );
  border-color: rgba(0, 88, 188, 0.16);
}
.metric b,
.stat b {
  background: linear-gradient(
    135deg,
    var(--memento-blue) 20%,
    var(--accent-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-landing {
  min-height: calc(100vh - 82px);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 42%, #c9e5f4 100%);
  border-bottom: 1px solid rgba(0, 88, 188, 0.16);
}
.home-landing-bg {
  background-size: contain;
  background-position: right center;
  background-color: #ffffff;
  opacity: 1;
  filter: none;
  transform: none;
}
.home-landing-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.92) 36%,
      rgba(255, 255, 255, 0.54) 64%,
      rgba(255, 255, 255, 0.12) 100%
    ),
    radial-gradient(
      circle at 18% 34%,
      rgba(79, 186, 255, 0.18),
      transparent 38%
    ),
    radial-gradient(
      circle at 78% 16%,
      rgba(184, 244, 239, 0.16),
      transparent 30%
    );
}
.home-landing-content h1 {
  color: var(--navy);
  max-width: 100vw;
}
.home-landing-content p {
  color: var(--brand-grey);
}
.home-landing-content .home-landing-primary {
  color: var(--navy);
}
.home-landing-content .home-landing-location {
  color: var(--tone-deep);
}
.footer {
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(0, 88, 188, 0.14);
}
.social-link,
.team-linkedin {
  color: var(--memento-blue) !important;
  border-color: rgba(0, 88, 188, 0.22);
}
@media (max-width: 900px) {
  .home-landing {
    min-height: auto;
  }
  .home-landing-bg {
    background-size: contain;
    background-position: center top;
    opacity: 0.42;
  }
  .home-landing-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.94) 58%,
      rgba(247, 251, 255, 0.98) 100%
    );
  }
  .home-landing-content {
    padding-top: min(62vh, 520px);
    padding-bottom: 64px;
  }
}
@media (max-width: 640px) {
  .home-landing-content {
    padding-top: min(58vh, 440px);
  }
}

/* Smooth white fade over the home hero image
   Keeps the photo invisible at the starting edge and blends it gradually into view. */
.home-landing-bg {
  background-color: transparent;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 26%,
    rgba(0, 0, 0, 0.12) 32%,
    rgba(0, 0, 0, 0.42) 50%,
    rgba(0, 0, 0, 0.78) 68%,
    #000 86%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 26%,
    rgba(0, 0, 0, 0.12) 32%,
    rgba(0, 0, 0, 0.42) 50%,
    rgba(0, 0, 0, 0.78) 68%,
    #000 86%,
    #000 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.home-landing-overlay {
  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 26%,
      rgba(255, 255, 255, 0.99) 32%,
      rgba(255, 255, 255, 0.92) 42%,
      rgba(255, 255, 255, 0.66) 60%,
      rgba(255, 255, 255, 0.3) 78%,
      rgba(255, 255, 255, 0) 100%
    ),
    radial-gradient(
      circle at 18% 34%,
      rgba(79, 186, 255, 0.16),
      transparent 42%
    ),
    radial-gradient(
      circle at 78% 16%,
      rgba(184, 244, 239, 0.14),
      transparent 34%
    );
}
@media (max-width: 900px) {
  .home-landing-bg {
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      rgba(0, 0, 0, 0.88) 38%,
      rgba(0, 0, 0, 0.36) 68%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      rgba(0, 0, 0, 0.88) 38%,
      rgba(0, 0, 0, 0.36) 68%,
      transparent 100%
    );
  }
  .home-landing-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.72) 48%,
      #ffffff 100%
    );
  }
}

/* $DEXTF hidden ecosystem token page */
body[data-page="dextf"] .dextf-title span {
  color: #7bc7ff;
  text-shadow: 0 0 36px rgba(41, 166, 255, 0.36);
}
body[data-page="dextf"] .dextf-hero-text {
  margin-top: 18px;
  max-width: 760px;
}
body[data-page="dextf"] .dextf-actions {
  gap: 10px;
}
body[data-page="dextf"] .dextf-token-card {
  position: relative;
  overflow: hidden;
}
body[data-page="dextf"] .dextf-token-card:before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(
      circle at 75% 0%,
      rgba(41, 166, 255, 0.22),
      transparent 38%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 44%);
  pointer-events: none;
}
body[data-page="dextf"] .dextf-token-card > * {
  position: relative;
}
body[data-page="dextf"] .dextf-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
body[data-page="dextf"] .dextf-mini-list span {
  display: block;
  padding: 12px 14px;
  border-radius: 15px;
  border: 1px solid rgba(107, 166, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: #4f94ed;
  font-size: 14px;
  font-weight: 800;
}
body[data-page="dextf"] .dextf-metrics {
  grid-template-columns: repeat(5, 1fr);
}
body[data-page="dextf"] .dextf-address-panel {
  display: grid;
  gap: 12px;
}
body[data-page="dextf"] .dextf-address-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(107, 166, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}
body[data-page="dextf"] .dextf-address-row span {
  color: #2099ef;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
body[data-page="dextf"] .dextf-address-row code {
  color: #378af0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-all;
}
body[data-page="dextf"] .dextf-access-grid .card {
  min-height: 100%;
}
@media (max-width: 980px) {
  body[data-page="dextf"] .dextf-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  body[data-page="dextf"] .dextf-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="dextf"] .dextf-address-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body[data-page="dextf"] .dextf-metrics,
  body[data-page="dextf"] .dextf-access-grid {
    grid-template-columns: 1fr;
  }
  body[data-page="dextf"] .dextf-actions .btn {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .home-landing-bg {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .home-landing-overlay {
    display: none !important;
  }
}

/* Legal resource pages and footer Resources column */
.footer-grid {
  grid-template-columns: 1.15fr 0.72fr 0.78fr 0.78fr 0.78fr 0.85fr;
}
.legal-hero {
  padding-bottom: 28px;
}
.legal-section {
  padding-top: 28px;
}
.legal-page-content {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
}
.legal-page-content h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 34px 0 14px;
  color: var(--navy);
}
.legal-page-content h2:first-child {
  margin-top: 0;
}
.legal-page-content p {
  color: var(--brand-grey);
  line-height: 1.75;
  margin: 0 0 16px;
}
.legal-page-content ul {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--brand-grey);
  line-height: 1.75;
}
.legal-page-content li {
  margin: 6px 0;
}
.legal-page-content a {
  color: var(--memento-blue);
  font-weight: 800;
}
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal-page-content {
    padding: 22px;
  }
}
