/* ==========================================================================
   CommerceNerve — stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #fbfbff;
  --surface: #ffffff;
  --ink: #14162b;
  --ink-soft: #2b2f4e;
  --muted: #5d6180;
  --line: #e6e7f2;
  --brand: #6350cb;
  --brand-600: #5140b8;
  --brand-400: #8b78f0;
  --brand-50: #f0edff;
  --mint: #16c79a;
  --mint-50: #e6faf4;
  --dark: #0e1022;
  --dark-2: #171a36;

  --grad: linear-gradient(120deg, #5a45d6 0%, #8b6cff 55%, #c07bff 100%);
  --grad-light: linear-gradient(120deg, #b6a9ff 0%, #e0b8ff 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 43, 0.05), 0 2px 8px rgba(20, 22, 43, 0.04);
  --shadow-md: 0 8px 30px rgba(52, 40, 130, 0.09);
  --shadow-lg: 0 30px 80px rgba(52, 40, 130, 0.18);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1180px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
svg {
  display: block;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: #d9d2ff;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.section {
  padding-block: clamp(72px, 9vw, 120px);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-light {
  background: var(--grad-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 34em;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 16px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}
.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--brand);
}
.brand-mark.sm {
  width: 18px;
  height: 18px;
}
.ic {
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn .ic {
  transition: transform 0.2s;
}
.btn:hover .ic {
  transform: translate(2px, -2px);
}
.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
  border-radius: 14px;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.9rem;
}
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow:
    0 10px 24px -8px rgba(99, 80, 203, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px -8px rgba(99, 80, 203, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-light {
  background: #fff;
  color: var(--brand-600);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.btn-light:hover {
  transform: translateY(-2px);
  background: #f4f1ff;
}
.btn-outline {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink-soft);
}
.btn-outline:hover {
  border-color: var(--brand-400);
  color: var(--brand);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.text-link:hover {
  color: var(--brand);
  border-color: currentColor;
}
.text-link .ic {
  transition: transform 0.2s;
}
.text-link:hover .ic {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(251, 251, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(20, 22, 43, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.brand-light {
  font-weight: 500;
  color: var(--brand);
}
.desktop-nav {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.desktop-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--muted);
}
.desktop-nav a:hover,
.desktop-nav a[aria-current='page'] {
  color: var(--brand);
  background: var(--brand-50);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.menu-toggle .i-close {
  display: none;
}
.menu-toggle[aria-expanded='true'] .i-open {
  display: none;
}
.menu-toggle[aria-expanded='true'] .i-close {
  display: block;
}
.mobile-nav {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: -74px;
  padding: 150px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.blob.b1 {
  width: 560px;
  height: 560px;
  background: #cfc6ff;
  top: -160px;
  right: -80px;
  animation: drift 16s ease-in-out infinite alternate;
}
.blob.b2 {
  width: 420px;
  height: 420px;
  background: #bdf1e2;
  bottom: -140px;
  left: -120px;
  opacity: 0.45;
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
@keyframes drift {
  to {
    transform: translate(40px, 30px) scale(1.08);
  }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-600);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #dcd6fb;
  box-shadow: var(--shadow-sm);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(22, 199, 154, 0.6);
  animation: ping 2s infinite;
}
@keyframes ping {
  70% {
    box-shadow: 0 0 0 8px rgba(22, 199, 154, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 199, 154, 0);
  }
}
.hero h1 {
  margin: 24px 0 24px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 34px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-note .ic {
  color: var(--mint);
}
.hero-note i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
  background: #b7bad0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  margin: 0;
  padding: 24px 0 8px;
}
.console {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(99, 80, 203, 0.1);
  padding: 20px 22px 24px;
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-visual:hover .console {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.lights {
  display: flex;
  gap: 6px;
}
.lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e2ee;
}
.lights i:first-child {
  background: #ff9aa2;
}
.lights i:nth-child(2) {
  background: #ffd98a;
}
.lights i:nth-child(3) {
  background: #9fe3c7;
}
.console-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0c8b6c;
  background: var(--mint-50);
  padding: 4px 10px;
  border-radius: 999px;
}
.pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 26px 0 24px;
}
.node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  min-width: 0;
}
.node b {
  font-size: 0.95rem;
  margin-top: 8px;
}
.node small {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.3;
}
.node-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
}
.node-icon.ns {
  background: #1f2a44;
  color: #fff;
}
.node-icon.sh {
  background: #eaf8e8;
  color: #5c9f4e;
}
.node-icon.sh svg {
  width: 30px;
}
.node.core {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  justify-content: center;
  background: var(--grad);
  box-shadow: 0 16px 34px -8px rgba(99, 80, 203, 0.7);
  color: #fff;
  animation: float 5s ease-in-out infinite;
}
.node.core .brand-mark {
  color: #fff;
  width: 36px;
  height: 36px;
}
@keyframes float {
  50% {
    transform: translateY(-6px);
  }
}
.pipe {
  flex: 0 0 34px;
  height: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #cfc8f7 0 6px, transparent 6px 11px);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}
.pipe span {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: var(--brand);
  border-radius: 3px;
  animation: travel 1.8s linear infinite;
}
@keyframes travel {
  to {
    left: 100%;
  }
}
.flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.flow-head > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
}
.badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 0.7rem;
}
.flow-list li {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 12px;
  background: #f7f6ff;
  font-size: 0.83rem;
  font-weight: 600;
}
.flow-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
}
.flow-name .ic {
  color: var(--brand);
}
.flow-track {
  height: 4px;
  border-radius: 4px;
  background: #e5e1fb;
  overflow: hidden;
}
.flow-track i {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: 4px;
  background: var(--grad);
  animation: travel-track 2.6s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes travel-track {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(300%);
  }
}
.flow-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #0c8b6c;
  background: var(--mint-50);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.float-chip .ic {
  color: var(--brand);
}
.fc1 {
  top: -4px;
  right: -14px;
  animation: float 6s ease-in-out infinite;
}
.fc2 {
  bottom: 32px;
  left: -26px;
  animation: float 7s ease-in-out infinite reverse;
}
.hero-visual figcaption {
  text-align: center;
  margin-top: 22px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-visual figcaption span {
  font-weight: 500;
  opacity: 0.75;
}

/* ---------- Integration strip ---------- */
.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 22px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.strip-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  flex: 1;
}
.strip-label:last-child {
  text-align: right;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
}
.strip-brands {
  display: flex;
  align-items: center;
  gap: 22px;
}
.wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1f2a44;
}
.wordmark small {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: #c74634;
}
.wordmark.shopify {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: #4a8a3d;
}
.wordmark .bag svg {
  width: 26px;
  color: #5c9f4e;
}
.strip-connector {
  display: flex;
  align-items: center;
  gap: 8px;
}
.strip-connector span {
  width: 36px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cfc8f7 0 5px, transparent 5px 9px);
}
.strip-connector .brand-mark {
  width: 26px;
  height: 26px;
}

