/* ========== TOKENS ========== */
:root {
  --bg: #050505;
  --bg-1: #0c0c0c;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --line: #232323;
  --line-2: #303030;
  --fg: #fafafa;
  --fg-2: #b4b4b4;
  --fg-3: #6e6e6e;
  --fg-4: #4a4a4a;
  --red: #ee2737;
  --red-dim: #b91c2a;
  --red-glow: rgba(238, 39, 55, 0.22);
  --lime: #c5ff3a;
  --lime-dim: #8fbf1f;
  --purple: #a78bfa;
  --yellow: #fbbf24;
  --blue: #60a5fa;
  --grad-red: linear-gradient(135deg, #ff3a4a 0%, #ee2737 50%, #b91c2a 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
  line-height: 1.4;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--red); color: #fff; }

.serif {
  font-family: 'Instrument Serif', serif;
  font-weight: 400; font-style: italic; letter-spacing: -0.015em;
}
.mono {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-feature-settings: "ss01";
}
.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.14em;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--red);
}

/* Cursor follower */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(238, 39, 55, 0.08), transparent 60%);
  pointer-events: none; z-index: 1;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: opacity 0.4s;
}

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(5,5,5, 0.6);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.02em;
}
.logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links {
  display: flex; gap: 28px; font-size: 13.5px; color: var(--fg-2);
}
.nav-links a { position: relative; padding: 4px 0; transition: color .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--red); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--line-2);
  transition: all .18s ease;
  background: transparent;
  white-space: nowrap;
}
.btn:hover { border-color: var(--fg-2); background: var(--bg-2); }
.btn-primary {
  background: var(--red); color: #fff; border-color: var(--red);
  font-weight: 500; box-shadow: 0 0 0 0 var(--red-glow);
}
.btn-primary:hover {
  background: #ff3a4a; border-color: #ff3a4a;
  box-shadow: 0 0 0 6px var(--red-glow), 0 12px 30px -10px var(--red-glow);
}
.btn-primary.lg { padding: 14px 22px; font-size: 14px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 130px 28px 80px;
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
  pointer-events: none;
}
.hero-red-glow {
  position: absolute;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 39, 55, 0.18), transparent 60%);
  filter: blur(40px);
  top: -200px; right: -200px;
  pointer-events: none;
  animation: floatRed 14s ease-in-out infinite;
}
@keyframes floatRed {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-120px, 80px); }
}

.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-family: 'Geist Mono', monospace;
  margin-bottom: 80px;
  position: relative; z-index: 2;
}
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(197, 255, 58, 0.06);
  border: 1px solid rgba(197, 255, 58, 0.22);
  color: var(--lime);
  font-size: 11px;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(197, 255, 58, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(197, 255, 58, 0); }
}

.hero-title-block {
  position: relative; z-index: 2;
}
.hero h1 {
  font-size: clamp(56px, 9.6vw, 184px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 40px;
}
.hero h1 .serif { color: var(--red); font-weight: 400; padding-right: 0.05em; }
.hero h1 .kine { display: inline-block; will-change: transform; }
.hero h1 .zmark {
  display: inline-block;
  vertical-align: -0.1em;
  width: 0.82em; height: 0.82em;
  margin: 0 0.06em;
  border-radius: 0.16em;
  animation: rotZ 14s linear infinite;
  box-shadow: 0 0 80px var(--red-glow), 0 14px 40px -10px rgba(238, 39, 55, 0.4);
  object-fit: cover;
}
@keyframes rotZ {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-bottom {
  margin-top: auto;
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 50px 60px;
  align-items: end;
}
.hero-lede {
  grid-column: 1 / -1;
  font-size: 19px;
  color: var(--fg-2);
  max-width: 720px;
  line-height: 1.5;
}
.hero-stats { display: flex; gap: 56px; grid-row: 2; grid-column: 1; }
.stat-num {
  font-size: 44px; font-weight: 500; letter-spacing: -0.035em; line-height: 1;
}
.stat-label {
  font-size: 11px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 8px; font-family: 'Geist Mono', monospace;
}
.hero-actions {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  grid-row: 2; grid-column: 2;
}
.hero-actions .small {
  font-size: 11px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.12em;
  font-family: 'Geist Mono', monospace;
}

/* Floating dashboard cards in hero background */
.hero-float {
  position: absolute; pointer-events: none;
  opacity: 0.7; z-index: 1;
  filter: blur(0.3px);
}
.hero-float.f1 {
  top: 28%; right: 5%; width: 240px;
  animation: floatA 9s ease-in-out infinite;
}
.hero-float.f2 {
  top: 18%; right: 28%; width: 200px;
  animation: floatB 11s ease-in-out infinite;
}
@keyframes floatA { 0%,100% { transform: translateY(0) rotate(-2deg);} 50% { transform: translateY(-20px) rotate(-1deg);} }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(3deg);} 50% { transform: translateY(20px) rotate(2deg);} }

