/* ===========================================================================
   ZyntrixPay — marketing site stylesheet (v2)
   ---------------------------------------------------------------------------
   Full redesign: dark, glass, motion-driven, with a live 3D network in the
   hero — committed to one look rather than a toggle, since the glow accents
   and the WebGL scene are tuned specifically for it.
   =========================================================================== */

:root {
  --void:      #060810;
  --void-2:    #0a0e1a;
  --surface:   rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --border:    rgba(255, 255, 255, .09);
  --border-2:  rgba(255, 255, 255, .18);

  --ink:       #eef3fb;
  --ink-dim:   #97a3ba;
  --muted:     #67728a;

  --azure:     #4fa8ff;
  --azure-ink: #8fcaff;
  --mint:      #2fe0ac;
  --mint-ink:  #74f0cc;
  --violet:    #8b6bff;

  --grad:       linear-gradient(103deg, var(--azure), var(--mint));
  --grad-text:  linear-gradient(100deg, var(--azure-ink), var(--mint-ink));
  --glow-a:     0 0 1px rgba(79, 168, 255, .6), 0 0 40px -4px rgba(79, 168, 255, .45);
  --glow-m:     0 0 1px rgba(47, 224, 172, .6), 0 0 40px -4px rgba(47, 224, 172, .4);

  --shadow:     0 20px 60px -20px rgba(0, 0, 0, .6);
  --shadow-lg:  0 32px 90px -24px rgba(0, 0, 0, .7);

  --scrim:      rgba(2, 3, 8, .97);

  --radius:     16px;
  --radius-lg:  24px;
  --radius-sm:  10px;

  --wrap:       1180px;
  --gutter:     clamp(20px, 5vw, 40px);
  --nav-h:      64px;

  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --sans:    "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* --- base ----------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  background: var(--void);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  /* No background here on purpose: html's background already covers the
     canvas-level fallback fill, and body painting its own opaque colour on
     top of that would sit above the negative-z-index .bg-stage / body::before
     layers in stacking order, hiding them completely. */
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Fixed atmosphere: two soft colour washes deep behind everything, static
   (the moving light is the hero's WebGL scene — this is just ambient floor
   colour so pages below the fold don't go flat black). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(79, 168, 255, .10), transparent 60%),
    radial-gradient(50% 45% at 100% 15%, rgba(47, 224, 172, .08), transparent 60%),
    var(--void);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- side circuit traces -----------------------------------------------------
   PCB-style traces — horizontal/vertical segments meeting at right angles,
   like the copper paths on a processor board — running the full height of
   the viewport, kept entirely in the empty margin outside the content
   column so they're never a readability risk. A bright dash travels the
   exact bent path (pathLength normalizes each <path> to 100 units, so the
   same dash/offset pair works regardless of how long the real path is);
   the plain grid of stubs and nodes underneath is static texture, unlit. */
.side-line {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 96px;
  z-index: 0;
  pointer-events: none;
  display: none;
}
.side-line--left  { left: 18px; }
.side-line--right { right: 18px; }
.side-line--right svg { transform: scaleX(-1); }

.side-line svg { width: 100%; height: 100%; display: block; }

.sl-static {
  fill: none;
  stroke: var(--border-2);
  stroke-width: 1;
  opacity: .55;
}
.sl-static circle { fill: var(--border-2); stroke: none; }

.sl-trace {
  fill: none;
  stroke: var(--border-2);
  stroke-width: 1;
  opacity: .4;
}

.sl-pulse {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .95;
  filter: blur(.3px);
  stroke-dasharray: 7 93;
  animation: sl-flow 5.5s linear infinite;
  animation-delay: var(--pd, 0s);
}
.sl-pulse.b { stroke: var(--mint); }
.sl-pulse:not(.b) { stroke: var(--azure); }

@keyframes sl-flow {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: -100; }
}

@media (min-width: 1480px) {
  .side-line { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .sl-pulse { animation: none; opacity: .4; stroke-dasharray: none; }
}

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

/* Legibility over the fixed network background comes from a shadow on the
   glyphs everywhere, not an opaque panel behind them in specific spots —
   the network is a fixed backdrop, so any section can end up with it
   crossing directly behind its text depending on scroll position. */
h1, h2, h3, h4, p, .eyebrow, li {
  text-shadow: 0 0 4px var(--scrim), 0 0 10px var(--scrim), 0 0 22px var(--scrim), 0 1px 2px var(--scrim);
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.3rem + 4.6vw, 4.6rem); letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -.012em; font-weight: 600; }

p { margin: 0 0 1rem; color: var(--ink-dim); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--azure-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

code, kbd, pre { font-family: var(--mono); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: fixed;
  left: -9999px;
  top: 12px;
  z-index: 300;
  background: var(--void-2);
  color: var(--ink);
  padding: 10px 16px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 16px; }

/* --- glass primitive -------------------------------------------------------
   Every panel in the redesign — nav, cards, the calculator, the code block —
   is a variation on this one recipe, so the whole site reads as one material. */
.glass {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--radius);
}

/* --- header: floating capsule nav ------------------------------------------ */

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--nav-h);
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--void-2) 82%, transparent), color-mix(in srgb, var(--void-2) 68%, transparent));
  border: 1px solid var(--border);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--shadow);
  max-width: 100%;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-stuck .nav-shell { box-shadow: var(--shadow-lg), var(--glow-a); border-color: var(--border-2); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.015em;
  text-decoration: none;
  flex: none;
  margin-right: 4px;
}
.brand:hover { text-decoration: none; }
.brand .pay { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
}
.nav a:not(.btn) {
  position: relative;
  overflow: hidden;
  color: var(--ink-dim);
  font-size: .92rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.nav a[aria-current="page"] {
  color: var(--void);
  font-weight: 650;
  background: var(--grad);
  box-shadow: var(--glow-m);
}
.nav a[aria-current="page"]:hover { color: var(--void); background: var(--grad); }
/* The in-nav "Get started" only exists for the mobile dropdown — on desktop
   the pill row already has its own copy in .header-actions, so a second one
   inline here would be a duplicate. */
.nav .btn { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: 6px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--ink-dim);
  cursor: pointer;
  place-items: center;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* --- buttons ---------------------------------------------------------------- */

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease, transform .25s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.btn:hover { text-decoration: none; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.35) 48%, transparent 74%);
  transform: translateX(-140%);
  transition: transform .65s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(140%); }

