
/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #080F1E;
  --navy-2:     #0D1829;
  --navy-3:     #152034;
  --navy-card:  #1A2840;

  --white:      #FAFAFA;
  --off-white:  #F4F3F0;
  --light-grey: #ECEAE6;

  --ink:        #0B1426;
  --ink-2:      #3D4B63;
  --ink-3:      #8A95A8;

  --cloud:      #EEF1F7;
  --cloud-2:    #8895B0;
  --cloud-3:    #4A5A75;

  --purple:     #6B4DE6;
  --purple-2:   #8B6FF0;
  --purple-pale:#EEE9FD;
  --purple-dim: rgba(107,77,230,0.12);

  --amber:      #E8913A;

  --border-l:   rgba(0,0,0,0.08);
  --border-d:   rgba(255,255,255,0.08);

  --display:    'Fraunces', Georgia, serif;
  --body:       'DM Sans', system-ui, sans-serif;

  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── UTILITIES ────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
}

/* ── ANIMATIONS ───────────────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}
@keyframes dashFlow {
  to { stroke-dashoffset: -20; }
}
@keyframes nodeGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(107,77,230,0.3)); }
  50%      { filter: drop-shadow(0 0 12px rgba(107,77,230,0.6)); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }

/* ── FOCUS STATES ─────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── NAV ──────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(8,15,30,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: rgba(8,15,30,0.97);
  box-shadow: 0 1px 0 var(--border-d);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon { height: 28px; width: auto; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 13px;
  color: var(--cloud-2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--cloud); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { display: block; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 11px 24px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border: none;
  white-space: nowrap;
}
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover {
  background: var(--purple-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(107,77,230,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--cloud);
  border: 1px solid var(--border-d);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-l);
}
.btn-outline-dark:hover { background: var(--off-white); }
.btn-white {
  background: #fff;
  color: var(--purple);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--purple-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-lg { font-size: 14px; padding: 14px 28px; }

/* ── HERO ─────────────────────────────────────────── */
#hero-wrap {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#hero-wrap::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107,77,230,0.12) 0%, transparent 70%);
  pointer-events: none;
}
#hero-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-d), transparent);
}

#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 40px 80px;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}
.hero-left { position: relative; z-index: 1; }
.hero-eyebrow {
  animation: heroFadeUp 0.8s var(--ease) 0.1s both;
  margin-bottom: 16px;
  color: rgba(139,111,240,0.8);
}
.hero-h1 {
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cloud);
  animation: heroFadeUp 0.8s var(--ease) 0.25s both;
  margin-bottom: 20px;
}
.hero-h1 em { font-style: italic; font-weight: 300; color: var(--purple-2); }
.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--cloud-2);
  font-weight: 300;
  animation: heroFadeUp 0.8s var(--ease) 0.4s both;
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: heroFadeUp 0.8s var(--ease) 0.55s both;
}

/* Hero visual */
.hero-visual {
  position: relative;
  animation: heroFadeUp 0.8s var(--ease) 0.4s both;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ── TRUST STRIP ──────────────────────────────────── */
#trust {
  background: var(--off-white);
  padding: 52px 0;
  border-bottom: 1px solid var(--border-l);
}
.trust-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.logo-row { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 36px; align-items: center; justify-content: center; }
.logo-row-wide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 24px;
  max-width: 1600px;
  margin: 0 auto 36px;
  padding: 0 32px;
}
.trust-divider { height: 1px; background: var(--border-l); margin: 28px 0; }
.trust-label { text-align: center; }
.platform-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; }
.platform-pill svg { flex-shrink: 0; }

/* Client & platform logo images */
.client-logo {
  height: 88px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.client-logo-wide {
  height: 48px;
  max-width: 160px;
}
.client-logo-sm { height: 72px; max-width: 220px; }
.client-logo-lg { height: 108px; max-width: 320px; }
.client-logo-xs { height: 40px; max-width: 140px; }
.client-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.client-logo-link:hover { opacity: 1; transform: translateY(-1px); }
.client-logo-link:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
  border-radius: 4px;
  opacity: 1;
}

