/* ==========================================================================
   Katalyst Labs — site styles
   ========================================================================== */

:root {
  --bg: #0a0507;
  --bg-2: #110a0c;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5eef0;
  --muted: #b1a1a5;
  --dim: #7a686d;
  --accent: #ec5a72;
  --accent-2: #c0283f;
  --accent-3: #f6a7b2;
  --accent-soft: rgba(236, 90, 114, 0.12);
  --success: #5fd3a1;
  --danger: #ff7a7a;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Background texture ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
  pointer-events: none;
}
.bg-glow {
  position: fixed;
  z-index: -1;
  width: 900px;
  height: 900px;
  left: 50%;
  top: -520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(192, 40, 63, 0.28), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(10, 5, 7, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.logo svg { width: 30px; height: 30px; }
.logo span { color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.93rem;
  color: var(--muted);
  border-radius: 999px;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}
.nav-link .chev { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 330px;
  padding: 8px;
  background: rgba(20, 12, 15, 0.96);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.2s;
}
.dropdown-item:hover { background: var(--surface-2); }
.dropdown-item .icon-box { width: 36px; height: 36px; flex-shrink: 0; }
.dropdown-item strong { display: block; font-size: 0.95rem; font-weight: 600; }
.dropdown-item small { display: block; color: var(--dim); font-size: 0.82rem; line-height: 1.4; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: rgba(10, 5, 7, 0.97);
  backdrop-filter: blur(14px);
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.menu-open .mobile-nav { opacity: 1; transform: none; }
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.sub { font-size: 1.05rem; color: var(--muted); padding-left: 18px; }
.mobile-nav .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 24px 0 4px;
}
.mobile-nav .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 30px rgba(236, 90, 114, 0.25), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { box-shadow: 0 10px 40px rgba(236, 90, 114, 0.4), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.26); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-3);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface);
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(236, 90, 114, 0.6);
  animation: ping 2.2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(236, 90, 114, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(236, 90, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 90, 114, 0); }
}

