/* Vercel Bar landing — Geist-inspired dark theme */
:root {
  --bg: #000;
  --bg-1: #0a0a0a;
  --bg-2: #111;
  --bg-3: #1a1a1a;
  --border: #222;
  --border-2: #333;
  --text: #ededed;
  --text-2: #a1a1a1;
  --text-3: #888;
  --white: #fafafa;
  --ready: #00ca51;
  --error: #ee0000;
  --error-soft: #ff6166;
  --warn: #f5a623;
  --neutral: #666;
  --blue: #0070f3;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --radius: 8px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
p a, .footer a, details a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-2); }
p a:hover, details a:hover { text-decoration-color: var(--white); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; font-weight: 600; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.dim { color: var(--text-3); }
.muted { color: var(--text-3); font-size: 11px; }
.mono { font-family: var(--mono); font-size: 0.92em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: #000; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; z-index: 100; }

/* Triangle mark */
.tri {
  display: inline-block;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 16px solid var(--white);
}
.tri-sm { border-left-width: 5.5px; border-right-width: 5.5px; border-bottom-width: 10px; }
.tri-inline { border-left-width: 5px; border-right-width: 5px; border-bottom-width: 9px; vertical-align: -1px; }
.tri-lg { border-left-width: 16px; border-right-width: 16px; border-bottom-width: 28px; margin-bottom: 20px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.7); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-tag { font-size: 11px; font-weight: 500; color: var(--text-3); border: 1px solid var(--border-2); border-radius: 999px; padding: 1px 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--text-2); }
.nav-links a:hover { color: var(--white); }
.nav-links .gh { display: inline-flex; align-items: center; gap: 7px; color: var(--text); border: 1px solid var(--border-2); border-radius: 6px; padding: 6px 12px; }
.nav-links .gh:hover { border-color: var(--text-3); }
.nav-icon { display: inline-flex; align-items: center; color: var(--text-2); }
.nav-icon:hover { color: var(--white); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 6px; font-size: 15px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--white); color: #000; }
.btn-primary:hover { background: #ccc; }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-secondary:hover { border-color: var(--text-3); background: var(--bg-2); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-row.center { justify-content: center; }

/* Hero */
.hero { padding: 88px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 70%; pointer-events: none;
  background: radial-gradient(ellipse at 70% 20%, rgba(255,255,255,.07), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-2); margin: 0 0 20px; border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px 5px 9px; background: var(--bg-1); }
h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; background: linear-gradient(180deg, #fff 0%, #a1a1a1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 18px; color: var(--text-2); margin: 22px 0 0; max-width: 520px; }
.fineprint { font-size: 13px; color: var(--text-3); margin: 14px 0 0; }

/* Status dots */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; position: relative; }
.dot-ready { background: var(--ready); }
.dot-error { background: var(--error); }
.dot-queued { background: var(--neutral); }
.dot-building { background: var(--warn); }
.dot-building::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: rgba(245,166,35,.35); animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dot-building::after, .cursor, .popover, .notif { animation: none !important; } }

/* Popover mock */
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.menubar { display: flex; align-items: center; justify-content: flex-end; gap: 14px; height: 30px; padding: 0 14px; background: linear-gradient(180deg, #2a2a2a, #1e1e1e); border: 1px solid var(--border-2); border-bottom: none; border-radius: 10px 10px 0 0; font-size: 12px; color: #ddd; }
.mb-item { display: inline-flex; align-items: center; }
.mb-active { background: rgba(255,255,255,.14); border-radius: 5px; padding: 3px 7px; }
.mb-ghost { width: 14px; height: 10px; border-radius: 3px; background: rgba(255,255,255,.28); }
.mb-ghost.w2 { width: 22px; } .mb-ghost.w3 { width: 30px; }
.mb-clock { font-variant-numeric: tabular-nums; color: #eee; }
.popover {
  background: var(--bg-1); border: 1px solid var(--border-2); border-radius: 0 0 12px 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset;
  font-size: 12.5px; overflow: hidden;
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.pop-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.scope { display: inline-flex; align-items: center; gap: 7px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 6px; padding: 5px 8px; color: var(--text); font: inherit; font-weight: 500; cursor: default; }
.scope .slash { color: var(--border-2); font-weight: 300; font-size: 14px; }
.scope svg { color: var(--text-3); }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--border-2); font-size: 9px; font-weight: 600; color: var(--text-2); }
.pop-icons { display: flex; gap: 4px; }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; color: var(--text-2); }
.pop-tabs { display: flex; gap: 2px; padding: 0 8px; border-bottom: 1px solid var(--border); }
.tab { padding: 8px 10px; color: var(--text-3); font-weight: 500; }
.tab-on { color: var(--text); box-shadow: inset 0 -2px 0 var(--white); }
.pop-filter { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px; border-bottom: 1px solid var(--border); }
.chip { font-size: 11px; font-weight: 500; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 16px 1fr auto 22px; gap: 10px; align-items: start; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.row:last-child { border-bottom: none; }
.row .dot { margin-top: 5px; margin-left: 4px; }
.row-title { font-weight: 500; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.tag { font-size: 11px; font-weight: 500; color: var(--text); background: var(--bg-2); border: 1px solid var(--border); border-radius: 4px; padding: 0 6px; line-height: 17px; }
.current { color: var(--ready); font-size: 11px; font-weight: 500; }
.row-sub { display: flex; gap: 6px; align-items: baseline; color: var(--text-2); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.row-sub .mono { font-size: 11px; }
.row-sub .dim { overflow: hidden; text-overflow: ellipsis; }
.sep { color: var(--border-2); }
.row-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.more { color: var(--text-3); letter-spacing: 1px; font-weight: 600; opacity: .5; }
.pop-footer { display: flex; justify-content: space-between; padding: 7px 12px; border-top: 1px solid var(--border); }

/* Notification */
.notif {
  position: absolute; right: -28px; top: 118px; width: 300px;
  display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: start;
  background: rgba(38,38,38,.92); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 12px 14px; font-size: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.6);
  animation: slideIn .6s cubic-bezier(.2,.8,.2,1) 1.2s both;
}
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.notif-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #000; border: 1px solid var(--border-2); }
.notif-title { font-weight: 600; color: #fff; }
.notif-body { color: #bbb; line-height: 1.4; margin-top: 1px; }
.notif-time { color: #888; font-size: 11px; }

/* Disclaimer strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-1); }
.strip-inner { display: flex; gap: 14px; align-items: flex-start; padding: 18px 24px; font-size: 14px; color: var(--text-2); }
.strip-inner p { margin: 0; }
.strip-inner strong { color: var(--text); font-weight: 500; }
.strip-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-2); color: var(--text-2); font-family: var(--font); font-style: italic; font-weight: 600; font-size: 12px; margin-top: 1px; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -0.035em; margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.card { background: var(--bg); padding: 28px; transition: background .2s; }
.card:hover { background: var(--bg-1); }
.card h3 { font-size: 16px; margin: 18px 0 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.card-icon { height: 36px; display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.card-icon .dot { width: 10px; height: 10px; }
.mono-icon { font-family: var(--mono); font-size: 13px; color: var(--text); }
.cursor { display: inline-block; width: 7px; height: 14px; background: var(--white); margin-left: 4px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.kbd { font-size: 12px; font-weight: 500; border: 1px solid var(--border-2); border-radius: 5px; padding: 3px 8px; background: var(--bg-2); color: var(--text); }
.card-icon .avatar { width: 24px; height: 24px; font-size: 11px; margin-right: -10px; box-shadow: 0 0 0 2px var(--bg); }
.bell, .lock { width: 22px; height: 22px; display: inline-block; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; color: var(--text); }
.bell { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E"); }
.lock { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }

/* Install options */
.install { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 20px; }
.install-col { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.install-label { font-size: 12px; font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.code { display: flex; align-items: center; gap: 10px; background: var(--bg-1); border: 1px solid var(--border-2); border-radius: 8px; padding: 10px 12px; font-family: var(--mono); font-size: 13px; overflow: hidden; }
.code code { flex: 1; white-space: nowrap; overflow-x: auto; color: var(--text); }
.code .prompt { color: var(--text-3); }
.copy { flex: none; font: inherit; font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--text); background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.copy:hover { border-color: var(--text-3); }
.copy.done { color: var(--ready); border-color: rgba(0,202,81,.4); }
.install-note { margin: 12px 0 0; font-size: 13px; color: var(--text-3); }
.btn-block { width: 100%; justify-content: center; height: 42px; }
.btn-block .dim { font-size: 13px; }
.ver { font-family: var(--mono); color: var(--text-2); }
.gatekeeper { font-size: 14px; color: var(--text-2); background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--warn); border-radius: 8px; padding: 12px 16px; margin: 0 0 40px; }
.gatekeeper strong { color: var(--text); font-weight: 500; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--bg); font-family: var(--mono); font-size: 13px; color: var(--text); }
.steps h3 { font-size: 16px; margin: 4px 0 8px; }
.steps p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* FAQ */
details { border-top: 1px solid var(--border); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 500; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--text-3); font-size: 20px; font-weight: 300; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--text-2); font-size: 15px; max-width: 640px; }

/* Final CTA + footer */
.cta-final { padding: 120px 0; border-top: 1px solid var(--border); }
.cta-final h2 { margin-bottom: 8px; }
.footer { border-top: 1px solid var(--border); padding: 32px 0 48px; font-size: 13px; color: var(--text-2); }
.footer-inner p { margin: 0 0 8px; max-width: 760px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-self: stretch; max-width: 460px; margin: 0 auto; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .install { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links a:not(.gh):not(.nav-icon) { display: none; }
  .hero { padding: 56px 0 40px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .notif { position: static; width: auto; margin-top: 16px; right: auto; animation-delay: .6s; }
  .row-sub .dim:last-child { display: none; }
}
