/* TheOldBear homepage — premium SaaS rebuild (public site only) */

.tb-hp {
  --tb-hp-ink: #0f172a;
  --tb-hp-muted: #64748b;
  --tb-hp-line: #e2e8f0;
  --tb-hp-brand: #0d9488;
  --tb-hp-max: 1140px;
  --tb-hp-radius-sm: 10px;
  --tb-hp-radius-md: 14px;
  --tb-hp-radius-lg: 16px;
  --tb-hp-border-hair: rgba(15, 23, 42, 0.06);
  --tb-hp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px rgba(15, 23, 42, 0.05);
  --tb-hp-shadow-md: 0 2px 4px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.07);
  --tb-hp-shadow-hover: 0 4px 8px rgba(15, 23, 42, 0.05), 0 18px 44px rgba(15, 23, 42, 0.1);
  --tb-hp-surface: #ffffff;
  --tb-hp-surface-muted: #f8fafc;
  --tb-hp-surface-wash: #f4f6f8;
  overflow-x: hidden;
}

.tb-hp__container {
  width: 100%;
  max-width: var(--tb-hp-max);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.tb-hp__kicker {
  margin: 0 0 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tb-hp-brand);
}

.tb-hp__title {
  margin: 0 0 clamp(18px, 2.5vw, 26px);
  font-size: clamp(1.92rem, 4.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.06;
  color: var(--tb-hp-ink);
}

.tb-hp-hero .tb-hp__lead {
  max-width: 40rem;
}

.tb-hp__lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.95vw, 1.18rem);
  line-height: 1.65;
  color: #475569;
  max-width: 50ch;
}

/* ---------- Hero ---------- */
.tb-hp-hero {
  padding: clamp(56px, 10vw, 104px) 0 clamp(52px, 7vw, 84px);
  background: linear-gradient(180deg, #fafbfc 0%, #f5f6f8 100%);
  border-bottom: 1px solid var(--tb-hp-border-hair);
}

/* Dark premium hero — aligns with CSS product shots (high-end workspace chrome) */
.tb-hp-hero--dark {
  background: radial-gradient(120% 90% at 10% 0%, rgba(13, 148, 136, 0.14) 0%, transparent 45%),
    linear-gradient(165deg, #0f172a 0%, #111c33 42%, #0b1222 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.85);
}

.tb-hp-hero--dark .tb-hp__title {
  color: #f8fafc;
}

.tb-hp__lead--on-dark {
  color: #cbd5e1;
  max-width: min(44rem, 100%);
}

.tb-hp-hero__inline-link {
  color: #5eead4;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tb-hp-hero__inline-link:hover {
  color: #99f6e4;
}

.tb-hp-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(22px, 3vw, 30px);
  max-width: 26rem;
}

@media (min-width: 520px) {
  .tb-hp-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }
}

.tb-hp-hero__stat {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(8px);
}

.tb-hp-hero__stat-val {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #5eead4;
  line-height: 1.1;
}

.tb-hp-hero__stat-lab {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.35;
}

.tb-hp-hero__stat-note {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: #64748b;
  max-width: 36rem;
}

.tb-hp-hero--dark .tb-hp-hero__ctas {
  margin-top: clamp(22px, 3vw, 28px);
}

.tb-hp-btn--ghost-light {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, 0.35);
}

.tb-hp-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(226, 232, 240, 0.55);
  color: #fff;
}

.tb-hp-hero__links {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.tb-hp-hero__links a {
  color: #94a3b8;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.tb-hp-hero__links a:hover {
  color: #e2e8f0;
  border-bottom-color: #5eead4;
}

.tb-hp-hero__visual-inner--dark {
  border-color: rgba(94, 234, 212, 0.15);
  background: rgba(15, 23, 42, 0.35);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(94, 234, 212, 0.08);
}

.tb-hp-hero__copy {
  max-width: min(36rem, 100%);
}

.tb-hp-hero__grid {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

@media (min-width: 960px) {
  .tb-hp-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
  }
}

.tb-hp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.5vw, 36px);
}

.tb-hp-hero__ctas .btn {
  min-height: 46px;
  padding-inline: clamp(18px, 2.2vw, 22px);
}

