/* ---------- Tokens ---------- */
:root {
  --bg: #0a0d12;
  --bg-1: #0e131a;
  --bg-2: #131925;
  --bg-3: #1a2130;
  --line: #1f2738;
  --line-2: #2a3349;
  --text: #e6e9ef;
  --text-1: #b7bfcf;
  --text-2: #7a8497;
  --text-3: #525c70;

  --green: #22c96f;
  --green-soft: #12381f;
  --red: #ef4a5a;
  --red-soft: #3a141a;
  --amber: #f5b84b;
  --amber-soft: #3a2a0f;
  --cyan: #5fb0ff;
  --blue: #5fb0ff;
  --blue-soft: #102438;
  --purple: #b586ff;
  --purple-soft: #221740;

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 14px;

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* Honor the `hidden` HTML attribute even when other rules set display: */
[hidden] { display: none !important; }

/* Sticky nav offset: when jumping to in-page anchors, leave room above so the
 * sticky .nav doesn't cover the target. Includes product page categories,
 * feature cards, FAQ section anchors, and legal-doc section anchors. */
[id^="cat-"],
[id^="feat-"],
#features,
#community,
.faq-cat[id],
article.doc > section[id] {
  scroll-margin-top: 96px;
}

/* Hero video play overlay */
.hero-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(10, 13, 18, 0.62);
  border: 2px solid rgba(255, 255, 255, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  padding-left: 6px; /* optical centering for the triangle */
  z-index: 2;
}
.hero-video-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(34, 201, 111, 0.85);
  box-shadow: 0 14px 44px rgba(34, 201, 111, 0.35);
}
.hero-video-play.is-hidden { display: none; }

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 56px 0; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--text-2); text-transform: uppercase; }

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.028em; }
h3 { font-size: 22px; line-height: 1.15; }
p { color: var(--text-1); }

.mono { font-family: var(--mono); }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.green { color: var(--green); }
.red { color: var(--red); }
.amber { color: var(--amber); }

/* ---------- Promo banner (replaces ticker) ---------- */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 24px;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--amber) 14%, var(--bg-1)) 0%,
    color-mix(in oklab, var(--amber) 9%, var(--bg-1)) 100%);
  border-bottom: 1px solid color-mix(in oklab, var(--amber) 22%, var(--line));
  color: var(--text-1);
  font-size: 13px;
  text-decoration: none;
  transition: background .2s;
  flex-wrap: wrap;
  text-align: center;
}
.promo-banner:hover {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--amber) 20%, var(--bg-1)) 0%,
    color-mix(in oklab, var(--amber) 13%, var(--bg-1)) 100%);
}
.promo-star { color: var(--amber); font-size: 13px; }
.promo-headline { color: var(--text); font-weight: 600; }
.promo-sep { color: var(--text-3); }
.promo-body { color: var(--text-2); }
.promo-arrow { color: var(--amber); font-weight: 600; margin-left: 4px; transition: transform .2s; }
.promo-banner:hover .promo-arrow { transform: translateX(3px); }
body[data-hide-ticker="true"] .promo-banner { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 24px; }
.nav-left { display: flex; align-items: center; gap: 32px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 17px; }
.logo-mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link { color: var(--text-1); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.nav-link:hover { color: var(--text); }
.nav-caret { font-size: 9px; color: var(--text-3); margin-left: 2px; }
.nav-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: transparent; border: none; color: var(--text-2);
  cursor: pointer; border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav-icon-btn:hover { color: var(--text); background: var(--bg-1); }
.nav-icon-btn.is-open { color: var(--text); background: var(--bg-1); }

/* ---------- Language dropdown ---------- */
.lang-wrap { position: relative; display: inline-flex; }
.lang-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 160px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02);
  padding: 6px;
  z-index: 100;
  animation: lang-menu-in .12s ease-out;
}
.lang-wrap.is-open .lang-menu { display: block; }
@keyframes lang-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.lang-option {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  background: transparent; border: none;
  color: var(--text-1); font-size: 14px;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s, color .12s;
}
.lang-option:hover { background: var(--bg-2); color: var(--text); }
.lang-option.is-selected { color: var(--text); }
.lang-check { color: var(--amber); font-size: 12px; visibility: hidden; }
.lang-option.is-selected .lang-check { visibility: visible; }
.nav-link-login { color: var(--text); font-weight: 500; }
.nav-signup { padding: 8px 16px; font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-m);
  font-weight: 500; font-size: 14px; letter-spacing: -0.005em;
  transition: background .15s, border-color .15s, color .15s, transform .08s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green); color: #001810;
  font-weight: 600;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--green) 50%, transparent), 0 6px 24px -10px var(--green);
}
.btn-primary:hover { background: color-mix(in oklab, var(--green) 90%, white); }
.btn-ghost {
  border: 1px solid var(--line-2); color: var(--text);
  background: color-mix(in oklab, var(--bg-2) 60%, transparent);
}
.btn-ghost:hover { border-color: var(--text-2); background: var(--bg-2); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ---------- Pills & tags ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  border: 1px solid var(--line-2);
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; }
.pill-green { color: var(--green); background: var(--green-soft); border-color: color-mix(in oklab, var(--green) 30%, transparent); }
.pill-green .pill-dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.pill-red { color: var(--red); background: var(--red-soft); border-color: color-mix(in oklab, var(--red) 30%, transparent); }
.pill-red .pill-dot { background: var(--red); box-shadow: 0 0 8px var(--red); }
.pill-amber { color: var(--amber); background: var(--amber-soft); border-color: color-mix(in oklab, var(--amber) 30%, transparent); }
.pill-amber .pill-dot { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.pill-blue { color: var(--blue); background: var(--blue-soft); border-color: color-mix(in oklab, var(--blue) 30%, transparent); }
.pill-blue .pill-dot { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.pill-purple { color: var(--purple); background: var(--purple-soft); border-color: color-mix(in oklab, var(--purple) 30%, transparent); }
.pill-purple .pill-dot { background: var(--purple); box-shadow: 0 0 8px var(--purple); }

.tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-2);
}
.tag-strong { color: var(--text-1); }

