/* ==========================================================================
   Elevex landing page
   Brand: Graphite #0F172A · Aqua #22D3C5 · Violet #8B5CF6 · Mist #E5E7EB · Inter
   Rules from the brand guide: Graphite leads, Aqua→Violet only as a restrained
   accent, logo stays the strongest colour moment, no glow/outline on the logo.
   ========================================================================== */

:root {
  /* Brand */
  --graphite: #0F172A;
  --aqua: #22D3C5;
  --violet: #8B5CF6;
  --mist: #E5E7EB;
  --grad: linear-gradient(90deg, var(--aqua), var(--violet));
  --grad-diag: linear-gradient(135deg, var(--aqua), var(--violet));

  /* Graphite family (slate scale, which Graphite belongs to) */
  --ink-950: #0A1020;
  --ink-900: var(--graphite);
  --ink-850: #121B2F;
  --ink-800: #1E293B;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;
  --paper: #F4F5F7;
  --white: #FFFFFF;

  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shell: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--graphite);
  color: var(--mist);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 6px;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--graphite);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* Line icons: stroked with the brand gradient */
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: url(#g-icon);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.eyebrow--pill {
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.16em;
  font-size: 11.5px;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-diag);
}

.eyebrow__icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: url(#g-icon);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.032em;
  color: var(--white);
  text-wrap: balance;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.section__lede {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-400);
  max-width: 34rem;
  text-wrap: pretty;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--aqua);
}
.text-link span { transition: transform 0.25s var(--ease); }
.text-link:hover span { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--white); color: var(--graphite); }
.btn--primary:hover { background: var(--mist); }

.btn--ghost {
  border-color: rgba(229, 231, 235, 0.2);
  color: var(--mist);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: rgba(229, 231, 235, 0.4); background: rgba(255, 255, 255, 0.05); }

.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 10px; }

.btn__arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(15, 23, 42, 0.86); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

/* Clear space ≈ 1X (height of the wordmark's lowercase e) is kept by the nav padding */
.nav__logo img { width: 135px; height: auto; }

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a {
  font-size: 14.5px;
  font-weight: 450;
  color: var(--ink-300);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--white); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--mist);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); background: rgba(15, 23, 42, 0.97); }
.mobile-menu__inner { display: grid; gap: 4px; padding-block: 16px 24px; }
.mobile-menu__inner a:not(.btn) {
  padding: 12px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-300);
  border-bottom: 1px solid var(--line);
}
.mobile-menu__inner .btn { margin-top: 16px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 12vh, 128px) 0 clamp(96px, 14vh, 152px);
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Soft diagonal light, echoing the ribbon mark (kept low so the logo leads) */
.ribbon {
  position: absolute;
  width: 70vw;
  max-width: 980px;
  height: 180px;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.32;
  transform: rotate(-32deg);
}
.ribbon--aqua { top: 4%; left: -18%; background: linear-gradient(90deg, transparent, var(--aqua)); }
.ribbon--violet { bottom: 10%; right: -20%; background: linear-gradient(90deg, var(--violet), transparent); opacity: 0.28; }

