/* ==========================================================================
   ClickLess marketing site: shared foundation
   Tokens, base, navigation, buttons, section furniture, footer.
   Page-specific scenes live next to this file (home.css, ...).
   ========================================================================== */

:root {
  /* Surfaces */
  --ink-0: #04060c;
  --ink-1: #070b14;
  --ink-2: #0b1120;
  --ink-3: #111827;
  --panel: rgba(13, 18, 32, 0.72);
  --panel-solid: #0c1120;
  --glass: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.22);

  /* Text */
  --text: #f5f7fb;
  --text-2: #9ba6bb;
  --text-3: #626d84;

  /* Brand. Violet is the interactive accent, blue is its gradient partner. */
  --violet: #8b5cf6;
  --violet-200: #ddd6fe;
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-600: #7c3aed;
  --blue: #3b82f6;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --grad: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);

  /* Status and content-type coding (matches the console) */
  --green: #10b981;
  --green-300: #6ee7b7;
  --amber: #f59e0b;
  --amber-300: #fcd34d;
  --red: #f87171;
  --type-page: #60a5fa;
  --type-partial: #a78bfa;
  --type-collection: #fb923c;

  /* Type */
  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shape */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-xl: 0 50px 100px -30px rgba(0, 0, 0, 0.8);

  --nav-h: 68px;
  --page-pad: clamp(20px, 4vw, 48px);
  --max: 1240px;
}

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--sans);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  color: var(--text);
  background: var(--ink-0);
  line-height: 1.55;
  letter-spacing: -0.011em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Film grain. Opacity only, so it stays on the compositor. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

