:root {
  --bg: #060607;
  --surface: #0E0E10;
  --orange: #FF5A1F;
  --orange-2: #FF8A3D;
  --green: #B6FF3B;
  --text: #F4F1EC;
  --muted: #9A9AA3;
  --dim: #6E6E78;
  --hair: rgba(255, 255, 255, 0.09);
  --ink-on-orange: #1C0A02;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; }

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }

.grad {
  background: linear-gradient(90deg, var(--orange), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.orange { color: var(--orange); }
.orange-2 { color: var(--orange-2); }
.green { color: var(--green); }

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.section-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(6, 6, 7, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hair);
}

.logo { font-size: 1rem; font-weight: 500; letter-spacing: 0.02em; }
.logo-with {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.logo-ai { font-weight: 600; }

.nav-links { display: flex; gap: 1.6rem; font-size: 0.82rem; color: var(--muted); }
.nav-links a { transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 0.8rem;
  color: var(--green);
  border: 1px solid rgba(182, 255, 59, 0.4);
  border-radius: 99px;
  padding: 0.5rem 1.1rem;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--green); color: #14200A; }

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem clamp(1.25rem, 5vw, 3rem) 4rem;
}

.blob-wrap {
  position: absolute;
  right: -12vw;
  top: 50%;
  transform: translateY(-52%);
  width: min(58vw, 720px);
  aspect-ratio: 1;
  pointer-events: none;
}

.blob { width: 100%; height: 100%; }

.hero-inner { position: relative; max-width: 1060px; margin: 0 auto; width: 100%; }

.hero-title {
  font-size: clamp(3rem, 8.5vw, 6.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.line-mask { display: block; overflow: hidden; }
.line { display: block; }

.hero-sub {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--muted);
  max-width: 360px;
  line-height: 1.65;
  margin: 1.6rem 0 2.2rem;
}

.hero-ctas { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; }

.btn-solid {
  display: inline-block;
  background: var(--orange);
  color: var(--ink-on-orange);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 99px;
  padding: 0.8rem 1.6rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255, 90, 31, 0.35); }

.btn-ghost {
  font-size: 0.88rem;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  padding: 0.75rem 1.5rem;
  transition: border-color 0.25s, color 0.25s;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); color: var(--text); }

