/* =============================================================================
   Summon AI — part of the Shravan.ai ecosystem
   Same design language as shravan-ai.tech: black canvas, white type, one
   dot-matrix display face (Doto) for the words that matter, a single deep-blue
   glow for "signal". Motion is calm: entrances once, ambience always.
   ========================================================================== */

:root {
  --bg: #000;
  --surface: #0a0a0a;
  --surface-2: #111113;
  --surface-3: #161618;
  --hair: rgba(255, 255, 255, 0.08);
  --hair-strong: rgba(255, 255, 255, 0.16);
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.72);
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --pill-dark-hover: #323234;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  --blob: #1e3a8a;
  --live: #4ade80;
  --amber: #fbbf24;
  --blue: #60a5fa;
  --danger: #fca5a5;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Doto", "Inter", monospace;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
::selection { background: rgba(255, 255, 255, 0.9); color: #000; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 3px; border-radius: 8px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Layout ------------------------------------------------------------------ */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.section { position: relative; padding: clamp(56px, 9vw, 120px) 0; }
.section-title {
  text-wrap: balance; font-weight: 300; font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -0.04em;
  line-height: 1.05; text-align: center; margin: 0 0 clamp(36px, 5vw, 72px);
}
.section-title em { font-style: normal; color: var(--muted); }
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0;
}
.center { text-align: center; }