/* ---------- Panels ---------- */
.panel {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--mono); font-size: 12px; color: var(--text-2);
}
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.dots span:nth-child(1) { background: #ef4a5a; }
.dots span:nth-child(2) { background: #f5b84b; }
.dots span:nth-child(3) { background: #22c96f; }

/* ---------- Feature rows (alternating split sections) ---------- */
.feature-rows { display: flex; flex-direction: column; gap: 80px; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px;
  align-items: center;
}
.feature-row.reverse { grid-template-columns: 1.1fr 1fr; }
.feature-row.reverse .feature-row-text { order: 2; }
.feature-row.reverse .feature-row-img { order: 1; }
.feature-row-text { max-width: 480px; }
.feature-row-title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 18px 0 18px;
}
.feature-row-body { color: var(--text-1); font-size: 15.5px; line-height: 1.6; }

.feature-badge {
  display: inline-flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-m);
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  max-width: 100%;
}
.feature-badge .pill-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.feature-badge-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.feature-badge-desc { font-size: 12px; color: var(--text-2); line-height: 1.35; }
.feature-badge.pill-green { border-color: color-mix(in oklab, var(--green) 30%, transparent); background: color-mix(in oklab, var(--green) 5%, var(--bg-1)); }
.feature-badge.pill-green .feature-badge-label { color: var(--green); }
.feature-badge.pill-green .pill-dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.feature-badge.pill-red { border-color: color-mix(in oklab, var(--red) 30%, transparent); background: color-mix(in oklab, var(--red) 5%, var(--bg-1)); }
.feature-badge.pill-red .feature-badge-label { color: var(--red); }
.feature-badge.pill-red .pill-dot { background: var(--red); box-shadow: 0 0 8px var(--red); }
.feature-badge.pill-amber { border-color: color-mix(in oklab, var(--amber) 30%, transparent); background: color-mix(in oklab, var(--amber) 5%, var(--bg-1)); }
.feature-badge.pill-amber .feature-badge-label { color: var(--amber); }
.feature-badge.pill-amber .pill-dot { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.feature-badge.pill-blue { border-color: color-mix(in oklab, var(--blue) 30%, transparent); background: color-mix(in oklab, var(--blue) 5%, var(--bg-1)); }
.feature-badge.pill-blue .feature-badge-label { color: var(--blue); }
.feature-badge.pill-blue .pill-dot { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.feature-badge.pill-purple { border-color: color-mix(in oklab, var(--purple) 30%, transparent); background: color-mix(in oklab, var(--purple) 5%, var(--bg-1)); }
.feature-badge.pill-purple .feature-badge-label { color: var(--purple); }
.feature-badge.pill-purple .pill-dot { background: var(--purple); box-shadow: 0 0 8px var(--purple); }

/* ---------- Review scroll carousel ---------- */
.review-scroll {
  display: flex; gap: 16px;
  overflow-x: auto;
  padding: 8px 28px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.review-scroll::-webkit-scrollbar { height: 8px; }
.review-scroll::-webkit-scrollbar-track { background: var(--bg-1); }
.review-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.review-card {
  flex: 0 0 360px;
  background: #1e1f26;
  border: 1px solid #2a2b33;
  border-radius: var(--r-l);
  padding: 18px 20px;
  scroll-snap-align: start;
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; text-align: center; position: relative; }
.hero::before {
  content: ''; position: absolute; inset: -10% 0 0 0; height: 600px; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in oklab, var(--green) 14%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 10%, color-mix(in oklab, var(--red) 10%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 { max-width: 960px; margin: 0 auto 20px; }
.hero h1 .accent { color: var(--green); }
.hero-sub { color: var(--text-1); max-width: 620px; margin: 0 auto 24px; font-size: 17px; }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.hero-ctas { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-support { color: var(--text-2); font-size: 14px; margin-bottom: 8px; }
.hero-support-bold { color: var(--text); font-weight: 500; margin-bottom: 40px; font-size: 15px; }

/* ---------- Featured in ---------- */
.featured {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.featured-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--text-3); text-transform: uppercase; text-align: center; margin-bottom: 18px; }
.featured-row { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; opacity: 0.72; }
.featured-row .brand { font-weight: 700; font-size: 17px; color: var(--text-1); letter-spacing: -0.01em; }

/* ---------- Section headers ---------- */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { max-width: 640px; margin: 0 auto; color: var(--text-1); font-size: 16px; }

/* ---------- Feature category tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.tab {
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px; color: var(--text-1);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-1);
  transition: all .15s;
}
.tab:hover { border-color: var(--line-2); color: var(--text); }
.tab.active { color: var(--text); border-color: var(--line-2); background: var(--bg-2); }
.tab .pill-dot { width: 6px; height: 6px; border-radius: 50%; }
.tab-green .pill-dot { background: var(--green); }
.tab-red .pill-dot { background: var(--red); }
.tab-amber .pill-dot { background: var(--amber); }
.tab-blue .pill-dot { background: var(--blue); }
.tab-purple .pill-dot { background: var(--purple); }
.tab.active.tab-green { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--green) 40%, transparent); }
.tab.active.tab-red { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--red) 40%, transparent); }
.tab.active.tab-amber { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--amber) 40%, transparent); }
.tab.active.tab-blue { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--blue) 40%, transparent); }
.tab.active.tab-purple { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--purple) 40%, transparent); }

/* ---------- Feature cards ---------- */
.features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.feature {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 24px;
  display: flex; flex-direction: column;
  min-height: 360px;
  transition: border-color .2s, background .2s, transform .2s;
}
.feature:hover { border-color: var(--line-2); background: color-mix(in oklab, var(--bg-1) 70%, var(--bg-2)); transform: translateY(-2px); }
.feature-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.feature h3 { margin-bottom: 8px; }
.feature-desc { color: var(--text-1); font-size: 14px; margin: 0 0 18px; }
/* Product surface chrome wrapping each feature viz */
.feature-surface {
  margin-top: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-m);
  background: linear-gradient(180deg, #0b0f15 0%, #070a0f 100%);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 20px 40px -20px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
}
.feature-surface-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg-1) 60%, #000);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}
.fsb-left { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.fsb-right { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.fsb-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.fsb-label { color: var(--text); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fsb-meta { color: var(--text-3); text-transform: none; letter-spacing: 0.04em; white-space: nowrap; }
.fsb-live { color: var(--text-2); font-weight: 600; }
.fsb-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #5fb0ff;
  box-shadow: 0 0 8px #5fb0ff;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.feature-surface-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 14px;
  border-top: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg-1) 40%, #000);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.feature-viz {
  position: relative;
  background: #050709;
  overflow: hidden;
  min-height: 180px;
  display: flex; align-items: stretch;
}
.feature-viz > * { flex: 1; }
.feature-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* tune raw screenshots to feel integrated, not flat screenshots */
  filter: brightness(0.95) contrast(1.15) saturate(0.88);
  transition: filter .35s ease, transform .6s ease;
}
.feature:hover .feature-img {
  filter: brightness(1.02) contrast(1.2) saturate(1);
  transform: scale(1.015);
}
/* scanline + vignette overlay to make images feel like live product surfaces */
.feature-viz::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}
.feature-viz::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
  z-index: 3;
}

.panel img {
  filter: brightness(0.96) contrast(1.1) saturate(0.9);
}
.panel img:hover {
  filter: brightness(1.02) contrast(1.16) saturate(1);
}

.feature.wide { grid-column: span 2; }

/* ---------- CTA block ---------- */
.cta-block {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 48px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, color-mix(in oklab, var(--green) 12%, transparent), transparent 60%),
    var(--bg-1);
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.18; pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black, transparent 70%);
}
.cta-block > * { position: relative; }
.cta-block h2 { margin: 14px auto 10px; max-width: 600px; }
.cta-block p.sub { color: var(--text-1); margin: 0 auto 24px; max-width: 540px; }
.cta-block .fine { color: var(--text-3); font-size: 13px; margin-top: 14px; }

/* ---------- Grid features (Built for Traders) ---------- */
.bft-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
}
.bft-item {
  background: var(--bg-1);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text);
  transition: background .2s;
}
.bft-item:hover { background: var(--bg-2); }
.bft-check {
  flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center;
  border: 1px solid color-mix(in oklab, var(--green) 35%, transparent);
}