.gradient-text {
  background: linear-gradient(100deg, var(--accent-3) 0%, var(--accent) 45%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-border { border-top: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 18px 0 18px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 26px 0 24px;
}
.hero .lead { margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-meta div { font-size: 0.86rem; color: var(--dim); }
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
}

/* Orbit visual */
.orbit {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.orbit .ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.orbit .ring:nth-child(2) { inset: 15%; animation-duration: 28s; animation-direction: reverse; border-style: dashed; border-color: rgba(255,255,255,0.1); }
.orbit .ring:nth-child(3) { inset: 30%; animation-duration: 18s; }
.orbit .node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px 4px rgba(236, 90, 114, 0.55);
}
.orbit .ring:nth-child(1) .node { top: 14.6%; left: 14.6%; transform: translate(-50%, -50%); }
.orbit .ring:nth-child(2) .node { top: 50%; right: -5px; transform: translateY(-50%); background: var(--accent-3); box-shadow: 0 0 16px 3px rgba(246, 167, 178, 0.5); }
.orbit .ring:nth-child(3) .node { bottom: -5px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; }
.orbit .core {
  position: absolute;
  inset: 39%;
  border-radius: 28%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(236, 90, 114, 0.25), rgba(192, 40, 63, 0.08));
  border: 1px solid rgba(236, 90, 114, 0.45);
  box-shadow: 0 0 80px rgba(236, 90, 114, 0.35), inset 0 0 30px rgba(236, 90, 114, 0.18);
  animation: breathe 5s ease-in-out infinite;
}
.orbit .core svg { width: 48%; height: 48%; }
.orbit .tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(10, 5, 7, 0.8);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.orbit .tag.t1 { top: 6%; right: 2%; }
.orbit .tag.t2 { bottom: 16%; left: -4%; animation-delay: -2s; }
.orbit .tag.t3 { bottom: 2%; right: 12%; animation-delay: -4s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { box-shadow: 0 0 110px rgba(236, 90, 114, 0.5), inset 0 0 40px rgba(236, 90, 114, 0.25); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -0.04em; margin: 22px 0 22px; max-width: 900px; }
.breadcrumb { font-size: 0.85rem; color: var(--dim); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { margin: 0 8px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(236, 90, 114, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card.interactive:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.card h3 { font-size: 1.3rem; margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(236, 90, 114, 0.25);
  color: var(--accent);
}
.icon-box svg { width: 50%; height: 50%; }

.num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* Pillars */
.pillar { padding: clamp(30px, 4vw, 44px); min-height: 100%; display: flex; flex-direction: column; }
.pillar h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.pillar ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.pillar li { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 0.97rem; }
.pillar li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex-shrink: 0; transform: rotate(45deg); }
.pillar .btn { margin-top: auto; align-self: flex-start; }

/* Product cards */
.product-card { display: flex; flex-direction: column; padding: 0; }
.product-card .pc-visual {
  height: 190px;
  position: relative;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(236, 90, 114, 0.07), transparent);
  overflow: hidden;
}
.product-card .pc-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.product-card .pc-top { display: flex; justify-content: space-between; align-items: center; }
.product-card h3 { margin-top: 18px; font-size: 1.45rem; }
.product-card .pc-body > p:last-of-type { margin-bottom: 24px; }
.product-card .tagline { color: var(--text); font-size: 0.97rem; margin-bottom: 8px; }
.product-card .more {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}
.product-card:hover .more { color: var(--text); }
.product-card .more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.product-card:hover .more svg { transform: translateX(4px); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-3);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(236, 90, 114, 0.3);
  background: var(--accent-soft);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

/* Mini visuals in product cards */
.viz-map {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 2px, transparent 2px);
  background-size: 46px 46px;
  background-position: 10px 14px;
}
.viz-map .pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(236, 90, 114, 0.2);
  animation: pinPulse 2.4s ease-in-out infinite;
}
.viz-map .pin.free { background: var(--success); box-shadow: 0 0 0 6px rgba(95, 211, 161, 0.18); }
@keyframes pinPulse { 50% { box-shadow: 0 0 0 12px rgba(236, 90, 114, 0); } }
.viz-map .car {
  position: absolute;
  width: 26px; height: 12px;
  border-radius: 4px;
  background: var(--text);
  opacity: 0.85;
  top: 60px;
  animation: drive 7s linear infinite;
}
@keyframes drive { from { left: -30px; } to { left: 110%; } }

.viz-lines { position: absolute; inset: 24px 28px; display: grid; gap: 10px; align-content: center; }
.viz-lines .line {
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  font-size: 0.74rem;
  color: var(--muted);
  font-family: var(--font-mono);
  overflow: hidden;
  white-space: nowrap;
}
.viz-lines .line i { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; font-style: normal; }
.viz-lines .line:nth-child(1) { animation: slideIn 6s var(--ease) infinite; }
.viz-lines .line:nth-child(2) { animation: slideIn 6s var(--ease) 0.25s infinite; }
.viz-lines .line:nth-child(3) { animation: slideIn 6s var(--ease) 0.5s infinite; }
@keyframes slideIn { 0% { opacity: 0; transform: translateX(-12px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.viz-plates { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.viz-plates .plate {
  width: 78px; height: 78px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at 35% 35%, rgba(246, 167, 178, 0.35), rgba(192, 40, 63, 0.15) 60%, transparent 70%);
  display: grid; place-items: center;
  animation: float 5s ease-in-out infinite;
}
.viz-plates .plate:nth-child(2) { width: 96px; height: 96px; animation-delay: -1.5s; }
.viz-plates .plate:nth-child(3) { animation-delay: -3s; }
.viz-plates .plate::after { content: ""; width: 45%; height: 45%; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.25); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }

.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; color: var(--muted); }
.check-list li strong { color: var(--text); font-weight: 600; display: block; }
.check-list .tick {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.check-list .tick svg { width: 14px; height: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--border-strong); }
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 1.2s var(--ease);
}
.step.in::before { width: 100%; }
.step h3 { font-size: 1.2rem; margin: 12px 0 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Phone mockup ---------- */
.phone {
  width: 290px;
  max-width: 100%;
  aspect-ratio: 9 / 18.5;
  margin: 0 auto;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #2a1d21, #120b0d);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(236, 90, 114, 0.12);
  position: relative;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  background: #0d0709;
  overflow: hidden;
  padding: 44px 16px 16px;
  font-size: 0.76rem;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 24px;
  border-radius: 20px;
  background: #000;
  z-index: 2;
}
.ps-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; }
.ps-sub { color: var(--dim); font-size: 0.72rem; margin-bottom: 14px; }
.ps-map {
  position: relative;
  height: 54%;
  border-radius: 18px;
  border: 1px solid var(--border);
  background-color: #150d10;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 6px, transparent 6px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 6px, transparent 6px);
  background-size: 70px 70px;
  background-position: 20px 30px;
  overflow: hidden;
}
.ps-map .pin { position: absolute; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); box-shadow: 0 4px 14px rgba(236,90,114,0.5); }
.ps-map .pin.free { background: var(--success); box-shadow: 0 4px 14px rgba(95,211,161,0.4); }
.ps-map .you { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #6ea8ff; border: 3px solid #fff; left: 46%; top: 55%; box-shadow: 0 0 0 10px rgba(110,168,255,0.2); }
.ps-card {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ps-card b { display: block; font-size: 0.82rem; font-weight: 600; }
.ps-card small { color: var(--dim); font-size: 0.68rem; }
.ps-chip { padding: 4px 9px; border-radius: 999px; font-size: 0.66rem; background: var(--accent-soft); color: var(--accent-3); white-space: nowrap; }
.ps-chip.green { background: rgba(95,211,161,0.14); color: var(--success); }
.ps-input {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(236, 90, 114, 0.35);
  background: rgba(236, 90, 114, 0.06);
  color: var(--text);
  line-height: 1.5;
  min-height: 82px;
}
.ps-input .caret { display: inline-block; width: 1.5px; height: 12px; background: var(--accent); vertical-align: middle; animation: blink 1s steps(1) infinite; }
.ps-arrow { text-align: center; color: var(--dim); margin: 8px 0; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; }
.ps-group { margin-bottom: 8px; }
.ps-group-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin: 0 0 6px 2px; }
.ps-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); margin-bottom: 5px; }
.ps-item i { width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--dim); flex-shrink: 0; }
.ps-item .when { margin-left: auto; color: var(--accent-3); font-size: 0.64rem; white-space: nowrap; }
.ps-search { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--dim); margin-bottom: 12px; }
.ps-cats { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.ps-cats span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: 0.66rem; }
.ps-cats span.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ps-chef { display: flex; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 8px; align-items: center; }
.ps-chef .img { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; background: radial-gradient(circle at 35% 35%, rgba(246,167,178,0.6), rgba(192,40,63,0.3) 60%, #1b1013); }
.ps-chef b { display: block; font-size: 0.8rem; }
.ps-chef small { color: var(--dim); font-size: 0.66rem; display: block; }
.ps-chef .price { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(26px, 4vw, 44px); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 0.86rem; font-weight: 500; color: var(--muted); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.97rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b1a1a5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
.field select option { background: #1a1013; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(236, 90, 114, 0.04);
  box-shadow: 0 0 0 4px rgba(236, 90, 114, 0.12);
}
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--danger); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.87rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.chip span:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--dim); }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.consent a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.93rem;
}
.form-status.show { display: block; animation: fadeUp 0.4s var(--ease); }
.form-status.success { background: rgba(95, 211, 161, 0.1); border: 1px solid rgba(95, 211, 161, 0.35); color: #b8f0d6; }
.form-status.error { background: rgba(255, 122, 122, 0.08); border: 1px solid rgba(255, 122, 122, 0.35); color: #ffc4c4; }
.form-status a { text-decoration: underline; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.inline-form { display: flex; gap: 10px; max-width: 520px; }
.inline-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.inline-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(236, 90, 114, 0.12); }

/* ---------- Waitlist / CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(40px, 6vw, 72px);
  border-radius: 28px;
  border: 1px solid rgba(236, 90, 114, 0.3);
  background:
    radial-gradient(600px circle at 0% 0%, rgba(236, 90, 114, 0.18), transparent 60%),
    radial-gradient(500px circle at 100% 100%, rgba(192, 40, 63, 0.16), transparent 60%),
    var(--bg-2);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 16px 0 16px; max-width: 640px; }
.cta-band .lead { margin-bottom: 30px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s;
}
.faq details[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }

/* ---------- About ---------- */
.founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  padding: clamp(28px, 4vw, 44px);
}
.avatar {
  width: 120px; height: 120px;
  border-radius: 28px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(145deg, rgba(236, 90, 114, 0.35), rgba(192, 40, 63, 0.12));
  border: 1px solid rgba(236, 90, 114, 0.4);
}
.founder h3 { font-size: 1.6rem; margin: 0 0 4px; }
.founder .role { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 18px; }
.founder p { color: var(--muted); }
.founder .links { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.facts div { padding: 26px; border-right: 1px solid var(--border); background: var(--surface); }
.facts div:last-child { border-right: 0; }
.facts dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.facts dd { margin: 0; font-family: var(--font-display); font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-list { display: grid; gap: 14px; margin-top: 32px; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: border-color 0.2s; }
a.info-item:hover { border-color: var(--border-strong); }
.info-item .icon-box { width: 42px; height: 42px; flex-shrink: 0; }
.info-item small { display: block; color: var(--dim); font-size: 0.8rem; }
.info-item strong { font-weight: 500; word-break: break-word; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin: 48px 0 14px; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 14px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent-3); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--dim); }
.toc { padding: 22px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin: 32px 0 8px; }
.toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 6px; font-size: 0.93rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }

/* ---------- Industries marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 10px 20px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); white-space: nowrap; font-size: 0.93rem; background: var(--surface); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 32px; margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(192, 40, 63, 0.04)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { color: var(--dim); font-size: 0.93rem; margin: 18px 0 22px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 0.93rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--dim);
}
.footer-bottom a:hover { color: var(--text); }
.footer-newsletter .inline-form { margin-top: 4px; }
.footer-newsletter .inline-form input { padding: 10px 16px; font-size: 0.9rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.no-js .reveal { opacity: 1; transform: none; }

.hero-anim > * { animation: fadeUp 0.9s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: 0.08s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.16s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.24s; }
.hero-anim > *:nth-child(5) { animation-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 900px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav { display: block; visibility: hidden; }
  .menu-open .mobile-nav { visibility: visible; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .orbit { max-width: 300px; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps.three { grid-template-columns: 1fr; }
  .split .phone-wrap { order: -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .grid-2, .grid-4, .steps, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; }
  .avatar { width: 88px; height: 88px; font-size: 1.8rem; border-radius: 22px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--border); }
  .facts div:last-child { border-bottom: 0; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { justify-content: center; }
  .toc ol { columns: 1; }
  .hero-meta { gap: 20px; }
  .orbit .tag.t2 { left: 0; }
  .card { padding: 24px; }
  .cta-band { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
