/* Nurlux MCP Hub, public site. Layout values mirror the reference
   (measured at 1440 and 390 wide); see review/ for the comparison. */
:root {
  --ink: #000;
  --paper: #fff;
  --card: #fafafa; /* rgba(0,0,0,.02) on white; the photo backdrop is flattened to match */
  --muted: rgba(0, 0, 0, 0.3);
  --legal-bg: #f5f5f5;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --s: 1; /* phone stage scale */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- floating nav (slides in after the hero) ---------- */
.nav-wrap { position: fixed; inset: 20px 36px auto 36px; z-index: 50; pointer-events: none; }
.nav {
  pointer-events: auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(34, 34, 34, 0.05);
  transform: translateY(-120px);
  will-change: transform;
}
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 22px; letter-spacing: -0.4px; line-height: 23px; }
.wordmark svg { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links .link { font-weight: 700; font-size: 18px; line-height: 21.6px; letter-spacing: -0.2px; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 20px;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 16px; line-height: 16px;
}
.pill-btn svg { width: 16px; height: 18px; }

/* ---------- hero ---------- */
.hero { padding-top: 212px; text-align: center; }
.eyebrow { margin: 0; font-weight: 700; font-size: 27px; line-height: 32.4px; }
.headline {
  margin: 20px auto 0;
  font-weight: 600;
  font-size: 96px;
  line-height: 100.8px;
  letter-spacing: -0.96px;
}
.headline .ln { display: block; white-space: nowrap; height: 100.8px; }
.glyph {
  display: inline-block;
  width: 0.78em; height: 0.78em;
  margin: 14px 6px 0;
  vertical-align: top;
}
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 269px; height: 72px; margin-top: 60px;
  border-radius: 20px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 22px; line-height: 22px;
  transition: transform 0.2s ease;
}
.cta:active { transform: scale(0.98); }
.cta svg { width: 22px; height: 26px; }
.laurels { display: flex; justify-content: center; gap: 40px; margin-top: 56px; color: rgba(0, 0, 0, 0.3); }
.laurel { display: flex; align-items: center; justify-content: space-between; width: 249px; height: 53px; }
.laurel svg { width: 22px; height: 53px; flex: none; }
.laurel .l-txt { display: flex; flex-direction: column; align-items: center; }
.laurel small { font-weight: 700; font-size: 14px; line-height: 16px; }
.laurel strong { font-weight: 700; font-size: 24px; line-height: 28px; letter-spacing: -0.3px; }

