/* SDR Agent landing. One viewport, no page scroll on desktop. Neutral paper, ONE accent used
   twice (headline phrase + the agent's check marks). All motion lives inside the demo card. */
:root {
  --ink: #111110; --ink-2: #63635e; --ink-3: #8f8f89;
  --line: rgba(17, 17, 16, 0.10); --paper: #ffffff; --well: #f6f6f5;
  --accent: #047c96;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }

.page { min-height: 100svh; display: flex; flex-direction: column; max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
.top, .bottom { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; font-size: 13px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.logo { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.tag { font: 12px var(--mono); color: var(--ink-3); }
.bottom { gap: 20px; justify-content: flex-start; color: var(--ink-3); border-top: 1px solid var(--line); }
.bottom a { color: var(--ink-2); text-decoration: none; }
.bottom a:hover { text-decoration: underline; }

.split { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding-block: 8px 20px; }

h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.lead { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 30em; }

.steps { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.steps strong { color: var(--ink); font-weight: 600; }
.n { font: 12px/22px var(--mono); color: var(--ink-3); }

.signin { margin-top: 20px; max-width: 440px; }
label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.row { display: flex; gap: 8px; }
input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: 15px var(--sans); }
input:focus { outline: none; border-color: var(--ink); }
.btn { height: 38px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: 500 14px var(--sans); cursor: pointer; white-space: nowrap; }
.btn:hover { background: #2b2b29; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); margin-top: 8px; }
.link { margin-top: 8px; border: 0; background: none; color: var(--ink-2); font: 13px var(--sans); text-decoration: underline; cursor: pointer; }
.note { margin-top: 8px; font-size: 13px; color: var(--ink-2); min-height: 20px; }
.muted { color: var(--ink-2); font-size: 14px; }

/* Demo card: 1px border, grey well inside, mono log */
.card { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #e3e3e0; }
.url { flex: 1; font: 12.5px var(--mono); color: var(--ink-2); background: var(--well); border-radius: 6px; padding: 5px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live { font: 11px var(--mono); color: var(--ink-3); }
.log { background: var(--well); padding: 20px 18px; min-height: 300px; font: 13.5px/1.5 var(--mono); }
.ln { display: grid; grid-template-columns: 16px 124px minmax(0, 1fr); column-gap: 8px; padding: 5px 0; opacity: 0; transform: translateY(6px); transition: opacity 260ms ease, transform 420ms cubic-bezier(.34, 1.56, .64, 1); }
.ln.in { opacity: 1; transform: none; }
.ic { color: var(--ink-3); }
.ln.ok .ic { color: var(--accent); }
.k { color: var(--ink-3); }
.v { color: var(--ink); overflow-wrap: anywhere; }
.x { color: var(--ink-3); }
.wide { grid-column: 2 / 4; color: var(--ink); }
.ln.open .wide { color: var(--ink-3); }
.foot { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line); font: 11px var(--mono); color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { .ln { transition: none; } }

/* Narrow: stack, demo first is too tall, so pitch first and a shorter log */
/* Short laptops: keep it in one screen */
@media (min-width: 901px) and (max-height: 760px) {
  h1 { font-size: clamp(32px, 3.9vw, 50px); }
  .lead { margin-top: 12px; font-size: 16px; }
  .steps { margin-top: 16px; }
  .log { min-height: 262px; }
}

/* Phone: one screen too. The three steps go, the demo card already tells them. */
@media (max-width: 900px) {
  .page { padding-inline: 20px; }
  .top { padding-block: 14px; }
  .tag, .steps { display: none; }
  .split { grid-template-columns: 1fr; gap: 18px; align-items: start; padding-block: 4px 14px; }
  h1 { font-size: 34px; }
  .lead { font-size: 15.5px; margin-top: 10px; }
  .signin { margin-top: 16px; }
  .note { min-height: 0; }
  .log { min-height: 0; padding: 12px; font-size: 11.5px; }
  .ln { grid-template-columns: 14px 100px minmax(0, 1fr); padding: 3px 0; }
  .bottom { padding-block: 12px; }
}
