/* ───────────────────────────────────────────────────────
   AITEAM-X landing — Studio Dark
   Color tokens & type lifted from the product styleguide
   (public/logo-preview.html)
   ─────────────────────────────────────────────────────── */

:root {
  /* surfaces */
  --bg:        #161619;
  --bg-2:      #0f0f11;
  --bg-3:      #222239;
  --card:      #1c1c22;
  --card-hi:   #25252e;

  /* borders */
  --border:    #2d3050;
  --border-hi: #3a3f5e;

  /* text */
  --text:      #FFFFFF;
  --text-70:   rgba(255, 255, 255, 0.7);
  --muted:     #B8BCC8;
  --dim:       rgba(255, 255, 255, 0.4);
  --whisper:   rgba(255, 255, 255, 0.2);

  /* accent */
  --accent:        #FF5315;
  --accent-rgb:    255 83 21;
  --accent-hover:  #ff6b33;
  --accent-soft:   rgb(var(--accent-rgb) / 0.12);
  --accent-glow:   rgb(var(--accent-rgb) / 0.32);
  --accent-border: rgb(var(--accent-rgb) / 0.6);

  /* aurora gradient top — one-off used by .aurora radial */
  --bg-aurora-top: #1A1A26;

  /* status (matches the app sidebar) */
  --core:    #FFAA33;
  --product: #FF6BB5;
  --gamedev: #4AD1B7;
  --social:  #FF8C42;
  --danger:  #FF5C7A;

  /* type */
  --font: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* layout */
  --maxw: 1180px;
  --r-sm: 4px;
  --r:    6px;
  --r-md: 10px;
  --r-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ───────── selection ───────── */
::selection { background: var(--accent); color: var(--bg); }

/* ───────── container ───────── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ───────── helpers ───────── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 640px;
  margin-bottom: 3rem;
}

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

/* ───────── wordmark ───────── */
.wordmark {
  display: inline-flex;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1;
  white-space: nowrap;
}
.wordmark .ai   { color: var(--accent); }
.wordmark .team { color: var(--text); }
.wordmark .dash { color: var(--whisper); }
.wordmark .x    { color: var(--accent); }

.wordmark.sm  { font-size: 22px; letter-spacing: -0.5px; }
.wordmark.xs  { font-size: 14px; letter-spacing: -0.3px; }
.wordmark.lg  { font-size: 56px; letter-spacing: -2px; }

.wordmark.muted-team .team { color: var(--text-70); }

/* ───────── nav ───────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 100;
  background: rgba(15, 15, 17, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.nav-mark {
  width: 26px; height: 26px;
  background: var(--bg-2);
  border: 1.5px solid var(--accent-border);
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: -0.5px;
  color: var(--accent);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color .18s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: .55rem 1rem;
  border-radius: var(--r);
  font-weight: 700 !important;
  font-size: 12.5px !important;
  transition: background .15s ease, transform .15s ease;
  box-shadow: 0 6px 18px var(--accent-glow);
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r);
  width: 36px; height: 32px;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ───────── buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.25rem;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
  letter-spacing: -0.1px;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 6px 22px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--card);
  border-color: var(--border-hi);
}
.btn-lg { padding: .85rem 1.5rem; font-size: 14.5px; }
.btn-xl { padding: 1rem 1.85rem; font-size: 15px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ───────── hero ───────── */
.hero {
  position: relative;
  padding: 8rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1100px 500px at 50% 0%, rgb(var(--accent-rgb) / 0.18), transparent 60%),
    radial-gradient(ellipse 700px 400px at 100% 30%, rgba(74, 209, 183, 0.06), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.hero-badge strong { color: var(--accent); font-weight: 700; }
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.strike {
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 3px;
  color: var(--muted);
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(15.5px, 1.5vw, 18px);
  max-width: 700px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: .85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hero-trust {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4rem;
}
.trust-item { white-space: nowrap; }
.trust-item::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  margin-right: .35rem;
}

/* hero shot */
.hero-shot {
  margin: 0 auto;
  max-width: 1100px;
}
.hero-shot-frame {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .35rem;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .55),
    0 0 0 1px rgb(var(--accent-rgb) / .08);
}
.hero-shot-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / .35), rgba(74, 209, 183, .15) 50%, transparent 70%);
  z-index: -1;
  filter: blur(6px);
  opacity: .8;
}
.hero-shot-frame img {
  display: block;
  width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--border);
}

/* ───────── pain ───────── */
.pain {
  padding: 4rem 0 3rem;
  background: var(--bg-2);
  text-align: center;
}
.pain-title {
  font-size: clamp(1.65rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 2.25rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.pain-title .accent-orange { color: var(--accent); }
.pain-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.pain-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: .85rem 1.1rem;
  font-size: 14.5px;
  color: var(--muted);
  display: flex; align-items: center; gap: .85rem;
  transition: border-color .15s, background .15s;
}
.pain-list li:hover {
  border-color: var(--border-hi);
  background: var(--card-hi);
}
.pain-list li .x {
  color: var(--danger);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.pain-after {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text);
}
.pain-after strong { color: var(--accent); font-weight: 600; }

/* ───────── who (personas) ───────── */
.who {
  padding: 4rem 0;
  text-align: center;
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  text-align: left;
}
.persona {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.persona:hover {
  border-color: var(--border-hi);
  background: var(--card-hi);
  transform: translateY(-2px);
}
.persona-featured {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / 0.18), 0 16px 40px rgba(0, 0, 0, .35);
}
.persona-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--bg-3);
  color: var(--accent);
  padding: .25rem .6rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.persona-tag-soft {
  color: var(--core);
  border-color: rgba(255, 170, 51, 0.3);
  background: rgba(255, 170, 51, 0.08);
}
.persona h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.persona-line {
  font-style: italic;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.5;
  border-left: 2px solid var(--accent);
  padding-left: .85rem;
  margin: 0;
}
.persona ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.persona ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.persona ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.persona-cta {
  margin-top: auto;
  padding-top: .35rem;
  font-weight: 600;
  color: var(--accent);
  font-size: 13.5px;
  align-self: flex-start;
}
.persona-cta:hover { color: var(--accent-hover); }

