/* ──────────────────────────────────────────────
   MCPgram — landing styles
   Mazel DNA (Raleway, geometric, mono + single accent)
   modernized for AI / dev-tool. Dual theme.
─────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============ TOKENS ============ */
:root,
[data-theme="dark"] {
  --bg:           #0a0a0f;
  --bg-grad:      radial-gradient(1200px 700px at 72% -10%, rgba(124,108,255,0.14), transparent 60%),
                  radial-gradient(900px 600px at 8% 8%, rgba(124,108,255,0.07), transparent 55%);
  --surface:      #111118;
  --surface-2:    #16161f;
  --surface-3:    #1c1c27;
  --border:       #25252f;
  --border-soft:  #1b1b23;
  --fg1:          #f5f5f8;
  --fg2:          #a2a2b0;
  --fg3:          #6c6c7a;
  --accent:       #8678ff;
  --accent-2:     #a99bff;
  --accent-ink:   #ffffff;
  --accent-soft:  rgba(134,120,255,0.14);
  --accent-line:  rgba(134,120,255,0.32);
  --accent-glow:  rgba(134,120,255,0.40);
  --code-bg:      #0e0e15;
  --shadow:       0 1px 0 rgba(255,255,255,0.02) inset, 0 24px 60px -30px rgba(0,0,0,0.8);
  --shadow-card:  0 1px 0 rgba(255,255,255,0.03) inset, 0 18px 50px -34px rgba(0,0,0,0.9);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg:           #ffffff;
  --bg-grad:      radial-gradient(1200px 700px at 75% -12%, rgba(100,82,240,0.10), transparent 60%),
                  radial-gradient(900px 600px at 6% 6%, rgba(100,82,240,0.05), transparent 55%);
  --surface:      #ffffff;
  --surface-2:    #f8f8fb;
  --surface-3:    #f1f1f6;
  --border:       #e7e7ee;
  --border-soft:  #f0f0f4;
  --fg1:          #14141c;
  --fg2:          #5b5b6a;
  --fg3:          #9090a0;
  --accent:       #6452f0;
  --accent-2:     #7c6cff;
  --accent-ink:   #ffffff;
  --accent-soft:  rgba(100,82,240,0.09);
  --accent-line:  rgba(100,82,240,0.22);
  --accent-glow:  rgba(100,82,240,0.22);
  --code-bg:      #0f0f17;
  --shadow:       0 1px 2px rgba(20,20,40,0.04), 0 24px 60px -34px rgba(40,30,90,0.22);
  --shadow-card:  0 1px 2px rgba(20,20,40,0.04), 0 16px 44px -32px rgba(40,30,90,0.20);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .35s ease, color .35s ease;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-grad);
  pointer-events: none;
  z-index: 0;
  transition: background .35s ease;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  color: var(--fg1);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

p { margin: 0; text-wrap: pretty; }
strong { color: var(--fg1); font-weight: 700; }

.mono { font-family: 'JetBrains Mono', monospace; }

/* ============ LAYOUT ============ */
.wrap { width: min(1160px, 92vw); margin: 0 auto; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.sec { padding: clamp(72px, 9vw, 132px) 0; }
.sec-tight { padding: clamp(56px, 7vw, 96px) 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent-line);
}
.eyebrow.center { justify-content: center; }

.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
h2.title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg1);
}
.sec-head p.sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--fg2);
  max-width: 620px;
}
.sec-head.center p.sub { margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Raleway', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 17px; height: 17px; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px -10px var(--accent-glow), 0 0 0 1px var(--accent-line);
}
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 12px 30px -10px var(--accent-glow), 0 0 0 1px var(--accent-line); }

.btn-ghost {
  background: var(--surface-2);
  color: var(--fg1);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent-line); color: var(--fg1); background: var(--surface-3); }

.btn-soft {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-line);
}
.btn-soft:hover { background: var(--accent); color: #fff; }

.btn-sm { padding: 10px 16px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--fg1); font-size: 14.5px;
}
.link-arrow svg { transition: transform .2s ease; width: 15px; height: 15px; }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ============ HEADER ============ */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
header.nav.scrolled { border-bottom-color: var(--border-soft); }
.nav-inner { display: flex; align-items: center; gap: 26px; height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; }
.brand .mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand .word {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--fg1);
}
.brand .word b { color: var(--accent); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 14px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--fg2); letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--fg1); }

