/* ─────────────────────────────────────────────────────────────────────────
 * TwinSage marketing site.
 * Pure CSS, no Tailwind. Palette follows the TwinSage Dream style guide:
 * violet / lavender / peach / aqua accents, airy surfaces, black CTAs.
 * ───────────────────────────────────────────────────────────────────────── */

:root {
  --ts-violet: #8f74c9;
  --ts-lavender: #b98bd8;
  --ts-peach: #ffb66d;
  --ts-aqua: #75d7d3;
  --ts-blush: #fbe5ec;
  --ts-cream: #ffedc9;
  --ts-mint: #d7f8f3;
  --ts-lilac: #ece3ff;
  --ts-page: #f8f7f9;
  --ts-tile: #f1edf8;
  --ts-line: #ecebef;
  --ts-surface: #ffffff;
  --ts-ink: #211b24;
  --ts-ink-soft: #4a4652;
  --ts-muted: #666271;
  --ts-action: #211b24;
  --ts-action-hover: #17121a;
  --ts-gradient-dream: linear-gradient(135deg, #8f74c9 0%, #b98bd8 35%, #ffb66d 68%, #75d7d3 100%);
  --ts-gradient-sunset: linear-gradient(135deg, #fbe5ec 0%, #ffedc9 58%, #ece3ff 100%);
  --ts-gradient-marine: linear-gradient(135deg, #ece3ff 0%, #d7f8f3 100%);
}

/* ── Fonts ────────────────────────────────────────────────── */
@font-face {
  font-family: "GT America";
  src: url("/fonts/gt-america-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT America";
  src: url("/fonts/gt-america-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "GT America", ui-sans-serif, system-ui, sans-serif;
  background-color: var(--ts-page);
  color: var(--ts-ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ── Layout helpers ───────────────────────────────────────── */
.section {
  background-color: white;
  padding: 100px 120px 80px;
}
.section--cream { background-color: var(--ts-page); }
.section--tight { padding: 80px 120px; }
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 40px;
  background-color: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar--scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(33, 27, 36, 0.05);
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar__logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.navbar__logo-text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: var(--ts-action);
}
.navbar__nav {
  display: flex;
  align-items: center;
}
.navbar__nav a {
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 16px;
  color: var(--ts-action);
  transition: opacity 0.2s;
}
.navbar__nav a:hover { opacity: 0.7; }
.navbar__nav > a.navbar__nav-link--tagged {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ── Customers dropdown ──────────────────────────────────── */
.navbar__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.navbar__dropdown-trigger {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  color: var(--ts-action);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.navbar__dropdown-trigger:hover {
  opacity: 0.7;
}
.navbar__dropdown-trigger svg {
  transition: transform 0.2s ease;
  margin-top: 1px;
  opacity: 0.6;
}
.navbar__dropdown:hover .navbar__dropdown-trigger svg,
.navbar__dropdown:focus-within .navbar__dropdown-trigger svg {
  transform: rotate(180deg);
}
.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 280px;
  background: white;
  border: 1px solid rgba(33, 27, 36, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(33, 27, 36, 0.08), 0 2px 6px rgba(33, 27, 36, 0.04);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown:focus-within .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Invisible hover bridge so the menu doesn't close in the gap */
.navbar__dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.navbar__dropdown-menu a,
.navbar__dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.15s;
}
.navbar__dropdown-menu a:hover {
  background-color: var(--ts-page);
  opacity: 1;
}
.navbar__dropdown-item--disabled {
  cursor: default;
}
.navbar__dropdown-item--disabled .navbar__dropdown-title {
  color: var(--ts-ink);
}
.navbar__dropdown-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ts-action);
  letter-spacing: -0.15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.navbar__dropdown-tag {
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: var(--ts-tile);
  color: var(--ts-muted);
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 500;
}
.navbar__dropdown-desc {
  font-size: 13px;
  color: var(--ts-muted);
  letter-spacing: -0.13px;
  line-height: 17px;
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.navbar__login {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 400;
  color: var(--ts-action);
  white-space: nowrap;
  transition: opacity 0.2s;
}
.navbar__login:hover {
  opacity: 0.65;
}
.navbar__cta {
  background-color: var(--ts-action);
  color: white;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.navbar__cta:hover { background-color: var(--ts-action-hover); }
.navbar__menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(33, 27, 36, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ts-action);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.navbar__menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.navbar__menu-toggle--open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.navbar__menu-toggle--open span:nth-child(2) {
  opacity: 0;
}
.navbar__menu-toggle--open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.mobile-nav {
  position: fixed;
  inset: 68px 12px auto;
  z-index: 9;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav__panel {
  border: 1px solid rgba(33, 27, 36, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(143, 116, 201, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(33, 27, 36, 0.14);
  padding: 14px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  color: var(--ts-ink);
  font-size: 17px;
}
.mobile-nav__link:hover {
  background: var(--ts-page);
}
.mobile-nav__link--disabled {
  cursor: default;
  color: var(--ts-ink);
}
.mobile-nav__actions {
  display: grid;
  gap: 10px;
  padding: 12px 0 0;
}
.mobile-nav__actions .btn-primary,
.mobile-nav__actions .btn-ghost {
  width: 100%;
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .navbar__nav { display: none; }
  .navbar__login {
    padding: 8px 12px;
    font-size: 15px;
  }
  .navbar__cta {
    padding: 8px 14px;
    font-size: 15px;
  }
  .navbar__menu-toggle {
    display: inline-flex;
  }
}

/* ── Marquee ──────────────────────────────────────────────── */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.animate-marquee { animation: marquee 30s linear infinite; }

/* ── Fade-up ──────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up 0.6s ease forwards; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 760px;
  overflow: hidden;
}
.hero--influencers {
  background: var(--ts-blush);
}
.hero__bg--influencers {
  object-position: center 44%;
}
/* Brands landing - peach hero art (iceberg / depth metaphor) */
.hero--brands {
  background: var(--ts-blush);
}
.hero__bg--brands {
  object-position: center 46%;
}
.hero--brands .hero__fade {
  height: 54%;
  background: linear-gradient(
    to bottom,
    rgba(249, 235, 230, 0) 0%,
    rgba(249, 235, 230, 0.45) 38%,
    rgba(252, 247, 243, 0.88) 62%,
    var(--ts-page) 100%
  );
}
.hero--brands .hero__content {
  padding-bottom: 24px;
}
.hero--brands .hero__title {
  font-size: 64px;
  line-height: 66px;
  letter-spacing: -3.6px;
}
.hero--brands .hero__subtitle {
  font-size: 22px;
  line-height: 31px;
}
/* Influencers landing - panel + fade so type clears busy line art */
.hero--influencers .hero__fade {
  height: 68%;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(246, 235, 227, 0) 0%,
    rgba(246, 235, 227, 0.35) 28%,
    rgba(246, 235, 227, 0.75) 48%,
    rgba(251, 246, 240, 0.96) 68%,
    var(--ts-page) 100%
  );
}
.hero__content--influencers {
  padding-bottom: 72px;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  gap: 0;
}
.hero--influencers .hero__content-panel {
  position: relative;
  isolation: isolate;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 36px 36px;
  border-radius: 22px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 18px 48px rgba(33, 27, 36, 0.08),
    0 4px 16px rgba(33, 27, 36, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.hero--influencers .hero__content-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 252, 248, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 0;
}
.hero--influencers .hero__content-panel > * {
  position: relative;
  z-index: 1;
}
.hero--influencers .hero__content-panel .hero__title {
  color: var(--ts-ink);
  text-shadow: none;
  max-width: 100%;
  margin: 0;
}
.hero__subtitle--influencers {
  color: var(--ts-ink-soft);
  font-weight: 500;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0;
  overflow: visible;
  text-wrap: balance;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
}
.btn-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 49px;
  color: var(--ts-ink-soft);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.3px;
  text-decoration: none;
  border-bottom: 1px solid rgba(48, 45, 42, 0.28);
  transition: color 0.2s, border-color 0.2s;
}
.btn-text-link:hover {
  color: var(--ts-action);
  border-color: rgba(33, 27, 36, 0.7);
}
.hero--home {
  background: var(--ts-blush);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__bg--home {
  width: 100%;
  height: calc(100% + 1.75rem);
  top: -1.75rem;
  bottom: auto;
  transform: none;
  object-fit: cover;
  object-position: center 72%;
}
.hero__bg--story {
  width: 100%;
  height: calc(100% + 1.75rem);
  top: -1.75rem;
  bottom: auto;
  transform: none;
  object-fit: cover;
  object-position: 46% 44%;
}
.hero--home.hero--story .hero__fade {
  height: 58%;
  background: linear-gradient(
    to bottom,
    rgba(244, 240, 252, 0) 0%,
    rgba(241, 236, 250, 0.55) 40%,
    rgba(248, 247, 249, 0.92) 72%,
    var(--ts-page) 100%
  );
}
.hero--home .hero__fade {
  display: block;
  height: 55%;
  background: linear-gradient(
    to bottom,
    rgba(244, 230, 220, 0) 0%,
    rgba(244, 230, 220, 0.62) 42%,
    rgba(244, 230, 220, 1) 100%
  );
}

/* FAQ: no hero banner; title lives in first section */
.section.faq-page {
  padding-top: 112px;
}
.faq-page__intro {
  max-width: 720px;
  margin-bottom: 56px;
}
.faq-page__title {
  margin-bottom: 18px;
}
.faq-page__lead {
  max-width: 640px;
}
@media (max-width: 768px) {
  .section.faq-page {
    padding-top: 96px;
  }
  .faq-page__intro {
    margin-bottom: 40px;
  }
}

/* Influencers hero - full banner at native aspect ratio (no crop, tilt, or curl) */
.hero.hero--influencers-banner {
  height: auto;
  overflow: visible;
}
.hero--influencers-banner .hero__banner-stack {
  position: relative;
  width: 100%;
}
.hero--influencers-banner .hero__banner-native {
  width: 100%;
  height: auto;
  display: block;
}
.hero--influencers-banner .hero__banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero--influencers-banner .hero__banner-overlay .hero__content {
  pointer-events: auto;
}
.hero--influencers-banner .hero__fade {
  z-index: 0;
  height: 72%;
  background: linear-gradient(
    to bottom,
    rgba(255, 252, 248, 0) 0%,
    rgba(255, 247, 240, 0.42) 18%,
    rgba(254, 242, 232, 0.78) 32%,
    rgba(251, 238, 228, 0.94) 44%,
    rgba(247, 240, 234, 1) 58%,
    var(--ts-page) 100%
  );
}
.hero--influencers-banner .hero__content {
  z-index: 1;
  top: min(44%, calc(100% - 320px));
  bottom: auto;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  max-width: 100%;
  box-sizing: border-box;
}
.hero--influencers-banner .hero__title {
  color: var(--ts-ink);
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.95),
    0 0 18px rgba(255, 250, 244, 0.95),
    0 0 36px rgba(255, 246, 238, 0.9),
    0 2px 10px rgba(255, 252, 248, 0.85);
}
.hero--influencers-banner .hero__subtitle {
  color: var(--ts-ink-soft);
  font-weight: 500;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.9),
    0 0 14px rgba(255, 250, 244, 0.95),
    0 0 26px rgba(255, 246, 238, 0.88),
    0 1px 6px rgba(255, 252, 248, 0.85);
}

.hero__fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(247,247,245,0) 0%, rgba(247,247,245,1) 100%);
}
.hero__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 80px;
  gap: 20px;
  text-align: center;
  z-index: 1;
}
.hero__content--home {
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  transform: none;
  align-items: center;
  max-width: none;
  padding-bottom: 72px;
  gap: 18px;
  text-align: center;
}
.hero__content--home .hero__title {
  font-size: 56px;
  line-height: 60px;
  letter-spacing: -2.8px;
  max-width: 740px;
}
.hero__content--home .hero__subtitle {
  font-size: 21px;
  line-height: 30px;
  max-width: 640px;
}
.hero__content--home .hero__pill {
  font-size: 12px;
  padding: 3px 8px 3px 12px;
}
.hero__pill {
  background-color: rgba(27, 6, 36, 0.6);
  color: white;
  border-radius: 99px;
  padding: 4px 8px 4px 14px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__title {
  font-size: 72px;
  font-weight: 400;
  line-height: 72px;
  letter-spacing: -4.32px;
  color: var(--ts-ink);
  margin: 0;
  max-width: 880px;
}
.hero__subtitle {
  font-size: 24px;
  line-height: 33.6px;
  letter-spacing: -0.72px;
  color: var(--ts-muted);
  max-width: 620px;
  margin: 0;
}
.btn-primary {
  background-color: var(--ts-action);
  color: white;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 20px;
  letter-spacing: -0.6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}
.btn-primary:hover { background-color: var(--ts-action-hover); }
.btn-ghost {
  border-radius: 60px;
  padding: 6px 16px 6px 18px;
  font-size: 16px;
  border: 1px solid rgba(33, 27, 36, 0.15);
  background: transparent;
  color: var(--ts-ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background-color 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  background: rgba(33, 27, 36, 0.04);
  border-color: rgba(33, 27, 36, 0.25);
}
@media (max-width: 768px) {
  .hero { height: 600px; }
  .hero.hero--influencers-banner {
    height: auto;
  }
  .hero--influencers-banner .hero__fade {
    height: 78%;
  }
  .hero--influencers-banner .hero__content {
    top: min(40%, calc(100% - 300px));
  }
  .hero__title { font-size: 40px; line-height: 44px; letter-spacing: -2.4px; }
  .hero__subtitle { font-size: 18px; line-height: 26px; padding: 0 24px; }
  .hero--home .hero__fade {
    height: 60%;
  }
  .hero--home.hero--story .hero__fade {
    height: 64%;
  }
  .hero__content--home {
    padding: 0 20px 64px;
  }
  .hero__content--home .hero__subtitle {
    padding: 0;
  }
  .hero--influencers .hero__fade {
    height: 72%;
  }
  .hero__content--influencers {
    padding-bottom: 48px;
  }
  .hero--influencers .hero__content-panel {
    padding: 24px 18px 28px;
    border-radius: 18px;
    gap: 18px;
  }
  .hero--influencers .hero__content-panel .hero__title {
    font-size: 34px;
    line-height: 38px;
    letter-spacing: -2px;
  }
  .hero__subtitle--influencers {
    font-size: 17px;
    line-height: 1.55;
    max-width: none;
    padding: 0;
  }
}

/* ── Section headings ─────────────────────────────────────── */
.section-heading {
  font-size: 44px;
  font-weight: 400;
  line-height: 48.4px;
  letter-spacing: -2.2px;
  color: var(--ts-ink);
  margin: 0 0 14px 0;
}
.section-subheading {
  font-size: 20px;
  color: var(--ts-muted);
  line-height: 28px;
  letter-spacing: -0.4px;
  margin: 0;
}
.section-eyebrow {
  background-color: var(--ts-page);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--ts-ink);
  display: inline-block;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .section { padding: 60px 24px 40px; }
  .section--tight { padding: 60px 24px; }
  .section-heading { font-size: 30px; line-height: 34px; letter-spacing: -1.2px; }
  .section-subheading { font-size: 16px; line-height: 22px; }
}

/* ── Stats counters ──────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.stat-counter {
  font-size: 80px;
  font-weight: 400;
  letter-spacing: -4px;
  color: var(--ts-action);
  line-height: 1;
}
.stat-label {
  font-size: 18px;
  color: var(--ts-muted);
  line-height: 21.6px;
  letter-spacing: -0.18px;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .stat-counter { font-size: 56px; letter-spacing: -2.5px; }
  .stat-label { font-size: 14px; }
}

/* ── 3-feature grid ─────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.feature-grid--two {
  grid-template-columns: 1fr 1fr;
}
.feature-cell {
  padding: 48px;
  border-right: 1px solid rgba(33, 27, 36, 0.08);
}
.feature-cell:first-child { padding-left: 0; }
.feature-cell:last-child  { padding-right: 0; border-right: none; }
.feature-grid--two .feature-cell:nth-child(2) {
  padding-right: 0;
  border-right: none;
}
.feature-cell h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.4px;
  color: var(--ts-ink);
  margin-bottom: 10px;
}
.feature-cell p {
  font-size: 16px;
  color: var(--ts-muted);
  line-height: 24px;
  letter-spacing: -0.16px;
  margin: 0;
}
.feature-cell svg {
  margin-bottom: 24px;
  color: var(--ts-action);
}
.divider {
  height: 1px;
  background-color: rgba(33, 27, 36, 0.08);
  margin: 48px 0 64px;
}
@media (max-width: 900px) {
  .feature-grid,
  .feature-grid--two { grid-template-columns: 1fr; }
  .feature-cell { padding: 24px 0; border-right: none; border-bottom: 1px solid rgba(33, 27, 36, 0.08); }
  .feature-cell:last-child { border-bottom: none; }
}

/* ── Testimonial card ─────────────────────────────────────── */
.testimonial-section {
  padding-bottom: 56px;
}
.testimonial {
  position: relative;
  background:
    radial-gradient(circle at 18% 16%, rgba(117, 215, 211, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff, var(--ts-tile));
  border: 1px solid rgba(33, 27, 36, 0.08);
  border-radius: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  overflow: hidden;
  min-height: 380px;
  box-shadow: 0 20px 56px rgba(33, 27, 36, 0.09);
}
.testimonial__text {
  position: relative;
  padding: clamp(32px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial__text::before {
  content: "“";
  position: absolute;
  top: 18px;
  left: clamp(24px, 4vw, 44px);
  font-size: 96px;
  line-height: 1;
  color: rgba(33, 27, 36, 0.08);
  pointer-events: none;
}
.testimonial__eyebrow {
  align-self: flex-start;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  border: 1px solid rgba(33, 27, 36, 0.10);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ts-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.testimonial__quote {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1.1px;
  color: var(--ts-ink);
  margin: 0 0 26px;
  max-width: 720px;
}
.testimonial__person {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ts-action);
  color: white;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.testimonial__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: var(--ts-ink);
}
.testimonial__role {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: var(--ts-muted);
}
.testimonial__image {
  position: relative;
  overflow: hidden;
}
.testimonial__image--logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 36px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(150deg, var(--ts-action), var(--ts-ink-soft));
}
.testimonial__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.testimonial__logo-card {
  position: relative;
  z-index: 1;
  width: min(280px, 82%);
  aspect-ratio: 1.68 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 20px 52px rgba(33, 27, 36, 0.24);
  backdrop-filter: blur(10px);
}
.testimonial__logo-card img {
  position: static;
  width: min(190px, 76%);
  height: auto;
  object-fit: contain;
  filter: none;
}
.testimonial__logo-label {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .testimonial-section { padding-bottom: 40px; }
  .testimonial { grid-template-columns: 1fr; border-radius: 24px; }
  .testimonial__text { padding: 30px 24px; }
  .testimonial__quote { font-size: 24px; line-height: 1.14; letter-spacing: -0.8px; }
  .testimonial__image { min-height: 240px; }
  .testimonial__image--logo { padding: 28px; }
}

/* ── AI section (full-width image w/ overlay) ────────────── */
.ai-section {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Darken the warm-tinted backdrop so the cloud image reads more like
     a stylised night sky; required for white text to land on the photo. */
  background-color: var(--ts-ink);
}
.ai-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
}
.ai-section__bg img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.18;
  mix-blend-mode: screen;
}
/* Dark scrim that guarantees text contrast regardless of the imagery
   underneath. Sits above bg + overlay (z-index 1) and below the content
   (z-index 2) since ::after is rendered after children in the stacking flow. */
.ai-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(11, 18, 32, 0.72) 0%, rgba(11, 18, 32, 0.48) 45%, rgba(11, 18, 32, 0.18) 80%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.42) 0%, rgba(11, 18, 32, 0.36) 60%, rgba(11, 18, 32, 0.55) 100%);
  pointer-events: none;
}
.ai-section__overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-section__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 0 40px;
}
.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  color: white;
  backdrop-filter: blur(4px);
}
.ai-pill__dot {
  width: 6px;
  height: 6px;
  background-color: var(--ts-aqua);
  border-radius: 2px;
}
.ai-section h2 {
  font-size: 56px;
  font-weight: 400;
  line-height: 60px;
  letter-spacing: -2.5px;
  color: white;
  max-width: 760px;
  margin: 0;
  text-shadow: 0 2px 24px rgba(33, 27, 36, 0.35);
}
.ai-section p {
  font-size: 17px;
  font-weight: 400;
  line-height: 27px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 620px;
  margin: 0;
  text-shadow: 0 1px 12px rgba(33, 27, 36, 0.3);
}
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  color: var(--ts-action);
  border-radius: 999px;
  padding: 12px 16px 13px;
  font-size: 14px;
  font-weight: 400;
  transition: opacity 0.2s;
}
.btn-light:hover { opacity: 0.9; }

/* AI section without photo (influencers / brands CTA) */
.ai-section--plain {
  height: auto;
  min-height: 0;
  padding: 96px 0;
  overflow: visible;
  background-color: var(--ts-page);
}
.ai-section--plain::after {
  display: none;
}
.ai-section--plain .ai-section__content {
  padding: 0 40px;
}
.ai-section--plain h2 {
  color: var(--ts-ink);
  text-shadow: none;
}
.ai-section--plain p {
  color: var(--ts-muted);
  text-shadow: none;
}
.ai-section--plain .ai-pill {
  background-color: rgba(27, 6, 36, 0.08);
  color: var(--ts-ink);
  backdrop-filter: none;
}
.ai-section--plain .ai-pill__dot {
  background-color: var(--ts-aqua);
}

@media (max-width: 768px) {
  .ai-section:not(.ai-section--plain) {
    height: 460px;
  }
  .ai-section h2 {
    font-size: 36px;
    line-height: 40px;
    letter-spacing: -1.5px;
  }
  .ai-section--plain {
    padding: 64px 0;
  }
}

/* ── Product accordion ────────────────────────────────────── */
.product-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
}
.product-row__cta {
  flex-shrink: 0;
  margin-top: 40px;
}
.product-content {
  display: flex;
  gap: 80px;
  align-items: center;
}
.acc-images {
  position: relative;
  width: 496px;
  height: 496px;
  flex-shrink: 0;
  background-color: var(--ts-tile);
  border-radius: 16px;
  overflow: hidden;
}
.acc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.acc-img--active {
  opacity: 1;
  z-index: 1;
}
.acc-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.acc-item {
  background-color: var(--ts-page);
  border-radius: 12px;
  padding: 16px;
  cursor: default;
}
.acc-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.acc-header svg {
  color: var(--ts-ink);
  flex-shrink: 0;
}
.acc-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--ts-ink);
  line-height: 28px;
  letter-spacing: -0.4px;
}
.acc-desc {
  display: none;
  font-size: 16px;
  color: var(--ts-muted);
  line-height: 24px;
  letter-spacing: -0.16px;
  margin-top: 8px;
}
.acc-item--open .acc-desc { display: block; }
.faq-acc {
  max-width: 920px;
}
.faq-acc .acc-item {
  padding: 0;
}
.faq-acc .acc-header {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  justify-content: space-between;
}
.faq-acc .acc-header::-webkit-details-marker {
  display: none;
}
.faq-acc .acc-header::after {
  content: "+";
  color: var(--ts-muted);
  font-size: 20px;
  line-height: 1;
}
.faq-acc details[open] .acc-header::after {
  content: "-";
}
.faq-acc details[open] .acc-desc {
  display: block;
}
.faq-acc .acc-desc {
  padding: 0 20px 18px;
}

