/* ============================================================
   GAFFER — AI site manager for construction
   Design system v3 — "construction console"
   Inspired by Linear / Vercel / Railway. Hairlines, bento, mono.
   ============================================================ */

:root {
  --bg: #06090e;
  --bg-1: #080c12;
  --surface: #0c1118;
  --surface-2: #10161e;
  --surface-raised: linear-gradient(180deg, #131923 0%, #0c1118 100%);

  --hair: rgba(255, 255, 255, 0.06);
  --hair-2: rgba(255, 255, 255, 0.10);
  --hair-3: rgba(255, 255, 255, 0.16);

  --text: #eef2f8;
  --title: #ffffff;
  --muted: #8c95a4;
  --muted-2: #aab3c1;
  --dim: #585f6c;

  --orange: #f97316;
  --orange-2: #fb923c;
  --orange-soft: rgba(249, 115, 22, 0.10);
  --orange-glow: rgba(249, 115, 22, 0.25);

  --cyan: #67e8f9;
  --green: #34d399;
  --red: #f87171;

  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --content: 1240px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.16, 1, 0.3, 1);

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03", "ss04";
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle grid + ambient glow + grain — restrained.
   transform: translateZ(0) on every fixed-bg layer forces its own compositor
   layer so iOS Safari URL-bar collapse doesn't repaint/shift them on scroll. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(249, 115, 22, 0.08), transparent 60%),
    radial-gradient(800px 600px at 100% 100%, rgba(56, 189, 248, 0.025), transparent 60%);
}

/* Grain overlay — hair-fine noise for premium depth */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  transform: translateZ(0);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.7), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.7), transparent 75%);
}

a { color: inherit; text-decoration: none; }
img, svg, canvas { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: var(--orange); color: #0b0f1a; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */

.shell { position: relative; z-index: 1; }
.wrap { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--title);
  letter-spacing: -0.035em;
  line-height: 1.04;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  letter-spacing: -0.045em;
  font-weight: 900;
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  letter-spacing: -0.035em;
  font-weight: 800;
}

h3 { font-size: 1.0625rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.018em; }
h4 { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0; }

.lede {
  color: var(--muted-2);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 400;
  max-width: 56ch;
}

.copy { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.accent { color: var(--orange); }

/* Mono kicker — like Linear */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
}
.kicker::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}
.kicker--mute { color: var(--muted); }
.kicker--mute::before { background: var(--muted); box-shadow: 0 0 0 3px rgba(140, 149, 164, 0.14); }

/* Eyebrow pill — small, monochrome with orange dot */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 500;
}
.eyebrow .pulse {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.eyebrow .pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ================================================================
   NAV — thin, sticky, hairline
   ================================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  background: rgba(6, 9, 14, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hair);
}

.nav-inner {
  width: min(calc(100% - 40px), 1320px);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-mark {
  width: 28px; height: 28px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(249, 115, 22, 0.35));
}

.brand-word {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.04em;
  color: var(--title);
}

.brand-sub {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(249, 115, 22, 0.08);
  color: #ffb787;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.is-active {
  color: var(--title);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-signin {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
}
.nav-signin:hover { color: var(--title); }

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--hair-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--title);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--hair-3);
}

.btn-primary {
  background: var(--orange);
  border-color: rgba(255, 170, 100, 0.35);
  color: #15080a;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  background: #ff8527;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-lg { padding: 11px 18px; font-size: 13.5px; }

.btn .arrow {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}
.btn:hover .arrow { transform: translateX(2px); }

/* ================================================================
   HERO — agent-first
   ================================================================ */

.hero {
  position: relative;
  padding: 80px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 40px;
  align-items: center;
}

.hero-copy { max-width: 600px; }

.hero h1 {
  margin-top: 18px;
}

.hero h1 .accent {
  background: linear-gradient(95deg, #ffae6a 0%, #f97316 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede { margin-top: 18px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(580px, 100%);
  max-width: 580px;
  justify-self: end;
}

.globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  z-index: 1;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.16), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.globe-tag {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(13, 18, 26, 0.92);
  border: 1px solid var(--hair-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.globe-tag .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.18);
}
.globe-tag .dot.dot-orange { background: var(--orange); box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.18); }
.globe-tag .dot.dot-cyan { background: var(--cyan); box-shadow: 0 0 0 2px rgba(103, 232, 249, 0.18); }
.globe-tag strong { color: var(--title); font-weight: 600; }
.globe-tag--tl { top: 8%; left: -2%; }
.globe-tag--tr { top: 18%; right: -4%; }
.globe-tag--br { bottom: 14%; right: 6%; }
.globe-tag--bl { bottom: 24%; left: -2%; }

