/* ============================================================
   pulse. landing — non-critical CSS
   Above-the-fold styles (reset, fonts, :root, nav, hero, hero
   dashboard, card-stack) stay inline in index.html so first paint
   never waits on this file. Everything from the integrations belt
   down lives here and loads via <link rel="preload"> + <link
   rel="stylesheet"> to keep the served HTML small enough for LLM
   content extractors to reach the body.
   ============================================================ */

/* ── INTEGRATION HUB ───────────────────────────────────────── */
.integrations {
  padding: 48px 0 56px;
  background: transparent;
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.integrations-label {
  text-align: center; font-size: 0.95rem; font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}
/* ── INTEGRATION MARQUEE ────────────────────────────────────── */
.marquee {
  overflow: hidden; position: relative;
  /* LogoLoop-style edge fade: chips dissolve into the bg at both ends */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 18s linear infinite;
}
/* Pause the whole belt while the pointer is over the strip */
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-content {
  display: flex; align-items: flex-end; gap: 72px; padding-right: 72px;
  flex-shrink: 0;
}
/* Logo above brand label. gap/padding matched so the loop stays even across the seam. */
.api-chip {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; flex-shrink: 0;
}
.api-label {
  font-size: 0.95rem; font-weight: 600; color: #c9cdd6;
  white-space: nowrap; letter-spacing: -0.01em; transition: color 0.25s ease;
}
.api-chip:hover .api-label { color: #fff; }
.api-chip img {
  height: 54px; width: auto; max-width: none; display: block; object-fit: contain;
  /* Dark-mode: desaturate to a monochrome mark but keep tonal separation
     (grayscale, not pure white) so multi-shape logos stay readable, and
     brighten so darker brand colours still show on the dark bg. */
  filter: grayscale(1) brightness(1.45);
  opacity: 0.72;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
/* RG (RateGain) and O (Opera) come from the favicon service as low-contrast
   placeholders — bump brightness + opacity so they read at the same visual
   weight as the other marks in the strip. */
.api-chip img.logo-opera {
  filter: grayscale(1) brightness(3);
  opacity: 0.95;
}
/* RG's strokes are thinner than the O — push contrast + brightness harder. */
.api-chip img.logo-rategain {
  filter: grayscale(1) brightness(4) contrast(1.4);
  opacity: 1;
}
/* Real brand colours return on hover */
.api-chip:hover img { opacity: 1; filter: none; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ── SECTION SHARED ────────────────────────────────────────── */
.section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.04em; color: #fff;
  line-height: 1.08; margin-bottom: 16px;
  position: relative; isolation: isolate;
}
/* Soft ambient glow anchored behind every section heading */
.section-h2::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 220px;
  background: radial-gradient(ellipse at center, rgba(107,122,232,0.1) 0%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}
.section-sub {
  font-size: 0.95rem; color: var(--muted); line-height: 1.7;
  letter-spacing: -0.01em; max-width: 480px;
}

/* ── COLLAPSIBLE INFO CARDS (shared by Problem / Categories / Outcomes / Use Cases / Security) ── */
/* "Dark veil" card bg: translucent + blurred so the silk canvas drifts through instead of flat black, plus a faint animated grain layer for texture. */
.info-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(107,122,232,0.14) 0%, rgba(15,16,22,0.88) 45%, rgba(8,8,12,0.92) 100%);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
}
.info-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
  z-index: 2;
}
.info-card:hover::before { transform: scaleX(1); }
.info-card::after {
  content: '';
  /* Extend past card edges so translate keeps the pattern coverage; parent clips via overflow: hidden. */
  position: absolute; inset: -160px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='250' height='250'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='250' height='250' filter='url(%23g)'/></svg>");
  background-size: 160px 160px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  /* Animate via transform (GPU-compositor thread) instead of background-position (main-thread repaint). */
  animation: veil-drift 16s linear infinite;
  will-change: transform;
}
@keyframes veil-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(160px, 160px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .info-card::after { animation: none; }
}