.chip {
  position: absolute;
  background: rgba(6, 6, 7, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.chip-a { right: clamp(2rem, 8vw, 8rem); top: 24%; }
.chip-b { right: clamp(6rem, 18vw, 20rem); top: 62%; }
.chip-c { right: clamp(1rem, 3vw, 3.5rem); top: 47%; }
.chip-d { right: clamp(4rem, 11vw, 12rem); top: 80%; }
.chip-e { right: clamp(4rem, 10vw, 11rem); top: 9%; }
.chip-f { right: clamp(12rem, 24vw, 26rem); top: 34%; }
.chip-num { display: block; font-size: 1.3rem; font-weight: 600; }
.chip-label { font-size: 0.72rem; color: var(--muted); }

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--dim);
}
.cue-line {
  width: 1px; height: 44px;
  background: linear-gradient(var(--dim), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ---------- marquee ---------- */

.marquee {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 0.7rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 26s linear infinite;
  animation-play-state: paused;
}
.marquee.running .marquee-track { animation-play-state: running; }
.marquee-track span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-track em {
  font-size: 1rem;
  line-height: 0;
  vertical-align: middle;
  text-shadow: 0 0 9px currentColor;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- problem ---------- */

.problem { padding: clamp(5rem, 12vh, 9rem) 0; }

.problem-title {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 640px;
}

.problem-stats {
  display: flex;
  gap: clamp(2rem, 6vw, 4.5rem);
  margin-top: 2.8rem;
  flex-wrap: wrap;
}
.stat-num {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.8rem; color: var(--muted); max-width: 200px; display: block; margin-top: 0.3rem; }

/* ---------- automation flow ---------- */

.flow-block { margin-top: 4.5rem; }
.flow-kicker { margin-bottom: 4.6rem; }

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
}

.flow-canvas {
  position: relative;
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 2.8rem 1.8rem 2.4rem;
  background-color: #08080A;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1.4px),
    radial-gradient(620px 320px at 76% 22%, rgba(255, 90, 31, 0.08), transparent 65%),
    radial-gradient(520px 300px at 16% 85%, rgba(182, 255, 59, 0.06), transparent 65%);
  background-size: 20px 20px, auto, auto;
}

.flow-wire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.wire-base { stroke: rgba(255, 255, 255, 0.09); stroke-width: 1.5; }
.wire-pulse { stroke: url(#wireGrad); stroke-width: 2.5; stroke-linecap: round; }

.flow-row-2 { margin-top: 3rem; }

.flow-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  perspective: 520px;
  outline: none;
  z-index: 1;
}

.node-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.5, 1), border-color 0.35s, box-shadow 0.35s;
  transform-style: preserve-3d;
}
.node-icon svg { width: 26px; height: 26px; }

.n-orange .node-icon svg { color: var(--orange-2); }
.n-green .node-icon svg { color: var(--green); }

.flow-node:hover .node-icon,
.flow-node:focus-visible .node-icon,
.flow-node.active .node-icon {
  transform: translateY(-14px) rotateX(22deg) rotateY(-16deg) rotate(-4deg) scale(1.16);
}
.n-orange:hover .node-icon,
.n-orange:focus-visible .node-icon,
.n-orange.active .node-icon {
  border-color: rgba(255, 138, 61, 0.6);
  box-shadow: 0 16px 36px rgba(255, 90, 31, 0.28);
}
.n-green:hover .node-icon,
.n-green:focus-visible .node-icon,
.n-green.active .node-icon {
  border-color: rgba(182, 255, 59, 0.55);
  box-shadow: 0 16px 36px rgba(182, 255, 59, 0.2);
}

.flow-node-hero .node-icon { width: 74px; height: 74px; border-radius: 20px; border-color: rgba(255, 138, 61, 0.35); }
.flow-node-hero .node-icon svg { width: 33px; height: 33px; }
.flow-node-hero .node-label { color: var(--text); }

.node-label { color: var(--muted); text-align: center; }
.node-text { display: flex; flex-direction: column; align-items: center; }

.node-bubble {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 10px) scale(0.94);
  width: 200px;
  background: rgba(16, 16, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.34, 1.4, 0.5, 1);
  z-index: 5;
}
.node-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background: rgba(16, 16, 20, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.flow-node:hover .node-bubble,
.flow-node:focus-visible .node-bubble,
.flow-node:focus .node-bubble,
.flow-node.active .node-bubble {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* ---------- suite (01 — the systems) ---------- */

.suite { padding: clamp(4rem, 10vh, 7rem) 0; border-top: 1px solid var(--hair); }

.suite-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.suite-sub { margin-top: 1.2rem; max-width: 48ch; color: var(--muted); line-height: 1.7; }

.suite-row { display: flex; gap: 1rem; margin-top: 3.2rem; }

.suite-panel {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  height: 470px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--hair);
  background: var(--surface);
  transition: flex-grow 0.65s cubic-bezier(0.3, 0.9, 0.3, 1), border-color 0.4s;
}
.suite-panel:hover,
.suite-panel:focus-visible { flex-grow: 2.1; }
.sp-orange:hover, .sp-orange:focus-visible { border-color: rgba(255, 138, 61, 0.5); }
.sp-green:hover, .sp-green:focus-visible { border-color: rgba(182, 255, 59, 0.45); }

.sp-bg { position: absolute; inset: 0; }
.sp-bg > img, .sp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-video { opacity: 0; transition: opacity 0.5s; }
.suite-panel:hover .sp-video,
.suite-panel:focus-visible .sp-video { opacity: 1; }

.sp-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 7, 0.92) 0%, rgba(6, 6, 7, 0.35) 45%, rgba(6, 6, 7, 0.1) 100%);
}