/* ---------- Section headings ---------- */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.section-heading > p {
  max-width: 24em;
  color: var(--muted);
  font-size: 1.05rem;
}
.center-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.center-heading h2 {
  margin-bottom: 16px;
}
.center-heading p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- Cards / bento ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d4ccf7;
}
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand);
  flex: none;
}
.tone-1 {
  background: var(--mint-50);
  color: #0c8b6c;
}
.tone-2 {
  background: #fff1e6;
  color: #d4661a;
}
.tone-3 {
  background: #e8f1ff;
  color: #2d6be0;
}
.tone-4 {
  background: #ffe9f1;
  color: #d0336f;
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.feature {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 30px;
}
.feature.f1 {
  grid-column: span 4;
  background: linear-gradient(160deg, #fff 40%, #f4f1ff);
}
.feature.f2 {
  grid-column: span 2;
}
.feature-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.feature-cat {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature-num {
  margin-left: auto;
  font-weight: 800;
  font-size: 0.9rem;
  color: #c9cbdc;
}
.feature h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}
.feature p {
  color: var(--muted);
}
.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0c8b6c;
}
.catalog {
  margin-top: 28px;
  max-width: 520px;
}
.catalog-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #dcd6fb;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.catalog-box > .ic {
  color: var(--brand);
}
.catalog-box div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.catalog-box span:not(.catalog-check) {
  font-size: 0.8rem;
  color: var(--muted);
}
.catalog-check {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mint-50);
  color: #0c8b6c;
}
.catalog-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.catalog-line i {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cfc8f7 0 6px, transparent 6px 11px);
}
.catalog-line .ic {
  margin-left: -8px;
  color: var(--brand);
}

