/* BII Technology — shared design system
   Fonts are loaded from the document head (preconnect + link), never via
   @import — an @import here would block rendering until the font CSS lands. */

:root {
  --bg: #0a0a0f;
  --surface: #14141c;
  --surface-2: #191922;
  --surface-3: #1f1f2a;
  --border: #24242f;
  --border-2: #2e2e3c;
  --text: #f2f1f5;
  --muted: #9a97a8;
  --muted-2: #7d7a8c;
  --accent: #6c5cf0;
  --accent-2: #4cc9f0;
  --danger: #ef6a6a;
  --success: #4ade80;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --nav-h: 72px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-width: 0;
  overflow-x: hidden;
}

body {
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* One heading scale for the whole site. Every heading is sentence case —
   only proper nouns (product names, platforms) keep their capitals. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  text-wrap: balance;
  margin: 0 0 0.5em 0;
  color: var(--text);
  hyphens: none;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem);   line-height: 1.12; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.18; letter-spacing: -0.014em; }
h3 { font-size: 1.08rem;  line-height: 1.32; letter-spacing: -0.006em; }
h4 { font-size: 0.98rem;  line-height: 1.35; letter-spacing: -0.004em; }

p {
  margin: 0 0 1em 0;
  color: var(--muted);
  text-wrap: pretty;      /* stops single-word last lines */
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

ul, ol { margin: 0 0 1em 0; }

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--accent-2);
  display: inline-block;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* ---------- Nav ---------- */
.site-nav {
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}
/* Scrolled away from the top: give the bar a shadow so it reads as floating. */
html.is-scrolled .site-nav { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }

/* Scrolling down: hide it and give the reader the whole screen.
   Scrolling up: bring it straight back. */
html.nav-hidden .site-nav { transform: translateY(-100%); }

/* The fixed bar no longer takes up space, so the page needs it back. */
body { padding-top: var(--nav-h); }

