/* TaraBytes — VenturePlanner-inspired green/gold system */
/* Tokens live in tokens.css (enqueued first). Keep aliases here only as fallback. */

:root {
  --tb-forest: #163332;
  --tb-forest-2: #1c413f;
  --tb-forest-3: #0f2423;
  --tb-gold: #ffc745;
  --tb-gold-2: #f0b820;
  --tb-gold-soft: #ffe6a3;
  --tb-cream: #f7f6f1;
  --tb-cream-2: #efeee8;
  --tb-ink: #142826;
  --tb-muted: #5c6b69;
  --tb-line: rgba(22, 51, 50, 0.12);
  --tb-white: #ffffff;
  --tb-radius: 2rem;
  --tb-radius-sm: 1rem;
  --tb-radius-pill: 999px;
  --tb-shadow: 0 24px 60px rgba(15, 36, 35, 0.14);
  --tb-font-display: "Space Grotesk", sans-serif;
  --tb-font-body: "Plus Jakarta Sans", sans-serif;
  --tb-header: 4.5rem;
  --tb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--tb-font-body);
  color: var(--tb-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 199, 69, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(22, 51, 50, 0.08), transparent 55%),
    var(--tb-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.tb-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--tb-gold);
  color: var(--tb-forest);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.tb-skip:focus {
  left: 1rem;
  top: 1rem;
}

.tb-container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.tb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(247, 246, 241, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--tb-ease), box-shadow 0.3s var(--tb-ease);
}

.tb-header.is-scrolled {
  border-bottom-color: var(--tb-line);
  box-shadow: 0 10px 30px rgba(15, 36, 35, 0.06);
}

.tb-header__inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: var(--tb-header);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tb-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.tb-logo__mark {
  display: grid;
  place-items: center;
}

.tb-logo__text {
  font-family: var(--tb-font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--tb-forest);
}

.tb-logo__text span {
  color: var(--tb-forest);
  opacity: 0.72;
}

.tb-nav {
  margin-left: auto;
}

.tb-nav__list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tb-nav__list a {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--tb-forest);
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s;
}

.tb-nav__list a:hover,
.tb-nav__list .current-menu-item a {
  opacity: 1;
  color: var(--tb-gold-2);
}

.tb-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tb-nav-toggle {
  display: none;
  width: var(--tb-touch, 44px);
  height: var(--tb-touch, 44px);
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--tb-line);
  border-radius: 0.8rem;
  background: var(--tb-white);
  padding: 0;
  cursor: pointer;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.tb-nav-toggle span {
  width: 16px;
  height: 2px;
  background: var(--tb-forest);
  border-radius: 2px;
  transition: transform 0.25s var(--tb-ease);
}

.tb-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem 1.35rem;
  border-top: 1px solid var(--tb-line);
  background: rgba(247, 246, 241, 0.98);
}

.tb-mobile-nav[hidden] {
  display: none !important;
}

.tb-mobile-nav a {
  font-weight: 600;
  color: var(--tb-forest);
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.35rem 0.15rem;
}

.tb-mobile-nav .tb-btn {
  margin-top: 0.5rem;
  width: 100%;
  min-height: 48px;
}

.tb-mobile-nav__mail {
  justify-content: center;
  color: var(--tb-muted) !important;
  font-size: 0.92rem;
  font-weight: 550 !important;
}

/* Buttons */
.tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: var(--tb-radius-pill);
  padding: 0.7rem 1.15rem;
  font-weight: 650;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--tb-ease), background 0.25s, box-shadow 0.25s, color 0.25s;
}

.tb-btn:hover {
  transform: translateY(-2px);
}

.tb-btn--dark {
  background: var(--tb-forest);
  color: var(--tb-white);
}

.tb-btn--dark:hover {
  background: var(--tb-forest-2);
}

.tb-btn--ghost {
  background: transparent;
  color: var(--tb-forest);
  border-color: var(--tb-line);
}