.platform-logo {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
.platform-card {
  background: var(--white);
  border-radius: 10px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 130px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.platform-card .platform-logo {
  height: 40px;
  max-width: 140px;
}
.platform-any {
  border: 1px dashed rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.platform-any:hover { background: rgba(255,255,255,0.04); transform: none; box-shadow: none; }
.integration-any-note {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* Testimonial photo */
.author-photo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple-pale);
  flex-shrink: 0;
}

/* ── SECTIONS ─────────────────────────────────────── */
.section { padding: 96px 0; }
.section-dark { background: var(--navy); color: var(--cloud); }
.section-off { background: var(--off-white); }

.section-heading {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.section-heading em { font-style: italic; font-weight: 300; }
.section-heading-dark { color: var(--cloud); }
.section-heading-dark em { color: var(--purple-2); }

.section-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 600px;
  margin-top: 24px;
}
.section-body-dark { color: var(--cloud-2); }

/* ══════════════════════════════════════════════════════
   DIAGRAM: TECH STACK CHAOS → TOURSYNC
   ══════════════════════════════════════════════════════ */
#stack-diagram { background: var(--white); }

.stack-diagram-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.stack-text-side .section-body p { margin-bottom: 16px; }
.stack-text-side .section-body p:last-child { margin-bottom: 0; }

.stack-transition {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-l);
  font-size: 17px;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.7;
}
.stack-transition strong { color: var(--ink); font-weight: 600; }

/* SVG diagram styles */
.diagram-svg { width: 100%; height: auto; }
.diagram-svg text { font-family: var(--body); }
.sound-familiar-img {
  width: 100%;
  height: auto;
  max-width: 560px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
}

/* ══════════════════════════════════════════════════════
   DIAGRAM: TICKETING INTEGRATION
   ══════════════════════════════════════════════════════ */
#integration { background: var(--navy); overflow: hidden; }

.integration-header { text-align: center; margin-bottom: 56px; }
.integration-header .section-heading { color: var(--cloud); }
.integration-header .section-heading em { color: var(--purple-2); }
.integration-header .section-body {
  color: var(--cloud-2);
  margin: 20px auto 0;
  text-align: center;
  max-width: 560px;
}

.integration-diagram-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.integration-svg { width: 100%; height: auto; }
.integration-svg text { font-family: var(--body); }

/* Animated dashed lines */
.flow-line {
  stroke-dasharray: 8 6;
  animation: dashFlow 1.2s linear infinite;
}

/* ── TIER SELECTOR ────────────────────────────────── */
#tiers { background: var(--off-white); }

.tier-intro-heading {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
}
.tier-intro-sub {
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 300;
  margin-bottom: 44px;
}
.tier-intro-sub strong {
  font-weight: 700;
  color: var(--ink);
}
.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tier-card {
  background: var(--white);
  border: 2px solid var(--border-l);
  border-radius: 12px;
  padding: 28px 24px 32px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.tier-card:hover {
  border-color: var(--purple);
  box-shadow: 0 4px 24px rgba(107,77,230,0.12);
  transform: translateY(-2px);
}
.tier-card.active {
  border-color: var(--purple);
  background: var(--purple-pale);
  box-shadow: 0 4px 24px rgba(107,77,230,0.15);
}

/* Sequential glow to invite a click - stops once a card is selected. */
@keyframes tier-glow-pulse {
  0%, 70%, 100% {
    box-shadow: 0 0 0 0 rgba(107,77,230,0);
    border-color: var(--border-l);
  }
  12% {
    box-shadow: 0 0 0 4px rgba(107,77,230,0.09), 0 4px 22px rgba(107,77,230,0.16);
    border-color: var(--purple-2);
  }
  30% {
    box-shadow: 0 0 0 0 rgba(107,77,230,0);
    border-color: var(--border-l);
  }
}
.tier-cards:not(.tier-cards-engaged) .tier-card {
  animation: tier-glow-pulse 8s var(--ease) infinite;
}
.tier-cards:not(.tier-cards-engaged) .tier-card:nth-child(1) { animation-delay: 0s; }
.tier-cards:not(.tier-cards-engaged) .tier-card:nth-child(2) { animation-delay: 1.2s; }
.tier-cards:not(.tier-cards-engaged) .tier-card:nth-child(3) { animation-delay: 2.4s; }
.tier-cards:not(.tier-cards-engaged) .tier-card:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .tier-cards .tier-card { animation: none !important; }
}

.tier-card.active .tier-card-arrow { color: var(--purple); }
.tier-card-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.tier-card:hover .tier-card-top-bar,
.tier-card.active .tier-card-top-bar { transform: scaleX(1); }
.tier-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--purple-pale);
  border: 1px solid rgba(107,77,230,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--purple);
}
.tier-card.active .tier-icon { background: rgba(107,77,230,0.15); }
.tier-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}
.tier-desc { font-size: 13px; color: var(--ink-3); }
.tier-card-arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  color: var(--light-grey);
  transition: color 0.25s, transform 0.25s;
}
.tier-card:hover .tier-card-arrow { transform: translateY(3px); }