@media (prefers-reduced-motion: reduce) {
  .site-nav { transition: none; }
  html.nav-hidden .site-nav { transform: none; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-text { display: inline-block; }
.brand-text span { color: var(--accent-2); }
.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 7px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.footer-brand-col .brand-mark { width: 34px; height: 34px; border-radius: 8px; }
@media (max-width: 420px) {
  .brand { gap: 9px; }
  .brand-mark { width: 27px; height: 27px; }
  .brand-text { font-size: 1.02rem; }
}
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); text-decoration: none; }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}
.nav-links a.nav-cta.active::after { display: none; }
.nav-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05050a !important;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem !important;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.92; text-decoration: none; }
.nav-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.nav-cta:hover::after { left: 130%; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  color: var(--text);
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 940px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 4px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.nav-cta {
    width: auto;
    margin-top: 10px;
    padding: 12px 22px;
  }
  .nav-toggle { display: block; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs {
  border-bottom: 1px solid var(--border);
  background: rgba(20, 20, 28, 0.4);
  font-size: 0.82rem;
}
.crumbs .wrap {
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.crumb-sep { color: var(--border-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 46px;
  transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; min-height: 38px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05050a;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { opacity: 0.92; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--accent-2); }
.linklike {
  background: none;
  border: 0;
  color: var(--accent-2);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 104px 0 88px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  max-width: 160vw;
  background: radial-gradient(ellipse at center, rgba(108, 92, 240, 0.35), rgba(76, 201, 240, 0.12) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: heroGlow 9s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  top: -220px;
  left: 30%;
  width: 700px;
  height: 480px;
  max-width: 150vw;
  background: radial-gradient(ellipse at center, rgba(76, 201, 240, 0.28), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  animation: heroDrift 12s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
@keyframes heroDrift {
  0% { transform: translate(-60px, 0) scale(1); }
  100% { transform: translate(60px, 30px) scale(1.15); }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 260px; height: 260px; background: rgba(108, 92, 240, 0.28); top: -60px; left: 6%; animation: floatA 14s ease-in-out infinite; }
.orb-2 { width: 200px; height: 200px; background: rgba(76, 201, 240, 0.22); top: 60px; right: 8%; animation: floatB 17s ease-in-out infinite; }
@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(26px, 32px); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-22px, 26px); }
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 860px; margin: 18px auto 20px; }
.hero p.lead { max-width: 660px; margin: 0 auto 34px; }
p.lead { font-size: 1.08rem; color: var(--muted); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--muted-2);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.dot-sep { color: var(--border-2); }

/* Hero entrance */
.hero .mono, .hero h1, .hero p.lead, .hero-ctas, .hero-meta {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.hero .mono { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.14s; }
.hero p.lead { animation-delay: 0.26s; }
.hero-ctas { animation-delay: 0.38s; }
.hero-meta { animation-delay: 0.5s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 26px;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 320px;
  max-width: 150vw;
  background: radial-gradient(ellipse at center, rgba(108, 92, 240, 0.26), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: heroGlow 9s ease-in-out infinite alternate;
}
.page-hero .wrap { position: relative; }
.page-hero p.lead { max-width: 620px; margin: 16px auto 0; }
.page-hero .hero-ctas { margin-top: 28px; }
.page-hero .mono, .page-hero h1, .page-hero p, .page-hero .hero-ctas {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.page-hero .mono { animation-delay: 0.05s; }
.page-hero h1 { animation-delay: 0.14s; }
.page-hero p { animation-delay: 0.26s; }
.page-hero .hero-ctas { animation-delay: 0.36s; }

/* ---------- Split hero (product pages) ---------- */
.split-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 54px;
  border-bottom: 1px solid var(--border);
}
.split-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.split-hero .hero-copy { min-width: 0; }
.split-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 14px 0 16px; }
.split-hero p.lead { margin: 0 0 22px; max-width: 34em; }
.hero-tags { margin-bottom: 26px; }
.split-hero .hero-ctas { justify-content: flex-start; }
.hero-note {
  margin: 18px 0 0;
  font-size: 0.86rem;
  color: var(--muted-2);
}
.split-hero .mono, .split-hero h1, .split-hero p.lead,
.split-hero .hero-tags, .split-hero .hero-ctas, .split-hero .hero-note {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.split-hero .mono { animation-delay: 0.04s; }
.split-hero h1 { animation-delay: 0.12s; }
.split-hero p.lead { animation-delay: 0.22s; }
.split-hero .hero-tags { animation-delay: 0.3s; }
.split-hero .hero-ctas { animation-delay: 0.38s; }
.split-hero .hero-note { animation-delay: 0.46s; }

.hero-visual { min-width: 0; }
.visual-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2);
  border-radius: 18px;
  padding: 20px;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.visual-card::before {
  content: '';
  position: absolute;
  inset: -40% 40% 55% -20%;
  background: radial-gradient(ellipse at center, rgba(108, 92, 240, 0.35), transparent 70%);
  pointer-events: none;
}
.visual-dots { display: flex; gap: 7px; position: relative; }
.visual-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-2);
}
.visual-dots i:first-child { background: rgba(239, 106, 106, 0.6); }
.visual-dots i:nth-child(2) { background: rgba(108, 92, 240, 0.6); }
.visual-icon {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-icon-svg {
  width: 40%;
  max-width: 130px;
  height: auto;
  color: var(--accent-2);
  opacity: 0.9;
}
.visual-lines { position: relative; display: flex; flex-direction: column; gap: 9px; }
.visual-lines span {
  height: 9px;
  border-radius: 5px;
  background: var(--surface-3);
}
.visual-lines span:first-child { width: 78%; background: linear-gradient(90deg, rgba(108,92,240,0.5), rgba(76,201,240,0.25)); }
.visual-lines span:nth-child(2) { width: 92%; }
.visual-lines span:last-child { width: 60%; }

@media (max-width: 900px) {
  .split-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: -1; max-width: 420px; }
}

/* ---------- Sticky buy bar ---------- */
.buybar {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  transition: transform 0.25s ease, top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 60;
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-140%);
  visibility: hidden;
}
html.nav-hidden .buybar { top: 0; }
.buybar.show { transform: translateY(0); visibility: visible; }
.buybar .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 62px;
}
.buybar-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.buybar-cat { margin-right: auto; color: var(--muted-2); }
@media (max-width: 640px) {
  .buybar { top: auto; bottom: 0; transform: translateY(100%); border-bottom: 0; border-top: 1px solid var(--border); }
  .buybar .wrap { height: 64px; padding-right: 88px; }
  .buybar-cat { display: none; }
}

/* ---------- Motion system ----------
   Everything here is transform, opacity and clip-path only. No layout
   properties are animated, so nothing here can cause a layout shift or
   force the browser to re-run layout while scrolling. */

/* Thin progress bar across the very top of the page. */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 70;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  pointer-events: none;
}

