:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --panel: #ffffff;
  --bg: #f6f8fb;
}

* { box-sizing: border-box; }

html {
  overflow-anchor: none;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34rem),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 100vh;
  overflow-anchor: none;
}

.shell { max-width: 1320px; margin: 0 auto; padding: 24px; }

@media (max-width: 540px) { #auditLogCalls { display: none !important; } }
@media (max-width: 400px) { #auditLogTokens { display: none !important; } }
.access-modal { display: none; position: fixed; z-index: 2000; inset: 0; background: rgba(15, 23, 42, 0.62); backdrop-filter: blur(5px); }
.access-modal-content { background: white; margin: 7vh auto; padding: 28px; border-radius: 20px; width: 90%; max-width: 520px; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.access-close { float: right; font-size: 26px; cursor: pointer; color: #64748b; }
.access-modal h2 { margin: 0 0 6px; letter-spacing: -0.03em; }
.access-modal p { color: var(--muted); margin-top: 0; }
.access-modal label { display: block; margin: 14px 0 6px; font-weight: 800; font-size: 14px; }
.access-modal input, .access-modal textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 10px; font-family: inherit; font-size: 14px; }
.access-modal textarea { min-height: 110px; resize: vertical; }
.access-submit { margin-top: 16px; width: 100%; border: 0; border-radius: 12px; background: var(--blue); color: white; padding: 13px; font-weight: 900; cursor: pointer; }
.access-submit:hover { background: var(--blue-dark); }

.success-modal-content { text-align: center; max-width: 460px; }
.success-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 28px;
  font-weight: 950;
}
.success-close { float: right; font-size: 26px; cursor: pointer; color: #64748b; }
.success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.success-actions .btn-primary { background: var(--blue); color: white; box-shadow: none; }
.success-actions .btn-secondary { background: #f8fafc; color: #0f172a; border: 1px solid #e2e8f0; }

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #111827 46%, #1e3a8a 100%);
  color: white;
  padding: 30px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}
.hero::after {
  content: "";
  position: absolute;
  inset: -120px -90px auto auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.20);
  filter: blur(4px);
}
.hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #bfdbfe;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 { margin: 18px 0 8px; color: white; font-size: clamp(34px, 5vw, 64px); line-height: .95; letter-spacing: -0.055em; }
.subtitle { margin: 0; color: #cbd5e1; font-size: 17px; max-width: 760px; line-height: 1.55; }

.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary { background: #fff; color: #0f172a; box-shadow: 0 10px 30px rgba(255,255,255,.12); }
.btn-secondary { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.18); }

.status-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.status-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 15px;
  backdrop-filter: blur(10px);
}
.status-card strong { display: block; color: white; font-size: 20px; line-height: 1; }
.status-card span { display: block; margin-top: 7px; color: #cbd5e1; font-size: 13px; }

.swagger-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.09);
}
.swagger-card-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 18px;
  background: #ffffff;
}
.swagger-card-header h2 { margin: 0; font-size: 16px; letter-spacing: -0.02em; }
.swagger-card-header p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

#swagger-ui { padding: 0 0 22px; }
.swagger-ui .topbar, .swagger-ui .info, .swagger-ui .filter-container { display: none; }
.swagger-ui .scheme-container { box-shadow: none; border: 1px solid var(--line); border-radius: 14px; margin: 0 20px 20px; }
.swagger-ui .opblock { border-radius: 14px; overflow: hidden; }
.swagger-ui .opblock-tag { font-size: 18px; border-bottom: 1px solid var(--line); }

