/* ============================================================
   floWyse — marketing site
   Brand tokens mirrored from the dashboard (tailwind.config.js)
   ============================================================ */

:root {
  --bg: #06070a;
  --bg-2: #0a0a0c;
  --surface: #101216;
  --surface-2: #14171c;
  --card: #15181e;
  --border: #23272f;
  --border-soft: #1b1f26;

  --lime: #c8f542;
  --lime-dim: #a3c935;
  --cyan: #22d3ee;
  --cyan-dim: #0e9fb8;
  --gold: #d4a853;
  --brand-yellow: #FFDE59;
  --danger: #f87171;
  --violet: #8b7cf6;

  --text: #f2f5f7;
  --text-2: rgba(242, 245, 247, 0.62);
  --text-3: rgba(242, 245, 247, 0.38);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --nav-h: 84px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- ambient background ---------- */
.bg-fx {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.bg-fx::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(760px 520px at 78% -6%, rgba(34, 211, 238, 0.14), transparent 62%),
    radial-gradient(680px 480px at 8% 12%, rgba(200, 245, 66, 0.10), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(139, 124, 246, 0.09), transparent 62%);
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 35%, transparent 78%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.stats-band { padding: 52px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lime);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(200, 245, 66, 0.22);
  background: rgba(200, 245, 66, 0.07);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 rgba(200,245,66,.6); animation: pulseDot 2.2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(200,245,66,.45); }
  70% { box-shadow: 0 0 0 8px rgba(200,245,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,245,66,0); }
}

h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(38px, 5.6vw, 70px); }
h2 { font-size: clamp(30px, 3.9vw, 48px); line-height: 1.12; }
h3 { font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0; }