/* ───────── how / flow ───────── */
.how {
  padding: 4rem 0;
  text-align: center;
  background: var(--bg-2);
}
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  text-align: left;
}
.flow-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: border-color .2s, transform .2s;
}
.flow-step:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}
.flow-num {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--r);
  flex-shrink: 0;
}
.flow-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.flow-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.flow-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
}
.flow-fineprint {
  font-size: 12.5px;
  color: var(--dim);
}

.logos {
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.logos span {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .3rem .6rem;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  font-size: 12.5px;
  color: var(--accent);
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

/* ───────── showcase ───────── */
.showcase {
  padding: 3rem 0 4rem;
  text-align: center;
}
.showcase-shot {
  margin-top: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.showcase-shot img { display: block; width: 100%; }

/* ───────── features ───────── */
.features {
  padding: 4rem 0;
  background: var(--bg-2);
  text-align: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
  text-align: left;
  margin-top: 3rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem 1.4rem;
  transition: border-color .2s, background .2s, transform .2s;
  position: relative;
}
.card:hover {
  border-color: var(--border-hi);
  background: var(--card-hi);
  transform: translateY(-2px);
}
.card-icon {
  width: 36px; height: 36px;
  border-radius: var(--r);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: .9rem;
}
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: .45rem;
}
.card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.card p strong { color: var(--text); font-weight: 600; }

/* ───────── bundle marketplace banner ───────── */
.bundle-cta {
  margin-top: 2.5rem;
  background: var(--card);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-lg);
  padding: 1.85rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.bundle-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-soft) 0%, transparent 40%);
  pointer-events: none;
}
.bundle-cta-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.bundle-cta-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.bundle-cta-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: .25rem;
}
.bundle-cta-content p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}
.bundle-cta-content strong { color: var(--text); font-weight: 600; }

/* ───────── compare ───────── */
.compare {
  padding: 4rem 0;
  text-align: center;
}
.table-wrap {
  margin-top: 2.5rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--card);
}
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  min-width: 720px;
}
.table thead {
  background: var(--bg-3);
}
.table th, .table td {
  padding: .9rem 1.15rem;
  border-bottom: 1px solid var(--border);
}
.table th {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.table th.us, .table td.us {
  background: var(--accent-soft);
  color: var(--text);
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody td:first-child { font-weight: 500; color: var(--text); }
.yes { color: var(--accent); font-weight: 600; }
.no  { color: var(--danger); font-size: 1rem; font-weight: 700; }
.partial { color: var(--core); font-weight: 600; font-size: 12.5px; }

.compare-note {
  margin-top: 1rem;
  font-size: 11.5px;
  color: var(--dim);
}

/* ───────── pricing ───────── */
.pricing {
  padding: 4rem 0;
  background: var(--bg-2);
  text-align: center;
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 920px;
  margin: 3rem auto 0;
  align-items: stretch;
}
.price-card {
  padding: 2.25rem 2rem;
  background: var(--card);
  border: 1.5px solid var(--accent);
  border-radius: var(--r-lg);
  position: relative;
  text-align: left;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5), 0 0 60px var(--accent-glow);
  display: flex;
  flex-direction: column;
}
.price-card-alt {
  border: 1px solid var(--border-hi);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.price-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: .25rem .85rem;
  border-radius: 999px;
}
.price-tag-alt {
  background: var(--bg-3);
  color: var(--core);
  border: 1px solid rgba(255, 170, 51, 0.35);
}
.price-name {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: .85rem;
}
.price-num {
  display: flex;
  align-items: baseline;
  gap: .2rem;
  margin-bottom: .35rem;
}
.price-currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--muted);
}
.price-value {
  font-size: 4.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
}
.price-value-text {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.price-period {
  font-size: 1rem;
  color: var(--muted);
  margin-left: .25rem;
}
.price-sub {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 1.5rem;
}
.price-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.price-features li {
  font-size: 13.5px;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.price-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.price-fineprint {
  margin-top: .85rem;
  text-align: center;
  font-size: 11.5px;
  color: var(--dim);
}
.pricing-note {
  max-width: 600px;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.pricing-note strong { color: var(--text); font-weight: 600; }

/* ───────── faq ───────── */
.faq {
  padding: 4rem 0;
  text-align: center;
}
.faq-list {
  max-width: 760px;
  margin: 3rem auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.faq-list details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .15s;
}
.faq-list details[open] { border-color: var(--accent-border); }
.faq-list summary {
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 22px;
  color: var(--muted);
  transition: transform .2s, color .15s;
  flex-shrink: 0;
  margin-left: 1rem;
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-list details p {
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.faq-list details p a { color: var(--accent); }
.faq-list details p a:hover { color: var(--accent-hover); }
.faq-list details p strong { color: var(--text); font-weight: 600; }

/* ───────── final cta ───────── */
.final-cta {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 500px at 50% 50%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.final-cta h2 .accent { color: var(--accent); }
.final-cta p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.02rem;
}
.final-cta .micro {
  margin-top: 1.25rem;
  font-size: 12.5px;
}

/* ───────── footer ───────── */
.footer {
  padding: 3rem 0 2rem;
  background: var(--bg-2);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.footer-brand-by {
  color: var(--muted);
  font-size: 11.5px;
  margin-left: .25rem;
  letter-spacing: 0.3px;
}
.footer-tag {
  margin-top: .55rem;
  color: var(--muted);
  font-size: 13px;
  max-width: 320px;
}
.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  color: var(--dim);
  font-size: 11.5px;
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.85rem;
  border-top: 1px solid var(--border);
}
.footer-copy a { color: var(--muted); }
.footer-copy a:hover { color: var(--text); }

/* ───────── toast ───────── */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  background: var(--card);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  padding: .55rem 1rem;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  z-index: 9500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ───────── fade-in ───────── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────── responsive ───────── */
@media (max-width: 980px) {
  .persona-grid { grid-template-columns: 1fr; }
  .flow         { grid-template-columns: 1fr; }
  .price-grid   { grid-template-columns: 1fr; max-width: 480px; }
  .grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: .9rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }

  .hero { padding: 6rem 0 3rem; }
  .hero-trust { flex-direction: column; gap: .6rem; }
  .grid { grid-template-columns: 1fr; }
  .price-card { padding: 1.85rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .bundle-cta { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ───────── Aurora animated background ───────── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at top, var(--bg-aurora-top) 0%, var(--bg) 60%);
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .35;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora-1 {
  width: 620px; height: 620px;
  background: var(--accent);
  top: -180px; left: -120px;
  animation: aurora-drift-1 22s ease-in-out infinite alternate;
}
.aurora-2 {
  width: 540px; height: 540px;
  background: #FF6BB5;
  top: 30%; right: -160px;
  animation: aurora-drift-2 28s ease-in-out infinite alternate;
  opacity: .28;
}
.aurora-3 {
  width: 480px; height: 480px;
  background: #4AD1B7;
  bottom: -200px; left: 25%;
  animation: aurora-drift-3 32s ease-in-out infinite alternate;
  opacity: .22;
}
.aurora-4 {
  width: 420px; height: 420px;
  background: #FFAA33;
  top: 55%; left: -120px;
  animation: aurora-drift-4 26s ease-in-out infinite alternate;
  opacity: .25;
}
.aurora-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 70%);
}
@keyframes aurora-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(180px, 120px) scale(1.15); }
}
@keyframes aurora-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-160px, 100px) scale(1.1); }
}
@keyframes aurora-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(140px, -80px) scale(1.2); }
}
@keyframes aurora-drift-4 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(220px, -140px) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none; }
}