.btn-solid {
  background: var(--grad);
  color: #041016;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), var(--glow-m);
}
.btn-solid:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), var(--glow-m), var(--glow-a); }

.btn-glass {
  color: var(--ink);
  border-color: var(--border-2);
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-glass:hover { border-color: var(--azure); box-shadow: var(--glow-a); }

.btn-ghost { background: transparent; color: var(--ink-dim); border-color: transparent; }
.btn-ghost:hover { color: var(--ink); background: var(--surface-2); }

.btn-lg { padding: 15px 28px; font-size: 1.02rem; }

.btn-arrow { transition: transform .18s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* --- section furniture ------------------------------------------------------ */

.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; margin-top: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mint-ink);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: var(--glow-m); }

.lede { font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); color: var(--ink-dim); line-height: 1.6; }

/* --- hero: 3D scene stage ---------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(940px, 100svh);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 60px;
  overflow: hidden;
}
/* The network is a fixed full-page backdrop, not something confined to the
   hero — it's mounted once, directly under <body>, and stays put behind
   every section as the page scrolls. That's what makes the rest of the
   site feel alive instead of the hero being the one lit room in a dark
   house. Sits above the flat colour wash (z:-2) and below actual content
   (which is unpositioned, so it paints above any negative z-index). */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bg-stage canvas { display: block; width: 100%; height: 100%; }
.hero > .wrap { position: relative; z-index: 1; width: 100%; }

.hero-copy {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.hero-copy .lede { max-width: 56ch; margin-inline: auto; }
.hero h1 { margin-bottom: 22px; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px 7px 11px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); flex: none; box-shadow: var(--glow-m); }