/* ── Product engine visuals ───────────────────────────────── */
.engine-visual {
  position: relative;
  width: 496px;
  height: 496px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 18%, rgba(117, 215, 211, 0.22), transparent 30%),
    radial-gradient(circle at 78% 16%, rgba(255, 182, 109, 0.28), transparent 28%),
    linear-gradient(145deg, var(--ts-page), var(--ts-tile));
  border: 1px solid rgba(33, 27, 36, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.engine-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(33, 27, 36, 0.08);
  border-radius: 14px;
  background-image:
    linear-gradient(rgba(33,27,36,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,27,36,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.engine-visual > * {
  position: relative;
  z-index: 1;
}
.engine-visual__grid {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 42px;
  display: grid;
  gap: 12px;
}
.persona-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(33, 27, 36, 0.08);
  box-shadow: 0 12px 28px rgba(33, 27, 36, 0.08);
}
.persona-card--large {
  padding: 18px;
}
.persona-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ts-action), var(--ts-peach));
}
.persona-card__avatar--green {
  background: linear-gradient(135deg, var(--ts-aqua), var(--ts-aqua));
}
.persona-card__avatar--blue {
  background: linear-gradient(135deg, var(--ts-violet), var(--ts-lavender));
}
.persona-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.persona-card__body span,
.scenario-card__label,
.decision-meter small,
.ci-card__head span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ts-muted);
}
.persona-card__body strong,
.scenario-card strong,
.decision-meter strong,
.ci-card__head strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  color: var(--ts-action);
}
.embedding-map {
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: 48px;
  height: 150px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(33, 27, 36, 0.08);
}
.embedding-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--ts-action);
  box-shadow: 0 0 0 8px rgba(33, 27, 36, 0.08);
}
.scenario-card,
.decision-meter,
.ci-card,
.risk-list {
  position: absolute;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(33, 27, 36, 0.08);
  box-shadow: 0 14px 34px rgba(33, 27, 36, 0.09);
}
.scenario-card {
  left: 42px;
  right: 42px;
  top: 44px;
  padding: 22px;
}
.scenario-card p {
  margin-top: 8px;
  color: var(--ts-muted);
  font-size: 14px;
}
.agent-flow {
  position: absolute;
  left: 44px;
  right: 44px;
  top: 190px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.agent-node {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--ts-action);
  color: white;
  font-size: 13px;
  box-shadow: 0 14px 28px rgba(33, 27, 36, 0.16);
}
.agent-node--middle {
  background: var(--ts-aqua);
  color: var(--ts-action);
}
.reaction-stream {
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: 48px;
  display: grid;
  gap: 9px;
}
.reaction-stream div,
.risk-list div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ts-ink);
  font-size: 13px;
}
.reaction-stream span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ts-aqua);
}
.decision-meter {
  left: 42px;
  right: 42px;
  top: 44px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.decision-meter__ring {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: conic-gradient(var(--ts-aqua) 0 76%, rgba(33,27,36,0.10) 76% 100%);
  position: relative;
}
.decision-meter__ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  background: white;
  border-radius: inherit;
}
.ci-card {
  left: 54px;
  right: 54px;
  top: 190px;
  padding: 18px;
}
.ci-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ci-bar {
  margin-top: 16px;
  height: 12px;
  border-radius: 999px;
  background: rgba(33, 27, 36, 0.08);
  overflow: hidden;
}
.ci-bar span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ts-aqua), var(--ts-aqua));
}
.ci-card p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ts-muted);
}
.risk-list {
  left: 54px;
  right: 54px;
  bottom: 48px;
  padding: 10px;
  display: grid;
  gap: 8px;
}
.risk-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ts-aqua);
}
.risk-dot--amber {
  background: var(--ts-peach);
}
@media (max-width: 1100px) {
  .product-content { flex-direction: column; gap: 32px; }
  .acc-images,
  .engine-visual { width: 100%; max-width: 496px; height: auto; aspect-ratio: 1/1; }
  .acc-list { width: 100%; }
}
@media (max-width: 768px) {
  .product-row { flex-direction: column; gap: 16px; }
  .product-row__cta { margin-top: 0; }
}