.tb-hp-hero__soft {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

@media (min-width: 520px) {
  .tb-hp-hero__soft {
    width: auto;
    margin-top: 0;
    margin-left: 4px;
  }
}

.tb-hp-hero__visual {
  position: relative;
}

.tb-hp-hero__visual-inner {
  border-radius: var(--tb-hp-radius-lg);
  overflow: hidden;
  border: 1px solid var(--tb-hp-border-hair);
  background: var(--tb-hp-surface);
  box-shadow: var(--tb-hp-shadow-md);
}

.tb-hp-hero__visual-inner .tb-mshot {
  margin: 0;
}

@media (max-width: 959px) {
  .tb-hp-hero__visual {
    max-width: 560px;
    margin-inline: auto;
  }
}

/* ---------- Trust strip ---------- */
.tb-hp-trust {
  padding: clamp(22px, 3.2vw, 32px) 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef3 55%, #eef2f6 100%);
  border-bottom: 1px solid var(--tb-hp-border-hair);
}

.tb-hp-trust__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 720px) {
  .tb-hp-trust__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tb-hp-trust__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

.tb-hp-trust__chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tb-hp-ink);
  line-height: 1.35;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 10px 32px rgba(15, 23, 42, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.tb-hp-trust__chip:hover {
  box-shadow: var(--tb-hp-shadow-md);
  transform: translateY(-1px);
}

.tb-hp-trust__ic {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--tb-hp-radius-sm);
  display: grid;
  place-items: center;
  background: rgba(13, 148, 136, 0.07);
  color: var(--tb-hp-brand);
}

.tb-hp-trust__ic svg {
  width: 15px;
  height: 15px;
}

/* ---------- Section rhythm ---------- */
.tb-hp-sec {
  padding: clamp(56px, 9vw, 104px) 0;
}

