/* ============================================================
   WhaLoop — shared design system
   Light theme · green glassmorphism · bento · growth motion
   Fonts: Inter (UI) + JetBrains Mono (data/numbers)
   ============================================================ */

:root {
  /* surfaces */
  --bg: #f6faf8;
  --bg-2: #ffffff;
  --ink: #0c1812;
  --ink-2: #46555d;
  --ink-3: #7c8a92;

  /* greens (growth) */
  --g-50:  #ecfdf5;
  --g-100: #d7f7e7;
  --g-300: #5fdca0;
  --g-400: #2bc587;
  --g-500: #10b981;
  --g-600: #059669;
  --g-700: #047857;
  --g-ink: #043f2e;

  /* accent supports */
  --teal: #0fb9b1;
  --red: #e0473b;
  --red-soft: #fdeceb;
  --amber: #f59e0b;

  /* borders / glass */
  --line: #e6ece9;
  --line-2: #d7e0db;
  --glass-bg: rgba(255,255,255,0.62);
  --glass-bd: rgba(255,255,255,0.85);
  --glass-bg-green: rgba(232,251,242,0.55);

  /* shadows */
  --sh-xs: 0 1px 2px rgba(8,30,20,0.05);
  --sh-sm: 0 2px 6px rgba(8,30,20,0.06), 0 1px 2px rgba(8,30,20,0.05);
  --sh-md: 0 8px 24px -10px rgba(10,40,28,0.16), 0 2px 8px -4px rgba(10,40,28,0.10);
  --sh-lg: 0 24px 60px -24px rgba(10,45,30,0.28), 0 8px 20px -12px rgba(10,45,30,0.14);
  --sh-glow: 0 20px 60px -24px rgba(16,185,129,0.45);

  --r-xs: 10px;
  --r-sm: 14px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 30px;

  --maxw: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* soft animated green mesh backdrop (so glass has something to refract) */
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bgfx::before, .bgfx::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
}
.bgfx::before { width: 620px; height: 620px; top: -260px; left: 50%; transform: translateX(-55%);
  background: radial-gradient(circle, rgba(16,185,129,0.30), rgba(16,185,129,0) 70%); }
.bgfx::after { width: 520px; height: 520px; top: 260px; right: -160px;
  background: radial-gradient(circle, rgba(15,185,177,0.18), rgba(15,185,177,0) 70%); }
.bgfx .blob { position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(80px);
  background: radial-gradient(circle, rgba(95,220,160,0.22), rgba(95,220,160,0) 70%); left: -180px; top: 620px; }
.bgfx .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10,40,28,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(10,40,28,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 62%);
}

a { color: inherit; text-decoration: none; }
.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.mono { font-family: var(--mono); }

/* ---------------- nav ---------------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: transparent; border: none;
  padding: 14px 16px;
}
/* the whole header is ONE floating glass pill */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 10px 8px 20px;
  border-radius: 100px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--glass-bd);
  box-shadow: var(--sh-md), inset 0 1px 1px rgba(255,255,255,0.8);
}
.brand { display: flex; align-items: center; width: 124px; height: 32px; background: url(logo.png) left center / contain no-repeat; }
.brand .mark, .brand .name { display: none; }
.nav-links { display: none; position: relative; align-items: center; gap: 2px; }
.nav-links a { position: relative; z-index: 1; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 8px 15px; border-radius: 100px; transition: color .2s; white-space: nowrap; }
.nav-links a.active { color: var(--g-700); font-weight: 600; }
.nav-links a:hover { color: #fff; }
.nav-cursor { position: absolute; z-index: 0; top: 4px; left: 0; width: 0; height: calc(100% - 8px); border-radius: 100px; background: linear-gradient(180deg, var(--g-500), var(--g-700)); opacity: 0; pointer-events: none; box-shadow: 0 6px 16px -6px rgba(5,150,105,0.5); transition: left .28s cubic-bezier(.16,1,.3,1), width .28s cubic-bezier(.16,1,.3,1), opacity .18s ease; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
/* liquid-glass buttons */
.btn-ghost {
  font-size: 14px; color: var(--ink); padding: 9px 15px; border-radius: 11px; cursor: pointer;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(12px) saturate(1.5); -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), inset 0 -2px 5px rgba(8,30,20,0.06), 0 4px 12px -6px rgba(8,30,20,0.12);
  transition: box-shadow .2s, transform .12s, background .2s;
}
.btn-ghost:hover { color: var(--ink); background: rgba(255,255,255,0.7); box-shadow: inset 0 1px 1px rgba(255,255,255,1), inset 0 -2px 6px rgba(8,30,20,0.08), 0 8px 20px -8px rgba(8,30,20,0.16); }
.btn-ghost:active { transform: translateY(1px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 13px; border: none; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em;
  color: #fff; text-shadow: 0 1px 2px rgba(3,40,28,0.32);
  background: linear-gradient(180deg, rgba(34,205,148,0.95) 0%, rgba(5,150,105,0.96) 100%);
  backdrop-filter: blur(10px) saturate(1.6); -webkit-backdrop-filter: blur(10px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,0.55), inset 0 -3px 8px rgba(3,45,30,0.3), 0 10px 24px -10px rgba(5,150,105,0.6);
  transition: transform .12s, box-shadow .2s, filter .16s;
}
.btn:hover { filter: brightness(1.04); box-shadow: inset 0 1.5px 1px rgba(255,255,255,0.7), inset 0 -3px 8px rgba(3,45,30,0.28), 0 16px 32px -10px rgba(5,150,105,0.66); }
.btn:active { transform: translateY(1px) scale(0.99); box-shadow: inset 0 2px 6px rgba(3,45,30,0.4), inset 0 1px 1px rgba(255,255,255,0.3); }
.btn.lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn.block { width: 100%; }

/* ---------------- hero ---------------- */
.hero { padding: 58px 0 26px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--g-700);
  background: var(--g-50); border: 1px solid rgba(16,185,129,0.26);
  padding: 6px 13px; border-radius: 100px; margin-bottom: 22px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g-500); box-shadow: 0 0 0 4px rgba(16,185,129,0.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.32);} 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0);} }