code,
.mono {
  font-family: var(--mono);
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(139, 92, 246, 0.45);
  color: #fff;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Icons ---------- */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type helpers ---------- */
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-300);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.h-display {
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.h-display .serif {
  display: inline-block;
  font-size: 1.08em;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #bfdbfe 0%, #c4b5fd 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.08em 0.1em 0;
  margin-bottom: -0.1em;
}

/* Once split into animated words, each word carries the gradient itself:
   background-clip on the parent does not paint through transformed children. */
.h-display .serif.is-split {
  /* Back to inline so a wrapped italic phrase uses the heading's line boxes
     instead of a second, taller box that collapses when the reveal finishes. */
  display: inline;
  background: none;
  padding: 0;
  margin: 0;
}

.h-display .serif.is-split .swi {
  background: linear-gradient(100deg, #bfdbfe 0%, #c4b5fd 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* The italic J swash runs left and down, past the word box. The gradient
     only paints the padding box, so the tail needs room on both sides.
     The negative margins keep the word in place and the line gap unchanged. */
  padding: 0 0.08em 0.28em 0.22em;
  margin-left: -0.22em;
  margin-bottom: -0.28em;
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.section {
  position: relative;
  padding: clamp(88px, 12vw, 168px) 0;
}

.section-head {
  display: grid;
  gap: 20px;
  max-width: 860px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
}

.section-head.center .lede {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease,
    transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn-primary {
  padding: 12px 20px;
  color: #fff;
  background: var(--grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 0 rgba(0, 0, 0, 0.4),
    0 10px 30px -8px rgba(124, 58, 237, 0.55);
  overflow: hidden;
  isolation: isolate;
}

/* Sheen that sweeps across on hover */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn-primary:hover {
  background: var(--grad);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 0 rgba(0, 0, 0, 0.4),
    0 16px 40px -8px rgba(124, 58, 237, 0.7);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-secondary {
  background: var(--glass);
  border-color: var(--line-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-3);
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1.02rem;
  border-radius: 13px;
}

/* ---------- Navigation ---------- */
nav#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

nav#navbar.scrolled {
  background: rgba(4, 6, 12, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 34px;
  width: auto;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-buttons .btn {
  color: var(--text-2);
}

.nav-buttons .btn:hover {
  color: var(--text);
}

.nav-buttons .btn-primary {
  margin-left: 10px;
  padding: 10px 16px;
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle .icon {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

.nav-dropdown.open .nav-dropdown-toggle .icon,
.nav-dropdown:hover .nav-dropdown-toggle .icon {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 40;
  min-width: 272px;
  padding: 8px;
  background: rgba(10, 14, 26, 0.96);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.2s ease, transform 0.3s var(--ease-out), visibility 0.2s;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a.active {
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-menu .item-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-dropdown-menu .item-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.35;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  padding: 10px;
  margin-right: -10px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  position: relative;
  width: 22px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 6, 12, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  width: 100%;
  max-width: 400px;
  max-height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: calc(var(--nav-h) + 12px) 24px 32px;
}

.mobile-menu-content a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--glass);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}

.mobile-menu.active .mobile-menu-content a {
  opacity: 1;
  transform: none;
}

.mobile-menu.active .mobile-menu-content a:nth-child(1) { transition-delay: 0.04s; }
.mobile-menu.active .mobile-menu-content a:nth-child(2) { transition-delay: 0.08s; }
.mobile-menu.active .mobile-menu-content a:nth-child(3) { transition-delay: 0.12s; }
.mobile-menu.active .mobile-menu-content a:nth-child(4) { transition-delay: 0.16s; }
.mobile-menu.active .mobile-menu-content a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-content a:nth-child(6) { transition-delay: 0.24s; }
.mobile-menu.active .mobile-menu-content a:nth-child(7) { transition-delay: 0.28s; }
.mobile-menu.active .mobile-menu-content a:nth-child(8) { transition-delay: 0.32s; }

.mobile-menu-content a.primary {
  justify-content: center;
  border: none;
  background: var(--grad);
}

.mobile-menu-content a[aria-current='page'] {
  border-color: rgba(139, 92, 246, 0.5);
}

/* ---------- Scroll reveal ----------
   Only armed once JS is running (html.js), so content is never hidden without it. */
/* Uses the individual `translate` / `scale` properties so `transform` stays
   free for pointer tilt and scroll-driven 3D on the same element. */
html.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease-out) var(--d, 0s), translate 1.1s var(--ease-out) var(--d, 0s),
    scale 1.1s var(--ease-out) var(--d, 0s);
}

html.js [data-reveal='scale'] {
  scale: 0.96;
}

html.js [data-reveal].is-in {
  opacity: 1;
  translate: none;
  scale: none;
}

/* Word-by-word heading reveal (built by site.js from [data-split]).
   Each word is exactly one line tall, aligned to the top of that line.
   overflow:hidden masks the rise. Opening it afterward lets descenders
   paint outside the line. The line box itself does not change, so wrapped
   headings do not pull together at the end of the animation. */
.sw {
  display: inline-block;
  vertical-align: top;
  height: 1lh;
  padding: 0 0.08em;
  margin: 0 -0.08em;
  overflow: hidden;
}

.sw > .swi {
  display: inline-block;
  transform: translate3d(0, 112%, 0) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 34ms + var(--d, 0s));
  will-change: transform;
}

.is-in .sw > .swi,
.is-in.sw > .swi {
  transform: none;
}

.split-done .sw {
  overflow: visible;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.stat {
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: none;
}

.stat .num {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #a5b4fc 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.stat .label {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.4;
  max-width: 22ch;
}

/* ---------- Founders ---------- */
.founders-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.founders-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-xl);
  transform-style: preserve-3d;
}

.founders-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founders-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 6, 12, 0.7));
  pointer-events: none;
}

.founders-text h2 {
  margin: 18px 0 22px;
}

.founders-text p {
  margin-bottom: 14px;
  color: var(--text-2);
  font-size: 1.04rem;
  line-height: 1.65;
  max-width: 54ch;
}

.founders-text strong {
  color: var(--text);
  font-weight: 600;
}

.founders-people {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.founder-card {
  flex: 1;
  min-width: 220px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--glass);
}

.founder-card .name {
  font-weight: 600;
}

.founder-card .role {
  margin: 2px 0 12px;
  font-size: 0.82rem;
  color: var(--text-3);
}

.founder-card .links {
  display: flex;
  gap: 8px;
}

.founder-card .links a,
.footer-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--glass);
  color: var(--text-2);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.35s var(--ease-out);
}

