:root {
  --bg: #050810;
  --bg-2: #08111f;
  --ink: #071322;
  --muted: #5b6778;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --line: #dbe3ee;
  --cyan: #3dd7ff;
  --blue: #1677ff;
  --violet: #8a5cff;
  --gold: #c49a3a;
  --teal: #18a999;
  --wine: #8c2f4a;
  --max: 1180px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  align-items: center;
  background: rgba(5, 8, 16, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  height: 78px;
  left: 0;
  padding: 0 clamp(18px, 4vw, 54px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease;
  z-index: 50;
}

.site-header.is-scrolled {
  background: rgba(5, 8, 16, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

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

.brand img {
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 17px;
  font-weight: 820;
}

.brand small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  margin-top: 5px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  justify-self: end;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 720;
  padding: 28px 0;
  position: relative;
}

.site-nav a::after {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  bottom: 21px;
  content: "";
  height: 2px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 100%;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 44px;
  justify-self: end;
  padding: 0;
  width: 44px;
}

.nav-toggle span {
  background: #fff;
  display: block;
  height: 2px;
  margin: 6px auto;
  width: 24px;
}

.hero {
  background: var(--bg);
  color: #fff;
  min-height: 92vh;
  overflow: hidden;
  padding: 150px clamp(18px, 5vw, 72px) 34px;
  position: relative;
}

.hero-image,
.hero-image img,
.hero-image canvas,
.hero-scrim {
  inset: 0;
  position: absolute;
}

.hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  width: 100%;
}

.hero-image canvas {
  height: 100%;
  opacity: 0.72;
  width: 100%;
}

.hero-scrim {
  background:
    radial-gradient(circle at 62% 53%, rgba(61, 215, 255, 0.26), transparent 22%),
    linear-gradient(90deg, rgba(5, 8, 16, 0.98) 0%, rgba(5, 8, 16, 0.82) 34%, rgba(5, 8, 16, 0.28) 72%),
    linear-gradient(180deg, rgba(5, 8, 16, 0.22), rgba(5, 8, 16, 0.98));
}

.hero-content {
  max-width: 840px;
  min-height: 540px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  color: var(--cyan);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  gap: 10px;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  height: 2px;
  width: 42px;
}

.hero h1 {
  font-size: clamp(64px, 13vw, 168px);
  line-height: 0.82;
  margin: 30px 0 26px;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.24;
  margin: 0;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-weight: 780;
  justify-content: center;
  min-height: 48px;
  min-width: 148px;
  padding: 0 20px;
  transition: background 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease;
}

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

.button-light {
  background: #fff;
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.button.small {
  min-height: 38px;
  min-width: 112px;
  padding: 0 14px;
}

.hero-orbit {
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--max);
  position: relative;
  z-index: 2;
}

.hero-orbit article {
  background: rgba(5, 8, 16, 0.62);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 108px;
  padding: 22px;
}

.hero-orbit article:last-child {
  border-right: 0;
}

.hero-orbit span,
.proof-strip span,
.product-feature span,
.timeline span,
.article-list span,
.news-grid span,
.value-grid span,
.engine-tab span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-orbit span {
  color: rgba(255, 255, 255, 0.55);
}

.hero-orbit strong {
  color: #fff;
  display: block;
  font-size: 20px;
  line-height: 1.18;
}

.proof-strip {
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-strip article {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 176px;
  padding: clamp(24px, 4vw, 42px);
}

.proof-strip strong {
  display: block;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  margin-bottom: 16px;
}

.proof-strip article:nth-child(1) strong {
  color: var(--gold);
}

.proof-strip article:nth-child(2) strong {
  color: var(--blue);
}

.proof-strip article:nth-child(3) strong {
  color: var(--wine);
}

.proof-strip article:nth-child(4) strong {
  color: var(--teal);
}

.proof-strip p,
.product-feature p,
.timeline p,
.article-list p,
.news-grid p,
.value-grid p,
.lead-copy,
.contact-section p,
.page-hero p,
.legal-shell p,
.logo-section p {
  color: var(--muted);
  line-height: 1.58;
  margin: 0;
}

.section {
  padding: clamp(74px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-shell {
  margin: 0 auto;
  max-width: var(--max);
}

.split {
  display: grid;
  gap: clamp(30px, 6vw, 86px);
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1fr);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.section h2,
.contact-section h2,
.page-hero h1 {
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.98;
  margin: 22px 0 0;
}

.lead-copy {
  font-size: clamp(18px, 2vw, 22px);
}

.lead-copy p + p {
  margin-top: 20px;
}

.intro-section {
  background: #fff;
}

.image-band {
  background: var(--bg-2);
  color: #fff;
}

.product-grid {
  display: grid;
  gap: 18px;
}

.product-feature {
  align-items: stretch;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
}

.product-feature img {
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  width: 100%;
}

.product-feature div {
  align-self: center;
  padding: clamp(24px, 5vw, 56px);
}

.product-feature span {
  color: var(--cyan);
}

.product-feature h3 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  margin: 0 0 22px;
}

.product-feature p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.engine-section,
.news-preview,
.leadership-section {
  background: #eef3f8;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2 {
  margin-top: 22px;
}

.row-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

.text-link {
  color: var(--blue);
  font-weight: 850;
}

.engine-tabs {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 54px;
}

.engine-tab {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  min-height: 116px;
  padding: 22px;
  text-align: left;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.engine-tab:hover,
.engine-tab.is-active {
  border-color: rgba(22, 119, 255, 0.44);
  box-shadow: 0 18px 48px rgba(7, 19, 34, 0.12);
  transform: translateY(-2px);
}

.engine-tab span {
  color: var(--blue);
}

.engine-tab strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.12;
}

.engine-panel {
  background:
    linear-gradient(135deg, rgba(8, 17, 31, 0.96), rgba(15, 42, 76, 0.92)),
    var(--bg-2);
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  margin-top: 18px;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
}

.engine-panel::before {
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.1) 48% 49%, transparent 49% 100%),
    linear-gradient(0deg, transparent 0 48%, rgba(255, 255, 255, 0.1) 48% 49%, transparent 49% 100%);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.18;
  position: absolute;
}

.engine-panel > * {
  position: relative;
  z-index: 1;
}

.engine-panel span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 880;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.engine-panel h3 {
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1;
  margin: 0 0 18px;
}

.engine-panel p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

.engine-panel ul {
  align-self: end;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.engine-panel li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 48px;
  padding: 13px 14px;
}

.light-section,
.roadmap-section {
  background: #fff;
}

.timeline {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
}

.timeline article {
  border-left: 1px solid var(--line);
  min-height: 260px;
  padding: 30px 24px;
  position: relative;
}

.timeline article::before {
  background: var(--line);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 66px;
}

.timeline article::after {
  background: var(--blue);
  border: 5px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  content: "";
  height: 14px;
  left: 24px;
  position: absolute;
  top: 59px;
  width: 14px;
}

.timeline article:nth-child(2)::after {
  background: var(--gold);
}

.timeline article:nth-child(3)::after {
  background: var(--wine);
}

.timeline article:nth-child(4)::after {
  background: var(--teal);
}

.timeline strong {
  display: block;
  font-size: 24px;
  line-height: 1.16;
  margin: 72px 0 16px;
}

.news-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.news-grid article,
.article-list article,
.value-grid article {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 32px);
}

.news-grid h3 {
  font-size: 24px;
  line-height: 1.16;
  margin: 0 0 22px;
}

.news-grid a,
.article-list a {
  color: var(--blue);
  font-weight: 850;
}

.contact-section {
  background: var(--bg);
  color: #fff;
  padding: clamp(74px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.contact-grid {
  display: grid;
  gap: clamp(34px, 7vw, 84px);
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  margin-top: 24px;
}

.contact-form {
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form .full,
.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 48px;
  padding: 12px 13px;
  resize: vertical;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(22, 119, 255, 0.16);
}

.form-status {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  min-height: 20px;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(5, 8, 16, 0.98), rgba(8, 17, 31, 0.92)),
    url("assets/nebula-apac.png") center / cover;
  color: #fff;
  padding: 170px clamp(18px, 5vw, 72px) 92px;
}

.page-hero h1 {
  max-width: 920px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(19px, 2.3vw, 25px);
  max-width: 800px;
  margin-top: 24px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-tabs button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  min-height: 40px;
  padding: 0 16px;
}

.filter-tabs button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-list article {
  display: grid;
  gap: 18px;
}

.article-list h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  margin: 0;
}

.about-hero {
  background:
    linear-gradient(90deg, rgba(5, 8, 16, 0.98), rgba(5, 8, 16, 0.68)),
    url("assets/token-fabric.png") center / cover;
}

.logo-section {
  background: var(--bg);
  color: #fff;
  text-align: center;
}

.logo-section img {
  margin: 0 auto 34px;
  max-width: 760px;
  width: 100%;
}

.logo-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 22px;
  margin: 0 auto;
  max-width: 880px;
}