/* ================================================================
   LIVE TICKER — agent activity feed under hero
   ================================================================ */

.ticker {
  position: relative;
  margin-top: 36px;
  padding: 12px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: rgba(8, 12, 18, 0.5);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 max(20px, calc((100vw - var(--content)) / 2));
  background: linear-gradient(90deg, var(--bg) 70%, transparent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  z-index: 2;
}
.ticker-label .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.4; } }

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  padding-left: 220px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted-2);
}
.ticker-item time {
  color: var(--orange);
  font-weight: 500;
}
.ticker-item strong {
  color: var(--title);
  font-weight: 500;
}
.ticker-item .sep {
  color: var(--dim);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ================================================================
   SECTIONS
   ================================================================ */

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--first { padding-top: 56px; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 44px;
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 { margin-top: 14px; }
.section-head .copy { margin-top: 6px; }

.section-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair-2) 30%, var(--hair-2) 70%, transparent);
  margin: 0 0 56px;
}

/* ================================================================
   BENTO — varied tile sizes
   ================================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 14px;
}

.tile {
  position: relative;
  border: 1px solid var(--hair);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 22px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.tile:hover {
  border-color: var(--hair-2);
  background: rgba(16, 22, 32, 0.95);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0), transparent);
  transition: background 0.4s var(--ease);
  pointer-events: none;
}
.tile:hover::after {
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.45), transparent);
}

.tile--col-2 { grid-column: span 2; }
.tile--col-3 { grid-column: span 3; }
.tile--col-4 { grid-column: span 4; }
.tile--col-6 { grid-column: span 6; }
.tile--row-2 { grid-row: span 2; }

.tile-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.tile-eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
}
.tile-eyebrow--mute::before { background: var(--muted); }

.tile h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.tile p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.tile-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* ================================================================
   AGENT ACTIVITY (inline log inside tiles)
   ================================================================ */

.agent-log {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agent-log .row {
  display: grid;
  grid-template-columns: 56px auto 1fr;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
}
.agent-log time { color: var(--orange); font-weight: 500; }
.agent-log .verb {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair);
  text-align: center;
}
.agent-log .verb--ok { color: var(--green); border-color: rgba(52, 211, 153, 0.22); background: rgba(52, 211, 153, 0.06); }
.agent-log .verb--warn { color: var(--orange); border-color: rgba(249, 115, 22, 0.22); background: rgba(249, 115, 22, 0.06); }
.agent-log .verb--info { color: var(--cyan); border-color: rgba(103, 232, 249, 0.22); background: rgba(103, 232, 249, 0.06); }
.agent-log .text { color: var(--muted-2); }
.agent-log .text strong { color: var(--title); font-weight: 500; }

/* ================================================================
   CONSOLE — big browser-frame for hero screenshot
   ================================================================ */