.mini-card {
  background: rgba(20,20,20, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  font-size: 12px;
}
.mini-card .label {
  font-family: 'Geist Mono', monospace;
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-3); margin-bottom: 6px;
}
.mini-card .val { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.mini-card .row {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: 11px; color: var(--fg-2);
}
.mini-card .row + .row { border-top: 1px solid var(--line); }
.mini-card .row .lime { color: var(--lime); font-family: 'Geist Mono', monospace; }

/* ========== TICKER ========== */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--bg-1);
  position: relative;
}
.ticker-inner {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: scroll 60s linear infinite;
  width: max-content;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-size: 34px; color: var(--fg);
  letter-spacing: -0.015em;
}
.ticker-item .sep {
  width: 8px; height: 8px;
  background: var(--red);
  display: inline-block;
  transform: rotate(45deg);
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ========== SECTIONS COMMON ========== */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 64px; gap: 60px; flex-wrap: wrap;
}
.section-title {
  font-size: clamp(40px, 5.8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-align: left;
}
.section-title .serif { color: var(--red); }
.section-sub {
  font-size: 16px; color: var(--fg-2);
  max-width: 560px; line-height: 1.5;
}
section.block { padding: 110px 28px; position: relative; }
section.block + section.block { border-top: 1px solid var(--line); }

/* ========== CAPTURE SECTION (interactive tabs) ========== */
.capture {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 80px; align-items: stretch;
}
.capture-tabs { display: flex; flex-direction: column; gap: 8px; }
.cap-tab {
  text-align: left; padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-1);
  cursor: pointer;
  transition: all .25s ease;
  position: relative; overflow: hidden;
}
.cap-tab:hover { border-color: var(--line-2); }
.cap-tab.active {
  border-color: var(--red);
  background: rgba(238, 39, 55, 0.04);
}
.cap-tab.active::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red);
}
.cap-tab .ix {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--fg-3); letter-spacing: 0.14em;
  margin-bottom: 8px; text-transform: uppercase;
}
.cap-tab .tt {
  font-size: 19px; font-weight: 500; letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.cap-tab .desc { font-size: 13px; color: var(--fg-2); line-height: 1.45; }
.cap-tab .progress {
  margin-top: 14px; height: 2px;
  background: var(--line); border-radius: 1px;
  overflow: hidden;
}
.cap-tab .progress .fill {
  height: 100%; width: 0;
  background: var(--red);
  transition: width .1s linear;
}
.cap-tab.active .progress .fill { animation: tabFill 6s linear forwards; }
@keyframes tabFill { from { width: 0%; } to { width: 100%; } }

.capture-stage {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 540px;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.cap-panel {
  position: absolute; inset: 40px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity .35s, transform .35s;
  pointer-events: none;
}
.cap-panel.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* website widget */
.site-browser {
  width: 100%; max-width: 620px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 60px -30px #000;
}
.browser-bar {
  height: 32px; padding: 0 12px; gap: 6px;
  background: var(--bg-3); border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
}
.browser-bar .d { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.browser-bar .url-bar {
  margin-left: 12px; flex: 1; height: 20px;
  background: var(--bg-1); border-radius: 4px;
  display: flex; align-items: center; padding: 0 10px;
  font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--fg-3);
}
.site-body {
  padding: 30px 26px;
  position: relative;
  min-height: 280px;
}
.site-body .blob {
  height: 8px; background: var(--line-2); border-radius: 3px;
  margin-bottom: 10px;
}
.site-body .blob.lg { height: 16px; width: 65%; background: var(--fg-3); }
.site-body .blob.md { width: 80%; }
.site-body .blob.sm { width: 40%; }
.float-bubble {
  position: absolute; bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600;
  box-shadow: 0 14px 30px -8px var(--red-glow);
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-bubble::after {
  content: ""; position: absolute; inset: -4px;
  border: 2px solid var(--red); border-radius: 50%;
  animation: ring 2s ease-out infinite; opacity: 0;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.float-chat {
  position: absolute; right: 22px; bottom: 92px;
  width: 260px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 20px 40px -10px #000;
  animation: fadeUp .5s .2s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.float-chat .head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; margin-bottom: 12px;
}
.float-chat .av {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
}
.float-chat .bub {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 8px; border-bottom-left-radius: 2px;
  padding: 8px 10px; font-size: 11.5px; margin-bottom: 8px;
}
.float-chat .input-row {
  display: flex; gap: 6px; margin-top: 10px;
}
.float-chat input {
  flex: 1; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--fg); border-radius: 5px; font-size: 11px;
  padding: 7px 9px; font-family: inherit;
}
.float-chat input:focus { outline: none; border-color: var(--red); }
.float-chat .send {
  width: 30px; height: 30px; background: var(--red); border-radius: 5px;
  color: #fff; display: flex; align-items: center; justify-content: center;
}

/* hosted page */
.hosted-page {
  width: 100%; max-width: 380px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px #000;
}
.hosted-page .top {
  height: 90px;
  background: linear-gradient(135deg, var(--red), #8b1626);
  position: relative;
  display: flex; align-items: flex-end; padding: 14px 18px;
}
.hosted-page .top::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 30%, rgba(255,255,255,0.2), transparent 50%);
}
.hosted-page .biz-name {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 22px; color: #fff;
  position: relative; z-index: 2;
}
.hosted-page .body { padding: 22px 20px; }
.hosted-page h4 {
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.hosted-page .sub {
  font-size: 12px; color: var(--fg-2); margin-bottom: 18px;
}
.hosted-page input, .hosted-page textarea {
  width: 100%; background: var(--bg-1); border: 1px solid var(--line);
  color: var(--fg); border-radius: 6px; font-size: 12px;
  padding: 10px 12px; font-family: inherit;
  margin-bottom: 8px;
}
.hosted-page textarea { min-height: 56px; resize: none; }
.hosted-page input:focus, .hosted-page textarea:focus {
  outline: none; border-color: var(--red);
}
.hosted-page .submit {
  margin-top: 6px;
  width: 100%; background: var(--red); color: #fff;
  padding: 11px; border-radius: 6px; font-weight: 500; font-size: 12px;
}
.hosted-page .url-label {
  margin-top: 14px;
  text-align: center;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--fg-3);
}
.hosted-page .url-label .biz { color: var(--red); }

/* embed form */
.embed-form {
  width: 100%; max-width: 480px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 30px 60px -30px #000;
}
.embed-form .head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.embed-form .head .title {
  font-size: 17px; font-weight: 500;
}
.embed-form .head .badge {
  font-family: 'Geist Mono', monospace; font-size: 9px;
  background: rgba(238, 39, 55, 0.1); color: var(--red);
  padding: 4px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid rgba(238, 39, 55, 0.3);
}
.embed-form label {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-3); display: block; margin-bottom: 5px;
}
.embed-form input, .embed-form textarea, .embed-form select {
  width: 100%; background: var(--bg-1); border: 1px solid var(--line);
  color: var(--fg); border-radius: 6px; font-size: 13px;
  padding: 10px 12px; font-family: inherit;
  margin-bottom: 14px;
}
.embed-form textarea { min-height: 70px; resize: none; }
.embed-form input:focus, .embed-form textarea:focus, .embed-form select:focus {
  outline: none; border-color: var(--red);
}
.embed-form .submit {
  width: 100%; background: var(--red); color: #fff;
  padding: 12px; border-radius: 6px; font-weight: 500; font-size: 13px;
}
.embed-code {
  margin-top: 16px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: 'Geist Mono', monospace; font-size: 10.5px;
  color: var(--fg-2);
  overflow: hidden;
  position: relative;
}
.embed-code .tag-key { color: var(--red); }
.embed-code .tag-attr { color: var(--lime); }
.embed-code .tag-str { color: var(--yellow); }
.embed-code-label {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-3); margin: 16px 0 6px;
}

