/* ServerMind landing — Linear-inspired premium dark.
   Same palette as the app for brand cohesion. */
:root {
  --bg:           #0B0A07;
  --surface:      #120F0A;
  --surface-2:    #17130D;
  --border:       rgba(255,255,255,0.07);
  --border-2:     rgba(255,255,255,0.11);
  --text:         #EDEEF2;
  --text-dim:     #A0A4AD;
  --text-muted:   #6B7280;
  --text-faint:   #565C66;
  --accent:       #F5A524;
  --accent-2:     #FBBF24;
  --accent-hover: #FFBC3E;
  --accent-soft:  rgba(245,165,36,0.12);
  --accent-line:  rgba(245,165,36,0.30);
  --green:        #4ADE80;
  --red:          #F87171;
  --amber:        #FBBF24;
  --font-sans: "Geist Variable","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --font-mono: "Geist Mono Variable","JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
code, pre { font-family: var(--font-mono); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ─── buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px;
  border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; transition: all .15s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--border-2); color: var(--text-dim); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.btn.lg { height: 44px; padding: 0 22px; font-size: 15px; }

/* ─── nav ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(11,10,7,0.72); backdrop-filter: saturate(1.6) blur(12px);
}
.nav-inner { display: flex; align-items: center; height: 60px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; }
.brand-logo { width: 26px; height: 26px; display: grid; place-items: center; }
.brand-logo svg { width: 26px; height: 26px; }
.brand-logo.sm { width: 22px; height: 22px; } .brand-logo.sm svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { font-size: 14px; color: var(--text-dim); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ─── hero ─── */
.hero { position: relative; padding: 80px 0 40px; overflow: hidden; }
/* static, restrained glow — sits behind Mindy, doesn't breathe */
.glow {
  position: absolute; top: -140px; left: 68%;
  width: 720px; height: 560px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(245,165,36,0.16), transparent 70%);
  filter: blur(30px); transform: translateX(-50%);
}
/* faint terminal grid — texture that belongs to the subject, not the template */
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(115% 88% at 40% 20%, #000 32%, transparent 76%);
  mask-image: radial-gradient(115% 88% at 40% 20%, #000 32%, transparent 76%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 52px; align-items: center;
}
.hero-copy { text-align: left; }
h1 {
  font-size: clamp(38px, 6vw, 60px); font-weight: 600; line-height: 1.05;
  letter-spacing: -0.035em; margin-bottom: 20px;
}
/* hand-drawn underline that draws itself in — a human stroke, not a gradient fill */
.ul { position: relative; white-space: nowrap; }
.ul-line { position: absolute; left: -1.5%; bottom: -0.2em; width: 103%; height: 0.36em; overflow: visible; }
.ul-line path { fill: none; stroke: var(--accent-2); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 280; stroke-dashoffset: 280; opacity: .9; }
.reveal.in .ul-line path { animation: draw .9s .55s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lede { font-size: clamp(16px, 2.1vw, 19px); color: #C6CAD3; max-width: 460px; margin: 0 0 30px; line-height: 1.55; }

/* install command */
.install {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 11px;
  padding: 7px 7px 7px 16px; max-width: 100%;
}
.install-cmd { font-size: 14px; color: var(--text); white-space: nowrap; overflow-x: auto; padding: 4px 0; }
.install-cmd .prompt { color: var(--accent-2); margin-right: 8px; user-select: none; }
.copy-btn {
  width: 34px; height: 34px; flex-shrink: 0; border: none; cursor: pointer; border-radius: 7px;
  background: var(--surface-2); color: var(--text-dim); display: grid; place-items: center; transition: all .15s;
}
.copy-btn:hover { background: #1b1c1f; color: var(--text); }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn .i-check { display: none; color: var(--green); }
.copy-btn.copied .i-copy { display: none; }
.copy-btn.copied .i-check { display: block; }
.install-note { font-size: 12.5px; color: var(--text-faint); margin-top: 10px; }

/* product preview window */
.preview { margin-top: 60px; position: relative; z-index: 1; }
.window {
  border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden;
  background: var(--surface); box-shadow: 0 40px 120px -40px rgba(245,165,36,0.25), 0 0 0 1px rgba(255,255,255,0.02);
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #FF5F57; } .dot.y { background: #FEBC2E; } .dot.g { background: #28C840; }
.window-title { margin-left: 10px; font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); }
.window-body { display: flex; min-height: 340px; text-align: left; }
.mini-side { width: 180px; flex-shrink: 0; border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; }
.mini-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.mini-logo { width: 18px; height: 18px; display: grid; place-items: center; }
.mini-logo svg { width: 18px; height: 18px; }
.mini-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.mini-item { font-size: 12.5px; color: var(--text-muted); padding: 7px 9px; border-radius: 6px; }
.mini-item.on { background: var(--accent-soft); color: var(--accent-2); }
.mini-status { margin-top: auto; display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-dim); }
.mini-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.mini-main { flex: 1; padding: 18px; min-width: 0; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini-card { border: 1px solid var(--border); border-radius: 9px; padding: 11px; display: flex; flex-direction: column; gap: 6px; }
.mk-label { font-size: 10.5px; color: var(--text-muted); }
.mk-val { font-family: var(--font-mono); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.mk-val.sm { font-size: 15px; }
.mk-bar { height: 4px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; margin-top: 2px; }
.mk-bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.mini-chat { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.mc-you { align-self: flex-end; background: var(--accent); color: #fff; font-size: 12.5px; padding: 8px 12px; border-radius: 11px 11px 3px 11px; max-width: 70%; }
.mc-ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-dim); padding: 9px 13px; border-radius: 3px 11px 11px 11px; max-width: 86%; line-height: 1.55; }
.mc-ai b { color: var(--accent-2); font-weight: 600; }

/* ─── trust marquee ─── */
.strip { padding: 64px 0 12px; }
.strip-head { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 16px; font-weight: 500; color: var(--text-muted); font-family: var(--font-mono); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── story / 2am incident ─── */
.story-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.story-copy .eyebrow { display: inline-block; margin-bottom: 14px; }
.story-copy h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 18px; }
.story-copy p { color: var(--text-dim); font-size: 16.5px; line-height: 1.65; }
.sc-window { border: 1px solid var(--border-2); border-radius: 13px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 90px -40px rgba(245,165,36,0.22); }
.sc-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.sc-title { margin-left: 8px; font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); }
.sc-body { padding: 18px; min-height: 280px; display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; }
.sc-you { align-self: flex-end; background: var(--accent); color: #fff; padding: 9px 13px; border-radius: 12px 12px 3px 12px; max-width: 78%; animation: pop .3s ease; }
.sc-eyebrow { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-2); font-family: var(--font-mono); animation: pop .3s ease; }
.sc-ai { color: var(--text-dim); line-height: 1.65; max-width: 94%; }
.sc-ai b { color: var(--accent-2); font-weight: 600; }
.sc-ai code, .sc-you code { font-family: var(--font-mono); font-size: 12px; background: rgba(255,255,255,0.08); padding: 1px 5px; border-radius: 4px; }
.sc-tools { display: flex; flex-direction: column; gap: 6px; animation: pop .3s ease; }
.sc-tool { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 7px; padding: 6px 10px; background: var(--surface-2); }
.sc-tool b { color: var(--accent-2); font-weight: 500; }
.sc-tool .done { margin-left: 4px; font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--green); }
.sc-think { display: flex; gap: 5px; padding: 4px 2px; }
.sc-think i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: tdot 1.3s infinite ease-in-out both; }
.sc-think i:nth-child(2) { animation-delay: .16s; } .sc-think i:nth-child(3) { animation-delay: .32s; }
.caret::after { content: "▍"; color: var(--accent); animation: blink 1.1s steps(2) infinite; margin-left: 1px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes tdot { 0%,80%,100% { transform: scale(.5); opacity: .35; } 40% { transform: scale(1); opacity: 1; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ─── mouse-follow spotlight on cards ─── */
.card { position: relative; isolation: isolate; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 60%);
}
.card:hover::before { opacity: 1; }

/* count-up values fixed width so they don't jitter */
.mk-val.mono { font-variant-numeric: tabular-nums; }
.mk-bar i { width: 0; transition: width 1.1s cubic-bezier(.22,1,.36,1); }

/* ─── sections ─── */
.section { padding: 100px 0; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.012), transparent); }
.sec-head { max-width: 600px; margin: 0 auto 52px; text-align: center; }
.eyebrow { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2); }
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.03em; margin: 12px 0 14px; line-height: 1.12; }
.sec-head p { color: var(--text-dim); font-size: 16.5px; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 24px; transition: border-color .18s, transform .18s, background .18s; }
.card:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }
.ic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 16px; }
.ic svg { width: 19px; height: 19px; }
.card h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.card code { background: rgba(255,255,255,0.06); padding: 1px 5px; border-radius: 4px; font-size: 12.5px; color: var(--accent-2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 28px 24px; }
.step-n { font-family: var(--font-mono); font-size: 13px; color: var(--accent-2); font-weight: 600; }
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 14px 0 8px; }
.step p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }

/* split (security) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .eyebrow { display: inline-block; margin-bottom: 14px; }
.split h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 18px; }
.split p { color: var(--text-dim); font-size: 16px; line-height: 1.65; margin-bottom: 22px; }
.split code { background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 4px; font-size: 14px; color: var(--accent-2); }
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--text-dim); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.code-card { border: 1px solid var(--border-2); border-radius: 13px; overflow: hidden; background: var(--surface); }
.code-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); }
.code-bar .dot { width: 10px; height: 10px; }
.code-card pre { padding: 18px; overflow-x: auto; }
.code-card code { font-size: 13px; line-height: 1.85; color: var(--text-dim); }
.c-c { color: var(--text-faint); } .c-g { color: var(--accent-2); } .c-ok { color: var(--green); } .c-no { color: var(--red); } .c-warn { color: var(--amber); }

/* ─── final CTA ─── */
.cta { position: relative; padding: 110px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--border); }
.glow-2 { top: auto; bottom: -200px; opacity: .8; }
.cta-inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 14px; }
.cta p { color: var(--text-dim); font-size: 17px; max-width: 480px; margin: 0 auto 30px; }
.cta .install { margin-bottom: 18px; }
.cta .lg { margin-top: 4px; }

/* ─── footer ─── */
.footer { border-top: 1px solid var(--border); padding: 48px 0 36px; }
.footer-inner { display: flex; flex-direction: column; gap: 28px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.footer-links a { font-size: 13.5px; color: var(--text-muted); transition: color .15s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-meta { font-size: 12.5px; color: var(--text-faint); }
.footer-badge { display: inline-flex; opacity: .8; transition: opacity .15s; }
.footer-badge:hover { opacity: 1; }
.footer-badge img { display: block; width: 180px; height: auto; }

/* ─── nav scroll state ─── */
.nav.scrolled { border-bottom-color: var(--border-2); background: rgba(11,10,7,0.85); }

/* ─── reveal animation (staggered via --d set by JS) ─── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ─── responsive ─── */
@media (max-width: 900px) {
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 64px 0 24px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .window-body { flex-direction: column; min-height: 0; }
  .mini-side { width: 100%; border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; align-items: center; gap: 16px; }
  .mini-nav { flex-direction: row; margin-top: 0; }
  .mini-status { margin-top: 0; margin-left: auto; }
  .install-cmd { font-size: 12.5px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  .glow, .marquee-track, .sc-think i, .caret::after { animation: none; }
  .mk-bar i { transition: none; }
}

/* ══════════════════════════════════════════════
   Mindy — the mascot leads the hero
   ══════════════════════════════════════════════ */
.hero-mindy { position: relative; z-index: 1; }
.hm-stage {
  position: relative; border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 10%, rgba(245,165,36,0.12), transparent 60%),
    linear-gradient(180deg, #0C0D0F, #0A0B0C);
  padding: 14px; display: grid; place-items: center; cursor: crosshair;
}
.hm-stage::after { /* faint scan-floor */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 30px;
  -webkit-mask-image: linear-gradient(180deg, transparent 55%, #000 92%);
  mask-image: linear-gradient(180deg, transparent 55%, #000 92%);
}
.hm-mindy { width: 252px; max-width: 80%; height: auto; position: relative; z-index: 2; overflow: visible; }

.hm-bar {
  display: flex; align-items: center; gap: 10px; height: 46px; margin-top: 14px;
  padding: 0 7px 0 14px; border: 1px solid var(--border-2); border-radius: 11px; background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.hm-bar:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.hm-pr { color: var(--accent-2); font-family: var(--font-mono); font-size: 14px; }
.hm-bar input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text);
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: -0.01em;
}
.hm-bar input::placeholder { color: var(--text-faint); }
.hm-send {
  height: 33px; width: 33px; flex: none; display: grid; place-items: center;
  background: var(--accent); color: #fff; border: 0; border-radius: 8px; cursor: pointer;
  transition: background .15s, transform .1s;
}
.hm-send:hover { background: var(--accent-hover); }
.hm-send:active { transform: scale(.94); }
.hm-send svg { width: 15px; height: 15px; }
.hm-reply {
  margin-top: 11px; min-height: 20px; font-family: var(--font-mono); font-size: 12.5px;
  color: var(--text-dim); display: flex; align-items: center; gap: 7px; line-height: 1.5;
  opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s;
}
.hm-reply.show { opacity: 1; transform: none; }
.hm-reply .ok { color: var(--green); font-weight: 600; }

/* Mindy motion — a gentle daemon float (namespaced so it can't collide with page keyframes) */
@keyframes mBob    { 0%,100% { transform: translateY(0); }        50% { transform: translateY(-7px); } }
@keyframes mShadow { 0%,100% { transform: scaleX(1); opacity:.42;} 50% { transform: scaleX(.87); opacity:.28; } }
@keyframes mOrb    { 0%,100% { opacity:.55; transform: scale(1);}  50% { opacity:.9; transform: scale(1.08); } }
@keyframes mBlink  { 0%,93%,100% { transform: scaleY(1); }    96%,98% { transform: scaleY(.08); } }
@keyframes mPonder { 0%,100% { transform: rotate(-2deg); }        50% { transform: rotate(2deg); } }
@keyframes mSpark  { 0% { opacity:0; transform: translateY(5px) scale(.5);} 50% { opacity:1; transform: translateY(-1px) scale(1);} 100% { opacity:0; transform: translateY(-7px) scale(.5);} }
.hm-bob    { animation: mBob 4s ease-in-out infinite;      transform-box: fill-box; transform-origin: 50% 50%; }
.hm-shadow { animation: mShadow 4s ease-in-out infinite;   transform-box: fill-box; transform-origin: 50% 50%; }
.hm-orb    { animation: mOrb 2.8s ease-in-out infinite;    transform-box: fill-box; transform-origin: 50% 50%; }
.hm-eyes   { animation: mBlink 5.6s ease-in-out infinite;  transform-box: fill-box; transform-origin: 50% 42%; }
.hm-pupils { transition: transform .12s cubic-bezier(.2,.7,.3,1); }
.hm-blush  { transition: opacity .3s; }
.hm-smile  { transition: d .3s; }
.hm-sparks { opacity: 0; transition: opacity .25s; }
.hm-sparks circle { transform-box: fill-box; transform-origin: 50% 50%; }
/* thinking: glow brightens, it tilts as if pondering, sparks rise */
.hm-mindy.is-thinking          { animation: mPonder 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 92%; }
.hm-mindy.is-thinking .hm-orb  { animation-duration: 1.1s; }
.hm-mindy.is-thinking .hm-blush { opacity: .6; }
.hm-mindy.is-thinking .hm-smile { d: path("M118 159 Q130 171 142 159"); }
.hm-mindy.is-thinking .hm-sparks { opacity: 1; }
.hm-mindy.is-thinking .hm-sparks circle { animation: mSpark 1.3s ease-in-out infinite; }
.hm-mindy.is-thinking .hm-sparks circle:nth-child(2) { animation-delay: .25s; }
.hm-mindy.is-thinking .hm-sparks circle:nth-child(3) { animation-delay: .5s; }

/* process list inside the dashboard window (Mindy owns the chat; this owns the data) */
.mini-procs { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.mp-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; }
.mp-name { font-size: 12.5px; font-weight: 500; }
.mp-pill {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .03em; text-transform: uppercase;
  color: var(--green); background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.2);
  padding: 2px 7px; border-radius: 6px;
}
.mp-meta { margin-left: auto; font-size: 11px; color: var(--text-muted); }

/* ── fleet (multi-server) dashboard preview ── */
.fleet-window { box-shadow: 0 30px 90px -40px rgba(245,165,36,0.22); }
.fleet-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fm-card { border: 1px solid var(--border); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 9px; background: var(--surface); }
.fm-head { display: flex; align-items: center; gap: 7px; }
.fm-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 3px rgba(74,222,128,0.14); flex-shrink: 0; }
.fm-dot.off { background: var(--red); box-shadow: 0 0 0 3px rgba(248,113,113,0.14); }
.fm-name { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.fm-state { margin-left: auto; font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); }
.fm-stats { display: flex; gap: 14px; }
.fm-stat { display: flex; flex-direction: column; gap: 1px; }
.fm-k { font-size: 9.5px; color: var(--text-muted); }
.fm-v { font-family: var(--font-mono); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fm-v.warn { color: var(--accent-2); }
.fm-badges { display: flex; gap: 5px; flex-wrap: wrap; }
.fm-badge {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .02em;
  color: var(--green); background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.2);
  padding: 1px 6px; border-radius: 5px;
}
.fm-badge.down { color: var(--red); background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.2); }
.fleet-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-dim); }
.fleet-foot .ff-q { font-family: var(--font-mono); color: var(--accent-2); }
.fleet-foot .ff-a { color: var(--text-muted); }
@media (max-width: 560px) { .fleet-mini { grid-template-columns: 1fr; } }