/* ---------- Workflow ---------- */
.workflow {
  background: linear-gradient(180deg, #f4f2ff, #fbfbff);
  border-block: 1px solid var(--line);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps::before {
  content: '';
  position: absolute;
  top: 58px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #c4baf5 0 8px, transparent 8px 16px);
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px -8px rgba(99, 80, 203, 0.7);
  outline: 8px solid #f4f2ff;
}
.step-icon {
  color: var(--brand-400);
}
.step h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}
.step p {
  color: var(--muted);
}

/* ---------- Outcomes ---------- */
.outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.outcomes-visual {
  padding: 28px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.outcomes-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.outcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #f7f7fb;
  font-weight: 600;
  color: var(--muted);
}
.outcome-row .old {
  font-size: 0.78rem;
  color: #b3374f;
  background: #ffeaee;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.outcome-result {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 18px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 16px 34px -10px rgba(99, 80, 203, 0.7);
}
.outcome-result .brand-mark {
  color: #fff;
  width: 34px;
  height: 34px;
}
.outcome-result div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.outcome-result span:not(.result-check) {
  font-size: 0.82rem;
  opacity: 0.85;
}
.result-check {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.outcomes-visual > p {
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.outcomes-copy h2 {
  margin-bottom: 20px;
}
.outcomes-copy > p {
  color: var(--muted);
  font-size: 1.1rem;
}
.benefits {
  margin: 28px 0 32px;
  display: grid;
  gap: 14px;
}
.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.benefits .ic {
  margin-top: 3px;
  padding: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint-50);
  color: #0c8b6c;
}

/* ---------- Dark panel ---------- */
.dark-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: clamp(32px, 6vw, 72px);
  border-radius: 32px;
  color: #fff;
  background: radial-gradient(120% 100% at 0% 0%, #2a2470 0%, var(--dark-2) 45%, var(--dark) 100%);
}
.dark-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  background: #7a5cff;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}
.dark-copy,
.dark-items {
  position: relative;
}
.dark-panel .eyebrow {
  color: #b6a9ff;
}
.dark-copy h2 {
  margin-bottom: 20px;
}
.dark-copy > p:not(.eyebrow) {
  color: #b8bad6;
  margin-bottom: 32px;
  max-width: 30em;
}
.dark-items {
  display: grid;
  gap: 14px;
}
.dark-items article {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition:
    background 0.3s,
    transform 0.3s;
}
.dark-items article:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}
.dark-items article > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(139, 120, 240, 0.25);
  color: #d1c9ff;
}
.dark-items h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}
.dark-items p {
  color: #b8bad6;
  font-size: 0.95rem;
}

/* ---------- Audience ---------- */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audience .icon-tile {
  margin-bottom: 22px;
}
.audience h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.audience p {
  color: var(--muted);
}