/* Make body see-through so aurora shines through. */
html { background: var(--bg); }
body { background: transparent !important; }

/* Lift everything above the aurora layer */
nav, header, section, footer, .toast {
  position: relative;
  z-index: 1;
}

/* ───────── Hero stacked lines ───────── */
.hero-line {
  display: block;
}

/* ───────── Section sub centering (default for non-list sections) ───────── */
.section-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 720px;
}

/* ───────── Memory explainer ───────── */
.memory-explainer {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, var(--card) 0%, rgb(var(--accent-rgb) / 0.04) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.memory-explainer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.memory-icon {
  width: 64px; height: 64px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.memory-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .6rem;
  letter-spacing: -0.015em;
}
.memory-body p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}
@media (max-width: 720px) {
  .memory-explainer { grid-template-columns: 1fr; padding: 1.5rem; }
}

/* ───────── Featured feature card (Local LLM) ───────── */
.card.card-featured {
  background: linear-gradient(135deg, var(--card-hi) 0%, rgb(var(--accent-rgb) / 0.06) 100%);
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px var(--accent-border), 0 8px 32px rgb(var(--accent-rgb) / 0.08);
}
.card.card-featured .card-icon {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

/* ───────── Pricing: billing toggle ───────── */
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 2.5rem;
}
.billing-label {
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
}
.billing-save {
  display: inline-block;
  margin-left: .5rem;
  padding: 2px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
}
.billing-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.billing-toggle input {
  opacity: 0; width: 0; height: 0;
}
.billing-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: background .25s ease;
}
.billing-slider::before {
  content: '';
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; top: 3px;
  background: var(--text);
  border-radius: 50%;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.billing-toggle input:checked + .billing-slider {
  background: var(--accent);
  border-color: var(--accent);
}
.billing-toggle input:checked + .billing-slider::before {
  transform: translateX(24px);
}

/* ───────── Pricing: featured card highlight ───────── */
.price-card.price-card-featured {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px var(--accent-border), 0 12px 48px rgb(var(--accent-rgb) / 0.1);
  position: relative;
}
.price-card.price-card-featured::after {
  content: 'Most teams pick this';
  position: absolute;
  top: -12px; right: 16px;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--bg);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
}

/* ───────── Pricing: tagline under price-sub ───────── */
.price-tagline {
  color: var(--text-70);
  font-size: .92rem;
  margin: .5rem 0 1.25rem;
  font-style: italic;
}

/* ───────── Hero card now sits over aurora ───────── */
.hero, .pain, .who, .how, .showcase, .features, .compare, .pricing, .faq, .final-cta {
  position: relative;
  z-index: 1;
}

/* Removed need for inline center on .section-sub — also clear stale style attrs */
.section-sub[style*="text-align"] { text-align: center; }

/* ───────── Aurora bleed-through: section backgrounds become transparent
   so the animated aurora layer is visible behind the whole page.
   Uses !important to override the original section bg rules. ───────── */
.hero,
.pain,
.who,
.how,
.showcase,
.features,
.compare,
.pricing,
.faq,
.final-cta {
  background: transparent !important;
}

/* Cards, FAQ items and price cards keep solid surfaces (so they read on
   top of the moving aurora). Slight backdrop-filter for premium feel. */
