/* InflowX — site styles
   Brand: true black, Geist, white actions, dotted globe.
   Signal green is used only for things that mean "a customer arrived". */

:root {
  --black: #000;
  --ink: #f2f2f2;
  --ink-2: #bdbdbd;
  --mute: #8f8f8f;
  --faint: #7a7a7a;
  --line: #1c1c1c;
  --line-2: #262626;
  --panel: #0a0a0a;
  --panel-2: #111;
  --signal: #42dc96;
  --signal-soft: rgba(66, 220, 150, 0.12);
  --error: #f0907f;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
@supports (color: oklch(0.8 0.16 158)) {
  :root { --signal: oklch(0.8 0.16 158); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; border-radius: 12px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #dcdcdc; }
.btn-ghost { background: #0b0b0b; color: var(--ink); border-color: #2a2a2a; }
.btn-ghost:hover { background: #151515; border-color: #474747; }
.btn-sm { padding: 11px 16px; border-radius: 10px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(0, 0, 0, .74);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: #141414;
}
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 26px; width: auto; }
.nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 34px; font-size: 14px; }
.nav a { color: #a3a3a3; transition: color .2s ease; }
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid #262626;
  background: #0b0b0b; cursor: pointer; position: relative;
}
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 8px var(--gutter) 20px; border-top: 1px solid #141414; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid #141414; }
.mobile-menu a:last-child { border-bottom: 0; font-weight: 600; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(44px, 6.5vw, 92px); overflow-x: clip; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: clamp(22px, 2.6vw, 32px);
  padding: 7px 15px 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel);
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2);
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px rgba(66,220,150,.6); }

.display {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(52px, 8.6vw, 118px); line-height: .9; letter-spacing: -0.045em;
}
.display .line { display: block; overflow: hidden; padding: 0 .04em .02em; }
.display .l {
  display: block;
  background-image: linear-gradient(180deg, #f6f6f6 0%, #5a5a5a 100%);
  background-size: 100% 300%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display .l1 { background-position: 0 0; }
.display .l2 { background-position: 0 50%; }
.display .l3 { background-position: 0 100%; }

.lede { margin-top: 28px; max-width: 600px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.6; color: var(--ink-2); text-wrap: balance; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Load sequence: the one orchestrated moment */
.js .display .l { transform: translateY(108%); animation: rise 1s var(--ease) forwards; }
.js .display .l1 { animation-delay: .08s; }
.js .display .l2 { animation-delay: .2s; }
.js .display .l3 { animation-delay: .32s; }
.js .eyebrow, .js .lede, .js .actions, .js .marquee { opacity: 0; animation: fadeUp .8s var(--ease) forwards; }
.js .lede { animation-delay: .55s; }
.js .actions { animation-delay: .68s; }
.js .marquee { animation-delay: .8s; }
.js .globe-wrap { opacity: 0; animation: globeIn 1.6s var(--ease) .75s forwards; }
.js .dash-wrap { opacity: 0; animation: fadeUp 1s var(--ease) 1.05s forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes globeIn { from { opacity: 0; transform: translateX(-50%) translateY(60px) scale(.96); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }

/* Services marquee */
.marquee {
  margin: 48px auto 0; max-width: 1200px; display: flex; gap: 12px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; flex: none; gap: 12px; animation: marquee 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee li {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 10px 18px 10px 12px; border-radius: 999px; background: #0f0f0f; border: 1px solid #1d1d1d;
  font-size: 14px; color: #dadada;
}
.marquee li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #5c5c5c; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.3l2 2 4-4.4' fill='none' stroke='%23cfcfcf' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
@keyframes marquee { to { transform: translateX(calc(-100% - 12px)); } }

/* Globe */
.globe-stage { position: relative; margin-top: clamp(20px, 3vw, 40px); }
.globe-wrap {
  position: relative; left: 50%; transform: translateX(-50%);
  width: min(1100px, max(100%, 620px)); aspect-ratio: 2.2 / 1; overflow: hidden;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.globe-wrap.dragging { cursor: grabbing; }
.globe-wrap canvas { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1 / 1; display: block; }
.globe-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; background: linear-gradient(180deg, rgba(0,0,0,0), #000); pointer-events: none; }

/* Dashboard */
.dash-wrap { position: relative; z-index: 2; margin-top: clamp(-170px, -12vw, -64px); }
.dash {
  max-width: 1160px; margin-inline: auto; text-align: left;
  border-radius: 18px; background: var(--panel); border: 1px solid #232323; overflow: hidden;
  box-shadow: 0 -30px 120px -30px rgba(255,255,255,.09);
}
.dash-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #1a1a1a; }
.dots { display: flex; gap: 7px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }
.dash-title { font-size: 13px; font-weight: 500; color: #d4d4d4; margin-left: 6px; }
.dash-note { font-size: 11px; color: var(--mute); padding: 3px 9px; border-radius: 999px; background: #151515; border: 1px solid #222; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(66,220,150,.5); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(66,220,150,.55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(66,220,150,0); } }

.dash-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.dash-main { padding: 22px 22px 24px; min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 2px 16px; border-left: 1px solid #1a1a1a; min-width: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-label { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-value { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-value.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { color: var(--signal); } 100% { color: var(--ink); } }
.stat-sub { font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-sub.up { color: var(--signal); }

.chart { margin-top: 26px; }
.chart-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); }
.chart-range { color: var(--faint); }
.bars { margin-top: 14px; height: 128px; display: flex; align-items: flex-end; gap: 7px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: #252525; transition: height .7s var(--ease); }
.bars i:nth-last-child(2) { background: #6a6a6a; }
.bars i.now { background: #f2f2f2; }

.feed { border-left: 1px solid #1a1a1a; padding-top: 18px; min-width: 0; display: flex; flex-direction: column; }
.feed-head { font-size: 12px; color: var(--mute); padding: 0 18px 10px; }
.feed-list {
  position: relative; height: 262px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.feed-item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 18px; border-top: 1px solid #151515; }
.feed-item.new { animation: feedIn .7s var(--ease); }
@keyframes feedIn {
  0% { opacity: 0; transform: translateY(-10px); background: rgba(66,220,150,.08); }
  40% { opacity: 1; transform: none; background: rgba(66,220,150,.06); }
  100% { background: transparent; }
}
.fi-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #161616; color: #cfcfcf; }
.fi-icon.signal { background: var(--signal-soft); color: var(--signal); }
.fi-icon svg { width: 15px; height: 15px; }
.fi-text { display: flex; flex-direction: column; min-width: 0; }
.fi-title { font-size: 13px; font-weight: 500; color: #e9e9e9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-detail { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-time { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; color: var(--faint); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.hero + .section { padding-top: clamp(96px, 11vw, 160px); }
.section-head { max-width: 780px; }
.section-head h2, .faq-intro h2 {
  font-size: clamp(34px, 4.4vw, 58px); font-weight: 600; line-height: 1.04; letter-spacing: -0.038em; text-wrap: balance;
}
.section-head p, .faq-intro p { margin-top: 20px; max-width: 620px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: #a3a3a3; text-wrap: pretty; }

/* Check lists */
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid #171717; font-size: 15px; line-height: 1.45; color: #dadada; }
.checks li:first-child { border-top: 0; }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid #4f4f4f;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.3l2 2 4-4.4' fill='none' stroke='%23dadada' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Journey (services) ---------- */
.stages { position: relative; margin-top: clamp(48px, 7vw, 96px); padding-left: 72px; }
.rail { position: absolute; left: 19px; top: 64px; bottom: 120px; width: 2px; border-radius: 2px; background: #1a1a1a; }
.rail-fill { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); border-radius: 2px; background: linear-gradient(180deg, #3a3a3a, #e8e8e8); }
.rail-fill::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 5px rgba(66,220,150,.15), 0 0 18px rgba(66,220,150,.6);
  opacity: var(--head, 0); transition: opacity .3s ease;
}
.stage {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: start; padding-block: clamp(28px, 4vw, 52px);
}
.node {
  position: absolute; left: -72px; top: calc(clamp(28px, 4vw, 52px) + 2px);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #000; border: 1px solid #2c2c2c; color: var(--mute); font-size: 15px; font-weight: 600;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.stage.reached .node { background: #f2f2f2; color: #000; border-color: #f2f2f2; box-shadow: 0 0 0 6px rgba(255,255,255,.06); }
.stage-copy h3 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.stage-tag { margin-top: 6px; font-size: 15px; color: var(--mute); }
.stage-lead { margin-top: 18px; max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.stage-copy .checks { margin-top: 24px; max-width: 520px; }

/* Vignettes: small live demos */
.vignette {
  position: relative; overflow: hidden; min-height: 320px; padding: 22px;
  border-radius: 20px; border: 1px solid #1f1f1f;
  background: radial-gradient(120% 90% at 50% 0%, #141414 0%, #070707 70%);
}

/* 1: search */
.searchbar { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; background: #141414; border: 1px solid #272727; color: var(--mute); font-size: 15px; min-height: 48px; }
.typed { color: var(--ink); }
.caret { width: 1.5px; height: 18px; background: var(--ink); animation: blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.result { margin-top: 14px; padding: 16px; border-radius: 14px; background: #101010; border: 1px solid #222; }
.result-top { display: flex; gap: 12px; align-items: flex-start; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #f2f2f2; color: #000; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.result-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.result-info b { font-size: 16px; font-weight: 600; }
.rating { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.score { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.count { color: var(--mute); }
.stars {
  position: relative; width: 72px; height: 13px; background: #383838;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 1l3.1 6.6 7.2.8-5.4 4.9 1.5 7.1L12 16.8l-6.4 3.6 1.5-7.1L1.7 8.4l7.2-.8z'/%3E%3C/svg%3E");
  -webkit-mask: var(--star) 0 0 / 14.4px 13px repeat-x; mask: var(--star) 0 0 / 14.4px 13px repeat-x;
}
.stars-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 98%; background: #f2f2f2; }
.meta { font-size: 13px; color: var(--mute); }
.open-now { color: var(--signal); margin-left: 6px; }
.result-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.result-actions span { font-size: 12px; padding: 7px 13px; border-radius: 999px; border: 1px solid #2c2c2c; color: #d4d4d4; }
.result-actions span:first-child { background: #f2f2f2; color: #000; border-color: #f2f2f2; }
.result-ghost { display: flex; flex-direction: column; gap: 10px; opacity: .55; }
.result-ghost i { height: 10px; border-radius: 6px; background: #1a1a1a; }
.result-ghost i:nth-child(1) { width: 46%; }
.result-ghost i:nth-child(2) { width: 78%; }
.result-ghost i:nth-child(3) { width: 34%; }

.js .v-search .result:not(.result-ghost) { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .v-search .result-ghost { opacity: 0; transition: opacity .6s ease; }
.js .v-search .stars-fill { width: 0; transition: width 1.1s var(--ease); }
.js .v-search.typed-done .result:not(.result-ghost) { opacity: 1; transform: none; }
.js .v-search.typed-done .result-ghost { opacity: .55; transition-delay: .25s; }
.js .v-search.typed-done .stars-fill { width: 98%; transition-delay: .45s; }

/* 2: leads */
.lead-chart-label { font-size: 12px; color: var(--mute); }
.lead-chart svg { display: block; width: 100%; height: 96px; margin-top: 10px; overflow: visible; }
.lead-chart .line { fill: none; stroke: #ededed; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lead-chart .area { fill: rgba(255,255,255,.05); }
.toasts { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #101010; border: 1px solid #222; }
.toast b { display: block; font-size: 14px; font-weight: 500; color: #ececec; }
.toast span:not(.dot) { display: block; font-size: 13px; color: var(--mute); margin-top: 2px; }
.toast .dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px rgba(66,220,150,.6); }

.js .v-leads .line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.js .v-leads .area { opacity: 0; transition: opacity 1s ease .9s; }
.js .v-leads .toast { opacity: 0; transform: translateX(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .v-leads.is-in .line { stroke-dashoffset: 0; }
.js .v-leads.is-in .area { opacity: 1; }
.js .v-leads.is-in .toast { opacity: 1; transform: none; }
.js .v-leads.is-in .toast:nth-child(1) { transition-delay: .7s; }
.js .v-leads.is-in .toast:nth-child(2) { transition-delay: 1.3s; }
.js .v-leads.is-in .toast:nth-child(3) { transition-delay: 1.9s; }

/* 3: missed-call text-back */
.chat-head { display: flex; align-items: center; gap: 9px; padding-bottom: 14px; border-bottom: 1px solid #1c1c1c; font-size: 13px; color: var(--mute); }
.bubbles { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.bubble { max-width: 84%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.bubble small { display: block; margin-top: 6px; font-size: 11px; color: #5a5a5a; }
.bubble.out { align-self: flex-end; background: #f2f2f2; color: #0a0a0a; border-bottom-right-radius: 6px; }
.bubble.in { align-self: flex-start; background: #1c1c1c; color: #ececec; border-bottom-left-radius: 6px; }
.typing { align-self: flex-start; display: none; gap: 4px; padding: 13px 14px; border-radius: 16px; border-bottom-left-radius: 6px; background: #1c1c1c; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8a8a8a; animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.booked { align-self: center; display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; padding: 7px 13px; border-radius: 999px; font-size: 12px; color: var(--signal); background: var(--signal-soft); border: 1px solid rgba(66,220,150,.25); }

.js .v-chat .bubble, .js .v-chat .booked { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .v-chat .b4, .js .v-chat .b5 { display: none; }
.js .v-chat .show { opacity: 1; transform: none; }
.js .v-chat .typing.on { display: flex; }
.js .v-chat .b4.on, .js .v-chat .b5.on { display: block; }
.js .v-chat .b5.on { display: inline-flex; }

/* ---------- Packages ---------- */
.tiers { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.tier {
  display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: 22px;
  border: 1px solid #1f1f1f; background: linear-gradient(180deg, #0e0e0e 0%, #060606 100%);
}
.tier.t1 { min-height: 500px; }
.tier.t2 { min-height: 580px; }
.tier.t3 {
  min-height: 670px; border-color: #343434;
  background: radial-gradient(120% 70% at 50% 0%, #1c1c1c 0%, #080808 75%);
  box-shadow: 0 -40px 100px -50px rgba(255,255,255,.18);
}
.tier h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.amt { font-size: clamp(32px, 3vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.per { font-size: 15px; color: var(--mute); }
.price-alt { margin-top: 6px; font-size: 14px; color: var(--mute); }
.tier-desc { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.inherits { margin-top: 26px; font-size: 13px; color: var(--mute); }
.tier .checks { margin-top: 12px; margin-bottom: 32px; }
.tier .tier-desc + .checks { margin-top: 26px; }
.tier .btn { margin-top: auto; }

.js .tiers .tier { clip-path: inset(100% 0 0 0 round 22px); transition: clip-path 1.1s var(--ease); }
.js .tiers.is-in .tier { clip-path: inset(0 0 0 0 round 22px); }
.js .tiers.is-in .t2 { transition-delay: .14s; }
.js .tiers.is-in .t3 { transition-delay: .28s; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 112px; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: inherit; font-weight: inherit; }
.qa button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; background: none; border: 0; color: var(--ink); cursor: pointer; text-align: left;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.qa button:hover { color: #fff; }
.pm { position: relative; flex: none; width: 14px; height: 14px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--mute); transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
.qa.open .pm::after { transform: rotate(0deg); }
.answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.answer > div { overflow: hidden; }
.qa.open .answer { grid-template-rows: 1fr; }
.answer p { padding: 0 40px 26px 0; font-size: 16px; line-height: 1.65; color: #a3a3a3; text-wrap: pretty; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; padding-bottom: clamp(72px, 8vw, 112px); }
.contact-card {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(36px, 5vw, 80px); row-gap: 28px; align-items: start;
  padding: clamp(28px, 5vw, 64px); border-radius: 28px; border: 1px solid #1f1f1f;
  background: radial-gradient(110% 120% at 0% 0%, #1a1a1a 0%, #070707 62%);
}
.display-sm { font-size: clamp(38px, 5.6vw, 80px); line-height: .94; letter-spacing: -0.045em;
  background-image: linear-gradient(180deg, #f6f6f6 0%, #6a6a6a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display-sm span { display: block; }
.contact-title { grid-column: 1 / -1; margin-bottom: 12px; }
.contact-lede { max-width: 380px; font-size: 17px; line-height: 1.6; color: #a3a3a3; text-wrap: pretty; }

.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.opt { color: var(--faint); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: #080808; border: 1px solid var(--line-2); border-radius: 12px; outline: none; resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:hover, .field textarea:hover { border-color: #363636; }
.field input:focus, .field textarea:focus { border-color: #8f8f8f; box-shadow: 0 0 0 3px rgba(255,255,255,.07); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.err { margin-top: 7px; font-size: 13px; color: var(--error); }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { position: relative; margin: 0; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
  display: inline-block; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: #080808;
  font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.segmented span:hover { border-color: #3a3a3a; color: var(--ink); }
.segmented input:checked + span { background: #f2f2f2; border-color: #f2f2f2; color: #000; }
.segmented input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-status { font-size: 14px; color: var(--ink-2); max-width: 360px; }
.form-status.ok { color: var(--signal); }
.form-status.bad { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #141414; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 36px; }
.footer-brand img { height: 22px; width: auto; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 14px; line-height: 1.55; color: var(--mute); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; }
.footer-nav a { color: #a3a3a3; transition: color .2s ease; }
.footer-nav a:hover { color: #fff; }
.footer-legal { padding: 20px 0 36px; border-top: 1px solid #141414; font-size: 13px; color: var(--faint); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 960px) {
  .tiers { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .tier.t1, .tier.t2, .tier.t3 { min-height: 0; }
  .js .tiers .tier { clip-path: none; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .tiers.is-in .tier { clip-path: none; opacity: 1; transform: none; }
  .stage { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-intro { position: static; }
  .contact-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn-sm { display: none; }
  .globe-wrap { aspect-ratio: 1.4 / 1; }
  .dash-wrap { margin-top: -96px; }
  .dash-body { grid-template-columns: minmax(0, 1fr); }
  .chart { display: none; }
  .feed { border-left: 0; border-top: 1px solid #1a1a1a; }
  .feed-list { height: 230px; }
  .dash-note { display: none; }
  .stages { padding-left: 52px; }
  .rail { left: 15px; }
  .node { left: -52px; width: 32px; height: 32px; font-size: 13px; }
  .lead-form { grid-template-columns: minmax(0, 1fr); }
  .qa button { font-size: 17px; }
  .answer p { padding-right: 8px; }
}
@media (max-width: 420px) {
  .actions .btn { width: 100%; }
  .stat-value { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .marquee-track { animation: none !important; }
  .caret { display: none; }
}