/* ---- entrance animations ---- */
[data-anim] {
  opacity: 0;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s ease,
    clip-path 1s cubic-bezier(0.76, 0, 0.24, 1);
}
[data-anim].in {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0 0 0);
}

[data-anim="up"]      { transform: translate3d(0, 56px, 0); }
[data-anim="down"]    { transform: translate3d(0, -40px, 0); }
[data-anim="left"]    { transform: translate3d(-70px, 0, 0); }
[data-anim="right"]   { transform: translate3d(70px, 0, 0); }
[data-anim="scale"]   { transform: scale(0.9); }
[data-anim="rise"]    { transform: translate3d(0, 64px, 0) scale(0.96); }
[data-anim="soft"]    { transform: translate3d(0, 26px, 0); filter: blur(8px); }
[data-anim="fade"]    { transform: none; }
/* the ones that make it feel expensive */
[data-anim="tilt"]    { transform: perspective(1200px) translate3d(0, 70px, 0) rotateX(9deg) scale(0.97); transform-origin: 50% 100%; }
[data-anim="swing"]   { transform: perspective(1200px) translate3d(0, 46px, 0) rotateY(-8deg) scale(0.97); transform-origin: 0% 50%; }
[data-anim="curtain"] { clip-path: inset(0 0 100% 0); transform: translate3d(0, 22px, 0); }
[data-anim="wipe"]    { clip-path: inset(0 100% 0 0); }
[data-anim="pop"]     { transform: scale(0.82) translate3d(0, 24px, 0); }

/* Children of a stagger container arrive one after another. */
[data-stagger] > * { transition-delay: var(--d, 0ms); }

/* ---- headline reveal, word by word ---- */
.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.split-word {
  display: inline-block;
  transform: translate3d(0, 105%, 0) rotate(2deg);
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--wd, 0ms),
    opacity 0.6s ease var(--wd, 0ms);
  will-change: transform;
}
.split-ready .split-word { }
.in .split-word, .split-in .split-word {
  transform: translate3d(0, 0, 0) rotate(0);
  opacity: 1;
}

/* ---- scroll-linked parallax ---- */
[data-parallax] { will-change: transform; }

/* ---- the line that draws itself ---- */
.anim-line {
  display: block;
  height: 1px;
  margin: 26px auto 0;
  max-width: 220px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.in .anim-line, [data-anim].in > .anim-line { transform: scaleX(1); }

/* ---- card tilt on pointer ---- */
.tiltable {
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tiltable.tilting { transition: transform 0.08s linear; }

/* ---- marquee strip ---- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--muted-2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.02em;
}
.marquee-item::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---- counters ---- */
.count-up { font-variant-numeric: tabular-nums; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
/* Only the label directly under .stat — not the counter span inside <b>,
   which must inherit the big gradient type. */
.stat > span { display: block; font-size: 0.86rem; color: var(--muted-2); }
.stat b span {
  font: inherit;
  color: inherit;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: inherit;
}

/* ---- old class still works ---- */
.reveal { opacity: 0; transform: translate3d(0, 34px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible, .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-anim], .reveal, .split-word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .anim-line { transform: scaleX(1) !important; transition: none !important; }
  .marquee-track { animation: none; }
  .scroll-progress { display: none; }
  [data-parallax] { transform: none !important; }
}

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-tight { padding: 52px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .mono { display: block; margin-bottom: 12px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { margin: 0; }
.center-cta { text-align: center; margin-top: 42px; }

.band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Cards ---------- */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.band .card { background: var(--bg); }
.card:hover { border-color: rgba(108, 92, 240, 0.5); transform: translateY(-3px); }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; }
.card .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--accent-2);
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin-bottom: 14px; }
.mini-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.86rem;
  color: var(--muted-2);
}
.mini-list li { padding: 3px 0 3px 16px; position: relative; }
.mini-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.mini-list a { color: var(--muted); }
.p-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-2);
}
.card-link:hover .p-more span,
.p-card:hover .p-more span { transform: translateX(3px); }
.p-more span { transition: transform 0.2s ease; display: inline-block; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
  line-height: 1.4;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}