.sp-num { position: absolute; top: 1.3rem; left: 1.4rem; }

.sp-body { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; }
.sp-name { font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 500; letter-spacing: -0.01em; }
.sp-tag { margin-top: 0.3rem; }

/* desc + link collapse to zero height when idle so all three titles share a
   baseline; hover expands the row and fades the copy in */
.sp-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.3, 0.9, 0.3, 1);
}
.sp-reveal-in { overflow: hidden; min-height: 0; }
.suite-panel:hover .sp-reveal,
.suite-panel:focus-visible .sp-reveal { grid-template-rows: 1fr; }

.sp-desc {
  margin-top: 0.8rem;
  max-width: 36ch;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s 0.12s, transform 0.45s 0.12s;
}
.sp-link {
  display: inline-block;
  margin-top: 0.9rem;
  margin-bottom: 2px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s 0.2s, transform 0.45s 0.2s, color 0.3s;
}
.suite-panel:hover .sp-desc, .suite-panel:focus-visible .sp-desc,
.suite-panel:hover .sp-link, .suite-panel:focus-visible .sp-link { opacity: 1; transform: none; }
.suite-panel:hover .sp-link { color: var(--text); }

/* automation panel — property photo with a live enquiry-to-reply loop */
.sp-automation .sp-bg > img { filter: saturate(0.6) brightness(0.62); }
.sp-auto-tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1.4px) 0 0 / 20px 20px,
    linear-gradient(rgba(6, 6, 7, 0.5), rgba(6, 6, 7, 0.72));
}

.sp-auto-flow {
  position: absolute;
  top: 3.2rem;
  left: 1.4rem;
  right: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sp-lead-card {
  max-width: 240px;
  background: rgba(12, 12, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.sp-lc-in { animation: sp-step-1 10s infinite; }
.sp-lc-reply {
  margin-left: 1.2rem;
  border-color: rgba(182, 255, 59, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 26px rgba(182, 255, 59, 0.1);
  animation: sp-step-2 10s infinite;
}
.sp-lc-chip { margin-left: 2rem; padding: 0.45rem 0.7rem; max-width: none; white-space: nowrap; }
.sp-lc-hot { animation: sp-step-3 10s infinite; }
.sp-lc-hot .sp-lc-meta { color: var(--orange-2); }
.sp-lc-booked {
  margin-top: 0.45rem;
  border-color: rgba(182, 255, 59, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 26px rgba(182, 255, 59, 0.1);
  animation: sp-step-4 10s infinite;
}

.sp-lc-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-2);
}
.sp-lc-reply .sp-lc-meta, .sp-lc-booked .sp-lc-meta { color: var(--green); }
.sp-lc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}
.sp-lc-tick { font-style: normal; }
.sp-lc-msg { display: block; margin-top: 0.35rem; font-size: 0.8rem; line-height: 1.45; color: var(--text); }

.sp-wire-line { position: relative; width: 2px; background: rgba(255, 255, 255, 0.14); }
.sp-wire-1 { height: 1.4rem; margin-left: 1.3rem; }
.sp-wire-2 { height: 1.2rem; margin-left: 2.1rem; }
.sp-wire-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--green));
  box-shadow: 0 0 12px rgba(255, 90, 31, 0.8);
}
.sp-dot-1 { animation: sp-dot-travel-1 10s infinite; }
.sp-dot-2 { animation: sp-dot-travel-2 10s infinite; }

