/* ============================================================
   Windy Tree — showcase page
   Apple-style: pure black, generous type, bento features, soft
   glass cards. Self-contained. No external dependencies.
   ============================================================ */

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

:root {
  /* Pure-black canvas, like apple.com product pages */
  --bg:        #000;
  --bg-2:      #06070a;
  --bg-3:      #0c0e13;
  --surface-1: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.09);
  --line:      rgba(255, 255, 255, 0.06);
  --line-hi:   rgba(255, 255, 255, 0.10);
  --line-xhi:  rgba(255, 255, 255, 0.18);
  --ink:       #f5f5f7;
  --ink-mute:  rgba(245, 245, 247, 0.72);
  --ink-dim:   rgba(245, 245, 247, 0.5);
  --ink-ghost: rgba(245, 245, 247, 0.3);

  --accent:        #9eff6a;
  --accent-soft:   rgba(158, 255, 106, 0.08);
  --accent-med:    rgba(158, 255, 106, 0.18);
  --accent-glow:   rgba(158, 255, 106, 0.35);
  --accent-bright: #d4ffb0;
  --accent-deep:   #77d14a;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  --r-xs: 6px;
  --r-sm: 10px;
  --r:    14px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-w: 1240px;
  --pad-x: 56px;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01" 1, "cv01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Faint, atmospheric blooms — the only "decoration" on a black canvas. */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 12% -10%, rgba(158, 255, 106, 0.12) 0%, transparent 55%),
    radial-gradient(50% 40% at 95% 100%, rgba(120, 90, 200, 0.05) 0%, transparent 60%);
}
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.t-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}

.t-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  text-transform: lowercase;
}
.t-arrow { display: inline-block; transition: transform 0.2s var(--ease-out); }

.t-code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--surface-2);
  border: 1px solid var(--line-hi);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--ink);
}

/* ============================================================
   TOP NAV
   ============================================================ */
.t-top {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid var(--line);
}
.t-top-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.t-top-back {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  transition: color 0.2s var(--ease);
  width: max-content;
}
.t-top-back:hover { color: var(--ink); }
.t-top-back:hover .t-arrow { transform: translateX(-3px); }
.t-top-meta {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
}
.t-top-meta-name { color: var(--ink); font-weight: 500; }
.t-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-ghost); }
.t-top-actions {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
}
.t-top-source {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  background: var(--surface-1);
  border: 1px solid var(--line-hi);
  border-radius: 999px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.t-top-source:hover {
  color: var(--ink);
  border-color: var(--line-xhi);
  background: var(--surface-2);
}
.t-top-source svg { display: block; }
.t-top-launch {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #0a0c08;
  background: var(--accent);
  border-radius: 999px;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.t-top-launch:hover {
  background: var(--accent-bright);
  box-shadow: 0 4px 24px var(--accent-glow);
  transform: translateY(-1px);
}
.t-top-launch:hover .t-arrow { transform: translate(2px, -2px); }

/* ============================================================
   HERO — centered, towering
   ============================================================ */
.t-hero-wrap {
  position: relative;
  padding: 96px 0 72px;
}
/* Atmospheric glow behind the hero stage */
.t-hero-haze {
  position: absolute;
  top: 12%; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 60%);
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
}

.t-hero-head {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 56px;
}

.t-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  margin: 0 auto 32px;
  border: 1px solid var(--line-hi);
  border-radius: 999px;
  background: var(--surface-1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: var(--ink-mute);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.t-pill:hover { border-color: var(--line-xhi); color: var(--ink); }
.t-pill-tag {
  background: var(--accent);
  color: #0a0c08;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.t-h1 {
  font-size: clamp(54px, 8.4vw, 124px);
  font-weight: 660;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}
.t-h1-line { display: block; }
.t-h1-accent {
  background: linear-gradient(96deg, var(--accent-bright) 0%, var(--accent) 50%, var(--accent-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.t-lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-mute);
  max-width: 660px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.t-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}
.t-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.t-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0c08;
  font-weight: 600;
}
.t-btn-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px var(--accent-glow);
}
.t-btn-primary:hover .t-arrow { transform: translate(2px, -2px); }
.t-btn-ghost {
  background: var(--surface-1);
  border-color: var(--line-hi);
  color: var(--ink);
}
.t-btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--line-xhi);
}
.t-btn-ghost:hover .t-arrow { transform: translate(2px, -2px); }
.t-btn-tertiary {
  background: transparent;
  border-color: transparent;
  color: var(--ink-mute);
  padding-left: 12px;
  padding-right: 12px;
}
.t-btn-tertiary:hover {
  color: var(--ink);
  background: var(--surface-1);
}
.t-btn-tertiary:hover .t-arrow { transform: translateY(2px); }