.card, .price-card, .persona, .faq-list details, .bundle-cta, .memory-explainer, .table-wrap {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ───────── Aurora — punch up visibility ───────── */
.aurora-blob { opacity: .55 !important; filter: blur(80px) !important; }
.aurora-1 { opacity: .65 !important; }
.aurora-2 { opacity: .50 !important; }
.aurora-3 { opacity: .42 !important; }
.aurora-4 { opacity: .55 !important; }
.aurora-grid { opacity: .8; }

/* Cards become slightly translucent so the moving color reads through */
.card, .price-card, .persona, .faq-list details, .bundle-cta, .memory-explainer {
  background-color: rgba(28, 28, 34, 0.65) !important;
}
.card-featured { background-color: rgba(37, 37, 46, 0.7) !important; }

/* ───────── Aurora — make motion unambiguous ───────── */
/* Override durations: 22-32s → 9-13s. Bigger translation range. */
.aurora-1 { animation-duration: 9s !important; }
.aurora-2 { animation-duration: 11s !important; }
.aurora-3 { animation-duration: 13s !important; }
.aurora-4 { animation-duration: 10s !important; }

/* Replace keyframes with bigger excursions */
@keyframes aurora-drift-1 {
  0%   { transform: translate(-10vw, -8vh) scale(1); }
  50%  { transform: translate(15vw, 12vh) scale(1.25); }
  100% { transform: translate(-5vw, 18vh) scale(1.1); }
}
@keyframes aurora-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-22vw, 8vh) scale(1.2); }
  100% { transform: translate(8vw, -10vh) scale(0.95); }
}
@keyframes aurora-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(20vw, -16vh) scale(1.3); }
  100% { transform: translate(-12vw, -8vh) scale(1.05); }
}
@keyframes aurora-drift-4 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(28vw, -10vh) scale(1.15); }
  100% { transform: translate(10vw, 14vh) scale(1.05); }
}

/* Add an unmistakable "breathing" opacity pulse on top of drift */
.aurora-1 { animation: aurora-drift-1 9s ease-in-out infinite alternate, aurora-pulse 4s ease-in-out infinite alternate; }
.aurora-2 { animation: aurora-drift-2 11s ease-in-out infinite alternate, aurora-pulse 5s ease-in-out infinite alternate; }
.aurora-3 { animation: aurora-drift-3 13s ease-in-out infinite alternate, aurora-pulse 6s ease-in-out infinite alternate; }
.aurora-4 { animation: aurora-drift-4 10s ease-in-out infinite alternate, aurora-pulse 4.5s ease-in-out infinite alternate; }

@keyframes aurora-pulse {
  0%   { opacity: 0.35; }
  100% { opacity: 0.75; }
}

/* ───────── Aurora — speed boost round 2 ───────── */
.aurora-1 { animation: aurora-drift-1 5s ease-in-out infinite alternate, aurora-pulse 2.5s ease-in-out infinite alternate !important; }
.aurora-2 { animation: aurora-drift-2 6s ease-in-out infinite alternate, aurora-pulse 3s ease-in-out infinite alternate !important; }
.aurora-3 { animation: aurora-drift-3 7s ease-in-out infinite alternate, aurora-pulse 3.5s ease-in-out infinite alternate !important; }
.aurora-4 { animation: aurora-drift-4 4.5s ease-in-out infinite alternate, aurora-pulse 2.8s ease-in-out infinite alternate !important; }