/* ── TIER STORY ───────────────────────────────────── */
.tier-story {
  display: none;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-l);
  margin-top: 16px;
  padding: 56px 56px 64px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  animation: heroFadeUp 0.5s var(--ease) both;
}
.tier-story.active { display: block; }

.story-opener {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 640px;
  padding-left: 20px;
  border-left: 3px solid var(--purple);
  margin-bottom: 52px;
}
.story-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.story-block-eyebrow { margin-bottom: 12px; }
.story-block-h {
  font-family: var(--display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}
.story-block-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
  font-weight: 300;
}
.story-block-body p { margin-bottom: 14px; }
.story-block-body p:last-child { margin-bottom: 0; }
.story-shift-box {
  background: var(--purple-pale);
  border: 1px solid rgba(107,77,230,0.15);
  border-radius: 12px;
  padding: 32px;
}
.story-current-box {
  background: transparent;
  border: 1px solid var(--border-l);
  border-radius: 12px;
  padding: 32px;
}
.story-divider { height: 1px; background: var(--border-l); margin: 40px 0; }
.story-outcomes-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.story-outcomes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 44px;
}
.story-outcome {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--off-white);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.5;
}
.outcome-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--purple-pale);
  border: 1px solid rgba(107,77,230,0.25);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}
.story-pull-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--purple);
  line-height: 1.35;
  padding: 28px 32px;
  background: var(--purple-pale);
  border-radius: 12px;
  border-left: 3px solid var(--purple);
}

/* ── SOCIAL PROOF ─────────────────────────────────── */
#social { background: var(--white); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial {
  background: var(--off-white);
  border: 1px solid var(--border-l);
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  font-weight: 300;
  font-family: var(--display);
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-author a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(107,77,230,0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s, text-decoration-color 0.18s;
}
.testimonial-author a:hover {
  color: var(--purple);
  text-decoration-color: var(--purple);
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--purple-pale);
  border: 1px solid rgba(107,77,230,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 16px;
  color: var(--purple);
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.author-role { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.social-close {
  margin-top: 44px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-3);
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════
   HUMAN PRINCIPLE - visual layout with SVG illustration
   ══════════════════════════════════════════════════════ */
#human { background: var(--off-white); }
.human-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.human-pull {
  background: var(--navy);
  border-radius: 16px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}
.human-pull::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-2));
}
.human-pull-text {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--cloud);
  line-height: 1.5;
}
.human-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}
.human-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border-l);
  border-radius: 10px;
}
.human-point-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--purple-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple);
}
.human-point-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.human-point-desc { font-size: 13px; color: var(--ink-3); font-weight: 300; line-height: 1.5; }

/* ── AI BRAIN ─────────────────────────────────────── */
#brain { background: var(--navy); }

.brain-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.brain-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--cloud-2);
  font-weight: 300;
  margin-top: 24px;
}
.brain-body p { margin-bottom: 18px; }
.brain-body p:last-child { margin-bottom: 0; }

/* AI Brain - real product screenshot */
.brain-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}
.brain-visual-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(139,111,240,0.7);
  font-weight: 600;
  margin-bottom: 14px;
}
.brain-screenshot {
  width: 100%;
  height: auto;
  max-width: 520px;
  border-radius: 12px;
  display: block;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 24px 60px rgba(107,77,230,0.20),
    0 6px 18px rgba(0,0,0,0.25);
}
.brain-visual-caption {
  font-size: 12px;
  color: rgba(139,111,240,0.6);
  font-style: italic;
  text-align: center;
  margin-top: 14px;
  max-width: 520px;
}

.brain-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 52px;
}
.brain-pillar {
  background: var(--navy-3);
  border: 1px solid var(--border-d);
  border-radius: 12px;
  padding: 24px 22px 28px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.brain-pillar:hover {
  border-color: rgba(107,77,230,0.4);
  background: var(--navy-card);
}
.pillar-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--purple-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--purple-2);
}
.pillar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--cloud);
  margin-bottom: 8px;
}
.pillar-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--cloud-2);
  font-weight: 400;
}

.brain-pull {
  margin-top: 52px;
  padding: 32px 36px;
  background: var(--navy-card);
  border: 1px solid var(--border-d);
  border-left: 3px solid var(--purple);
  border-radius: 0 12px 12px 0;
}
.brain-pull-text {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--purple-2);
  line-height: 1.5;
}