/* A rising horizon line: "a higher tomorrow" */
.hero__horizon {
  position: absolute;
  left: 50%;
  top: calc(100% - 96px);
  width: max(190%, 1800px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1px solid rgba(229, 231, 235, 0.22);
  background: radial-gradient(closest-side at 50% 0%, rgba(34, 211, 197, 0.08), transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 42%, #000 58%, transparent 82%);
  mask-image: linear-gradient(90deg, transparent 18%, #000 42%, #000 58%, transparent 82%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin-top: 28px;
  font-size: clamp(3rem, 8.4vw, 6.75rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.048em;
  color: var(--white);
  background: linear-gradient(180deg, #FFFFFF 40%, #C7CEDB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
}

.hero__lede {
  margin-top: 24px;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ink-400);
  text-wrap: pretty;
}

.hero .actions { margin-top: 36px; }

/* Live market bar */
.marketbar {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 880px;
  margin-top: clamp(56px, 9vh, 88px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
}

.marketbar__price {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
  flex: 0 0 auto;
}

.marketbar__pair { font-size: 14px; font-weight: 600; color: var(--white); }
.marketbar__pair span { color: var(--ink-500); font-weight: 500; }

.marketbar__value {
  min-width: 9ch;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
  transition: color 0.6s var(--ease);
}
.marketbar__value.is-up { color: var(--aqua); transition-duration: 0s; }
.marketbar__value.is-down { color: var(--violet); transition-duration: 0s; }

.feed {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.feed__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-500); }
.feed[data-state="live"] { color: var(--aqua); border-color: rgba(34, 211, 197, 0.3); }
.feed[data-state="live"] .feed__dot { background: var(--aqua); animation: pulse 2s infinite; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 197, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(34, 211, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 197, 0); }
}

.marketbar__facts { display: flex; flex: 1; }
.marketbar__facts li {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--mist);
}
.marketbar__facts li + li { border-left: 1px solid var(--line); }
.marketbar__facts span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { position: relative; padding-block: clamp(88px, 11vw, 144px); }
.section--dark + .section--dark { border-top: 1px solid var(--line); }

.section__head { display: grid; gap: 18px; margin-bottom: clamp(48px, 6vw, 72px); }
.section__head h2 { max-width: 18ch; }

.section__head--split {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 64px;
}
.section__head--split > div { display: grid; gap: 18px; }

.section__head--center { justify-items: center; text-align: center; }
.section__head--center h2 { max-width: 20ch; }

/* Light supporting surface (Mist family) */
.section--light { background: var(--paper); color: var(--graphite); }
.section--light h2 { color: var(--graphite); }
.section--light .eyebrow { color: var(--ink-500); }
.section--light .section__lede { color: #475569; }

/* --------------------------------------------------------------------------
   Why Elevex — bento
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.tile:hover { border-color: var(--line-strong); }

/* Pointer-follow light on hover */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 197, 0.07), transparent 60%);
  transition: opacity 0.3s var(--ease);
}
.tile:hover::before { opacity: 1; }

.tile p { color: var(--ink-400); font-size: 15.5px; line-height: 1.6; }
.tile h3 { margin-top: 8px; font-size: 1.25rem; }

.tile__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(15, 23, 42, 0.6);
}

.tile__text { display: flex; flex-direction: column; gap: 12px; }

.tile--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.tile--wide .tile__text { max-width: 26rem; }

.tile--tall {
  grid-column: 3;
  grid-row: span 2;
  justify-content: space-between;
}

/* Custody art: a balance card */
.vault { display: grid; place-items: center; }
.vault__card {
  width: 100%;
  max-width: 300px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--ink-950);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}