/* one 10s cycle: enquiry → wire → reply → wire → scored hot → booked */
@keyframes sp-step-1 {
  0%, 2% { opacity: 0; transform: translateY(-10px); }
  7%, 92% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes sp-dot-travel-1 {
  0%, 9% { opacity: 0; top: 0; }
  12% { opacity: 1; top: 0; }
  28% { opacity: 1; top: calc(100% - 8px); }
  32%, 100% { opacity: 0; top: calc(100% - 8px); }
}
@keyframes sp-step-2 {
  0%, 28% { opacity: 0; transform: translateY(10px) scale(0.97); }
  34%, 92% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(10px) scale(0.97); }
}
@keyframes sp-dot-travel-2 {
  0%, 36% { opacity: 0; top: 0; }
  39% { opacity: 1; top: 0; }
  53% { opacity: 1; top: calc(100% - 8px); }
  57%, 100% { opacity: 0; top: calc(100% - 8px); }
}
@keyframes sp-step-3 {
  0%, 55% { opacity: 0; transform: translateY(10px) scale(0.97); }
  60%, 92% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(10px) scale(0.97); }
}
@keyframes sp-step-4 {
  0%, 63% { opacity: 0; transform: translateY(10px) scale(0.97); }
  68%, 92% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(10px) scale(0.97); }
}

/* pages panel — tilted mini page */
.sp-pages-bg {
  background:
    radial-gradient(420px 300px at 80% 20%, rgba(182, 255, 59, 0.09), transparent 65%),
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1.4px) 0 0 / 20px 20px,
    #0A0A0C;
}
.sp-mock {
  position: absolute;
  top: 6%;
  left: 50%;
  width: min(80%, 300px);
  transform: translateX(-50%) rotate(-6deg);
  background: #F2EEE6;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(182, 255, 59, 0.1);
  transition: transform 0.6s cubic-bezier(0.3, 0.9, 0.3, 1);
}
.suite-panel:hover .sp-mock,
.suite-panel:focus-visible .sp-mock { transform: translateX(-50%) rotate(-2deg) translateY(-10px); }
.sp-mock-chrome { display: flex; align-items: center; gap: 4px; padding: 8px 10px; background: #E7E1D4; }
.sp-mock-chrome span { width: 6px; height: 6px; border-radius: 50%; background: rgba(22, 20, 15, 0.18); }
.sp-mock-chrome b { margin-left: 5px; font-size: 7px; font-weight: 400; letter-spacing: 0.04em; color: #8A8474; }
.sp-mock-view { height: 320px; overflow: hidden; }
.sp-mock-page { animation: sp-pagescroll 11s ease-in-out infinite; }
.sp-mock-hero img { display: block; width: 100%; height: 130px; object-fit: cover; }
.sp-mock-title {
  padding: 10px 12px 0;
  font-size: 1.05rem;
  color: #16140F;
  letter-spacing: -0.01em;
}
.sp-mock-title em { font-family: "Instrument Serif", serif; font-style: italic; }
.sp-mock-lines { padding: 8px 12px 0; }
.sp-mock-lines i { display: block; height: 6px; border-radius: 3px; background: #DDD5C4; margin-top: 5px; }
.sp-mock-lines i:nth-child(2) { width: 62%; }
.sp-mock-gal { display: flex; gap: 4px; padding: 10px 12px 0; }
.sp-mock-gal img { width: 50%; height: 68px; object-fit: cover; border-radius: 6px; }
.sp-mock-band {
  margin: 12px 12px 14px;
  padding: 8px 0;
  text-align: center;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  color: var(--ink-on-orange);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
}
@keyframes sp-pagescroll {
  0%, 16% { transform: translateY(0); }
  46%, 62% { transform: translateY(-110px); }
  90%, 100% { transform: translateY(0); }
}

/* ---------- proof ---------- */

.proof { padding: clamp(4rem, 10vh, 7rem) 0; border-top: 1px solid var(--hair); }

.proof-title {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}

.compare-set {
  display: grid;
  gap: 2.8rem;
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}
.ex-badge { color: var(--muted); }
.ex-badge-real {
  color: var(--green);
  background: rgba(182, 255, 59, 0.1);
  border: 1px solid rgba(182, 255, 59, 0.35);
  border-radius: 99px;
  padding: 0.35rem 0.8rem;
}

.compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.panel-grid {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}
.panel-grid img { width: 100%; height: 100%; object-fit: cover; }
.panel-grid img:first-child { grid-row: span 2; }

.compare-panel {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 16 / 10;
}
.compare-panel img,
.compare-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.compare-panel-motion { border-color: rgba(182, 255, 59, 0.35); }

.panel-tag {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  color: rgba(244, 241, 236, 0.85);
  background: rgba(6, 6, 7, 0.55);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.panel-tag.green { color: var(--green); }

.compare-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--green);
}

/* ---------- pages ---------- */

.pages { padding: clamp(4rem, 10vh, 7rem) 0; border-top: 1px solid var(--hair); }

.pages-title {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.pages-sub { font-size: 0.86rem; color: var(--muted); margin: 0.7rem 0 2rem; }

.mock-row {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.7fr;
  gap: 1.1rem;
  align-items: start;
}

.page-mock {
  margin: 0;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.13);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.5, 1), border-color 0.4s, box-shadow 0.4s;
  outline: none;
}
.page-mock:hover,
.page-mock:focus-visible {
  transform: translateY(-8px) rotateX(2deg);
  border-color: rgba(255, 138, 61, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.mock-chrome .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.mock-url {
  margin-left: 8px;
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 3px 8px;
  color: var(--dim);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.mock-notch { height: 18px; display: flex; align-items: center; justify-content: center; }
.mock-notch::after { content: ""; width: 54px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); }

.mock-view { height: 300px; overflow: hidden; position: relative; }
.page-mock-phone .mock-view { height: 340px; }

.mock-page {
  transition: transform 3.2s cubic-bezier(0.3, 0, 0.4, 1);
}
.page-mock:hover .mock-page,
.page-mock:focus-visible .mock-page {
  transform: translateY(calc(300px - 100%));
}
.page-mock-phone:hover .mock-page,
.page-mock-phone:focus-visible .mock-page {
  transform: translateY(calc(340px - 100%));
}

.mk-hero { position: relative; height: 190px; overflow: hidden; }
.mk-hero-short { height: 120px; }
.mk-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-hero-fade { position: absolute; inset: 0; background: linear-gradient(rgba(6,6,7,0.05) 30%, rgba(6,6,7,0.88)); }
.mk-lux-title {
  position: absolute;
  left: 14px; bottom: 34px;
  font-size: 1.05rem;
  line-height: 1.15;
  color: #F4F1EC;
  font-weight: 500;
}
.mk-lux-title em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--orange-2); }
.mk-pill {
  position: absolute;
  left: 14px; bottom: 10px;
  font-size: 0.58rem;
  font-weight: 600;
  border-radius: 99px;
  padding: 4px 10px;
}
.mk-pill-orange { background: var(--orange); color: var(--ink-on-orange); }

.mk-stats { display: flex; gap: 14px; padding: 12px 14px; font-size: 0.62rem; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.07); }
.mk-stats b { color: var(--text); font-weight: 600; }