.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.theme-toggle {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg1);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.theme-toggle:hover { border-color: var(--accent-line); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

.nav-signin { font-size: 14px; font-weight: 700; color: var(--fg1); padding: 9px 6px; }
.nav-signin:hover { color: var(--accent); }

.menu-btn { display: none; }

/* ============ HERO ============ */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 13px 7px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--fg2);
  margin-bottom: 26px; white-space: nowrap;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-badge b { color: var(--fg1); font-weight: 700; }

.hero h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--fg1);
}
.hero h1 .grad {
  background: linear-gradient(105deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede {
  margin-top: 24px;
  font-size: 18.5px;
  line-height: 1.62;
  color: var(--fg2);
  max-width: 560px;
}

.killer {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg1);
  font-weight: 500;
}
.killer b { color: var(--accent); }

.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: var(--fg3); font-weight: 500;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--accent); }

/* ============ HERO DIAGRAM ============ */
.diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
.diagram > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.diagram .edge { stroke: var(--accent-line); stroke-width: 1.4; fill: none; }
.diagram .edge-in { stroke: var(--accent); stroke-width: 2; stroke-opacity: .55; }
/* the "your side" zone — a person working through their AI-agent */
.diagram .agent-zone {
  position: absolute; left: -9%; top: 7%; width: 50%; height: 64%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--accent-line);
  background-color: var(--bg);
  background-image: url(person-scene.png);
  background-size: cover;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 36px rgba(10,10,15,.55);
  pointer-events: none;
}
/* veil + bottom fade so the AI-agent node sits on clean dark */
.diagram .agent-zone::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(135% 105% at 50% 0%, transparent 52%, rgba(10,10,15,.5) 100%),
    linear-gradient(to bottom, rgba(10,10,15,.18) 0%, rgba(10,10,15,0) 26%, rgba(10,10,15,.58) 55%, rgba(10,10,15,.93) 74%, var(--bg) 88%),
    linear-gradient(155deg, var(--accent-soft), transparent 55%);
  pointer-events: none;
}
.diagram .pulse {
  stroke: var(--accent); stroke-width: 2.4; fill: none;
  stroke-linecap: round;
  stroke-dasharray: 14 220;
  filter: drop-shadow(0 0 6px var(--accent-glow));
  animation: dash 2.6s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -234; } }

.node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px;
  padding: 9px 13px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  font-size: 12.5px; font-weight: 700; color: var(--fg1);
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.node .tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; color: var(--fg3); }
.diagram .pulse-in { stroke-width: 3; stroke-dasharray: 16 200; }
.node-svc { animation-duration: 7s; }
.node:nth-child(6)  { animation-delay: -1s; }
.node:nth-child(7)  { animation-delay: -2.4s; }
.node:nth-child(8)  { animation-delay: -3.1s; }
.node:nth-child(9)  { animation-delay: -4.2s; }
.node:nth-child(10) { animation-delay: -0.6s; }
.node:nth-child(11) { animation-delay: -3.7s; }
@keyframes floaty { 0%,100% { transform: translate(-50%, -50%);} 50% { transform: translate(-50%, calc(-50% - 7px)); } }

.node-hub {
  padding: 14px 18px;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 6px var(--accent-soft), 0 18px 50px -16px var(--accent-glow);
  animation: hubpulse 3.4s ease-in-out infinite;
}
.node-hub .mono { color: rgba(255,255,255,0.85); font-weight: 500; }
.node-hub .lbl { display: flex; flex-direction: column; line-height: 1.2; gap: 2px; }
.node-hub .lbl b { font-size: 14px; }
@keyframes hubpulse { 0%,100% { box-shadow: 0 0 0 6px var(--accent-soft), 0 18px 50px -16px var(--accent-glow);} 50% { box-shadow: 0 0 0 12px transparent, 0 18px 50px -16px var(--accent-glow);} }