/* hero preview tabs (Fleet ⇄ this server), driven from the sidebar nav */
.mini-panel[hidden] { display: none; }
.mini-item[data-tab] { cursor: pointer; transition: color .15s, background .15s; }
.mini-item[data-tab]:hover { color: var(--text-dim); }

/* connected step pipeline — the line earns its place: this is a real sequence */
.steps { position: relative; }
.steps::before {
  content: ""; position: absolute; top: 43px; left: 16.6%; right: 16.6%; height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}
.step { position: relative; z-index: 1; }
.step-n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--accent-line); background: var(--bg); color: var(--accent-2); font-size: 13px;
}

/* restrained feature icons — line, not pastel chip */
.ic { background: transparent; border: 1px solid var(--border-2); color: var(--text-dim); }
.card:hover .ic { color: var(--accent-2); border-color: var(--accent-line); }

/* hero stacks on narrow screens */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-mindy { width: 100%; max-width: 420px; margin: 0 auto; }
  .steps::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-bob, .hm-shadow, .hm-orb, .hm-eyes, .hm-mindy.is-thinking, .hm-sparks circle { animation: none !important; }
  .ul-line path { stroke-dashoffset: 0; }
}

/* ══════════════════════════════════════════════════════════════
   Award revamp — orchestrated motion & a signature sticky layout
   ══════════════════════════════════════════════════════════════ */