/* ========== INBOX SHOWCASE ========== */
.dash-frame {
  background: #0c0c0e;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 30px 80px -20px rgba(0,0,0,0.8),
    0 60px 120px -40px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.dash-bar {
  height: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center;
  padding: 0 16px; gap: 8px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.dash-bar .ds {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.06);
}
.dash-bar .ds:nth-child(1) { background: #ff5f57; border-color: #e0443e; }
.dash-bar .ds:nth-child(2) { background: #febc2e; border-color: #d4a017; }
.dash-bar .ds:nth-child(3) { background: #28c840; border-color: #1aab2e; }
.dash-bar .url {
  margin-left: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  padding: 5px 14px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.07);
  letter-spacing: 0.01em;
}
.dash-bar .right-meta {
  margin-left: auto;
  font-family: 'Geist Mono', monospace;
  font-size: 10px; color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 8px;
}
.dash-body {
  display: grid;
  grid-template-columns: 56px 220px 1fr 360px;
  min-height: 620px;
}
.dash-rail {
  border-right: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.3);
  padding: 14px 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.dash-rail .rail-logo {
  width: 32px; height: 32px; border-radius: 7px;
  margin-bottom: 14px;
}
.rail-ic {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 15px;
  cursor: pointer; transition: all .15s;
}
.rail-ic:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); }
.rail-ic.active { background: rgba(238,39,55,0.12); color: var(--red); }

.dash-side {
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 1px;
  background: rgba(0,0,0,0.15);
}
.dash-side .side-label {
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px; color: rgba(255,255,255,0.2);
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 12px 8px 5px;
}
.side-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 8px; border-radius: 6px;
  font-size: 12.5px; color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all .12s;
}
.side-item:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.8); }
.side-item.active { background: rgba(255,255,255,0.06); color: #fff; }
.side-item .count {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  padding: 2px 6px; border-radius: 3px;
}
.side-item.active .count { color: var(--red); background: rgba(238,39,55,0.12); }

.dash-main {
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column;
  overflow: hidden;
  background: rgba(255,255,255,0.01);
}
.inbox-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.inbox-head .h {
  font-size: 17px; font-weight: 600; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
  color: #fff;
}
.inbox-head .count-chip {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  padding: 3px 8px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}
.filter-pills { display: flex; gap: 5px; }
.filter-pill {
  font-size: 11px; padding: 5px 10px; border-radius: 6px;
  background: transparent; color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all .15s;
}
.filter-pill.active {
  background: var(--red); color: #fff; font-weight: 600;
  border-color: var(--red);
  box-shadow: 0 0 12px rgba(238,39,55,0.3);
}

.lead-list {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex: 1;
}
.lead-row {
  display: grid;
  grid-template-columns: 32px 1fr 90px 76px 46px;
  gap: 10px;
  align-items: center;
  padding: 12px 6px 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background .12s;
  position: relative;
}
.lead-row:hover { background: rgba(255,255,255,0.03); }
.lead-row.selected { background: rgba(238,39,55,0.05); }
.lead-row.selected::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--red);
  border-radius: 0 1px 1px 0;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700;
  flex-shrink: 0;
}
.lead-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lead-name { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.9); }
.lead-msg {
  font-size: 11.5px; color: rgba(255,255,255,0.28);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.stage-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.07em;
  padding: 3px 7px; border-radius: 4px;
  border: 1px solid; font-weight: 600;
  display: inline-block; text-align: center;
}
.stage-NEW      { color: #6ea6ff; border-color: rgba(110,166,255,0.25); background: rgba(110,166,255,0.08); }
.stage-CONTACTED{ color: #c4b5fd; border-color: rgba(196,181,253,0.25); background: rgba(196,181,253,0.08); }
.stage-QUOTED   { color: #fcd34d; border-color: rgba(252,211,77,0.25);  background: rgba(252,211,77,0.08); }
.stage-WON      { color: #b7f34a; border-color: rgba(183,243,74,0.25);  background: rgba(183,243,74,0.08); }
.stage-LOST     { color: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.1); background: transparent; }

.lead-val {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px; color: rgba(255,255,255,0.55);
  text-align: right;
}
.lead-time {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px; color: rgba(255,255,255,0.22);
  text-align: right;
}

/* Convo */
.convo {
  padding: 18px 18px 14px;
  display: flex; flex-direction: column; gap: 0;
  background: rgba(0,0,0,0.2);
  position: relative;
}
.convo-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 14px; margin-bottom: 14px;
}
.convo-head .name { font-size: 14px; font-weight: 600; color: #fff; }
.convo-head .sub { font-size: 11.5px; color: rgba(255,255,255,0.3); margin-top: 3px; }
.ai-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; font-family: 'Geist Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(238,39,55,0.1); color: #ef4867;
  padding: 4px 9px; border-radius: 5px;
  border: 1px solid rgba(238,39,55,0.25);
  white-space: nowrap;
}
.ai-chip .sparkle {
  width: 7px; height: 7px; background: var(--red);
  clip-path: polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);
  animation: sparkle 2s ease-in-out infinite;
}
@keyframes sparkle { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }

.insight {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 11px 13px;
  margin-bottom: 12px;
}
.insight-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; padding: 3px 0;
}
.insight-row + .insight-row { border-top: 1px solid rgba(255,255,255,0.04); margin-top: 3px; padding-top: 6px; }
.insight-row .l { color: rgba(255,255,255,0.28); font-family: 'Geist Mono', monospace; letter-spacing: 0.06em; font-size: 9.5px; }
.insight-row .v { color: rgba(255,255,255,0.8); font-weight: 500; font-size: 11px; }
.insight-row .v.pos { color: #b7f34a; }
.dial {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Geist Mono', monospace; font-size: 10.5px;
  color: rgba(255,255,255,0.7);
}
.dial .bar {
  width: 52px; height: 3px; background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden;
}
.dial .bar .fill { height: 100%; background: #b7f34a; border-radius: 2px; transition: width 1s ease; }

.msgs { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 160px; overflow: hidden; }
.msg {
  max-width: 84%;
  padding: 9px 12px; border-radius: 14px;
  font-size: 12px; line-height: 1.5;
}
.msg.in {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg.out {
  background: #ef4867;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 16px rgba(239,72,103,0.3);
}
.msg-time {
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px; color: rgba(255,255,255,0.2);
  margin-top: -1px; padding: 0 2px;
}
.msg.out + .msg-time { text-align: right; }

.ai-draft {
  margin-top: 10px;
  border: 1px solid rgba(238,39,55,0.3);
  background: rgba(238,39,55,0.04);
  border-radius: 10px;
  padding: 11px 12px;
}
.ai-draft-head {
  display: flex; justify-content: space-between;
  margin-bottom: 7px;
  font-size: 9.5px; color: #ef4867;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.ai-draft-head span:last-child {
  color: rgba(255,255,255,0.3);
  cursor: pointer;
}
.ai-draft-head span:last-child:hover { color: rgba(255,255,255,0.6); }
.ai-draft-head .icon {
  display: inline-block; width: 7px; height: 7px; background: var(--red);
  clip-path: polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);
  margin-right: 5px; vertical-align: middle;
}
.ai-draft-body { font-size: 11.5px; line-height: 1.55; color: rgba(255,255,255,0.7); }
.ai-draft-body.typing::after {
  content: "▍"; color: var(--red); animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ========== PIPELINE BLOCK ========== */
.pipeline-wrap {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px;
  box-shadow: 0 40px 100px -40px #000;
}
.pipe-head-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.pipe-head-row .h {
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
}
.pipe-controls {
  display: flex; gap: 6px;
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--fg-3);
}
.pipe-control {
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--bg-2);
}
.pipe-control.active { background: var(--red); color: #fff; border-color: var(--red); }

.pipeline {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; position: relative;
}
.pipe-col {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 10px;
  min-height: 360px;
  transition: background .2s;
  position: relative;
}
.pipe-col.drop-active { background: rgba(238, 39, 55, 0.04); border-color: var(--red); }
.pipe-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; padding: 0 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
}
.pipe-head .total {
  color: var(--fg-3); font-size: 9.5px;
}
.pipe-head .name { display: flex; align-items: center; gap: 6px; }
.pipe-head .name::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
}
.name-NEW::before { background: var(--blue); }
.name-CONTACTED::before { background: var(--purple); }
.name-QUOTED::before { background: var(--yellow); }
.name-WON::before { background: var(--lime); }
.name-LOST::before { background: var(--fg-3); }
.name-NEW { color: var(--blue); }
.name-CONTACTED { color: var(--purple); }
.name-QUOTED { color: var(--yellow); }
.name-WON { color: var(--lime); }
.name-LOST { color: var(--fg-3); }