.tb-btn--gold {
  background: var(--tb-gold);
  color: var(--tb-forest);
  box-shadow: 0 10px 28px rgba(255, 199, 69, 0.35);
}

.tb-btn--gold:hover {
  background: var(--tb-gold-2);
}

.tb-btn--outline {
  background: transparent;
  color: var(--tb-white);
  border-color: rgba(255, 255, 255, 0.28);
}

.tb-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tb-btn--lg {
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
}

.tb-btn--block {
  width: 100%;
}

.tb-btn__icon {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--tb-forest);
  color: var(--tb-gold);
  font-size: 0.8rem;
  line-height: 1;
}

/* Hero */
.tb-hero {
  padding: 1.25rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.tb-hero__bg {
  position: absolute;
  inset: -20% -10% 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 199, 69, 0.18), transparent 42%),
    radial-gradient(circle at 80% 0%, rgba(22, 51, 50, 0.14), transparent 40%),
    repeating-linear-gradient(
      -12deg,
      transparent 0 18px,
      rgba(22, 51, 50, 0.03) 18px 19px
    );
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.tb-hero__grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  min-height: calc(100svh - var(--tb-header) - 2.5rem);
}

.tb-hero__panel {
  border-radius: var(--tb-radius);
  overflow: hidden;
  position: relative;
  will-change: transform;
}

.tb-hero__panel--dark {
  background:
    radial-gradient(700px 400px at 0% 100%, rgba(255, 199, 69, 0.16), transparent 50%),
    linear-gradient(165deg, var(--tb-forest-2), var(--tb-forest-3));
  color: var(--tb-white);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
}

.tb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  width: fit-content;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 199, 69, 0.45);
  border-radius: var(--tb-radius-pill);
  color: var(--tb-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tb-eyebrow__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--tb-gold);
  box-shadow: 0 0 0 4px rgba(255, 199, 69, 0.2);
  animation: tb-pulse 2s ease-in-out infinite;
}

.tb-eyebrow--on-dark {
  border-color: rgba(255, 199, 69, 0.45);
}

.tb-hero__title {
  margin: 0;
  font-family: var(--tb-font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.tb-hero__brand {
  display: block;
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: #fff;
  margin-bottom: 0.35rem;
}

.tb-hero__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
  color: #fff;
  font-size: clamp(1.55rem, 3.2vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.tb-typed {
  color: var(--tb-gold);
  white-space: nowrap;
  min-width: 7ch;
}

.tb-typed__cursor {
  display: inline-block;
  margin-left: 2px;
  animation: tb-blink 1s step-end infinite;
  color: var(--tb-gold);
  font-weight: 400;
}

.tb-hero__lead {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.tb-hero__checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.tb-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.tb-hero__checks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
}

.tb-hero__checks li::before {
  content: "✓";
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--tb-gold);
  color: var(--tb-forest);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.tb-hero__panel--visual {
  background:
    radial-gradient(500px 320px at 70% 20%, rgba(255, 199, 69, 0.35), transparent 60%),
    linear-gradient(160deg, #fbfaf6, #e8ebe4 55%, #dfe8e2);
  min-height: 28rem;
  padding: 1.5rem;
  display: grid;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 1024px) {
  .tb-hero__panel--visual {
    min-height: 100%;
  }
}

.tb-cloud {
  position: relative;
  height: 100%;
  min-height: 26rem;
  border-radius: 1.25rem;
  overflow: hidden;
}

.tb-cloud__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(22, 51, 50, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 51, 50, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: perspective(600px) rotateX(12deg);
  will-change: transform;
}

.tb-cloud__beam {
  position: absolute;
  inset: 10% 18% auto;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 199, 69, 0.45), transparent 70%);
  filter: blur(22px);
  animation: tb-breathe 5s ease-in-out infinite;
  will-change: transform;
}

.tb-build {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(320px, 78%);
  --tx: 0px;
  --ty: 0px;
  transform: translate(-50%, -50%) translate3d(var(--tx), var(--ty), 0);
  border-radius: 1.1rem;
  background: rgba(15, 36, 35, 0.94);
  border: 1px solid rgba(255, 199, 69, 0.28);
  box-shadow: 0 28px 50px rgba(15, 36, 35, 0.28);
  overflow: hidden;
  color: #d7e4e1;
  z-index: 2;
}

.tb-build__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
}

.tb-build__dots {
  display: inline-flex;
  gap: 4px;
}

.tb-build__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f57;
  display: block;
}

