/* =========================================================
   Vantafold — marketing site
   ========================================================= */

:root {
  --bg:            #0A0A0B;
  --bg-alt:        #0C0C0E;
  --surface:       #101013;
  --surface-2:     #141418;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.14);

  --text:          #F2F2F5;
  --text-2:        #A6A6B2;
  --text-3:        #6E6E7A;

  --accent:        #7C5CFF;
  --accent-soft:   #9B84FF;
  --accent-dim:    rgba(124, 92, 255, 0.14);
  --accent-line:   rgba(124, 92, 255, 0.32);

  --ok:            #4ADE80;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --container: 1240px;
  --gutter: 24px;
  --nav-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(124, 92, 255, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.btn--lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

.btn--solid {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 24px -10px rgba(124,92,255,0.9);
}
.btn--solid:hover { background: #8A6DFF; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 14px 32px -12px rgba(124,92,255,1); }
.btn--solid:active { transform: translateY(0); }

.btn--ghost { color: var(--text-2); }
.btn--ghost:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.btn--line {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
}
.btn--line:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); transform: translateY(-1px); }

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav.is-scrolled { background: rgba(10, 10, 11, 0.82); border-bottom-color: var(--line); }

.nav__inner {
  max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--nav-h);
  display: flex; align-items: center; gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark { width: 22px; height: 22px; fill: var(--accent); flex: none; }
.brand__word { font-size: 16.5px; font-weight: 600; letter-spacing: -0.03em; }

.nav__links { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.nav__links a {
  font-size: 14.5px; color: var(--text-2);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: 8px; }

.nav__toggle {
  display: none; width: 40px; height: 40px; margin-left: auto;
  border-radius: var(--r-sm);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--text);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column;
  padding: 8px var(--gutter) 22px;
  border-top: 1px solid var(--line);
  background: rgba(10,10,11,0.96);
}
.nav__mobile a { padding: 13px 0; font-size: 16px; color: var(--text-2); border-bottom: 1px solid var(--line); }
.nav__mobile-actions { display: flex; gap: 10px; margin-top: 18px; }
.nav__mobile-actions .btn { flex: 1; height: 44px; }

/* =========================================================
   Background: mesh + dot grid
   ========================================================= */
.mesh { position: absolute; inset: -20% -10% auto; height: 130%; pointer-events: none; z-index: 0; filter: blur(0px); }
.mesh__blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.mesh__blob--1 {
  width: 620px; height: 620px; top: -12%; left: 8%;
  background: radial-gradient(circle at 50% 50%, rgba(124,92,255,0.65), rgba(124,92,255,0) 70%);
  animation: drift1 22s var(--ease) infinite alternate;
}
.mesh__blob--2 {
  width: 520px; height: 520px; top: 6%; right: 2%;
  background: radial-gradient(circle at 50% 50%, rgba(64,120,255,0.42), rgba(64,120,255,0) 70%);
  animation: drift2 26s var(--ease) infinite alternate;
}
.mesh__blob--3 {
  width: 460px; height: 460px; top: 46%; left: 38%;
  background: radial-gradient(circle at 50% 50%, rgba(196,92,255,0.28), rgba(196,92,255,0) 70%);
  animation: drift3 30s var(--ease) infinite alternate;
}
@keyframes drift1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(90px,60px,0) scale(1.14); } }
@keyframes drift2 { from { transform: translate3d(0,0,0) scale(1.05); } to { transform: translate3d(-110px,40px,0) scale(0.92); } }
@keyframes drift3 { from { transform: translate3d(0,0,0) scale(0.95); } to { transform: translate3d(60px,-70px,0) scale(1.1); } }

.grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.09) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, #000 20%, transparent 78%);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 116px) 0 clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 240px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none; z-index: 1;
}
.hero__grid > *, .split > * { min-width: 0; }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.94fr);
  gap: clamp(32px, 4vw, 56px); align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 12px 0 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-size: 13px; color: var(--text-2);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.pill:hover { color: var(--text); border-color: var(--accent-line); background: var(--accent-dim); }