/* ---------- Split layouts ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.split-narrow { gap: 48px; }

/* ---------- Quant bar ---------- */
.quant-bar {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 28px 32px;
  background: var(--bg-1);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left;
}
.quant-bar .hl { font-size: 18px; font-weight: 500; max-width: 560px; }
.quant-bar .hl b { color: var(--green); font-weight: 700; font-family: var(--mono); }

/* ---------- Discord ---------- */
.discord {
  background: #1e1f26;
  border: 1px solid #2a2b33;
  border-radius: var(--r-l);
  padding: 20px 22px;
  font-family: 'Whitney', 'Segoe UI', sans-serif;
  max-width: 640px; margin: 0 auto;
}
.dc-msg { display: flex; gap: 14px; padding: 10px 0; }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-3); flex-shrink: 0; display: grid; place-items: center; font-weight: 600; color: var(--text); font-size: 15px; }
.dc-body { flex: 1; }
.dc-name { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.dc-name b { color: #fff; font-size: 14.5px; }
.dc-name time { font-size: 11px; color: #9aa0aa; }
.dc-text { color: #dcddde; font-size: 14.5px; line-height: 1.44; }

/* ---------- Testimonial discord screens (carousel) ---------- */
.ts-wrap { overflow: hidden; }
.ts-track { display: flex; gap: 16px; }
.ts-card {
  flex: 0 0 320px;
  background: #1e1f26;
  border: 1px solid #2a2b33;
  border-radius: var(--r-l);
  padding: 16px 18px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--bg);
  color: var(--text-2);
  font-size: 13px;
}
.footer .wrap-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
  align-items: start;
}
.fn-brand { display: flex; flex-direction: column; gap: 14px; }
.fn-brand-row { display: flex; align-items: center; gap: 12px; }
.fn-brand-mark { width: 32px; height: 32px; flex: none; }
.fn-brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.fn-brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.fn-address {
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.55;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.fn-social { display: flex; flex-direction: column; align-items: flex-end; }
.fn-social-label {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-1);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.fn-social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.fn-social-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
  text-decoration: none;
}
.fn-social-btn:hover {
  color: var(--green);
  border-color: color-mix(in oklab, var(--green) 50%, var(--line));
  transform: translateY(-1px);
}
.fn-bottom-bar {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.fn-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.fn-copy {
  color: var(--text-3);
  font-size: 12.5px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.fn-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.fn-legal a { color: var(--text-3); font-size: 13px; text-decoration: none; }
.fn-legal a:hover { color: var(--text-1); }
.footer a:hover { color: var(--text); }

/* ---------- Awards badge ---------- */
.awards {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 40px 48px;
  text-align: center;
  max-width: 560px; margin: 0 auto 40px;
}
.awards-badge {
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--amber), color-mix(in oklab, var(--amber) 60%, #000));
  display: grid; place-items: center;
  margin: 0 auto 14px;
  color: #2a1d05; font-weight: 700; font-size: 11px; font-family: var(--mono); letter-spacing: 0.05em;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--amber) 15%, transparent);
}
.awards-badge-img {
  display: block;
  height: 120px;
  width: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.5));
}
.awards-shield {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 auto 20px;
}

/* ---------- Chart bits ---------- */
.chart-svg { display: block; width: 100%; height: 100%; }
.grid-line { stroke: var(--line); stroke-width: 1; }
.axis-text { fill: var(--text-3); font-family: var(--mono); font-size: 10px; }

/* ---------- OptionFlow table ---------- */
.of-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; }
.of-table th, .of-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.of-table th { color: var(--text-3); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.of-table tr:hover td { background: var(--bg-2); }
.of-table .bull { color: var(--green); }
.of-table .bear { color: var(--red); }
.of-table .sweep { background: color-mix(in oklab, var(--amber) 25%, transparent); color: var(--amber); padding: 2px 6px; border-radius: 4px; font-size: 10px; letter-spacing: 0.05em; }
.of-table .bronze-sweep { background: color-mix(in oklab, #c07c4f 25%, transparent); color: #d49872; padding: 2px 6px; border-radius: 4px; font-size: 10px; letter-spacing: 0.05em; }

.sweep { background: color-mix(in oklab, var(--amber) 25%, transparent); color: var(--amber); padding: 2px 6px; border-radius: 4px; font-size: 10px; letter-spacing: 0.05em; font-family: var(--mono); font-weight: 600; }
.bronze-sweep { background: color-mix(in oklab, #c07c4f 25%, transparent); color: #d49872; padding: 2px 6px; border-radius: 4px; font-size: 10px; letter-spacing: 0.05em; font-family: var(--mono); font-weight: 600; }

.of-search {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.of-search input {
  flex: 1; background: transparent; border: 0; outline: 0; color: var(--text);
  font-family: var(--mono); font-size: 13px;
}
.of-search input::placeholder { color: var(--text-3); }

/* ---------- Insider / Darkpool helpers ---------- */
.check-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; font-size: 14.5px; }
.check-row .ic { width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; flex-shrink: 0; font-size: 12px; margin-top: 1px; }
.check-row .ic.yes { background: var(--green-soft); color: var(--green); }
.check-row .ic.no { background: var(--red-soft); color: var(--red); }

.callout {
  border-left: 2px solid var(--green);
  background: color-mix(in oklab, var(--green) 6%, var(--bg-1));
  padding: 16px 20px;
  border-radius: 0 var(--r-m) var(--r-m) 0;
  font-size: 14.5px; color: var(--text);
  margin-top: 20px;
}

/* ---------- Tweaks panel ---------- */
.tw-panel {
  position: fixed; right: 18px; bottom: 18px; z-index: 100;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  padding: 14px 16px;
  font-size: 13px;
  width: 260px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.7);
}
.tw-panel h4 { font-size: 12px; letter-spacing: 0.12em; color: var(--text-2); text-transform: uppercase; margin-bottom: 12px; font-family: var(--mono); font-weight: 500; }
.tw-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.tw-row label { color: var(--text-1); font-size: 13px; }
.tw-row select, .tw-row input[type="checkbox"] {
  background: var(--bg-1); color: var(--text); border: 1px solid var(--line);
  border-radius: 6px; padding: 5px 8px; font-family: inherit; font-size: 12px;
}

/* ---------- Utility ---------- */
.flex { display: flex; }
.gap-s { gap: 8px; } .gap-m { gap: 14px; } .gap-l { gap: 24px; }
.mt-s { margin-top: 8px; } .mt-m { margin-top: 14px; } .mt-l { margin-top: 24px; }
.mb-s { margin-bottom: 8px; } .mb-m { margin-bottom: 14px; } .mb-l { margin-bottom: 24px; } .mb-xl { margin-bottom: 40px; }

/* ---------- Mobile nav drawer (hidden on desktop) ---------- */
.nav-burger {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}
.nav-burger:hover { background: var(--bg-1); }
.nav-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  z-index: 90;
  animation: drawerFadeIn .18s ease-out;
}
.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 340px);
  background: var(--bg-1);
  border-left: 1px solid var(--line-2);
  z-index: 91;
  padding: 20px 22px 28px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  overflow-y: auto;
  animation: drawerSlideIn .22s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.nav-drawer-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  color: var(--text-1); background: transparent;
  border: 1px solid var(--line);
}
.nav-drawer-close:hover { background: var(--bg-2); color: var(--text); }
.nav-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.nav-drawer-link:hover { color: var(--text); }
.nav-drawer-cta {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.nav-drawer-cta .btn { width: 100%; padding: 13px 18px; }
@keyframes drawerFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes drawerSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* =====================================================
   Tablet (≤ 900px)
   ===================================================== */
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .section { padding: 72px 0; }
  .section-sm { padding: 44px 0; }

  /* Layout collapses */
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: span 1; }
  .split, .feature-row, .feature-row.reverse { grid-template-columns: 1fr !important; gap: 28px; }
  .feature-row.reverse .feature-row-text { order: 1; }
  .feature-row.reverse .feature-row-img { order: 2; }
  .bft-grid { grid-template-columns: repeat(2, 1fr); }
  .quant-bar { flex-direction: column; text-align: center; padding: 24px; }
  .insider-grid-wrap { grid-template-columns: 1fr !important; }

  /* DarkPool: ensure phone mock comes after copy on mobile */
  .split > .panel[style*="order: -1"] { order: 0 !important; }

  /* Feature rows gap */
  .feature-rows { gap: 56px; }
  .feature-row-text { max-width: none; }

  /* Hero */
  .hero { padding: 48px 0 56px; }
  .hero-sub { font-size: 16px; }

  /* Section heading copy width */
  .sec-head { margin-bottom: 40px; }
  .sec-head p { font-size: 15px; }

  /* CTA block */
  .cta-block { padding: 40px 28px; }

  /* Awards */
  .awards { padding: 32px 28px; }
  .awards-shield { width: 140px; }

  /* Footer stays inline at tablet */
}

/* =====================================================
   Phone (≤ 720px) — switch to mobile nav, single column
   ===================================================== */
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  body { font-size: 14.5px; }

  /* Type scale */
  h1 { font-size: clamp(30px, 8.5vw, 40px); letter-spacing: -0.03em; }
  h2 { font-size: clamp(24px, 6.5vw, 32px); letter-spacing: -0.022em; }
  h3 { font-size: 19px; }

  .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }

  /* Promo banner: tighter, allow wrap */
  .promo-banner {
    font-size: 12.5px;
    padding: 8px 16px;
    gap: 6px;
    line-height: 1.35;
  }
  .promo-sep { display: none; }
  .promo-body { font-size: 12px; }

  /* ---- Nav: collapse to burger, but keep FAQ + Discord visible ---- */
  .nav-inner { height: 56px; gap: 10px; }
  .nav-left { gap: 10px; min-width: 0; }
  .nav-links { display: flex; gap: 14px; }
  .nav-links .nav-link { display: none; }
  .nav-links .nav-link-keep { display: inline-flex; font-size: 13px; }
  .nav-right { gap: 8px; }
  .nav-burger { display: inline-flex; }

  /* ---- Hero ---- */
  .hero { padding: 32px 0 44px; }
  .hero h1 { padding: 0 4px; }
  .hero-eyebrow { margin-bottom: 16px; font-size: 10.5px; }
  .hero-sub { font-size: 15px; margin-bottom: 20px; }
  .hero-pills { gap: 8px; margin-bottom: 22px; }
  .hero-pills .pill { font-size: 10.5px; padding: 4px 9px; }
  .hero-support { font-size: 13px; }
  .hero-support-bold { font-size: 14px; margin-bottom: 28px; line-height: 1.4; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-bottom: 28px; }
  .hero-ctas .btn { width: 100%; }
  .hero .panel { margin-top: 18px; }

  /* Panel headers — give the chart label room */
  .panel-head {
    padding: 9px 12px;
    font-size: 11px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .panel-head > div[style*="display:flex"],
  .panel-head > div[style*="display: flex"] {
    gap: 12px !important;
  }

  /* ---- Featured-in row ---- */
  .featured { padding: 24px 0; }
  .featured-row { gap: 22px 28px; }
  .featured-row .brand { font-size: 14px; }

  /* ---- Section header ---- */
  .sec-head { margin-bottom: 32px; }
  .sec-head .eyebrow { font-size: 10.5px; }
  .sec-head p { font-size: 14.5px; }

  /* ---- Feature category tabs: horizontal scroll ---- */
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 18px 12px;
    margin: 0 -18px 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab {
    flex-shrink: 0;
    padding: 9px 13px;
    font-size: 12.5px;
  }

  /* ---- Feature cards ---- */
  .feature {
    padding: 20px;
    min-height: 0;
  }
  .feature-head { gap: 8px; flex-wrap: wrap; }
  .feature-head .pill { font-size: 9.5px; padding: 3px 8px; }
  .feature-desc { font-size: 13.5px; }
  .feature-surface-bar { padding: 8px 12px; font-size: 9.5px; gap: 8px; }
  .fsb-meta { display: none; }
  .feature-surface-foot { padding: 6px 12px; font-size: 9px; }

  /* ---- BFT grid ---- */
  .bft-grid { grid-template-columns: 1fr; }
  .bft-item { padding: 16px 18px; font-size: 13.5px; }

  /* ---- OptionFlow / tables ---- */
  .of-table { font-size: 11px; }
  .of-table th, .of-table td { padding: 7px 8px; }
  .of-table th { font-size: 9.5px; letter-spacing: 0.05em; }
  .of-search { padding: 9px 12px; }
  .of-search input { font-size: 12px; }
  .sweep, .bronze-sweep { font-size: 9px; padding: 1px 5px; }

  /* ---- CTA block ---- */
  .cta-block { padding: 32px 22px; }
  .cta-block h2 { font-size: clamp(22px, 6.2vw, 28px); }
  .cta-block .sub { font-size: 14.5px; }

  /* ---- Awards ---- */
  .awards { padding: 28px 22px; margin-bottom: 28px; }
  .awards-shield { width: 120px; margin-bottom: 14px; }

  /* ---- Buttons ---- */
  .btn-lg { padding: 13px 18px; font-size: 14.5px; }

  /* ---- Quant bar ---- */
  .quant-bar .hl { font-size: 15.5px; }
  .quant-bar .btn { width: 100%; }

  /* ---- Insider checklist split: single column for inner grid ---- */
  .check-row { font-size: 13.5px; }

  /* ---- Footer stack ---- */
  .footer { padding: 28px 0 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .fn-social { align-items: flex-start; }
  .fn-bottom { flex-direction: column; align-items: flex-start; }

  /* ---- Testimonials carousel: hide arrows, allow narrower stage ---- */
  .tc-wrap { gap: 8px; }
  .tc-arrow { display: none; }
  .tc-stage { max-width: 100%; }
  .tc-slide.is-prev, .tc-slide.is-next { opacity: 0; }
  .tc-slide.is-active::after { font-size: 10px; padding: 5px 8px; bottom: 8px; right: 8px; }

  /* ---- Tweaks panel: don't dominate the screen ---- */
  .tw-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); max-width: 280px; }
}

