/* ============================================================
   NoPeek — marketing site
   Art direction: redaction / cipher, carried by a quiet owl.
   Palette from the logo: slate-navy ink on paper-white,
   one muted steel-blue accent. Calm, editorial.
   ============================================================ */

:root {
  --paper: #faf9f5;
  --ink: #22334a;          /* darker slate for body text */
  --slate: #3a5169;        /* logo slate-navy */
  --muted: #6d7d90;
  --line: #dcdfda;
  --raise: #f1f1ea;
  --accent: #3d6e99;       /* muted steel blue — interactive only */
  --owl: #3a5169;
  --term-bg: #0d141d;      /* server pane, always dark slate */
  --term-fg: #c7d3df;
  --term-dim: #5f7284;
  --term-acc: #7fb0d8;
  --serif: georgia, "times new roman", times, serif;
  --sans: -apple-system, blinkmacsystemfont, "segoe ui", roboto, helvetica, arial, sans-serif;
  --mono: ui-monospace, "sf mono", sfmono-regular, menlo, consolas, "liberation mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101720;
    --ink: #c9d6e3;
    --slate: #a9bed2;
    --muted: #7f92a5;
    --line: #253141;
    --raise: #161f2b;
    --accent: #7fb0d8;
    --owl: #9fb6cb;
    --term-bg: #0b1119;
    --term-dim: #5c7080;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--slate); color: var(--paper); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; font-family: var(--mono); font-size: 13px;
  text-decoration: none; transition: top 0.15s;
}
.skip:focus { top: 12px; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- owl ---------- */

.owl { display: block; color: var(--owl); overflow: visible; }
.owl-hl { fill: var(--paper); }
.owl-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: owl-blink 4.6s infinite;
}
@keyframes owl-blink {
  0%, 91%, 100% { transform: scaleY(1); }
  94%, 96% { transform: scaleY(0.12); }
}

/* the glider (created by JS) */
.owl-pilot {
  position: fixed; top: 0; left: 0;
  width: 54px; height: 54px;
  z-index: 40;
  pointer-events: none;
  will-change: transform, opacity;
}
.owl-pilot .owl-bob { animation: owl-bob 4.4s ease-in-out infinite; }
@keyframes owl-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* static perch used when motion is reduced or JS is off */
.hero-owl {
  position: absolute; right: 9%; top: 96px;
  width: 60px; z-index: 1;
}
@media (max-width: 640px) { .hero-owl { right: 20px; top: 74px; width: 44px; } }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.head-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; flex-shrink: 0;
}
.mark { width: 30px; height: 30px; }
.brand-name {
  font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em; color: var(--slate);
}
.site-nav { display: flex; align-items: center; gap: 22px; min-width: 0; }
.site-nav a {
  font-family: var(--mono); font-size: 13px; text-decoration: none;
  color: var(--muted); white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }
.nav-login { color: var(--ink) !important; }
.nav-cta {
  color: var(--paper) !important; background: var(--slate);
  padding: 7px 14px;
}
.nav-cta:hover { background: var(--accent); }
@media (max-width: 860px) { .site-nav .nav-sec { display: none; } }
@media (max-width: 560px) {
  .site-nav { gap: 14px; }
  .site-nav a[href="docs/"] { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--slate);
  transition: transform 0.12s ease, background-color 0.12s ease,
              border-color 0.12s ease, color 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--slate); color: var(--paper); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