/* Header ------------------------------------------------------------------ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  padding: clamp(14px, 2.2vh, 24px) clamp(14px, 3vw, 32px);
  display: flex; justify-content: center; pointer-events: none;
  animation: slideDown 0.7s var(--ease-out) both;
  transition: transform 0.45s var(--ease-out), opacity 0.35s;
}
.hdr.settled { animation: none; }
.hdr.is-hidden { transform: translateY(-130%); opacity: 0; }
.hdr-row {
  pointer-events: auto; width: 100%; max-width: 860px;
  display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.4vw, 24px);
}
.logo-btn {
  width: clamp(42px, 4.4vw, 48px); height: clamp(42px, 4.4vw, 48px); border-radius: 50%;
  box-shadow: var(--nav-shadow); display: grid; place-items: center; flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}
.logo-btn img { width: 100%; height: 100%; }
.logo-btn:hover { transform: scale(1.04); }
.nav-pill {
  flex: 1; min-width: 0; max-width: 520px; height: clamp(44px, 5.2vw, 48px);
  background: #fff; border-radius: 999px; box-shadow: var(--nav-shadow);
  padding: 4px 8px; display: flex; align-items: center; justify-content: space-around; overflow: hidden;
}
.nav-link {
  position: relative; padding: 8px clamp(6px, 1.1vw, 12px); border-radius: 999px;
  font-weight: 500; font-size: clamp(12.5px, 1.4vw, 15px); letter-spacing: -0.01em;
  color: var(--nav-text); opacity: 0.5; transition: opacity 0.2s; white-space: nowrap;
}
.nav-link:hover { opacity: 0.75; }
.nav-link.active { opacity: 1; }
.nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 3px; height: 3px;
  margin-left: -1.5px; background: #000; border-radius: 1px; box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}
.pill-dark {
  height: clamp(44px, 5.2vw, 48px); padding: 0 clamp(16px, 2vw, 22px); border-radius: 999px;
  background: var(--pill-dark); color: #c8c8c8; font-weight: 500; font-size: clamp(13px, 1.4vw, 14px);
  box-shadow: var(--nav-shadow); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.pill-dark:hover { background: var(--pill-dark-hover); color: #fff; transform: translateY(-1px); }

/* Buttons ----------------------------------------------------------------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(30px, 4.4vh, 44px); }
.btn-white, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px;
  padding: clamp(12px, 1.6vh, 14px) clamp(22px, 3vw, 28px); font-size: clamp(13.5px, 1.5vw, 15px);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.2s, background 0.2s;
}
.btn-white {
  background: #fff; color: #000; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 0 22px rgba(255,255,255,0.32), 0 0 44px rgba(255,255,255,0.12);
}
.btn-white:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 0 30px rgba(255,255,255,0.45), 0 0 60px rgba(255,255,255,0.18); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.22); color: #fff; font-weight: 500; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); transform: translateY(-1px); }
.btn-white:disabled, .btn-ghost:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  padding: clamp(100px, 14vh, 136px) clamp(20px, 4vw, 48px) clamp(20px, 3vh, 32px); overflow: hidden;
}
.bg { position: absolute; inset: 0; background: #000; overflow: hidden; z-index: 0; }
.bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(30,58,138,0.28), transparent 60%),
              radial-gradient(ellipse 100% 40% at 50% 100%, rgba(0,0,0,0.9), transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1; flex: 1; width: 100%; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 6vw, 96px); align-items: center;
}
.hero-copy { max-width: 620px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px;
  border-radius: 999px; background: var(--pill-dark); border: 1px solid rgba(255,255,255,0.18);
  color: #c4c2c3; font-size: 13px; font-weight: 500; margin-bottom: clamp(26px, 3.6vh, 40px);
}
.status-pill b { color: #fff; font-weight: 600; }
.status-pill span { white-space: nowrap; }
.dot-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(74,222,128,0.18); flex-shrink: 0; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(74,222,128,0.18); animation: dotHalo 2s ease-in-out infinite; }
.dot-live.off { background: #6b7280; box-shadow: 0 0 0 4px rgba(107,114,128,0.18); }
.dot-live.off::after { display: none; }
.headline {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.03em;
}
.headline span { display: block; white-space: nowrap; opacity: 0; transform: translateY(14px); animation: headlineFade 0.85s var(--ease-out) forwards; }
.headline span:nth-child(1) { animation-delay: 0.12s; }
.headline span:nth-child(2) { animation-delay: 0.26s; }
.headline span:nth-child(3) { animation-delay: 0.4s; color: var(--muted); }
.subhead { margin: clamp(24px, 3.6vh, 34px) 0 0; max-width: 540px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.6; color: #d0d0d0; opacity: 0.85; }

/* Call card (shared by landing + Lens) ------------------------------------- */
.call-card {
  position: relative; width: 100%; max-width: 460px; margin-left: auto;
  background: rgba(10,10,10,0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--hair-strong); border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06); overflow: hidden;
}
.call-card::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 60%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(30,58,138,0.55), transparent 65%);
}
.call-card.ringing { border-color: rgba(74,222,128,0.45); box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(74,222,128,0.25), 0 0 40px rgba(74,222,128,0.12); }
.call-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px 0; position: relative; }
.call-tag { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; color: var(--muted); white-space: nowrap; }
.call-tag b { color: var(--live); }
.call-card.ringing .call-tag b, .call-card.playing .call-tag b { animation: pulse 1.2s ease-in-out infinite; }
.pills { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.pill-toggle {
  border: 1px solid var(--hair-strong); background: var(--pill-dark); color: #bdbdbd;
  border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 500; line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s; white-space: nowrap;
}
.pill-toggle.is-on { background: #fff; color: #000; border-color: #fff; }
.speakers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px 0; position: relative; }
.speaker { border: 1px solid var(--hair); border-radius: 16px; padding: 12px 14px; background: rgba(255,255,255,0.02); transition: border-color 0.3s, background 0.3s; min-width: 0; }
.speaker.is-speaking { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.05); }
.speaker-name { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.caller .avatar { background: var(--pill-dark); color: #fff; border: 1px solid var(--hair-strong); }
.speaker-state { font-size: 11.5px; color: var(--muted); margin-top: 4px; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; margin-top: 10px; }
.wave i { display: block; width: 3px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.35); }
.wave.is-active i { animation: bar 0.9s ease-in-out infinite; background: #fff; }
.wave.is-active i:nth-child(2n) { animation-delay: 0.15s; }
.wave.is-active i:nth-child(3n) { animation-delay: 0.3s; }
.wave.is-active i:nth-child(4n) { animation-delay: 0.45s; }
.transcript {
  height: clamp(170px, 22vh, 230px); overflow-y: auto; padding: 14px 20px 6px; position: relative;
  display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth;
  mask-image: linear-gradient(to bottom, transparent, #000 14px, #000 calc(100% - 10px), transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14px, #000 calc(100% - 10px), transparent);
}
.transcript::-webkit-scrollbar { width: 0; }
.turn { max-width: 88%; border-radius: 16px; padding: 10px 12px; font-size: 13.5px; line-height: 1.5; animation: turnIn 0.35s var(--ease-out) both; overflow-wrap: anywhere; }
.turn-agent { background: #fff; color: #000; border-bottom-left-radius: 6px; }
.turn-caller { background: rgba(255,255,255,0.08); color: #f0f0f0; border-bottom-right-radius: 6px; margin-left: auto; }
.turn-head { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55; margin-bottom: 3px; }
.turn-fact { align-self: center; max-width: 100%; font-size: 12px; color: var(--muted); border: 1px dashed var(--hair-strong); border-radius: 999px; padding: 5px 12px; animation: turnIn 0.35s var(--ease-out) both; }
.turn-fact b { color: var(--live); font-weight: 600; }
.call-actions { display: flex; align-items: center; gap: 10px; padding: 12px 20px 20px; position: relative; }
.play-btn {
  flex: 1; height: 48px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; font-size: 14.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 0 24px rgba(255,255,255,0.28);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, opacity 0.2s;
}
.play-btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 0 34px rgba(255,255,255,0.4); }
.play-btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.play-btn.dark { background: rgba(255,255,255,0.08); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); }
.call-note { text-align: center; font-size: 11.5px; color: var(--muted); padding: 0 20px 16px; position: relative; }

/* Stats ------------------------------------------------------------------- */
.stats { position: relative; z-index: 1; width: 100%; max-width: 980px; margin: clamp(18px, 3.4vh, 44px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; }
.stat .glyph { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 33px); line-height: 1; }
.stat .val { font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; margin-top: 8px; }
.stat .lbl { font-size: clamp(11px, 1.2vw, 12.5px); color: var(--muted); margin-top: 4px; }

/* Entrances ---------------------------------------------------------------- */
.anim { opacity: 0; transform: translateY(22px) scale(0.98); animation: reveal 0.85s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Ecosystem strip ---------------------------------------------------------- */
.ecosystem { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 22px 0; }
.eco-row { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 5vw, 56px); flex-wrap: wrap; }
.eco-item { display: flex; align-items: center; gap: 10px; color: #cfcfcf; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; opacity: 0.8; }
.eco-item .glyph { font-family: var(--font-display); font-weight: 700; color: #fff; }
.eco-kicker { text-align: center; color: var(--muted); font-size: 12px; margin: 14px 0 0; letter-spacing: 0.04em; }

/* Pipeline ------------------------------------------------------------------ */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hair); border-radius: var(--radius-lg); background: var(--surface); }
.pipe { padding: clamp(20px, 2.6vw, 30px); border-right: 1px solid var(--hair); position: relative; }
.pipe:last-child { border-right: 0; }
.pipe .glyph { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.pipe h4 { margin: 12px 0 6px; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.pipe p { margin: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.55; }
.pipe .arrow { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 1px solid var(--hair-strong); display: grid; place-items: center; z-index: 2; font-size: 11px; color: #ddd; }
.pipe:last-child .arrow { display: none; }

/* Cards --------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.card { position: relative; min-height: 420px; border-radius: var(--radius); background: var(--surface); overflow: hidden; border: 1px solid var(--hair); }
.card.pad { padding: 32px; }
.blob { position: absolute; border-radius: 50%; background: var(--blob); filter: blur(64px); opacity: 0.4; pointer-events: none; }
.blob-l { top: 50%; left: -420px; width: 460px; height: 460px; transform: translateY(-50%); }
.blob-r { top: -112px; right: -112px; width: 224px; height: 224px; }
.card-in { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.card h3 { margin: 0; font-weight: 300; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; letter-spacing: -0.02em; }
.card p { font-size: 14px; line-height: 1.6; color: var(--text-2); font-weight: 300; max-width: 320px; }
.card .mid { margin-top: 56px; }
.card .bottom { margin-top: auto; margin-bottom: 0; }
.card-media { position: relative; width: 100%; height: 72%; overflow: hidden; }
.card-media canvas { width: 100%; height: 100%; }
.card-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(to bottom, transparent, var(--surface)); pointer-events: none; }
.card-caption { padding: 8px 32px 28px; }
.card-caption p { margin: 10px 0 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid var(--hair-strong); color: #d6d6d6; background: rgba(255,255,255,0.03); white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* Split section ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split h2 { margin: 12px 0 0; font-weight: 300; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.035em; line-height: 1.08; }
.split h2 em { font-style: normal; color: var(--muted); }
.split p.lead { color: var(--text-2); font-size: 15.5px; line-height: 1.65; margin: 18px 0 0; max-width: 520px; }
.bullets { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.bullets li { display: flex; gap: 12px; align-items: baseline; color: #ddd; font-size: 14.5px; }
.bullets li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; flex-shrink: 0; transform: translateY(-2px); }

/* Console panel (decision + code) ----------------------------------------- */
.console { position: relative; border: 1px solid var(--hair-strong); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.console::before { content: ""; position: absolute; top: -160px; right: -120px; width: 320px; height: 320px; border-radius: 50%; background: var(--blob); filter: blur(80px); opacity: 0.4; pointer-events: none; }
.console > * { position: relative; }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--hair); }
.console-bar .dots { display: flex; gap: 6px; }
.console-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2c; display: block; }
.console-bar .title { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; color: var(--muted); margin-left: 8px; }
.console-body { padding: 18px 20px 22px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: #eee; font-variant-numeric: tabular-nums; }
.verdict { margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--hair-strong); background: #0f0f10; }
.verdict .act { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }
.verdict .why { color: var(--text-2); font-size: 13.5px; }
.verdict.call .act { color: var(--live); }
.verdict.retry .act { color: var(--amber); }
.verdict.skip .act { color: var(--danger); }
pre.code { margin: 0; padding: 18px 20px 22px; overflow-x: auto; font-family: var(--font-mono); font-size: 12.8px; line-height: 1.7; color: #d4d4d4; }
pre.code .k { color: #fff; font-weight: 600; }
pre.code .l { color: var(--live); }
pre.code .r { color: var(--blue); }
pre.code .c { color: #6b6b6b; }
pre.code .p { color: var(--amber); }

/* Rows (integrations) ------------------------------------------------------ */
.rows { display: grid; gap: 12px; }
.row { border: 1px solid var(--hair); border-radius: var(--radius); background: var(--surface); padding: 20px 22px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; transition: border-color 0.25s, transform 0.25s var(--ease-out); }
.row:hover { border-color: var(--hair-strong); transform: translateX(4px); }
.row .glyph { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-align: center; }
.row h4 { margin: 0; font-weight: 500; font-size: 16px; }
.row p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.row code { font-family: var(--font-mono); font-size: 12px; color: #cfcfcf; background: #151517; border: 1px solid var(--hair); padding: 2px 6px; border-radius: 6px; }
.status { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 5px 10px; border: 1px solid rgba(74,222,128,0.4); color: var(--live); white-space: nowrap; }
.status.soon { border-color: var(--hair-strong); color: var(--muted); }

/* Trust grid ---------------------------------------------------------------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust { border: 1px solid var(--hair); border-radius: var(--radius); background: var(--surface); padding: 26px 24px; min-height: 230px; display: flex; flex-direction: column; transition: border-color 0.25s, transform 0.3s var(--ease-out); }
.trust:hover { border-color: var(--hair-strong); transform: translateY(-4px); }
.trust .glyph { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.trust h4 { margin: 14px 0 8px; font-weight: 500; font-size: 17px; }
.trust p { margin: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.55; }
.trust a { margin-top: auto; padding-top: 16px; color: #ddd; font-size: 13.5px; }
.trust a:hover { color: #fff; }

/* Contact band ------------------------------------------------------------- */
.contact-band { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--hair); background: var(--surface); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); text-align: center; overflow: hidden; }
.contact-band::before { content: ""; position: absolute; left: 50%; top: -220px; width: 560px; height: 560px; transform: translateX(-50%); border-radius: 50%; background: var(--blob); filter: blur(90px); opacity: 0.35; }
.contact-band > * { position: relative; }
.contact-band h2 { text-wrap: balance; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 5vw, 60px); letter-spacing: -0.02em; line-height: 1.05; }
.contact-band p { color: var(--text-2); max-width: 560px; margin: 16px auto 28px; font-size: 16px; }
.contact-band .cta-row { justify-content: center; margin-top: 0; }
.term { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px; border-radius: 12px; background: #0f0f10; border: 1px solid var(--hair-strong); font-family: var(--font-mono); font-size: 13px; color: #ddd; max-width: 100%; overflow-x: auto; }
.term span { color: var(--muted); }
.copy-btn { color: var(--muted); font-family: var(--font-sans); font-size: 12px; border: 1px solid var(--hair-strong); border-radius: 8px; padding: 3px 8px; }
.copy-btn:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

/* Footer -------------------------------------------------------------------- */
.foot { position: relative; overflow: hidden; border-top: 1px solid var(--hair); padding: clamp(54px, 7vw, 88px) 0 28px; background: radial-gradient(circle at 8% 10%, rgba(30,58,138,.24), transparent 28rem), linear-gradient(180deg, #060607, #000 68%); }
.foot::before { content: "SUMMON"; position: absolute; right: -1vw; bottom: -5vw; font-family: var(--font-display); font-size: clamp(74px, 16vw, 240px); font-weight: 700; letter-spacing: -.07em; line-height: .8; color: rgba(255,255,255,.022); pointer-events: none; }
.foot-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(240px, .85fr) 1.65fr; gap: clamp(44px, 8vw, 130px); align-items: start; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; width: fit-content; }
.foot-brand .brand { font-size: 20px; }
.foot-brand .brand img { width: 38px; height: 38px; }
.foot-brand > p { margin: 20px 0 22px; color: var(--text-2); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; letter-spacing: -.015em; }
.maker { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border: 1px solid var(--hair-strong); border-radius: 999px; color: #e8e8e8; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.04); transition: background .2s, border-color .2s, transform .2s var(--ease-out), color .2s; }
.maker:hover { background: #fff; border-color: #fff; color: #000; transform: translateY(-2px); }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(90px, 1fr)); gap: clamp(22px, 4vw, 56px); }
.foot-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-links h3 { margin: 0 0 9px; font-family: var(--font-display); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #f1f1f1; }
.foot-links a { color: var(--muted); font-size: 13px; padding: 2px 0; transition: color .2s; }
.foot-links a:hover { color: #fff; }
.foot-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 76px); padding-top: 22px; border-top: 1px solid var(--hair); }
.fine { color: #5c5c5c; font-size: 12.5px; margin: 0; }
.foot-status { display: flex; align-items: center; gap: 8px; margin: 0; color: #666; font-size: 12px; }
.foot-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 12px rgba(74,222,128,.55); }

/* =============================================================================
   Memory Lens — console
   ========================================================================== */
body.lens-page { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.lens-top { display: flex; align-items: center; gap: 14px; padding: 12px clamp(12px, 2vw, 20px); border-bottom: 1px solid var(--hair); background: rgba(0,0,0,0.85); position: relative; z-index: 5; flex-wrap: wrap; }
.lens-top .brand img { width: 34px; height: 34px; }
.lens-title { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.lens-search { flex: 1; min-width: 180px; max-width: 460px; position: relative; }
.lens-search input { width: 100%; height: 40px; border-radius: 999px; border: 1px solid var(--hair-strong); background: #0f0f10; color: #fff; padding: 0 16px 0 40px; outline: none; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.lens-search input:focus { border-color: rgba(255,255,255,0.5); box-shadow: 0 0 0 4px rgba(255,255,255,0.06); }
.lens-search svg { position: absolute; left: 14px; top: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.lens-top .right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.conn { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.small-btn { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hair-strong); color: #ddd; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.small-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); color: #fff; }
.small-btn.white { background: #fff; color: #000; border-color: #fff; }
.small-btn.white:hover { background: #e9e9e9; }
.made { font-size: 12px; color: var(--muted); white-space: nowrap; }
.made b { color: #ddd; font-weight: 500; }

.lens-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr minmax(340px, 420px); gap: 14px; padding: 14px clamp(12px, 2vw, 20px) clamp(12px, 2vw, 20px); }
.graph-panel { position: relative; min-height: 0; border: 1px solid var(--hair); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.cy-wrap { position: relative; flex: 1; min-height: 0; }
.graph-panel::before { content: ""; position: absolute; left: -200px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: var(--blob); filter: blur(110px); opacity: 0.22; pointer-events: none; }
#cy { position: absolute; inset: 0; }
.graph-hud { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hair); flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; max-width: 70%; }
.filter { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid var(--hair-strong); background: rgba(10,10,10,0.82); color: #ddd; backdrop-filter: blur(8px); transition: opacity .2s, border-color .2s; }
.filter i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.filter[aria-pressed="false"] { opacity: 0.38; }
.filter .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.zoom { display: flex; gap: 6px; }
.zoom button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hair-strong); background: rgba(10,10,10,0.82); color: #ddd; display: grid; place-items: center; font-size: 15px; backdrop-filter: blur(8px); }
.zoom button:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; z-index: 1; }
.empty h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 32px); }
.empty p { color: var(--text-2); max-width: 420px; margin: 10px auto 18px; font-size: 14px; }
.empty code { font-family: var(--font-mono); font-size: 12.5px; background: #151517; border: 1px solid var(--hair); padding: 3px 8px; border-radius: 6px; color: #ddd; }
.tooltip { position: absolute; z-index: 3; pointer-events: none; max-width: 300px; padding: 8px 10px; border-radius: 10px; background: #fff; color: #000; font-size: 12.5px; line-height: 1.4; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: translate(-50%, calc(-100% - 14px)); }
.tooltip b { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; margin-bottom: 2px; }

.side { min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--pill-dark); align-self: flex-start; }
.tabs button { padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #bbb; transition: background 0.2s, color 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.tabs button[aria-selected="true"] { background: #fff; color: #000; }
.tabs .badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--live); color: #000; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.tab-panel { flex: 1; min-height: 0; overflow: auto; border: 1px solid var(--hair); border-radius: var(--radius-lg); background: var(--surface); }
.tab-panel::-webkit-scrollbar { width: 6px; }
.tab-panel::-webkit-scrollbar-thumb { background: #2a2a2c; border-radius: 6px; }
.tab-panel.call-host { border: 0; background: transparent; overflow: auto; }
.tab-panel .call-card { max-width: none; margin: 0; }
#panel-call .call-card { height: 100%; min-height: 460px; display: flex; flex-direction: column; }
#panel-call .transcript { flex: 1 1 0; height: auto; min-height: 160px; }
#panel-call .answer-form { flex-shrink: 0; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--hair); }
.call-card .pills:empty { display: none; }
.pad-in { padding: 18px 20px; }
.panel-h { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; margin: 0 0 12px; }
.answer-form { padding: 0 20px 6px; position: relative; display: grid; gap: 10px; }
.answer-form label { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.answer-form input, .answer-form textarea { width: 100%; background: #0f0f10; border: 1px solid var(--hair-strong); color: #fff; border-radius: 12px; padding: 10px 12px; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.answer-form input:focus, .answer-form textarea:focus { border-color: rgba(255,255,255,0.5); box-shadow: 0 0 0 4px rgba(255,255,255,0.06); }
.answer-form textarea { resize: vertical; min-height: 64px; }
.hint { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.facts { display: grid; gap: 10px; }
.fact { border: 1px solid var(--hair); border-radius: 14px; padding: 12px 14px; background: #0d0d0e; }
.fact .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fact .v { margin-top: 4px; font-size: 14px; color: #f2f2f2; overflow-wrap: anywhere; }
.fact .v code { font-family: var(--font-mono); font-size: 12px; color: #cfcfcf; }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.path .node { font-size: 12px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--hair-strong); background: #111113; color: #eee; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.path .sep { color: var(--muted); font-size: 12px; }
.readers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.feed { display: grid; gap: 8px; padding: 14px; }
.evt { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--hair); background: #0d0d0e; font-size: 13px; line-height: 1.45; display: grid; grid-template-columns: 14px 1fr; gap: 10px; animation: turnIn 0.35s var(--ease-out) both; }
.evt .mk { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: #555; }
.evt time { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.evt b { font-weight: 600; color: #fff; }
.mk.call { background: var(--blue); } .mk.ok { background: var(--live); } .mk.warn { background: var(--amber); } .mk.bad { background: var(--danger); } .mk.task { background: #a3a3a3; }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .call-card { margin: 0 auto; }
  .cards, .trust-grid { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .lens-main { grid-template-columns: 1fr; grid-template-rows: minmax(360px, 58vh) auto; overflow: auto; }
  body.lens-page { height: auto; overflow: auto; }
  .side { min-height: 520px; }
}
@media (max-width: 720px) {
  .nav-pill .nav-link.opt { display: none; }
  .pill-dark .lbl { display: none; }
  .pill-dark { padding: 0 14px; }
  .headline { font-size: clamp(30px, 9vw, 44px); }
  .headline span { white-space: normal; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipe:nth-child(2) { border-right: 0; }
  .pipe:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .pipe .arrow { display: none; }
  .cards, .trust-grid { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; }
  .card { min-height: 0; }
  .card .mid { margin-top: 32px; }
  .card.media-card .card-media { height: 220px; }
  .row { grid-template-columns: 36px 1fr; }
  .row .status { grid-column: 2; justify-self: start; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .lens-search { order: 3; flex-basis: 100%; max-width: none; }
  .pill-more { display: none; }
  .graph-hud { flex-wrap: nowrap; align-items: center; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
  .made { display: none; }
  .filters { max-width: 100%; }
}
@media (max-width: 420px) {
  .speakers { grid-template-columns: 1fr; }
  .speaker .wave { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .anim, .reveal, .headline span { opacity: 1; transform: none; }
}

/* Keyframes ------------------------------------------------------------- */
@keyframes dotHalo { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.375); opacity: 0.35; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes headlineFade { to { opacity: 1; transform: none; } }
@keyframes reveal { to { opacity: 1; transform: none; } }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 20px; } }
@keyframes turnIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