.agent-card { border-radius: 24px; background: #020617; border: 1px solid rgba(148,163,184,.28); overflow: hidden; }
.agent-app { display: grid; grid-template-columns: 300px 1fr; height: min(760px, calc(100vh - 120px)); min-height: 620px; max-height: 820px; }

.agent-sidebar {
  padding: 20px;
  color: white;
  background: radial-gradient(circle at top left, rgba(59,130,246,.34), transparent 22rem), linear-gradient(180deg,#0f172a,#020617);
  border-right: 1px solid rgba(255,255,255,.1);
  overflow: auto;
}
.agent-sidebar h2 { margin: 14px 0 8px; color: white; font-size: 28px; line-height: 1; letter-spacing: -.055em; }
.agent-sidebar p { margin: 0; color: #cbd5e1; font-size: 14px; line-height: 1.55; }
.agent-badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #ecfeff; color: #0e7490; font-size: 12px; font-weight: 950; }

.gonzo-terminal {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: #020617;
  border: 1px solid rgba(147,197,253,.22);
  color: #dbeafe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.16;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 34px rgba(2,6,23,.12);
  text-shadow: 0 0 18px rgba(96,165,250,.28);
  white-space: pre;
}

.agent-capabilities { display: grid; gap: 10px; margin-top: 18px; }
.agent-capability { padding: 12px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.agent-capability strong { display: block; color: white; font-size: 13px; }
.agent-capability span { display: block; color: #94a3b8; font-size: 12px; margin-top: 3px; line-height: 1.4; }

#sidebarResults { display: none; }
.sidebar-toggle-check, .sidebar-toggle-label { display: none; }
.btn-close-chat {
  display: none;
  background: none;
  border: none;
  color: #64748b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
#mobileSidebarToggleBtn {
  display: none;
}
@media (min-width: 761px) {
  #mobileSidebarToggleBtn {
    display: none !important;
  }
}
.btn-close-sidebar-mobile {
  display: none;
}
.agent-app:not(.session-active) .agent-chat-top,
.agent-app:not(.session-active) .agent-composer {
  display: none !important;
}
.session-active #sidebarInfo { display: none; }
.session-active #sidebarResults { display: block; }
.sidebar-item-list { display: grid; gap: 8px; margin-top: 12px; }
.sidebar-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  animation: itemFlash 0.6s ease-out;
}
.sidebar-item:hover { background: rgba(255,255,255,0.1); transform: translateX(4px); }
.sidebar-item.selected { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.3); transform: translateX(4px); }
.sidebar-item strong { display: block; color: white; font-size: 13px; line-height: 1.3; }
.sidebar-item span { font-size: 11px; color: #94a3b8; }

@keyframes itemFlash {
  0% { background: rgba(37, 99, 235, 0.45); }
  100% { background: rgba(255, 255, 255, 0.05); }
}

.agent-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg,#f8fafc,#eef2f7);
  min-width: 0;
  min-height: 0;
}
.agent-chat-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #e2e8f0; background: rgba(255,255,255,.9); }
.agent-status { display: flex; align-items: center; gap: 9px; color: #334155; font-size: 13px; font-weight: 850; }
.agent-dot { width: 9px; height: 9px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.14); animation: agentPulse 1.8s ease-in-out infinite; }

.agent-messages {
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  scroll-behavior: smooth;
  overflow-anchor: auto;
}
.agent-message { display: flex; gap: 10px; max-width: 860px; animation: agentMessageIn .28s cubic-bezier(.2,.8,.2,1) both; }
.agent-message.user { align-self: flex-end; flex-direction: row-reverse; }
.agent-avatar { display: none !important; }

.agent-bubble { padding: 13px 14px; border-radius: 18px; background: white; border: 1px solid #e2e8f0; color: #334155; line-height: 1.5; box-shadow: 0 8px 24px rgba(15,23,42,.06); transition: transform .18s ease, box-shadow .18s ease; }
.agent-bubble p { margin: 0 0 10px 0; }
.agent-bubble p:last-child { margin-bottom: 0; }
.agent-bubble ul, .agent-bubble ol { margin: 0 0 10px 0; padding-left: 20px; }
.agent-bubble li { margin-bottom: 4px; }
.agent-bubble code { background: #f1f5f9; padding: 2px 4px; border-radius: 4px; font-size: 13px; }
.agent-message.user .agent-bubble { background: var(--blue); color: white; border-color: var(--blue); }
.agent-message:not(.user) .agent-bubble:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(15,23,42,.09); }

.gonzo-intro { display: flex; align-items: center; gap: 12px; }
.gonzo-intro .gonzo-terminal { width: max-content; max-width: 100%; flex: 0 0 auto; }
.gonzo-intro-copy { color: #334155; font-weight: 850; line-height: 1.45; }

.agent-composer { padding: 14px; border-top: 1px solid #e2e8f0; background: rgba(255,255,255,.94); }
.agent-input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.agent-form { display: grid; gap: 12px; }
.agent-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  background: #fff;
  font: inherit;
  font-size: 14px;
  min-height: 54px;
  height: 54px;
  max-height: 240px;
  border-radius: 16px;
  padding: 14px;
  resize: vertical;
  box-sizing: border-box;
}
.agent-form textarea:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(96,165,250,.18); }
.agent-submit { height: 54px; padding: 0 18px; background: var(--blue); color: white; }
.agent-submit:disabled { opacity: .65; cursor: not-allowed; }
.agent-secondary { background: #f8fafc; color: #0f172a; border: 1px solid #e2e8f0; }

.agent-chip, .agent-submit, .agent-secondary { transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease; }
.agent-chip:hover, .agent-submit:hover, .agent-secondary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,23,42,.12); }

.composer-context { margin-bottom: 10px; display: flex; align-items: center; animation: agentMessageIn .2s ease; }
.context-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; border-radius: 12px; font-size: 12px; font-weight: 800; }
.context-pill strong { color: #1d4ed8; font-family: ui-monospace, monospace; background: rgba(37, 99, 235, 0.08); padding: 2px 6px; border-radius: 6px; }
.clear-context { cursor: pointer; color: #94a3b8; font-weight: 950; font-size: 15px; transition: color 0.15s ease; padding: 2px 6px; margin-left: 2px; }
.clear-context:hover { color: #ef4444; }

.agent-init-screen {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(238, 242, 247, 0.8);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.agent-app.session-active .agent-init-screen { opacity: 0; visibility: hidden; pointer-events: none; }
.btn-init { background: #0f172a; color: white; padding: 16px 32px; font-size: 16px; letter-spacing: 0.05em; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3); max-width: 280px; width: 100%; margin: 0 auto; }
.init-label { margin-top: 12px; font-size: 12px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 0.1em; }

.agent-message.doc-card { align-self: flex-start; width: 100%; max-width: 580px; }
.doc-card-inner { background: #0b1329; border: 1px solid rgba(147, 197, 253, 0.2); border-radius: 18px; padding: 16px; color: #e2e8f0; box-shadow: 0 10px 30px rgba(0,0,0,0.25); width: 100%; }
.doc-card-header { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; margin-bottom: 8px; font-weight: 800; }
.doc-card-title { font-size: 14px; font-weight: 800; color: white; margin-bottom: 12px; line-height: 1.4; }
.doc-card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.btn-card-action { appearance: none; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: white; padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 800; cursor: pointer; transition: all 0.15s ease; }
.btn-card-action:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.btn-card-action.action-pin { background: rgba(37, 99, 235, 0.25); border-color: rgba(37, 99, 235, 0.4); color: #bfdbfe; }
.btn-card-action.action-pin:hover { background: rgba(37, 99, 235, 0.4); }

.doc-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; font-size: 13px; }
.doc-card-cell { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); padding: 6px 10px; border-radius: 10px; }
.doc-card-cell span { display: block; font-size: 10px; color: #94a3b8; text-transform: uppercase; font-weight: 800; margin-bottom: 2px; }
.doc-card-cell strong { color: white; font-weight: 700; }
.doc-card-desc { background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.18); padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; margin: 12px 0 8px; color: #bfdbfe; }
.doc-card-subtitle { font-size: 12px; color: #94a3b8; line-height: 1.4; margin-top: 4px; padding-left: 8px; border-left: 2px solid rgba(255,255,255,0.15); }
.doc-card-section-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: #60a5fa; margin: 14px 0 6px; font-weight: 900; }
.doc-card-keypoints { margin: 6px 0 12px; padding-left: 18px; font-size: 13px; color: #e2e8f0; line-height: 1.5; }
.doc-card-keypoints li { margin-bottom: 5px; }
.doc-card-member-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.doc-card-avatar { width: 54px; height: 54px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background-size: cover; background-position: center; flex-shrink: 0; }
.doc-card-json { margin-top: 12px; background: #020617; border: 1px solid rgba(147, 197, 253, 0.15); border-radius: 10px; padding: 12px; font-size: 11px; color: #bfdbfe; overflow-y: auto; overflow-x: hidden; max-height: 240px; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, monospace; }

.agent-log { margin: 12px 0; border-radius: 16px; border: 1px solid rgba(59, 130, 246, 0.25); background: #020617; flex-shrink: 0; width: 100%; box-sizing: border-box; animation: agentMessageIn .25s ease both; }
.agent-log summary { padding: 14px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: rgba(59, 130, 246, 0.08); list-style: none; user-select: none; min-height: 48px; box-sizing: border-box; }
.agent-log summary::-webkit-details-marker { display: none; }
.agent-log-title { color: #60a5fa; font-family: ui-monospace, monospace; font-size: 11px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.agent-log-meta { display: flex; gap: 8px; align-items: center; }
.log-badge { font-family: ui-monospace, monospace; font-size: 10px; padding: 4px 8px; border-radius: 6px; background: rgba(59, 130, 246, 0.15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); white-space: nowrap; }
.agent-log .label-shrink { display: none; }
.agent-log[open] .label-expand { display: none; }
.agent-log[open] .label-shrink { display: inline; }
.agent-log[open] { border-color: rgba(59, 130, 246, 0.5); }
.agent-log[open] summary { background: rgba(59, 130, 246, 0.12); }
.paw-icon { margin-right: 8px; font-size: 13px; color: transparent; text-shadow: 0 0 0 #60a5fa; vertical-align: baseline; opacity: 0.8; }
.paw-icon.loading { text-shadow: none; color: #60a5fa; display: inline-block; }
.log-loading-dots::after { content: ''; display: inline-block; width: 12px; text-align: left; animation: logDots 1.5s steps(4, end) infinite; }
@keyframes logDots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

.agent-log pre {
  margin: 0;
  padding: 18px;
  font-size: 11px;
  color: #bfdbfe;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  background: rgba(0, 0, 0, 0.4);
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, monospace;
}

.gonzo-loading-bubble { width: min(420px, 100%); background: #020617; color: #dbeafe; border-color: rgba(59,130,246,.25); overflow: hidden; }
.gonzo-loader { display: grid; gap: 8px; }
.gonzo-dig-site { position: relative; min-height: 86px; overflow: hidden; border-radius: 14px; background: radial-gradient(circle at 50% 78%, rgba(96,165,250,.18), transparent 9rem), linear-gradient(90deg, rgba(15,23,42,.46), rgba(30,58,138,.22), rgba(15,23,42,.46)); border: 1px solid rgba(147,197,253,.14); }
.gonzo-runner { position: absolute; left: 50%; top: 13px; transform: translateX(-50%); margin: 0; color: #bfdbfe; font-family: ui-monospace, monospace; font-size: 13px; line-height: 1.06; white-space: pre; animation: gonzoDigShake .18s steps(2,end) infinite; text-shadow: 0 0 16px rgba(96,165,250,.42); }
.gonzo-dirt { position: absolute; left: 50%; top: 51px; transform: translateX(-50%); color: #60a5fa; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 900; letter-spacing: 2px; opacity: .8; animation: gonzoDirt .7s ease-out infinite; }
.gonzo-dirt:nth-child(3) { animation-delay: .18s; color: #93c5fd; }
.gonzo-dirt:nth-child(4) { animation-delay: .36s; color: #bfdbfe; }
.gonzo-loader-label { color: #93c5fd; font-size: 12px; font-weight: 900; letter-spacing: .01em; }

.gonzo-signature { margin-top: 12px; display: flex; align-items: center; gap: 8px; color: #64748b; font-size: 12px; font-weight: 850; }
.gonzo-signature pre { margin: 0; font-family: ui-monospace, monospace; line-height: 1; color: #64748b; }

.content-section { margin-top: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 34px 0 14px; }
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.04em; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.info-card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.03em; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.info-card ul { padding-left: 18px; margin: 12px 0 0; color: #334155; font-size: 14px; line-height: 1.65; }
.info-card h4 { margin: 14px 0 0; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: #475569; }
.price { font-size: 28px; font-weight: 950; letter-spacing: -0.05em; margin: 8px 0 0; }
.price-sub { margin: 2px 0 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.not-included li { color: #64748b; }

.below-pricing {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.20), transparent 32rem),
    linear-gradient(135deg, #0f172a 0%, #111827 52%, #172554 100%);
  color: white;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}
.below-pricing-inner { position: relative; z-index: 1; padding: 26px; }
.below-pricing .section-head { margin: 0 0 18px; }
.below-pricing .section-head h2 { color: white; }
.below-pricing .section-head p { color: #cbd5e1; }
.delivery-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 16px; align-items: stretch; }
.coverage-panel, .roadmap-panel, .team-panel, .closing-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(12px);
}
.coverage-label { color: #93c5fd; font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.coverage-panel h3, .roadmap-panel h3, .team-panel h3, .closing-panel h3 { margin: 8px 0 8px; color: white; letter-spacing: -0.035em; }
.coverage-panel p, .roadmap-panel p, .team-panel p, .closing-panel p { margin: 0; color: #cbd5e1; font-size: 14px; line-height: 1.55; }
.jurisdiction-chip.active { border-color: rgba(34, 197, 94, 0.4); }

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 999px;
  margin-right: 10px;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 1);
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
}
.jurisdiction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.jurisdiction-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  color: white;
  font-weight: 950;
  transition: border-color 0.3s ease;
}
.lock-note {
  margin-top: 16px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(147, 197, 253, 0.22);
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.5;
}
.roadmap-steps { display: grid; gap: 10px; margin-top: 14px; }
.roadmap-step {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.roadmap-date { color: #bfdbfe; font-weight: 950; font-size: 13px; }
.roadmap-title { margin: 0 0 3px; color: white; font-weight: 950; letter-spacing: -0.02em; }
.roadmap-text { color: #cbd5e1; font-size: 13px; line-height: 1.45; }
.bottom-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 16px; }
.team-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.person { display: flex; gap: 12px; align-items: center; }
.avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #dbeafe;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.avatar-jacek { background-image: url('../img/jacek.jpg'); }
.avatar-konstancja { background-image: url('../img/konstancja.jpeg'); }
.person strong { display: block; color: white; line-height: 1.15; }
.person span { display: block; margin-top: 3px; color: #cbd5e1; font-size: 13px; line-height: 1.35; }
.closing-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.legal-footer {
  margin-top: 16px;
  color: #94a3b8;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}
.legal-footer p { margin: 0 0 4px; }
.legal-footer a { color: inherit; font-weight: 400; text-decoration: none; }
.legal-footer a:hover { color: #cbd5e1; text-decoration: underline; }

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.agent-message.is-removing { animation: agentFadeOut .16s ease both; }
@keyframes agentPulse { 0%,100% { box-shadow: 0 0 0 4px rgba(34,197,94,.14); } 50% { box-shadow: 0 0 0 8px rgba(34,197,94,.06); } }
@keyframes agentMessageIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes agentFadeOut { to { opacity: 0; transform: translateY(-4px) scale(.985); } }
@keyframes gonzoDigShake { 0%,100% { transform: translateX(-50%) translateY(0) rotate(-1deg); } 50% { transform: translateX(-50%) translateY(1px) rotate(1deg); } }
@keyframes gonzoDirt { 0% { opacity: 0; transform: translateX(-50%) translateY(6px) scale(.9); letter-spacing: 0; } 35% { opacity: .95; } 100% { opacity: 0; transform: translateX(-50%) translateY(-19px) scale(1.14); letter-spacing: 10px; } }
@keyframes gonzoPonder { 0% { opacity: 0; transform: translateY(4px) scale(0.85); } 50% { opacity: 0.8; } 100% { opacity: 0; transform: translateY(-8px) scale(1.05); } }

/* Media Queries (Mobile layout improvements) */
@media (max-width: 760px) {
  .shell { padding: 14px; }
  .hero { padding: 22px; border-radius: 18px; }
  .status-grid, .card-grid, .delivery-grid, .bottom-grid, .team-row { grid-template-columns: 1fr; }
  .roadmap-step { grid-template-columns: 1fr; gap: 6px; }
  .hero-actions { align-items: stretch; }
  .btn { width: 100%; }

  .agent-app {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
  }
.agent-chat {
    order: 1;
    height: 380px;
    min-height: 380px;
  }
  .agent-app.chat-expanded .agent-chat {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 1500;
    border-radius: 0;
    background: #f8fafc;
  }
  .chat-expanded .btn-close-chat {
    display: inline-block;
  }
  body.chat-open {
    overflow: hidden;
  }
  .agent-app.session-active:not(.chat-expanded) .agent-init-screen {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .agent-app.session-active:not(.chat-expanded) .agent-chat-top,
  .agent-app.session-active:not(.chat-expanded) .agent-messages,
  .agent-app.session-active:not(.chat-expanded) .agent-composer {
    display: none !important;
  }
  .agent-app.chat-expanded.show-sidebar .agent-sidebar {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background: #020617;
    display: block !important;
    overflow-y: auto;
  }
  .agent-app.chat-expanded.show-sidebar .sidebar-item-list {
    max-height: none !important;
    overflow: visible !important;
  }
  .show-sidebar .btn-close-sidebar-mobile {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    border: none;
  }
  .agent-app.session-active:not(.show-sidebar) #sidebarInfo {
    display: block !important;
  }
  .agent-app.session-active:not(.show-sidebar) #sidebarResults {
    display: none !important;
  }
  .agent-app.show-sidebar #sidebarInfo {
    display: none !important;
  }
  .agent-app.show-sidebar #sidebarResults {
    display: block !important;
  }
  .agent-sidebar {
    order: 2;
    height: auto;
    max-height: none;
    overflow: visible;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
    padding: 24px 20px;
  }
  
  .agent-messages { min-height: 260px; padding: 14px; overflow-anchor: none; }
  .agent-input-row { grid-template-columns: 1fr; }
  .gonzo-intro { align-items: flex-start; }
  .sidebar-item-list {
    max-height: 140px;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
  }
  .sidebar-toggle-label {
    display: block;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #bfdbfe;
    padding: 10px;
    border-radius: 12px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    user-select: none;
  }
  .sidebar-toggle-label:hover {
    background: rgba(255, 255, 255, 0.14);
  }
  .sidebar-toggle-label .label-less {
    display: none;
  }
  .sidebar-toggle-check:checked ~ .sidebar-item-list {
    max-height: 2500px;
  }
  .sidebar-toggle-check:checked ~ .sidebar-toggle-label .label-more {
    display: none;
  }
  .sidebar-toggle-check:checked ~ .sidebar-toggle-label .label-less {
    display: inline;
  }
  #sidebarItemList:empty ~ .sidebar-toggle-label {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .gonzo-intro { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .agent-dot, .agent-message, .gonzo-runner, .gonzo-dirt { animation: none; }
  .agent-chip, .agent-submit, .agent-secondary, .agent-bubble { transition: none; }
}