.p-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.band .p-card { background: var(--bg); }
.p-card:hover {
  border-color: rgba(108, 92, 240, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.p-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  color: inherit;
}
.p-card-link:hover { text-decoration: none; }
.p-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(108, 92, 240, 0.12);
  border: 1px solid rgba(108, 92, 240, 0.25);
  margin-bottom: 16px;
}
.p-icon-svg { width: 24px; height: 24px; color: var(--accent-2); }
.p-cat { font-size: 0.68rem; color: var(--muted-2); margin-bottom: 8px; }
.p-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.p-card p { font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.p-card .tags { margin-bottom: 16px; }
.result-count { font-size: 0.86rem; color: var(--muted-2); margin-bottom: 18px; }
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  border: 1px dashed var(--border-2);
  border-radius: var(--radius);
}

/* ---------- Filter rail ---------- */
.filter-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.filter-rail {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  min-width: 0;
}
.search-box {
  position: relative;
  margin-bottom: 22px;
}
.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted-2);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}
.search-box input::placeholder { color: var(--muted-2); }
.search-box input:focus { outline: none; border-color: var(--accent-2); }
/* ---------- Chip scroller ----------
   A row that scrolls sideways has to say so, or people assume they are seeing
   everything. Four signals: an edge fade, the next chip peeking in, arrows for
   pointer users, and snapping so it settles neatly. */
.chip-scroller { position: relative; }

/* The fade only appears when there is actually something past the edge. */
.chip-scroller::before,
.chip-scroller::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}
.chip-scroller::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 15%, transparent);
}
.chip-scroller::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 15%, transparent);
}
.band .chip-scroller::before { background: linear-gradient(90deg, var(--surface) 15%, transparent); }
.band .chip-scroller::after { background: linear-gradient(270deg, var(--surface) 15%, transparent); }
.chip-scroller.can-l::before { opacity: 1; }
.chip-scroller.can-r::after { opacity: 1; }

/* Arrows: only for devices with a real pointer, and only when they do something. */
.chip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s ease, transform 0.15s ease, opacity 0.2s ease;
}
.chip-arrow svg { width: 16px; height: 16px; }
.chip-arrow:hover { border-color: var(--accent-2); }
.chip-arrow-l { left: -6px; }
.chip-arrow-r { right: -6px; }
.chip-scroller.can-l .chip-arrow-l,
.chip-scroller.can-r .chip-arrow-r { display: flex; }

/* On a phone the arrows sit over the fade, so make them solid enough to read
   against a moving row of chips. */
@media (max-width: 900px) {
  .chip-arrow {
    width: 32px;
    height: 32px;
    background: var(--surface-3);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  }
  .chip-arrow-l { left: -4px; }
  .chip-arrow-r { right: -4px; }
}

.chip-row { display: flex; flex-direction: column; gap: 8px; }
.chip-short { display: none; }
.chip-row-center { flex-direction: row; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  min-height: 44px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.chip-row-center .filter-chip { width: auto; }
.filter-chip:hover { color: var(--text); border-color: var(--border-2); }
.filter-chip.is-active {
  color: var(--text);
  border-color: rgba(108, 92, 240, 0.6);
  background: rgba(108, 92, 240, 0.12);
}
.chip-n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted-2);
}
.filter-chip.is-active .chip-n { color: var(--accent-2); }