/* premium reveal + heading wipe (motion users only, so reduced-motion stays clean) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(24px);
    transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--d, 0ms); }
  .reveal.in { transform: none; }
  .reveal h2 { clip-path: inset(-2% -6% 108% -6%); transition: clip-path 1s cubic-bezier(.16,1,.3,1) .08s; }
  .reveal.in h2 { clip-path: inset(-4% -6% -12% -6%); }
}

/* scroll progress bar */
.scroll-prog { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-prog i { display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); }

/* auto-hiding nav */
.nav { transition: transform .45s cubic-bezier(.16,1,.3,1), background .2s, border-color .2s; }
.nav.hide { transform: translateY(-100%); }

/* magnetic / tilt hints */
.btn, .copy-btn, .hm-send { will-change: transform; }
.card { transform-style: preserve-3d; }

/* signature: sticky How-it-works */
.how-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px; align-items: start; }
.how-aside { position: sticky; top: 116px; }
.how-aside .eyebrow { display: inline-block; margin-bottom: 14px; }
.how-aside h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 30px; }
.how-rail { position: relative; width: 3px; height: 132px; background: var(--border-2); border-radius: 2px; overflow: hidden; }
.how-rail i { position: absolute; inset: 0 0 auto 0; height: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-2)); transition: height .55s cubic-bezier(.16,1,.3,1); }
.how-steps { display: flex; flex-direction: column; gap: 24px; }
.how-step { border: 1px solid var(--border); border-radius: 14px; padding: 30px 28px; background: var(--surface);
  opacity: .42; transform: translateY(10px) scale(.99);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1), border-color .45s, background .45s; }