/* ───────── Hero side-by-side layout ───────── */
.hero { text-align: left; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.hero-text { max-width: 600px; }
.hero-text .hero-title {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  text-align: left;
}
.hero-text .hero-cta { justify-content: flex-start; }
.hero-text .hero-trust { justify-content: flex-start; }
/* Screenshot column: cap height so it doesn't stretch the row */
.hero-grid .hero-shot {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-grid .hero-shot-frame {
  max-width: 100%;
}
.hero-grid .hero-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
}

@media (max-width: 980px) {
  .hero { text-align: center; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-text { max-width: none; margin: 0 auto; }
  .hero-text .hero-title { text-align: center; }
  .hero-text .hero-cta,
  .hero-text .hero-trust { justify-content: center; }
  .hero-grid .hero-shot { justify-content: center; }
}

/* ───────── Hero 2-col — proper proportions (override earlier rules) ─────── */
@media (min-width: 981px) {
  .hero { padding: 7rem 0 4rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.45fr);
    gap: 2.5rem;
    /* center on the title's optical axis instead of geometric center —
       gives the visual column a small upward bias so its mid-line
       lands roughly between the badge and the trust strip */
    align-items: center;
  }
  .hero-grid .hero-text {
    /* Pull text column up slightly so its title shares a baseline
       with the screenshot's top quarter */
    padding-top: 12px;
  }
  .hero-grid .hero-shot {
    align-self: center;
    /* Video shadow shifts perceived center of mass down. Translate the
       whole layered hero-shot up so its visual midpoint aligns with
       the title's optical center, plus a small rightward push so it
       reads as a separate panel from the headline. */
    transform: translate(48px, -56px);
    margin-top: 0;
  }
  .hero-text { max-width: 100%; }
  .hero-text .hero-title {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
  }
  .hero-text .hero-sub {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .hero-text .hero-cta { gap: .75rem; flex-wrap: wrap; }
  .hero-text .hero-trust {
    gap: 1.25rem;
    font-size: 12.5px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
  }

  /* Screenshot: fill column, drop shadow, tasteful tilt */
  .hero-grid .hero-shot { justify-content: stretch; }
  .hero-grid .hero-shot-frame {
    width: 100%;
    border: 1px solid var(--border-hi);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--card);
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgb(var(--accent-rgb) / 0.08);
    transform: perspective(1400px) rotateY(-3deg) rotateX(2deg);
    transition: transform .4s ease;
  }
  .hero-grid .hero-shot-frame:hover {
    transform: perspective(1400px) rotateY(0) rotateX(0);
  }
  .hero-grid .hero-shot img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* Hero badge sits well in column too */
.hero-badge { margin-bottom: 1.25rem; }

/* ───────── Hardening — accessibility (a11y P1 fixes) ───────── */

/* 1. Skip-to-main-content link (visible only when focused) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--r);
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  z-index: 1000;
  transition: top 0.15s;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* 2. Visible focus on every interactive control. We use :focus-visible
   so mouse clicks don't trigger the outline (only keyboard does). */
.btn:focus-visible,
.nav-cta:focus-visible,
.nav-links a:focus-visible,
.nav-logo:focus-visible,
.persona-cta:focus-visible,
.flow-fineprint a:focus-visible,
.faq-list summary:focus-visible,
.footer-links a:focus-visible,
.footer-copy a:focus-visible,
.pricing-note a:focus-visible,
.price-fineprint a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.billing-toggle input:focus-visible + .billing-slider {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* 3. Contrast — fineprint micro-text was rgba(255,255,255,0.4) ≈ 4.1:1
   on Studio Black, failing WCAG AA. Bump to var(--muted) which is
   #B8BCC8 ≈ 9.5:1 — comfortably above the 4.5:1 threshold. */
.price-fineprint,
.compare-note,
.flow-fineprint,
.footer-copy,
.micro {
  color: var(--muted);
}

/* 4. Touch targets — interactive elements that visually look small must
   still have a 44×44 hit area. Use padding + negative margin so the
   layout stays unchanged but the tap area expands. */
@media (max-width: 980px) {
  .nav-links a,
  .footer-links a {
    padding: 14px 0;
    margin: -14px 0;
    display: inline-block;
  }
  .trust-item {
    padding: 10px 0;
  }
}

/* ───────── Optimize — aurora pauses when not consumed ───────── */

/* Respect users on metered/limited-data networks */
@media (prefers-reduced-data: reduce) {
  .aurora-blob { animation: none !important; }
  .aurora-grid { display: none; }
}

/* Toggled by JS when tab is hidden */
.aurora.is-paused .aurora-blob { animation-play-state: paused; }

/* Below-fold sections render only when needed (paint cost on long pages) */
.faq,
.compare,
.final-cta {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* ───────── Bolder pass — amplify hierarchy + weight contrast ───────── */

/* Hero: dramatic Display, lighter "for one", glow under "AI team" */
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.6rem) !important;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-title .muted {
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
}
.hero-title .accent {
  text-shadow: 0 0 60px rgb(var(--accent-rgb) / 0.45);
}
.hero-title .strike {
  font-weight: 900;
  text-decoration-thickness: 4px;
}

/* In the 2-col layout the same dramatic scale applies but capped slightly */
@media (min-width: 981px) {
  .hero-text .hero-title {
    font-size: clamp(2.4rem, 4.2vw, 4.4rem) !important;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1;
  }
}

/* Hero subtitle: bump line-height + size for editorial pacing */
.hero-sub {
  font-size: clamp(16.5px, 1.6vw, 19px);
  font-weight: 400;
}
.hero-sub strong {
  font-weight: 800;
}

/* Section titles: stronger, bigger */
.section-title {
  font-size: clamp(2.1rem, 5vw, 3.2rem) !important;
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* Pain section title: also bolder */
.pain-title {
  font-size: clamp(2rem, 4.4vw, 3rem) !important;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* Price numbers: monumental */
.price-num {
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  margin: 1.25rem 0 1rem;
}
.price-currency {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--muted);
  margin-top: 0.55rem;
}
.price-value {
  font-size: clamp(3rem, 5.2vw, 4.4rem) !important;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--text);
}
.price-period {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 500;
  color: var(--muted);
  margin-top: auto;
  margin-bottom: 0.75rem;
}
.price-value-text {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Eyebrows: a hair larger + tighter weight contrast against headline below */
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

/* Final CTA: monumental */
.final-cta h2 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

/* ───────── Memory video (replaces memory-explainer card) ───────── */
.memory-video {
  margin: 2.5rem 0 0;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgb(var(--accent-rgb) / 0.08);
  position: relative;
}
.memory-video video {
  width: 100%;
  height: auto;
  display: block;
}
/* Subtle warm glow under the frame so it sits on the aurora cleanly */
.memory-video::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: radial-gradient(ellipse at top, rgb(var(--accent-rgb) / 0.18), transparent 60%);
  pointer-events: none;
  z-index: -1;
  filter: blur(12px);
}

/* ───────── Memory video mute toggle ───────── */
.memory-video {
  position: relative;
}
.memory-video-mute {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: rgba(15, 15, 17, 0.78);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.15s, border-color 0.15s;
  pointer-events: none;
  z-index: 2;
}
.memory-video:hover .memory-video-mute,
.memory-video:focus-within .memory-video-mute {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.memory-video-mute:hover {
  background: rgba(15, 15, 17, 0.92);
  border-color: var(--accent-border);
}
.memory-video-mute:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.memory-video-mute .unmuted-icon { display: none; }
.memory-video-mute[aria-pressed="false"] .muted-icon { display: none; }
.memory-video-mute[aria-pressed="false"] .unmuted-icon { display: block; }
.memory-video-mute[aria-pressed="false"] .memory-video-mute-label::before { content: "Mute"; }
.memory-video-mute[aria-pressed="true"]  .memory-video-mute-label::before { content: "Unmute"; }
.memory-video-mute-label { display: inline; }
.memory-video-mute-label,
.memory-video-mute-label * { display: none; }
.memory-video-mute-label::before { display: inline; }

/* On touch devices the button stays visible (no hover state) */
@media (hover: none) {
  .memory-video-mute {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* ───────── Delight — micro-interactions (subtle, professional) ───────── */

/* 1. Card glow follows cursor (Linear/Stripe style) */
.card,
.persona,
.price-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
}
.card::before,
.persona::before,
.price-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgb(var(--accent-rgb) / 0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.card:hover::before,
.persona:hover::before,
.price-card:hover::before {
  opacity: 1;
}
/* Lift card content above the cursor-tracking glow layer — but skip
   the .price-tag pills which need their own absolute positioning. */
.card > *:not(.price-tag),
.persona > *:not(.price-tag),
.price-card > *:not(.price-tag) {
  position: relative;
  z-index: 1;
}

/* 2. Card icons react on hover — bouncy scale + tilt + accent fill */
.card-icon,
.bundle-cta-icon,
.memory-icon {
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.25s ease,
    border-color 0.25s ease;
}
.card:hover .card-icon {
  transform: scale(1.12) rotate(-6deg);
  background: rgb(var(--accent-rgb) / 0.22);
  border-color: var(--accent);
}
.bundle-cta:hover .bundle-cta-icon {
  transform: scale(1.08) rotate(8deg);
}

/* 3. Primary button arrow nudges on hover */
.btn-primary svg,
.persona-cta svg,
.flow-cta svg {
  transition: transform 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-primary:hover svg {
  transform: translateX(4px);
}

/* 4. Persona — subtle scale + accent border on hover */
.persona {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.persona:hover {
  transform: translateY(-3px) scale(1.005);
  border-color: var(--accent-border);
}

/* 5. Compare-table row highlight on hover */
.table tbody tr {
  transition: background 0.18s ease;
}
.table tbody tr:hover {
  background: rgb(var(--accent-rgb) / 0.04);
}
.table tbody tr:hover td:first-child {
  color: var(--text);
}

/* 6. Wordmark — accent letters subtly bounce on logo hover */
.nav-logo,
.footer-brand {
  transition: transform 0.2s ease;
}
.nav-logo:hover .wordmark .ai,
.nav-logo:hover .wordmark .x {
  animation: wordmark-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes wordmark-pop {
  0%, 100% { transform: translateY(0); }
  40%      { transform: translateY(-2px); }
}

/* 7. Persona-cta link → arrow slides + accent intensifies */
.persona-cta {
  transition: color 0.18s, gap 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.persona:hover .persona-cta {
  color: var(--accent-hover);
  gap: 8px;
}

/* 8. Trust strip items — subtle individual hover */
.trust-item {
  transition: color 0.18s ease;
}
.trust-item:hover {
  color: var(--text);
}

/* 9. Hero shot frame — already tilted; fix snap on hover (was abrupt) */
@media (min-width: 981px) {
  .hero-grid .hero-shot-frame {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
  }
}

/* 10. FAQ summary — chevron + lift */
.faq-list summary {
  cursor: pointer;
  transition: color 0.18s, padding-left 0.18s;
  position: relative;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover {
  color: var(--accent);
  padding-left: 4px;
}

/* Respect reduced motion preference for ALL delight */
@media (prefers-reduced-motion: reduce) {
  .card::before, .persona::before, .price-card::before { transition: none; }
  .card:hover .card-icon { transform: none; }
  .btn-primary:hover svg { transform: none; }
  .persona:hover { transform: none; }
  .nav-logo:hover .wordmark .ai,
  .nav-logo:hover .wordmark .x { animation: none; }
}

/* ───────── Memory video — play/pause overlay button ───────── */
.memory-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  font-family: var(--font);
  transition: background 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
/* Visible whenever the video is paused */
.memory-video[data-state="paused"] .memory-video-play {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
/* While playing, the button still appears on hover (so user can pause) */
.memory-video[data-state="playing"]:hover .memory-video-play {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.18);
}
.memory-video-play:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}
.memory-video-play-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 6px rgba(0, 0, 0, 0.18),
    0 0 60px var(--accent-glow);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.memory-video-play:hover .memory-video-play-icon {
  transform: scale(1.1);
  box-shadow:
    0 0 0 6px rgba(0, 0, 0, 0.22),
    0 0 90px var(--accent-glow);
}
.memory-video-play .play-icon { margin-left: 4px; /* optical-center the triangle */ }
.memory-video-play .pause-icon { display: none; }
.memory-video[data-state="playing"] .memory-video-play .play-icon { display: none; }
.memory-video[data-state="playing"] .memory-video-play .pause-icon { display: block; }
.memory-video[data-state="playing"] .memory-video-play .pause-icon { margin-left: 0; }

/* Hide native browser controls just in case */
.memory-video video::-webkit-media-controls { display: none !important; }

/* ───────── Memory video — controls layering fix ───────── */

/* Mute button must be reachable even when the play overlay is up.
   z-index higher than play overlay (3) so clicks land on it. */
.memory-video-mute {
  z-index: 4;
}

/* When paused, keep the mute button visible (not only on hover) —
   the user is staring at a static frame and may want to toggle audio
   before clicking play. */
.memory-video[data-state="paused"] .memory-video-mute {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ═════════════════════════════════════════════════════════════════
   Video player — generic system (applies to memory + hero + future)
   ═════════════════════════════════════════════════════════════════ */

.video-player {
  position: relative;
}
.video-player-video {
  width: 100%;
  height: auto;
  display: block;
}
.video-player video::-webkit-media-controls { display: none !important; }

/* Mute button — bottom-right glassmorphic */
.video-player-mute {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  background: rgba(15, 15, 17, 0.78);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.1px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.15s, border-color 0.15s;
  pointer-events: none;
  z-index: 4;
}
.video-player:hover .video-player-mute,
.video-player:focus-within .video-player-mute,
.video-player[data-state="paused"] .video-player-mute {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.video-player-mute:hover {
  background: rgba(15, 15, 17, 0.92);
  border-color: var(--accent-border);
}
.video-player-mute:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.video-player-mute .unmuted-icon { display: none; }
.video-player-mute[aria-pressed="false"] .muted-icon { display: none; }
.video-player-mute[aria-pressed="false"] .unmuted-icon { display: block; }
.video-player-mute[aria-pressed="false"] .video-player-mute-label::before { content: "Mute"; }
.video-player-mute[aria-pressed="true"]  .video-player-mute-label::before { content: "Unmute"; }
.video-player-mute-label::before { display: inline; }
@media (hover: none) {
  .video-player-mute { opacity: 1; transform: none; pointer-events: auto; }
}

/* Play / pause overlay */
.video-player-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  font-family: var(--font);
  transition: background 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.video-player[data-state="paused"] .video-player-play {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.video-player[data-state="playing"]:hover .video-player-play {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.18);
}
.video-player-play:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}
.video-player-play-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.18), 0 0 60px var(--accent-glow);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.video-player-play:hover .video-player-play-icon {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.22), 0 0 90px var(--accent-glow);
}
.video-player-play .play-icon { margin-left: 4px; }
.video-player-play .pause-icon { display: none; }
.video-player[data-state="playing"] .video-player-play .play-icon { display: none; }
.video-player[data-state="playing"] .video-player-play .pause-icon { display: block; margin-left: 0; }

.hero-shot-frame.video-player .video-player-play-icon {
  width: 64px;
  height: 64px;
}
.hero-shot-frame.video-player .video-player-play-icon svg {
  width: 24px;
  height: 24px;
}

/* ═════════════════════════════════════════════════════════════════
   $impeccable animate
   ═════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: no-preference) and (min-width: 981px) {
  .hero-grid .hero-shot-frame {
    animation: hero-float 5s ease-in-out infinite alternate;
  }
  .hero-grid .hero-shot-frame:hover {
    animation: none;
    transform: perspective(1400px) rotateY(0) rotateX(0) translateY(-6px);
  }
}
@keyframes hero-float {
  0%   { transform: perspective(1400px) rotateY(-3deg) rotateX(2deg) translateY(0); }
  100% { transform: perspective(1400px) rotateY(-3deg) rotateX(2deg) translateY(-14px); }
}

@media (prefers-reduced-motion: no-preference) {
  [data-section-anim] {
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
      transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
  }
  [data-section-anim="left"] { transform: translateX(-50px); }
  [data-section-anim="right"] { transform: translateX(50px); }
  [data-section-anim].in-view {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .aurora-1 {
    animation:
      aurora-drift-1 5s ease-in-out infinite alternate,
      aurora-pulse 2.5s ease-in-out infinite alternate,
      aurora-hue-warm 18s linear infinite !important;
  }
  .aurora-2 {
    animation:
      aurora-drift-2 6s ease-in-out infinite alternate,
      aurora-pulse 3s ease-in-out infinite alternate,
      aurora-hue-cool 22s linear infinite !important;
  }
  .aurora-3 {
    animation:
      aurora-drift-3 7s ease-in-out infinite alternate,
      aurora-pulse 3.5s ease-in-out infinite alternate,
      aurora-hue-cool 26s linear infinite reverse !important;
  }
  .aurora-4 {
    animation:
      aurora-drift-4 4.5s ease-in-out infinite alternate,
      aurora-pulse 2.8s ease-in-out infinite alternate,
      aurora-hue-warm 20s linear infinite reverse !important;
  }
}
@keyframes aurora-hue-warm {
  0%, 100% { filter: hue-rotate(0deg) blur(80px); }
  50%      { filter: hue-rotate(-18deg) blur(85px); }
}
@keyframes aurora-hue-cool {
  0%, 100% { filter: hue-rotate(0deg) blur(80px); }
  50%      { filter: hue-rotate(22deg) blur(85px); }
}

.flow-step .logos span {
  display: inline-block;
  color: var(--muted);
  transition: color 0.3s, text-shadow 0.5s;
}
@media (prefers-reduced-motion: no-preference) {
  [data-section-anim].in-view .flow-step .logos span {
    animation: agent-pulse 9s ease-in-out infinite;
  }
  .flow-step .logos span:nth-child(1) { animation-delay: 0s; }
  .flow-step .logos span:nth-child(2) { animation-delay: 1.8s; }
  .flow-step .logos span:nth-child(3) { animation-delay: 3.6s; }
  .flow-step .logos span:nth-child(4) { animation-delay: 5.4s; }
  .flow-step .logos span:nth-child(5) { animation-delay: 7.2s; }
}
@keyframes agent-pulse {
  0%, 88%, 100% { color: var(--muted); text-shadow: none; }
  8%, 16%       { color: var(--accent); text-shadow: 0 0 14px var(--accent-glow); }
}

@media (prefers-reduced-motion: no-preference) {
  [data-section-anim] .flow-step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  }
  [data-section-anim].in-view .flow-step {
    opacity: 1;
    transform: translateY(0);
  }
  [data-section-anim].in-view .flow-step:nth-child(1) { transition-delay: 0.05s; }
  [data-section-anim].in-view .flow-step:nth-child(2) { transition-delay: 0.18s; }
  [data-section-anim].in-view .flow-step:nth-child(3) { transition-delay: 0.31s; }
}

/* ═════════════════════════════════════════════════════════════════
   Hero shot — layered composition
   Screenshot sits top-right, slightly larger and tilted.
   Video sits bottom-left, in front, covering ~2% of the screenshot's
   bottom-left corner. The two together create depth without crowding.
   ═════════════════════════════════════════════════════════════════ */

@media (min-width: 981px) {
  .hero-shot.hero-shot-layered {
    position: relative;
    display: block;
    /* Container needs enough vertical room for both stacked elements
       with the small overlap. Aspect ratio keeps it stable across widths. */
    aspect-ratio: 1.25 / 1;
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    align-self: center;
    /* Allow children to extend past the container edge for the
       magazine-spread effect. */
    overflow: visible;
  }

  /* Background screenshot — pushed further to the right, partially past
     the container's right edge for a "spread" magazine feel. */
  .hero-shot.hero-shot-layered .hero-shot-bg {
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: auto;
    border-radius: var(--r-md);
    border: 1px solid var(--border-hi);
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.40),
      0 0 0 1px rgb(var(--accent-rgb) / 0.06);
    transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
    transform-origin: 100% 0%;
    transition:
      transform 0.65s cubic-bezier(0.25, 1, 0.5, 1),
      filter 0.45s ease,
      box-shadow 0.45s ease,
      border-color 0.3s ease;
    z-index: 1;
    /* keep it visually slightly recessed so the foreground reads first */
    filter: brightness(0.92) saturate(0.94);
  }

  /* Hover: bring screenshot to front, scale 2× (200%), strip the
     dimming filter, and replace the tilt with a clean head-on view.
     !important wins over the parent-hover parallax rule below. */
  .hero-shot.hero-shot-layered .hero-shot-bg:hover {
    transform: perspective(1400px) rotateY(0deg) rotateX(0deg) scale(2) !important;
    z-index: 5 !important;
    filter: brightness(1.02) saturate(1.05) !important;
    border-color: var(--accent-border) !important;
    box-shadow:
      0 60px 140px rgba(0, 0, 0, 0.75),
      0 0 0 2px rgb(var(--accent-rgb) / 0.3),
      0 0 90px rgb(var(--accent-rgb) / 0.18) !important;
    animation: none !important;
  }

  /* Foreground video frame layer — 50% bigger than the original (64% → 96%) */
  .hero-shot.hero-shot-layered .hero-shot-frame.video-player {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 96%;
    /* The "2% overlap" rule: the foreground video's top-right corner
       just enters the bottom-left tile of the screenshot.
       With width 64% on the left and screenshot width 78% on the right,
       horizontal overlap is 64 + 78 - 100 = 42% of container width;
       vertical overlap is set by sizing the video so its TOP edge sits
       just below the screenshot's BOTTOM edge minus a hair. */
    /* Reset the 3D tilt that was set in the floating-frame rules so
       the layered version reads cleaner. */
    animation: none;
    transform: none;
    /* Center origin so hover-zoom grows in all 4 directions equally,
       filling the visible hero area rather than shooting off to one
       side. */
    transform-origin: 50% 50%;
    z-index: 2;
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgb(var(--accent-rgb) / 0.10);
    transition:
      transform 0.65s cubic-bezier(0.25, 1, 0.5, 1),
      box-shadow 0.45s ease,
      border-color 0.3s ease;
  }
  /* Hover: 1.5× zoom-to-front. The video is already large at rest;
     2× sent the right edge off-screen, so we settle on 1.5× from
     the visual center. */
  .hero-shot.hero-shot-layered .hero-shot-frame.video-player:hover {
    transform: scale(1.5) !important;
    z-index: 6 !important;
    border-color: var(--accent) !important;
    box-shadow:
      0 60px 140px rgba(0, 0, 0, 0.75),
      0 0 0 2px rgb(var(--accent-rgb) / 0.35),
      0 0 100px rgb(var(--accent-rgb) / 0.22) !important;
    animation: none !important;
  }

  /* Suppress the previous floating animation when layered */
  .hero-shot.hero-shot-layered .hero-shot-frame {
    animation: none !important;
  }

  /* Subtle parallax: when user hovers the whole hero-shot but NOT
     the screenshot itself (because direct hover triggers the zoom
     above instead), push the screenshot slightly back to amplify
     depth. */
  .hero-shot.hero-shot-layered:hover .hero-shot-bg:not(:hover) {
    transform: perspective(1400px) rotateY(-7deg) rotateX(3deg) scale(0.985) translateX(2%);
  }
}

/* On mobile, drop the layered composition entirely — show only the
   video (the screenshot is duplicate of the video poster anyway). */
@media (max-width: 980px) {
  .hero-shot.hero-shot-layered .hero-shot-bg { display: none; }
  .hero-shot.hero-shot-layered {
    display: flex;
    justify-content: center;
  }
}

/* ───────── Screenshot continuous float (idle motion) ───────── */
@media (prefers-reduced-motion: no-preference) and (min-width: 981px) {
  .hero-shot.hero-shot-layered .hero-shot-bg {
    animation: screenshot-float 6s ease-in-out infinite alternate;
  }
}
@keyframes screenshot-float {
  0% {
    transform: perspective(1400px) rotateY(-7deg) rotateX(3deg) translateY(0) translateX(0);
  }
  100% {
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(-14px) translateX(8px);
  }
}

/* Hover still wins: pause the idle drift and apply the parallax push */
.hero-shot.hero-shot-layered:hover .hero-shot-bg {
  animation: none;
}

/* ═════════════════════════════════════════════════════════════════
   Catalog marquee — agent roster, infinite horizontal loop
   ═════════════════════════════════════════════════════════════════ */

.catalog {
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
}

.catalog .container {
  position: relative;
  z-index: 2;
}

/* Outer marquee viewport — full-bleed, escapes the .container max-width
   so the strip runs edge-to-edge of the page. */
.catalog-marquee {
  margin: 2.25rem 0 1.5rem;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* Soft mask on the edges so pills don't pop in/out abruptly */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.catalog-row {
  overflow: hidden;
  position: relative;
}
.catalog-row + .catalog-row {
  margin-top: 14px;
}

.catalog-track {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  .catalog-row-1 .catalog-track {
    animation: catalog-scroll-left 70s linear infinite;
  }
  .catalog-row-2 .catalog-track {
    animation: catalog-scroll-right 80s linear infinite;
  }
  /* Pause + slightly slow on hover so the user can read */
  .catalog-marquee:hover .catalog-track {
    animation-play-state: paused;
  }
}

/* Track is rendered with the pill set duplicated 2× in HTML, so the
   animation slides the track from 0 to -50% which corresponds to one
   full cycle of the original set — and the loop is seamless because
   the second half is identical to the first. */
@keyframes catalog-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes catalog-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Pills — compact, editorial, monochrome */
.catalog-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: rgba(28, 28, 34, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.catalog-pill:hover {
  border-color: var(--accent-border);
  background: rgba(37, 37, 46, 0.85);
  transform: translateY(-1px);
}

.catalog-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgb(var(--accent-rgb) / 0.5);
  flex-shrink: 0;
}

.catalog-pill-name {
  color: var(--text);
  font-family: var(--font);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
}

.catalog-pill-role {
  color: var(--muted);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding-left: 10px;
}
.catalog-pill-role::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: var(--whisper);
}

.catalog-cta {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 1.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile: drop the second row, slow the marquee a touch, smaller pills */
@media (max-width: 720px) {
  .catalog-row-2 { display: none; }
  .catalog-row + .catalog-row { margin-top: 0; }
  .catalog-row-1 .catalog-track {
    animation-duration: 90s;
  }
  .catalog-pill {
    padding: 8px 14px;
    gap: 8px;
  }
  .catalog-pill-name { font-size: 12.5px; }
  .catalog-pill-role { font-size: 10px; padding-left: 8px; }
  .catalog-pill-role::before { height: 10px; }
}

/* Reduced motion: marquee is static; user can horizontally scroll the
   container to browse the agents. */
@media (prefers-reduced-motion: reduce) {
  .catalog-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .catalog-track {
    animation: none !important;
    transform: none !important;
  }
}