.tb-hp-sec--tint {
  background: linear-gradient(180deg, #f1f5f9 0%, #fafbfc 55%, #ffffff 100%);
}

.tb-hp-sec--wash {
  background: linear-gradient(180deg, var(--tb-hp-surface-wash) 0%, #fafbfc 100%);
}

.tb-hp-sec__head {
  max-width: 42rem;
  margin: 0 auto clamp(36px, 5vw, 52px);
  text-align: center;
}

.tb-hp-sec__eyebrow {
  margin: 0 0 10px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tb-hp-brand);
}

.tb-hp-sec__head h2,
.tb-hp-sec__title {
  margin: 0 0 14px;
  font-size: clamp(1.42rem, 3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.14;
  color: var(--tb-hp-ink);
}

.tb-hp-sec__head .tb-hp__lead {
  margin-inline: auto;
}

.tb-hp-sec__head--proof {
  max-width: 36rem;
}

/* ---------- See the platform in action (showcase grid; 8 cards on wide screens) ---------- */
.tb-hp-proof-grid {
  display: grid;
  gap: clamp(20px, 2.6vw, 28px);
  grid-template-columns: 1fr;
}

.tb-hp-proof-grid.tb-hp-proof-grid--showcase {
  gap: clamp(22px, 2.8vw, 30px);
}

@media (min-width: 640px) {
  .tb-hp-proof-grid.tb-hp-proof-grid--showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .tb-hp-proof-grid.tb-hp-proof-grid--showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1320px) {
  .tb-hp-proof-grid.tb-hp-proof-grid--showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tb-hp-proof-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--tb-hp-radius-lg);
  border: 1px solid var(--tb-hp-border-hair);
  background: var(--tb-hp-surface);
  box-shadow: var(--tb-hp-shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  min-height: 100%;
}

.tb-hp-proof-card:hover {
  box-shadow: var(--tb-hp-shadow-hover);
  transform: translateY(-2px);
}

.tb-hp-proof-card__frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #e2e8f0 0%, #e8edf2 42%, #dce3ea 100%);
  border-bottom: 1px solid var(--tb-hp-border-hair);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.tb-hp-proof-grid--showcase .tb-hp-proof-card__frame {
  height: clamp(200px, 24vw, 232px);
  min-height: clamp(200px, 24vw, 232px);
  max-height: clamp(200px, 24vw, 232px);
}

.tb-hp-proof-card__frame .tb-mshot {
  margin: 0;
}

.tb-hp-proof-card__frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
}

.tb-hp-hero__visual-inner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.tb-hp-proof-card__body {
  padding: clamp(18px, 2.2vw, 22px) clamp(18px, 2.4vw, 24px) clamp(20px, 2.6vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tb-hp-proof-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--tb-hp-ink);
}

.tb-hp-proof-card__cap {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.45em;
}

/* ---------- Built for real care operations (4-up) ---------- */
.tb-hp-sec--care-ops {
  padding-block: clamp(60px, 9vw, 108px);
  background: var(--tb-hp-surface);
}

.tb-hp-sec__head--care-ops {
  max-width: 38rem;
}

.tb-hp-out-grid {
  display: grid;
  gap: clamp(20px, 2.6vw, 28px);
  align-items: stretch;
}

@media (min-width: 768px) {
  .tb-hp-out-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tb-hp-out-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tb-hp-out-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(26px, 3.2vw, 34px);
  border-radius: var(--tb-hp-radius-lg);
  border: 1px solid var(--tb-hp-border-hair);
  background: var(--tb-hp-surface);
  box-shadow: var(--tb-hp-shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.tb-hp-out-card:hover {
  box-shadow: var(--tb-hp-shadow-hover);
  transform: translateY(-2px);
}

.tb-hp-out-card__ic {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(13, 148, 136, 0.07);
  color: var(--tb-hp-brand);
  flex-shrink: 0;
}

.tb-hp-out-card__ic svg {
  width: 22px;
  height: 22px;
}

.tb-hp-out-card h3 {
  margin: 0 0 14px;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--tb-hp-ink);
}

.tb-hp-out-card__line {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.58;
  color: #64748b;
}

/* ---------- Why it works (USP timeline) ---------- */
.tb-hp-sec--why-works {
  padding-block: clamp(52px, 8vw, 96px);
  background: linear-gradient(180deg, #e8eef5 0%, #dfe7f0 45%, #e8edf4 100%);
  border-block: 1px solid rgba(148, 163, 184, 0.35);
}

.tb-hp-sec__head--why {
  max-width: 34rem;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.tb-hp__lead--why-intro {
  font-size: clamp(1.08rem, 2.1vw, 1.22rem);
  font-weight: 600;
  color: #334155;
  max-width: none;
  line-height: 1.58;
}

.tb-hp-why-flow {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 34rem;
  position: relative;
}

.tb-hp-why-flow::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(13, 148, 136, 0.45) 0%,
    rgba(100, 116, 139, 0.28) 50%,
    rgba(13, 148, 136, 0.35) 100%
  );
}

.tb-hp-why-step {
  position: relative;
  margin: 0;
  padding: 0 0 clamp(22px, 3vw, 28px) 0;
  padding-left: 40px;
}

.tb-hp-why-step:last-child {
  padding-bottom: 0;
}

.tb-hp-why-step::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--tb-hp-brand, #0d9488);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
  z-index: 1;
}

.tb-hp-why-step__title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.32;
  color: var(--tb-hp-ink, #0f172a);
  margin-bottom: 6px;
}

.tb-hp-why-step__note {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.52;
  color: #475569;
}

.tb-hp-why-close {
  margin: clamp(28px, 4vw, 40px) auto 0;
  max-width: 34rem;
  text-align: center;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #0f172a;
}

/* ---------- Pricing preview ---------- */
.tb-hp-sec--price-preview {
  padding-block: clamp(60px, 9vw, 100px);
}

.tb-hp-sec__head--price-preview .tb-hp-sec__title {
  max-width: 22ch;
  margin-inline: auto;
}

.tb-hp-sec__head--price-preview .tb-hp__lead {
  max-width: 36rem;
  margin-inline: auto;
}

.tb-hp-price-grid {
  display: grid;
  gap: clamp(20px, 2.6vw, 28px);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 640px) {
  .tb-hp-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tb-hp-price-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tb-hp-price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(26px, 2.8vw, 32px);
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid var(--tb-hp-border-hair);
  background: var(--tb-hp-surface);
  box-shadow: var(--tb-hp-shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.tb-hp-price-card:hover {
  box-shadow: var(--tb-hp-shadow-md);
  transform: translateY(-1px);
}

.tb-hp-price-card--featured {
  border: 1px solid rgba(13, 148, 136, 0.32);
  box-shadow:
    0 0 0 1px rgba(13, 148, 136, 0.08),
    var(--tb-hp-shadow-md);
  position: relative;
  padding-top: clamp(28px, 3.2vw, 34px);
}

.tb-hp-price-card--featured:hover {
  box-shadow:
    0 0 0 1px rgba(13, 148, 136, 0.12),
    var(--tb-hp-shadow-hover);
  transform: translateY(-2px);
}

.tb-hp-price-card--featured::before {
  content: "Most popular";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--tb-hp-brand);
  padding: 4px 9px;
  border-radius: 999px;
}

.tb-hp-price-card__plan {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--tb-hp-ink);
}

.tb-hp-price-card--featured .tb-hp-price-card__plan {
  margin-right: 5.5rem;
}

.tb-hp-price-card__aud {
  margin: 0;
  flex: 1 1 auto;
  min-height: 2.85em;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: #64748b;
}

.tb-hp-price-card__price {
  margin: 0;
  margin-top: auto;
  padding-top: clamp(16px, 2vw, 22px);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: -0.01em;
}

.tb-hp-price-card__price strong {
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tb-hp-ink);
}