.pipe-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px;
  margin-bottom: 8px;
  font-size: 11.5px;
  cursor: grab;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
}
.pipe-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 6px 14px -6px #000;
}
.pipe-card.ghost {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 20px 40px -10px var(--red-glow), 0 0 0 1px var(--red);
  border-color: var(--red);
  background: var(--bg-2);
  transition: top .8s cubic-bezier(.7, -0.1, .2, 1.2), left .8s cubic-bezier(.7, -0.1, .2, 1.2);
}
.pipe-slot {
  height: 78px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px dashed transparent;
  transition: border-color .3s;
}
.pipe-col.drop-active .pipe-slot {
  border-color: rgba(238, 39, 55, 0.25);
}
.pipe-card .nn { font-weight: 500; margin-bottom: 3px; font-size: 12px; }
.pipe-card .vv {
  font-family: 'Geist Mono', monospace; color: var(--fg-3); font-size: 10px;
  display: flex; justify-content: space-between;
}
.pipe-card .avatar-mini {
  width: 18px; height: 18px; border-radius: 50%; font-size: 8.5px;
}
.pipe-card .meta-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
}

.pipe-total-row {
  display: flex; justify-content: space-between;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: 'Geist Mono', monospace; font-size: 11px;
}
.pipe-total-row .grand {
  color: var(--fg);
}
.pipe-total-row .grand b { color: var(--lime); font-weight: 500; }

/* ========== QUOTES + STRIPE SPLIT ========== */
.split-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.split-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px;
  position: relative; overflow: hidden;
}
.split-card .num {
  position: absolute; top: 24px; right: 28px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px; color: var(--fg-3); letter-spacing: 0.14em;
}
.split-card h3 {
  font-size: 28px; font-weight: 500; letter-spacing: -0.025em;
  line-height: 1.1; margin-bottom: 12px; margin-top: 20px;
  max-width: 360px;
}
.split-card h3 .serif { color: var(--red); }
.split-card .desc {
  font-size: 14px; color: var(--fg-2); line-height: 1.5;
  margin-bottom: 24px; max-width: 360px;
}