.lead { color: var(--text-2); font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.68; }
.muted { color: var(--text-2); }
.grad-lime {
  background: linear-gradient(103deg, var(--lime) 0%, #e7ff8f 40%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-cyan {
  background: linear-gradient(103deg, var(--cyan) 0%, #7ee8fa 55%, var(--lime) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin: 18px 0 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--lime), #dcff6e);
  color: #0a0f02; box-shadow: 0 8px 28px rgba(200, 245, 66, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(200, 245, 66, 0.34); }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 150%; }
.btn-ghost {
  background: rgba(255,255,255,0.03); border-color: var(--border); color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(34,211,238,.45); background: rgba(34,211,238,.07); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 60;
  display: flex; align-items: center;
  transition: background .35s, border-color .35s, backdrop-filter .35s, height .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 7, 10, 0.78); backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--border-soft); height: 70px;
}
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand .mark { width: 40px; height: 40px; flex: none; object-fit: contain; }
.brand .wordmark { height: 34px; width: auto; flex: none; object-fit: contain; }
.brand b { color: var(--lime); font-weight: 700; }
footer .brand .mark { width: 42px; height: 42px; }
footer .brand .wordmark { height: 34px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px; font-size: 14px; color: var(--text-2);
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 8px; color: var(--text); cursor: pointer; }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 55;
  background: rgba(8,9,12,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 14px 24px 22px;
  display: none; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 8px; border-radius: 10px; color: var(--text-2); font-weight: 500; }
.mobile-menu a:hover { background: rgba(255,255,255,.05); color: var(--text); }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 70; width: 0;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  box-shadow: 0 0 12px rgba(34,211,238,.6);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
html.static .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.static .draw { stroke-dashoffset: 0 !important; animation: none !important; }
html.static .stat::before { width: 100% !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- hero ---------- */
.hero { padding: calc(var(--nav-h) + 78px) 0 84px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.hero h1 { margin: 22px 0 22px; }
.hero .lead { max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 42px; flex-wrap: wrap; }
.hero-meta .k { font-size: 27px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-meta .v { font-size: 12px; color: var(--text-3); letter-spacing: .07em; text-transform: uppercase; margin-top: 2px; }

.hero-visual { position: relative; }
.hero-visual .glow {
  position: absolute; inset: -14% -8%; z-index: 0;
  background: radial-gradient(closest-side, rgba(34,211,238,.20), transparent 72%);
  filter: blur(18px);
}
.schematic-card {
  position: relative; z-index: 1;
  border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  background: linear-gradient(170deg, rgba(20,23,28,.94), rgba(10,11,14,.94));
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
}
.schematic-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--border-soft);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
  font-family: var(--mono);
}
.schematic-head .dots { display: flex; gap: 5px; margin-right: 6px; }
.schematic-head .dots i { width: 8px; height: 8px; border-radius: 50%; background: #2a2f38; display: block; }
.schematic-head .dots i:first-child { background: #3a4048; }
.live-tag {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  color: var(--lime); letter-spacing: .08em;
}
.live-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: pulseDot 1.8s infinite; }

.float-card {
  position: absolute; z-index: 3;
  background: rgba(16,18,22,.92); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 15px; box-shadow: 0 18px 44px rgba(0,0,0,.6);
  animation: floaty 6s ease-in-out infinite;
}
.float-card .lbl { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.float-card .val { font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.float-a { right: -18px; top: -22px; }
.float-b { left: -18px; bottom: -22px; animation-delay: -3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  padding: 18px 0; overflow: hidden; background: rgba(255,255,255,.012);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 26px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); white-space: nowrap;
}
.marquee-track span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: rgba(200,245,66,.5); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.stat { background: rgba(13,15,19,.86); padding: 20px 20px; position: relative; overflow: hidden; }
.stat::before {
  content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--lime), transparent); transition: width 1.2s ease .2s;
}
.stat.in::before { width: 100%; }
.stat .n { font-size: clamp(23px, 2.3vw, 29px); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat .n .u { font-size: .55em; color: var(--lime); margin-left: 2px; }
.stat .t { color: var(--text-2); font-size: 12.5px; line-height: 1.5; margin-top: 5px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(168deg, rgba(21,24,30,.9), rgba(12,14,18,.9));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .4s;
}
.card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,.12), transparent 70%);
  transition: opacity .4s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(34,211,238,.32); box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.card:hover::after { opacity: 1; }
.card h3 { margin: 16px 0 9px; }
.card p { color: var(--text-2); font-size: 14.5px; line-height: 1.62; }

.icon-box {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(200,245,66,.09); border: 1px solid rgba(200,245,66,.22); color: var(--lime);
}
.icon-box.cyan { background: rgba(34,211,238,.09); border-color: rgba(34,211,238,.22); color: var(--cyan); }
.icon-box.gold { background: rgba(212,168,83,.09); border-color: rgba(212,168,83,.22); color: var(--gold); }
.icon-box.violet { background: rgba(139,124,246,.1); border-color: rgba(139,124,246,.24); color: var(--violet); }
.icon-box svg { width: 20px; height: 20px; }

.viz { height: 108px; margin-top: 18px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid var(--border-soft); overflow: hidden; position: relative; }

/* ---------- flow / how it works ---------- */
.flow-wrap {
  border: 1px solid var(--border); border-radius: 22px; padding: 34px 28px 26px;
  background: linear-gradient(180deg, rgba(18,20,25,.8), rgba(9,10,13,.8));
  overflow: hidden;
}
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 26px; }
.flow-step { text-align: center; }
.flow-step .n {
  width: 26px; height: 26px; margin: 0 auto 10px; border-radius: 8px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; font-family: var(--mono);
  background: rgba(200,245,66,.1); border: 1px solid rgba(200,245,66,.25); color: var(--lime);
}
.flow-step h4 { margin: 0 0 5px; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.flow-step p { font-size: 12.8px; color: var(--text-3); line-height: 1.5; }

/* ---------- dashboard mock ---------- */
.console {
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  background: linear-gradient(170deg, rgba(18,21,26,.96), rgba(9,10,13,.96));
  box-shadow: 0 34px 90px rgba(0,0,0,.62);
}
.console-bar { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.console-bar .title { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-pills { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.console-bar .title { font-size: 13.5px; font-weight: 600; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  background: rgba(200,245,66,.1); border: 1px solid rgba(200,245,66,.26); color: var(--lime);
}
.pill.cyan { background: rgba(34,211,238,.1); border-color: rgba(34,211,238,.26); color: var(--cyan); }
.pill.gold { background: rgba(212,168,83,.1); border-color: rgba(212,168,83,.26); color: var(--gold); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulseDot 2s infinite; }

.console-tabs { display: flex; gap: 2px; padding: 10px 14px 0; border-bottom: 1px solid var(--border-soft); overflow-x: auto; }
.console-tabs button {
  background: none; border: none; color: var(--text-3); font-size: 13px; font-weight: 500;
  padding: 9px 14px; cursor: pointer; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; white-space: nowrap;
}
.console-tabs button.active { color: var(--lime); border-bottom-color: var(--lime); }

.console-body { padding: 20px; display: grid; grid-template-columns: 210px 1fr; gap: 18px; }
.tile {
  background: rgba(255,255,255,.022); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 15px;
}
.tile .lbl { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--text-3); }
.tile .big { font-size: 25px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 3px; }
.tile .big small { font-size: 13px; color: var(--text-3); font-weight: 500; margin-left: 3px; }
.tile-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.bar-track { height: 5px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 10px; }
.bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), var(--lime)); width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }

/* ---------- hardware ---------- */
.hw {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hw-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(168deg, rgba(20,23,29,.92), rgba(11,13,16,.92));
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s;
}
.hw-card:hover { transform: translateY(-5px); border-color: rgba(200,245,66,.3); }
.hw-art { height: 168px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-soft); background: radial-gradient(420px 200px at 50% 120%, rgba(34,211,238,.13), transparent 70%); }
.hw-body { padding: 20px 22px 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip {
  font-size: 11.5px; padding: 4px 10px; border-radius: 7px; color: var(--text-2);
  background: rgba(255,255,255,.04); border: 1px solid var(--border-soft); font-family: var(--mono);
}

/* ---------- solutions tabs ---------- */
.seg {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px;
  background: rgba(255,255,255,.035); border: 1px solid var(--border); flex-wrap: wrap;
}
.seg button {
  background: none; border: none; color: var(--text-2); cursor: pointer;
  padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; transition: all .3s;
}
.seg button.active { background: var(--lime); color: #0a0f02; box-shadow: 0 6px 18px rgba(200,245,66,.2); }
.panel { display: none; }
.panel.active { display: grid; animation: fadeUp .5s cubic-bezier(.2,.8,.2,1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.ticks { display: grid; gap: 12px; margin-top: 22px; }
.tick { display: flex; gap: 12px; align-items: flex-start; font-size: 14.8px; color: var(--text-2); }
.tick svg { width: 19px; height: 19px; flex: none; color: var(--lime); margin-top: 2px; }

/* ---------- security list ---------- */
.sec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sec-item {
  display: flex; gap: 14px; padding: 18px; border-radius: 14px;
  border: 1px solid var(--border-soft); background: rgba(255,255,255,.018);
  transition: border-color .3s, background .3s;
}
.sec-item:hover { border-color: rgba(34,211,238,.28); background: rgba(34,211,238,.035); }
.sec-item h4 { margin: 0 0 4px; font-size: 14.5px; font-weight: 600; }
.sec-item p { font-size: 13.4px; color: var(--text-3); line-height: 1.55; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 26px; padding: 64px 48px; text-align: center;
  border: 1px solid rgba(200,245,66,.2);
  background: linear-gradient(150deg, rgba(200,245,66,.08), rgba(34,211,238,.06) 55%, rgba(9,10,13,.9));
}
.cta::before {
  content: ''; position: absolute; inset: -60% -10% auto; height: 260%;
  background: conic-gradient(from 0deg, transparent, rgba(200,245,66,.12), transparent 30%);
  animation: spin 14s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta > * { position: relative; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border-soft); padding: 56px 0 34px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
.foot-col h5 { margin: 0 0 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.foot-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--text-2); transition: color .2s; }
.foot-col a:hover { color: var(--lime); }
.foot-bottom {
  margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-3);
}

/* ---------- svg animation helpers ---------- */
.dash-flow { stroke-dasharray: 7 9; animation: dashMove 1.4s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -32; } }
.dash-flow-slow { stroke-dasharray: 5 11; animation: dashMove 2.6s linear infinite; }
.spin-slow { transform-origin: center; animation: spin 3.2s linear infinite; }
.draw { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.draw.in { animation: drawIn 1.8s cubic-bezier(.3,.7,.2,1) forwards; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
.wave { animation: waveShift 4s ease-in-out infinite; }
@keyframes waveShift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-14px); } }
.bub { animation: bub 3.4s ease-in-out infinite; }
.bub2 { animation: bub 4.6s ease-in-out infinite -1.4s; }
.bub3 { animation: bub 3.9s ease-in-out infinite -2.6s; }
@keyframes bub {
  0% { transform: translateY(6px); opacity: 0; }
  25% { opacity: .75; }
  100% { transform: translateY(-46px); opacity: 0; }
}
.blink { animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .18; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .g3, .hw { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .console-body { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { margin-left: 0; }
  .nav-cta .btn-ghost { display: none; }
  .float-a { right: 4px; }
  .float-b { left: 4px; }
}
@media (max-width: 660px) {
  .brand .mark { width: 34px; height: 34px; }
  .brand .wordmark { height: 28px; }
  .section { padding: 76px 0; }
  .g3, .g2, .hw, .sec-list, .stats, .flow-steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta { padding: 44px 22px; }
  .hero-meta { gap: 20px; }
  .tile-row { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
}

/* ---------- intelligence section ---------- */
.lbl-cap { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

.signal-rows { display: grid; gap: 10px; margin-top: 20px; }
.signal { display: flex; align-items: center; gap: 12px; font-size: 12.8px; color: var(--text-2); }
.signal > span { width: 156px; flex: none; }
.signal .sbar { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.signal .sbar i { display: block; height: 100%; width: 0; border-radius: 3px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.signal b { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); width: 48px; text-align: right; flex: none; }

.alert-line {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px;
  padding: 11px 13px; border-radius: 12px; font-size: 12.8px; line-height: 1.5;
  border: 1px solid rgba(251,191,36,.3); background: rgba(251,191,36,.08); color: #fde6ab;
}

.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 13.4px; line-height: 1.58; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.msg.in { opacity: 1; transform: none; }
.msg.user { align-self: flex-end; background: rgba(200,245,66,.12); border: 1px solid rgba(200,245,66,.26); color: #eaf7c9; border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: rgba(255,255,255,.045); border: 1px solid var(--border-soft); color: var(--text-2); border-bottom-left-radius: 5px; }
.msg.bot b { color: var(--text); font-weight: 600; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.caret { color: var(--lime); animation: blink 1.1s steps(1) infinite; margin-left: 1px; }

html.static .msg { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- mobile: everything reads from one left edge ---------- */
@media (max-width: 660px) {
  .section-head.center { text-align: left; margin-left: 0; margin-right: 0; }
  .flow-step { text-align: left; }
  .flow-step .n { margin-left: 0; }
  .cta { text-align: left; padding-left: 22px; padding-right: 22px; }
  .cta .lead { margin-left: 0; margin-right: 0; }
  .cta .hero-cta { justify-content: flex-start; }
  .foot-bottom { justify-content: flex-start; }
}

/* console bar at phone width: name on its own row so nothing collides */
@media (max-width: 660px) {
  .console-bar { padding: 12px 14px; row-gap: 9px; }
  .console-bar .title { flex: 1 0 100%; order: 3; font-size: 12px; }
  .console-pills { margin-left: auto; }
  .console-bar .pill { font-size: 10px; padding: 3px 8px; }
}