.value-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
}

.value-grid h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  margin: 0;
}

.value-grid p {
  font-size: 18px;
}

.legal-page {
  background: #fff;
}

.legal-shell {
  margin: 0 auto;
  max-width: 850px;
}

.legal-shell h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 36px 0 10px;
}

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

.legal-shell a {
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  background: #050810;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.9fr);
  padding: 46px clamp(18px, 5vw, 72px);
}

.site-footer img {
  max-width: 330px;
  width: 100%;
}

.site-footer p {
  margin: 18px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-self: end;
}

.site-footer a {
  color: #fff;
}

.site-footer small {
  grid-column: 1 / -1;
}

.cookie-banner {
  align-items: center;
  background: rgba(5, 8, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  bottom: 18px;
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 18px;
  max-width: 780px;
  padding: 18px;
  position: fixed;
  z-index: 80;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  margin: 0;
}

.cookie-banner div {
  display: flex;
  gap: 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    align-content: start;
    background: rgba(5, 8, 16, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    gap: 0;
    grid-column: 1 / -1;
    inset: 78px 0 auto;
    min-height: calc(100vh - 78px);
    padding: 26px clamp(18px, 5vw, 72px);
    position: fixed;
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 22px;
    padding: 20px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .proof-strip,
  .hero-orbit,
  .engine-tabs,
  .timeline,
  .news-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .product-feature,
  .engine-panel,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 70px;
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: 38px;
    width: 38px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    inset: 70px 0 auto;
    min-height: calc(100vh - 70px);
  }

  .hero {
    min-height: 820px;
    padding: 118px 16px 18px;
  }

  .hero-content {
    min-height: 492px;
  }

  .hero h1 {
    font-size: clamp(62px, 22vw, 86px);
  }

  .hero-lede {
    font-size: 20px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-orbit,
  .proof-strip,
  .engine-tabs,
  .timeline,
  .news-grid,
  .value-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-orbit article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 0;
    min-height: 88px;
  }

  .section {
    padding: 66px 16px;
  }

  .section h2,
  .contact-section h2,
  .page-hero h1 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .product-feature img {
    min-height: 260px;
  }

  .engine-panel {
    min-height: 480px;
    padding: 24px;
  }

  .timeline article {
    min-height: 220px;
  }

  .row-heading {
    align-items: start;
    display: grid;
  }

  .contact-section {
    padding: 66px 16px;
  }

  .page-hero {
    padding: 136px 16px 70px;
  }

  .cookie-banner {
    bottom: 12px;
    grid-template-columns: 1fr;
    left: 12px;
    right: 12px;
  }

  .cookie-banner div {
    display: grid;
  }
}
