/* tester — landing styles. Matches the glance-gate terminal aesthetic. */
:root {
  --bg: #0b0f10;
  --fg: #e6edf3;
  --muted: #94a3b8;
  --line: #1f2933;
  --accent: #22d3ee;
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --crt: rgba(34, 211, 238, 0.04);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
body {
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; padding: 6px 10px; background: var(--accent); color: #000; z-index: 100; border-radius: 4px; }

.backdrop { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.backdrop .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
}
body[data-effects="on"] .backdrop .scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 2px, var(--crt) 2px 3px);
  mix-blend-mode: screen;
}

.terminal { position: relative; z-index: 1; max-width: 980px; margin: 24px auto; padding: 0 16px 80px; }

.bar {
  display: flex; align-items: center; gap: 8px;
  background: #11171a;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--muted);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5f56; } .dot-y { background: #ffbd2e; } .dot-g { background: #27c93f; }
.bar-title { margin-left: 8px; }
.bar-toggle { margin-left: auto; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-family: inherit; font-size: 0.75rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.bar-toggle-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
.bar-toggle[aria-pressed="false"] .bar-toggle-dot { background: #555; }

.screen {
  background: #0f1417;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 36px 32px 56px;
}

.hero { margin-bottom: 48px; }
.ascii {
  color: var(--accent);
  font-size: 11px;
  line-height: 1.1;
  margin: 0 0 12px;
  white-space: pre;
  overflow-x: auto;
}
.ascii.small { font-size: 10px; color: var(--muted); }
.title { font-size: 1.4rem; margin: 12px 0 8px; font-weight: 600; }
.muted { color: var(--muted); font-weight: 400; }
.sub { color: var(--fg); margin: 0 0 24px; max-width: 720px; font-size: 1rem; }
.kbd { background: rgba(34,211,238,0.1); color: var(--accent); padding: 2px 6px; border-radius: 3px; font-size: 0.88em; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.cta { display: inline-block; padding: 9px 18px; border-radius: 6px; text-decoration: none; font-weight: 500; transition: transform 0.08s, background 0.15s; font-size: 0.95rem; }
.cta:hover { transform: translateY(-1px); }
.cta.primary { background: var(--accent); color: #000; }
.cta.primary:hover { background: #67e8f9; }
.cta.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.cta.ghost:hover { border-color: var(--accent); color: var(--accent); }

.badges { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 0.88rem; }
.badges li { color: var(--green); }

.block { margin: 56px 0; }
.block h2 { font-size: 1rem; color: var(--accent); margin: 0 0 12px; font-weight: 600; }
.block h3 { font-size: 0.95rem; color: var(--fg); margin: 16px 0 6px; }

.codeblock {
  background: #050709;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
  overflow-x: auto;
  margin: 6px 0 14px;
  font-size: 0.86rem;
  line-height: 1.65;
}
.prompt { color: var(--green); }
.codeblock .muted { color: #5b6b7c; }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tier { background: var(--line); border-radius: 8px; padding: 18px 20px; border-left: 3px solid var(--accent); }
.tier h3 { margin: 0 0 6px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.78rem; }
.tier p { margin: 0; font-size: 0.92rem; color: var(--muted); }

details { background: var(--line); border-radius: 6px; padding: 0 18px; margin: 6px 0; }
details summary { padding: 14px 0; cursor: pointer; list-style: none; font-weight: 500; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "$ "; color: var(--accent); margin-right: 6px; }
details[open] summary { border-bottom: 1px solid #0b0f10; }
details p { padding-bottom: 14px; margin: 0; color: var(--muted); }

code { background: rgba(34,211,238,0.1); color: var(--accent); padding: 1px 6px; border-radius: 3px; font-size: 0.88em; }

.foot { margin-top: 64px; text-align: center; }
.foot a { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .screen { padding: 24px 18px 40px; }
  .ascii { font-size: 8px; }
  .title { font-size: 1.15rem; }
}