.tb-hp-price-card__price--custom {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tb-hp-ink);
}

.tb-hp-price-foot {
  margin: clamp(32px, 4.5vw, 44px) auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.58;
  color: #64748b;
}

.tb-hp-price-next {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: clamp(30px, 4vw, 40px);
}

.tb-hp-price-next .btn {
  min-height: 48px;
  padding-inline: clamp(20px, 2.4vw, 26px);
  font-size: 0.9375rem;
  font-weight: 700;
}

/* ---------- Offer cards ---------- */
.tb-hp-offer-grid {
  display: grid;
  gap: clamp(20px, 2.6vw, 26px);
}

@media (min-width: 768px) {
  .tb-hp-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .tb-hp-offer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tb-hp-offer-card {
  padding: clamp(24px, 2.8vw, 30px);
  border-radius: var(--tb-hp-radius-lg);
  border: 1px solid var(--tb-hp-border-hair);
  background: var(--tb-hp-surface);
  box-shadow: var(--tb-hp-shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 0;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.tb-hp-offer-card:hover {
  box-shadow: var(--tb-hp-shadow-hover);
  transform: translateY(-2px);
}

.tb-hp-offer-card h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tb-hp-ink);
}

.tb-hp-offer-card__who {
  margin: 0 0 12px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tb-hp-brand);
}

.tb-hp-offer-card p {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
  flex: 1;
}

.tb-hp-offer-card .btn {
  align-self: flex-start;
  min-height: 46px;
  margin-top: auto;
}

/* ---------- Roles ---------- */
.tb-hp-role-grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 22px);
}

@media (min-width: 640px) {
  .tb-hp-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tb-hp-role-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tb-hp-role-card {
  padding: clamp(20px, 2.6vw, 26px);
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid var(--tb-hp-border-hair);
  background: var(--tb-hp-surface);
  box-shadow: var(--tb-hp-shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.tb-hp-role-card:hover {
  box-shadow: var(--tb-hp-shadow-md);
  transform: translateY(-1px);
}

.tb-hp-role-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tb-hp-ink);
}

.tb-hp-role-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

/* ---------- FAQ ---------- */
.tb-hp-faq {
  max-width: 720px;
  margin: 0 auto;
}

.tb-hp-faq details {
  border: 1px solid var(--tb-hp-border-hair);
  border-radius: var(--tb-hp-radius-md);
  padding: 4px clamp(18px, 2.4vw, 22px);
  margin-bottom: 12px;
  background: var(--tb-hp-surface);
  box-shadow: var(--tb-hp-shadow-sm);
}

.tb-hp-faq summary {
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 16px 0;
  cursor: pointer;
  color: var(--tb-hp-ink);
}

.tb-hp-faq details[open] summary {
  border-bottom: 1px solid var(--tb-hp-border-hair);
  margin-bottom: 10px;
}

.tb-hp-faq details p {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.58;
  color: #64748b;
}

/* ---------- Final CTA (full-width, calm close) ---------- */
.tb-hp-sec.tb-hp-sec--final-cta {
  padding-block: clamp(76px, 11vw, 124px);
  margin: 0;
  background: linear-gradient(180deg, #eef2f6 0%, #f4f6f9 38%, #fafbfc 100%);
  border-top: 1px solid var(--tb-hp-border-hair);
}

.tb-hp-close .tb-hp__container {
  text-align: center;
}

.tb-hp-close__title {
  margin: 0 auto clamp(16px, 2.4vw, 22px);
  max-width: 22ch;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--tb-hp-ink);
}

.tb-hp-close__lead {
  margin: 0 auto clamp(36px, 5vw, 48px);
  max-width: 40rem;
  font-size: clamp(1.02rem, 1.9vw, 1.14rem);
  line-height: 1.6;
  font-weight: 500;
  color: #475569;
}

.tb-hp-close__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  max-width: 22rem;
  margin: 0 auto;
}

.tb-hp-close__actions .btn {
  justify-content: center;
  min-height: 52px;
  padding-inline: clamp(22px, 3vw, 28px);
  font-size: 1rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .tb-hp-close__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: none;
    gap: 16px;
  }

  .tb-hp-close__actions .btn {
    min-width: 11.5rem;
    width: auto;
  }
}

.tb-hp-close__trust {
  margin: clamp(32px, 4.5vw, 44px) auto 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 500;
  color: #64748b;
}

/* ---------- Capability map & Why us (platform_capability_story.php) ---------- */
.tb-hp__lead--wide {
  max-width: min(52rem, 100%);
}