.pill svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.pill__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,92,255,0.2);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(124,92,255,0.2); } 50% { box-shadow: 0 0 0 6px rgba(124,92,255,0.04); } }

.hero__title {
  margin-top: 24px;
  font-size: clamp(38px, 5.1vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
  font-weight: 600;
  background: linear-gradient(180deg, #FFFFFF 30%, #B8B8C6 120%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 22px; max-width: 30em;
  font-size: clamp(16px, 1.35vw, 18.5px);
  color: var(--text-2); line-height: 1.62;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 36px;
  margin-top: 48px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.hero__stats span { font-size: 13px; color: var(--text-3); }

/* ---------- code block ---------- */
.code {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20,20,24,0.92), rgba(12,12,14,0.92));
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(124,92,255,0.06);
}
.code__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 0 12px 0 14px; height: 42px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.code__dots { display: flex; gap: 6px; }
.code__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.code__file {
  margin-right: auto;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-3); letter-spacing: 0;
}
.code__copy {
  font-size: 11.5px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--text-3); padding: 5px 9px; border-radius: 6px;
  border: 1px solid var(--line);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.code__copy:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,0.04); }
.code__copy.is-copied { color: var(--ok); border-color: rgba(74,222,128,0.35); }

.code__body {
  margin: 0; padding: 20px 22px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.8px; line-height: 1.72; letter-spacing: 0;
  color: #D6D6E0;
  tab-size: 2;
}
.code__body code { font: inherit; }
.code__body .c { color: #5E5E6E; font-style: italic; }
.code__body .k { color: #A98BFF; }
.code__body .s { color: #7FD8A6; }
.code__body .f { color: #7FB2FF; }
.code__body .n { color: #F0B57A; }
.code__body .o { color: #8C8C9E; }

.hero .code__body { font-size: 12.2px; padding: 20px 20px; }

.code__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); letter-spacing: 0;
}
.code__foot em { font-style: normal; color: var(--accent-soft); }

.tag {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.tag--ok { color: var(--ok); border-color: rgba(74,222,128,0.28); background: rgba(74,222,128,0.07); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-soft);
}
.sec-head { max-width: 660px; margin: 0 auto clamp(44px, 5vw, 68px); text-align: center; }
.sec-head--left { margin-inline: 0; text-align: left; }
.sec-head h2 {
  margin-top: 16px;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.035em; line-height: 1.08;
}
.sec-head p { margin-top: 16px; color: var(--text-2); font-size: 17px; }

/* ---------- trust / backed strips ---------- */
.strip { padding: clamp(40px, 5vw, 60px) 0; border-bottom: 1px solid var(--line); }
.strip--backed { border-top: 1px solid var(--line); background: var(--bg); }
.strip__label { text-align: center; font-size: 13.5px; color: var(--text-3); letter-spacing: 0.01em; }

.logos {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px; margin-top: 26px;
}
.logos--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logo-slot {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  height: 60px; padding: 0 10px;
  border: 1px dashed rgba(255,255,255,0.09);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.012);
  filter: grayscale(1);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.logo-slot:hover { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.03); }
.logo-slot__mark {
  width: 16px; height: 16px; flex: none; border-radius: 4px;
  background: rgba(255,255,255,0.14);
}
.logo-slot__text {
  font-size: 11px; color: var(--text-3); letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; overflow: hidden;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124,92,255,0.10), transparent 60%);
  opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 30px 60px -34px rgba(0,0,0,0.9); }
.card:hover::before { opacity: 1; }

.card__icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  border: 1px solid var(--accent-line);
  background: var(--accent-dim);
  margin-bottom: 20px;
}
.card__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; letter-spacing: -0.025em; }
.card > p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.card__list { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.card__list li {
  position: relative; padding-left: 18px;
  font-size: 13.5px; color: var(--text-3);
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: rgba(124,92,255,0.6);
}

/* =========================================================
   Built for scale — split + diagram
   ========================================================= */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.split__copy h2 { margin-top: 16px; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.035em; }
.split__copy > p { margin-top: 18px; color: var(--text-2); font-size: 16.5px; max-width: 34em; }

.checks { margin-top: 34px; display: grid; gap: 20px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .check {
  position: relative; flex: none; width: 20px; height: 20px; margin-top: 3px;
  border-radius: 50%; border: 1px solid var(--accent-line); background: var(--accent-dim);
}
.checks .check::after {
  content: ""; position: absolute; left: 6px; top: 5px;
  width: 5px; height: 9px; border: solid var(--accent-soft);
  border-width: 0 1.6px 1.6px 0; transform: rotate(42deg);
}
.checks strong { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; }
.checks em { display: block; margin-top: 3px; font-style: normal; font-size: 14px; color: var(--text-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 32px; font-size: 15px; color: var(--accent-soft);
  transition: gap 0.25s var(--ease), color 0.2s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow:hover { gap: 11px; color: #B7A4FF; }

.diagram {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(20,20,24,0.9), rgba(12,12,14,0.9)),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: auto, 22px 22px;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,1);
}
.diagram__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.1em;
}

.node {
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.025);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.node:hover { border-color: var(--accent-line); background: rgba(124,92,255,0.06); }
.node__title { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.node__meta { margin-top: 3px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); letter-spacing: 0; }
.node--accent { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(124,92,255,0.16), rgba(124,92,255,0.05)); }
.node--accent .node__title { color: #CFC2FF; }
.node--muted { background: rgba(255,255,255,0.015); border-style: dashed; }

.wire { position: relative; height: 26px; }
.wire::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, rgba(255,255,255,0.06), rgba(255,255,255,0.16));
}
.wire i {
  position: absolute; left: 50%; top: 0;
  width: 3px; height: 3px; margin-left: -1px; border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 8px 2px rgba(124,92,255,0.7);
  animation: flow 2.4s linear infinite;
}
.wire--fan i { animation-delay: 0.4s; }
@keyframes flow {
  0%   { transform: translateY(-2px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(26px); opacity: 0; }
}

.pool {
  padding: 14px 16px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.025);
}
.pool__label { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.pool__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.pool__chips span {
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-2); letter-spacing: 0;
}