.how-step.active { opacity: 1; transform: none; border-color: var(--accent-line); background: var(--surface-2); }
.how-n { font-family: var(--font-mono); font-size: 13px; color: var(--accent-2); font-weight: 600; }
.how-step h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin: 12px 0 8px; }
.how-step p { color: var(--text-dim); font-size: 15px; line-height: 1.6; }

@media (max-width: 880px) {
  .how-grid { grid-template-columns: 1fr; gap: 28px; }
  .how-aside { position: static; }
  .how-aside h2 { margin-bottom: 0; }
  .how-rail { display: none; }
  .how-step { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .how-step { opacity: 1; transform: none; }
}

/* ── editorial chapter system: a numbered ledger line per section ── */
.chapter { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.chapter-no { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent-2); letter-spacing: .04em; }
.chapter-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-2), var(--border)); }
.chapter-tag { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--text-faint); }

/* left-aligned, larger section heads (editorial, not centered) */
.sec-head { max-width: 720px; margin: 0 0 48px; text-align: left; }
.sec-head h2, .split h2, .story-copy h2, .how-aside h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; }

/* ── big typographic statement ── */
.statement { padding: 96px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(245,165,36,.04), transparent); }
.statement-text { font-size: clamp(28px, 5.4vw, 60px); font-weight: 600; letter-spacing: -.035em;
  line-height: 1.08; max-width: 16ch; color: var(--text); }
.statement-text em { font-style: normal; color: var(--accent-2); }
.statement-text .w { display: inline-block; overflow: hidden; vertical-align: top; }
.statement-text .w > span { display: inline-block; transform: translateY(110%);
  transition: transform .8s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--wi, 0) * 38ms); }
.statement-text.lit .w > span { transform: none; }

/* ── bento feature grid (asymmetric) ── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 14px; grid-auto-flow: row dense; }
.bento .card { display: flex; flex-direction: column; }
.bento .card p { flex: 0 0 auto; }
.feat-lg { grid-column: span 2; grid-row: span 2; }
.feat-lg h3 { font-size: 22px; }
.feat-lg > p { font-size: 15px; max-width: 42ch; }
.feat-asks { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.feat-asks span { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim);
  border: 1px solid var(--border-2); border-radius: 8px; padding: 7px 11px; transition: border-color .15s, color .15s; }
.feat-lg:hover .feat-asks span { border-color: var(--accent-line); }
.feat-asks span::before { content: "$ "; color: var(--accent-2); }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feat-lg { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .feat-lg { grid-column: span 1; }
}

/* ══════════════ Hero: a conversation with Mindy (a named daemon) ══════════════ */
.hero-copy h1 { font-size: clamp(46px, 7.4vw, 82px); line-height: 0.98; letter-spacing: -0.045em; margin-bottom: 26px; }

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* the right side is a real chat panel — it names her, so there's no mystery "daemon" */
.hm-panel { border: 1px solid var(--border-2); border-radius: 18px; background: var(--surface);
  padding: 12px; box-shadow: 0 44px 120px -52px rgba(245,165,36,.34), 0 0 0 1px rgba(255,255,255,.02); }