.tb-hp-sec--capabilities,
.tb-hp-sec--why-us-diff {
  padding-block: clamp(52px, 8vw, 88px);
}

.tb-hp-sec--why-us-diff {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-block: 1px solid var(--tb-hp-border-hair);
}

.tb-hp-cap-grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 20px);
  margin-top: clamp(28px, 4vw, 40px);
}

@media (min-width: 720px) {
  .tb-hp-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tb-hp-cap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tb-hp-cap-card {
  margin: 0;
  padding: clamp(18px, 2.4vw, 22px) clamp(18px, 2.4vw, 24px);
  background: var(--tb-hp-surface);
  border: 1px solid var(--tb-hp-border-hair);
  border-radius: var(--tb-hp-radius-md);
  box-shadow: var(--tb-hp-shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tb-hp-cap-card:hover {
  border-color: rgba(13, 148, 136, 0.22);
  box-shadow: var(--tb-hp-shadow-hover);
  transform: translateY(-2px);
}

.tb-hp-cap-card__title {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--tb-hp-ink);
}

.tb-hp-cap-card__body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.58;
  color: #475569;
}

.tb-hp-cap-card--why .tb-hp-cap-card__title {
  color: #0f766e;
}

.tb-hp-cap-foot {
  margin: clamp(24px, 3.5vw, 32px) 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}

.tb-hp-why-us-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 40px);
}

.tb-hp-prose {
  margin: 0.75rem 0 0;
  font-size: clamp(1rem, 1.75vw, 1.08rem);
  line-height: 1.65;
  max-width: min(52rem, 100%);
}

.tb-hp-prose--muted {
  color: #64748b;
}

.tb-hp-sec__head--center-narrow {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}

.tb-hp__lead--center {
  margin-inline: auto;
  text-align: center;
  max-width: 48rem;
}

.tb-hp-sec--accountability {
  padding-block: clamp(48px, 7vw, 80px);
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  border-block: 1px solid var(--tb-hp-border-hair);
}

.tb-hp-acc-grid {
  list-style: none;
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tb-hp-acc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tb-hp-acc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tb-hp-acc-item {
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--tb-hp-radius-md);
  background: #fff;
  border: 1px solid var(--tb-hp-border-hair);
  box-shadow: var(--tb-hp-shadow-sm);
}

.tb-hp-acc-item__title {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f766e;
  margin-bottom: 8px;
}

.tb-hp-acc-item__body {
  display: block;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

.tb-hp-close__links {
  margin: clamp(20px, 3vw, 28px) auto 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.tb-hp-close__link {
  color: #475569;
  text-decoration: none;
  border-bottom: 1px solid rgba(71, 85, 105, 0.35);
}

.tb-hp-close__link:hover {
  color: #0f172a;
  border-bottom-color: #0d9488;
}

/* Final CTA — dark premium band (matches hero + CSS product shots) */
.tb-hp-sec.tb-hp-sec--final-cta.tb-hp-sec--premium-dark {
  background:
    radial-gradient(85% 60% at 50% 0%, rgba(45, 212, 191, 0.14) 0%, transparent 52%),
    linear-gradient(165deg, #0f172a 0%, #111c33 52%, #0a0f1c 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.tb-hp-sec--premium-dark .tb-hp-close__title {
  color: #f8fafc;
}

.tb-hp-sec--premium-dark .tb-hp-close__lead {
  color: #cbd5e1;
}

.tb-hp-sec--premium-dark .tb-hp-close__trust {
  color: #94a3b8;
}

.tb-hp-sec--premium-dark .tb-hp-close__link {
  color: #e2e8f0;
  border-bottom-color: rgba(226, 232, 240, 0.35);
}

.tb-hp-sec--premium-dark .tb-hp-close__link:hover {
  color: #fff;
  border-bottom-color: #5eead4;
}

.tb-hp-sec--premium-dark .tb-hp-close__actions .btn.btn-light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.35);
  color: #f1f5f9;
}

.tb-hp-sec--premium-dark .tb-hp-close__actions .btn.btn-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(226, 232, 240, 0.5);
  color: #fff;
}

/* ---------- MAR generator funnel (homepage + /mar-demo) ---------- */
.tb-hp-mar-lead {
  padding: clamp(36px, 6vw, 56px) 0;
  background: linear-gradient(180deg, #ecfeff 0%, #f0fdfa 38%, #f8fafc 100%);
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.tb-hp-mar-lead__grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .tb-hp-mar-lead__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  }
}

.tb-hp-mar-lead__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #0f766e;
}

.tb-hp-mar-lead__title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--tb-hp-ink);
}

