.tb-hero,
.tb-solutions {
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.tb-hero__title,
.tb-solutions__title {
  max-width: 14ch;
  margin: 1.5rem 0 0;
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 0.9;
}

.tb-hero__body {
  max-width: 28rem;
  margin: 2rem 0;
  color: var(--tb-steel, #52525b);
  font-size: 15px;
  line-height: 1.6;
}

.tb-hero > * {
  animation: tb-enter-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tb-hero > :nth-child(2) {
  animation-delay: 100ms;
}

.tb-hero > :nth-child(3) {
  animation-delay: 200ms;
}

.tb-hero > :nth-child(4) {
  animation-delay: 300ms;
}

.tb-solutions__grid {
  display: grid;
  gap: 1px;
  margin-top: 3rem;
  background: var(--tb-line, #e4e4e7);
  border: 1px solid var(--tb-line, #e4e4e7);
}

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

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

.tb-ticker {
  overflow: hidden;
  padding: 1.5rem 0;
  background: var(--tb-mist, #f8f9fa);
  border-top: 1px solid var(--tb-line, #e4e4e7);
  border-bottom: 1px solid var(--tb-line, #e4e4e7);
}

.tb-ticker__track {
  display: flex;
  align-items: baseline;
  width: max-content;
  animation: tb-marquee 36s linear infinite;
}

.tb-ticker__name {
  padding: 0 2rem;
  font-size: 1.65rem;
  font-weight: 600;
}

.tb-ticker__track:hover {
  animation-play-state: paused;
}

@keyframes tb-enter-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tb-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .tb-hero > * {
    animation: none;
  }

  .tb-ticker__track {
    animation-play-state: paused;
  }
}

.tb-home-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.tb-home-section--mist {
  background: var(--tb-mist, #f8f9fa);
  box-shadow: 0 0 0 100vmax var(--tb-mist, #f8f9fa);
  clip-path: inset(0 -100vmax);
}

.tb-section-heading {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.tb-section-title {
  max-width: 14ch;
  margin: 1.5rem 0 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 0.98;
}

.tb-section-lede {
  margin: 0;
  color: var(--tb-steel, #52525b);
  font-size: 15px;
  line-height: 1.7;
}

.tb-section-link {
  width: max-content;
  color: var(--tb-ink, #111);
  font-family: var(--tb-font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tb-door-grid,
.tb-insights-grid {
  display: grid;
  gap: 1px;
  margin-top: 4rem;
  border: 1px solid var(--tb-line, #e4e4e7);
  background: var(--tb-line, #e4e4e7);
}

.tb-content-card {
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  padding: 2rem;
  background: var(--tb-paper, #fff);
  color: var(--tb-ink, #111);
  text-decoration: none;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.tb-content-card h3 {
  margin: 2rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

.tb-content-card > p:not(.tb-mega-kicker, .tb-card-meta) {
  max-width: 32rem;
  margin: 1rem 0 0;
  color: var(--tb-steel, #52525b);
  font-size: 15px;
  line-height: 1.7;
}

.tb-card-link {
  margin-top: auto;
  padding-top: 2.5rem;
  font-family: var(--tb-font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tb-card-meta {
  margin: 0;
  color: var(--tb-steel, #52525b);
  font-family: var(--tb-font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tb-card-meta span {
  color: var(--tb-brand, #086ad7);
}

.tb-industry-list {
  margin-top: 4rem;
  border-top: 1px solid var(--tb-ink, #111);
}

.tb-industry-row {
  display: grid;
  gap: 0.75rem;
  padding: 2rem 0.5rem;
  border-bottom: 1px solid var(--tb-line, #e4e4e7);
  color: inherit;
  text-decoration: none;
  transition:
    padding 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease;
}

.tb-industry-row h3,
.tb-industry-row p {
  margin: 0;
}

.tb-industry-row h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

.tb-industry-row p {
  color: var(--tb-steel, #52525b);
  font-size: 14px;
  line-height: 1.6;
}

.tb-closing-cta {
  display: grid;
  gap: 3rem;
  align-items: end;
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  background: var(--tb-navy, #0a2540);
  color: #fff;
  box-shadow: 0 0 0 100vmax var(--tb-navy, #0a2540);
  clip-path: inset(0 -100vmax);
}

.tb-closing-cta .tb-index {
  color: rgba(255, 255, 255, 0.55);
}

.tb-closing-cta h2 {
  max-width: 14ch;
  margin: 1.5rem 0 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 0.98;
}

.tb-closing-cta > div:last-child > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.tb-closing-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-top: 2rem;
}

.tb-closing-cta__actions .tb-link-rule {
  color: #fff;
  font-family: var(--tb-font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tb-contact {
  max-width: 52rem;
  margin: 0 auto;
  color: var(--tb-ink, #111);
}

.tb-contact__notice {
  margin-bottom: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--tb-line, #e4e4e7);
  background: var(--tb-paper, #fff);
}

.tb-contact__notice--success {
  border-left: 4px solid var(--tb-brand, #086ad7);
}

.tb-contact__notice--error {
  border-left: 4px solid var(--tb-crimson, #c71324);
}

.tb-contact__notice h2,
.tb-contact__notice p {
  margin: 0.5rem 0 0;
}

.tb-contact__form {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--tb-line, #e4e4e7);
  background: var(--tb-paper, #fff);
}

.tb-contact__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.tb-contact fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.tb-contact legend,
.tb-contact label > span {
  font-family: var(--tb-font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tb-steel, #52525b);
}

.tb-contact__intent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 0.75rem;
  border: 1px solid var(--tb-line, #e4e4e7);
  background: var(--tb-line, #e4e4e7);
}

.tb-contact__intent-grid label {
  position: relative;
  cursor: pointer;
}

.tb-contact__intent-grid input {
  position: absolute;
  opacity: 0;
}

.tb-contact__intent-grid span {
  display: block;
  padding: 0.8rem;
  background: var(--tb-paper, #fff);
  color: var(--tb-steel, #52525b);
  font-family: var(--tb-font-body, inherit);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tb-contact__intent-grid input:checked + span {
  background: var(--tb-ink, #111);
  color: #fff;
}

.tb-contact__intent-grid input:focus-visible + span {
  outline: 2px solid var(--tb-brand, #086ad7);
  outline-offset: -2px;
}

.tb-contact__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tb-contact__grid label,
.tb-contact__message {
  display: block;
}

.tb-contact input[type="text"],
.tb-contact input[type="email"],
.tb-contact select,
.tb-contact textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--tb-line, #e4e4e7);
  border-radius: 0;
  outline: 0;
  background: var(--tb-paper, #fff);
  color: var(--tb-ink, #111);
  font: inherit;
}

.tb-contact input:focus,
.tb-contact select:focus,
.tb-contact textarea:focus {
  border-color: var(--tb-ink, #111);
}

.tb-contact__message {
  margin-top: 1rem;
}

.tb-contact__consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.tb-contact__consent input {
  margin-top: 0.2rem;
}

.tb-contact__consent span {
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.tb-contact__submit {
  width: 100%;
  margin-top: 1.5rem;
}

@media (hover: hover) {
  .tb-content-card:hover {
    z-index: 1;
    transform: translateY(-4px);
    background: var(--tb-mist, #f8f9fa);
    box-shadow: 0 18px 36px -24px rgba(17, 17, 17, 0.35);
  }

  .tb-industry-row:hover {
    padding-right: 1rem;
    padding-left: 1rem;
    background: var(--tb-mist, #f8f9fa);
  }
}

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

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

  .tb-industry-row {
    grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 24rem);
    gap: 2.5rem;
    align-items: end;
  }

  .tb-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tb-section-heading,
  .tb-closing-cta {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 22rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-content-card,
  .tb-industry-row,
  .tb-contact__intent-grid span {
    transition: none;
  }

  .tb-content-card:hover {
    transform: none;
  }
}