.hm-head { display: flex; align-items: center; gap: 9px; padding: 4px 6px 12px;
  border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.hm-avatar { width: 24px; height: 24px; display: grid; place-items: center; flex: none; }
.hm-avatar svg { width: 24px; height: 24px; }
.hm-name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.hm-role { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.hm-online { margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.hm-online i { width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(74,222,128,.5); animation: pulseDot 2.6s ease-out infinite; }

/* stage sits inside the panel now — drop its own frame */
.hm-stage { border: none; border-radius: 12px; }

@media (max-width: 560px) { .hm-role { display: none; } }
@media (prefers-reduced-motion: reduce) { .hm-online i { animation: none !important; } }

/* amber needs dark text on top (white-on-amber is unreadable) */
.btn-primary, .btn-primary:hover { color: #231905; }
.hm-send { color: #231905; }
.sc-you { color: #231905; }
.sc-you code { background: rgba(0,0,0,.16); color: #231905; }

/* ══════════════════════════════════════════════════════════════
   Mobile polish — tighten rhythm, stack remaining splits, fit type
   ══════════════════════════════════════════════════════════════ */
.install-cmd { min-width: 0; }   /* let the command shrink + scroll, never overflow the pill */

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .statement { padding: 64px 0; }
  .cta { padding: 80px 0; }
  .story-inner { grid-template-columns: 1fr; gap: 30px; }   /* was stuck 2-col */
  .sec-head { margin-bottom: 34px; }
  .preview { margin-top: 44px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero { padding: 48px 0 16px; }
  .hero-copy h1 { font-size: clamp(32px, 9vw, 44px); }
  .sec-head h2, .split h2, .story-copy h2, .how-aside h2 { font-size: clamp(26px, 8vw, 34px); }
  .statement-text { font-size: clamp(26px, 8.4vw, 40px); max-width: none; }
  .chapter { gap: 12px; margin-bottom: 22px; }
  .chapter-tag { letter-spacing: .12em; }
  .card { padding: 20px; }
  .feat-lg h3 { font-size: 19px; }
  .how-step { padding: 24px 20px; }
  .lede { font-size: 16px; }
  .section { padding: 60px 0; }
  /* full-width install + CTA controls so nothing overflows */
  .install { width: 100%; }
  .install-cmd { font-size: 12px; }
  .cta .install { width: 100%; }
  .cta .btn.lg { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .hm-name + .hm-role { display: none; }
  .hm-head { gap: 7px; }
}

/* FIX: nowrap content (the install command) was expanding grid tracks past the
   viewport on mobile. Let grid/flex children shrink so long strings scroll, not overflow. */
.hero-inner > *, .story-inner > *, .split > *, .how-grid > *, .bento > *,
.hm-panel, .hm-bar { min-width: 0; }
.install { max-width: 100%; }

/* ══════════════════════════════════════════════════════════════
   FAQ — accordion in the editorial system (a + toggles to ×)
   ══════════════════════════════════════════════════════════════ */
.faq-list { max-width: 840px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
  transition: border-color .18s, background .18s;
}
.faq-item[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-2); }
.faq-x { margin-left: auto; position: relative; width: 16px; height: 16px; flex: none; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--accent-2); transform: translate(-50%,-50%); transition: transform .28s cubic-bezier(.16,1,.3,1);
}
.faq-x::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-x::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-a { padding: 0 20px 20px; }
.faq-a p { color: var(--text-dim); font-size: 14.5px; line-height: 1.68; max-width: 72ch; }
.faq-a p + p { margin-top: 10px; }
.faq-a code { background: rgba(255,255,255,0.06); padding: 1px 5px; border-radius: 4px; font-size: 12.5px; color: var(--accent-2); }
.faq-a a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--accent-line); }
.faq-more { margin-top: 28px; font-size: 14.5px; color: var(--text-muted); }
.faq-more a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }

/* ══════════════════════════════════════════════════════════════
   Docs page — sticky TOC + prose, same tokens as the marketing site
   ══════════════════════════════════════════════════════════════ */
.doc-hero { padding: 64px 0 30px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.doc-hero .glow { top: -180px; left: 80%; opacity: .7; }
.doc-eyebrow { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--accent-2); }
.doc-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; margin: 14px 0 12px; }
.doc-hero p { color: var(--text-dim); font-size: 17px; max-width: 600px; line-height: 1.6; }

.doc-layout { display: grid; grid-template-columns: 216px 1fr; gap: 56px; padding: 44px 0 110px; align-items: start; }
.doc-toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 1px; }
.doc-toc .toc-h { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-faint); padding: 0 12px 8px; }
.doc-toc a {
  font-size: 13.5px; color: var(--text-muted); padding: 7px 12px; border-radius: 8px;
  border-left: 2px solid transparent; transition: color .15s, background .15s, border-color .15s;
}
.doc-toc a:hover { color: var(--text); }
.doc-toc a.active { color: var(--accent-2); background: var(--accent-soft); border-left-color: var(--accent); }

.prose { max-width: 760px; min-width: 0; }
.prose > section { scroll-margin-top: 88px; }
.prose > section + section { margin-top: 60px; padding-top: 0; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 600; letter-spacing: -.025em; margin: 0 0 8px; display: flex; align-items: center; gap: 12px; }
.prose h2 .h2-no { font-family: var(--font-mono); font-size: 14px; color: var(--accent-2); font-weight: 600; }
.prose .lead { color: var(--text-dim); font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
.prose h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 28px 0 10px; }
.prose p { color: var(--text-dim); font-size: 15.5px; line-height: 1.72; margin-bottom: 14px; }
.prose ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0 0 16px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--text-dim); font-size: 15px; line-height: 1.62; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-line); }
.prose li strong, .prose p strong { color: var(--text); font-weight: 600; }
.prose code { background: rgba(255,255,255,0.06); padding: 1.5px 6px; border-radius: 5px; font-size: 13px; color: var(--accent-2); }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--accent-line); }
.prose a:hover { text-decoration-color: var(--accent-2); }