@media (max-width: 900px) {
  .filter-layout { grid-template-columns: 1fr; gap: 26px; }
  .filter-rail { position: static; }
  .chip-row {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-left: 2px;
    /* leave a sliver of the next chip visible — the strongest hint of all */
    padding-right: 26px;
  }
  .chip-row .filter-chip { scroll-snap-align: start; }
  .chip-row::-webkit-scrollbar { display: none; }
  .filter-chip { width: auto; flex-shrink: 0; }
  .chip-row-center { flex-wrap: wrap; overflow: visible; }
}

/* ---------- Problem / fix ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.ba-col {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface-2);
}
.ba-col .mono { display: block; margin-bottom: 12px; }
.ba-col p { margin: 0; font-size: 0.98rem; }
.ba-pain { border-left: 3px solid rgba(239, 106, 106, 0.6); }
.ba-pain .mono { color: var(--danger); }
.ba-fix { border-left: 3px solid rgba(74, 222, 128, 0.6); }
.ba-fix .mono { color: var(--success); }
.ba-fix p { color: var(--text); }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.f-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
  position: relative;
  transition: border-color 0.2s ease;
}
.band .f-item { background: var(--bg); }
.f-item:hover { border-color: var(--border-2); }
.f-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}
.f-item h3::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.f-item p { font-size: 0.92rem; margin: 0; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.step { min-width: 0; }
.step .num {
  font-family: var(--font-mono);
  color: var(--accent-2);
  font-size: 0.82rem;
  margin-bottom: 10px;
  display: block;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; margin: 0; }

/* ---------- Why us ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.diff {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}
.diff h3 { font-size: 1rem; margin-bottom: 8px; color: var(--accent-2); }
.diff p { font-size: 0.92rem; margin: 0; }

/* ---------- Tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}
.tier {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.band .tier { background: var(--bg); }
.tier.featured {
  border-color: rgba(108, 92, 240, 0.55);
  box-shadow: 0 16px 44px rgba(108, 92, 240, 0.12);
}
.tier-flag {
  position: absolute;
  top: -11px;
  left: 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05050a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.tier h3 { font-size: 1.25rem; margin-bottom: 4px; }
.tier-sub { font-size: 0.88rem; color: var(--muted-2); margin-bottom: 20px; }
.tier-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.tier-stat strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--accent-2);
}
.tier-stat span { font-size: 0.82rem; color: var(--muted-2); }
.tier-channel { font-size: 0.84rem; color: var(--muted-2); margin-bottom: 16px; }
.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}
.tier-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 0.91rem;
  color: var(--muted);
}
.tier-list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 15px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}
.tier .btn { width: 100%; }
.price-tier .price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 2px 0 6px;
}
.price-tier .price strong {
  font-family: var(--font-head);
  font-size: 2.1rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-tier .price span { font-size: 0.9rem; color: var(--muted-2); }
.price-note {
  font-size: 0.83rem;
  color: var(--accent-2);
  margin: 0 0 16px;
}
.price-tier .tier-list { margin-bottom: 0; }

.marketplace {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.mk-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.mk-link:hover { border-color: var(--success); transform: translateY(-1px); text-decoration: none; }
.mk-link svg { width: 14px; height: 14px; color: var(--success); }
.mk-where {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--success);
}
.mk-label { font-weight: 600; }
.mk-count { font-size: 0.86rem; color: var(--muted-2); }

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted-2);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 7px 16px;
  margin: 0 0 22px;
}

.tier-note {
  margin: 26px auto 0;
  max-width: 680px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted-2);
}

/* ---------- Specs / lists ---------- */
.specs-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px;
}
.specs-col { min-width: 0; }
.specs-col .mono { display: block; margin-bottom: 12px; }
.specs-col h2 { font-size: 1.4rem; margin-bottom: 20px; }
.spec-table { margin: 0 0 18px; }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.spec-row dt { color: var(--muted-2); margin: 0; }
.spec-row dd { margin: 0; color: var(--text); text-align: right; }
.spec-note { font-size: 0.85rem; color: var(--muted-2); }
.check-list, .cross-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li, .cross-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 0.94rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 17px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}
.cross-list li::before {
  content: '×';
  position: absolute;
  left: 4px; top: 8px;
  color: var(--danger);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.01rem;
  line-height: 1.4;
  color: var(--text);
  text-align: left;
}
.faq-q:hover { color: var(--accent-2); }
.faq-q .plus {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--accent-2);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 700px;
  transition: grid-template-rows 0.3s ease, opacity 0.25s ease, padding-bottom 0.3s ease;
}
.faq-a > * { overflow: hidden; }
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 18px;
}
.faq-a::before { content: ''; display: block; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.b-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-width: 0;
}
.b-card:hover { border-color: rgba(108, 92, 240, 0.5); transform: translateY(-3px); }
.b-card > a { display: block; padding: 26px; color: inherit; height: 100%; }
.b-card > a:hover { text-decoration: none; }
.b-cat { font-size: 0.68rem; color: var(--accent-2); margin-bottom: 10px; display: block; }
.b-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.b-card p { font-size: 0.92rem; margin-bottom: 16px; }
.b-meta { font-size: 0.82rem; color: var(--muted-2); }