.node-agent {
  padding: 10px 15px 10px 11px;
  background: var(--surface);
  border-color: var(--accent-line);
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-card);
}
.node-agent .av {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
}
.node-agent .av .ico { width: 16px; height: 16px; color: #fff; }
.node-agent .lbl { display: flex; flex-direction: column; line-height: 1.2; gap: 2px; }
.node-agent .lbl b { font-size: 13px; color: var(--fg1); }
.node-agent .lbl .tag { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .pulse, .node, .node-hub { animation: none !important; }
}

/* ============ CONNECT SECTION ============ */
.connect-card {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.connect-left { padding: clamp(28px, 4vw, 44px); }
.connect-left h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.connect-left p { font-size: 15.5px; color: var(--fg2); }

.url-box {
  margin-top: 22px;
  display: flex; align-items: center;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 6px 6px 6px 16px;
  gap: 10px;
}
.url-box .scheme { color: var(--fg3); }
.url-box .url {
  flex: 1; min-width: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14.5px; font-weight: 500; color: #e8e6ff;
  letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis;
}
.copy-btn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px;
  padding: 9px 14px; font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: 'Raleway', sans-serif;
  transition: background .2s ease;
}
.copy-btn:hover { background: var(--accent-2); }
.copy-btn.copied { background: #2ea16f; }
.copy-btn svg { width: 14px; height: 14px; }

.connect-note { margin-top: 16px; font-size: 13.5px; color: var(--fg3); line-height: 1.55; }
.connect-note b { color: var(--fg2); }

.connect-right {
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface-2);
  border-left: 1px solid var(--border);
}
.tab-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--fg3); margin-bottom: 16px; }
.tabs { display: flex; gap: 6px; background: var(--surface-3); padding: 4px; border-radius: 10px; margin-bottom: 18px; }
.tab {
  flex: 1; text-align: center; padding: 9px 6px; border-radius: 7px;
  font-size: 12.5px; font-weight: 700; color: var(--fg2); cursor: pointer;
  border: none; background: transparent; font-family: 'Raleway', sans-serif;
  transition: background .2s ease, color .2s ease;
}
.tab.active { background: var(--surface); color: var(--fg1); box-shadow: var(--shadow-card); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px);} to { opacity:1; transform:none; } }
.client-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border-soft);
  margin-bottom: 8px;
}
.client-row .glyph {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 14px;
}
.client-row .name { font-size: 14px; font-weight: 700; color: var(--fg1); }
.client-row .desc { font-size: 12px; color: var(--fg3); }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.step .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  margin-bottom: 18px;
}
.step h4 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--fg2); line-height: 1.6; }
.step p code, .inline-code {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  background: var(--surface-3); padding: 2px 6px; border-radius: 5px; color: var(--accent-2);
}
.steps-note {
  margin-top: 24px; text-align: center; font-size: 14.5px; color: var(--fg2);
  max-width: 720px; margin-left: auto; margin-right: auto;
}