/* =========================================================
   Developer experience
   ========================================================= */
.dx {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,1);
}
.dx__tabs {
  display: flex; align-items: center; gap: 4px;
  padding: 0 12px 0 8px; height: 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  overflow-x: auto;
}
.dx__tab {
  padding: 6px 14px; border-radius: 999px;
  font-size: 13.5px; color: var(--text-3); white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.dx__tab:hover { color: var(--text-2); }
.dx__tab.is-active { color: var(--text); background: rgba(255,255,255,0.07); }
.dx__endpoint {
  margin-left: auto; padding-right: 10px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); white-space: nowrap; letter-spacing: 0;
}
.dx__panel .code__body { padding: 24px 26px; }
/* Only the homepage tabs reserve a fixed height, so the panels do not jump. */
#developers .dx__panel .code__body { min-height: 268px; }

.dx__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.015);
}
.note strong { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.02em; }
.note span { display: block; margin-top: 5px; font-size: 13.5px; color: var(--text-3); }

/* =========================================================
   Enterprise
   ========================================================= */
.ent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.ent__item {
  padding: 30px 26px 32px;
  background: var(--bg-alt);
  transition: background-color 0.3s var(--ease);
}
.ent__item:hover { background: var(--surface); }
.ent__item svg {
  width: 22px; height: 22px; margin-bottom: 16px;
  fill: none; stroke: var(--accent-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.ent__item h3 { font-size: 16.5px; letter-spacing: -0.025em; }
.ent__item p { margin-top: 8px; font-size: 14px; color: var(--text-3); }

/* =========================================================
   Testimonials
   ========================================================= */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote {
  margin: 0; padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.quote:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.quote blockquote { margin: 0; font-size: 15.5px; line-height: 1.62; color: #DEDEE6; letter-spacing: -0.015em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: linear-gradient(140deg, rgba(124,92,255,0.35), rgba(255,255,255,0.06));
  border: 1px solid var(--line-strong);
}
.quote strong { display: block; font-size: 14px; font-weight: 600; }
.quote em { display: block; font-style: normal; font-size: 13px; color: var(--text-3); }

/* =========================================================
   Pricing
   ========================================================= */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tier {
  position: relative;
  padding: 30px 28px 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tier:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tier--featured {
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, rgba(124,92,255,0.10), rgba(124,92,255,0) 42%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 40px 80px -46px rgba(124,92,255,0.6);
}
.tier__badge {
  position: absolute; top: -11px; left: 28px;
  padding: 3px 11px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 500; letter-spacing: 0.03em;
}
.tier__name { font-size: 17px; letter-spacing: -0.02em; }
.tier__desc { margin-top: 6px; font-size: 14px; color: var(--text-3); min-height: 42px; }
.tier__price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 22px; flex-wrap: wrap; }
.tier__amount { font-size: 38px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.tier__unit { font-size: 13.5px; color: var(--text-3); }
.tier__list { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.tier__list li { position: relative; padding-left: 24px; font-size: 14px; color: var(--text-2); }
.tier__list li::before {
  content: ""; position: absolute; left: 3px; top: 6px;
  width: 4.5px; height: 8.5px;
  border: solid var(--accent-soft); border-width: 0 1.6px 1.6px 0;
  transform: rotate(42deg);
}

/* =========================================================
   Final CTA
   ========================================================= */
.cta {
  position: relative; overflow: hidden;
  padding: clamp(84px, 11vw, 148px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.mesh--cta { inset: -40% -10% auto; height: 180%; opacity: 0.75; }
.cta__inner { position: relative; z-index: 2; }
.cta h2 {
  font-size: clamp(32px, 5.2vw, 60px);
  letter-spacing: -0.04em; line-height: 1.05;
  max-width: 16ch; margin-inline: auto;
  background: linear-gradient(180deg, #FFFFFF 35%, #B8B8C6 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta__inner > p:not(.cta__fine) { margin-top: 18px; color: var(--text-2); font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.cta__fine { margin-top: 26px; font-size: 12.5px; color: var(--text-3); }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding-top: clamp(56px, 6vw, 76px); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px 28px;
  padding-bottom: 52px;
}
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--text-3); max-width: 26ch; }
.badges { display: flex; gap: 8px; margin-top: 20px; }
.badge {
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02);
  font-size: 11.5px; color: var(--text-3); letter-spacing: 0.02em;
}
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 { font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.footer__col a { font-size: 14px; color: var(--text-2); transition: color 0.2s var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--text); }

.footer__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-block: 22px 28px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-3);
}
.social { display: flex; gap: 6px; }
.social a {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  color: var(--text-3);
  border: 1px solid transparent;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social a:hover { color: var(--text); background: rgba(255,255,255,0.04); border-color: var(--line); }
.social svg { width: 16px; height: 16px; }
.footer__note { color: var(--text-3); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__code { max-width: 720px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }

  .cards, .quotes, .tiers, .ent, .dx__notes { grid-template-columns: minmax(0, 1fr); }
  .ent { border-radius: var(--r-lg); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tier--featured { order: -1; }
  .br-lg { display: none; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .hero { padding-top: 52px; }
  .hero__stats { gap: 22px 28px; }
  .hero__stats strong { font-size: 19px; }
  .code__body { font-size: 11.6px; padding: 16px 16px; }
  .dx__panel .code__body { padding: 18px 16px; }
  #developers .dx__panel .code__body { min-height: 0; }
  .dx__endpoint { display: none; }
  .logos, .logos--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-head p { font-size: 15.5px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer__bar { justify-content: flex-start; }
  .footer__note { width: 100%; }
  .quote { padding: 24px 20px; }
  .tier { padding: 26px 22px 30px; }
}