/* =====================================================
   Small phone (≤ 380px) — squeeze remaining bits
   ===================================================== */
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  h1 { font-size: 28px; }
  .hero-pills .pill { font-size: 10px; }
  .featured-row { gap: 18px 22px; }
  .featured-row .brand { font-size: 13px; }
  .of-table th, .of-table td { padding: 6px 6px; font-size: 10.5px; }

  /* Hide premium column on tightest screens */
  .of-table th:nth-child(5),
  .of-table td:nth-child(5) { display: none; }

  /* Tightest nav: drop the language globe so FAQ/Discord/Login/Sign Up still fit */
  .nav-inner { gap: 8px; }
  .nav-right { gap: 6px; }
  .nav-right .lang-wrap { display: none; }
  .nav-links { gap: 10px; }
  .nav-links .nav-link-keep { font-size: 12.5px; }
}


/* ---------- Testimonials carousel ---------- */
.tc-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  outline: none;
}
.tc-stage {
  flex: 1;
  max-width: 380px;
  overflow: visible;
  position: relative;
}
.tc-viewport {
  position: relative;
  aspect-ratio: 757 / 1140;
  overflow: visible;
}
.tc-slide {
  position: absolute;
  inset: 0;
  border-radius: var(--r-l);
  border: 1px solid var(--line);
  background: #14161d;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.tc-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}
/* when a real screenshot is loaded, hide the placeholder-inner behind it */
.tc-slide.has-img .tc-placeholder-inner { display: none; }

/* slide states */
.tc-slide.is-active {
  transform: translateX(0) scale(1);
  opacity: 1;
  filter: none;
  z-index: 3;
  cursor: zoom-in;
}
.tc-slide.is-active:hover {
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.65), 0 0 0 1px var(--green);
}
/* click-to-expand hint on the active slide */
.tc-slide.is-active::after {
  content: '⛶ Click to expand';
  position: absolute;
  bottom: 12px; right: 12px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.06em;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 4;
}
.tc-slide.is-active:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.tc-slide.is-prev {
  transform: translateX(-54%) scale(0.86);
  opacity: 0.42;
  filter: blur(1px);
  z-index: 2;
  pointer-events: none;
}
.tc-slide.is-next {
  transform: translateX(54%) scale(0.86);
  opacity: 0.42;
  filter: blur(1px);
  z-index: 2;
  pointer-events: none;
}
.tc-slide.is-hidden {
  transform: translateX(0) scale(0.7);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* placeholder shown when screenshot src is missing */
.tc-placeholder {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, #1a1d26 0%, #141720 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tc-placeholder::before {
  content: '';
  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: 32px 32px;
  opacity: 0.6;
}
.tc-placeholder-inner {
  position: relative;
  text-align: center;
  color: var(--text-2);
  font-family: var(--mono);
  padding: 20px;
}
.tc-placeholder-num {
  font-size: 64px;
  font-weight: 600;
  color: var(--text-3);
  opacity: 0.3;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.tc-placeholder-label {
  font-size: 12px;
  color: var(--text-1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tc-placeholder-dim {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.tc-placeholder-path {
  font-size: 10px;
  color: var(--text-3);
  opacity: 0.6;
  letter-spacing: 0.02em;
  word-break: break-all;
  max-width: 300px;
  margin: 0 auto;
}

/* arrows */
.tc-arrow {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--text-1);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all 0.15s;
  z-index: 10;
  position: relative;
}
.tc-arrow:hover {
  background: var(--bg-2);
  border-color: var(--line-2);
  color: var(--text);
  transform: scale(1.05);
}
.tc-arrow:active {
  transform: scale(0.96);
}

/* dots + counter */
.tc-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  position: relative;
}
.tc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}
.tc-dot:hover { background: var(--text-3); transform: scale(1.2); }
.tc-dot.is-active {
  background: var(--text);
  width: 24px;
  border-radius: 4px;
}
.tc-counter {
  position: absolute;
  right: 0;
  display: flex;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.tc-counter-sep { opacity: 0.4; }

@media (max-width: 720px) {
  .tc-arrow { width: 38px; height: 38px; }
  .tc-counter { position: static; margin-left: 8px; }
  .tc-slide.is-prev, .tc-slide.is-next {
    opacity: 0;
  }
}

/* ---------- Discord CTA under testimonials carousel ---------- */
.discord-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin: 36px auto 0;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(88,101,242,0.10) 0%, rgba(88,101,242,0.04) 100%);
  border: 1px solid rgba(88,101,242,0.28);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.discord-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(88,101,242,0.55);
  background: linear-gradient(135deg, rgba(88,101,242,0.18) 0%, rgba(88,101,242,0.08) 100%);
}
.discord-cta-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 11px;
  background: #5865F2;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px -6px rgba(88,101,242,0.8);
}
.discord-cta-text { flex: 1; min-width: 0; }
.discord-cta-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}
.discord-cta-title b { color: #8b96ff; font-weight: 700; }
.discord-cta-sub {
  font-size: 13px;
  color: var(--text-1);
}
.discord-cta-go {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #5865F2;
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease;
}
.discord-cta:hover .discord-cta-go { background: #6d78f5; }

@media (max-width: 640px) {
  .discord-cta { flex-direction: column; text-align: center; padding: 20px; gap: 14px; }
  .discord-cta-go { width: 100%; justify-content: center; }
}

/* ---------- Testimonial lightbox ---------- */
.tc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 7, 11, 0.88);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 40px;
  animation: tcLightboxIn 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: zoom-out;
}
@keyframes tcLightboxIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.tc-lightbox-img {
  max-width: min(90vw, 820px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.08);
  cursor: default;
  animation: tcLightboxImgIn 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes tcLightboxImgIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.tc-lightbox-close,
.tc-lightbox-arrow {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.tc-lightbox-close:hover,
.tc-lightbox-arrow:hover {
  background: rgba(255,255,255,0.16);
  transform: scale(1.06);
}
.tc-lightbox-close { top: 24px; right: 24px; }
.tc-lightbox-arrow--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.tc-lightbox-arrow--next { right: 24px; top: 50%; transform: translateY(-50%); }
.tc-lightbox-arrow--prev:hover { transform: translateY(-50%) scale(1.06); }
.tc-lightbox-arrow--next:hover { transform: translateY(-50%) scale(1.06); }
.tc-lightbox-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 640px) {
  .tc-lightbox { padding: 16px; }
  .tc-lightbox-close, .tc-lightbox-arrow { width: 40px; height: 40px; }
  .tc-lightbox-arrow--prev { left: 8px; }
  .tc-lightbox-arrow--next { right: 8px; }
}