/* code blocks (with optional copy via the existing .copy-btn) */
.codeblock { position: relative; margin: 0 0 18px; }
.codeblock pre { background: #0C0D0F; border: 1px solid var(--border-2); border-radius: 11px; padding: 15px 18px; overflow-x: auto; }
.codeblock pre code { background: none; padding: 0; color: var(--text-dim); font-size: 13px; line-height: 1.75; }
.codeblock .prompt { color: var(--accent-2); user-select: none; }
.codeblock .cmt { color: var(--text-faint); }
.codeblock .copy-btn { position: absolute; top: 9px; right: 9px; background: var(--surface-2); }

/* callouts */
.callout { border: 1px solid var(--border-2); border-left-width: 3px; border-radius: 10px;
  padding: 13px 16px; margin: 0 0 18px; font-size: 14.5px; color: var(--text-dim); line-height: 1.62; }
.callout strong { color: var(--text); }
.callout code { background: rgba(255,255,255,0.06); padding: 1px 5px; border-radius: 4px; color: var(--accent-2); font-size: 12.5px; }
.callout.note   { border-left-color: var(--accent); background: var(--accent-soft); }
.callout.warn   { border-left-color: var(--amber); background: rgba(251,191,36,.06); }
.callout.danger { border-left-color: var(--red); background: rgba(248,113,113,.06); }
.callout .ct { display: block; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.callout.note .ct { color: var(--accent-2); } .callout.warn .ct { color: var(--amber); } .callout.danger .ct { color: var(--red); }

/* requirement cards (reuse .card visual language) */
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 4px 0 20px; }
.req { display: flex; gap: 12px; align-items: flex-start; }
.req .ic { margin-bottom: 0; flex: none; }
.req .rq-t { font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.req .rq-d { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* option cards for AI / access choices */
.opt-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.tag { font-family: var(--font-mono); font-size: 11px; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--border-2); color: var(--text-dim); }
.tag.free { color: var(--green); border-color: rgba(74,222,128,.3); background: rgba(74,222,128,.08); }
.tag.best { color: var(--accent-2); border-color: var(--accent-line); background: var(--accent-soft); }

@media (max-width: 980px) {
  .doc-layout { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .doc-toc { display: none; }
}
@media (max-width: 560px) {
  .req-grid { grid-template-columns: 1fr; }
  .doc-hero { padding: 44px 0 24px; }
}

/* ══════════════════════════════════════════════════════════════
   Comparison page — table + per-tool blocks
   ══════════════════════════════════════════════════════════════ */
.cmp-wrap { max-width: 760px; overflow-x: auto; margin: 0 0 10px; border: 1px solid var(--border); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 680px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.cmp-table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); font-weight: 600; background: var(--surface); }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table td:first-child, .cmp-table th:first-child { font-weight: 500; color: var(--text); white-space: normal; min-width: 132px; }
.cmp-table .yes { color: var(--green); font-weight: 600; }
.cmp-table .no { color: var(--text-faint); }
.cmp-table .mid { color: var(--amber); }
.cmp-table tr.me td { background: var(--accent-soft); }
.cmp-table tr.me td:first-child { color: var(--accent-2); font-weight: 700; }
.cmp-note { font-size: 12.5px; color: var(--text-muted); margin: 4px 0 30px; }
.cmp-cat { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-2); margin: 44px 0 6px; }
.prose h3.cmp-tool { font-size: 18px; margin: 22px 0 6px; }
.prose .cmp-vs { color: var(--text-dim); font-size: 14.5px; line-height: 1.66; }
.prose .cmp-vs strong { color: var(--text); }
.prose .cmp-diff { color: var(--text-dim); font-size: 14.5px; line-height: 1.66; margin-top: 6px; }
.prose .cmp-diff b { color: var(--accent-2); font-weight: 600; }

/* ─── Desktop app section ─── */
.desktop-points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 11px; }
.desktop-points li { position: relative; padding-left: 26px; color: var(--text-dim); font-size: 14.5px; line-height: 1.5; }
.desktop-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 4px;
}
.desktop-points li::after {
  content: ""; position: absolute; left: 4px; top: 10px; width: 5px; height: 8px;
  border: solid var(--accent-2); border-width: 0 2px 2px 0; transform: rotate(40deg);
}
.desktop-points strong { color: var(--text); font-weight: 600; }

.download-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.btn.dl { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; font-size: 14.5px; }
.btn.dl svg { width: 18px; height: 18px; flex: none; }
.dl-note { font-size: 12.5px; color: var(--text-faint); max-width: 520px; line-height: 1.6; margin: 0; }
.dl-note em { color: var(--text-dim); font-style: normal; font-family: var(--font-mono); font-size: 11.5px; }
.dl-beta {
  display: inline-block; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: 999px; padding: 1px 8px; vertical-align: middle;
}