.quote-mock {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px;
}
.quote-mock .qhead {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.quote-mock .qmeta-l { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.quote-mock .qmeta-n { font-size: 14px; font-weight: 500; }
.quote-mock .qline {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; padding: 7px 0;
  animation: lineIn .4s both;
}
.quote-mock .qline:nth-child(1) { animation-delay: .1s; }
.quote-mock .qline:nth-child(2) { animation-delay: .2s; }
.quote-mock .qline:nth-child(3) { animation-delay: .3s; }
.quote-mock .qline:nth-child(4) { animation-delay: .4s; }
@keyframes lineIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
.quote-mock .qline .l { color: var(--fg-2); }
.quote-mock .qline .v { font-family: 'Geist Mono', monospace; }
.quote-mock .qtotal {
  margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.quote-mock .qtotal .lbl { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; }
.quote-mock .qtotal .amt { font-size: 28px; font-weight: 500; letter-spacing: -0.025em; }
.quote-mock .stripe-btn {
  margin-top: 16px;
  width: 100%; padding: 12px;
  background: var(--red); color: #fff;
  border-radius: 6px; font-weight: 500; font-size: 13px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s;
}
.quote-mock .stripe-btn:hover { background: #ff3a4a; }

.stripe-pay {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px; position: relative;
}
.stripe-pay .ph {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.stripe-pay .ph .l {
  font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.stripe-pay .amt-big {
  font-size: 42px; font-weight: 500; letter-spacing: -0.035em;
  color: var(--lime); line-height: 1;
}
.stripe-pay .sub { font-size: 12px; color: var(--fg-2); margin-top: 6px; }
.stripe-pay .cc-row {
  margin-top: 22px; display: flex; gap: 10px;
}
.stripe-pay .cc-card {
  flex: 1; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 10px 12px;
  font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--fg-2);
  display: flex; align-items: center; justify-content: space-between;
}
.stripe-pay .succeeded {
  padding: 0 14px;
  background: rgba(197, 255, 58, 0.08);
  border: 1px solid rgba(197, 255, 58, 0.35);
  border-radius: 6px;
  display: flex; align-items: center; gap: 8px;
  color: var(--lime); font-family: 'Geist Mono', monospace; font-size: 11px;
  font-weight: 500;
}
.stripe-pay .succeeded .tick {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--lime); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
}

/* ========== REVENUE BLOCK ========== */
.revenue-block { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.rev-main {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column;
}
.rev-main .l {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3);
}
.rev-main .big-num {
  font-size: clamp(48px, 7vw, 96px); font-weight: 500;
  letter-spacing: -0.04em; line-height: 1;
  margin-top: 6px;
}
.rev-main .delta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace; font-size: 13px;
  color: var(--lime); margin-top: 14px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(197, 255, 58, 0.08);
  border: 1px solid rgba(197, 255, 58, 0.25);
  align-self: flex-start;
}
.rev-chart {
  margin-top: auto;
  display: flex; align-items: flex-end; gap: 6px;
  height: 140px;
}
.rev-bar {
  flex: 1; background: var(--line-2);
  border-radius: 3px 3px 0 0;
  transition: background .2s;
  height: 0;
  position: relative;
}
.rev-bar.hi { background: var(--lime); }
.rev-bar.tallest::after {
  content: attr(data-label);
  position: absolute; bottom: 100%; left: 50%;
  transform: translateX(-50%); margin-bottom: 6px;
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--lime); white-space: nowrap;
}
.rev-axis {
  display: flex; justify-content: space-between;
  margin-top: 6px;
  font-family: 'Geist Mono', monospace; font-size: 9px;
  color: var(--fg-3); letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rev-side {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column;
}
.rev-side .l {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3);
}
.rev-side .num {
  font-size: 36px; font-weight: 500; letter-spacing: -0.03em;
  margin-top: 6px; margin-bottom: 18px;
}
.activity-feed {
  display: flex; flex-direction: column; gap: 0;
  flex: 1;
}
.activity-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  animation: actIn .4s both;
}
.activity-row:first-child { border-top: none; }
.activity-row .who { display: flex; align-items: center; gap: 8px; }
.activity-row .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
}
.activity-row .a { color: var(--fg-2); }
.activity-row .v { font-family: 'Geist Mono', monospace; color: var(--lime); font-weight: 500; }
@keyframes actIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }

.cust-list .cust-row {
  display: grid; grid-template-columns: 24px 1fr auto;
  gap: 10px; align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.cust-list .cust-row:first-of-type { border-top: none; }
.cust-list .av-mini {
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 9px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600;
}
.cust-list .nm { font-weight: 500; font-size: 12.5px; }
.cust-list .ltv { font-family: 'Geist Mono', monospace; color: var(--lime); font-size: 12px; }

/* ========== AI BLOCK ========== */
.ai-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.ai-feature-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ai-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.ai-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.ai-card:hover .ai-card-glow { opacity: 1; }
.ai-card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--red-glow), transparent 50%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
  border-radius: inherit;
}
.ai-card .l {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-3); margin-bottom: 14px;
}
.ai-card .v { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; }
.ai-card .v.pos { color: var(--lime); }
.ai-card .v.warn { color: var(--yellow); }
.ai-card .desc {
  font-size: 12px; color: var(--fg-3); margin-top: 8px;
  line-height: 1.45;
}
.ai-card .meter {
  height: 4px; background: var(--bg-3); border-radius: 2px;
  margin-top: 12px; overflow: hidden;
}
.ai-card .meter-fill { height: 100%; background: var(--lime); border-radius: 2px; width: 0; transition: width 1.2s ease; }

.ai-suggest-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column;
}
.ai-suggest-head {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--red); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.ai-suggest-head .icon {
  width: 12px; height: 12px; background: var(--red);
  clip-path: polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);
  animation: sparkle 2s ease-in-out infinite;
}
.ai-suggest-context {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px;
  margin-bottom: 14px;
  font-size: 12px; color: var(--fg-2);
  font-style: italic;
}
.ai-suggest-body {
  font-size: 14px; line-height: 1.55;
  flex: 1;
}
.ai-suggest-body.typing::after {
  content: "▍"; color: var(--red); animation: blink 1s infinite;
}
.ai-suggest-actions {
  display: flex; gap: 8px; margin-top: 18px;
}
.ai-suggest-actions .b {
  padding: 9px 14px; border-radius: 6px; font-size: 11.5px;
  border: 1px solid var(--line); transition: all .15s;
}
.ai-suggest-actions .b.primary {
  background: var(--red); color: #fff; border-color: var(--red); font-weight: 500;
}
.ai-suggest-actions .b.primary:hover { background: #ff3a4a; }
.ai-suggest-actions .b:hover:not(.primary) { background: var(--bg-2); }

/* ========== WEBSITE BUILDER ========== */
.builder-grid {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 24px;
}
.builder-controls {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 20px;
}
.bc-group { display: flex; flex-direction: column; gap: 8px; }
.bc-group .label {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg-3);
}
.bc-group input {
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--fg); border-radius: 6px;
  padding: 10px 12px; font-size: 13px; font-family: inherit;
}
.bc-group input:focus { outline: none; border-color: var(--red); }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 32px; height: 32px; border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: transform .15s;
  border: 2px solid transparent;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--fg); }