/* ── STEPS ────────────────────────────────────────── */
#steps { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}
.step { position: relative; padding-top: 8px; display: flex; flex-direction: column; }
.step .btn { margin-top: auto !important; }
.step-line {
  position: absolute;
  top: 28px;
  left: calc(100% - 12px);
  width: calc(100% - 48px);
  height: 1px;
  background: linear-gradient(90deg, var(--purple), transparent);
}
.step:last-child .step-line { display: none; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--purple-pale);
  border: 1px solid rgba(107,77,230,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 20px;
  color: var(--purple);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.step-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}
.step-optional {
  font-family: var(--body);
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--off-white);
  border: 1px solid var(--border-l);
  border-radius: 999px;
  padding: 3px 9px;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}
.step-timing {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.step-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
  font-weight: 300;
}
.steps-close {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
  font-style: italic;
}

/* ── REPLACE THE STACK ────────────────────────────── */
#replace { background: var(--off-white); }
.replace-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 560px;
  margin-top: 20px;
  margin-bottom: 44px;
}
.replace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}
.replace-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border-l);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 400;
  transition: border-color 0.2s;
}
.replace-item:hover { border-color: rgba(107,77,230,0.3); }
.replace-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--purple-pale);
  border: 1px solid rgba(107,77,230,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple);
}
.replace-note {
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
  padding-top: 20px;
  border-top: 1px solid var(--border-l);
  margin-bottom: 24px;
}
.replace-closing { font-size: 17px; font-weight: 500; color: var(--ink); }

/* ── PRICING ──────────────────────────────────────── */
#pricing { background: var(--navy); }
.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.pricing-from {
  font-family: var(--display);
  font-size: 80px;
  font-weight: 300;
  color: var(--purple-2);
  line-height: 1;
  margin: 20px 0 4px;
}
.pricing-from span {
  font-size: 24px;
  color: var(--cloud-3);
  font-family: var(--body);
}
.pricing-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--cloud-2);
  font-weight: 300;
  margin: 16px 0 0;
}
.pricing-body p { margin-bottom: 14px; }
.audit-box {
  background: var(--navy-card);
  border: 1px solid var(--border-d);
  border-radius: 12px;
  padding: 28px 28px 32px;
  position: relative;
  overflow: hidden;
}
.audit-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), transparent);
}
.audit-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 10px;
}
.audit-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--cloud-2);
  font-weight: 300;
  margin-bottom: 20px;
}
.pricing-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.cmp-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid rgba(20,20,40,0.08); border-radius: 12px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.cmp-table th, .cmp-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid rgba(20,20,40,0.07); vertical-align: top; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: none; }
.cmp-table thead th { font-family: var(--body); font-weight: 600; color: var(--ink); background: var(--purple-pale); font-size: 13px; }
.cmp-table tbody th { font-weight: 600; color: var(--ink-2); }
.cmp-table td { color: var(--ink-2); }
.cmp-table .cmp-ours { background: rgba(107,77,230,0.055); color: var(--ink); }
.cmp-table thead .cmp-ours { background: var(--purple); color: #fff; }

/* ── CTA ──────────────────────────────────────────── */
#cta {
  background: var(--purple);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-heading {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}
.cta-heading em { font-style: italic; font-weight: 300; }
.cta-sub {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 40px;
  position: relative;
}
.cta-note {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  position: relative;
}

/* ── FOOTER ───────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border-d);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cloud-2);
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link {
  font-size: 13px;
  color: var(--cloud-3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--cloud-2); }
.footer-copy { font-size: 12px; color: var(--cloud-3); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 820px) {
  .container { padding: 0 24px; }
  #nav { padding: 0 24px; }

  .nav-right .nav-link { display: none; } nav#nav .nav-right .btn { font-size: 12px; padding: 8px 12px; gap: 5px; }
  .nav-toggle { display: block; }

  #hero {
    grid-template-columns: 1fr;
    padding: 104px 24px 56px;
    gap: 32px;
    min-height: 0;
  }
  .hero-visual { display: none; }
  .hero-h1 { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 24px; }
  .hero-actions { flex-wrap: wrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 220px; justify-content: center; height: 38px; padding: 0 18px; font-size: 13px; line-height: 1; }

  .logo-row-wide { gap: 14px 18px; padding: 0 20px; }
  .client-logo { height: 64px; max-width: 200px; }
  .client-logo-sm { height: 52px; max-width: 160px; }
  .client-logo-lg { height: 80px; max-width: 240px; }
  .client-logo-wide { height: 36px; max-width: 120px; }
  .client-logo-xs { height: 30px; max-width: 100px; }

  .stack-diagram-wrap { grid-template-columns: 1fr; gap: 40px; }

  .integration-diagram-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .integration-svg { min-width: 600px; }

  .tier-cards { grid-template-columns: 1fr; }
  .story-cols { grid-template-columns: 1fr; gap: 32px; }
  .story-outcomes { grid-template-columns: 1fr; }
  .tier-story { padding: 32px 24px; }

  .testimonial-grid { grid-template-columns: 1fr; }

  .human-grid { grid-template-columns: 1fr; gap: 40px; }

  .brain-intro { grid-template-columns: 1fr; gap: 40px; }
  .brain-pillars { grid-template-columns: repeat(2, 1fr); }
  .brain-visual { order: -1; }

  .steps-grid { grid-template-columns: 1fr; }
  .step-line { display: none; }

  .replace-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-wrap { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .replace-grid { grid-template-columns: 1fr; }
  .brain-pillars { grid-template-columns: 1fr; }

  #trust { padding: 36px 0 28px; }
  .logo-row-wide { gap: 10px 12px; padding: 0 14px; margin-bottom: 0; }
  .client-logo { height: 44px; max-width: 136px; }
  .client-logo-sm { height: 36px; max-width: 114px; }
  .client-logo-lg { height: 56px; max-width: 172px; }
  .client-logo-wide { height: 27px; max-width: 88px; }
  .client-logo-xs { height: 23px; max-width: 78px; }

  #hero { padding: 96px 20px 48px; gap: 28px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-actions .btn { flex: 0 0 auto; width: 100%; height: 36px; padding: 0 14px; font-size: 13px; line-height: 1; }
}

/* ── BOOKING MODAL ────────────────────────────────── */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(8, 15, 30, 0.85);
  overflow-y: auto;
}
.booking-modal.open { display: flex; }
.booking-modal-panel {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #EEF1FA;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.booking-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(107, 77, 230, 0.18);
  background: var(--white);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s, color 0.15s;
}
.booking-modal-close:hover { background: var(--purple-pale); color: var(--purple); }
.booking-modal-header {
  padding: 36px 40px 24px;
}
.booking-modal-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.booking-modal-heading {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
  padding-right: 36px;
}
.booking-modal-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 640px;
}
@media (max-width: 600px) {
  .booking-modal-header { padding: 28px 22px 20px; }
}
.booking-modal-body {
  position: relative;
  min-height: 600px;
  background: #EEF1FA;
  font-size: 0;
}
.booking-modal-body.loaded { min-height: 0; }
.booking-modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-3);
}
.booking-modal-body.loaded .booking-modal-loading { display: none; }
.booking-modal-frame {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
}
body.booking-open { overflow: hidden; }