.founder-card .links a:hover,
.footer-social a:hover {
  color: var(--text);
  border-color: var(--line-3);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.founder-card .links .icon,
.footer-social .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Quotes ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.quote-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.quote-card .quote {
  flex: 1;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
}

.quote-card .quote p {
  margin: 0;
}

.quote-card .quote p + p {
  margin-top: 0.85em;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-author > div:last-child {
  min-width: 0;
}

/* ---------- Testimonial switcher ---------- */
.t-show {
  display: grid;
  gap: 18px;
}

.t-frame {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
}

.t-stage {
  position: relative;
  min-width: 0;
}

.t-show.is-ready .t-stage {
  overflow: hidden;
}

.t-show.is-ready .t-stage.is-measured {
  transition: height 0.4s ease;
}

.t-slide .quote {
  max-width: 42rem;
  font-size: clamp(1.15rem, 1.5vw, 1.38rem);
  line-height: 1.45;
}

.t-slide:not(.is-open) .quote.is-clamp {
  max-height: calc(1.45em * 4);
  overflow: hidden;
}

.t-slide:not(.is-open) .quote.is-clamp p {
  margin: 0;
}

.t-more[hidden] {
  display: none !important;
}

.t-more {
  display: inline-flex;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--violet-300);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.t-more:hover {
  color: #fff;
}

.t-more:focus-visible {
  outline: 2px solid var(--violet-300);
  outline-offset: 3px;
}

.t-show.is-ready .t-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.t-show.is-ready .t-slide.is-on {
  opacity: 1;
  pointer-events: auto;
}

.t-show.is-ready .t-slide .quote-author {
  display: none;
}

.t-nav {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.t-show.is-ready .t-nav {
  display: flex;
}

.t-nav:hover {
  border-color: var(--violet-300);
  color: #fff;
}

.t-prev .icon {
  transform: rotate(180deg);
}

.t-people {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.t-show.is-ready .t-people {
  display: flex;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 0 168px;
  max-width: 240px;
  scroll-snap-align: start;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.t-person:hover {
  border-color: var(--line-3);
}

.t-person .name,
.t-person .who {
  display: block;
}

.t-person .name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
}

.t-person .who {
  font-size: 0.74rem;
  line-height: 1.25;
  color: var(--text-3);
}

.t-person[aria-selected="true"] {
  border-color: rgba(167, 139, 250, 0.75);
  background: rgba(139, 92, 246, 0.14);
}

.t-person:focus-visible,
.t-nav:focus-visible {
  outline: 2px solid var(--violet-300);
  outline-offset: 2px;
}

.t-count {
  display: none;
  margin: -6px 0 0;
  color: var(--text-3);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.t-show.is-ready .t-count {
  display: block;
}

.t-show:not(.is-ready) .t-slide + .t-slide {
  margin-top: 16px;
}

.quote-avatar {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad);
  font-size: 0.8rem;
  font-weight: 600;
}

.quote-author .name {
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-author .who {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  background: none;
  border: none;
  text-align: left;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--violet-300);
}

.faq-q .icon {
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transition: transform 0.45s var(--ease-out), color 0.2s ease;
}

.faq-item.open .faq-q .icon {
  transform: rotate(180deg);
  color: var(--violet-300);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 4px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 64ch;
}

.faq-item.open .faq-a-inner {
  padding-bottom: 26px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 40px var(--page-pad) clamp(88px, 10vw, 140px);
}

.final-cta-card {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 5vw, 72px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(124, 58, 237, 0.32), transparent 65%),
    radial-gradient(ellipse 50% 60% at 15% 100%, rgba(59, 130, 246, 0.18), transparent 70%),
    var(--ink-2);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.final-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 75%);
}

.final-cta-card h2 {
  max-width: 16ch;
  margin: 0 auto 18px;
}

.final-cta-card p {
  margin-bottom: 34px;
  font-size: 1.15rem;
  color: var(--text-2);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Footer ---------- */
footer {
  padding: 72px var(--page-pad) 32px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.footer-content {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  margin-bottom: 48px;
}

.footer-brand .logo-img {
  height: 34px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 300px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.6;
}

.footer-company {
  font-size: 0.83rem;
  color: var(--text-3);
  line-height: 1.7;
}

.footer-company strong {
  color: var(--text-2);
  font-weight: 500;
}

.footer-company a {
  color: var(--text-2);
  text-decoration: none;
}

.footer-col h5 {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 0.93rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-bottom .copyright {
  font-size: 0.85rem;
  color: var(--text-3);
}

.footer-social {
  display: flex;
  gap: 8px;
}

/* ---------- Confetti canvas (driven by site.js) ---------- */
.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 2500;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-buttons { display: none; }
  .mobile-menu-btn { display: block; }
  .quotes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .founders-grid { grid-template-columns: 1fr; }
  .founders-photo { max-width: 440px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .final-cta-actions .btn { width: 100%; }
  .quote-card .quote { font-size: 1.12rem; }
  .t-frame {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
  }
  .t-stage { order: -1; flex: 1 0 100%; }
  .t-person { flex-basis: 210px; max-width: none; }
}

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