.swatch.active::after {
  content: "✓"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 14px; font-weight: 700;
  mix-blend-mode: difference;
}

.preview-frame {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  min-height: 480px;
  display: flex; flex-direction: column;
}
.preview-frame .pbar {
  height: 32px;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 12px; gap: 6px;
}
.preview-frame .pbar .pd { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.preview-frame .pbar .purl {
  margin-left: 14px;
  font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--fg-3);
}
.preview-frame .pbar .purl span { color: var(--red); }
.preview-content {
  flex: 1; display: flex; flex-direction: column;
  background: #fff; color: #111;
  transition: background .3s, color .3s;
}
.preview-content.dark { background: #0a0a0a; color: #f5f5f5; }
.preview-hero {
  padding: 50px 50px 32px;
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 30px; align-items: center;
  flex: 1;
}
.preview-hero h2 {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(36px, 5vw, 64px); line-height: 0.95;
  letter-spacing: -0.025em; font-weight: 400;
}
.preview-hero h2 .accent { color: var(--p-accent, #ee2737); display: block; }
.preview-hero .ph {
  font-size: 14px; color: rgba(0,0,0,0.6);
  margin-top: 14px; line-height: 1.5;
}
.preview-content.dark .preview-hero .ph { color: rgba(255,255,255,0.6); }
.preview-hero .pcta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--p-accent, #ee2737); color: #fff;
  font-size: 13px; font-weight: 500; margin-top: 22px;
}
.preview-hero .pimg {
  aspect-ratio: 1/1;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0 6px, transparent 6px 12px),
    #eee;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', monospace; font-size: 11px; color: #888;
}
.preview-content.dark .preview-hero .pimg {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 6px, transparent 6px 12px),
    #1a1a1a;
  color: #555;
}
.preview-services {
  padding: 20px 50px 30px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.psvc {
  border: 1px solid rgba(0,0,0,0.1); border-radius: 10px;
  padding: 14px 16px;
  font-size: 12px;
}
.preview-content.dark .psvc { border-color: rgba(255,255,255,0.08); }
.psvc .ico {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--p-accent, #ee2737);
  margin-bottom: 10px;
}
.psvc .tt { font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.psvc .desc { color: rgba(0,0,0,0.5); font-size: 11px; line-height: 1.4; }
.preview-content.dark .psvc .desc { color: rgba(255,255,255,0.5); }

/* ========== PRICING ========== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px; margin: 0 auto;
}
.price-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px 34px;
  position: relative;
  transition: border-color .25s, transform .25s;
  display: flex; flex-direction: column;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.price-card.featured {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(238, 39, 55, 0.08) 0%, var(--bg-1) 60%);
  box-shadow: 0 0 0 1px var(--red), 0 30px 80px -30px var(--red-glow);
  transform: scale(1.02);
}
.price-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.price-tier-label {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--fg-3); margin-bottom: 16px;
}
.price-card.featured .price-tier-label { color: var(--red); }
.price-row { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 8px; }
.price-row .amt {
  font-size: 60px; font-weight: 500; letter-spacing: -0.04em; line-height: 0.95;
}
.price-row .per {
  font-size: 14px; color: var(--fg-3); padding-bottom: 8px;
  font-family: 'Geist Mono', monospace;
}
.price-tag {
  font-size: 13.5px; color: var(--fg-2); margin-bottom: 22px;
  line-height: 1.4;
}
.price-list {
  list-style: none; display: flex; flex-direction: column; gap: 9px;
  font-size: 13.5px; color: var(--fg);
  flex: 1; margin-bottom: 24px;
}
.price-list li {
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.4;
}
.price-list li::before {
  content: "✓"; flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 1px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.price-card.featured .price-list li::before { color: var(--red); }
.price-cta {
  display: block; width: 100%;
  padding: 14px; border-radius: 10px;
  font-size: 13.5px; font-weight: 500;
  text-align: center;
  border: 1px solid var(--line-2);
  background: transparent; color: var(--fg);
  transition: all .15s;
  margin-top: 32px;
}
.price-cta:hover { background: var(--bg-2); border-color: var(--fg-2); }
.price-card.featured .price-cta {
  background: var(--red); color: #fff; border-color: var(--red);
}
.price-card.featured .price-cta:hover { background: #ff3a4a; border-color: #ff3a4a; }
.price-popular {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--red); color: #fff;
  font-family: 'Geist Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 6px 12px; border-radius: 999px;
  font-weight: 500;
}

.addon-card {
  margin-top: 20px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
}
.addon-card .addon-l { display: flex; align-items: center; gap: 18px; }
.addon-card .addon-ico {
  width: 48px; height: 48px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.addon-card .addon-ico .globe {
  width: 22px; height: 22px;
  border: 2px solid var(--red); border-radius: 50%;
  position: relative;
}
.addon-card .addon-ico .globe::before,
.addon-card .addon-ico .globe::after {
  content: ""; position: absolute; left: 0; right: 0;
  border-top: 2px solid var(--red);
}
.addon-card .addon-ico .globe::before { top: 50%; }
.addon-card .addon-ico .globe::after {
  inset: 0; border-radius: 50%; border: 2px solid var(--red);
  transform: scaleX(0.5);
}
.addon-card .addon-title { font-size: 17px; font-weight: 500; }
.addon-card .addon-desc { font-size: 13px; color: var(--fg-2); margin-top: 2px; }
.addon-card .addon-price {
  display: flex; align-items: center; gap: 16px;
}
.addon-card .addon-amt {
  font-size: 32px; font-weight: 500; letter-spacing: -0.03em;
}
.addon-card .addon-once {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em;
}

/* ========== CTA ========== */
.cta {
  padding: 140px 28px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, var(--red-glow), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta h2 {
  font-size: clamp(48px, 8.5vw, 152px);
  line-height: 0.92; letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 1100px; margin: 0 auto 32px;
}
.cta h2 .serif { color: var(--red); }
.cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cta-meta {
  margin-top: 26px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.14em;
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
  padding: 60px 28px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
.footer-col h4 {
  font-family: 'Geist Mono', monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--fg-3); margin-bottom: 14px;
}
.footer-col a {
  display: block; padding: 5px 0; font-size: 13px; color: var(--fg-2);
  transition: color .12s;
}
.footer-col a:hover { color: var(--fg); }
.footer-brand .tag {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 24px; line-height: 1.25;
  margin-top: 18px; max-width: 320px;
}
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.12em;
  flex-wrap: wrap; gap: 10px;
}
.footer-ascii {
  font-family: 'Geist Mono', monospace;
  font-size: 9px; color: var(--line-2);
  white-space: pre; line-height: 1;
  text-align: center;
  margin-top: 40px;
  user-select: none;
}

/* Floating live notifications */
.live-notif {
  position: fixed; bottom: 24px; left: 24px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px; font-size: 12px;
  display: flex; align-items: center; gap: 10px;
  z-index: 90;
  box-shadow: 0 20px 40px -15px #000;
  opacity: 0; transform: translateY(20px);
  transition: opacity .35s, transform .35s;
  max-width: 320px;
  pointer-events: none;
}
.live-notif.show { opacity: 1; transform: translateY(0); }
.live-notif .ico {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  color: #fff; flex-shrink: 0;
}
.live-notif .txt strong { font-weight: 600; }
.live-notif .txt .meta {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--fg-3); margin-top: 2px;
}

/* ========== DOC PAGE (legal, contact) ========== */
.doc-hero {
  position: relative;
  padding: 150px 28px 70px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.doc-hero-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: end;
  position: relative; z-index: 2;
}
.doc-hero h1 {
  font-size: clamp(50px, 7.5vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 900px;
}
.doc-hero h1 .serif { color: var(--red); }
.doc-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.14em;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}

/* Contact specific */
.contact-section {
  max-width: 1240px; margin: 80px auto 0;
  padding: 0 28px 120px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-left { display: flex; flex-direction: column; gap: 32px; }
.contact-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex; align-items: flex-start; gap: 18px;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.contact-card:hover { border-color: var(--red); transform: translateY(-2px); }
.contact-card .ic {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--red);
}
.contact-card .body { flex: 1; }
.contact-card .label {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg-3); margin-bottom: 6px;
}
.contact-card .title { font-size: 17px; font-weight: 500; margin-bottom: 4px; }
.contact-card .val { font-size: 13px; color: var(--fg-2); line-height: 1.45; }
.contact-card .val .accent { color: var(--red); }
.contact-card .arr {
  align-self: center;
  color: var(--fg-3);
  transition: transform .2s, color .2s;
}
.contact-card:hover .arr { color: var(--red); transform: translateX(4px); }