/* ----- HERO live preview stage ----- */
.t-hero-stage-wrap { position: relative; z-index: 2; }
.t-hero-stage {
  position: relative;
  border-radius: var(--r-2xl);
  background: linear-gradient(180deg, #0a0b0e 0%, #050608 100%);
  overflow: hidden;
  height: clamp(420px, 62vh, 720px);
  border: 1px solid var(--line-hi);
  box-shadow:
    0 60px 140px rgba(0, 0, 0, 0.7),
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.t-hero-frame-canvas {
  position: absolute; inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.t-hero-iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
  background: var(--bg);
}

/* ---------- species overlay ---------- */
.t-car-overlay {
  position: absolute;
  top: 20px; left: 20px;
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 16px;
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--line-hi);
  border-radius: var(--r-sm);
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.t-car-overlay.is-changing { opacity: 0; transform: translateY(-2px); }
.t-car-overlay-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.t-car-overlay-meta { font-size: 11px; color: var(--ink-mute); }

/* ---------- carousel arrows ---------- */
.t-car-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid var(--line-hi);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease), transform 0.2s var(--ease);
  opacity: 0;
  z-index: 3;
}
.t-hero-frame-canvas:hover .t-car-btn { opacity: 1; }
.t-car-btn:hover {
  background: rgba(28, 30, 36, 0.88);
  border-color: var(--accent-med);
  color: var(--accent);
  transform: translateY(-50%) scale(1.05);
}
.t-car-prev { left: 18px; }
.t-car-next { right: 18px; }

/* ---------- carousel dots ---------- */
.t-car-dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 7px;
  padding: 8px 12px;
  background: rgba(8, 9, 12, 0.72);
  border: 1px solid var(--line-hi);
  border-radius: 999px;
  z-index: 3;
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
}
.t-car-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-xhi);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.t-car-dot.is-on {
  background: var(--accent);
  width: 22px;
  border-radius: 3px;
}

/* ---------- hero stat strip ---------- */
.t-hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 32px;
  padding: 0 8px;
}
.t-stat {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 0;
  text-align: center;
}
.t-stat + .t-stat { border-left: 1px solid var(--line); }
.t-stat-num {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.t-stat-unit {
  font-size: 0.55em;
  color: var(--ink-dim);
  font-weight: 500;
  margin-left: 1px;
}
.t-stat-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   HEADLINE BAND
   ============================================================ */
.t-band {
  padding: 96px 0 48px;
  position: relative;
  z-index: 1;
}
.t-band-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.t-band-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: lowercase;
  margin-bottom: 18px;
}
.t-band-title {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.t-band-accent {
  background: linear-gradient(96deg, var(--accent-bright) 0%, var(--accent) 60%, var(--accent-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.t-band-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.t-section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}
.t-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.t-section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.t-section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--ink);
}
.t-section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================================
   FEATURES — bento grid
   ============================================================ */
.t-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  grid-auto-flow: dense;
}
.t-feat {
  position: relative;
  padding: 28px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.005));
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
  grid-column: span 2;
}
.t-feat:hover {
  border-color: var(--line-xhi);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.t-feat:hover .t-feat-ic {
  color: var(--accent);
  border-color: var(--accent-med);
  background: var(--accent-soft);
}
.t-feat--medium { grid-column: span 2; }
.t-feat--wide   { grid-column: span 4; }
.t-feat--hero {
  grid-column: span 6;
  padding: 44px 44px 48px;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(158, 255, 106, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.005));
  border-color: var(--line-hi);
}
.t-feat--hero .t-feat-title {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.t-feat--hero .t-feat-body {
  font-size: 17px;
  max-width: 560px;
}
.t-feat-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.t-feat-hero-copy { min-width: 0; }
.t-feat-hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 280px;
  justify-self: center;
  color: var(--ink);
  filter: drop-shadow(0 0 24px rgba(158, 255, 106, 0.18));
}
.t-feat-hero-art svg { width: 100%; height: 100%; display: block; }
.t-feat-hero-dot {
  fill: var(--accent);
  animation: t-attractor 3.6s ease-in-out infinite;
  transform-origin: center;
}
.t-feat-hero-dot:nth-child(7n)  { animation-delay: 0s; }
.t-feat-hero-dot:nth-child(7n+1) { animation-delay: 0.4s; }
.t-feat-hero-dot:nth-child(7n+2) { animation-delay: 0.8s; }
.t-feat-hero-dot:nth-child(7n+3) { animation-delay: 1.2s; }
.t-feat-hero-dot:nth-child(7n+4) { animation-delay: 1.6s; }
.t-feat-hero-dot:nth-child(7n+5) { animation-delay: 2.0s; }
@keyframes t-attractor {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.25); }
}
.t-feat-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 9px;
  margin-bottom: 22px;
  border: 1px solid var(--accent-med);
  background: var(--accent-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.t-feat-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: t-pulse 2s ease-in-out infinite;
}
@keyframes t-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
.t-feat-ic {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-hi);
  background: var(--surface-1);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  margin-bottom: 22px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.t-feat-ic svg { width: 20px; height: 20px; }