/* ---------- showcase card with phone ---------- */
.showcase {
  position: relative;
  margin: 84px 72px 0;
  height: calc(1215px * var(--s));
  border-radius: 60px;
  background: var(--card);
  overflow: hidden;
}
.stage {
  position: absolute;
  left: 50%; top: 0;
  top: -21.7px; left: calc(50% - 1.2px);
  width: 831px; height: 1294px;
  transform-origin: top center;
  transform: translateX(-50%) scale(var(--s));
}
.stage .hand { position: absolute; inset: 0; width: 831px; height: 1294px; display: block; }
/* Screen rectangle measured in the photo (272,212)-(755,1222) at 0.812 scale. */
.screen {
  position: absolute; left: 220.7px; top: 178.7px; width: 393px; height: 852px;
  border-radius: 64px; overflow: hidden; background: #000; color: #fff;
  font-family: var(--display);
}
.island { position: absolute; top: 18px; left: 50%; width: 106px; height: 32px; margin-left: -53px; border-radius: 20px; background: #000; box-shadow: 0 0 0 1px #111 inset; z-index: 3; }
.scr-head { position: absolute; left: 28px; right: 28px; top: 74px; will-change: transform; }
.hub-top { display: flex; justify-content: space-between; align-items: center; }
.hub-name { font-weight: 700; font-size: 22px; letter-spacing: -0.4px; }
.hub-ok { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.hub-ok i { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.25); }
.hub-metric { margin-top: 30px; display: flex; align-items: baseline; gap: 10px; }
.hub-metric b { font-weight: 700; font-size: 64px; line-height: 64px; letter-spacing: -2px; }
.hub-metric span { font-weight: 600; font-size: 17px; color: rgba(255, 255, 255, 0.5); }
.hub-bars { margin-top: 22px; height: 60px; display: flex; align-items: flex-end; gap: 6px; }
.hub-bars i { flex: 1; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.hub-bars i.now { background: #ff6a3d; }
.hub-agents { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-agents span { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset; font-weight: 600; font-size: 14px; }
.hub-agents i { width: 7px; height: 7px; border-radius: 50%; background: #34c759; }
.hub-agents i.idle { background: rgba(255, 255, 255, 0.35); }
.sheet {
  position: absolute; left: 0; right: 0; top: 0; height: 852px;
  border-radius: 50px; background: #fff; color: #000;
  transform: translateY(480px);
  will-change: transform;
}
/* Uncovered when the feed slides down near the end of the motion. */
.sheet-head { position: absolute; left: 28px; right: 28px; top: 74px; display: flex; justify-content: space-between; align-items: baseline; }
.sheet-head b { font-weight: 700; font-size: 26px; letter-spacing: -0.5px; }
.sheet-head span { font-weight: 600; font-size: 14px; color: #1f9d55; }
.sheet-inner { position: absolute; left: 0; right: 0; top: 0; padding: 22px 18px 0; background: #fff; border-radius: 50px 50px 0 0; will-change: transform; }
.feed-top { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 14px; }
.feed-top b { font-weight: 700; font-size: 20px; letter-spacing: -0.3px; }
.seg { display: flex; padding: 3px; border-radius: 999px; background: #f2f2f2; }
.seg span { padding: 5px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; color: rgba(0, 0, 0, 0.45); }
.seg span.on { background: #fff; color: #000; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; align-items: center; gap: 12px; height: 66px; padding: 0 4px; border-top: 1px solid #f0f0f0; }
.tile { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #f2f2f4; }
.tile img { width: 22px; height: 22px; object-fit: contain; }
.rt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rt b { font-weight: 600; font-size: 16px; letter-spacing: -0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt small, .rs small { font-weight: 500; font-size: 12.5px; color: rgba(0, 0, 0, 0.42); }
.rs { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.rs em { font-style: normal; font-weight: 600; font-size: 12px; padding: 3px 8px; border-radius: 999px; }
.rs em.ok { color: #1f9d55; background: rgba(52, 199, 89, 0.12); }
.rs em.no { color: #d93a2b; background: rgba(255, 59, 48, 0.1); }

/* ---------- statements (reveal on scroll) ---------- */
.statements { max-width: 1024px; margin: 458px auto 0; text-align: center; }
.statement {
  margin: 0 0 120px;
  font-weight: 600; font-size: 78px; line-height: 81.9px; letter-spacing: -0.78px;
  opacity: 0; will-change: transform, opacity;
}
.closing { text-align: center; margin-top: -439px; }

/* ---------- footer ---------- */
.footer { margin-top: 118px; padding-bottom: 120px; text-align: center; font-weight: 600; }
.footer nav { display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 20px; line-height: 22px; }
.footer nav a { color: var(--muted); transition: color 0.2s; }
.footer nav a:hover { color: #000; }
.footer p { margin: 12px 0 0; font-size: 16px; line-height: 17.6px; }
.footer .dot { opacity: 0.3; }
.footer p { opacity: 0.2; }
.footer .foot-mark { display: flex; align-items: center; justify-content: center; gap: 9px; width: max-content; margin: 0 auto 12px; font-weight: 700; font-size: 22px; line-height: 23px; letter-spacing: -0.4px; color: rgba(0, 0, 0, 0.12); }
.footer .foot-mark svg { width: 28px; height: 28px; flex: none; }
.footer .copy { margin-top: 4px; color: #fff; }

/* ---------- legal pages ---------- */
body.legal { background: var(--legal-bg); }
.legal-doc { width: 600px; max-width: calc(100% - 32px); margin: 0 auto; padding: 136px 0 160px; }
.legal-doc h1 { margin: 0 0 40px; font-weight: 700; font-size: 34px; line-height: 40.8px; color: rgba(0, 0, 0, 0.9); }
.legal-doc h2 { margin: 24px 0 0; font-weight: 700; font-size: 20px; line-height: 24px; color: rgba(0, 0, 0, 0.8); }
.legal-doc p, .legal-doc li { margin: 0; font-weight: 500; font-size: 20px; line-height: 24px; color: rgba(0, 0, 0, 0.8); }
.legal-doc h2 + p { margin-top: 0; }
.legal-doc p + p, .legal-doc ul + p, .legal-doc p + ul { margin-top: 24px; }
.legal-doc ul { margin: 0; padding-left: 25px; }
.legal-doc a { text-decoration: underline; text-underline-offset: 2px; }
.legal-back { display: inline-block; margin-bottom: 24px; font-weight: 700; font-size: 16px; color: rgba(0, 0, 0, 0.45); }

/* ---------- responsive (reference breakpoints) ---------- */
@media (max-width: 1199px) {
  :root { --s: 0.8; }
  .hero { padding-top: 200px; }
  .headline { font-size: 68px; line-height: 72px; letter-spacing: -0.68px; }
  .headline .ln { height: 72px; }
  .statement { font-size: 56px; line-height: 59px; letter-spacing: -0.56px; }
  .showcase { margin-left: 40px; margin-right: 40px; }
}
@media (max-width: 809px) {
  :root { --s: 0.618; }
  .nav-wrap { inset: 20px 21px auto 21px; }
  .nav { padding-left: 26px; }
  .nav-links .link { display: none; }
  .hero { padding-top: 192px; }
  .headline { margin-top: 21px; font-size: 36px; line-height: 37.8px; letter-spacing: -0.36px; }
  .headline .ln { height: 37.8px; }
  .cta { margin-top: 64px; }
  .laurels { flex-direction: column; align-items: center; gap: 20px; margin-top: 59px; }
  .glyph { width: 1.08em; height: 1.08em; margin: -1px 3px 0; vertical-align: top; }
  .showcase { margin: 60px 12px 0; height: calc(1252px * var(--s)); }
  .stage { top: 1.6px; left: calc(50% - 1.2px); }
  .statements { margin-top: 180px; padding: 0 32px; }
  .statement { margin-bottom: 100px; font-size: 36px; line-height: 37.8px; letter-spacing: -0.36px; }
  .closing { margin-top: -142px; }
  .footer { margin-top: 100px; }
  .footer .foot-mark { margin-bottom: 39px; }
  .footer p { margin-top: 40px; }
  .footer p.copy { margin-top: 4px; }
  .footer nav { flex-direction: column; gap: 15px; }
  .footer nav .dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
  .statement { opacity: 1 !important; transform: none !important; }
}