/* App-window mockup */
.desktop-shot { display: flex; align-items: center; justify-content: center; }
.dwin {
  width: 100%; max-width: 360px; background: var(--bg);
  border: 1px solid var(--border-2); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.dwin-bar { display: flex; align-items: center; gap: 6px; padding: 10px 13px; background: var(--surface-2); border-bottom: 1px solid var(--border); position: relative; }
.dwin-bar span { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.dwin-bar span:nth-child(1) { background: #ff5f57; }
.dwin-bar span:nth-child(2) { background: #febc2e; }
.dwin-bar span:nth-child(3) { background: #28c840; }
.dwin-bar b { position: absolute; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--text-dim); font-weight: 600; }
.dwin-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; background:
  radial-gradient(120% 60% at 50% -10%, rgba(245,165,36,0.07), transparent 60%), var(--bg); }
.dwin-head { display: flex; align-items: center; gap: 8px; padding: 2px 2px 6px; }
.dwin-logo { width: 20px; height: 20px; }
.dwin-head b { font-size: 13px; font-weight: 600; color: var(--text); }
.dwin-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 11px 12px; }
.dwin-card.dim { opacity: 0.6; }
.dwin-row { display: flex; align-items: flex-start; gap: 9px; }
.dwin-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 3px; box-shadow: 0 0 0 0 rgba(74,222,128,0.5); animation: dpulse 2s infinite; }
.dwin-pulse.off { background: var(--text-faint); animation: none; }
@keyframes dpulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.45); } 70% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.dwin-title { font-size: 13px; font-weight: 600; color: var(--text); }
.dwin-sub { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.dwin-row > div { flex: 1; }
.dwin-badge { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green); background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.2); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.dwin-badge.off { color: var(--text-faint); background: transparent; border-color: var(--border); }
.dwin-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.dwin-chip { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; }
.dwin-ep { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint); }

/* ─── Hero: compact desktop-app link ─── */
.hero-desktop-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 22px;
  color: var(--text-dim); font-size: 13.5px; text-decoration: none;
  transition: color .16s;
}
.hero-desktop-link:hover { color: var(--accent-2); }
.hero-desktop-link svg { width: 16px; height: 16px; color: var(--accent-2); transition: transform .16s; }
.hero-desktop-link:hover svg { transform: translateX(3px); }

/* ─── Desktop section: confident headline (scoped) + calmer download note ─── */
#desktop .split h2 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.0; letter-spacing: -0.04em; }
.dl-note { display: flex; flex-direction: column; gap: 4px; }
.dl-fine { color: var(--text-faint); font-size: 11.5px; }

/* ════════════════ Landing revamp: new bands + design polish ════════════════ */

/* — Typography polish: tighter, more confident section headings (page-wide) — */
.sec-head h2, .split h2, .story-copy h2, .how-aside h2 { line-height: 1.04; letter-spacing: -0.035em; }

/* — Hero: honest proof strip (replaces the old install-note) — */
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 16px; }
.proof-chip {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 6px;
  padding: 4px 10px; white-space: nowrap; line-height: 1.4;
}
.proof-chip.star { text-decoration: none; transition: border-color .15s, color .15s; }
.proof-chip.star:hover { border-color: var(--accent-line); color: var(--accent-2); }
.proof-chip.star [data-gh-count] { color: var(--accent-2); font-weight: 600; }

/* nav star count (revealed on a successful fetch; "Star on GitHub" otherwise) */
.gh-count { color: var(--text-faint); }
.gh-count [data-gh-count] { color: var(--accent-2); font-weight: 600; }

/* — Framing bands (clarity, cost): read as a continuation, not a full section — */
.section.define { padding-top: 56px; }
.define .sec-head { max-width: 860px; margin-bottom: 36px; }
.sec-head h2.define-lead {
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.32; letter-spacing: -0.02em;
  font-weight: 600; color: var(--text); margin: 12px 0 0;
}
.define-lead strong, .define-lead em { color: var(--text); font-style: normal; }

/* — Persona / compare closing link — */
.who-more { margin-top: 28px; font-size: 14.5px; }
.who-more a { color: var(--accent-2); }
.who-more a:hover { text-decoration: underline; }

/* — Cost band: balanced two-column, smaller column headings — */
.cost-split { align-items: start; gap: 48px; }
.cost-split h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.06; margin: 10px 0 16px; }
.cost-split .install { margin-top: 18px; }

/* — Final CTA microcopy — */
.cta-fine { margin-top: 18px; font-size: 12.5px; color: var(--text-faint); }

/* — Desktop section: Homebrew install line — */
.dl-brew { margin-top: 14px; }
.dl-fine code { font-family: var(--font-mono); font-size: 11px; color: var(--accent-2); background: var(--surface-2); border: 1px solid var(--border); padding: 1px 5px; border-radius: 4px; }