.tb-build__dots i:nth-child(2) { background: #febc2e; }
.tb-build__dots i:nth-child(3) { background: #28c840; }

.tb-build__live {
  margin-left: auto;
  color: var(--tb-gold);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  animation: tb-pulse 1.6s ease-in-out infinite;
}

.tb-build__body {
  padding: 0.85rem 0.9rem 1rem;
}

.tb-code {
  margin: 0;
  min-height: 7.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  color: #9fd6c8;
  white-space: pre-wrap;
}

.tb-code .c-gold { color: var(--tb-gold); }
.tb-code .c-mute { color: rgba(255, 255, 255, 0.45); }

.tb-build__progress {
  margin-top: 0.75rem;
}

.tb-build__progress span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}

.tb-build__track {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tb-build__track b {
  display: block;
  height: 100%;
  width: 12%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tb-gold), #ffe29a);
  transition: width 0.45s var(--tb-ease);
}

.tb-agent {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 1rem;
  border: 1px solid rgba(22, 51, 50, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(15, 36, 35, 0.14);
  cursor: pointer;
  text-align: left;
  color: var(--tb-forest);
  --tx: 0px;
  --ty: 0px;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition: transform 0.25s var(--tb-ease), box-shadow 0.25s, border-color 0.25s;
}

.tb-agent:hover,
.tb-agent.is-active {
  transform: translate3d(var(--tx), var(--ty), 0) translateY(-4px) scale(1.04);
  border-color: rgba(255, 199, 69, 0.7);
  box-shadow: 0 20px 40px rgba(15, 36, 35, 0.2);
}

.tb-agent__pulse {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid rgba(255, 199, 69, 0.45);
  opacity: 0;
  pointer-events: none;
}

.tb-agent.is-active .tb-agent__pulse {
  animation: tb-ring 1.2s ease-out;
}

.tb-agent__avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  background: var(--tb-forest);
  color: var(--tb-gold);
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
}

.tb-agent__meta {
  display: grid;
  gap: 0.05rem;
}

.tb-agent__meta strong {
  font-size: 0.78rem;
  font-family: var(--tb-font-display);
  letter-spacing: -0.02em;
}

.tb-agent__meta em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--tb-muted);
}

.tb-agent--1 { top: 7%; left: 5%; }
.tb-agent--2 { top: 14%; right: 4%; }
.tb-agent--3 { bottom: 26%; left: 3%; }
.tb-agent--4 { bottom: 18%; right: 6%; background: var(--tb-forest); color: #fff; }
.tb-agent--4 .tb-agent__avatar { background: var(--tb-gold); color: var(--tb-forest); }
.tb-agent--4 .tb-agent__meta em { color: rgba(255, 255, 255, 0.65); }

.tb-cloud__chip {
  position: absolute;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 51, 50, 0.1);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tb-forest);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  --tx: 0px;
  --ty: 0px;
  transform: translate3d(var(--tx), var(--ty), 0);
}

.tb-cloud__chip--1 { top: 38%; left: 8%; }
.tb-cloud__chip--2 { top: 58%; right: 10%; animation-delay: 0.5s; }
.tb-cloud__chip--3 { top: 28%; right: 28%; animation-delay: 1s; background: var(--tb-gold); }

@keyframes tb-ring {
  0% { opacity: 0.9; transform: scale(0.92); }
  100% { opacity: 0; transform: scale(1.12); }
}