.contact-form-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 18px;
  padding: 48px 52px 44px;
  position: relative; overflow: hidden;
}
.contact-form-card::before {
  content: ""; position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.contact-form-card h3 {
  font-size: 26px; font-weight: 500; letter-spacing: -0.025em;
  line-height: 1.1; margin-bottom: 6px;
  position: relative;
}
.contact-form-card h3 .serif { color: var(--red); }
.contact-form-card .sub {
  font-size: 14px; color: var(--fg-2); margin-bottom: 28px;
  position: relative;
}
.contact-form-card form { position: relative; display: flex; flex-direction: column; gap: 16px; }
.contact-form-card label {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg-3);
  display: block; margin-bottom: 6px;
}
.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--fg); border-radius: 8px; font-size: 14px;
  padding: 12px 14px; font-family: inherit;
  transition: border-color .15s;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
  outline: none; border-color: var(--red);
}
.contact-form-card textarea { min-height: 160px; resize: vertical; }
.contact-form-card .row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form-card .submit-btn {
  margin-top: 8px;
  background: var(--red); color: #fff; border: none;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  justify-content: center;
  transition: background .15s, transform .15s;
  align-self: flex-start;
}
.contact-form-card .submit-btn:hover { background: #ff3a4a; transform: translateY(-2px); }
.contact-form-card .legal-note {
  font-size: 11px; color: var(--fg-3); line-height: 1.5;
  margin-top: 10px;
}
.contact-form-card .legal-note a { color: var(--red); }

/* Legal page */
.legal-shell {
  max-width: 1240px; margin: 60px auto 0;
  padding: 0 28px 120px;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}
.legal-toc {
  position: sticky; top: 90px;
  display: flex; flex-direction: column; gap: 4px;
}
.legal-toc .toc-label {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--fg-3); margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.legal-toc a {
  display: block;
  font-size: 12.5px;
  color: var(--fg-2);
  padding: 7px 0 7px 12px;
  border-left: 1px solid var(--line);
  transition: all .15s;
}
.legal-toc a:hover { color: var(--fg); border-color: var(--line-2); }
.legal-toc a.active { color: var(--red); border-color: var(--red); }

.legal-body {
  font-size: 15px; line-height: 1.7;
  color: var(--fg-2);
}
.legal-body h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 48px 0 14px;
  scroll-margin-top: 100px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .num {
  font-family: 'Geist Mono', monospace;
  font-size: 13px; color: var(--red);
  letter-spacing: 0.1em;
  margin-right: 12px;
  font-weight: 400;
}
.legal-body h3 {
  font-size: 17px; font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin: 28px 0 8px;
}
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--red); }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--fg); font-weight: 500; }
.legal-body .legal-meta-box {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  font-family: 'Geist Mono', monospace; font-size: 12px;
  color: var(--fg-2);
  margin-bottom: 36px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.legal-body .legal-meta-box .lbl { color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; }
.legal-body .legal-meta-box .v { display: block; margin-top: 2px; color: var(--fg); }

/* ========== RESPONSIVE ========== */

/* ── 1200px: wide tablet ── */
@media (max-width: 1200px) {
  .dash-body { grid-template-columns: 60px 200px 1fr 320px; }
  .revenue-block { grid-template-columns: 1fr 1fr; }
  .revenue-block > :first-child { grid-column: span 2; }
}

/* ── 1000px: tablet landscape ── */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { align-items: flex-start; grid-row: auto; grid-column: auto; }
  .hero-stats { grid-row: auto; grid-column: auto; gap: 36px; }
  .hero-float { display: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 48px; }
  .section-sub { max-width: 100%; }

  .capture { grid-template-columns: 1fr; gap: 40px; }
  .dash-body { grid-template-columns: 50px 1fr; }
  .dash-side, .convo { display: none; }
  .split-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .builder-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .contact-section { grid-template-columns: 1fr; gap: 40px; }
  .legal-shell { grid-template-columns: 1fr; gap: 40px; }
  .legal-toc { position: static; }
  .doc-hero-inner { grid-template-columns: 1fr; align-items: start; }
  .doc-meta { align-items: flex-start; }
}