@media (prefers-color-scheme: dark) {
  .btn-primary { color: #101720; }
  .btn-primary:hover { color: #101720; }
}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--raise); }
.btn-big { padding: 15px 30px; font-size: 15px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 110px 0 120px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.cipher-rain {
  position: absolute; top: -5%; right: 2%;
  font-family: var(--mono); font-size: 12px; line-height: 1.9;
  color: var(--slate); opacity: 0.07;
  pointer-events: none; user-select: none;
  white-space: pre; text-align: right;
  animation: rain 90s linear infinite;
}
@keyframes rain {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@media (max-width: 860px) { .cipher-rain { display: none; } }

.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 28px;
}
.scramble {
  font-family: var(--mono);
  font-size: clamp(1.9rem, 5.6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 17ch;
  min-height: 2.2em;
  color: var(--slate);
}
.seg-accent { color: var(--accent); }
.scramble .ch { display: inline; }
.scramble .ch.pending { color: var(--muted); opacity: 0.55; }

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 34em;
  margin-top: 30px;
}
.hero-sub strong { font-weight: 700; color: var(--slate); }
.hero-ctas {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 40px;
}
.install-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px dashed var(--line);
  padding: 10px 8px 10px 16px;
  font-family: var(--mono); font-size: 13px;
  color: var(--muted);
}
.copy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: none; border: none; cursor: pointer;
  color: var(--muted);
}
.copy-btn:hover { color: var(--accent); }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn.copied { color: var(--accent); }
.hero-fine {
  margin-top: 22px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}

/* ---------- sections ---------- */

.section { padding: 110px 0; border-bottom: 1px solid var(--line); }
.sec-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.sec-num { color: var(--accent); margin-right: 8px; }
h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--slate);
}
.sec-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 44em; margin-top: 16px;
}

/* redaction-bar wipe on headings */
.wipe { position: relative; width: fit-content; }
.js .wipe .wipe-in { opacity: 0; }
.wipe::after {
  content: ""; position: absolute;
  inset: 0.04em -0.18em;
  background: var(--slate);
  transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}