/* ---------- Final CTA ---------- */
.final-wrap {
  padding-bottom: clamp(72px, 9vw, 120px);
}
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 24px;
  border-radius: 32px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 40px 80px -30px rgba(99, 80, 203, 0.7);
}
.final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.final-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  left: 50%;
  top: -220px;
  translate: -50% 0;
  border-radius: 50%;
  background: #fff;
  filter: blur(110px);
  opacity: 0.25;
}
.final > * {
  position: relative;
}
.pill-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}
.pill-light .brand-mark {
  color: #fff;
}
.final h2 {
  margin: 24px 0 18px;
}
.final h2 span {
  opacity: 0.8;
}
.final > p {
  max-width: 30em;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  opacity: 0.9;
}
.final small {
  display: block;
  margin-top: 24px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding-top: 64px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-about p {
  margin-top: 16px;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}
.footer-nav div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-nav span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 4px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--ink-soft);
}
.footer-nav a:hover {
  color: var(--brand);
}
.footer-nav p {
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 48px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-bottom div {
  display: flex;
  gap: 24px;
}
.footer-bottom a:hover {
  color: var(--brand);
}

/* ---------- Contact page ---------- */
.contact-page {
  position: relative;
  padding: 72px 0 110px;
}
.contact-page::before {
  content: '';
  position: absolute;
  inset: -74px 0 auto;
  height: 520px;
  z-index: -1;
  background:
    radial-gradient(500px 300px at 15% 20%, rgba(207, 198, 255, 0.55), transparent 70%),
    radial-gradient(420px 260px at 90% 10%, rgba(189, 241, 226, 0.5), transparent 70%);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.contact-intro h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  margin-bottom: 22px;
}
.contact-email {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 34px 0 20px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 1.05rem;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.contact-email:hover {
  transform: translateY(-2px);
  border-color: #d4ccf7;
  box-shadow: var(--shadow-md);
}
.contact-email small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  line-height: 1.5;
}
.contact-email > .ic {
  margin-left: auto;
  color: var(--brand);
}
.topics {
  display: grid;
  gap: 14px;
}
.topics .card {
  display: flex;
  gap: 16px;
  padding: 20px;
}
.topics h2 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.topics p {
  font-size: 0.93rem;
  color: var(--muted);
}
.platforms {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}
.platforms span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.platforms span.on {
  background: var(--brand-50);
  border-color: #d4ccf7;
  color: var(--brand);
}
.platforms i {
  font-style: normal;
  color: var(--brand-400);
}
.contact-card {
  position: sticky;
  top: 100px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.form-heading {
  margin-bottom: 28px;
}
.form-heading h2 {
  font-size: 1.7rem;
  margin: 4px 0 8px;
}
.form-heading p {
  color: var(--muted);
}
.form-heading .eyebrow {
  display: block;
  margin-bottom: 6px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.field .req {
  color: var(--brand);
}
.field .opt {
  font-weight: 500;
  color: var(--muted);
}
input,
textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fafaff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
textarea {
  resize: vertical;
  min-height: 130px;
}
input::placeholder,
textarea::placeholder {
  color: #9a9db6;
}
input:hover,
textarea:hover {
  border-color: #cfd1e4;
}
input:focus,
textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(99, 80, 203, 0.14);
}
input[aria-invalid='true'],
textarea[aria-invalid='true'] {
  border-color: #d64560;
  background: #fff8f9;
}
.field-error {
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #b3253f;
}
.field-help {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}
.form-privacy,
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}
.form-privacy {
  margin: 18px 0 22px;
}
.form-privacy a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-submit {
  width: 100%;
}
.form-note {
  margin-top: 14px;
  text-align: center;
}
.draft {
  display: block;
  margin-top: 26px;
  padding: 22px;
  border-radius: 18px;
  background: var(--mint-50);
  border: 1px solid #b7ecdb;
  animation: rise 0.4s ease;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.draft-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #0c7a5f;
}
.draft-head h3 {
  font-size: 1.15rem;
}
.draft > p {
  font-size: 0.93rem;
  color: #2f5b4e;
}
.draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.draft summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0c7a5f;
}
.draft pre {
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #b7ecdb;
  white-space: pre-wrap;
  word-break: break-word;
  font: 0.85rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink-soft);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  position: relative;
  margin-top: -74px;
  padding: 150px 0 56px;
  background:
    radial-gradient(500px 300px at 85% 0%, rgba(207, 198, 255, 0.55), transparent 70%),
    linear-gradient(180deg, #f4f2ff, var(--bg));
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 16px;
}
.legal-date {
  display: inline-block;
  margin-top: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-block: 56px 110px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
}
.legal-toc nav {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}
.legal-toc p {
  margin: 0 8px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.legal-toc a {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
}
.legal-toc a span {
  color: #b3b6cc;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.legal-toc a:hover,
.legal-toc a.active {
  background: var(--brand-50);
  color: var(--brand);
}
.legal-toc a.active span {
  color: var(--brand);
}
.legal-content {
  max-width: 760px;
}
.legal-content section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.legal-content h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1.55rem;
}
.legal-content h2 span {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 0.85rem;
  letter-spacing: 0;
}
.legal-content p,
.legal-content li {
  color: #454a68;
}
.legal-content p + p,
.legal-content p + ul,
.legal-content ul + p {
  margin-top: 16px;
}
.legal-content ul {
  display: grid;
  gap: 12px;
  padding-left: 22px;
  list-style: disc;
}
.legal-content li::marker {
  color: var(--brand-400);
}
.legal-content strong {
  color: var(--ink);
}
.legal-content a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-contact {
  padding: 32px;
  border-radius: 24px;
  color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, #2a2470, var(--dark));
}
.legal-contact h2 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.legal-contact p {
  color: #b8bad6;
}
.legal-content .legal-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #d1c9ff;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
/* keep hover lift working after reveal */
.js .card.reveal.in,
.js .step.reveal.in {
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s,
    opacity 0.7s;
  transition-delay: 0s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding-top: 130px;
  }
  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
    width: 100%;
  }
  .console {
    transform: none;
  }
  .outcomes {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .dark-panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-card {
    position: static;
  }
  .strip {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .strip-label:last-child {
    text-align: center;
  }
}
@media (max-width: 900px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .site-header.menu-open {
    background: rgba(251, 251, 255, 0.96);
    border-color: var(--line);
  }
  .mobile-nav:not([hidden]) {
    display: grid;
    gap: 4px;
    padding: 12px 20px 20px;
    border-top: 1px solid var(--line);
    background: rgba(251, 251, 255, 0.98);
    animation: rise 0.25s ease;
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--ink-soft);
  }
  .mobile-nav a:hover {
    background: var(--brand-50);
    color: var(--brand);
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .feature,
  .feature.f1,
  .feature.f2 {
    grid-column: span 1;
  }
  .feature.f1 {
    grid-column: span 2;
  }
  .steps,
  .audience {
    grid-template-columns: 1fr;
  }
  .steps::before {
    display: none;
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-toc {
    position: static;
  }
  .legal-toc nav {
    max-height: none;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }
  .container {
    width: min(100% - 32px, var(--container));
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .feature.f1 {
    grid-column: span 1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .flow-list li {
    grid-template-columns: 1fr auto;
  }
  .flow-track {
    display: none;
  }
  .float-chip {
    display: none;
  }
  .pipe {
    flex-basis: 20px;
  }
  .node small {
    display: none;
  }
  .strip-brands {
    gap: 12px;
  }
  .strip-connector span {
    width: 16px;
  }
  .footer-nav {
    gap: 40px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .draft-actions .btn {
    flex: 1 1 100%;
  }
}

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