.tb-hp-mar-lead__sub {
  margin: 0 0 20px;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.62;
  color: #475569;
  max-width: 52ch;
}

.tb-hp-mar-lead__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.tb-hp-mar-lead__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--tb-hp-muted);
  max-width: 54ch;
}

.tb-hp-mar-mock {
  border-radius: var(--tb-hp-radius-lg);
  background: #fff;
  border: 1px solid var(--tb-hp-line);
  box-shadow: var(--tb-hp-shadow-md);
  padding: 14px 14px 12px;
}

.tb-hp-mar-mock__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.78rem;
}

.tb-hp-mar-mock__name {
  font-weight: 800;
  color: #0f172a;
}

.tb-hp-mar-mock__meta {
  color: #64748b;
  font-weight: 600;
}

.tb-hp-mar-mock__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 1.1fr);
  gap: 10px;
  font-size: 0.68rem;
}

.tb-hp-mar-mock__left {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 4px 6px;
  align-content: start;
}

.tb-hp-mar-mock__left > span:nth-child(-n + 2) {
  font-weight: 800;
  color: #475569;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tb-hp-mar-mock__row {
  font-weight: 700;
  color: #0f172a;
}

.tb-hp-mar-mock__row--muted {
  color: #64748b;
  font-weight: 600;
}

.tb-hp-mar-mock__days {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
}

.tb-hp-mar-mock__dhead {
  text-align: center;
  font-weight: 800;
  font-size: 0.62rem;
  color: #334155;
  padding: 2px 0;
}

.tb-hp-mar-mock__cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.65rem;
  background: #fafafa;
  color: #0f172a;
}

.tb-hp-mar-mock__cell--r {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.tb-hp-mar-mock__cap {
  margin: 10px 0 0;
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: center;
}

.tb-hp-mar-sec {
  padding: clamp(44px, 6vw, 72px) 0;
}

.tb-hp-mar-sec--free {
  background: #fff;
  border-block: 1px solid var(--tb-hp-border-hair);
}

.tb-hp-mar-sec--trust {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.tb-hp-mar-sec--demo {
  background: #fff;
  border-top: 1px solid var(--tb-hp-border-hair);
}

.tb-hp-mar-sec--upgrade {
  padding-block: clamp(40px, 5vw, 56px);
  background: linear-gradient(120deg, #0f172a 0%, #134e4a 48%, #115e59 100%);
  color: #e2e8f0;
  border-block: 1px solid rgba(15, 23, 42, 0.6);
}

.tb-hp-mar-sec--upgrade .tb-hp-mar-sec__title {
  color: #f8fafc;
}

.tb-hp-mar-sec--upgrade .tb-hp-mar-sec__lead {
  color: #cbd5e1;
  max-width: 58ch;
}

.tb-hp-mar-sec--upgrade .tb-hp-mar-list li {
  color: #e2e8f0;
}

.tb-hp-mar-sec__head {
  max-width: 720px;
  margin-bottom: clamp(24px, 3vw, 32px);
}

.tb-hp-mar-sec__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tb-hp-ink);
}

.tb-hp-mar-sec__lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.62;
  color: #475569;
}

.tb-hp-mar-2col {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .tb-hp-mar-2col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.tb-hp-mar-h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f766e;
}

.tb-hp-mar-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #334155;
  line-height: 1.65;
}

.tb-hp-mar-list--compact {
  margin-top: 12px;
}

.tb-hp-mar-list li {
  margin: 6px 0;
}

.tb-hp-mar-card {
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid #bbf7d0;
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 55%);
  padding: 20px 22px;
  box-shadow: var(--tb-hp-shadow-sm);
}

.tb-hp-mar-check {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tb-hp-mar-check li {
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
  color: #14532d;
  font-weight: 600;
  line-height: 1.5;
}

.tb-hp-mar-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid #22c55e;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  box-shadow: 0 0 0 2px #ecfdf5;
}

.tb-hp-mar-foot {
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: #64748b;
}

.tb-hp-mar-trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .tb-hp-mar-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tb-hp-mar-trust-grid li {
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--tb-hp-radius-md);
  background: #fff;
  border: 1px solid var(--tb-hp-border-hair);
  box-shadow: var(--tb-hp-shadow-sm);
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
}

.tb-hp-mar-preview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}