.info-teaser {
  font-size: 0.86rem; font-weight: 600; color: #fff;
  line-height: 1.55; letter-spacing: -0.01em;
  border-left: 2px solid var(--accent);
  padding-left: 14px; margin: 14px 0 16px;
}
.info-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 0;
  font-family: 'DM Sans', sans-serif; font-size: 0.76rem; font-weight: 600;
  color: var(--accent); cursor: pointer; letter-spacing: -0.01em;
  transition: gap 0.2s ease, color 0.2s ease;
}
.info-toggle:hover { gap: 9px; color: #fff; }
.info-chev {
  width: 13px; height: 13px; stroke: currentColor; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s;
}
.info-toggle[aria-expanded="true"] .info-chev { transform: rotate(180deg); }
.info-detail { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.22,1,0.36,1); }
.info-detail-body { padding-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .info-card::before { transition: none; }
  .info-detail { transition: none; }
}

/* ── PROBLEM ────────────────────────────────────────────────── */
.problem { padding: 64px 0; background: transparent; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.problem-card {
  border: 1px solid rgba(255,255,255,0.16); border-radius: 16px; padding: 32px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 2px 6px rgba(0,0,0,0.28), 0 6px 18px rgba(0,0,0,0.15);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover { border-color: rgba(107,122,232,0.55); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 4px 12px rgba(0,0,0,0.35), 0 12px 28px rgba(0,0,0,0.2); }
.problem-who { position: relative; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; padding-left: 14px; }
.problem-who::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px rgba(107,122,232,0.7);
}
.problem-card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0; line-height: 1.35; letter-spacing: -0.02em; }
.problem-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.65; letter-spacing: -0.01em; }

/* ── WHAT IS PULSE (Fold 5) ──────────────────────────────────── */
.product { padding: 40px 0; background: transparent; }
.bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-auto-rows: auto;
  gap: 14px;
  margin-top: 24px;
}
/* Home tile: left column, spans both rows (1+2 bento layout) */
.bento-tile-large {
  grid-column: 1;
  grid-row: 1 / span 2;
}
/* Home media grows to fill; content stays natural size at bottom */
.bento-tile-large .bento-media {
  aspect-ratio: unset;
  flex: 1;
  min-height: 140px;
}
.bento-tile-large .bento-content {
  flex: 0 0 auto;   /* don't stretch — sits at natural size below the growing media */
}

.bento-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset,
              0 2px 8px rgba(0,0,0,0.32),
              0 8px 24px rgba(0,0,0,0.18);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.3s cubic-bezier(0.22,1,0.36,1),
              border-color 0.3s cubic-bezier(0.22,1,0.36,1);
}
.bento-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(107,122,232,0.32);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07) inset,
              0 0 0 1px rgba(107,122,232,0.22),
              0 12px 40px rgba(107,122,232,0.10),
              0 4px 16px rgba(0,0,0,0.5);
}

/* Preview media — dashboard screenshots (bumped aspect for image visibility) */
.bento-media {
  position: relative;
  aspect-ratio: 2 / 1;
  background-color: #161616;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(255,255,255,0.025) 23px, rgba(255,255,255,0.025) 24px),
    repeating-linear-gradient(90deg, transparent, transparent 55px, rgba(255,255,255,0.025) 55px, rgba(255,255,255,0.025) 56px),
    radial-gradient(ellipse at 28% 38%, rgba(107,122,232,0.10) 0%, transparent 58%);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.bento-media-label {
  position: absolute;
  bottom: 12px; left: 16px;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  user-select: none;
}
/* Real dashboard image — fills the media area, anchored top-LEFT so the sidebar is always visible when horizontal crop happens */
.bento-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}