.console {
  position: relative;
  border: 1px solid var(--hair-2);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.console::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  padding: 1px;
  background: linear-gradient(160deg, rgba(249, 115, 22, 0.4), rgba(255,255,255,0.04) 40%, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--hair);
  background: rgba(8, 12, 18, 0.6);
  position: relative;
  z-index: 1;
}
.console-dots { display: flex; gap: 6px; }
.console-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.console-dots i:first-child { background: #ff5f57; }
.console-dots i:nth-child(2) { background: #febc2e; }
.console-dots i:last-child { background: #28c840; }

.console-url {
  margin-left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
}
.console-url .lock { color: var(--green); margin-right: 6px; font-size: 10px; }

.console-tabs {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.console-tabs span {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}
.console-tabs span.is-active { background: rgba(255, 255, 255, 0.05); color: var(--title); }

.console-body img {
  width: 100%;
  display: block;
}

/* ================================================================
   SPLIT — phone + copy
   ================================================================ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split--reverse > :first-child { order: 2; }
.split--reverse > :last-child { order: 1; }

.split-copy h2 { margin-bottom: 18px; }
.split-copy .lede { color: var(--muted); font-size: 1rem; }

.bullet-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bullet-list li {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 18px auto;
  align-items: start;
  gap: 12px;
  border-top: 1px solid var(--hair);
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.55;
}
.bullet-list li:first-child { border-top: 0; padding-top: 0; }
.bullet-list li::before {
  content: "→";
  color: var(--orange);
  font-family: var(--mono);
  font-weight: 500;
  line-height: 1.55;
}

/* ================================================================
   PHONE
   ================================================================ */

.phone {
  position: relative;
  width: 280px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 36px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--hair-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(249, 115, 22, 0.08);
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 18px;
  background: #06090e;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.phone-body {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #0a1120;
  aspect-ratio: 9 / 19.5;
}
.phone-body img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-halo {
  position: absolute;
  inset: -8% -16% -10%;
  background: radial-gradient(circle at 50% 30%, rgba(249, 115, 22, 0.22), transparent 55%);
  filter: blur(34px);
  pointer-events: none;
  z-index: -1;
}

/* Floating chip overlaying the phone — live office message */
.phone-chip {
  position: absolute;
  z-index: 3;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 26, 42, 0.96), rgba(10, 16, 28, 0.96));
  border: 1px solid var(--hair-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  max-width: 260px;
  font-size: 12.5px;
  line-height: 1.4;
  animation: floatY 6s var(--ease) infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.phone-chip strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.phone-chip strong::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.7);
  animation: blink 1.6s ease-in-out infinite;
}
.phone-chip span { display: block; color: var(--text); font-weight: 500; }
.phone-chip em { display: block; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 4px; }
.phone-chip--tr { top: 8%; right: -12%; }
.phone-chip--br { bottom: 10%; right: -8%; }
.phone-chip--bl { bottom: 18%; left: -14%; }

/* Phone annotations — inline labels with leader lines */
.phone-stage {
  position: relative;
  padding: 30px 0;
}
.anno {
  position: absolute;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.anno strong { color: var(--title); font-weight: 600; }
.anno .lead {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.anno--right { right: 0; flex-direction: row-reverse; }
.anno--right .lead { background: linear-gradient(-90deg, var(--orange), transparent); }

/* ================================================================
   STEP FLOW — horizontal with arrow connectors
   ================================================================ */

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  position: relative;
  padding-top: 24px;
}
.flow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair-2), transparent);
}

.flow-step {
  position: relative;
  padding: 8px 28px 8px 0;
  border-right: 1px solid var(--hair);
}
.flow-step:last-child { border-right: 0; padding-right: 0; }
.flow-step + .flow-step { padding-left: 28px; }

.flow-step::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--orange);
}
.flow-step:last-child::before { }

.flow-step .num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: inline-block;
}
.flow-step h3 { margin-bottom: 10px; font-size: 1.08rem; line-height: 1.2; }
.flow-step p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ================================================================
   PILLARS — tight horizontal feature row
   ================================================================ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  position: relative;
}
.pillars::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.38) 30%, rgba(249, 115, 22, 0.38) 70%, transparent);
}

.pillar {
  padding: 28px 28px 24px;
  border-right: 1px solid var(--hair);
  position: relative;
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: rgba(255, 255, 255, 0.02); }

.pillar-icon {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.10);
  color: var(--orange-2);
  margin-bottom: 16px;
  border: 1px solid rgba(249, 115, 22, 0.18);
}
.pillar-icon svg { width: 17px; height: 17px; }
.pillar h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 13.5px; line-height: 1.6; flex: 1; }

/* Mini live strip at the bottom of each pillar — gives the "real data" feel */
.pillar-stat {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px dashed var(--hair-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--dim);
  text-transform: uppercase;
}
.pillar-stat strong {
  color: var(--muted-2);
  font-weight: 500;
}
.pillar-stat .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
}
.pillar-stat .live::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: blink 1.6s ease-in-out infinite;
}

/* ================================================================
   AUDIT TRAIL block — terminal style
   ================================================================ */

.audit {
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.audit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--hair);
  background: rgba(8, 12, 18, 0.5);
}
.audit-header strong {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.audit-header strong::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
  animation: blink 1.4s ease-in-out infinite;
}
.audit-header .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.audit-body {
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
}
.audit-body .row {
  padding: 8px 18px;
  display: grid;
  grid-template-columns: 90px 80px 1fr;
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.025);
}
.audit-body .row:first-child { border-top: 0; }
.audit-body time { color: var(--orange); }
.audit-body .verb {
  color: var(--green);
  font-weight: 500;
}
.audit-body .verb--ok { color: var(--green); }
.audit-body .verb--warn { color: var(--orange); }
.audit-body .verb--info { color: var(--cyan); }
.audit-body .text { color: var(--muted-2); }
.audit-body .text strong { color: var(--title); font-weight: 500; }
.audit-body .text em { font-style: normal; color: var(--dim); }