.tb-social-proof {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 1.15rem;
  background: var(--tb-forest);
  color: #fff;
  box-shadow: var(--tb-shadow);
  z-index: 4;
  will-change: transform;
}

.tb-avatars {
  display: flex;
}

.tb-avatars span {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 2px solid var(--tb-forest);
  margin-left: -0.45rem;
  background: linear-gradient(135deg, var(--tb-gold), #8fd3c8);
}

.tb-avatars span:first-child { margin-left: 0; }
.tb-avatars span:nth-child(2) { background: linear-gradient(135deg, #7eb8a8, var(--tb-forest-2)); }
.tb-avatars span:nth-child(3) { background: linear-gradient(135deg, #ffe29a, #d9a21b); }
.tb-avatars span:nth-child(4) { background: linear-gradient(135deg, #b7d7c9, #2f5d57); }

.tb-social-proof strong {
  display: block;
  font-size: 0.9rem;
}

.tb-social-proof p {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.tb-social-proof p span {
  color: var(--tb-gold);
}

/* Audience */
.tb-audience {
  padding: 2.5rem 0 1rem;
}

.tb-audience__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.tb-audience__copy h2 {
  margin: 0 0 0.6rem;
  font-family: var(--tb-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tb-audience__copy p {
  margin: 0;
  color: var(--tb-muted);
}

.tb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tb-pills span {
  padding: 0.65rem 1rem;
  border-radius: var(--tb-radius-pill);
  border: 1px solid var(--tb-line);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tb-forest);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.tb-pills span:hover {
  background: var(--tb-forest);
  color: var(--tb-gold);
  border-color: var(--tb-forest);
  transform: translateY(-2px);
}

/* Stats */
.tb-stats {
  padding: 2rem 0 3rem;
}

.tb-stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  gap: 1rem;
}

.tb-stat,
.tb-promo {
  border-radius: calc(var(--tb-radius) - 0.35rem);
  padding: 1.75rem;
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
}

.tb-stat__value {
  margin: 0;
  font-family: var(--tb-font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--tb-forest);
  line-height: 1;
}

.tb-stat h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.tb-stat p {
  margin: 0;
  color: var(--tb-muted);
}

.tb-promo {
  background:
    linear-gradient(145deg, var(--tb-gold), #ffd76e);
  border: none;
  position: relative;
  overflow: hidden;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  padding-left: 2rem;
}

.tb-promo__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tb-forest);
  opacity: 0.7;
}

.tb-promo__title {
  margin: 0.4rem 0;
  font-family: var(--tb-font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--tb-forest);
}

.tb-promo__text {
  margin: 0;
  color: var(--tb-forest-2);
  font-weight: 550;
}

/* Shared section chrome */
.tb-section-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tb-gold-2);
}

.tb-section-title {
  margin: 0;
  font-family: var(--tb-font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--tb-forest);
  max-width: 16ch;
}

/* About */
.tb-about {
  padding: 4rem 0;
  background:
    linear-gradient(180deg, transparent, rgba(22, 51, 50, 0.03) 30%, transparent);
}

.tb-about .tb-section-title {
  max-width: 18ch;
  margin-bottom: 2rem;
}

.tb-about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tb-about__card {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: calc(var(--tb-radius) - 0.4rem);
  padding: 1.6rem;
  transition: transform 0.35s var(--tb-ease), box-shadow 0.35s;
}

.tb-about__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tb-shadow);
}

.tb-about__card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--tb-font-display);
  letter-spacing: -0.02em;
}

.tb-about__card p {
  margin: 0;
  color: var(--tb-muted);
}

.tb-mini-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.tb-mini-list li {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--tb-forest);
  padding-left: 1rem;
  position: relative;
}

.tb-mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--tb-gold);
}

/* Services */
.tb-services {
  padding: 4rem 0;
}