@media (min-width: 800px) {
  .tb-hp-mar-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tb-hp-mar-preview-card {
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid var(--tb-hp-line);
  background: #fafafa;
  padding: 18px 18px 16px;
  box-shadow: var(--tb-hp-shadow-sm);
}

.tb-hp-mar-preview-card__t {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.tb-hp-mar-preview-card__p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
}

.tb-hp-mar-preview-card__shot {
  height: 120px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.tb-hp-mar-preview-card__shot--mar {
  background: linear-gradient(145deg, #eff6ff 0%, #fff 40%, #f8fafc 100%);
}

.tb-hp-mar-preview-card__shot--pro {
  background: linear-gradient(145deg, #f0fdf4 0%, #fff 45%, #f8fafc 100%);
}

.tb-hp-mar-preview-card__shot--log {
  background: linear-gradient(145deg, #fffbeb 0%, #fff 45%, #f8fafc 100%);
}

.tb-hp-mar-demo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tb-hp-mar-upgrade__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.tb-hp-mar-sec--upgrade .btn.btn-brand {
  background: #2dd4bf;
  border-color: #14b8a6;
  color: #042f2e;
}

.tb-hp-mar-sec--upgrade .btn.btn-brand:hover {
  filter: brightness(1.05);
}

.tb-hp-mar-sec--upgrade .btn.btn-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.35);
  color: #f1f5f9;
}

.tb-mar-demo-page .tb-mar-demo .lead {
  color: #475569;
}

/* Phase 2 — conversion homepage (sections 1–8) */
.tb-hp-hero__ctas--triple {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tb-hp-conv-preview-grid {
  display: grid;
  gap: clamp(18px, 2.5vw, 24px);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .tb-hp-conv-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tb-hp-conv-preview-card {
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid var(--tb-hp-line);
  background: var(--tb-hp-surface);
  padding: clamp(16px, 2vw, 22px);
  box-shadow: var(--tb-hp-shadow-sm);
}

.tb-hp-conv-preview-card__t {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tb-hp-ink);
}

.tb-hp-conv-preview-card__p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--tb-hp-muted);
}

.tb-hp-conv-preview-card__frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tb-hp-border-hair);
}

.tb-hp-conv-features-grid {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tb-hp-conv-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .tb-hp-conv-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tb-hp-conv-feat {
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid var(--tb-hp-line);
  background: var(--tb-hp-surface-muted);
  padding: 20px 20px 18px;
}

.tb-hp-conv-feat__ic {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--tb-hp-brand);
}

.tb-hp-conv-feat__ic svg {
  width: 26px;
  height: 26px;
}

.tb-hp-conv-feat h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
}

.tb-hp-conv-feat p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--tb-hp-muted);
}

.tb-hp-how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .tb-hp-how-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tb-hp-how-step {
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid var(--tb-hp-line);
  background: #fff;
  padding: 18px 16px 16px;
  box-shadow: var(--tb-hp-shadow-sm);
}

.tb-hp-how-step__n {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.12);
  color: var(--tb-hp-brand);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.tb-hp-how-step__t {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--tb-hp-ink);
}

.tb-hp-how-step__d {
  display: block;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--tb-hp-muted);
}

.tb-hp-conv-training-grid {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .tb-hp-conv-training-grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.tb-hp-conv-training__shot {
  border-radius: var(--tb-hp-radius-lg);
  overflow: hidden;
  border: 1px solid var(--tb-hp-line);
  box-shadow: var(--tb-hp-shadow-md);
}

.tb-hp-conv-training__h3 {
  margin: 18px 0 6px;
  font-size: 1rem;
}

.tb-hp-conv-training__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tb-hp-conv-price-row {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .tb-hp-conv-price-row:not(.tb-hp-conv-price-row--four) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Homepage pricing preview — four tiers */
.tb-hp-conv-price-row--four {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tb-hp-conv-price-row--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .tb-hp-conv-price-row--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tb-hp-conv-price-row--four .tb-hp-price-card__aud {
  min-height: 3.1em;
}

.tb-hp-conv-price-row--four .small {
  font-size: 0.82rem;
}

.tb-hp-sec--continued-programmes {
  border-top: 1px solid var(--tb-hp-line);
  padding-top: clamp(28px, 4vw, 48px);
}

/* Homepage simplification — spacing rhythm & 3-up blocks */
.tb-hp-sec--rhythm {
  padding-block: clamp(44px, 7vw, 80px);
}

.tb-hp-conv-preview-grid--tri {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tb-hp-conv-preview-grid--tri {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tb-hp-what3-grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 22px);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .tb-hp-what3-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tb-hp-what3-card {
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid var(--tb-hp-line);
  background: var(--tb-hp-surface);
  padding: clamp(20px, 2.5vw, 26px);
  box-shadow: var(--tb-hp-shadow-sm);
}

.tb-hp-what3-card__ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--tb-hp-brand);
}

.tb-hp-what3-card__ic svg {
  width: 22px;
  height: 22px;
}

.tb-hp-what3-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tb-hp-ink);
}