.mk-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px; }
.mk-card { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 9px 10px; font-size: 0.62rem; color: var(--text); }
.mk-card b { display: block; margin-bottom: 6px; font-weight: 500; }
.mk-card i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.12); margin-top: 4px; }

.mk-band { margin: 4px 14px 14px; text-align: center; font-size: 0.62rem; font-weight: 600; border-radius: 8px; padding: 8px; }
.mk-band-orange { background: var(--orange); color: var(--ink-on-orange); }
.mk-band-green { background: var(--green); color: #14200A; }
.mk-foot { height: 26px; border-top: 1px solid rgba(255,255,255,0.08); }

.mock-light { background: #F2EEE6; }
.mk-light-title { font-size: 0.95rem; font-weight: 600; color: #1E1B14; padding: 12px 14px 4px; }
.mk-progress { padding: 0 14px 10px; font-size: 0.58rem; color: #6B6455; }
.mk-bar { height: 5px; border-radius: 3px; background: #DDD5C4; margin-top: 4px; overflow: hidden; }
.mk-bar i { display: block; height: 100%; width: 64%; border-radius: 3px; background: #639922; }
.mk-lots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 14px 12px; }
.mk-lot { background: #FFFFFF; border: 1px solid #E2DACA; border-radius: 7px; padding: 8px; font-size: 0.58rem; color: #6B6455; }
.mk-lot b { display: block; color: #1E1B14; font-weight: 600; }
.mk-lot-hot { border-color: #639922; }
.mk-form { padding: 0 0 4px; }
.mk-form i { display: block; height: 18px; border-radius: 6px; background: #FFFFFF; border: 1px solid #E2DACA; margin: 0 14px 6px; }
.mk-foot-light { border-top: 1px solid #E2DACA; }

.mock-mobile { background: #0B0B0E; padding-top: 6px; }
.mk-avatar-row { display: flex; align-items: center; gap: 7px; padding: 8px 12px; }
.mk-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: var(--ink-on-orange); font-size: 0.58rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mk-brand { font-size: 0.68rem; font-weight: 600; color: var(--text); }
.mk-brand b { color: var(--green); }
.mk-mob-title { font-size: 1.15rem; font-weight: 600; line-height: 1.1; color: var(--text); padding: 6px 12px 10px; letter-spacing: -0.02em; }
.mk-checks { display: flex; flex-direction: column; gap: 5px; padding: 0 12px 12px; font-size: 0.6rem; color: var(--green); }
.mk-hero-round { height: 110px; margin: 0 12px; border-radius: 10px; }
.mk-quote { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 0.78rem; color: var(--muted); padding: 12px 12px 4px; }
.mock-mobile .mk-band { margin: 10px 12px 14px; }

.mk-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 14px 12px; }
.mk-gallery img { width: 100%; height: 54px; object-fit: cover; border-radius: 6px; display: block; }
.mk-agent { display: flex; align-items: center; gap: 8px; padding: 2px 14px 12px; }
.mk-agent-lines i { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.14); margin: 4px 0; }
.mk-hero-band { height: 64px; margin: 0 14px 8px; border-radius: 8px; }
.mk-light-quote { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 0.74rem; color: #6B6455; padding: 2px 14px 10px; }
.mk-mob-stats { display: flex; gap: 14px; padding: 4px 12px 10px; font-size: 0.6rem; color: var(--muted); }
.mk-mob-stats b { color: var(--orange-2); font-weight: 600; }
.mk-steps { display: flex; flex-direction: column; gap: 6px; padding: 0 12px 4px; font-size: 0.62rem; color: var(--text); }
.mk-steps b { display: inline-flex; width: 15px; height: 15px; border-radius: 50%; background: rgba(182,255,59,0.15); color: var(--green); font-size: 0.55rem; align-items: center; justify-content: center; margin-right: 6px; }

.mock-cap { display: block; padding: 10px 12px; color: var(--dim); border-top: 1px solid rgba(255,255,255,0.08); }

/* ---------- begin ---------- */

.begin {
  position: relative;
  padding: clamp(5rem, 14vh, 9rem) clamp(1.25rem, 5vw, 3rem);
  border-top: 1px solid var(--hair);
  overflow: hidden;
}

.blob-wrap-form {
  left: -14vw;
  right: auto;
  bottom: -18vh;
  top: auto;
  transform: none;
  width: min(48vw, 520px);
}

.begin-inner {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.begin-title { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 500; letter-spacing: -0.02em; }
.begin-sub { font-size: 0.86rem; color: var(--muted); line-height: 1.6; margin: 0.8rem 0 1.8rem; }

.lead-form { display: grid; gap: 0.7rem; text-align: left; }

.lead-form input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.25s, background 0.25s;
}
.lead-form input::placeholder { color: var(--dim); }
.lead-form input:focus {
  outline: none;
  border-color: rgba(182, 255, 59, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.btn-submit { border-radius: 12px; text-align: center; margin-top: 0.2rem; padding: 0.95rem; }
.btn-submit .arrow { display: inline-block; transition: transform 0.25s; }
.btn-submit:hover .arrow { transform: translateX(4px); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }

.form-error { color: var(--orange-2); margin-top: 0.2rem; min-height: 1em; text-transform: none; letter-spacing: 0.04em; }

.form-success { padding: 2.2rem 0 1rem; }
.success-big { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 500; }

.form-note { color: var(--dim); margin-top: 1.4rem; }

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

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid var(--hair);
  font-size: 0.8rem;
  color: var(--dim);
}

/* ---------- glass cursor ---------- */

.cursor {
  display: none;
  position: fixed;
  top: -3px;
  left: -6px;
  z-index: 9999;
  pointer-events: none;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.5));
  will-change: transform;
}

.cursor-glow {
  display: none;
  position: fixed;
  top: -45px;
  left: -45px;
  width: 90px;
  height: 90px;
  z-index: 9998;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, rgba(255, 90, 31, 0.4), rgba(182, 255, 59, 0.16) 55%, transparent 72%);
  filter: blur(9px);
  mix-blend-mode: screen;
  will-change: transform;
}
body.custom-cursor .cursor-glow { display: block; }

body.custom-cursor,
body.custom-cursor a,
body.custom-cursor button {
  cursor: none;
}
body.custom-cursor input { cursor: text; }
body.custom-cursor .cursor { display: block; }

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  .nav-links { display: none; }
  .blob-wrap { right: -40vw; width: 90vw; opacity: 0.8; }
  .chip-a { right: 1.2rem; top: 14%; }
  .chip-b { right: 1.2rem; top: auto; bottom: 7%; }
  .chip-c, .chip-d, .chip-e, .chip-f { display: none; }
  .suite-row { flex-direction: column; }
  .suite-panel { flex: 0 0 auto; height: 360px; }
  .suite-panel:hover, .suite-panel:focus-visible { flex-grow: 1; }
  .sp-reveal { grid-template-rows: 1fr; }
  .sp-desc, .sp-link { opacity: 1; transform: none; }
  .sp-automation { height: 470px; }
  .sp-auto-flow { top: 2.7rem; }
  .sp-lc-msg { font-size: 0.74rem; }
  .sp-wire-1 { height: 1.1rem; }
  .sp-wire-2 { height: 1rem; }
  .sp-mock { top: 4%; width: min(58%, 210px); }
  .sp-mock-view { height: 138px; }
  .problem-stats { gap: 1.6rem; }
  .footer { flex-direction: column; gap: 0.5rem; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: translate(-50%, -50%) rotate(90deg); }
  .mock-row { grid-template-columns: 1fr; }
  .page-mock-phone { max-width: 260px; }
  .flow { grid-template-columns: 1fr; gap: 1.4rem; }
  .flow-row-2 { margin-top: 1.4rem; }
  .flow-canvas { padding: 1.4rem 1rem; }
  .flow-wire { display: none; }
  .flow-node-hero .node-icon { width: 58px; height: 58px; border-radius: 16px; }
  .flow-node-hero .node-icon svg { width: 26px; height: 26px; }
  .flow-node { flex-direction: row; align-items: flex-start; gap: 1rem; }
  .node-icon { flex-shrink: 0; }
  .node-text { flex: 1; align-items: flex-start; gap: 0.35rem; padding-top: 0.4rem; }
  .node-bubble {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: auto;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--muted);
  }
  .node-bubble::after { display: none; }
  .node-label { text-align: left; }
  /* bubbles are static text here — the desktop hover/active transforms would
     shift them half their width off-screen on tap */
  .flow-node:hover .node-bubble,
  .flow-node:focus-visible .node-bubble,
  .flow-node:focus .node-bubble,
  .flow-node.active .node-bubble { transform: none; }
  .flow-node:hover .node-icon,
  .flow-node:focus-visible .node-icon,
  .flow-node.active .node-icon { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .cue-line, .sp-lead-card, .sp-wire-dot, .sp-mock-page { animation: none; }
  .sp-lead-card { opacity: 1; }
  .sp-wire-dot { opacity: 0; }
}