/* ── 700px: mobile landscape / large phones ── */
@media (max-width: 700px) {
  section.block { padding: 64px 18px; }
  .nav { padding: 10px 16px; }

  .hero { padding: 96px 18px 48px; min-height: auto; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 48px; font-size: 10px; }
  .hero-lede { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 24px 40px; }
  .stat-num { font-size: 36px; }

  .capture-stage { min-height: 400px; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-services { grid-template-columns: 1fr; padding: 20px 24px 30px; }
  .preview-hero { grid-template-columns: 1fr; padding: 30px 24px 24px; }
  .pimg { display: none; }

  .addon-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .addon-price { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }

  .revenue-block { grid-template-columns: 1fr; }
  .revenue-block > :first-child { grid-column: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-ascii { display: none; }
}

/* ── 480px: portrait phones ── */
@media (max-width: 480px) {
  .nav { padding: 8px 14px; }

  .hero { padding: 86px 16px 40px; }
  .hero-lede { font-size: 15px; }
  .hero-stats { gap: 18px 28px; }
  .stat-num { font-size: 30px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions .btn.lg { padding: 14px 18px; }

  section.block { padding: 52px 16px; }
  .section-head { margin-bottom: 32px; }
  .section-sub { font-size: 15px; }

  .cap-tab { padding: 14px 16px; }
  .cap-tab .tt { font-size: 16px; }
  .capture-stage { min-height: 320px; padding: 20px; }
  .cap-panel { inset: 20px; }

  .pipeline {
    display: flex; overflow-x: auto; gap: 10px; padding-bottom: 8px;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
  }
  .pipe-col { min-width: 200px; flex-shrink: 0; scroll-snap-align: start; }

  .split-card { padding: 28px 20px; }

  .big-num { font-size: 52px; }
  .rev-chart { height: 100px; }
  .ai-feature-stack { grid-template-columns: 1fr !important; }
  .ai-suggest-card { display: none; }
  .ai-grid { grid-template-columns: 1fr !important; }
  .ai-card { border-color: var(--line-2); border-radius: 12px; }

  .pricing-grid { max-width: 100%; }
  .price-card { padding: 24px 20px; }
  .addon-card { padding: 20px; }

  .footer { padding: 56px 16px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; align-items: flex-start; font-size: 11px; }

  .cta-inner { padding: 56px 20px; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-actions .btn { justify-content: center; }

  .ticker { padding: 14px 0; }
  .ticker-item { font-size: 26px; }
  .dash-frame { border-radius: 12px; }
}

/* ========== MOBILE NAV TOGGLE ========== */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 38px; height: 38px;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 0;
  padding: 7px;
  flex-shrink: 0;
}
.nav-mobile-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--fg); border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}
.nav-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.nav-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px) { .nav-mobile-toggle { display: flex; } }

/* ========== MOBILE NAV DRAWER ========== */
.mobile-nav-drawer {
  position: fixed;
  top: 57px; left: 0; right: 0;
  z-index: 98;
  background: rgba(5,5,5,0.98);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid var(--line-2);
  animation: mobileNavIn 0.22s cubic-bezier(0.22,0.61,0.36,1) both;
  overflow: hidden;
}
@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav-links {
  display: flex; flex-direction: column;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-links a {
  padding: 15px 22px;
  font-size: 15px; font-weight: 500; color: var(--fg-2);
  border-bottom: 1px solid var(--line);
  transition: color 0.14s, background 0.14s;
}
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a:hover, .mobile-nav-links a:active { color: var(--fg); background: rgba(255,255,255,0.03); }
.mobile-nav-cta {
  display: flex; gap: 8px;
  padding: 14px 22px 20px;
}
.mobile-nav-cta .btn { flex: 1; justify-content: center; font-size: 14px; }

/* ── Safe-area insets for notched phones ── */
@supports (padding: max(0px)) {
  @media (max-width: 480px) {
    .nav {
      padding-left: max(14px, env(safe-area-inset-left));
      padding-right: max(14px, env(safe-area-inset-right));
    }
    section.block {
      padding-left: max(16px, env(safe-area-inset-left));
      padding-right: max(16px, env(safe-area-inset-right));
    }
    .footer {
      padding-bottom: max(32px, env(safe-area-inset-bottom));
    }
  }
}

/* ========== CONTACT & DOC PAGES — MOBILE ========== */
@media (max-width: 700px) {
  .doc-hero { padding: 100px 18px 50px; }
  .contact-section { padding: 0 18px 80px; margin-top: 48px; }
  .contact-form-card { padding: 24px 20px 24px; }
}
@media (max-width: 480px) {
  .doc-hero { padding: 86px 16px 40px; }
  .contact-section { padding: 0 16px 60px; margin-top: 36px; }
  .contact-form-card .row-2 { grid-template-columns: 1fr; }
  .contact-form-card input,
  .contact-form-card textarea,
  .contact-form-card select { font-size: 16px !important; }
  .contact-form-card .submit-btn { width: 100%; align-self: stretch; }
}