.post-hero {
  padding: 60px 0 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.post-hero::before {
  content: '';
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 320px;
  max-width: 150vw;
  background: radial-gradient(ellipse at center, rgba(108, 92, 240, 0.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.post-hero .wrap { position: relative; max-width: 780px; }
.post-hero h1 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); margin: 14px 0 16px; }
.post-meta { font-size: 0.86rem; color: var(--muted-2); margin: 0; }
.post-body { max-width: 720px; padding-top: 26px; padding-bottom: 30px; }
.post-body p, .post-body li { font-size: 1rem; line-height: 1.72; }
.post-body ul, .post-body ol { margin-bottom: 1.4em; }
.post-lead {
  font-size: 1.1rem;
  color: var(--text);
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.post-body h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}
.post-body h3 {
  font-size: 1.08rem;
  margin-top: 1.8em;
  margin-bottom: 0.4em;
  color: var(--accent-2);
}
.post-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 6px;
}
.notice {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 28px 0;
}
.notice p { margin: 0; font-size: 0.94rem; }
.post-product {
  background: var(--surface-2);
  border: 1px solid rgba(108, 92, 240, 0.4);
  border-radius: var(--radius);
  padding: 30px;
  margin: 20px 0 10px;
  text-align: center;
}
.post-product h2 { font-size: 1.3rem; margin: 10px 0 8px; }
.post-product p { margin-bottom: 22px; }

/* ---------- Prose ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; margin-bottom: 0.6em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.7em; margin-bottom: 0.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 0.98rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--text); }
.intro-p { font-size: 1.08rem; color: var(--text); }
.updated { font-size: 0.86rem; color: var(--muted-2); }
.legal-note {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 26px 0;
  font-size: 0.93rem;
}
.legal-note p { margin: 0; color: var(--muted); }

/* ---------- Docs ---------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.doc-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  min-width: 0;
}
.doc-card .mono { display: block; margin-bottom: 10px; font-size: 0.68rem; color: var(--muted-2); }
.doc-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.doc-card .mini-list { margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.93rem;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.price-table thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  font-weight: 500;
  border-bottom-color: var(--border-2);
}
.price-table tbody th { font-weight: 600; color: var(--text); }
.price-table td { color: var(--muted); }
.price-table tbody tr:hover { background: rgba(108, 92, 240, 0.05); }
.ta-r { text-align: right !important; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: start;
}
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.side-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.side-card h2 { font-size: 1rem; margin-bottom: 8px; }
.side-card p { font-size: 0.9rem; margin-bottom: 10px; }
.side-card p:last-child { margin-bottom: 0; }
.side-link { font-size: 0.94rem; font-weight: 600; word-break: break-word; }
.side-steps {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.9rem;
  color: var(--muted);
}
.side-steps li { margin-bottom: 8px; }
.side-steps li:last-child { margin-bottom: 0; }
.side-quiet { background: transparent; border-style: dashed; }
@media (max-width: 880px) {
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
label {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 8px;
}
label .opt { color: var(--muted-2); font-size: 0.8rem; }
input, select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  min-height: 46px;
}
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.12);
}
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) { border-color: rgba(239, 106, 106, 0.5); }
textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.form-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-hint { font-size: 0.84rem; color: var(--muted-2); }
.form-msg {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-msg.show { display: block; }
.form-msg.success { background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); color: var(--success); }
.form-msg.error { background: rgba(239, 106, 106, 0.1); border: 1px solid rgba(239, 106, 106, 0.3); color: var(--danger); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 86px 0; }
.cta-band h2 { max-width: 620px; margin: 12px auto 16px; }
.cta-band p { max-width: 540px; margin: 0 auto 30px; }

/* ---------- 404 ---------- */
.notfound { padding: 110px 0 100px; text-align: center; }
.notfound .lead { max-width: 540px; margin: 16px auto 30px; }
.nf-links {
  margin-top: 40px;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.nf-links a { color: var(--muted); }

/* ---------- Video (click to play) ----------
   The thumbnail is all that loads. The real YouTube player only arrives when
   someone presses play, so a page with a video costs the same as one without
   until it is actually wanted. */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* A custom-made thumbnail should read as designed, not dimmed. */
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.4s ease;
}
.video-play:hover .video-thumb { opacity: 1; transform: scale(1.02); }
.video-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 48px;
  transition: transform 0.2s ease;
}
.video-btn svg { width: 100%; height: 100%; }
.video-play:hover .video-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-label {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(10, 10, 15, 0.7);
  border: 1px solid var(--border-2);
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video noscript a { position: absolute; left: 16px; top: 16px; }

/* ---------- Reviews ---------- */
.sample-banner {
  background: repeating-linear-gradient(45deg, rgba(239,106,106,0.16) 0 14px, rgba(239,106,106,0.09) 14px 28px);
  border-top: 1px solid rgba(239, 106, 106, 0.5);
  border-bottom: 1px solid rgba(239, 106, 106, 0.5);
  padding: 16px 0;
  font-size: 0.9rem;
  color: var(--text);
}
.sample-banner strong { color: var(--danger); }
.sample-banner code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(0,0,0,0.35);
  padding: 2px 6px;
  border-radius: 5px;
}
.rv-card.is-sample { border-style: dashed; border-color: rgba(239, 106, 106, 0.45); }
.rv-sample {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--danger);
  border: 1px solid rgba(239, 106, 106, 0.5);
  border-radius: 5px;
  padding: 3px 8px;
  margin-bottom: 12px;
}