/* ============ CAPABILITIES ============ */
.cap-group { margin-top: 48px; }
.cap-group + .cap-group { margin-top: 40px; }
.cap-group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.cap-group-head h3 { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg1); }
.cap-group-head .rule { flex: 1; height: 1px; background: var(--border); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-grid.one { grid-template-columns: 1fr; }
.cap {
  padding: 26px 24px;
  border-radius: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.cap:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.cap .cap-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cap .badge {
  font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 600;
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.cap h4 { font-size: 16.5px; font-weight: 800; color: var(--fg1); }
.cap p { font-size: 14px; color: var(--fg2); line-height: 1.58; }
.cap .pill {
  margin-top: 14px; display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
}
.pill.free { background: rgba(46,161,111,0.14); color: #43c08a; }
.pill.paid { background: var(--accent-soft); color: var(--accent); }
.cap-foot-note { margin-top: 16px; font-size: 13px; color: var(--fg3); font-style: italic; }

/* ============ PRICING ============ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: 32px 28px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.plan.featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 38%);
  box-shadow: 0 24px 60px -34px var(--accent-glow);
}
.plan .flag {
  position: absolute; top: -11px; left: 28px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--accent); color: #fff; padding: 5px 12px; border-radius: 7px;
}
.plan .pname { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg2); }
.plan .price { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-size: 42px; font-weight: 800; color: var(--fg1); letter-spacing: -0.03em; }
.plan .price .per { font-size: 14px; color: var(--fg3); font-weight: 600; }
.plan .pdesc { margin-top: 14px; font-size: 14px; color: var(--fg2); line-height: 1.55; min-height: 48px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--fg2); align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.plan .btn { margin-top: 26px; width: 100%; }
.pricing-note { margin-top: 26px; font-size: 13.5px; color: var(--fg3); text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.qa {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s ease;
}
.qa.open { border-color: var(--accent-line); }
.qa-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  background: none; border: none; cursor: pointer;
  font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 700; color: var(--fg1);
}
.qa-q .chev { flex: 0 0 auto; width: 20px; height: 20px; color: var(--accent); transition: transform .25s ease; }
.qa.open .qa-q .chev { transform: rotate(45deg); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa-a-inner { padding: 0 22px 22px; font-size: 14.5px; color: var(--fg2); line-height: 1.62; }
.qa-a-inner code { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; background: var(--surface-3); padding: 2px 6px; border-radius: 5px; color: var(--accent-2); }

/* ============ TRUST STRIP ============ */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { padding: 36px 28px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-item .ti-ico { width: 22px; height: 22px; color: var(--accent); margin-bottom: 14px; }
.trust-item h5 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg1); margin-bottom: 8px; }
.trust-item p { font-size: 13.5px; color: var(--fg2); line-height: 1.55; }
.trust-item code { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent-2); }

/* ============ TECH BLOCK ============ */
.tech { background: var(--surface-2); border-top: 1px solid var(--border); }
.tech-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 28px 0; background: none; border: none; cursor: pointer; font-family: 'Raleway', sans-serif;
}
.tech-toggle .tt-left { display: flex; align-items: center; gap: 16px; text-align: left; }
.tech-toggle .tt-ico {
  width: 44px; height: 44px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--border); color: var(--accent);
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 13px;
}
.tech-toggle h3 { font-size: 19px; font-weight: 800; color: var(--fg1); }
.tech-toggle p { font-size: 13.5px; color: var(--fg3); margin-top: 3px; }
.tech-toggle .chev { width: 22px; height: 22px; color: var(--fg2); transition: transform .3s ease; flex: 0 0 auto; }
.tech.open .tech-toggle .chev { transform: rotate(180deg); }
.tech-body { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.tech-inner { padding: 8px 0 64px; }

.badges-row { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.tbadge {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 7px; background: var(--surface-3); border: 1px solid var(--border); color: var(--accent-2);
}

.tech-step { margin-bottom: 34px; }
.tech-step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tech-step-h .n { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: var(--accent); padding: 4px 9px; border-radius: 6px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.tech-step-h h4 { font-size: 17px; font-weight: 800; color: var(--fg1); }
.tech-step ol, .tech-step ul { color: var(--fg2); font-size: 14.5px; line-height: 1.7; padding-left: 20px; margin: 0 0 14px; }
.tech-step li { margin-bottom: 6px; }
.tech-step li code, .tech-step p code { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; background: var(--surface-3); padding: 2px 6px; border-radius: 5px; color: var(--accent-2); }

.code-block {
  font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.7;
  background: var(--code-bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 20px; color: #c8c4f0; overflow-x: auto; white-space: pre;
  margin: 14px 0;
}
.code-block .c-key { color: var(--accent-2); }
.code-block .c-dim { color: var(--fg3); }

.callout {
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 14px 0;
  font-size: 14px; color: var(--fg2); line-height: 1.6;
}
.callout b { color: var(--fg1); }

.tech-table {
  width: 100%; border-collapse: collapse; margin: 14px 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  font-size: 13.5px;
}
.tech-table th, .tech-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); }
.tech-table th { background: var(--surface-3); color: var(--fg1); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.tech-table td { color: var(--fg2); }
.tech-table tr:last-child td { border-bottom: none; }
.tech-table td code { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent-2); }
.tech-table td strong { color: var(--fg1); }

/* ============ FOOTER ============ */
footer { border-top: 1px solid var(--border); background: var(--surface); padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { font-size: 13.5px; color: var(--fg3); max-width: 280px; line-height: 1.6; }
.foot-col h6 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg1); margin: 0 0 16px; }
.foot-col a { display: block; font-size: 14px; color: var(--fg2); margin-bottom: 11px; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.foot-bottom p { font-size: 13px; color: var(--fg3); }
.foot-bottom .mono { color: var(--fg2); }
.foot-socials { display: flex; gap: 10px; }
.foot-socials a { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--fg2); }
.foot-socials a:hover { color: var(--accent); border-color: var(--accent-line); }
.foot-socials svg { width: 16px; height: 16px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .diagram { max-width: 440px; margin: 8px auto 0; }
  .connect-card { grid-template-columns: 1fr; }
  .connect-right { border-left: none; border-top: 1px solid var(--border); }
  .steps, .cap-grid, .price-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .url-box { flex-wrap: wrap; }
  .plan .price .amt { font-size: 36px; }
}