.vault__row { display: flex; align-items: center; justify-content: space-between; }
.vault__label { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); }
.vault__chip {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 197, 0.3);
  font-size: 11px;
  font-weight: 500;
  color: var(--aqua);
}
.vault__amount {
  margin-top: 14px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.vault__amount span { font-size: 15px; font-weight: 500; color: var(--ink-400); letter-spacing: 0; }
.vault__bar { height: 4px; margin: 16px 0 12px; border-radius: 4px; background: var(--ink-800); overflow: hidden; }
.vault__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; }
.reveal.is-in .vault__bar span { animation: grow 1.4s 0.4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vault__ok { font-size: 13px; font-weight: 600; color: var(--white); }
.vault__btn {
  display: block;
  margin-top: 18px;
  padding: 10px;
  border-radius: 10px;
  background: var(--white);
  color: var(--graphite);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* Proof art: many fills, one proof */
.proofart { margin: 8px -8px -8px; }
.proofart svg { width: 100%; height: auto; }
.proofart__fills rect { fill: rgba(148, 163, 184, 0.16); }
.proofart__wires {
  fill: none;
  stroke: rgba(148, 163, 184, 0.32);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
  animation: flow 1.6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -16; } }
.proofart__check { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   Lifecycle (stepper + live order ticket)
   -------------------------------------------------------------------------- */
.lifecycle {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.stages { display: grid; gap: 8px; }

.stage {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--graphite);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stage:hover { background: rgba(255, 255, 255, 0.6); }
.stage[aria-selected="true"] {
  background: var(--white);
  border-color: var(--mist);
  box-shadow: 0 12px 32px -18px rgba(15, 23, 42, 0.25);
}

.stage__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #D5D9E0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  transition: all 0.3s var(--ease);
}
.stage[aria-selected="true"] .stage__num { border-color: transparent; background: var(--grad-diag); color: var(--white); }

.stage__body { display: grid; gap: 0; align-content: center; min-height: 36px; }
.stage__title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.stage__desc {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
  transition: max-height 0.45s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}
.stage[aria-selected="true"] .stage__desc { max-height: 7em; opacity: 1; margin-top: 4px; }

/* Autoplay timer bar on the active stage */
.stage::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}
.lifecycle.is-playing .stage[aria-selected="true"]::after {
  opacity: 1;
  animation: timer var(--stage-ms, 4800ms) linear forwards;
}
@keyframes timer { to { transform: scaleX(1); } }

/* Ticket: the product's dark UI shown on the light surface */
.ticket {
  padding: 28px;
  border-radius: 22px;
  background: var(--graphite);
  color: var(--mist);
  box-shadow: 0 40px 80px -36px rgba(15, 23, 42, 0.55), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.ticket__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket__kicker { font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-500); }

.ticket__status {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-300);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lifecycle[data-stage="3"] .ticket__status { color: var(--aqua); border-color: rgba(34, 211, 197, 0.35); }

.ticket__order { display: flex; align-items: baseline; gap: 14px; margin-top: 22px; }
.ticket__side {
  padding: 3px 10px;
  border-radius: 8px;
  background: rgba(34, 211, 197, 0.12);
  color: var(--aqua);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-6px);
}
.ticket__size { font-size: clamp(30px, 4vw, 40px); font-weight: 600; letter-spacing: -0.035em; color: var(--white); font-variant-numeric: tabular-nums; }

.ticket__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: 14px; color: var(--ink-400); }
.ticket__meta b { font-weight: 600; color: var(--mist); font-variant-numeric: tabular-nums; }

.ticket__progress { height: 3px; margin: 24px 0 8px; border-radius: 3px; background: var(--ink-800); overflow: hidden; }
.ticket__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(var(--progress, 0.25));
  transition: transform 0.7s var(--ease);
}

.ticket__events li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.4s var(--ease);
  opacity: 0.38;
}
.ticket__events li:last-child { border-bottom: 0; padding-bottom: 0; }
.ticket__events li.is-done, .ticket__events li.is-active { opacity: 1; }

.ev__name { font-size: 15px; font-weight: 500; color: var(--white); }
.ev__detail { font-size: 13px; color: var(--ink-400); font-variant-numeric: tabular-nums; text-align: right; }

.ev__mark {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-700);
}
.is-done .ev__mark { border-color: transparent; background: var(--grad-diag); }
.is-done .ev__mark::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 3.5px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.is-active .ev__mark { border-color: var(--aqua); }
.is-active .ev__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--aqua);
  animation: pulse 1.6s infinite;
}

/* --------------------------------------------------------------------------
   Technology stack
   -------------------------------------------------------------------------- */
.infra {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.infra__copy { margin-bottom: 0; }

.checks { display: grid; gap: 12px; margin-top: 8px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-300); font-size: 15.5px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 197, 0.4);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 4px;
  height: 7px;
  border: solid var(--aqua);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.stack { position: relative; display: grid; gap: 12px; }
.stack::before {
  content: "";
  position: absolute;
  left: 43px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(180deg, var(--aqua), var(--violet));
  opacity: 0.45;
}

.layer {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 27, 47, 0.7);
}
.layer h3 { font-size: 16px; }
.layer p { font-size: 14px; color: var(--ink-400); margin-top: 2px; }

.layer__mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--graphite);
}
.layer__mark img { width: 32px; height: auto; }