.js .wipe.in .wipe-in { animation: wipe-text 0.9s steps(1) forwards; }
.js .wipe.in::after { animation: wipe-bar 0.9s cubic-bezier(0.77, 0, 0.18, 1) forwards; }
@keyframes wipe-bar {
  0%   { transform: scaleX(0); transform-origin: left; }
  44%  { transform: scaleX(1); transform-origin: left; }
  56%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes wipe-text {
  0% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

/* scroll reveals */
.js .fx {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .fx.in { opacity: 1; transform: none; }

/* ---------- demo ---------- */

.demo-frame { margin-top: 44px; }
.panes {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}
@media (max-width: 860px) { .panes { grid-template-columns: 1fr; } }

.pane { min-width: 0; }
.pane-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px;
  font-family: var(--mono); font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.pane-tag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.tag-clear { color: var(--muted); }
.tag-ct { color: var(--term-acc); }

.pane-user { background: var(--raise); }
.pane-user .pane-head { color: var(--muted); }

.chat {
  height: 380px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 10px; padding: 20px;
}
.bubble {
  max-width: 78%;
  padding: 9px 13px;
  font-size: 13.5px; line-height: 1.45;
  position: relative;
  border-radius: 14px;
}
.js .bubble.pop { animation: pop 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.bubble.in {
  align-self: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.bubble.out {
  align-self: flex-end;
  background: var(--slate); color: var(--paper);
  border-bottom-right-radius: 4px;
}
@media (prefers-color-scheme: dark) {
  .bubble.out { color: #101720; }
}
.bubble .meta {
  display: block; margin-top: 4px;
  font-family: var(--mono); font-size: 10px; opacity: 0.6;
}
.bubble.flash { animation: flash 0.5s ease; }
@keyframes flash {
  0% { outline: 2px solid var(--accent); outline-offset: 2px; }
  100% { outline: 2px solid transparent; outline-offset: 2px; }
}
.bubble.recalled {
  background: transparent; color: var(--muted);
  border: 1px dashed var(--line);
  font-family: var(--mono); font-size: 11.5px;
}
.bubble.recalled .rb {
  display: inline-block; width: 9ch; height: 0.85em;
  background: var(--muted); vertical-align: baseline;
  margin-right: 6px;
}
.react-chip {
  position: absolute; bottom: -11px; right: 10px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 0 6px;
  font-size: 12px; line-height: 1.5;
  color: var(--ink);
}
.bubble.out .react-chip { right: auto; left: 10px; }
.js .react-chip.pop { animation: pop 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.4) both; }

.typing {
  align-self: flex-start;
  display: inline-flex; gap: 4px;
  padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; border-bottom-left-radius: 4px;
}
.typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
}
.js .typing i { animation: tdot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdot {
  0%, 60%, 100% { transform: none; opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* server pane — always a terminal */
.pane-server { background: var(--term-bg); color: var(--term-fg); }
.pane-server .pane-head { color: var(--term-dim); border-bottom-color: #1c2836; }
.log {
  height: 380px; overflow: hidden;
  padding: 16px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.75;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.log-entry { flex-shrink: 0; }
.js .log-entry { animation: logline 0.25s ease both; }
@keyframes logline {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.log .t { color: var(--term-dim); }
.log .ev { color: var(--term-acc); }
.log .k { color: var(--term-dim); }
.log .v { color: var(--term-fg); }
.log .ct {
  display: block; color: var(--term-dim);
  word-break: break-all;
  padding-left: 2ch; max-height: 3.6em; overflow: hidden;
}
.log .ct b { color: var(--term-acc); font-weight: 400; }
.log .purged { color: var(--term-acc); padding-left: 2ch; display: block; }

.demo-bar {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-top: none;
  padding: 10px 16px;
}
.demo-toggle {
  font-family: var(--mono); font-size: 12px;
  background: none; border: 1px solid var(--line);
  color: var(--ink); padding: 5px 14px; cursor: pointer;
  min-width: 76px;
}
.demo-toggle:hover { border-color: var(--accent); color: var(--accent); }
.demo-note { font-family: var(--mono); font-size: 11px; color: var(--muted); }
@media (max-width: 640px) {
  .chat, .log { height: 300px; }
}

/* ---------- visibility ---------- */

.visgrid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  margin-top: 44px;
}
@media (max-width: 760px) { .visgrid { grid-template-columns: 1fr; } }
.viscol { padding: 30px 32px 36px; }
.viscol-can { border-right: 1px solid var(--line); }
@media (max-width: 760px) {
  .viscol-can { border-right: none; border-bottom: 1px solid var(--line); }
}
.viscol h3 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.viscol h3 svg { width: 17px; height: 17px; flex-shrink: 0; }
.viscol-can h3 { color: var(--muted); }
.viscol-cant h3 { color: var(--accent); }
.viscol ul { list-style: none; }
.viscol li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.viscol li code {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  text-align: right; flex-shrink: 0;
}
.rbar {
  display: inline-block; height: 0.9em;
  background: var(--slate);
  vertical-align: middle;
}
.rb-4 { width: 4ch; } .rb-6 { width: 6ch; } .rb-7 { width: 7ch; }
.rb-8 { width: 8ch; } .rb-9 { width: 9ch; } .rb-10 { width: 10ch; }
.vis-foot {
  margin-top: 20px;
  font-family: var(--serif); font-style: italic;
  color: var(--muted);
}

/* ---------- features ---------- */

.featlist {
  margin-top: 44px;
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}
@media (max-width: 760px) { .featlist { grid-template-columns: 1fr; } }
.featlist > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.featlist dt {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: var(--accent);
}
.featlist dd { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

/* ---------- standards ---------- */

.std-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  margin-top: 44px;
}
@media (max-width: 860px) { .std-grid { grid-template-columns: 1fr; } }
.spec-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--mono); font-size: 13px;
}
.spec-table th, .spec-table td {
  text-align: left; padding: 12px 0;
  border-top: 1px solid var(--line);
  vertical-align: top; font-weight: 400;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--muted); padding-right: 20px; white-space: nowrap; }
.spec-none { color: var(--accent); font-weight: 700; }
.rfc-badge {
  display: inline-block; margin-left: 8px;
  border: 1px solid var(--accent); color: var(--accent);
  font-size: 10.5px; letter-spacing: 0.1em;
  padding: 1px 7px; vertical-align: 1px;
}
.std-copy h3 {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 400;
  margin-bottom: 8px; color: var(--slate);
}
.std-copy h3 + p { margin-bottom: 28px; color: var(--muted); font-size: 15px; }
.optout-line {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.optout-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--slate); color: var(--paper);
  font-weight: 700; font-size: 11px; letter-spacing: 0.1em;
  padding: 5px 10px;
}
.optout-badge svg { width: 13px; height: 13px; }
@media (prefers-color-scheme: dark) {
  .optout-badge { color: #101720; }
}

/* ---------- pricing ---------- */

.launch-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--accent); color: var(--accent);
  padding: 2px 8px; margin-right: 4px; white-space: nowrap;
}
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin-top: 44px;
}
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan {
  padding: 28px 26px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-right: -1px; margin-bottom: -1px;
  display: flex; flex-direction: column;
}
.plan-hi { box-shadow: inset 0 3px 0 var(--accent); }
.plan h3 {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.price {
  font-family: var(--serif); font-size: 2.1rem; line-height: 1.2;
  margin: 10px 0 6px; color: var(--slate);
}
.price span { font-size: 0.95rem; color: var(--muted); font-family: var(--mono); }
.plan-tag {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  margin-bottom: 14px;
}
.plan ul { list-style: none; flex: 1; }
.plan li {
  font-size: 13.5px; color: var(--muted);
  padding: 7px 0; border-top: 1px solid var(--line);
}
.btn-plan {
  margin-top: 22px; text-align: center;
  padding: 10px 12px; font-size: 12.5px;
}
.plans-foot {
  margin-top: 20px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}

/* ---------- quickstart ---------- */

.steps {
  list-style: none;
  margin-top: 44px;
  max-width: 760px;
}
.steps > li { padding: 26px 0; border-top: 1px solid var(--line); }
.steps h3 {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 400;
  margin-bottom: 12px; color: var(--slate);
  display: flex; align-items: center; gap: 12px;
}
.step-num {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  width: 24px; height: 24px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent); color: var(--accent);
  border-radius: 50%;
}
.steps p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.steps p a { color: var(--accent); }
.steps p code { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.step-note { margin-top: 12px; margin-bottom: 0 !important; }

.codeblock {
  position: relative;
  background: var(--term-bg); color: var(--term-fg);
  border: 1px solid var(--line);
}
.codeblock::before {
  content: attr(data-lang);
  position: absolute; top: 8px; right: 42px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--term-dim);
}
.codeblock pre {
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--mono); font-size: 13px; line-height: 1.7;
}
.code-copy {
  position: absolute; top: 4px; right: 8px;
  color: var(--term-dim);
}
.code-copy:hover, .code-copy.copied { color: var(--term-acc); }
.c-kw { color: var(--term-acc); }
.c-st { color: #9db8cf; }
.c-fn { color: #e2e9f0; }
.c-cm { color: var(--term-dim); }

.final-cta {
  margin-top: 56px;
  display: flex; flex-wrap: wrap; gap: 14px;
}

/* ---------- footer ---------- */

.site-foot { padding: 44px 0 30px; }
.foot-row {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 18px;
}
.foot-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
}
.foot-brand .mark { width: 24px; height: 24px; flex-shrink: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-nav a {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--muted); text-decoration: none;
}
.foot-nav a:hover { color: var(--ink); }
.foot-ct {
  margin-top: 26px;
  font-family: var(--mono); font-size: 10.5px; line-height: 1.8;
  color: var(--muted); opacity: 0.45;
  word-break: break-all; user-select: none;
  max-height: 3.6em; overflow: hidden;
}

/* ---------- reduced motion: animations become states ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
  .cipher-rain { animation: none; }
  .owl-eyes { animation: none; }
  .owl-pilot { display: none; }
  .js .fx { opacity: 1; transform: none; transition: none; }
  .js .wipe .wipe-in { opacity: 1; animation: none; }
  .wipe::after, .js .wipe.in::after { animation: none; transform: scaleX(0); }
  .js .typing i { animation: none; }
  .js .bubble.pop, .js .react-chip.pop, .js .log-entry { animation: none; }
  .btn:hover { transform: none; }
}

/* ---- MCP / AI-first section ---- */
.mcp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; margin-top: 1.5rem; }
.mcp-copy h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.mcp-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.mcp-list li { padding: .55rem .75rem; border: 1px solid var(--line, #223141); border-radius: 10px; font-size: .82rem; }
.mcp-list code { background: none; padding: 0; }
@media (max-width: 820px) { .mcp-grid { grid-template-columns: 1fr; } }

/* ============ AI-agent section (#agents) ============ */
.agent-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.4rem; align-items: start; margin-top: 1.6rem; }
.agent-steps { margin: 0; }
.agent-steps > li:first-child { border-top: none; padding-top: 0; }
.step-note { color: var(--muted); font-size: 13.5px; margin-top: 10px; font-style: italic; }
.step-note em, .steps p em { font-style: normal; color: var(--ink); }

/* phone mockup — the brain picker */
.agent-shot { margin: 0; position: sticky; top: 90px; }
.phone { width: 300px; max-width: 100%; margin: 0 auto; border: 10px solid var(--slate); border-radius: 40px; background: var(--slate); box-shadow: 0 24px 60px -28px rgba(20,32,48,.55); position: relative; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: var(--slate); border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { background: var(--paper); border-radius: 30px; padding: 34px 18px 20px; }
.ps-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.ps-back { color: var(--accent); font-size: 22px; line-height: 1; }
.ps-title { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink); }
.ps-label { font-family: var(--sans); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 2px 10px; }
.ps-opt { display: flex; align-items: center; gap: 11px; padding: 12px 12px; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 9px; background: var(--paper); }
.ps-opt.sel { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ps-opt.off { opacity: .55; }
.ps-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.ps-opt.sel .ps-dot { border-color: var(--accent); background: radial-gradient(circle at center, var(--accent) 0 4px, transparent 5px); }
.ps-opt-main { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.ps-opt-main b { font-family: var(--sans); font-size: 15px; color: var(--ink); font-weight: 600; }
.ps-opt-main small { font-family: var(--sans); font-size: 11.5px; color: var(--muted); }
.ps-opt-main small.warn { color: #c9704a; }
.ps-check { color: var(--accent); font-weight: 700; font-size: 15px; }
.ps-cta { margin-top: 6px; text-align: center; background: var(--accent); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 15px; padding: 12px; border-radius: 13px; }
.ps-foot { text-align: center; font-family: var(--sans); font-size: 11px; color: var(--muted); margin: 12px 2px 0; }
.agent-shot figcaption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 14px; max-width: 300px; margin-inline: auto; font-style: italic; }

/* flow diagram: phone -> servers -> your computer */
.agent-flow { display: flex; align-items: stretch; gap: 0; margin-top: 2.4rem; flex-wrap: wrap; }
.af-node { flex: 1; min-width: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3px; padding: 16px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--raise); font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--ink); }
.af-node small { font-weight: 400; font-size: 11.5px; color: var(--muted); }
.af-node.af-srv { background: var(--term-bg); color: var(--term-fg); border-color: var(--term-bg); }
.af-node.af-srv small { color: var(--term-dim); }
.af-node.af-you { border-color: var(--accent); }
.af-wire { flex: 0 0 42px; display: flex; align-items: center; justify-content: center; position: relative; }
.af-wire::before { content: "→"; color: var(--accent); font-size: 20px; }
.af-wire small { position: absolute; top: -14px; font-family: var(--mono); font-size: 10px; color: var(--muted); white-space: nowrap; }

@media (max-width: 820px) {
  .agent-grid { grid-template-columns: 1fr; }
  .agent-shot { position: static; order: -1; }
  .agent-flow { flex-direction: column; }
  .af-wire { flex-basis: 30px; }
  .af-wire::before { content: "↓"; }
  .af-wire small { position: static; }
}

/* Pre-launch: account sign-up CTAs become non-clickable "Coming soon". */
.soon { cursor: default; opacity: 0.62; pointer-events: none; }
.nav-cta.soon { background: var(--raise); color: var(--muted); }