.bento-content {
  padding: 16px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.bento-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  background: rgba(107,122,232,0.10);
  border: 1px solid rgba(107,122,232,0.22);
  flex-shrink: 0;
}
.bento-icon svg {
  width: 14px; height: 14px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.bento-chip {
  align-self: flex-start;
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 100px;
  background: rgba(107,122,232,0.12);
  border: 1px solid rgba(107,122,232,0.22);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.bento-title {
  font-size: 1rem; font-weight: 700;
  color: #fff; letter-spacing: -0.025em; margin: 0;
  line-height: 1.2;
}
.bento-tile-large .bento-title { font-size: 1.2rem; }
.bento-body {
  font-size: 0.82rem; color: var(--muted);
  line-height: 1.55; letter-spacing: -0.01em; margin: 0;
}
/* Suite sub-items — dot-separated inline list, muted */
.bento-suite-items {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.005em;
  line-height: 1.6;
  margin: 4px 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .bento-tile { transition: none !important; }
}
@media (max-width: 700px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-tile-large { grid-column: 1; grid-row: auto; }
  .bento-tile-large .bento-media {
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    min-height: 0;
  }
  .product { padding: 40px 0 48px; }
}

/* ── WHY PULSE (Fold 6) ────────────────────────────────────── */
.why-pulse { padding: 64px 0; background: transparent; }
/* 6-column grid so cards can span 2 cols each and row 2 centers cleanly */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.pillar-card {
  grid-column: span 2;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset,
              0 2px 6px rgba(0,0,0,0.28),
              0 6px 18px rgba(0,0,0,0.15);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pillar-card:hover {
  border-color: rgba(107,122,232,0.55);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset,
              0 4px 12px rgba(0,0,0,0.35),
              0 12px 28px rgba(0,0,0,0.2);
}
/* Row 2 — center cards 4 and 5 within the 6-col grid */
.pillar-card:nth-child(4) { grid-column: 2 / span 2; }
.pillar-card:nth-child(5) { grid-column: 4 / span 2; }

.pillar-who {
  position: relative;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
  padding-left: 14px;
}
.pillar-who::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(107,122,232,0.7);
}
.pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
/* Pillar body — regular weight + muted color; less prominent than Problem teasers so the H3 stays the focal point */
.pillar-card .info-teaser {
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-card,
  .pillar-card:nth-child(4),
  .pillar-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 700px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .why-pulse { padding: 40px 0; }
}

/* ── HOW STEPS (Fold 7 — 3 cards above canvas) ─────────────── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.how-step {
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset,
              0 2px 6px rgba(0,0,0,0.28),
              0 6px 18px rgba(0,0,0,0.15);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.how-step:hover {
  border-color: rgba(107,122,232,0.55);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset,
              0 4px 12px rgba(0,0,0,0.35),
              0 12px 28px rgba(0,0,0,0.2);
}
.how-step-eyebrow {
  position: relative;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
  padding-left: 14px;
}
.how-step-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(107,122,232,0.7);
}
.how-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.how-step .info-teaser {
  font-weight: 400;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .how-steps { grid-template-columns: 1fr; }
}

.flow-diagram {
  margin-top: 64px; padding: 40px 32px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; text-align: center;
}
.flow-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.flow-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; max-width: 900px; margin: 0 auto; }
.flow-side { display: flex; flex-direction: column; gap: 10px; }
.flow-tag {
  padding: 10px 16px; border-radius: 10px; background: #1c1c1c; border: 1px solid var(--border);
  font-size: 0.83rem; font-weight: 500; color: #fff; text-align: left; letter-spacing: -0.01em;
  transition: border-color 0.2s, transform 0.2s;
}
.flow-tag:hover { border-color: rgba(107,122,232,0.5); transform: translateX(4px); }
.flow-tag .tiny { display: block; font-size: 0.68rem; color: var(--dim); margin-top: 2px; letter-spacing: 0.02em; }
.flow-arrow { color: var(--accent); font-size: 28px; font-weight: 700; animation: flow-arrow-pulse 2.4s ease-in-out infinite; }
@keyframes flow-arrow-pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.flow-brain {
  position: relative; overflow: hidden;
  padding: 24px 26px; border-radius: 14px; background: #111; border: 1px solid rgba(107,122,232,0.3);
  text-align: left;
}
.flow-brain::before {
  content: ''; position: absolute; inset: -50%;
  background: radial-gradient(circle, rgba(107,122,232,0.28) 0%, transparent 70%);
  animation: flow-brain-pulse 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes flow-brain-pulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
.flow-brain-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.flow-brain .lbl { font-size: 0.65rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.flow-brain .name { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.flow-brain .name .dot { color: var(--accent); }
.flow-brain .desc { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  .flow-arrow, .flow-brain::before { animation: none; }
}

/* ── OUTCOMES ───────────────────────────────────────────────── */
.outcomes { padding: 56px 0; background: transparent; }

/* ── Signal convergence flow (Every signal → Pulse → Every decision) ── */
.signal-flow {
  position: relative; margin-top: 32px;
  height: 320px; border-radius: 16px; overflow: hidden;
}
#signal-canvas { display: block; width: 100%; height: 100%; }
.signal-zone {
  position: absolute; bottom: 14px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; white-space: nowrap; pointer-events: none;
}
.signal-zone-l { left: 20px; color: rgba(150,165,245,0.75); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { padding: 72px 0; background: transparent; }
.faq-inner { display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: start; }
.faq-sticky { position: sticky; top: 80px; }
.faq-h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 14px; }
.faq-sub { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 20px; letter-spacing: -0.01em; }
.faq-contact {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
}
.faq-contact:hover { text-decoration: underline; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.2s, border-color 0.2s;
}
.faq-item:hover { background: rgba(255,255,255,0.07); border-color: var(--border-bright); }
.faq-btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 20px 24px; background: none; border: none;
  font-size: 0.92rem; font-weight: 600; color: #fff;
  text-align: left; cursor: pointer; letter-spacing: -0.01em;
  transition: color 0.15s;
}
.faq-btn:hover { color: var(--accent); }
.faq-chev { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s; }
.faq-btn[aria-expanded="true"] .faq-chev { transform: rotate(180deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-body { padding: 0 24px 20px; font-size: 0.88rem; color: var(--muted); line-height: 1.75; letter-spacing: -0.01em; }

/* ── WAITLIST CTA ───────────────────────────────────────────── */
.cta-section {
  padding: 72px 0; text-align: center;
  background: transparent;
  border-top: none;
  position: relative; z-index: 1;
}
.cta-inner { position: relative; z-index: 1; }
.cta-h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1.05; margin-bottom: 16px; }
.cta-sub { font-size: 1rem; color: var(--muted); max-width: 440px; margin: 0 auto 40px; line-height: 1.65; letter-spacing: -0.01em; }
.cta-form {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #1c1c1c; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; padding: 6px 6px 6px 24px;
  max-width: 440px; margin: 0 auto 16px;
}
.cta-input {
  flex: 1; background: none; border: none; outline: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: #fff; letter-spacing: -0.01em;
}
.cta-input::placeholder { color: var(--dim); }
.cta-submit {
  padding: 10px 22px; border-radius: 100px;
  background: var(--accent); color: #fff; font-weight: 700;
  font-size: 0.86rem; border: none; transition: opacity 0.15s;
  white-space: nowrap; letter-spacing: -0.01em;
}
.cta-submit:hover { opacity: 0.88; }
.cta-submit-solo { display: inline-block; padding: 15px 34px; font-size: 0.95rem; margin: 0 auto 16px; }
.cta-note { font-size: 0.78rem; color: var(--dim); letter-spacing: -0.01em; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer { padding: 64px 0 40px; background: #0e0e0e; }
.footer-top { display: grid; grid-template-columns: 240px repeat(3, 1fr); gap: 40px; margin-bottom: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-row { display: flex; align-items: center; }
.footer-logo-row img { height: 28px; width: auto; display: block; }
.footer-tagline { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.footer-chips { display: flex; gap: 8px; margin-top: 4px; }
.footer-chip {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.footer-chip:hover { background: rgba(255,255,255,0.14); color: #fff; }
.footer-chip svg { width: 16px; height: 16px; display: block; }
.footer-col-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.84rem; color: var(--muted); transition: color 0.15s; letter-spacing: -0.01em; }
.footer-link:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.78rem; color: var(--dim); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal-link { font-size: 0.78rem; color: var(--dim); transition: color 0.15s; }
.footer-legal-link:hover { color: var(--muted); }

/* ── Reveal ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(10px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1), filter 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }

/* Word-by-word scroll reveal for section headings (React Bits "ScrollReveal" style) */
.sr-word { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(0.35em); transition: opacity 0.5s ease, filter 0.5s ease, transform 0.55s cubic-bezier(0.22,1,0.36,1); }
.sr-in .sr-word { opacity: 1; filter: blur(0); transform: none; }
@media (prefers-reduced-motion: reduce) { .sr-word { opacity: 1; filter: none; transform: none; transition: none; } }

/* Stagger grid: children hidden, cascade in when parent observed */
.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),
              transform 0.55s cubic-bezier(0.22,1,0.36,1),
              filter 0.55s cubic-bezier(0.22,1,0.36,1);
}
.stagger.visible > *:nth-child(1)  { opacity:1; transform:none; transition-delay:  0ms; }
.stagger.visible > *:nth-child(2)  { opacity:1; transform:none; transition-delay: 75ms; }
.stagger.visible > *:nth-child(3)  { opacity:1; transform:none; transition-delay:150ms; }
.stagger.visible > *:nth-child(4)  { opacity:1; transform:none; transition-delay:225ms; }
.stagger.visible > *:nth-child(5)  { opacity:1; transform:none; transition-delay:300ms; }
.stagger.visible > *:nth-child(6)  { opacity:1; transform:none; transition-delay:375ms; }
.stagger.visible > *:nth-child(7)  { opacity:1; transform:none; transition-delay:450ms; }
.stagger.visible > *:nth-child(8)  { opacity:1; transform:none; transition-delay:525ms; }
.stagger.visible > *:nth-child(9)  { opacity:1; transform:none; transition-delay:600ms; }
.stagger.visible > *:nth-child(10) { opacity:1; transform:none; transition-delay:675ms; }
.stagger.visible > *:nth-child(11) { opacity:1; transform:none; transition-delay:750ms; }
.stagger.visible > * { filter: blur(0); }


@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity:1; transform:none; filter:none; transition:none; }
  .problem-card:hover { transform: none !important; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; padding: 0 40px; }
  .hero-dashboard-wrap { padding: 24px 8px 48px; }
  .problem-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 700px) {
  /* ── Overflow safeguard ─────────────────────────────────── */
  html { overflow-x: hidden; }
  body { overflow-x: hidden; }

  /* ── Nav: drop the centered links, show hamburger, tighten CTA ── */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; align-items: center; }
  .nav-inner { padding: 0 20px; }
  .nav-cta { padding: 7px 14px; font-size: 0.78rem; }

  /* ── Hero layout ────────────────────────────────────────── */
  /* Push the hero content down from the fixed nav so it isn't hugging the top */
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-inner { padding: 0 24px; }
  .hero-dashboard-wrap { padding: 16px 0 40px; }

  /* Hero H1: responsive floor so it fits at 360px */
  .hero-h1 {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem);
    overflow-wrap: break-word;
  }

  /* Hero CTA row: stack full-width on mobile */
  .hero-cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta-primary, .hero-cta-secondary { width: 100%; text-align: center; }

  /* Dashboard frame must not exceed viewport */
  .tilt-stage { max-width: 100%; overflow: hidden; }

  /* ── Grids ──────────────────────────────────────────────── */
  .signal-flow { height: 240px; margin-top: 32px; }
  .signal-zone { font-size: 0.55rem; letter-spacing: 0.1em; bottom: 10px; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-sticky { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  /* ── Section heading glow: remove 520px absolute pseudo on mobile ── */
  .section-h2::before { display: none; }

  /* ── Allow all headings to wrap naturally ───────────────── */
  .hero-h1, .section-h2, .faq-h2, .cta-h2 { overflow-wrap: break-word; }

  /* ── CTA form ───────────────────────────────────────────── */
  .cta-form { flex-direction: column; border-radius: 12px; padding: 12px; }
  .cta-input { width: 100%; }
  .cta-submit { width: 100%; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .blob-orbit-1, .blob-orbit-2, .blob-orbit-3 { animation: none; }
}

/* ── Cursor glow ────────────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,122,232,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  display: none; /* shown by JS only on non-touch, non-reduced-motion */
}

/* ── WAITLIST MODAL ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 520px;
  max-height: 92svh; overflow-y: auto;
  padding: 40px 36px 32px;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
  scrollbar-width: thin; scrollbar-color: #ddd #f5f5f5;
}
.modal-overlay.open .modal { transform: none; }

.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: none; border: none;
  display: flex; align-items: center; justify-content: center;
  color: #999; cursor: pointer; transition: color 0.15s, background 0.15s;
}
.modal-close:hover { background: #f0f0f0; color: #333; }
.modal-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }

.modal-title {
  text-align: center; font-size: 1.75rem; font-weight: 800;
  color: #111; letter-spacing: -0.04em; margin-bottom: 6px;
}
.modal-sub {
  text-align: center; font-size: 0.88rem; color: #888;
  margin-bottom: 28px; letter-spacing: -0.01em;
}

.modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.modal-field { margin-bottom: 10px; }

.modal-input, .modal-select {
  width: 100%; padding: 15px 20px;
  background: #f4f4f4; border: 1.5px solid transparent;
  border-radius: 100px; outline: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: #111; letter-spacing: -0.01em;
  transition: border-color 0.15s, background 0.15s;
  appearance: none; -webkit-appearance: none;
}
/* Textarea override — needs non-pill shape + auto height */
.modal-textarea {
  padding: 14px 20px;
  border-radius: 18px;
  min-height: 80px;
  line-height: 1.5;
  resize: vertical;
}
.modal-input::placeholder { color: #aaa; }
.modal-input:focus, .modal-select:focus { border-color: #6b7ae8; background: #fff; }
.modal-input.error, .modal-select.error { border-color: #ef4444; }

.modal-label-req {
  display: flex; align-items: baseline; gap: 1px;
}
.modal-req { color: #ef4444; font-size: 0.7rem; margin-left: 1px; }

.modal-select-wrap { position: relative; }
.modal-select-wrap::after {
  content: ''; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-top-color: #aaa; margin-top: 3px;
  pointer-events: none;
}
.modal-select { cursor: pointer; padding-right: 40px; }

/* Phone row */
.modal-phone-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-bottom: 10px; }
.modal-phone-code-wrap { position: relative; }
.modal-phone-code-wrap::after {
  content: ''; position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-top-color: #aaa; margin-top: 3px;
  pointer-events: none;
}
.modal-phone-code {
  padding: 15px 36px 15px 16px; width: auto;
  background: #f4f4f4; border: 1.5px solid transparent;
  border-radius: 100px; outline: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: #111; letter-spacing: -0.01em;
  appearance: none; -webkit-appearance: none;
  cursor: pointer; white-space: nowrap;
  transition: border-color 0.15s;
}
.modal-phone-code:focus { border-color: #6b7ae8; background: #fff; }

.modal-submit {
  width: 100%; padding: 16px; border-radius: 100px;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 1rem;
  border: none; margin-top: 20px;
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.15s;
}
.modal-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.modal-submit:active { transform: none; }

/* Consent line — GDPR/DPA + Google/Meta OAuth-review requirement. Small,
   muted, non-blocking. Links point to /privacy + /terms on the landing site.
   If the pages migrate to dhihospitality.com later, patch the hrefs here. */
.modal-consent {
  margin: 12px 0 0; padding: 0 4px;
  font-size: 0.72rem; line-height: 1.5;
  color: var(--dim); text-align: center;
  letter-spacing: -0.005em;
}
.modal-consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.modal-consent a:hover { color: var(--accent); }

.modal-success {
  text-align: center; padding: 20px 0 10px;
}
.modal-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(107,122,232,0.12); border: 2px solid #6b7ae8;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.modal-success-icon svg { width: 26px; height: 26px; stroke: #6b7ae8; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.modal-success h3 { font-size: 1.4rem; font-weight: 800; color: #111; letter-spacing: -0.03em; margin-bottom: 8px; }
.modal-success p { font-size: 0.9rem; color: #888; line-height: 1.65; letter-spacing: -0.01em; }

@media (max-width: 540px) {
  .modal { padding: 32px 20px 24px; border-radius: 16px; }
  .modal-row { grid-template-columns: 1fr; }
  .modal-title { font-size: 1.4rem; }
}

/* Waitlist CTAs keep the deep brand blue (~12.6:1 vs white — WCAG AAA); the lighter
   accent is for everything else. Hero primary included so it matches nav-cta contrast. */
.nav-cta, .cta-submit, .modal-submit, .hero-cta-primary { background: #1b2a9e; border-color: #1b2a9e; }