/* ── Data Platform section ───────────────────────────────── */
.data-platform {
  background-color: white;
  padding: 80px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.data-card {
  background-color: var(--ts-page);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 8px;
}
.data-card svg {
  margin-bottom: 8px;
  color: var(--ts-ink);
}
.data-card__title {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.4px;
  color: var(--ts-ink);
  margin: 0 0 6px 0;
}
.data-card__desc {
  font-size: 16px;
  color: var(--ts-muted);
  line-height: 24px;
  letter-spacing: -0.16px;
  margin: 0;
}
/* ── Platform stack visualization ────────────────────────── */
.stack-viz {
  background-color: var(--ts-tile);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 100px;
}
.stack-layer {
  border-radius: 12px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stack-layer--addons {
  background: transparent;
  border: 1.5px dashed rgba(33, 27, 36, 0.18);
}
.stack-layer--core {
  background: white;
  box-shadow: 0 1px 0 rgba(33, 27, 36, 0.04);
}
.stack-layer__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--ts-muted);
  font-weight: 500;
}
.stack-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.stack-dot--addons {
  background: transparent;
  border: 1.5px dashed var(--ts-muted);
}
.stack-dot--core {
  background: var(--ts-ink);
}

/* Addons row → wrapping pills */
.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid rgba(33, 27, 36, 0.08);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ts-ink);
  letter-spacing: -0.14px;
  line-height: 1;
}
.stack-pill svg {
  color: var(--ts-muted);
  flex: none;
}
.stack-pill--soon {
  color: var(--ts-muted);
}
.stack-pill__tag {
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: var(--ts-tile);
  color: var(--ts-muted);
  padding: 3px 7px;
  border-radius: 999px;
  margin-left: 2px;
}
.stack-pill--ghost {
  background: transparent;
  border-style: dashed;
  color: var(--ts-muted);
}