/* --- stat strip -------------------------------------------------------------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(48px, 6vw, 80px);
}
.stat { background: var(--void-2); padding: 26px 22px; }
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  white-space: nowrap;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat > span { display: block; margin-top: 7px; font-size: .86rem; color: var(--muted); line-height: 1.45; }

/* --- checkout mock (hero visual on inner pages) ----------------------------- */

.mock {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.mock-bar span { margin-left: 8px; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.mock-body { padding: 22px; }
.mock-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mock-label { font-size: .76rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mock-amount { font-family: var(--display); font-size: 2rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.mock-amount small { font-family: var(--sans); font-size: .9rem; font-weight: 650; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.mock-qr {
  margin: 20px auto 16px;
  width: 148px; height: 148px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 10px;
  background: #fff;
}
.mock-addr {
  font-family: var(--mono);
  font-size: .76rem;
  text-align: center;
  color: var(--ink-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  word-break: break-all;
  line-height: 1.5;
}
.mock-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-dim);
}
.mock-status .beacon { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); flex: none; box-shadow: var(--glow-m); }
.mock-status .beacon::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--mint); opacity: 0;
  animation: ping 2.2s cubic-bezier(.2,.7,.3,1) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }

/* --- cards -------------------------------------------------------------------- */

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

.card {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: perspective(800px);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.card h3 { margin-bottom: 9px; }
.card p { font-size: .95rem; color: var(--ink-dim); margin: 0; }
.card-hover:hover { border-color: var(--border-2); box-shadow: var(--shadow); }

.card-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--void);
  background: var(--grad);
  box-shadow: var(--glow-m);
}
.card-icon svg { width: 19px; height: 19px; }

/* --- steps --------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 48px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--display);
  font-size: .88rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--void);
  background: var(--grad);
  box-shadow: var(--glow-m);
}
.step::after { content: ""; position: absolute; top: 16px; left: 44px; right: -22px; height: 1px; background: linear-gradient(90deg, var(--border-2), transparent); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { font-size: .93rem; color: var(--ink-dim); margin: 0; }

/* --- split feature -------------------------------------------------------------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: .96rem; color: var(--ink-dim); line-height: 1.55; }
.checklist svg { width: 20px; height: 20px; color: var(--mint-ink); margin-top: 2px; }
.checklist strong { color: var(--ink); font-weight: 650; }

/* --- flow diagram ----------------------------------------------------------------- */