.layer__tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
}

/* Elevex layer gets a gradient hairline border */
.layer--brand {
  border-color: transparent;
  background:
    linear-gradient(var(--ink-850), var(--ink-850)) padding-box,
    linear-gradient(120deg, rgba(34, 211, 197, 0.6), rgba(139, 92, 246, 0.6)) border-box;
}
.layer--brand .layer__tag { color: var(--aqua); border-color: rgba(34, 211, 197, 0.3); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq .section__head { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; }
.faq .text-link { margin-top: 6px; }

.faq__list { border-top: 1px solid var(--line); }

.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before,
.qa summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink-400);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa[open] summary::before, .qa[open] summary::after { background: var(--aqua); }
.qa summary:hover { color: var(--mist); }
.qa p { max-width: 38rem; padding-bottom: 24px; color: var(--ink-400); font-size: 16px; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta { padding-block: 0 clamp(88px, 11vw, 144px); }

.cta__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: clamp(40px, 6vw, 80px);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(34, 211, 197, 0.1), transparent 70%),
    radial-gradient(50% 70% at 40% 0%, rgba(139, 92, 246, 0.1), transparent 70%),
    var(--ink-850);
}

.cta__copy { display: grid; gap: 18px; justify-items: start; }
.cta__copy h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.cta__copy > p:not(.eyebrow) { color: var(--ink-400); font-size: 1.0625rem; max-width: 28rem; }
.cta__copy .actions { margin-top: 12px; }

/* Symbol shown as supplied artwork: no shadows, outlines or glow */
.cta__mark { display: grid; place-items: center; }
.cta__mark img { width: 100%; max-width: 380px; height: auto; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--ink-950);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 48px;
}

.footer__brand img { width: 135px; height: auto; }
.footer__brand p { margin-top: 20px; max-width: 22rem; color: var(--ink-400); font-size: 15px; }

.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-400);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.socials a:hover { color: var(--white); border-color: var(--line-strong); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__cols h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.footer__cols ul { display: grid; gap: 12px; margin-top: 18px; }
.footer__cols li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.footer__cols a { color: var(--ink-300); transition: color 0.2s var(--ease); }
.footer__cols a:hover { color: var(--white); }

.pill {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-500);
}

.powered { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-500); transition: color 0.2s var(--ease); }
.powered img { width: 72px; height: auto; opacity: 0.8; transition: opacity 0.2s var(--ease); }
.powered:hover { color: var(--ink-300); }
.powered:hover img { opacity: 1; }

.footer__legal { margin-top: 16px; max-width: 52rem; font-size: 12.5px; line-height: 1.6; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   Reveal on scroll (only when JS is running)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 2; }
  .tile--tall { grid-column: span 2; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
  .proofart { margin: 0; max-width: 320px; justify-self: center; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .marketbar { flex-direction: column; }
  .marketbar__price { border-right: 0; border-bottom: 1px solid var(--line); justify-content: center; }

  .section__head--split { grid-template-columns: 1fr; }
  .lifecycle, .infra, .faq { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .cta__panel { grid-template-columns: 1fr; }
  .cta__mark { order: -1; justify-items: start; }
  .cta__mark img { max-width: 160px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --nav-h: 64px; }
  .nav__actions .btn { display: none; }
  .hero { padding-top: 56px; }
  .eyebrow__extra { display: none; }
  .actions--center .btn { flex: 1 1 100%; }
  .marketbar__facts li { padding: 12px 14px; font-size: 14px; }
  .marketbar__facts span { font-size: 10px; letter-spacing: 0.1em; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide, .tile--tall { grid-column: auto; grid-template-columns: 1fr; }
  .tile { padding: 24px; }
  .ticket { padding: 22px; }
  .ev__detail { font-size: 12px; }
  .layer { grid-template-columns: 44px minmax(0, 1fr); padding: 16px; }
  .layer__mark { width: 44px; height: 44px; }
  .stack::before { left: 38px; }
  .layer__tag { display: none; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