/* Connector between addons and core */
.stack-connector {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  color: var(--ts-muted);
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.stack-connector__line {
  flex: 1;
  height: 1px;
  background: rgba(33, 27, 36, 0.12);
}

/* Core grid → 2x2 cells with title + tiny desc */
.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stack-cell {
  background: var(--ts-page);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 78px;
}
.stack-cell__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ts-ink);
  letter-spacing: -0.15px;
}
.stack-cell__desc {
  font-size: 12.5px;
  line-height: 17px;
  color: var(--ts-muted);
  letter-spacing: -0.12px;
}

@media (max-width: 1100px) {
  .data-platform { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px; }
  .stack-viz { padding: 20px; position: static; }
  .stack-layer { padding: 18px; }
}
@media (max-width: 520px) {
  .stack-grid { grid-template-columns: 1fr; }
}

/* ── Safe & Secure ───────────────────────────────────────── */
.safe-section {
  background-color: var(--ts-page);
  padding: 80px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.safe-section__intro {
  max-width: 480px;
  position: sticky;
  top: 100px;
}

/* ── Trust list ──────────────────────────────────────────── */
.trust-list {
  background: white;
  border-radius: 16px;
  padding: 4px 28px;
  list-style: none;
  margin: 0;
  box-shadow: 0 1px 0 rgba(33, 27, 36, 0.04);
}
.trust-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(33, 27, 36, 0.08);
}
.trust-row:last-child {
  border-bottom: none;
}
.trust-row__icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ts-page);
  border-radius: 10px;
  color: var(--ts-ink);
}
.trust-row__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.16px;
  color: var(--ts-ink);
  margin: 0 0 4px 0;
}
.trust-row__desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--ts-muted);
  letter-spacing: -0.14px;
  margin: 0;
}