.tb-hp-what3-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--tb-hp-muted);
}

.tb-hp-why-benefits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 14px 18px;
}

.tb-hp-why-benefits li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #475569;
}

.tb-hp-why-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tb-hp-brand);
  opacity: 0.85;
}

.tb-hp-why-benefits a {
  font-weight: 700;
  color: var(--tb-hp-brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 148, 136, 0.35);
}

.tb-hp-why-benefits a:hover {
  border-bottom-color: var(--tb-hp-brand);
}

.tb-hp-sec--more-strip {
  padding-block: clamp(40px, 6vw, 64px);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-top: 1px solid var(--tb-hp-border-hair);
}

.tb-hp-more-strip__title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  text-align: center;
  color: var(--tb-hp-ink);
}

.tb-hp-more-strip__intro {
  margin: 0 auto 20px;
  text-align: center;
  font-size: 0.95rem;
  max-width: 42rem;
}

.tb-hp-more-strip__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tb-hp-more-strip__list a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--tb-hp-radius-sm);
  border: 1px solid var(--tb-hp-line);
  background: #fff;
  font-weight: 600;
  color: var(--tb-hp-ink);
  text-decoration: none;
  box-shadow: var(--tb-hp-shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tb-hp-more-strip__list a:hover {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: var(--tb-hp-shadow-md);
}

/* Four pillars + quad preview (homepage clarity pass) */
.tb-hp-sec--pillars {
  padding-block: clamp(48px, 8vw, 88px);
}

.tb-hp-sec__head--pillars {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.tb-hp-sec__head--pillars .tb-hp__lead {
  max-width: 46rem;
  margin-inline: auto;
}

.tb-hp-pillars-grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 22px);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tb-hp-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .tb-hp-pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tb-hp-pillar-card {
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid var(--tb-hp-line);
  background: var(--tb-hp-surface);
  padding: clamp(18px, 2.2vw, 22px) clamp(16px, 2vw, 20px);
  box-shadow: var(--tb-hp-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tb-hp-pillar-card__ic {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 11px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--tb-hp-brand);
  flex-shrink: 0;
}

.tb-hp-pillar-card__ic svg {
  width: 21px;
  height: 21px;
}

.tb-hp-pillar-card__title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--tb-hp-ink);
}

.tb-hp-pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.tb-hp-pillar-list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #64748b;
  font-weight: 500;
}

.tb-hp-pillar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tb-hp-brand);
  opacity: 0.75;
}

.tb-hp-sec__head--preview {
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.tb-hp-sec__head--tight {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.tb-hp-conv-preview-grid--quad {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tb-hp-conv-preview-grid--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .tb-hp-conv-preview-grid--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Homepage conversion pass — hero trust strip, image previews, pillars copy, trust band */
.tb-hp-hero__truststrip {
  list-style: none;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.tb-hp-hero__truststrip li {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e2e8f0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.42);
}

.tb-hp-hero__figure {
  margin: 0;
}

.tb-hp-home-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  vertical-align: middle;
}

.tb-hp-pillar-card__tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
  flex: 1;
}

.tb-hp-diff-point__ic {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 11px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--tb-hp-brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tb-hp-diff-point__ic svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 1024px) {
  .tb-hp-cap-grid.tb-hp-cap-grid--diff-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tb-hp-price-card__feats {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #64748b;
  text-align: left;
}

.tb-hp-price-card__feats li {
  position: relative;
  padding-left: 0.95rem;
  margin-bottom: 6px;
}

.tb-hp-price-card__feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tb-hp-brand);
  opacity: 0.85;
}

.tb-hp-sec--trust-block {
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
  border-block: 1px solid var(--tb-hp-border-hair);
}

.tb-hp-trust-block__grid {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .tb-hp-trust-block__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .tb-hp-trust-block__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tb-hp-trust-block__item {
  padding: 18px 16px;
  border-radius: var(--tb-hp-radius-md);
  border: 1px solid var(--tb-hp-line);
  background: #fff;
  box-shadow: var(--tb-hp-shadow-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}

.tb-hp-trust-block__item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--tb-hp-ink);
}

.tb-hp-trust-block__item .muted {
  display: block;
  font-size: 0.84rem;
  color: #64748b;
}

.tb-hp-trust-block__item a {
  font-weight: 600;
  color: var(--tb-hp-brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 148, 136, 0.3);
}

.tb-hp-trust-block__item a:hover {
  border-bottom-color: var(--tb-hp-brand);
}