.tb-services__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.tb-services__head p {
  margin: 0;
  color: var(--tb-muted);
  max-width: 36rem;
}

.tb-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tb-service {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: calc(var(--tb-radius) - 0.25rem);
  padding: 1.8rem;
  transition: transform 0.35s var(--tb-ease), border-color 0.35s, box-shadow 0.35s;
  transform-style: preserve-3d;
}

.tb-service:hover {
  border-color: rgba(255, 199, 69, 0.55);
  box-shadow: var(--tb-shadow);
}

.tb-service--accent {
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(255, 199, 69, 0.25), transparent 55%),
    var(--tb-forest);
  color: #fff;
  border-color: transparent;
}

.tb-service--accent p {
  color: rgba(255, 255, 255, 0.78);
}

.tb-service--accent h3 {
  color: #fff;
}

.tb-service__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: rgba(255, 199, 69, 0.2);
  color: var(--tb-gold-2);
  font-family: var(--tb-font-display);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.tb-service--accent .tb-service__icon {
  background: rgba(255, 199, 69, 0.18);
  color: var(--tb-gold);
}

.tb-service h3 {
  margin: 0 0 0.65rem;
  font-family: var(--tb-font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.tb-service p {
  margin: 0 0 1rem;
  color: var(--tb-muted);
}

.tb-service ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
}

.tb-service li {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--tb-forest);
}

.tb-service li::before {
  content: "✓ ";
  color: var(--tb-gold-2);
}

.tb-service--accent li {
  color: rgba(255, 255, 255, 0.92);
}

.tb-service--accent li::before {
  color: var(--tb-gold);
}

/* Process */
.tb-process {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(22, 51, 50, 0.04), transparent);
}

.tb-process .tb-section-title {
  max-width: 18ch;
  margin-bottom: 2rem;
}

.tb-process__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tb-process__stats > div {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: 1.25rem;
  padding: 1.25rem 1.4rem;
}

.tb-process__num {
  margin: 0;
  font-family: var(--tb-font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--tb-forest);
  line-height: 1;
}

.tb-process__stats span {
  display: block;
  margin-top: 0.4rem;
  color: var(--tb-muted);
  font-size: 0.9rem;
}

.tb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: none;
}

.tb-step {
  background: var(--tb-forest);
  color: #fff;
  border-radius: calc(var(--tb-radius) - 0.35rem);
  padding: 1.7rem;
  position: relative;
  overflow: hidden;
}

.tb-step::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -30%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 199, 69, 0.22), transparent 70%);
}

.tb-step__num {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--tb-gold);
  color: var(--tb-forest);
  font-family: var(--tb-font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}

.tb-step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--tb-font-display);
  letter-spacing: -0.02em;
}

.tb-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 1;
}

/* Why */
.tb-why {
  padding: 4rem 0;
}

.tb-why__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.tb-why__copy .tb-section-title {
  max-width: 14ch;
  margin-bottom: 1rem;
}

.tb-why__copy > p {
  color: var(--tb-muted);
  max-width: 38rem;
}

.tb-check-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.tb-check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 600;
}

.tb-check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 199, 69, 0.25);
  color: var(--tb-gold-2);
  font-size: 0.75rem;
  margin-top: 0.1rem;
}

.tb-why__panel {
  background:
    radial-gradient(500px 280px at 80% 10%, rgba(255, 199, 69, 0.2), transparent 55%),
    var(--tb-forest);
  color: #fff;
  border-radius: var(--tb-radius);
  padding: 1.8rem;
  display: grid;
  gap: 1.25rem;
  align-content: center;
}

.tb-meter {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tb-meter__ring {
  --p: 90;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side, var(--tb-forest) 78%, transparent 79% 100%),
    conic-gradient(var(--tb-gold) calc(var(--p) * 1%), rgba(255, 255, 255, 0.12) 0);
  flex-shrink: 0;
}

.tb-meter__ring span {
  font-family: var(--tb-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tb-gold);
}