/* ================================================================
   COMPARE — minimalist before/after
   ================================================================ */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-col {
  padding: 32px;
  background: var(--surface);
}
.compare-col strong {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}
.compare-col--after strong { color: var(--orange); }
.compare-col h3 { margin-bottom: 14px; font-size: 1.2rem; }
.compare-col ul { list-style: none; padding: 0; margin: 18px 0 0; }
.compare-col ul li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.55;
  border-top: 1px solid var(--hair);
}
.compare-col ul li:first-child { border-top: 0; }
.compare-col--before ul li::before {
  content: "—";
  position: absolute; left: 0; top: 10px;
  color: var(--dim);
  font-family: var(--mono);
}
.compare-col--after ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 10px;
  color: var(--orange);
  font-family: var(--mono);
}

/* ================================================================
   PAGE INTRO (sub pages)
   ================================================================ */

.page-intro {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--hair);
  position: relative;
}

.page-intro h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-top: 16px;
}

.page-intro .lede {
  margin-top: 18px;
  font-size: 1.05rem;
  max-width: 60ch;
}

.page-intro-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ================================================================
   PRICING
   ================================================================ */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
}
.price.is-feature {
  border-color: rgba(249, 115, 22, 0.32);
  background:
    radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.10), transparent 60%),
    var(--surface);
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.10);
}

.price-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.price.is-feature .price-tag { color: var(--orange); }

.price-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.price-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.price ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price ul li {
  position: relative;
  padding-left: 22px;
  color: var(--muted-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.price ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--orange);
  font-family: var(--mono);
  font-weight: 500;
}
.price-cta-row { margin-top: auto; }

/* ================================================================
   CTA BANNER
   ================================================================ */

.cta {
  margin: 56px auto;
  padding: 52px 44px;
  border: 1px solid var(--hair-2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.15), transparent 50%),
    var(--surface);
  position: relative;
  overflow: hidden;
  width: min(calc(100% - 40px), var(--content));
}

.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 0% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 0% 0%, #000, transparent 70%);
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.cta h2 { font-size: clamp(1.8rem, 2.8vw, 2.2rem); max-width: 22ch; }
.cta p { color: var(--muted-2); margin-top: 12px; max-width: 50ch; font-size: 14.5px; line-height: 1.6; }

/* ================================================================
   FOOTER
   ================================================================ */

.foot {
  margin-top: 24px;
  padding: 64px 0 36px;
  border-top: 1px solid var(--hair);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.foot-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  max-width: 32ch;
  line-height: 1.6;
}

.foot-col strong {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}

.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col ul a {
  color: var(--muted-2);
  font-size: 13px;
  transition: color 0.2s;
}
.foot-col ul a:hover { color: var(--orange); }

.foot-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 12px;
  font-family: var(--mono);
}
.foot-bottom a { color: var(--dim); }
.foot-bottom a:hover { color: var(--muted-2); }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1100px) {
  .hero-grid,
  .split,
  .section-head,
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse > :first-child,
  .split--reverse > :last-child { order: initial; }
  .hero-stage { max-width: 100%; width: min(540px, calc(100vw - 40px)); justify-self: start; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--col-2, .tile--col-3, .tile--col-4, .tile--col-6 { grid-column: span 2; }
  .tile--row-2 { grid-row: auto; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--hair); }
  .pillar:last-child { border-bottom: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--hair); padding: 24px 0; }
  .flow-step + .flow-step { padding-left: 0; }
  .flow-step:last-child { border-bottom: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-signin { display: none; }
  .brand-sub { display: none; }
  .hero { padding: 56px 0 32px; }
  .hero-stage {
    width: min(300px, calc(100vw - 72px));
    justify-self: center;
    margin-top: 6px;
  }
  .globe-tag {
    padding: 6px 9px;
    font-size: 10px;
    gap: 6px;
  }
  .globe-tag--tl { top: 7%; left: 0; }
  .globe-tag--tr,
  .globe-tag--br { display: none; }
  .globe-tag--bl { left: 0; bottom: 18%; }
  .section { padding: 64px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .ticker-track { padding-left: 16px; }
  .ticker-label { display: none; }
  .audit-body .row { grid-template-columns: 70px 70px 1fr; gap: 8px; font-size: 11.5px; }
  .agent-log .row { grid-template-columns: 50px auto 1fr; gap: 8px; }
}