.flow { background: linear-gradient(155deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(16px); display: grid; gap: 14px; }
.flow-node { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.flow-node span.k { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--void-2); border: 1px solid var(--border); color: var(--mint-ink); }
.flow-node .k svg { width: 17px; height: 17px; }
.flow-node b { display: block; font-size: .95rem; font-weight: 650; color: var(--ink); }
.flow-node span { display: block; font-size: .87rem; color: var(--ink-dim); line-height: 1.5; }
.flow-arrow { justify-self: center; color: var(--border-2); }
.flow-arrow svg { width: 18px; height: 18px; }

/* --- code block --------------------------------------------------------------------- */

.code { background: var(--void-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.code-bar { display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.code-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.code-bar span { margin-left: 6px; font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-size: .82rem; line-height: 1.7; color: var(--ink); -webkit-overflow-scrolling: touch; }
.code .c { color: var(--muted); }
.code .s { color: var(--mint-ink); }
.code .k { color: var(--azure-ink); }
.code .f { color: #e0c583; }

/* --- table ------------------------------------------------------------------------------ */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(16px); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 620px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 620; color: var(--ink); }
.col-featured { background: rgba(47, 224, 172, .06); }
.tag { display: inline-block; margin-left: 7px; padding: 2px 8px; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; color: var(--void); background: var(--grad); vertical-align: middle; }

/* --- FAQ -------------------------------------------------------------------------------- */

.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq details { background: linear-gradient(155deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; backdrop-filter: blur(16px); transition: border-color .18s ease; }
.faq details[open] { border-color: var(--border-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; font-weight: 650; font-size: 1rem; cursor: pointer; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq .answer { padding: 0 0 20px; font-size: .96rem; color: var(--ink-dim); }
.faq .answer p { color: inherit; }

/* --- CTA band --------------------------------------------------------------------------- */

.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, rgba(79,168,255,.12), rgba(47,224,172,.1));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px);
  text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: auto -20% -70% -20%; height: 320px;
  background: radial-gradient(50% 60% at 50% 40%, rgba(47,224,172,.28), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { max-width: 54ch; margin: 16px auto 0; color: var(--ink-dim); }
.cta-band .hero-cta { margin-top: 30px; }

/* --- footer ----------------------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--border); padding: clamp(44px, 5vw, 64px) 0 32px; margin-top: clamp(60px, 8vw, 100px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-brand p { font-size: .92rem; color: var(--muted); max-width: 34ch; margin-top: 14px; }
.footer-col h4 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--ink-dim); font-size: .93rem; }
.footer-col a:hover { color: var(--mint-ink); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .87rem; color: var(--muted); }

/* --- pricing ---------------------------------------------------------------------------- */

.price-hero { background: linear-gradient(155deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); backdrop-filter: blur(16px); overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.price-main { padding: clamp(30px, 4vw, 46px); border-right: 1px solid var(--border); }
.price-figure { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price-figure b { font-family: var(--display); font-size: clamp(3.2rem, 2.2rem + 4vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-figure span { font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.price-note { font-size: .93rem; color: var(--muted); margin-top: 10px; }
.price-side { padding: clamp(30px, 4vw, 46px); background: rgba(255,255,255,.02); }
.price-side h3 { margin-bottom: 18px; }

.calc { display: grid; gap: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 650; color: var(--ink-dim); margin-bottom: 7px; }
.field .hint { font-weight: 500; color: var(--muted); }
.input, input[type="text"], input[type="email"], input[type="number"], textarea, select {
  width: 100%; padding: 11px 14px; font: inherit; font-size: .96rem; color: var(--ink);
  background: var(--void-2); border: 1px solid var(--border-2); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, input:focus, textarea:focus, select:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(79,168,255,.18); }
textarea { resize: vertical; min-height: 120px; }
input[type="range"] { width: 100%; accent-color: var(--mint); height: 22px; cursor: pointer; }

.calc-out { border: 1px solid var(--border); border-radius: var(--radius); background: var(--void-2); padding: 18px 20px; display: grid; gap: 11px; }
.calc-line { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: .93rem; color: var(--muted); }
.calc-line b { font-family: var(--mono); font-size: .98rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-line.total { border-top: 1px solid var(--border); padding-top: 11px; color: var(--ink-dim); font-weight: 650; }
.calc-line.total b { font-family: var(--display); font-size: 1.24rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- contact form ------------------------------------------------------------------------ */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-status { font-size: .92rem; padding: 12px 15px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--ink-dim); }
.form-status[hidden] { display: none; }
.form-status.ok { border-color: rgba(47,224,172,.45); color: var(--mint-ink); }
.form-status.err { border-color: rgba(255,110,110,.45); color: #ff9d9d; }

.contact-cards { display: grid; gap: 14px; }
.contact-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 15px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(155deg, var(--surface-2), var(--surface)); backdrop-filter: blur(16px); }
.contact-card .card-icon { margin: 0; }
.contact-card b { display: block; font-size: .97rem; color: var(--ink); }
.contact-card > div span, .contact-card > div a { display: block; font-size: .9rem; color: var(--ink-dim); margin-top: 3px; }

/* --- values / about ----------------------------------------------------------------------- */

.value-list { display: grid; gap: 26px; }
.value { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; }
.value .card-icon { margin: 0; width: 44px; height: 44px; }
.value h3 { margin-bottom: 7px; }
.value p { font-size: .96rem; color: var(--ink-dim); margin: 0; }

/* --- reveal on scroll ---------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(46px) scale(.96); filter: blur(6px); }
.reveal.in {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1), filter .85s cubic-bezier(.16,1,.3,1);
}
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* --- entrance motion (appear) --------------------------------------------------------------
   Header + hero page-load choreography. Resting opacity 1 so a browser that
   skips the rule just shows the element — never stuck invisible. */
.appear { opacity: 1; animation-duration: 1s; animation-timing-function: cubic-bezier(.16,1,.3,1); animation-fill-mode: both; animation-delay: var(--d, .05s); }
.appear.is-in { animation: none; opacity: 1; transform: none; filter: none; }
.appear--scale { animation-name: zx-in-scale; }
.appear--soft  { animation-name: zx-in-soft; animation-duration: 1.15s; }
.appear--mask  { animation-name: zx-in-mask; }
.appear--pop   { animation-name: zx-in-pop; }
.appear--btn   { animation-name: zx-in-btn; }
.appear--side  { animation-name: zx-in-side; }
.appear--stat  { animation-name: zx-in-stat; }
@keyframes zx-in-scale { from { opacity: 0; transform: scale(.86); } }
@keyframes zx-in-soft  { from { opacity: 0; transform: translateY(14px); } }
@keyframes zx-in-mask  { from { opacity: 0; transform: translateY(42%); } }
@keyframes zx-in-pop   { 0% { opacity: 0; transform: scale(.9); } 70% { opacity: 1; transform: scale(1.02); } 100% { transform: scale(1); } }
@keyframes zx-in-btn   { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes zx-in-side  { from { opacity: 0; transform: translateX(18px); } }
@keyframes zx-in-stat  { from { opacity: 0; transform: translateY(18px); } }
.mask-line { display: block; overflow: hidden; padding: .1em 0 .18em; margin: -.1em 0 -.18em; }
.mask-line .appear--mask { display: block; }

/* --- responsive -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .split, .contact-grid, .price-hero { grid-template-columns: minmax(0, 1fr); }
  .price-main { border-right: 0; border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .step:nth-child(2n)::after { display: none; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }

  /* Nav collapses behind the burger; "Get started" moves in with it, so the
     bar itself only ever shows the logo and the toggle. */
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }

  .nav[data-open="true"] {
    position: fixed; top: calc(var(--nav-h) + 28px); left: var(--gutter); right: var(--gutter);
    display: flex; flex-direction: column; gap: 4px;
    padding: 12px; border-radius: var(--radius-lg);
    background: linear-gradient(155deg, color-mix(in srgb, var(--void-2) 97%, transparent), color-mix(in srgb, var(--void-2) 92%, transparent));
    border: 1px solid var(--border-2); backdrop-filter: blur(24px) saturate(160%);
    box-shadow: var(--shadow-lg);
    max-height: calc(100svh - var(--nav-h) - 48px);
    overflow-y: auto;
  }
  .nav[data-open="true"] a:not(.btn) { padding: 14px 16px; font-size: 1.02rem; border-radius: var(--radius-sm); }
  .nav[data-open="true"] a[aria-current="page"] { border-radius: var(--radius-sm); }
  .nav .btn {
    display: none;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    border-radius: 0;
    justify-content: center;
  }
  .nav[data-open="true"] .btn { display: flex; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-shell { width: 100%; justify-content: space-between; }
  .steps, .grid-2, .grid-3, .stat-strip, .form-row { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .steps { row-gap: 28px; }
  .stat-strip > .stat { padding: 20px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
}

@media (max-width: 560px) {
  :root { --nav-h: 58px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .brand { font-size: .96rem; gap: 7px; }
  .brand svg { width: 22px; height: 13px; }
  .hero-copy .lede { font-size: 1rem; }
  .price-figure b { font-size: clamp(2.6rem, 2rem + 6vw, 3.6rem); }
  .checklist li { grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
  .value { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .value .card-icon { width: 38px; height: 38px; }
  .contact-card { grid-template-columns: 34px minmax(0, 1fr); padding: 16px; }
  .price-main, .price-side { padding: 22px; }
}

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