@media (max-width: 1100px) {
  .safe-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }
  .safe-section__intro { position: static; }
  .trust-list { padding: 4px 20px; }
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background-color: var(--ts-page);
}
.site-footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  /* Fade the image's own cream background into the footer's cream so the
     boundary between the two doesn't form a visible seam. */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 30%, black 60%);
          mask-image: linear-gradient(to right, transparent 0%, transparent 30%, black 60%);
}
.site-footer__inner {
  position: relative;
  z-index: 1;
  padding: 80px 120px 40px;
  /* Reserve right-side breathing room for the tree artwork */
  max-width: 100%;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  /* Constrain columns to left ~62% so they don't overlap the tree */
  max-width: 62%;
}
.site-footer__col p {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--ts-ink);
  margin: 0 0 16px 0;
}
.site-footer__col a {
  font-size: 15px;
  color: var(--ts-muted);
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.15px;
  transition: color 0.2s;
}
.site-footer__col a:hover { color: var(--ts-ink); }
.site-footer__bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(33, 27, 36, 0.12);
  padding-top: 24px;
  /* Match column container width so the divider sits over the text area */
  max-width: 62%;
}
.site-footer__copy {
  font-size: 12px;
  color: var(--ts-muted);
}
.site-footer__bottom a {
  font-size: 13px;
  color: var(--ts-muted);
  transition: color 0.2s;
}
.site-footer__bottom a:hover { color: var(--ts-ink); }
@media (max-width: 1100px) {
  .site-footer { min-height: auto; }
  /* Hide the tree below desktop - it would overlap the columns once they
     expand past 62% width. Footer falls back to the cream background. */
  .site-footer__bg { display: none; }
  .site-footer__cols {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
  .site-footer__bottom { max-width: 100%; }
  .site-footer__inner { padding: 60px 24px 32px; }
}
@media (max-width: 640px) {
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ── Story, Team, and FAQ pages ─────────── */
.story-page,
.faq-page {
  background:
    radial-gradient(circle at 8% 6%, rgba(143, 116, 201, 0.18), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(255, 182, 109, 0.16), transparent 28%),
    var(--ts-page);
  color: var(--ts-ink);
  padding-top: 112px;
}
.story-hero,
.story-section,
.story-cta,
.faq-hero,
.faq-layout,
.faq-cta {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px;
}
.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-top: 64px;
  padding-bottom: 88px;
}
.story-hero h1,
.faq-hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(46px, 7vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.066em;
}
.story-hero p,
.faq-hero p {
  max-width: 700px;
  color: var(--ts-muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
  letter-spacing: -0.03em;
}
.story-hero__actions,
.faq-cta div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.story-hero__panel {
  display: grid;
  gap: 16px;
}
.meaning-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(33, 27, 36, 0.08);
  border-radius: 32px;
  padding: 28px;
  min-height: 220px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 70px -38px rgba(33, 27, 36, 0.28);
}
.meaning-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(143, 116, 201, 0.22);
}
.meaning-card--sage::before {
  background: rgba(117, 215, 211, 0.24);
}
.meaning-card span {
  display: block;
  color: var(--ts-ink);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.06em;
}
.meaning-card p {
  position: relative;
  max-width: 320px;
  margin: 18px 0 0;
  color: var(--ts-muted);
  font-size: 17px;
  line-height: 1.55;
}
.story-section {
  border-top: 1px solid rgba(33, 27, 36, 0.08);
}
.story-section--meaning,
.story-build {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}
.story-section h2,
.story-cta h2,
.faq-intro-card h2,
.faq-cta h2 {
  max-width: 780px;
  margin: 12px 0 0;
  font-size: clamp(32px, 4.8vw, 58px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.story-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(236, 227, 255, 0.88);
  color: var(--ts-ink-soft);
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.story-copy,
.story-timeline {
  display: grid;
  gap: 18px;
}
.story-copy p,
.story-card p,
.founder-card p,
.story-timeline p,
.story-cta p,
.faq-intro-card p,
.faq-list p,
.faq-cta p {
  color: var(--ts-muted);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.02em;
  margin: 0;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.story-card,
.founder-card,
.story-timeline > div,
.faq-intro-card,
.faq-list details {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(33, 27, 36, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(33, 27, 36, 0.06);
}
.story-card {
  min-height: 245px;
  padding: 26px;
}
.story-card__num,
.story-timeline span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--ts-violet);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.story-card h3,
.founder-card h3,
.story-timeline h3,
.faq-list summary {
  margin: 0 0 10px;
  color: var(--ts-ink);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.story-timeline > div {
  position: relative;
  padding: 24px 26px;
}
.story-timeline > div + div::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 36px;
  width: 1px;
  height: 18px;
  background: rgba(143, 116, 201, 0.32);
}
.story-section__head {
  max-width: 800px;
  margin-bottom: 34px;
}
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
/* Story page: centered team + founders */
.section--team {
  text-align: center;
}
.team-section__head {
  max-width: 760px;
  margin: 0 auto 48px;
}
.team-section__title {
  margin-left: auto;
  margin-right: auto;
}
.founder-grid--story {
  max-width: 960px;
  margin: 0 auto;
}
.founder-card--story > div:last-child {
  text-align: center;
}
.founder-card {
  overflow: hidden;
}
.founder-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 238px;
  background:
    radial-gradient(circle at 28% 18%, rgba(143, 116, 201, 0.22), transparent 36%),
    radial-gradient(circle at 78% 72%, rgba(255, 182, 109, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(236, 227, 255, 0.68));
  border-bottom: 1px solid rgba(33, 27, 36, 0.06);
}
.founder-card__photo {
  width: 168px;
  height: 168px;
  border-radius: 999px;
  object-fit: cover;
  background: white;
  border: 8px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(33, 27, 36, 0.16);
}
.founder-card__photo--jk {
  object-position: center 18%;
}
.founder-card__photo--prateek {
  object-position: center center;
}
.founder-card > div {
  padding: 28px;
}
.founder-role {
  margin: -4px 0 14px !important;
  color: var(--ts-ink-soft) !important;
  font-size: 14px !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em !important;
}
.story-cta,
.faq-cta {
  text-align: center;
  padding-bottom: 96px;
}
.story-cta h2,
.story-cta p,
.faq-hero h1,
.faq-hero p,
.faq-cta h2,
.faq-cta p {
  margin-left: auto;
  margin-right: auto;
}
.story-cta p,
.faq-cta p {
  max-width: 700px;
  margin-top: 18px;
}
.story-cta div {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.faq-hero {
  text-align: center;
  padding-top: 64px;
  padding-bottom: 56px;
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 24px;
}
.faq-intro-card {
  position: sticky;
  top: 112px;
  padding: 28px;
}
.faq-intro-card p {
  margin: 18px 0 24px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--ts-violet);
  font-weight: 500;
}
.faq-list details[open] summary::after {
  content: "-";
}
.faq-list p {
  padding: 0 24px 24px;
}
@media (max-width: 900px) {
  .story-page,
  .faq-page {
    padding-top: 88px;
  }
  .story-hero,
  .story-section,
  .story-cta,
  .faq-hero,
  .faq-layout,
  .faq-cta {
    padding-left: 20px;
    padding-right: 20px;
  }
  .story-hero,
  .story-section--meaning,
  .story-build,
  .story-grid,
  .founder-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-intro-card {
    position: static;
  }
}
@media (max-width: 640px) {
  .story-hero,
  .story-section,
  .story-cta,
  .faq-hero,
  .faq-layout,
  .faq-cta {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .story-hero h1,
  .faq-hero h1 {
    font-size: 42px;
  }
  .story-hero p,
  .story-copy p,
  .story-card p,
  .founder-card p,
  .story-timeline p,
  .story-cta p,
  .faq-intro-card p,
  .faq-list p,
  .faq-cta p {
    font-size: 16px;
  }
  .story-card,
  .story-timeline > div,
  .founder-card > div,
  .faq-intro-card,
  .faq-list summary,
  .faq-list p {
    padding-left: 20px;
    padding-right: 20px;
  }
  .founder-card__media {
    min-height: 210px;
  }
  .founder-card__photo {
    width: 148px;
    height: 148px;
  }
  .story-hero__actions .btn-primary,
  .story-hero__actions .btn-ghost,
  .story-cta .btn-primary,
  .story-cta .btn-ghost,
  .faq-cta .btn-primary,
  .faq-cta .btn-ghost {
    width: 100%;
  }
}

.story-page--text {
  background:
    radial-gradient(circle at 12% 0%, rgba(143, 116, 201, 0.12), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(255, 182, 109, 0.12), transparent 28%),
    var(--ts-page);
}
.story-text-hero,
.story-text-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 24px;
}
.story-text-hero {
  padding-top: 72px;
  padding-bottom: 76px;
}
.story-text-hero h1 {
  margin: 18px 0 20px;
  color: var(--ts-ink);
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.066em;
}
.story-text-hero p {
  max-width: 720px;
  color: var(--ts-muted);
  font-size: clamp(18px, 2.3vw, 23px);
  line-height: 1.48;
  letter-spacing: -0.03em;
}
.story-text-section {
  border-top: 1px solid rgba(33, 27, 36, 0.08);
}
.story-text-section h2 {
  margin: 14px 0 24px;
  color: var(--ts-ink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.052em;
}
.story-text-section p {
  margin: 0 0 18px;
  color: var(--ts-muted);
  font-size: 18px;
  line-height: 1.72;
  letter-spacing: -0.02em;
}
.story-text-section p strong {
  color: var(--ts-ink);
  font-weight: 500;
}
.story-text-cta {
  padding-bottom: 104px;
}
.story-text-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
@media (max-width: 640px) {
  .story-text-hero,
  .story-text-section {
    padding: 52px 20px;
  }
  .story-text-hero h1 {
    font-size: 42px;
  }
  .story-text-section p {
    font-size: 16px;
  }
  .story-text-cta .btn-primary,
  .story-text-cta .btn-ghost {
    width: 100%;
  }
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 160px 24px 80px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ts-ink-soft);
}
.prose h1 {
  font-size: 56px;
  font-weight: 400;
  line-height: 60px;
  letter-spacing: -2.6px;
  color: var(--ts-ink);
  margin-bottom: 16px;
}
.prose h2 {
  font-size: 28px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.8px;
  color: var(--ts-ink);
  margin: 48px 0 12px;
}
.prose h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ts-ink);
  margin: 32px 0 8px;
}
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 12px 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--ts-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose__lead {
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.4px;
  color: var(--ts-muted);
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .prose { padding: 120px 24px 64px; font-size: 16px; }
  .prose h1 { font-size: 36px; line-height: 40px; letter-spacing: -1.4px; }
}

/* ── Mobile responsive polish ─────────────────────────────── */
@media (max-width: 900px) {
  .container {
    width: 100%;
  }

  .navbar {
    height: 68px;
    padding: 0 18px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(33, 27, 36, 0.06);
  }

  .navbar__logo-img {
    width: 40px;
    height: 40px;
  }

  .navbar__actions {
    gap: 2px;
  }

  .hero {
    height: min(680px, 100svh);
    min-height: 560px;
  }

  .hero__content {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 56px;
  }

  .hero__title,
  .hero__content--home .hero__title,
  .hero--brands .hero__title {
    max-width: 100%;
    font-size: clamp(38px, 10vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.06em;
  }

  .hero__subtitle,
  .hero__content--home .hero__subtitle,
  .hero--brands .hero__subtitle {
    max-width: 36rem;
    font-size: clamp(17px, 4.6vw, 20px);
    line-height: 1.45;
    letter-spacing: -0.02em;
  }

  .hero__pill {
    max-width: calc(100vw - 40px);
    justify-content: center;
    text-align: center;
    line-height: 1.25;
  }

  .hero__bg--home {
    object-position: center 42%;
  }

  .hero__bg--story {
    object-position: 44% 40%;
  }

  .hero__bg--brands {
    object-position: center 38%;
  }

  .hero__bg--influencers {
    object-position: center 35%;
  }

  .hero--brands .hero__content {
    padding-bottom: 56px;
  }

  .stats-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-content {
    align-items: stretch;
  }

  .acc-images,
  .engine-visual {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0 14px;
  }

  .navbar__logo {
    gap: 6px;
    min-width: 0;
  }

  .navbar__logo-img {
    width: 34px;
    height: 34px;
  }

  .navbar__logo-text {
    font-size: 15px;
    letter-spacing: 0.35px;
  }

  .navbar__login {
    display: none;
  }

  .navbar__cta {
    padding: 8px 12px;
    font-size: 14px;
  }

  .section,
  .section--tight,
  .data-platform,
  .safe-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 44px;
  }

  .section--tight {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero {
    min-height: 580px;
  }

  .hero__content {
    gap: 16px;
    padding-bottom: 42px;
  }

  .hero__content--home {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 40px;
  }

  .hero--home .hero__fade,
  .hero--brands .hero__fade,
  .hero--influencers .hero__fade {
    height: 72%;
  }

  .hero--home.hero--story .hero__fade {
    height: 68%;
  }

  .hero--influencers .hero__content-panel {
    padding: 22px 16px 24px;
    box-shadow: 0 14px 34px rgba(33, 27, 36, 0.08);
  }

  .hero--influencers .hero__content-panel .hero__title {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.06;
    letter-spacing: -0.055em;
  }

  .hero__cta-row,
  .ai-section__content {
    width: 100%;
  }

  .btn-primary,
  .btn-light,
  .btn-ghost {
    justify-content: center;
  }

  .btn-primary {
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    font-size: 18px;
  }

  .product-row {
    margin-bottom: 28px;
  }

  .product-row__cta,
  .btn-ghost {
    width: 100%;
  }

  .feature-cell {
    padding: 22px 0;
  }

  .testimonial {
    border-radius: 22px;
  }

  .testimonial__text {
    padding: 28px 20px;
  }

  .testimonial__person {
    align-items: flex-start;
  }

  .testimonial__role {
    font-size: 14px;
    line-height: 20px;
  }

  .ai-section:not(.ai-section--plain) {
    min-height: 520px;
    height: auto;
    padding: 72px 0;
  }

  .ai-section__content,
  .ai-section--plain .ai-section__content {
    padding: 0 18px;
  }

  .ai-section h2 {
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.05em;
  }

  .ai-section p {
    font-size: 16px;
    line-height: 25px;
  }

  .acc-title {
    font-size: 17px;
    line-height: 23px;
  }

  .acc-desc {
    font-size: 15px;
    line-height: 22px;
  }

  .engine-visual {
    min-height: 340px;
  }

  .engine-visual::before {
    inset: 14px;
    background-size: 24px 24px;
  }

  .engine-visual__grid,
  .scenario-card,
  .decision-meter {
    left: 20px;
    right: 20px;
    top: 24px;
  }

  .embedding-map,
  .reaction-stream,
  .risk-list {
    left: 20px;
    right: 20px;
    bottom: 24px;
  }

  .agent-flow {
    left: 20px;
    right: 20px;
    top: 164px;
    grid-template-columns: 1fr;
  }

  .agent-node {
    min-height: 44px;
  }

  .ci-card {
    left: 20px;
    right: 20px;
    top: 160px;
  }

  .decision-meter__ring {
    width: 64px;
    height: 64px;
  }

  .reaction-stream div,
  .risk-list div {
    border-radius: 14px;
    align-items: flex-start;
  }

  .data-card {
    padding: 18px;
  }

  .trust-list {
    padding: 0 16px;
  }

  .trust-row {
    gap: 14px;
    padding: 20px 0;
  }

  .trust-row__icon {
    width: 36px;
    height: 36px;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .navbar__logo-text {
    display: none;
  }

  .hero__title,
  .hero__content--home .hero__title,
  .hero--brands .hero__title {
    font-size: 34px;
  }

  .hero__subtitle,
  .hero__content--home .hero__subtitle,
  .hero--brands .hero__subtitle {
    font-size: 16px;
  }

  .hero__pill {
    font-size: 12px;
    padding: 7px 10px 7px 12px;
  }

  .btn-primary {
    max-width: none;
  }

  .section-heading {
    font-size: 28px;
    line-height: 32px;
  }
}
