/* Headless observability page: hero checklist, agents → DataPrime → lake flow, advantages bento */

/* hero checklist */
.ho-hero { padding-bottom: 80px; }
.ho-hero::before { top: 180px; height: 480px; }
.ho-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 56px auto 0; padding: 0; list-style: none; }
.ho-checks li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(var(--ink) / .03); font-size: 15px; color: var(--fg); }
.ho-checks svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(19,233,137,.15); box-shadow: inset 0 0 0 1px rgba(19,233,137,.35); fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* persona cards as links */
a.persona { display: flex; flex-direction: column; }
a.persona p { flex: 1; }
a.persona .link { margin-top: 22px; font-size: 14.5px; }

/* flow diagram */
.ho-flow { max-width: 920px; margin: 96px auto 0; display: flex; flex-direction: column; align-items: stretch; }
.ho-panel { padding: 32px; text-align: center; }
.ho-label { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--mint); }
.ho-desc { max-width: 640px; margin: 14px auto 0; font-size: 15.5px; line-height: 1.65; color: var(--fg-2); }
.ho-agents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.ho-agents a, .ho-chips a, .ho-pills a {
  display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line-2); background: rgb(var(--ink) / .03);
  color: var(--fg); transition: border-color .2s, background .2s, color .2s;
}
.ho-agents a { padding: 14px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.ho-agents a:hover, .ho-chips a:hover, .ho-pills a:hover { border-color: rgba(19,233,137,.6); background: rgba(19,233,137,.08); color: var(--fg-0); }
.ho-dp { border-color: rgba(19,233,137,.35); background: radial-gradient(600px 220px at 50% 0, rgba(19,233,137,.10), transparent 70%), linear-gradient(180deg, var(--card-a), var(--card-b)); }
.ho-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; text-align: left; }
.ho-tiles div { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: rgb(var(--ink) / .025); }
.ho-tiles b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.ho-tiles span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.ho-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.ho-pills a { padding: 8px 16px; border-radius: 999px; font-family: var(--mono); font-size: 13px; color: var(--mint); }
.ho-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.ho-chips a { padding: 8px 14px; border-radius: 10px; font-size: 14px; }
.ho-lake .link { margin-top: 24px; }
.ho-arrow { position: relative; align-self: center; width: 1px; height: 48px; background: linear-gradient(rgba(19,233,137,.15), rgba(19,233,137,.8)); }
.ho-arrow::after { content: ""; position: absolute; left: -4px; bottom: -1px; border: 4.5px solid transparent; border-top: 6px solid var(--accent); border-bottom: 0; }
.ho-arrow-up { background: repeating-linear-gradient(rgba(19,233,137,.8) 0 4px, transparent 4px 8px); }
.ho-arrow-up::after { top: -1px; bottom: auto; border-top: 0; border-bottom: 6px solid var(--accent); }
.ho-loop { display: flex; gap: 22px; align-items: flex-start; padding: 28px 32px; border-style: dashed; border-color: rgba(19,233,137,.4); }
.ho-loop-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(19,233,137,.1); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(19,233,137,.3); }
.ho-loop-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ho-loop h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.ho-loop p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--fg-2); }

/* customer logo */
.quote-logo.ho-mews { height: 26px; }

/* advantages bento */
.ho-adv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ho-adv-item { display: flex; flex-direction: column; padding: 32px 32px 0; }
.ho-adv-item h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ho-adv-item p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.ho-adv-item img { display: block; width: calc(100% + 64px); max-width: none; height: auto; margin: auto -32px 0; padding-top: 24px; filter: var(--flip, invert(1) hue-rotate(180deg) brightness(1.15)); opacity: .85; -webkit-mask-image: linear-gradient(transparent, #000 25%); mask-image: linear-gradient(transparent, #000 25%); }
.ho-a1 { grid-column: 1; grid-row: 1; }
.ho-a2 { grid-column: 2; grid-row: 1 / span 2; }
.ho-a3 { grid-column: 3; grid-row: 1; }
.ho-a4 { grid-column: 1; grid-row: 2; }
.ho-a5 { grid-column: 3; grid-row: 2; }
.ho-a1 img { width: 100%; margin: auto 0 28px; }
.ho-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ho-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--fg); }
.ho-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(19,233,137,.5); }

/* final facts as stats */
.ho-facts b { font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; color: var(--accent); }

@media (max-width: 960px) {
  .ho-adv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ho-a1, .ho-a2, .ho-a3, .ho-a4, .ho-a5 { grid-column: auto; grid-row: auto; }
  .ho-a2 { grid-column: 1 / -1; }
  .ho-a2 img { width: 100%; max-width: 520px; margin: 0 auto; }
  .ho-tiles { grid-template-columns: minmax(0, 1fr); }
  .ho-agents { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ho-flow { margin-top: 72px; }
}
@media (max-width: 560px) {
  .ho-checks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 40px; }
  .ho-checks li { font-size: 13.5px; padding: 8px 12px 8px 8px; gap: 8px; border-radius: 12px; text-align: left; }
  .ho-adv { grid-template-columns: minmax(0, 1fr); }
  .ho-a2 { grid-column: auto; }
  .ho-panel { padding: 24px 20px; }
  .ho-adv-item { padding: 26px 26px 0; }
  .ho-adv-item img { width: calc(100% + 52px); margin: auto -26px 0; }
  .ho-a1 img { width: 100%; margin: auto 0 24px; }
  .ho-a2 img { width: 100%; margin: 0 auto; }
  .ho-loop { flex-direction: column; gap: 16px; padding: 24px; }
}