.tb-meter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.tb-why__tiles {
  display: grid;
  gap: 0.75rem;
}

.tb-why__tiles > div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}

.tb-why__tiles strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--tb-font-display);
}

.tb-why__tiles p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* Quotes */
.tb-quotes {
  padding: 4rem 0;
  overflow: hidden;
}

.tb-quotes .tb-section-title {
  max-width: 18ch;
  margin-bottom: 1.75rem;
}

.tb-quotes__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

.tb-quotes__track::-webkit-scrollbar {
  height: 6px;
}

.tb-quotes__track::-webkit-scrollbar-thumb {
  background: rgba(22, 51, 50, 0.25);
  border-radius: 99px;
}

.tb-quote {
  flex: 0 0 min(340px, 80vw);
  scroll-snap-align: start;
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: 1.4rem;
  padding: 1.5rem;
  transition: transform 0.3s var(--tb-ease);
}

.tb-quote:hover {
  transform: translateY(-4px);
}

.tb-quote h3 {
  margin: 0 0 0.7rem;
  font-family: var(--tb-font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.tb-quote p {
  margin: 0 0 1.1rem;
  color: var(--tb-muted);
}

.tb-quote footer {
  font-size: 0.88rem;
  color: var(--tb-forest);
}

/* FAQ */
.tb-faq {
  padding: 4rem 0;
}

.tb-faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.tb-faq__grid > div:first-child p:last-child {
  color: var(--tb-muted);
  margin-top: 0.85rem;
}

.tb-accordion {
  display: grid;
  gap: 0.75rem;
}

.tb-acc {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: 1.15rem;
  padding: 0.35rem 1.15rem;
  transition: border-color 0.25s;
}

.tb-acc[open] {
  border-color: rgba(255, 199, 69, 0.65);
}

.tb-acc summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-family: var(--tb-font-display);
  letter-spacing: -0.01em;
  padding: 0.85rem 2rem 0.85rem 0;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
}

.tb-acc summary::-webkit-details-marker {
  display: none;
}

.tb-acc summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 199, 69, 0.2);
  color: var(--tb-forest);
  font-weight: 700;
}

.tb-acc[open] summary::after {
  content: "–";
  background: var(--tb-gold);
}

.tb-acc p {
  margin: 0 0 1.1rem;
  color: var(--tb-muted);
  max-width: 58ch;
}

/* Contact */
.tb-contact {
  padding: 2rem 0 4.5rem;
}

.tb-contact__panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  background:
    radial-gradient(700px 360px at 0% 100%, rgba(255, 199, 69, 0.18), transparent 55%),
    linear-gradient(145deg, var(--tb-forest-2), var(--tb-forest-3));
  color: #fff;
  border-radius: var(--tb-radius);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.tb-contact__copy h2 {
  margin: 1rem 0;
  font-family: var(--tb-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 14ch;
}

.tb-contact__copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 36rem;
}

.tb-contact__meta {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.tb-contact__meta a {
  color: var(--tb-gold);
  font-weight: 650;
}

.tb-contact__meta strong {
  display: inline-block;
  min-width: 3.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin-right: 0.5rem;
}

.tb-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--tb-radius) - 0.5rem);
  padding: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.tb-form label {
  display: grid;
  gap: 0.35rem;
}

.tb-form label span {
  font-size: 0.82rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.7);
}

.tb-form input,
.tb-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 36, 35, 0.45);
  color: #fff;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tb-form input::placeholder,
.tb-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.tb-form input:focus,
.tb-form textarea:focus {
  border-color: var(--tb-gold);
  box-shadow: 0 0 0 3px rgba(255, 199, 69, 0.2);
}