h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); line-height: 1.07; font-weight: 800; letter-spacing: -0.034em; max-width: 18ch; overflow-wrap: break-word; }
h1 .hl { color: var(--g-600); position: relative; }
h1 .uline { background: linear-gradient(120deg, rgba(16,185,129,0.22), rgba(16,185,129,0.22)) no-repeat; background-size: 100% 0.32em; background-position: 0 88%; }
.lede { margin-top: 20px; max-width: 54ch; font-size: clamp(1rem, 2.1vw, 1.16rem); color: var(--ink-2); line-height: 1.62; }
.lede b { color: var(--ink); font-weight: 600; }

/* proof chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--ink-2);
  background: var(--bg-2); border: 1px solid var(--line); padding: 8px 11px; border-radius: 9px; box-shadow: var(--sh-xs);
}
.chip .num { color: var(--g-700); font-weight: 600; }

/* works-with logos */
.logos { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.logos .lbl { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.logos img { height: 22px; width: auto; opacity: 1; }
.logos img.wa { height: 26px; }
.logos .sep { width: 1px; height: 18px; background: var(--line-2); }

/* hero product preview (the "this is real" dashboard band) */
.hero-preview { margin-top: 6px; }
.hp { padding: 0; overflow: hidden; }
.hp .bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.5); }
.hp .bar .dots { display: flex; gap: 6px; }
.hp .bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #dfe7e2; display: inline-block; }
.hp .bar .t { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.hp .bar .live { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--g-700); background: var(--g-50); padding: 3px 9px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; }
.hp .bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g-500); animation: pulse 2.4s ease-in-out infinite; }
.hp .body { display: grid; grid-template-columns: 1.6fr 1fr 1fr; }
.hp .panel { padding: 18px 20px; border-right: 1px solid var(--line); }
.hp .panel:last-child { border-right: none; }
.hp .panel .k { font-size: 12px; color: var(--ink-3); }
.hp .panel .v { font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.hp .panel .v .delta { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--g-600); }
.hp .panel .v.mono { font-family: var(--mono); font-size: clamp(15px, 2vw, 19px); }
.hp .panel .sub { font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.hp svg.hpspark { width: 100%; height: 46px; margin-top: 12px; display: block; }
.hp svg.hpspark .l { fill: none; stroke: var(--g-500); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: drawL 1.6s ease .25s forwards; }
@keyframes drawL { to { stroke-dashoffset: 0; } }
.hp .panel .v.win { color: var(--g-700); }
.hp .panel .v.lose { color: var(--red); }
/* happy / sad performance faces */
.face { width: 24px; height: 24px; flex: none; vertical-align: middle; animation: facebob 2.4s ease-in-out infinite; }
.face.sad { animation: facesad 2.8s ease-in-out infinite; }
@keyframes facebob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-4deg); } }
@keyframes facesad { 0%,100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
.hp .panel .v.with-face { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* faces inside dashboard bar chart */
.dm-bars .bf { position: absolute; top: -24px; left: 0; right: 0; display: flex; justify-content: center; }
.dm-bars .bf .face { width: 18px; height: 18px; }

/* ---- CRO suggestion review overlay (toggleable, non-production) ---- */
.sugg-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 130; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px; border-radius: 100px; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--sh-md); font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.sugg-toggle .lg { display: inline-flex; gap: 5px; }
.sugg-toggle .lg i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.sugg-toggle .lg i.r { background: #e0473b; } .sugg-toggle .lg i.b { background: #2f6bff; }
.sugg, .sugg-toggle { display: none !important; }
.sugg { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; color: #fff; cursor: help; position: relative; vertical-align: middle; margin-left: 8px; box-shadow: var(--sh-sm); }
.sugg.red { background: #e0473b; } .sugg.blue { background: #2f6bff; }
.sugg .pop { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); width: 280px; background: #0c1812; color: #d8efe4; border-radius: 12px; padding: 13px 15px; font-size: 12.5px; line-height: 1.5; font-weight: 400; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transition: .15s; z-index: 140; text-align: left; }
.sugg .pop b { color: #fff; display: block; margin-bottom: 4px; }
.sugg .pop .pr { display: inline-block; margin-top: 7px; font-family: var(--mono); font-size: 10px; color: #5fdca0; }
.sugg:hover .pop, .sugg:focus .pop { opacity: 1; visibility: visible; }
@media (max-width: 600px) { .sugg .pop { width: 210px; left: auto; right: 0; transform: none; } }
@media (max-width: 560px) { .sugg-toggle { bottom: 84px; height: 40px; font-size: 12px; } }
@media (max-width: 760px) {
  .hp .body { grid-template-columns: 1fr 1fr; }
  .hp .panel:first-child { grid-column: 1 / -1; border-right: none; border-bottom: 1px solid var(--line); }
  .hp .panel:nth-child(2) { border-right: 1px solid var(--line); }
}

/* ---------------- glass card ---------------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.glass-green { background: var(--glass-bg-green); }

/* hero form card */
.form-card { padding: 26px 24px; position: relative; overflow: hidden; }
.form-card::after { content:""; position:absolute; inset:-1px; border-radius: inherit; pointer-events:none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9); }
.form-card .fc-glow { position: absolute; top: -60px; right: -40px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.22), transparent 70%); filter: blur(20px); pointer-events: none; }
.form-card h3 { font-size: 1.28rem; font-weight: 750; letter-spacing: -0.02em; position: relative; }
.form-card .fc-sub { color: var(--ink-2); font-size: 13.8px; margin-top: 7px; line-height: 1.5; position: relative; }
.spots { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--g-700); }
.spots .bar { width: 84px; height: 6px; border-radius: 100px; background: var(--g-100); overflow: hidden; }
.spots .bar i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--g-400), var(--g-600)); border-radius: 100px; }

form { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.field { display: flex; flex-direction: column; gap: 7px; }
label { font-size: 12.5px; font-weight: 600; }
label .opt { color: var(--ink-3); font-weight: 400; }
.input, select {
  width: 100%; height: 48px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xs);
  color: var(--ink); font-family: var(--font); font-size: 14.5px; padding: 0 13px; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--ink-3); }
.input:focus, select:focus { outline: none; border-color: var(--g-500); box-shadow: 0 0 0 3px rgba(16,185,129,0.16); }
.phone { display: flex; }
.phone .cc { display: flex; align-items: center; height: 48px; padding: 0 12px; background: #eef4f1; border: 1px solid var(--line-2); border-right: none; border-radius: var(--r-xs) 0 0 var(--r-xs); font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); }
.phone .input { border-radius: 0 var(--r-xs) var(--r-xs) 0; }
select { appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%237c8a92' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; }
.reassure { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.err { color: var(--red); font-size: 12px; display: none; }
.field.invalid .input { border-color: var(--red); }
.field.invalid .err { display: block; }

.success { display: none; text-align: center; padding: 16px 6px; }
.success.show { display: block; animation: fade .5s ease; }
.success .tick { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--g-50); border: 1px solid rgba(16,185,129,0.4); display: flex; align-items: center; justify-content: center; }
.success h3 { font-size: 1.4rem; }
.success p { color: var(--ink-2); font-size: 14px; margin-top: 9px; line-height: 1.6; }
.success .share { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--g-700); background: var(--g-50); border: 1px dashed rgba(16,185,129,0.4); padding: 11px; border-radius: 10px; }

/* ---------------- before/after growth graph ---------------- */
.grapher { padding: 22px; position: relative; overflow: hidden; }
.grapher .gtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.grapher .gtitle { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.toggle { display: inline-flex; background: #eef4f1; border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.toggle button { border: none; background: transparent; font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 6px 12px; border-radius: 100px; cursor: pointer; transition: .18s; }
.toggle button.on { color: #fff; }
.toggle button.on.bad { background: linear-gradient(180deg, #f0685c, var(--red)); }
.toggle button.on.good { background: linear-gradient(180deg, var(--g-500), var(--g-700)); }
.graph-amount { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-top: 14px; display: flex; align-items: baseline; gap: 10px; }
.graph-amount .delta { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.delta.good { color: var(--g-600); } .delta.bad { color: var(--red); }
.gsvg { width: 100%; height: 130px; display: block; margin-top: 6px; }
.gsvg .area { transition: opacity .5s ease; }
.gline { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; transition: stroke .5s ease; }
.gcap { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.gcap .ic { width: 18px; height: 18px; flex: none; }
.grow-rows { margin-top: 14px; }
.grow-rows .row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.grow-rows .row .k { color: var(--ink-2); display:flex; align-items:center; gap:8px; }
.grow-rows .row .v { font-family: var(--mono); font-weight: 600; }
.grow-rows .row .v.g { color: var(--g-700); } .grow-rows .row .v.r { color: var(--red); }

/* ---------------- rotating loop seal (circular text) ---------------- */
.seal-wrap { display: flex; justify-content: center; margin-bottom: 20px; }
.seal { position: relative; width: 188px; height: 188px; }
.seal .ring { width: 100%; height: 100%; animation: spin 26s linear infinite; transform-origin: center; }
.seal text { fill: var(--g-700); font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.seal .center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.seal .center .mark { width: 46px; height: 46px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- dot-matrix icon inside CTA ---------------- */
.btn .dotm { width: 20px; height: 20px; border-radius: 5px; background: rgba(255,255,255,0.2); display: inline-flex; align-items: center; justify-content: center; padding: 3px; flex: none; }
.btn .dotm svg { width: 100%; height: 100%; display: block; }
.btn .dotm circle { fill: #fff; animation: dotm 1.6s ease-in-out infinite; }
@keyframes dotm { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.btn .dotm circle:nth-child(1) { animation-delay: 0s; } .btn .dotm circle:nth-child(2) { animation-delay: .08s; } .btn .dotm circle:nth-child(3) { animation-delay: .16s; }
.btn .dotm circle:nth-child(4) { animation-delay: .08s; } .btn .dotm circle:nth-child(5) { animation-delay: .16s; } .btn .dotm circle:nth-child(6) { animation-delay: .24s; }
.btn .dotm circle:nth-child(7) { animation-delay: .16s; } .btn .dotm circle:nth-child(8) { animation-delay: .24s; } .btn .dotm circle:nth-child(9) { animation-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .seal .ring { animation: none; } .btn .dotm circle { animation: none; opacity: .85; } }

/* ---------------- social proof + risk reversal (form) ---------------- */
.socialproof { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 12.5px; color: var(--ink-2); }
.socialproof .avs { display: flex; }
.socialproof .avs span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; background: var(--g-100); color: var(--g-700); font-weight: 700; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.socialproof .avs span:first-child { margin-left: 0; }
.socialproof b { color: var(--ink); font-weight: 700; }
.risk { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--g-700); font-weight: 600; margin-top: 10px; }
.risk svg { width: 14px; height: 14px; }

/* ---------------- "what you're losing" calculator ---------------- */
.calc { padding: 28px 26px; margin-top: 42px; position: relative; overflow: hidden; }
.calc .fc-glow { position: absolute; top: -70px; right: -50px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,0.18), transparent 70%); pointer-events: none; }
.calc-input label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.calc-val { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 16px; }
.calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 100px; background: linear-gradient(90deg, var(--g-500) 30%, var(--g-100) 30%); outline: none; cursor: pointer; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--g-600); box-shadow: var(--sh-md); cursor: pointer; }
.calc-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--g-600); cursor: pointer; }
.calc-ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 9px; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.calc-card { border-radius: var(--r); padding: 18px 20px; border: 1px solid var(--line); }
.calc-card.bad { background: #fdf3f2; border-color: #f6d5d1; }
.calc-card.good { background: #eefaf3; border-color: rgba(16,185,129,0.32); }
.calc-card .ct { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.calc-card.bad .ct { color: var(--red); } .calc-card.good .ct { color: var(--g-700); }
.calc-card .cl { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 13px; color: var(--ink-2); }
.calc-card .cl b { font-family: var(--mono); font-weight: 600; color: var(--ink); font-size: 15px; white-space: nowrap; }
.calc-card.bad .cl b { color: var(--red); }
.calc-card .cl.big { border-top: 1px dashed rgba(16,185,129,0.45); margin-top: 6px; padding-top: 13px; }
.calc-card .cl.big b { font-size: 23px; color: var(--g-700); }
.calc-note { font-size: 11.5px; color: var(--ink-3); margin-top: 16px; text-align: center; line-height: 1.5; }
@media (max-width: 620px) { .calc-results { grid-template-columns: 1fr; } }

/* ---------------- animated integration beam diagram ---------------- */
.beamwrap { position: relative; width: 100%; max-width: 940px; margin: 44px auto 0; aspect-ratio: 1000 / 600; }
.beams { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.beams .track { fill: none; stroke: var(--line-2); stroke-width: 2; opacity: 0.7; }
.beams .flow { fill: none; stroke: var(--g-500); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 16 620; stroke-dashoffset: 636; filter: drop-shadow(0 0 4px rgba(16,185,129,0.55)); animation: beamflow 3.4s linear infinite; }
@keyframes beamflow { from { stroke-dashoffset: 636; } to { stroke-dashoffset: 0; } }
.bnode { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 9px; z-index: 2; }
.bnode .ico { position: relative; width: clamp(48px, 9vw, 66px); height: clamp(48px, 9vw, 66px); border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--sh-md); display: flex; align-items: center; justify-content: center; }
.bnode .ico img { width: 56%; height: 56%; object-fit: contain; }
.bnode .ico svg { width: 54%; height: 54%; }
.bnode .lbl { font-size: clamp(10px, 1.6vw, 12.5px); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.bnode.center .ico { width: clamp(74px, 14vw, 100px); height: clamp(74px, 14vw, 100px); border-radius: 26px; background: linear-gradient(160deg, #0b3a29, #07271b); border-color: #0c4732; box-shadow: 0 24px 56px -16px rgba(5,150,105,0.5), var(--sh-lg); }
.bnode.center .lbl { color: var(--g-700); font-weight: 800; font-size: clamp(12px, 2vw, 15px); letter-spacing: -0.01em; }
.bnode.center .ico::after { content: ""; position: absolute; inset: -6px; border-radius: 30px; border: 1px solid rgba(16,185,129,0.3); animation: footbreathe 3s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .beams .flow { animation: none; stroke-dasharray: none; } .bnode.center .ico::after { animation: none; } }

/* ---------------- "inside WhaLoop" step strip + AI engines ---------------- */
.inside { max-width: 940px; margin: 30px auto 0; }
.inside-head { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--g-700); margin-bottom: 16px; }
.inside-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.istep { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--sh-sm); }
.istep .n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--g-50); color: var(--g-700); font-family: var(--mono); font-weight: 700; font-size: 12px; }
.istep h5 { font-size: 14px; font-weight: 700; margin-top: 11px; letter-spacing: -0.01em; }
.istep p { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.5; }
.inside-powered { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.inside-powered .lbl { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.inside-powered img { height: 22px; width: auto; }
.inside-powered img.openai { height: 15px; }
.inside-powered img.gemini { height: 24px; }
@media (max-width: 760px) { .inside-steps { grid-template-columns: 1fr 1fr; } }

/* auto-playing animated flow (what happens inside WhaLoop) */
.flowanim { max-width: 1000px; margin: 26px auto 0; }
.flowanim .ftrack { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flowanim .fline { position: absolute; top: 36px; left: 11%; right: 11%; height: 3px; background: var(--line); border-radius: 100px; z-index: 0; }
.flowanim .fline i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, var(--g-400), var(--g-600)); border-radius: 100px; transition: width .6s cubic-bezier(.16,1,.3,1); }
.fstep { position: relative; z-index: 1; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; box-shadow: var(--sh-sm); text-align: center; opacity: 0.6; transform: translateY(0) scale(0.985); transition: .45s cubic-bezier(.16,1,.3,1); }
.fstep.on { opacity: 1; border-color: rgba(16,185,129,0.5); box-shadow: var(--sh-md), 0 0 0 3px rgba(16,185,129,0.1); transform: translateY(-4px) scale(1); }
.fstep .fic { width: 46px; height: 46px; border-radius: 13px; margin: 0 auto 12px; background: var(--g-50); border: 1px solid rgba(16,185,129,0.22); display: flex; align-items: center; justify-content: center; transition: .45s; }
.fstep .fic svg { width: 22px; height: 22px; stroke: var(--g-700); }
.fstep .fic img { width: 22px; height: 22px; }
.fstep.on .fic { background: linear-gradient(180deg, var(--g-400), var(--g-600)); border-color: transparent; transform: scale(1.06); }
.fstep.on .fic svg { stroke: #fff; }
.fstep h5 { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.fstep p { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
@media (max-width: 760px) { .flowanim .ftrack { grid-template-columns: 1fr 1fr; } .flowanim .fline { display: none; } }
@media (prefers-reduced-motion: reduce) { .fstep { opacity: 1; transform: none; } }

/* "powered by" logo row inside AI card */
.poweredby { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.poweredby .lbl { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.poweredby img { height: 18px; width: auto; }
.poweredby img.openai { height: 13px; }
.poweredby img.gemini { height: 20px; }

/* ---------------- interactive analytics chart card ---------------- */
.achart { max-width: 560px; margin: 38px auto 0; padding: 26px 26px 20px; }
.ac-lbl { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.ac-big { font-size: clamp(30px, 5.5vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; line-height: 1; }
.ac-chip { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--g-700); background: var(--g-50); border: 1px solid rgba(16,185,129,0.26); padding: 6px 12px; border-radius: 100px; }
.ac-wrap { position: relative; margin-top: 18px; }
.ac-svg { width: 100%; height: 170px; display: block; cursor: crosshair; touch-action: none; }
.ac-svg .ac-vline { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; opacity: 0.6; }
.ac-svg .ac-line { fill: none; stroke: var(--g-600); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ac-svg .ac-day { font-family: var(--font); font-size: 11px; font-weight: 500; fill: var(--ink-3); }
.ac-pt { position: absolute; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--g-600); box-shadow: 0 2px 7px rgba(8,30,20,0.2); transform: translate(-50%, -50%); pointer-events: none; transition: left .1s ease, top .1s ease; z-index: 2; }
.ac-tip { position: absolute; pointer-events: none; transform: translate(-50%, -150%); background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 9px; box-shadow: var(--sh-md); white-space: nowrap; transition: left .1s ease, top .1s ease; z-index: 3; }
.ac-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ink); }
.ac-hint { text-align: center; font-size: 11.5px; color: var(--ink-3); margin-top: 10px; }
/* bare variant: embedded inside the dashboard mockup card */
.achart.bare { max-width: none; margin: 0; padding: 0; }
.achart.bare .ac-wrap { margin-top: 8px; }
.achart.bare .ac-svg { height: 150px; }

/* ---------------- infinite metrics marquee (full-bleed) ---------------- */
.mflow-sec { overflow: hidden; }
.mflow { margin-top: 38px; position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mrow { display: flex; gap: 16px; width: max-content; padding: 8px 0; animation: marquee 64s linear infinite; }
.mrow.rev { animation-direction: reverse; animation-duration: 82s; }
.mrow + .mrow { margin-top: 16px; }
.mflow:hover .mrow { animation-play-state: paused; }
.mcard { width: 232px; flex: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); padding: 16px; }
.mcard.sm { width: 178px; } .mcard.lg { width: 296px; }
.mcard .ml { font-size: 11px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.mcard .mv { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.mcard .mv .up { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--g-600); }
.mcard .mv .dn { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--g-600); }
.mcard .mchart { width: 100%; height: 40px; margin-top: 10px; display: block; }
.mcard .mchart .l { fill: none; stroke: var(--g-500); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mcard .mbars { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 10px; }
.mcard .mbars i { flex: 1; background: linear-gradient(180deg, var(--g-400), var(--g-500)); border-radius: 3px; }
.mcard.accent { background: linear-gradient(160deg, #effdf5, #ffffff); }
.mflow-note { text-align: center; font-size: 11.5px; color: var(--ink-3); margin-top: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mrow { animation: none; } }

/* ---------------- comparison table ---------------- */
.cmp { margin-top: 40px; border-radius: var(--r-lg); overflow-x: auto; padding: 6px; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 540px; }
.cmp th, .cmp td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink-2); font-weight: 500; min-width: 200px; }
.cmp thead th { font-weight: 700; font-size: 13px; color: var(--ink-3); }
.cmp thead th.us { color: var(--g-700); font-size: 15px; }
.cmp td.us { background: var(--g-50); }
.cmp th.us { background: var(--g-50); border-radius: 12px 12px 0 0; }
.cmp tr:last-child td.us { border-radius: 0 0 12px 12px; }
.cmp .yes { color: var(--g-600); font-weight: 800; }
.cmp .no { color: #cdd6db; font-weight: 700; }
.cmp .pt { color: var(--ink-3); font-size: 11.5px; }
.cmp tr.grp td { text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--g-700); background: var(--g-50); padding: 11px 12px; }
.cmp td.feat { line-height: 1.3; }
.cmp td.feat small { display: block; color: var(--ink-3); font-weight: 400; font-size: 11px; margin-top: 3px; }
.cmp tr.hl td.us { box-shadow: inset 2px 0 0 var(--g-400); }

/* ---------------- magnifier bento (draggable lens over capability pills) ---------------- */
.cell.magbento { padding: 0; overflow: hidden; }
.mag-stage { position: relative; height: 196px; overflow: hidden; background: var(--surface-2); cursor: grab; }
.mag-stage:active { cursor: grabbing; }
.mag-rows { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.mag-row { display: flex; gap: 12px; width: max-content; padding-left: 12px; }
.mag-row.r0, .mag-row.r2 { animation: magscroll 30s linear infinite; }
.mag-row.r1 { animation: magscrollrev 36s linear infinite; }
@keyframes magscroll { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
@keyframes magscrollrev { from { transform: translateX(-33.333%); } to { transform: translateX(0); } }
.mag-pill { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 8px 13px; border-radius: 100px; font-size: 12.5px; font-weight: 500; background: rgba(255,255,255,0.7); border: 1px solid var(--line); color: var(--ink-3); }
.mag-pill .d { width: 6px; height: 6px; border-radius: 50%; background: var(--g-300); flex: none; }
.mag-reveal { position: absolute; inset: 0; z-index: 5; pointer-events: none; clip-path: circle(46px at var(--mx, 50%) var(--my, 50%)); }
.mag-reveal .mag-pill { background: #fff; border-color: rgba(16,185,129,0.45); color: var(--g-700); font-weight: 600; box-shadow: var(--sh-sm); }
.mag-reveal .mag-pill .d { background: var(--g-500); }
.mag-stage .fadeL, .mag-stage .fadeR { position: absolute; top: 0; bottom: 0; width: 15%; z-index: 6; pointer-events: none; }
.mag-stage .fadeL { left: 0; background: linear-gradient(90deg, var(--surface-2), transparent); }
.mag-stage .fadeR { right: 0; background: linear-gradient(270deg, var(--surface-2), transparent); }
.mag-lens { position: absolute; left: var(--mx, 50%); top: var(--my, 50%); width: 92px; height: 92px; border-radius: 50%; transform: translate(-50%, -50%); z-index: 7; pointer-events: none; border: 2px solid rgba(16,185,129,0.55); box-shadow: 0 10px 26px rgba(8,30,20,0.2), inset 0 0 0 7px rgba(255,255,255,0.25); background: rgba(16,185,129,0.05); transition: left .08s ease, top .08s ease; }
.mag-foot { padding: 22px; }
@media (prefers-reduced-motion: reduce) { .mag-row { animation: none; } }

/* ---------------- FAQ ---------------- */
.faq { max-width: 780px; margin: 38px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); margin-bottom: 10px; box-shadow: var(--sh-xs); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pl { color: var(--g-600); font-size: 22px; line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary .pl { transform: rotate(45deg); }
.faq p { padding: 0 18px 16px; color: var(--ink-2); font-size: 14px; line-height: 1.62; margin: 0; }

/* ---------------- dashboard mockup ---------------- */
.dashmock { padding: 0; overflow: hidden; margin-top: 40px; }
.dm-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.6); }
.dm-bar .dots { display: flex; gap: 6px; }
.dm-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #dfe7e2; display: inline-block; }
.dm-bar .url { font-family: var(--mono); font-size: 12px; color: var(--ink-3); background: #eef4f1; padding: 4px 12px; border-radius: 100px; }
.dm-bar .live { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--g-700); background: var(--g-50); padding: 3px 9px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; }
.dm-bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g-500); }
.dm-wrap { display: grid; grid-template-columns: 188px 1fr; min-height: 392px; }
.dm-side { background: #0b2a1d; color: #bfe3d2; padding: 16px 12px; display: flex; flex-direction: column; gap: 3px; }
.dm-side .logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 15px; padding: 4px 8px 14px; letter-spacing: -0.02em; }
.dm-side .logo b { color: var(--g-300); }
.dm-side a { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 9px 11px; border-radius: 9px; color: #9fcfb9; }
.dm-side a.on { background: rgba(255,255,255,0.10); color: #fff; }
.dm-side a svg { width: 16px; height: 16px; opacity: 0.92; flex: none; }
.dm-side .grow { flex: 1; }
.dm-side .you { display: flex; align-items: center; gap: 9px; font-size: 12px; padding: 9px 8px; border-top: 1px solid rgba(255,255,255,0.1); color: #cfe9dc; }
.dm-side .you .av { width: 24px; height: 24px; border-radius: 50%; background: var(--g-500); color: #042; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.dm-main { padding: 18px; background: linear-gradient(180deg, #fbfdfc, #eff6f2); }
.dm-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dm-h .t { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.dm-h .pill { font-family: var(--mono); font-size: 10.5px; color: var(--g-700); background: #fff; border: 1px solid var(--line); padding: 4px 9px; border-radius: 100px; }
.dm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dm-kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px; box-shadow: var(--sh-xs); }
.dm-kpi .k { font-size: 11px; color: var(--ink-3); }
.dm-kpi .v { font-size: 20px; font-weight: 800; letter-spacing: -0.025em; margin-top: 4px; }
.dm-kpi .d { font-family: var(--mono); font-size: 11px; margin-top: 2px; }
.dm-kpi .d.up { color: var(--g-600); } .dm-kpi .d.dn { color: var(--red); }
.dm-row { display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; margin-top: 12px; }
.dm-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: var(--sh-xs); }
.dm-card .ch { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.dm-card .ch b { color: var(--ink); }
.dm-bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; padding-top: 6px; }
.dm-bars .b { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--g-300), var(--g-500)); position: relative; }
.dm-bars .b.lo { background: linear-gradient(180deg, #f3b0a8, var(--red)); }
.dm-bars .b span { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 9px; color: var(--ink-3); }
.dm-chartrow { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; margin-top: 12px; }
.dm-statcol { display: flex; flex-direction: column; gap: 12px; }
.dm-mini { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; box-shadow: var(--sh-xs); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.dm-mini .k { font-size: 11px; color: var(--ink-3); }
.dm-mini .v { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin-top: 3px; }
.dm-mini .v .up { font-family: var(--mono); font-size: 11px; color: var(--g-600); font-weight: 600; }
@media (max-width: 760px) { .dm-chartrow { grid-template-columns: 1fr; } .dm-statcol { flex-direction: row; } }
.dm-chats { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; }
.dm-ci { display: flex; align-items: center; gap: 9px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 12px; }
.dm-ci:last-child { border-bottom: none; }
.dm-ci .av { width: 26px; height: 26px; border-radius: 50%; background: var(--g-100); color: var(--g-700); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 11px; flex: none; }
.dm-ci .nm { font-weight: 600; }
.dm-ci .ms { color: var(--ink-3); font-size: 11px; }
.dm-ci .tag { margin-left: auto; font-family: var(--mono); font-size: 9px; padding: 2px 6px; border-radius: 6px; flex: none; }
.dm-ci .tag.ai { background: var(--g-50); color: var(--g-700); }
.dm-ci .tag.you { background: #eef2ff; color: #4f56d6; }
.caps { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 22px; }
@media (max-width: 760px) {
  .dm-wrap { grid-template-columns: 1fr; }
  .dm-side { flex-direction: row; overflow-x: auto; gap: 6px; padding: 10px; }
  .dm-side .logo, .dm-side .grow, .dm-side .you { display: none; }
  .dm-side a { white-space: nowrap; font-size: 12px; padding: 8px 10px; }
  .dm-kpis { grid-template-columns: 1fr; }
  .dm-row { grid-template-columns: 1fr; }
}

/* ---------------- sections ---------------- */
section.sec { padding: 74px 0 8px; position: relative; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--g-700); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 8px; }
.sec-head .kicker { display: inline-block; margin-bottom: 12px; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
h2 .hl { color: var(--g-600); }
.sec-sub { margin-top: 14px; color: var(--ink-2); font-size: clamp(1rem,2vw,1.1rem); line-height: 1.6; }

/* ---------------- bento ---------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.cell { grid-column: span 6; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh-sm); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cell:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.cell .ic-wrap { width: 44px; height: 44px; border-radius: 12px; background: var(--g-50); border: 1px solid rgba(16,185,129,0.22); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cell h4 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.cell p { color: var(--ink-2); font-size: 14px; margin-top: 8px; line-height: 1.6; }
.cell .tag { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: var(--g-700); background: var(--g-50); padding: 4px 8px; border-radius: 100px; }
.cell.feature { background: linear-gradient(180deg, #ffffff, #f4faf7); }
.cell.span-3 { } .cell.span-2 { } .cell.span-4 { } .cell.dark { background: linear-gradient(160deg, #07271b, #0b3a29); color: #eafaf2; border-color: #0c4732; }
.cell.dark h4 { color: #fff; } .cell.dark p { color: #b9d8ca; } .cell.dark .ic-wrap { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }

/* mini chat-attribution visual */
.chatviz { background: #075e54; border-radius: var(--r-sm); padding: 14px; color: #e9f7ef; }
.chatviz .bub { background: #fff; color: #0c1812; font-size: 12.5px; padding: 9px 11px; border-radius: 10px 10px 10px 2px; max-width: 86%; box-shadow: var(--sh-xs); }
.chatviz .bub.me { background: #d9fdd3; margin-left: auto; border-radius: 10px 10px 2px 10px; }
.chatviz .bub + .bub { margin-top: 7px; }
.chatviz .meta { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; padding: 7px 9px; display: flex; align-items: center; gap: 7px; }
.chatviz .meta .pill { background: var(--g-500); color: #042; padding: 1px 6px; border-radius: 5px; font-weight: 700; }

/* AI signal-flow viz (used in dark cell) */
.aiflow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.aiflow .node { font-family: var(--mono); font-size: 11px; padding: 7px 10px; border-radius: 9px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #eafaf2; line-height: 1.2; }
.aiflow .node.hot { background: linear-gradient(180deg, var(--g-400), var(--g-600)); color: #042; border-color: transparent; font-weight: 700; }
.aiflow .arrow { color: #5fdca0; font-weight: 700; }
/* AI agent "typing" pulse */
.ai-badge { display: inline-flex; align-items: center; gap: 6px; }
.ai-badge .live3 span { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin-left: 2px; animation: blink 1.2s infinite; }
.ai-badge .live3 span:nth-child(2){ animation-delay:.2s } .ai-badge .live3 span:nth-child(3){ animation-delay:.4s }
@keyframes blink { 0%,100%{ opacity:.25 } 50%{ opacity:1 } }

/* steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
.stepc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--sh-sm); position: relative; }
.stepc .n { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--g-700); background: var(--g-50); width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.stepc h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.stepc p { color: var(--ink-2); font-size: 13.6px; margin-top: 7px; line-height: 1.55; }
.stepc .conn { display: none; }

/* quotes */
.quotes { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
.quote { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--g-500); border-radius: var(--r-sm); padding: 22px; box-shadow: var(--sh-sm); }
.quote .qm { font-size: 30px; line-height: 0.4; color: var(--g-300); font-family: Georgia, serif; }
.quote p { font-size: 15px; font-weight: 500; line-height: 1.5; margin-top: 8px; }
.quote .who { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

/* banner */
.banner { margin-top: 64px; text-align: center; padding: 44px 28px; border-radius: var(--r-xl); position: relative; overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #effaf4 60%, #e4f7ee 100%); border: 1px solid rgba(16,185,129,0.26); box-shadow: var(--sh-md); }
.banner .bglow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,0.22), transparent 70%); top: -160px; left: 50%; transform: translateX(-50%); filter: blur(30px); }
.banner h2 { position: relative; max-width: 20ch; margin: 0 auto; }
.banner p { position: relative; margin-top: 14px; color: var(--ink-2); font-size: 15px; max-width: 56ch; margin-left: auto; margin-right: auto; }
.banner .btn { margin-top: 24px; position: relative; }

/* CTA section with re-stated form anchor */
.cta-final { margin-top: 18px; }

/* footer */
footer { margin-top: 76px; border-top: 1px solid var(--line); padding: 36px 0 46px; position: relative; z-index: 1; }
.foot { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.foot .tagline { font-size: 13.5px; color: var(--ink-2); }
.foot .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font-size: 13px; color: var(--ink-3); }
.foot .links a:hover { color: var(--ink); }
.foot .copy { font-size: 12px; color: var(--ink-3); }

/* ---------------- cinematic footer ---------------- */
.bigfoot { position: relative; overflow: hidden; margin-top: 90px; padding: 84px 0 36px; background: linear-gradient(180deg, #ffffff 0%, #e9faf1 100%); border-top: 1px solid var(--line); }
.bigfoot .aurora { position: absolute; left: 50%; top: 42%; width: 80vw; height: 52vh; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(16,185,129,0.20), rgba(15,185,177,0.10) 42%, transparent 70%); filter: blur(80px); border-radius: 50%; pointer-events: none; z-index: 0; animation: footbreathe 9s ease-in-out infinite alternate; }
.bigfoot .fgrid { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-size: 54px 54px; background-image: linear-gradient(to right, rgba(10,40,28,0.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(10,40,28,0.045) 1px, transparent 1px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 76%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 76%, transparent); }
.bigfoot .giant { position: absolute; bottom: -2.5vh; left: 50%; transform: translateX(-50%); z-index: 0; pointer-events: none; white-space: nowrap; font-family: var(--font); font-weight: 800; font-size: 23vw; line-height: 0.8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(16,185,129,0.14); background: linear-gradient(180deg, rgba(16,185,129,0.12) 0%, transparent 62%); -webkit-background-clip: text; background-clip: text; }
.fmarquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.6); backdrop-filter: blur(8px); padding: 12px 0; transform: rotate(-1.4deg) scale(1.04); margin-bottom: 52px; box-shadow: var(--sh-sm); }
.fmarquee .track { display: flex; width: max-content; animation: marquee 44s linear infinite; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.fmarquee:hover .track { animation-play-state: paused; }
.fmarquee .seg { display: flex; align-items: center; gap: 26px; padding: 0 26px; }
.fmarquee .seg .x { color: var(--g-500); }
.fcenter { position: relative; z-index: 2; text-align: center; max-width: 780px; margin: 0 auto; padding: 0 22px; }
.fbig { font-size: clamp(2.1rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; background: linear-gradient(180deg, var(--ink) 0%, var(--g-700) 120%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fpills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.fpill { display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border-radius: 100px; background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.75); box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), inset 0 -2px 5px rgba(8,30,20,0.05), 0 4px 14px -8px rgba(8,30,20,0.14); font-weight: 600; font-size: 14px; color: var(--ink); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); transition: box-shadow .3s, border-color .3s, background .3s; will-change: transform; }
.fpill:hover { background: rgba(255,255,255,0.68); border-color: rgba(16,185,129,0.4); box-shadow: inset 0 1px 1px rgba(255,255,255,1), inset 0 -2px 6px rgba(8,30,20,0.07), 0 10px 24px -10px rgba(8,30,20,0.2); }
.fpill.primary { color: #fff; text-shadow: 0 1px 2px rgba(3,40,28,0.32); background: linear-gradient(180deg, rgba(34,205,148,0.95), rgba(5,150,105,0.96)); border-color: rgba(255,255,255,0.3); box-shadow: inset 0 1.5px 1px rgba(255,255,255,0.55), inset 0 -3px 8px rgba(3,45,30,0.3), 0 10px 24px -10px rgba(5,150,105,0.55); }
.fpill.primary svg { color: #fff; }
.fbar { position: relative; z-index: 2; max-width: var(--maxw); margin: 60px auto 0; padding: 26px 22px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.fbar .copy { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.fbar .made { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 100px; background: var(--glass-bg); border: 1px solid var(--glass-bd); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); font-weight: 600; }
.fbar .made .hb { color: #e0473b; animation: heartbeat 2s cubic-bezier(.25,1,.5,1) infinite; }
.fbar .made b { color: var(--ink); }
.totop { width: 46px; height: 46px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-bd); box-shadow: var(--sh-sm); display: flex; align-items: center; justify-content: center; color: var(--ink-2); cursor: pointer; transition: color .2s, box-shadow .2s; will-change: transform; }
.totop:hover { color: var(--g-700); box-shadow: var(--sh-md); }
.totop svg { transition: transform .3s; } .totop:hover svg { transform: translateY(-3px); }
@keyframes footbreathe { 0% { opacity: 0.6; } 100% { opacity: 1; } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15%, 45% { transform: scale(1.22); } 30% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .bigfoot .aurora, .fmarquee .track, .fbar .made .hb { animation: none; } }

/* ---------------- legal / prose pages ---------------- */
.legal { max-width: 800px; margin: 0 auto; padding: 56px 22px 24px; position: relative; z-index: 1; }
.legal .kicker { color: var(--g-700); }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 6px; }
.legal .meta { color: var(--ink-3); font-size: 13px; margin-bottom: 28px; }
.legal h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 6px 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--g-700); text-decoration: underline; }
.legal .back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--g-700); font-weight: 600; margin-bottom: 8px; }
.legal .note { background: var(--g-50); border: 1px solid rgba(16,185,129,0.25); border-radius: 12px; padding: 14px 16px; font-size: 13.5px; color: var(--ink-2); margin: 18px 0; }

/* ---------------- home fork ---------------- */
.fork { padding: 40px 0 20px; }
.fork-head { text-align: center; max-width: 760px; margin: 0 auto; }
.fork-cards { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 42px; }
.forkc { display: block; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-md); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.forkc:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: rgba(16,185,129,0.4); }
.forkc .fglow { position: absolute; top: -60px; right: -50px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,0.16), transparent 70%); pointer-events: none; }
.forkc .fk-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--g-50); border: 1px solid rgba(16,185,129,0.22); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.forkc h3 { font-size: 1.4rem; font-weight: 750; letter-spacing: -0.02em; }
.forkc p { color: var(--ink-2); font-size: 14.5px; margin-top: 10px; line-height: 1.6; }
.forkc .fk-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 700; font-size: 14.5px; color: var(--g-700); }
.fork-foot { text-align: center; margin-top: 34px; font-size: 14px; color: var(--ink-3); }
@media (min-width: 760px) { .fork-cards { grid-template-columns: 1fr 1fr; } }

/* mobile sticky cta */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 11px 16px calc(11px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: none; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }

@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }
.float { animation: floaty 5s ease-in-out infinite; }

/* ---------------- responsive ---------------- */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 46px; }
  .bento { gap: 18px; }
  .cell.span-2 { grid-column: span 2; } .cell.span-3 { grid-column: span 3; } .cell.span-4 { grid-column: span 4; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .cell.span-2, .cell.span-3 { grid-column: span 3; } .cell.span-4 { grid-column: span 6; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  *, .bgfx::before, .bgfx::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