/* ───── Hero window: Claude Code on the Coralogix CLI and MCP server (page.js plays it) ─────
   Laid out like the Olly hero: a large window under the hero copy, glowing out of the page. It is a terminal in
   both skins (Claude Code runs in one), with fixed height so the page never reflows while it types. */
.ho-hero { overflow: hidden; }
.hx-stage { position: relative; max-width: 1120px; margin: 64px auto 0; padding: 0 24px; }
.hx-stage::before { content: ""; position: absolute; left: 50%; top: 18%; width: 980px; height: 520px; translate: -50% 0; pointer-events: none;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(19,233,137,.20), transparent), radial-gradient(closest-side at 80% 60%, rgba(217,119,87,.14), transparent); filter: blur(40px); }
.hx-win { position: relative; margin: 0; border-radius: 16px; overflow: hidden; text-align: left; background: #0b0c0c; color: #e8ebea;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(19,233,137,.08), 0 60px 140px -50px rgba(19,233,137,.45), 0 40px 90px -30px rgb(0 0 0 / .7); }
.hx-bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: #121313; }
.hx-dots { display: flex; gap: 7px; }
.hx-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.hx-app { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: #fff; white-space: nowrap; }
.hx-app svg { width: 17px; height: 17px; }
.hx-app b { font: 400 12.5px var(--mono); color: rgba(255,255,255,.5); margin-left: 4px; }
.hx-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font: 500 11.5px/1.4 var(--mono); white-space: nowrap; }
.hx-tag b { font-weight: 600; }
.hx-cli { color: #86FFC9; background: rgba(19,233,137,.12); box-shadow: inset 0 0 0 1px rgba(19,233,137,.35); }
.hx-mcp { color: #c9b8ff; background: rgba(167,139,250,.14); box-shadow: inset 0 0 0 1px rgba(167,139,250,.4); }

.hx-body { height: 600px; overflow: hidden; padding: 22px 26px 26px; font: 13.5px/1.6 var(--mono); }
.hx-body > * + * { margin-top: 14px; }
.hx-hello { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid rgba(217,119,87,.45); border-radius: 10px; color: rgba(255,255,255,.55); }
.hx-hello b { margin-bottom: 6px; color: #fff; font-weight: 500; }
.hx-hello i { font-style: normal; color: #D97757; margin-right: 6px; }
.hx-hello em { font-style: normal; color: #13E989; margin-right: 4px; }
.hx-user { display: flex; gap: 10px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #fff; background: rgba(255,255,255,.025); }
.hx-user .p { color: rgba(255,255,255,.45); }
.hx-user .txt::after { content: ""; display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: -2px; background: rgba(255,255,255,.7); animation: hx-caret 1s steps(1) infinite; }
.hx-body > .hx-user:not(:last-child) .txt::after, .hx-win.is-done .hx-user .txt::after { display: none; }
@keyframes hx-caret { 50% { opacity: 0; } }
.hx-say, .hx-head { display: flex; gap: 10px; align-items: baseline; }
.hx-say i, .hx-head i { font-style: normal; flex: none; }
.hx-say { color: #f1f3f2; font-family: Geist, system-ui, sans-serif; font-size: 14.5px; }
.hx-say i { color: #fff; font-family: var(--mono); }
.hx-call .hx-head { color: rgba(255,255,255,.88); }
.hx-call .hx-head > span { min-width: 0; overflow-wrap: anywhere; }
.hx-call .hx-head i { color: #13E989; }
.hx-call.is-run .hx-head i { color: #D97757; animation: hx-caret .8s steps(1) infinite; }
.hx-call .hx-head .hx-tag { margin-left: 4px; flex: none; align-self: center; }
.hx-call .m { color: rgba(255,255,255,.45); }
.hx-call .s { color: #f2c27a; } .hx-call .v { color: #8cc8ff; } .hx-call .f { color: rgba(255,255,255,.55); }
.k-mcp .hx-head > span:first-of-type { color: #dcd2ff; }
.hx-out { display: flex; gap: 10px; margin: 6px 0 0 4px; color: rgba(255,255,255,.7); animation: hx-in .35s var(--ease) both; }
.hx-out .b { color: rgba(255,255,255,.35); flex: none; }
.hx-table { display: grid; gap: 2px; min-width: 0; }
.hx-tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px; }
.hx-tr:has(> span:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr) auto; }
.hx-tr span:not(:first-child) { text-align: right; }
.hx-th { color: rgba(255,255,255,.4); }
.hx-tr em { font-style: normal; color: #ff8a80; font-weight: 600; }
@keyframes hx-in { from { opacity: 0; transform: translateY(4px); } }

.hx-chain { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hx-chain .n { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); color: #fff; }
.hx-chain .n em { font-style: normal; font-size: 11.5px; color: #ff8a80; }
.hx-chain .n.hot { border-color: rgba(255,120,110,.6); box-shadow: 0 0 0 0 rgba(255,100,90,.5); animation: hx-pulse 1.6s ease-out infinite; }
.hx-chain i { position: relative; width: 26px; height: 1px; background: rgba(255,138,128,.7); }
.hx-chain i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid rgba(255,138,128,.9); border-right: 0; }
@keyframes hx-pulse { 70% { box-shadow: 0 0 0 8px rgba(255,100,90,0); } 100% { box-shadow: 0 0 0 0 rgba(255,100,90,0); } }

.hx-spin { display: flex; gap: 10px; align-items: baseline; color: #D97757; }
.hx-spin i { font-style: normal; width: 1ch; }
.hx-spin small { color: rgba(255,255,255,.35); font-size: 12px; }

.hx-answer { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; margin-top: 18px !important; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); background: #101211; font-family: Geist, system-ui, sans-serif; opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hx-answer.in { opacity: 1; transform: none; }
.hx-a-col { padding: 20px 22px; }
.hx-a-col + .hx-a-col { border-left: 1px solid rgba(255,255,255,.1); }
.hx-a-label { display: block; margin-bottom: 10px; font: 500 12px var(--mono); color: #86FFC9; }
.hx-a-col p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.82); }
.hx-a-col p b { color: #fff; font-weight: 600; }
.hx-a-col code { font: 13px var(--mono); color: #f2c27a; }
.hx-diff { margin-top: 14px; border-radius: 8px; overflow: hidden; font: 12.5px/1.7 var(--mono); background: #0a0b0b; border: 1px solid rgba(255,255,255,.08); }
.hx-diff div { padding: 0 12px; white-space: pre; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.6); }
.hx-diff span { display: inline-block; width: 2.4ch; margin-right: 10px; color: rgba(255,255,255,.3); }
.hx-diff .add { background: rgba(19,233,137,.1); color: #b8ffde; }
.hx-a-money { background: radial-gradient(420px 220px at 100% 0, rgba(19,233,137,.14), transparent 70%); }
.hx-usd { display: block; font-size: clamp(40px, 4.6vw, 56px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.hx-usd-sub { margin-top: 8px !important; color: rgba(255,255,255,.6) !important; font-size: 14px !important; }
.hx-a-money ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: rgba(255,255,255,.7); }
.hx-a-money li b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.hx-ask { margin-top: 16px !important; color: #86FFC9 !important; font-weight: 500; }

/* "Watch again" sits in the title bar once the session ends, never over the conversation */
.hx-guard { margin-top: 18px !important; padding: 18px 22px; border-radius: 14px; border: 1px solid rgba(19,233,137,.35); background: radial-gradient(520px 200px at 0 0, rgba(19,233,137,.12), transparent 70%), #101211;
  font-family: Geist, system-ui, sans-serif; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hx-guard.in { opacity: 1; transform: none; }
.hx-g-items { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.hx-g-items div { padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); }
.hx-g-items b { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: #fff; }
.hx-g-items span { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }
.hx-replay { position: absolute; left: 50%; top: 8px; translate: -50% 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: #1a1c1c; color: #fff; font-size: 12.5px; cursor: pointer; }
.hx-replay[hidden] { display: none; }
.hx-replay svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hx-replay:hover { border-color: rgba(19,233,137,.6); }

@media (max-width: 960px) {
  .hx-stage { margin-top: 48px; padding: 0 16px; }
  .hx-body { height: 560px; padding: 18px; font-size: 12.5px; }
  .hx-answer { grid-template-columns: minmax(0, 1fr); }
  .hx-a-col + .hx-a-col { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .hx-g-items { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .hx-stage { margin-top: 40px; padding: 0 12px; }
  .hx-app b, .hx-dots { display: none; }
  .hx-replay { left: auto; right: 10px; translate: none; }
  .hx-win.is-done     .hx-body { height: 520px; padding: 14px; font-size: 11.5px; }
  .hx-say { font-size: 13.5px; }
  .hx-tr { gap: 14px; }
  .hx-a-col { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-answer, .hx-guard { opacity: 1; transform: none; transition: none; }
  .hx-chain .n.hot, .hx-call.is-run .hx-head i, .hx-user .txt::after { animation: none; }
}

/* agent cards: each agent's own mark beside its name */
.ho-agents a { gap: 10px; }
.ho-agents svg { width: 20px; height: 20px; flex: none; }

/* simplified session: a one-row table and a one-line close */
.hx-tr:only-child { grid-template-columns: minmax(0, 1fr) auto; }
.hx-guard p { margin: 0; font-size: 15px; color: rgba(255,255,255,.85); }
.hx-guard p b { color: #86FFC9; font-weight: 600; margin-right: 6px; }
.hx-answer { align-items: center; }