.tb-form__note {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Footer */
.tb-footer {
  background: var(--tb-forest-3);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.tb-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tb-logo--footer .tb-logo__text {
  color: #fff;
}

.tb-logo--footer .tb-logo__text span {
  color: var(--tb-gold);
  opacity: 1;
}

.tb-footer__brand p {
  margin: 1rem 0 0;
  max-width: 28rem;
}

.tb-footer__col h3 {
  margin: 0 0 0.9rem;
  font-family: var(--tb-font-display);
  color: #fff;
  font-size: 1rem;
}

.tb-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.tb-footer__col a:hover {
  color: var(--tb-gold);
}

.tb-footer__meta {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.tb-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  font-size: 0.88rem;
}

.tb-footer__bottom p {
  margin: 0;
}

/* Inner pages */
.tb-main--page {
  padding: 3rem 0 4rem;
}

.tb-article h1 {
  font-family: var(--tb-font-display);
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4vw, 3rem);
}

.tb-prose {
  max-width: 65ch;
  color: var(--tb-muted);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--tb-ease), transform 0.8s var(--tb-ease);
  will-change: transform, opacity;
}

[data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

.tb-parallax-slow {
  will-change: transform;
}

/* Animations */
@keyframes tb-blink {
  50% { opacity: 0; }
}

@keyframes tb-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

@keyframes tb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes tb-breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes tb-spin-soft {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Responsive — breakpoints: sm 480 · md 768 · lg 1024 · xl 1280 */

/* —— Below desktop (tablet + phone): stack major layouts, show mobile nav —— */
@media (max-width: 1023px) {
  .tb-nav {
    display: none;
  }

  .tb-nav-toggle {
    display: inline-grid;
  }

  .tb-mobile-nav:not([hidden]) {
    display: flex;
  }

  .tb-header__inner {
    width: min(1180px, calc(100% - 1.5rem));
    gap: 0.75rem;
  }

  .tb-container,
  .tb-hero__grid {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .tb-hero__grid,
  .tb-audience__inner,
  .tb-stats__grid,
  .tb-about__grid,
  .tb-services__head,
  .tb-process__stats,
  .tb-steps,
  .tb-why__grid,
  .tb-faq__grid,
  .tb-contact__panel,
  .tb-footer__top {
    grid-template-columns: 1fr;
  }

  .tb-services__grid {
    grid-template-columns: 1fr;
  }

  .tb-hero {
    padding: 0.75rem 0 1.5rem;
  }

  .tb-hero__grid {
    min-height: auto;
    gap: 0.75rem;
  }

  /* CTA content first on smaller screens — better conversion usability */
  .tb-hero__panel--dark {
    order: 0;
    min-height: auto;
    padding: 1.5rem 1.25rem 1.65rem;
  }

  .tb-hero__panel--visual {
    order: 1;
    min-height: 16.5rem;
  }

  .tb-cloud {
    min-height: 15rem;
  }

  .tb-agent--3,
  .tb-cloud__chip--1,
  .tb-cloud__chip--3 {
    display: none;
  }

  .tb-build {
    width: min(270px, 84%);
    top: 42%;
  }

  .tb-code {
    min-height: 5.5rem;
    font-size: 0.68rem;
  }

  .tb-section-title,
  .tb-contact__copy h2,
  .tb-why__copy .tb-section-title {
    max-width: none;
  }

  .tb-promo {
    clip-path: none;
    padding-left: 1.5rem;
  }

  .tb-hero__title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .tb-hero__brand {
    font-size: clamp(2.35rem, 8vw, 3.5rem);
  }

  .tb-hero__line {
    font-size: clamp(1.25rem, 4.5vw, 1.85rem);
  }

  /* Soften parallax layers on mid screens */
  .tb-hero__bg,
  .tb-hero__panel[data-speed] {
    will-change: auto;
  }
}

/* —— Tablet: 2-col services / about where helpful —— */
@media (min-width: 768px) and (max-width: 1023px) {
  .tb-services__grid,
  .tb-about__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tb-process__stats,
  .tb-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tb-hero__panel--visual {
    min-height: 20rem;
  }

  .tb-cloud {
    min-height: 18.5rem;
  }

  .tb-header__actions .tb-btn--dark {
    display: inline-flex;
  }
}

/* —— Phone —— */
@media (max-width: 767px) {
  :root {
    --tb-header: 3.85rem;
    --tb-radius: 1.25rem;
    --tb-gutter: 1rem;
  }

  .tb-header__actions .tb-btn--dark {
    display: none;
  }

  .tb-btn {
    min-height: 44px;
  }

  .tb-btn--lg {
    min-height: 48px;
    width: 100%;
  }

  .tb-hero__title,
  .tb-hero__brand,
  .tb-hero__line {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: manual;
  }

  .tb-hero__brand {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .tb-hero__title {
    font-size: clamp(1.65rem, 7.5vw, 2.2rem);
  }

  .tb-hero__line {
    font-size: clamp(1.1rem, 5vw, 1.45rem);
    flex-wrap: wrap;
  }

  .tb-hero__lead + .tb-hero__lead {
    margin-top: 0.65rem;
  }

  .tb-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .tb-hero__cta .tb-btn {
    width: 100%;
  }

  .tb-hero__checks {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .tb-hero__panel--visual {
    min-height: 11rem;
    overflow: hidden;
  }

  .tb-cloud {
    min-height: 10.5rem;
  }

  /* Hide terminal on mobile to prevent overflow; keep light agent cue */
  .tb-build {
    display: none;
  }

  .tb-agent--2,
  .tb-agent--3,
  .tb-agent--4,
  .tb-cloud__chip {
    display: none;
  }

  .tb-agent--1 {
    top: 12%;
    left: 6%;
  }

  .tb-social-proof {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.7rem 0.85rem;
  }

  .tb-stats__grid,
  .tb-services__grid,
  .tb-process__stats,
  .tb-steps,
  .tb-about__grid {
    grid-template-columns: 1fr !important;
  }

  .tb-service {
    width: 100%;
  }

  .tb-pills {
    flex-wrap: wrap;
  }

  .tb-pills span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .tb-mini-list li,
  .tb-acc p,
  .tb-acc summary {
    overflow-wrap: anywhere;
  }

  .tb-stat,
  .tb-about__card,
  .tb-service,
  .tb-step {
    padding: 1.25rem;
  }

  .tb-quotes__track {
    margin-inline: 0;
    padding-inline: 0;
    gap: 0.75rem;
  }

  .tb-quote {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .tb-form,
  .tb-form input,
  .tb-form textarea,
  .tb-form .tb-btn {
    width: 100%;
    max-width: 100%;
  }

  .tb-form input,
  .tb-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .tb-form textarea {
    min-height: 120px;
  }

  .tb-contact {
    padding: 1.25rem 0 3rem;
  }

  .tb-contact__panel {
    border-radius: 1.25rem;
    padding: 1.25rem;
  }

  .tb-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .tb-hero__bg,
  .tb-hero__panel[data-speed],
  [data-depth] {
    transform: none !important;
  }

  .tb-agent,
  .tb-cloud__chip {
    --tx: 0px !important;
    --ty: 0px !important;
  }
}

/* —— Small phones (320–428) —— */
@media (max-width: 428px) {
  .tb-logo__text {
    font-size: 1.05rem;
  }

  .tb-container,
  .tb-hero__grid,
  .tb-header__inner {
    width: min(1180px, calc(100% - 1rem));
  }

  .tb-hero__panel--dark {
    padding: 1.15rem 1rem 1.35rem;
  }

  .tb-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .tb-typed {
    white-space: normal;
    min-width: 0;
  }

  .tb-hero__panel--visual {
    min-height: 9.5rem;
  }

  .tb-cloud {
    min-height: 9rem;
  }
}

/* Desktop nav + split hero restore */
@media (min-width: 1024px) {
  .tb-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tb-nav-toggle {
    display: none;
  }

  .tb-mobile-nav {
    display: none !important;
  }
}