.rv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.rv-card {
  margin: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.rv-card:hover { border-color: rgba(108, 92, 240, 0.45); transform: translateY(-3px); }
.rv-stars { font-size: 0.95rem; letter-spacing: 2px; color: #f5b544; margin-bottom: 14px; }
.rv-stars .off { color: var(--border-2); }
.rv-card blockquote {
  margin: 0 0 20px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
}
.rv-card blockquote::before { content: "\201C"; color: var(--accent); margin-right: 2px; }
.rv-card blockquote::after { content: "\201D"; color: var(--accent); margin-left: 2px; }
.rv-card figcaption { display: flex; flex-direction: column; gap: 4px; }
.rv-who { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.rv-meta { font-size: 0.85rem; color: var(--muted-2); }
.rv-place {
  font-size: 0.82rem;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.rv-lang, .rv-verified {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--border-2);
}
.rv-verified { color: var(--success); border-color: rgba(74, 222, 128, 0.35); }
.rv-product {
  margin-top: 10px;
  font-size: 0.82rem;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
}
.rv-product:hover { border-bottom-color: currentColor; text-decoration: none; }

/* ---------- Thank-you page ---------- */
.thanks { padding: 92px 0 90px; }
.thanks .wrap { max-width: 720px; }
.thanks-tick {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin-bottom: 26px;
  color: var(--success);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
  animation: tickPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.thanks .mono { display: block; margin-bottom: 6px; }
.thanks-tick svg { width: 38px; height: 38px; }
@keyframes tickPop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
.thanks h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 14px 0 16px; }
.thanks-next {
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 34px auto 28px;
  max-width: 520px;
}
.thanks-next h2 { font-size: 1rem; margin-bottom: 12px; }
.thanks-next ol {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.94rem;
  color: var(--muted);
}
.thanks-next li { margin-bottom: 8px; }
.thanks-next li:last-child { margin-bottom: 0; }
.thanks-back {
  font-size: 0.92rem;
  color: var(--muted-2);
  margin-bottom: 26px;
}
.thanks-back strong { color: var(--accent-2); font-family: var(--font-mono); }
.thanks-back a { margin-left: 8px; }
.thanks-note { margin-top: 34px; font-size: 0.9rem; color: var(--muted-2); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--surface);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  background-size: 200% 100%;
  animation: footerFlow 6s linear infinite;
}
@keyframes footerFlow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 30px 32px;
  margin-bottom: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border-2);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(108, 92, 240, 0.18), transparent 62%),
    radial-gradient(ellipse at 88% 100%, rgba(76, 201, 240, 0.14), transparent 62%),
    var(--bg);
}
.footer-cta h2 { font-size: 1.32rem; margin-bottom: 6px; }
.footer-cta p { margin: 0; font-size: 0.94rem; max-width: 46ch; }
.footer-cta .btn { flex-shrink: 0; }