.t-feat-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 10px;
  color: var(--ink);
}
.t-feat-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* Hero card spec strip */
.t-feat-spec {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.t-feat-spec > div {
  display: flex; flex-direction: column; gap: 4px;
}
.t-feat-spec-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.t-feat-spec-v {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* LOD wide-card row */
.t-feat-lod {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.t-feat-lod-cell {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-1);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.t-feat-lod-cell:hover {
  border-color: var(--line-xhi);
  background: var(--surface-2);
}
.t-feat-lod-cell--accent {
  border-color: var(--accent-med);
  background: var(--accent-soft);
}
.t-feat-lod-cell--accent .t-feat-lod-tag,
.t-feat-lod-cell--accent .t-feat-lod-num { color: var(--accent); }
.t-feat-lod-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.t-feat-lod-num {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ============================================================
   PIPELINE
   ============================================================ */
.t-pipeline-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line-hi);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(158, 255, 106, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
}
.t-pipe-phase {
  padding: 24px 8px;
  border-bottom: 1px dashed var(--line);
}
.t-pipe-phase:first-child { padding-top: 8px; }
.t-pipe-phase:last-child { border-bottom: 0; padding-bottom: 8px; }
.t-pipe-phase-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.t-pipe-phase-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-med);
  border-radius: 999px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.t-pipe-phase-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.t-pipe-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.t-pipe-step {
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-1);
  min-width: 0;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.t-pipe-step:hover {
  border-color: var(--line-xhi);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.t-pipe-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.t-pipe-where {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
   METRICS
   ============================================================ */
.t-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.t-metric {
  padding: 36px 32px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.003));
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.t-metric:hover {
  border-color: var(--line-xhi);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.005));
  transform: translateY(-3px);
}
.t-metric-num {
  display: block;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 660;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(245, 245, 247, 0.6) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.t-metric-lbl {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.t-metric-sub {
  display: block;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* ============================================================
   STACK
   ============================================================ */
.t-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 920px;
  margin: 0 auto;
}
.t-stack-head {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-hi);
}
.t-stack-list { list-style: none; }
.t-stack-list li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.t-stack-list li:last-child { border-bottom: 0; }
.t-stack-key {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.t-stack-val {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
}

/* ============================================================
   SPECIES LIBRARY
   ============================================================ */
.t-species {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.t-species-cat {
  padding: 28px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.003));
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.t-species-cat:hover {
  border-color: var(--line-xhi);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.005));
  transform: translateY(-3px);
}
.t-species-cat-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.t-species-cat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line-hi);
  color: var(--accent);
}
.t-species-cat-icon svg { width: 16px; height: 16px; }
.t-species-cat-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  flex: 1;
}
.t-species-cat-count {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-med);
  border-radius: 999px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.t-species-list {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.t-species-chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-mute);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.t-species-chip:hover {
  color: var(--ink);
  border-color: var(--line-xhi);
  background: var(--surface-2);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.t-cta-band {
  margin: 64px 0 112px;
  padding: 72px 56px;
  border: 1px solid var(--line-hi);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(60% 80% at 50% 0%, var(--accent-soft) 0%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.005));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.t-cta-band::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.t-cta-band-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-med);
  border-radius: 999px;
}
.t-cta-band-title {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.t-cta-band-sub {
  font-size: 17px;
  color: var(--ink-mute);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.t-cta-band .t-cta-row { justify-content: center; margin-bottom: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.t-foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  position: relative; z-index: 1;
}
.t-foot-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.t-foot-back {
  color: var(--ink-mute);
  font-size: 13px;
  transition: color 0.2s var(--ease);
}
.t-foot-back:hover { color: var(--ink); }
.t-foot-back:hover .t-arrow { transform: translateX(-3px); }
.t-foot-mid {
  text-align: center;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 11px;
}
.t-foot-launch {
  justify-self: end;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
}
.t-foot-launch:hover .t-arrow { transform: translate(2px, -2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  :root { --pad-x: 36px; }
  .t-bento { grid-template-columns: repeat(4, 1fr); }
  .t-feat--hero  { grid-column: span 4; padding: 36px 32px 40px; }
  .t-feat--wide  { grid-column: span 4; }
  .t-feat        { grid-column: span 2; }
  .t-pipe-row    { grid-template-columns: repeat(3, 1fr); }
  .t-metrics     { grid-template-columns: 1fr; }
  .t-feat-lod    { grid-template-columns: repeat(5, 1fr); }
  .t-species     { grid-template-columns: 1fr 1fr; }
  .t-species-cat:first-child { grid-column: 1 / -1; }
  .t-feat-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
  .t-feat-hero-art { max-width: 220px; }
}
@media (max-width: 820px) {
  :root { --pad-x: 22px; }
  .t-top-meta { display: none; }
  .t-top-source span { display: none; }
  .t-top-source { padding: 7px 9px; }
  .t-hero-wrap { padding: 56px 0 56px; }
  .t-hero-stage { height: 440px; }
  .t-section { padding: 64px 0; }
  .t-band { padding: 64px 0 32px; }
  .t-bento { grid-template-columns: 1fr; gap: 12px; }
  .t-feat, .t-feat--hero, .t-feat--wide, .t-feat--medium { grid-column: span 1; }
  .t-feat--hero { padding: 32px 24px 36px; }
  .t-feat-hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .t-feat-hero-art { max-width: 160px; margin: 4px auto 0; }
  .t-feat-spec { grid-template-columns: 1fr 1fr; gap: 16px; }
  .t-pipeline-wrap { padding: 20px; }
  .t-pipe-row { grid-template-columns: 1fr 1fr; }
  .t-stack { grid-template-columns: 1fr; gap: 48px; }
  .t-species { grid-template-columns: 1fr; }
  .t-species-cat:first-child { grid-column: auto; }
  .t-cta-band { margin: 32px 0 80px; padding: 48px 24px; }
  .t-foot-row { grid-template-columns: 1fr; text-align: center; }
  .t-foot-launch, .t-foot-back { justify-self: center; }
  .t-hero-stats { grid-template-columns: repeat(3, 1fr); }
  .t-stat:nth-child(4) { border-left: 0; }
  .t-stat:nth-child(4), .t-stat:nth-child(5) { display: none; }
  .t-feat-lod { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .t-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .t-stat:nth-child(3) { border-left: 0; }
  .t-stat:nth-child(4), .t-stat:nth-child(5) { display: none; }
  .t-h1 { font-size: clamp(40px, 12vw, 64px); }
  .t-cta-band .t-cta-row { flex-direction: column; align-items: stretch; }
  .t-cta-band .t-btn { justify-content: center; }
}

/* ============================================================
   SCROLL REVEAL — applied by tree.js
   ============================================================ */
.t-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.t-reveal.t-in {
  opacity: 1;
  transform: none;
}