@media (max-width: 600px) {
  .booking-modal { padding: 12px; }
  .booking-modal-panel { border-radius: 12px; }
  .booking-modal-body { min-height: 80vh; }
}

.hcta{display:inline-flex;flex-direction:column;align-items:center;line-height:1.15;text-align:center}.hcta-main{font-size:15px;font-weight:600;white-space:nowrap}.hcta-sub{font-size:11px;font-weight:400;opacity:.85;text-transform:none;letter-spacing:0;white-space:nowrap}@media (max-width:900px){.nav-right .nav-link{display:none}nav#nav .hcta-main{font-size:13px}nav#nav .hcta-sub{font-size:10px}}
nav#nav .btn{flex-wrap:nowrap}nav#nav .btn>svg{flex:0 0 auto;align-self:center}

/* ── WHAT DOES TOURSYNC DO — category grid ────────── */
.do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.do-cat {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--border-l);
  border-radius: 16px;
}
.do-cat h3 {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-l);
}
.do-cat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.do-cat li { font-size: 14.5px; color: var(--ink-2); font-weight: 300; line-height: 1.5; }
.do-cat li a { color: var(--purple); font-weight: 400; }
@media (max-width: 920px) { .do-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .do-grid { grid-template-columns: 1fr; } }

/* homepage FAQ */
.faq-item { border-top: 1px solid var(--border-l); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border-l); }
.faq-q { font-family: var(--body); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.faq-a { font-size: 15px; line-height: 1.75; color: var(--ink-2); font-weight: 300; }
.faq-a a { color: var(--purple); font-weight: 400; }

.story-setup { margin-top: 20px; padding: 14px 18px; background: var(--purple-pale); border: 1px solid rgba(107,77,230,0.18); border-radius: 12px; font-size: 14.5px; color: var(--ink-2); font-weight: 400; }
.story-setup strong { color: var(--purple); font-weight: 600; }
.story-setup a { color: var(--purple); font-weight: 500; }