.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  gap: 36px 28px;
  padding-bottom: 40px;
}
.footer-col h2 {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--muted);
  display: inline-block;
  position: relative;
  transition: color 0.15s ease, transform 0.15s ease;
}
.footer-col a:hover {
  color: var(--text);
  transform: translateX(3px);
  text-decoration: none;
}

/* The brand link lives inside .footer-col, whose generic <a> rule was
   overriding it — restore the flex layout and its own type size. */
.footer-col .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-col .brand:hover { transform: none; color: var(--text); }
.footer-col .brand .brand-text span { color: var(--accent-2); }

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--muted-2);
}
.footer-trust span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
/* the pulse ring is large; keep it clear of the text next to it */
.footer-trust .live-dot::after { animation-name: dotPulseSmall; }
@keyframes dotPulseSmall {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}
.footer-trust span + span::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-2);
}
.footer-brand-col p {
  font-size: 0.88rem;
  margin: 14px 0 12px;
  max-width: 30em;
}
.footer-mail { font-size: 0.88rem; font-weight: 500; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted-2);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}
.footer-legal a { color: var(--muted-2); }
.footer-legal a:hover { color: var(--text); }
.footer-copy { color: var(--muted-2); }

@media (max-width: 980px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-cta { padding: 24px; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-cta .btn { width: 100%; }
  .thanks { padding: 64px 0 60px; }
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  display: inline-block;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.55;
  animation: dotPulse 1.8s ease-out infinite;
}
@keyframes dotPulse {
  0% { transform: scale(0.5); opacity: 0.55; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ---------- Social links ---------- */
.soc-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.soc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  color: var(--muted);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.soc-link:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-2px);
  text-decoration: none;
}
.soc-link svg { width: 19px; height: 19px; }
.side-card .soc-row { margin-top: 14px; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 61;
  transition: transform 0.2s ease;
  animation: waPulse 2.4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 29px; height: 29px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
  .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ---------- Responsive spacing ---------- */
@media (max-width: 560px) {
  .chip-long { display: none; }
  .chip-short { display: inline; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .hero { padding: 72px 0 60px; }
  .page-hero { padding: 48px 0 20px; }
  .split-hero { padding: 44px 0 40px; }
  .cta-band { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .p-card-link, .card, .f-item, .tier, .b-card > a, .doc-card, .side-card, .ba-col { padding: 22px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .notfound { padding: 72px 0 64px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero .mono, .hero h1, .hero p.lead, .hero-ctas, .hero-meta,
  .page-hero .mono, .page-hero h1, .page-hero p, .page-hero .hero-ctas,
  .split-hero .mono, .split-hero h1, .split-hero p.lead,
  .split-hero .hero-tags, .split-hero .hero-ctas, .split-hero .hero-note,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .live-dot::after { animation: none; opacity: 0; }
  .site-footer::before, .wa-float { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-nav, .wa-float, .buybar, .cta-band, .crumbs, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
