@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --basemap: #0E0B08;
  --topsoil: #1C1209;
  --subsoil-mid: #2B1E10;
  --field-card: #221810;
  --strata-line: #3D2B18;
  --amber-zone: #E8A02A;
  --amber-muted: #B87C1A;
  --sensor-green: #2D6A2A;
  --stressed-red: #C04030;
  --grain-silver: #8B9199;
  --sky-blue: #B8C4CC;
  --parchment: #F5F1EB;
  --parchment-alt: #EDE8DF;
  --text-dark-primary: #F0EDE8;
  --text-dark-secondary: #A89880;
  --text-light-primary: #1C1209;
  --text-light-secondary: #5A4530;
  --border-dark: #3D2B18;
  --border-light: #D5C9B8;

  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --section-pad: clamp(64px, 8vw, 112px);
  --card-gap: 24px;
  --grid-gutter: clamp(16px, 2.5vw, 32px);
  --container-max: 1200px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--basemap);
  color: var(--text-dark-primary);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

.tbt-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.tbt-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.tbt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: background 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.tbt-btn--primary {
  background: var(--amber-zone);
  color: var(--basemap);
  border: 2px solid var(--amber-zone);
}
.tbt-btn--primary:hover {
  background: var(--amber-muted);
  border-color: var(--amber-muted);
}

.tbt-btn--outline-dark {
  background: transparent;
  color: var(--text-light-primary);
  border: 2px solid var(--border-light);
}
.tbt-btn--outline-dark:hover {
  border-color: var(--text-light-primary);
}

.tbt-btn--ghost-on-dark {
  background: transparent;
  color: var(--text-dark-primary);
  border: 2px solid transparent;
  padding: 12px 16px;
}
.tbt-btn--ghost-on-dark:hover {
  color: var(--text-dark-secondary);
}

.tbt-btn--ghost-on-light {
  background: transparent;
  color: var(--text-light-secondary);
  border: 2px solid transparent;
  padding: 12px 16px;
}
.tbt-btn--ghost-on-light:hover {
  color: var(--text-light-primary);
}

.tbt-btn--outline-light {
  background: transparent;
  color: var(--text-dark-primary);
  border: 2px solid var(--text-dark-secondary);
}
.tbt-btn--outline-light:hover {
  border-color: var(--text-dark-primary);
}

.tbt-sensor-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-zone);
  flex-shrink: 0;
}

.tbt-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 250ms ease-out, box-shadow 250ms ease-out;
  background: transparent;
}

.tbt-page--dark-top .tbt-nav {
  background: transparent;
}

.tbt-page--light-top .tbt-nav {
  background: var(--basemap);
  box-shadow: 0 1px 0 var(--border-dark);
}

.tbt-nav--scrolled {
  background: var(--basemap) !important;
  box-shadow: 0 1px 0 var(--border-dark) !important;
}

.tbt-nav__inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 0;
}

.tbt-nav__logo {
  flex-shrink: 0;
  margin-right: auto;
  display: flex;
  align-items: center;
}

.tbt-nav__logo img {
  height: 36px;
  width: auto;
}

.tbt-nav__logo-light {
  display: block;
}
.tbt-nav__logo-dark {
  display: none;
}

.tbt-page--light-top .tbt-nav:not(.tbt-nav--scrolled) .tbt-nav__logo-light {
  display: block;
}
.tbt-page--light-top .tbt-nav:not(.tbt-nav--scrolled) .tbt-nav__logo-dark {
  display: none;
}

.tbt-nav--scrolled .tbt-nav__logo-light {
  display: block !important;
}
.tbt-nav--scrolled .tbt-nav__logo-dark {
  display: none !important;
}

.tbt-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 24px;
}

.tbt-nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--text-dark-primary);
  transition: color 200ms ease-out;
}
.tbt-nav__link:hover {
  color: var(--amber-zone);
}

.tbt-nav__ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tbt-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 16px;
}

.tbt-nav__hamburger-bar {
  width: 100%;
  height: 2px;
  background: var(--text-dark-primary);
  border-radius: 2px;
  transition: transform 200ms ease-out, opacity 200ms ease-out;
}

.tbt-nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--basemap);
  border-top: 1px solid var(--border-dark);
  padding: 24px var(--grid-gutter) 32px;
  z-index: 999;
}

.tbt-nav__mobile-menu.tbt-nav__mobile-menu--open {
  display: block;
}

.tbt-nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.tbt-nav__mobile-link {
  display: block;
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark-primary);
  border-bottom: 1px solid var(--border-dark);
}
.tbt-nav__mobile-link:hover {
  color: var(--amber-zone);
}

.tbt-nav__mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 900px) {
  .tbt-nav__links,
  .tbt-nav__ctas {
    display: none;
  }
  .tbt-nav__hamburger {
    display: flex;
  }
}

.tbt-footer {
  background: var(--basemap);
  border-top: 1px solid var(--border-dark);
  padding-top: 64px;
  padding-bottom: 32px;
}

.tbt-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: 48px;
}

.tbt-footer__logo {
  display: block;
  margin-bottom: 16px;
}

.tbt-footer__logo img {
  height: 32px;
  width: auto;
}

.tbt-footer__tagline {
  font-size: 0.9375rem;
  color: var(--text-dark-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.tbt-footer__contact {
  font-size: 0.875rem;
  color: var(--text-dark-secondary);
  font-style: normal;
  line-height: 1.8;
}

.tbt-footer__contact a {
  color: var(--text-dark-secondary);
  transition: color 200ms ease-out;
}
.tbt-footer__contact a:hover {
  color: var(--amber-zone);
}

.tbt-footer__col-title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark-primary);
  margin-bottom: 16px;
}

.tbt-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tbt-footer__col-link {
  font-size: 0.9375rem;
  color: var(--text-dark-secondary);
  transition: color 200ms ease-out;
}
.tbt-footer__col-link:hover {
  color: var(--amber-zone);
}

.tbt-footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tbt-footer__copy {
  font-size: 0.8125rem;
  color: var(--text-dark-secondary);
}

.tbt-footer__bottom-links {
  display: flex;
  gap: 20px;
}

.tbt-footer__bottom-link {
  font-size: 0.8125rem;
  color: var(--text-dark-secondary);
  transition: color 200ms ease-out;
}
.tbt-footer__bottom-link:hover {
  color: var(--amber-zone);
}

@media (max-width: 768px) {
  .tbt-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.tbt-section--dark {
  background: var(--basemap);
  color: var(--text-dark-primary);
}

.tbt-section--topsoil {
  background: var(--topsoil);
  color: var(--text-dark-primary);
}

.tbt-section--light {
  background: var(--parchment);
  color: var(--text-light-primary);
}

.tbt-section--parchment-alt {
  background: var(--parchment-alt);
  color: var(--text-light-primary);
}

.tbt-section--white {
  background: #ffffff;
  color: var(--text-light-primary);
}

.tbt-strata-bg {
  position: relative;
  overflow: hidden;
}
.tbt-strata-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(61,43,24,0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(61,43,24,0.25) 1px, transparent 1px);
  background-size: 120px 80px;
  pointer-events: none;
}

.tbt-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-zone);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbt-section-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.tbt-section--dark .tbt-section-headline,
.tbt-section--topsoil .tbt-section-headline {
  color: var(--text-dark-primary);
}

.tbt-section--light .tbt-section-headline,
.tbt-section--parchment-alt .tbt-section-headline,
.tbt-section--white .tbt-section-headline {
  color: var(--text-light-primary);
}

.tbt-section-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 680px;
}

.tbt-section--dark .tbt-section-sub,
.tbt-section--topsoil .tbt-section-sub {
  color: var(--text-dark-secondary);
}

.tbt-section--light .tbt-section-sub,
.tbt-section--parchment-alt .tbt-section-sub,
.tbt-section--white .tbt-section-sub {
  color: var(--text-light-secondary);
}

#tbt-hero {
  background: var(--basemap);
  padding-top: calc(var(--nav-height) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(48px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.tbt-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.tbt-hero__content {
  position: relative;
  z-index: 2;
}

.tbt-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-zone);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tbt-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark-primary);
  margin-bottom: 24px;
}

.tbt-hero__h1 em {
  font-style: italic;
  color: var(--amber-zone);
}

.tbt-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.75;
  color: var(--text-dark-secondary);
  margin-bottom: 36px;
  max-width: 520px;
}

.tbt-hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tbt-hero__visual {
  position: relative;
  z-index: 2;
}

.tbt-hero__svg-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.tbt-hero__svg-wrap svg {
  width: 100%;
  height: 100%;
}

@keyframes tbt-pulse {
  0%, 100% { opacity: 1; r: 5px; }
  50% { opacity: 0.4; r: 8px; }
}

.tbt-sensor-pulse {
  animation: tbt-pulse 2.5s ease-in-out infinite;
}
.tbt-sensor-pulse-2 {
  animation: tbt-pulse 2.5s ease-in-out infinite 0.8s;
}
.tbt-sensor-pulse-3 {
  animation: tbt-pulse 2.5s ease-in-out infinite 1.6s;
}

@media (max-width: 768px) {
  .tbt-hero__grid {
    grid-template-columns: 1fr;
  }
  .tbt-hero__visual {
    order: -1;
  }
  #tbt-hero {
    min-height: auto;
  }
}

#tbt-problem-strip {
  background: var(--topsoil);
  padding-block: var(--section-pad);
}

.tbt-problem__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.tbt-problem__statement {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-dark-primary);
}

.tbt-problem__metrics {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tbt-metric {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tbt-metric__number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--amber-zone);
  line-height: 1;
  flex-shrink: 0;
}

.tbt-metric__label {
  font-size: 0.9375rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
  padding-top: 4px;
}

@media (max-width: 768px) {
  .tbt-problem__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

#tbt-how-it-works-preview {
  background: var(--basemap);
  padding-block: var(--section-pad);
}

.tbt-hiw-preview__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.tbt-hiw-preview__steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--grid-gutter);
  position: relative;
}

.tbt-hiw-preview__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 32px);
  right: calc(16.67% + 32px);
  height: 1px;
  background: linear-gradient(to right, var(--border-dark), var(--amber-zone), var(--border-dark));
}

.tbt-step-card {
  background: var(--field-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
}

.tbt-step-card__number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-zone);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tbt-step-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.tbt-step-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  margin-bottom: 12px;
}

.tbt-step-card__desc {
  font-size: 0.9375rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

.tbt-hiw-preview__cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .tbt-hiw-preview__steps {
    grid-template-columns: 1fr;
  }
  .tbt-hiw-preview__steps::before {
    display: none;
  }
}

#tbt-customer-types {
  background: var(--parchment);
  padding-block: var(--section-pad);
}

.tbt-customer__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--grid-gutter);
  align-items: stretch;
}

.tbt-customer-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  padding: 36px;
}

.tbt-customer-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--parchment-alt);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-light-secondary);
  margin-bottom: 20px;
}

.tbt-customer-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light-primary);
  margin-bottom: 14px;
}

.tbt-customer-card__desc {
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tbt-customer-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tbt-customer-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  line-height: 1.5;
}

.tbt-customer-card__list-item .tbt-sensor-dot {
  margin-top: 6px;
}

@media (max-width: 768px) {
  .tbt-customer__grid {
    grid-template-columns: 1fr;
  }
}

#tbt-prescription-demo {
  background: var(--basemap);
  padding-block: var(--section-pad);
}

.tbt-prx-demo__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.tbt-prx-demo__map {
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  overflow: hidden;
  background: var(--field-card);
}

.tbt-prx-demo__map svg {
  display: block;
  width: 100%;
  height: auto;
}

.tbt-prx-demo__legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.tbt-prx-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-dark-secondary);
  font-family: var(--font-mono);
}

.tbt-prx-legend-swatch {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}

.tbt-prx-demo__content-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 8px;
}

.tbt-prx-demo__content-sub {
  font-size: 0.9375rem;
  color: var(--text-dark-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.tbt-prx-demo__formats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.tbt-prx-format-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--field-card);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
}

.tbt-prx-format-item__icon {
  font-size: 1rem;
  color: var(--amber-zone);
  flex-shrink: 0;
}

.tbt-prx-format-item__name {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--amber-zone);
  flex: 0 0 auto;
  min-width: 80px;
}

.tbt-prx-format-item__desc {
  font-size: 0.875rem;
  color: var(--text-dark-secondary);
}

.tbt-prx-demo__note {
  font-size: 0.875rem;
  color: var(--text-dark-secondary);
  font-style: italic;
}

@media (max-width: 768px) {
  .tbt-prx-demo__grid {
    grid-template-columns: 1fr;
  }
}

#tbt-integrations-strip {
  background: var(--topsoil);
  padding-block: clamp(40px, 5vw, 64px);
}

.tbt-int-strip__header {
  text-align: center;
  margin-bottom: 32px;
}

.tbt-int-strip__label {
  font-size: 0.875rem;
  color: var(--text-dark-secondary);
  margin-bottom: 8px;
}

.tbt-int-strip__title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text-dark-primary);
  margin-bottom: 4px;
}

.tbt-int-strip__brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.tbt-int-brand {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark-secondary);
  padding: 10px 24px;
  border-right: 1px solid var(--border-dark);
  white-space: nowrap;
  transition: color 200ms ease-out;
}
.tbt-int-brand:last-child {
  border-right: none;
}
.tbt-int-brand:hover {
  color: var(--text-dark-primary);
}

.tbt-int-strip__sub {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-dark-secondary);
  font-family: var(--font-mono);
  margin-top: 20px;
  letter-spacing: 0.02em;
}

#tbt-testimonials {
  background: var(--parchment);
  padding-block: var(--section-pad);
}

.tbt-testimonials__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.tbt-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
}

.tbt-testimonial-card {
  background: var(--parchment-alt);
  border-radius: 8px;
  padding: 32px;
  border-left: 4px solid var(--amber-muted);
  position: relative;
}

.tbt-testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-light-primary);
  margin-bottom: 24px;
}

.tbt-testimonial-card__quote::before {
  content: '\201C';
  font-size: 3rem;
  line-height: 0;
  color: var(--amber-zone);
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.tbt-testimonial-card__attribution {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light-secondary);
}

.tbt-testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-light-secondary);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .tbt-testimonials__grid {
    grid-template-columns: 1fr;
  }
}

#tbt-cta-band {
  background: var(--subsoil-mid);
  padding-block: clamp(56px, 7vw, 96px);
  text-align: center;
  border-top: 3px solid var(--amber-zone);
}

.tbt-cta-band__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 16px;
}

.tbt-cta-band__sub {
  font-size: 1rem;
  color: var(--text-dark-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.tbt-cta-band__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.tbt-page-hero {
  padding-top: calc(var(--nav-height) + clamp(48px, 7vw, 80px));
  padding-bottom: clamp(48px, 7vw, 80px);
  position: relative;
}

.tbt-page-hero--dark {
  background: var(--basemap);
  color: var(--text-dark-primary);
}

.tbt-page-hero--light {
  background: var(--parchment);
  color: var(--text-light-primary);
  border-bottom: 1px solid var(--border-light);
}

.tbt-page-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbt-page-hero--dark .tbt-page-hero__eyebrow {
  color: var(--amber-zone);
}

.tbt-page-hero--light .tbt-page-hero__eyebrow {
  color: var(--amber-muted);
}

.tbt-page-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.tbt-page-hero--dark .tbt-page-hero__h1 {
  color: var(--text-dark-primary);
}

.tbt-page-hero--light .tbt-page-hero__h1 {
  color: var(--text-light-primary);
}

.tbt-page-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  max-width: 600px;
}

.tbt-page-hero--dark .tbt-page-hero__sub {
  color: var(--text-dark-secondary);
}

.tbt-page-hero--light .tbt-page-hero__sub {
  color: var(--text-light-secondary);
}

.tbt-page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.tbt-page-hero__visual {
  display: flex;
  justify-content: center;
}

.tbt-page-hero__ornament {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

@media (max-width: 768px) {
  .tbt-page-hero__grid {
    grid-template-columns: 1fr;
  }
  .tbt-page-hero__visual {
    display: none;
  }
}

.tbt-content-section {
  padding-block: var(--section-pad);
}

.tbt-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.tbt-two-col--align-center {
  align-items: center;
}

.tbt-two-col--60-40 {
  grid-template-columns: 3fr 2fr;
}

.tbt-two-col--40-60 {
  grid-template-columns: 2fr 3fr;
}

@media (max-width: 768px) {
  .tbt-two-col,
  .tbt-two-col--60-40,
  .tbt-two-col--40-60 {
    grid-template-columns: 1fr;
  }
}

.tbt-content-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.tbt-section--dark .tbt-content-title,
.tbt-section--topsoil .tbt-content-title {
  color: var(--text-dark-primary);
}

.tbt-section--light .tbt-content-title,
.tbt-section--parchment-alt .tbt-content-title,
.tbt-section--white .tbt-content-title {
  color: var(--text-light-primary);
}

.tbt-content-body {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.tbt-section--dark .tbt-content-body,
.tbt-section--topsoil .tbt-content-body {
  color: var(--text-dark-secondary);
}

.tbt-section--light .tbt-content-body,
.tbt-section--parchment-alt .tbt-content-body,
.tbt-section--white .tbt-content-body {
  color: var(--text-light-secondary);
}

.tbt-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tbt-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.tbt-section--dark .tbt-feature-item,
.tbt-section--topsoil .tbt-feature-item {
  color: var(--text-dark-secondary);
}

.tbt-section--light .tbt-feature-item,
.tbt-section--parchment-alt .tbt-feature-item,
.tbt-section--white .tbt-feature-item {
  color: var(--text-light-secondary);
}

.tbt-feature-item .tbt-sensor-dot {
  margin-top: 6px;
}

.tbt-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tbt-tag {
  background: var(--field-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dark-secondary);
  font-family: var(--font-mono);
}

.tbt-section--light .tbt-tag,
.tbt-section--parchment-alt .tbt-tag,
.tbt-section--white .tbt-tag {
  background: var(--parchment-alt);
  border-color: var(--border-light);
  color: var(--text-light-secondary);
}

.tbt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.tbt-card-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.tbt-card-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .tbt-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tbt-card-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tbt-card-grid,
  .tbt-card-grid--2col,
  .tbt-card-grid--4col {
    grid-template-columns: 1fr;
  }
}

.tbt-feature-card {
  background: var(--field-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 28px 24px;
}

.tbt-feature-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(232,160,42,0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--amber-zone);
  font-size: 1.125rem;
}

.tbt-feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  margin-bottom: 10px;
}

.tbt-feature-card__desc {
  font-size: 0.9375rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

.tbt-light-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 28px 24px;
}

.tbt-light-card__icon {
  width: 44px;
  height: 44px;
  background: var(--parchment-alt);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--amber-muted);
  font-size: 1.125rem;
}

.tbt-light-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light-primary);
  margin-bottom: 10px;
}

.tbt-light-card__desc {
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

.tbt-code-block {
  background: var(--basemap);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  overflow: hidden;
}

.tbt-code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--field-card);
  border-bottom: 1px solid var(--border-dark);
}

.tbt-code-block__filename {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dark-secondary);
}

.tbt-code-block__lang {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--amber-zone);
  background: rgba(232,160,42,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.tbt-code-block pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

.tbt-code-block code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-dark-secondary);
  background: transparent;
  padding: 0;
}

.tbt-code-block .tbt-code-tag { color: var(--sky-blue); }
.tbt-code-block .tbt-code-attr { color: var(--amber-zone); }
.tbt-code-block .tbt-code-val { color: #86EFAC; }
.tbt-code-block .tbt-code-comment { color: var(--strata-line); font-style: italic; }

.tbt-pricing-section {
  padding-block: var(--section-pad);
}

.tbt-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  align-items: start;
}

.tbt-pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 32px 28px;
  position: relative;
}

.tbt-pricing-card--featured {
  border-color: var(--amber-zone);
  box-shadow: 0 0 0 1px var(--amber-zone);
}

.tbt-pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber-zone);
  color: var(--basemap);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.tbt-pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light-primary);
  margin-bottom: 8px;
}

.tbt-pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-light-primary);
  margin-bottom: 4px;
  line-height: 1;
}

.tbt-pricing-card__price-unit {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-light-secondary);
}

.tbt-pricing-card__example {
  font-size: 0.875rem;
  color: var(--text-light-secondary);
  margin-bottom: 24px;
  margin-top: 8px;
}

.tbt-pricing-card__divider {
  height: 1px;
  background: var(--border-light);
  margin-bottom: 20px;
}

.tbt-pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.tbt-pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  line-height: 1.5;
}

.tbt-pricing-feature i {
  color: var(--sensor-green);
  margin-top: 3px;
  flex-shrink: 0;
}

.tbt-pricing-card__target {
  font-size: 0.8125rem;
  color: var(--text-light-secondary);
  font-style: italic;
  margin-bottom: 20px;
}

.tbt-pricing-card .tbt-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .tbt-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

.tbt-faq-section {
  padding-block: var(--section-pad);
  background: var(--parchment-alt);
}

.tbt-faq-section .tbt-section-headline {
  color: var(--text-light-primary);
  margin-bottom: 40px;
}

.tbt-faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.tbt-faq-item {
  border-bottom: 1px solid var(--border-light);
}

.tbt-faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.tbt-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light-primary);
}

.tbt-faq-btn__icon {
  color: var(--amber-muted);
  transition: transform 200ms ease-out;
  flex-shrink: 0;
}

.tbt-faq-item--open .tbt-faq-btn__icon {
  transform: rotate(180deg);
}

.tbt-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-out;
}

.tbt-faq-item--open .tbt-faq-answer {
  max-height: 600px;
}

.tbt-faq-answer__inner {
  padding: 0 4px 20px;
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  line-height: 1.7;
}

.tbt-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--card-gap);
}

.tbt-team-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.tbt-team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  height: auto;
}

.tbt-team-card__body {
  padding: 20px;
}

.tbt-team-card__name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-light-primary);
  margin-bottom: 4px;
}

.tbt-team-card__title {
  font-size: 0.875rem;
  color: var(--amber-muted);
  font-weight: 500;
  margin-bottom: 12px;
}

.tbt-team-card__bio {
  font-size: 0.875rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .tbt-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .tbt-team-grid {
    grid-template-columns: 1fr;
  }
}

.tbt-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.tbt-contact-form-wrap {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 36px;
}

.tbt-form-group {
  margin-bottom: 20px;
}

.tbt-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light-secondary);
  margin-bottom: 6px;
}

.tbt-form-input,
.tbt-form-select,
.tbt-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-light-primary);
  background: var(--parchment);
  transition: border-color 200ms ease-out;
  outline: none;
}

.tbt-form-input:focus,
.tbt-form-select:focus,
.tbt-form-textarea:focus {
  border-color: var(--amber-zone);
}

.tbt-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.tbt-form-submit {
  width: 100%;
  justify-content: center;
}

.tbt-contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tbt-contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tbt-contact-info__icon {
  width: 42px;
  height: 42px;
  background: var(--parchment-alt);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-muted);
  font-size: 1rem;
  flex-shrink: 0;
}

.tbt-contact-info__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-secondary);
  margin-bottom: 4px;
}

.tbt-contact-info__value {
  font-size: 0.9375rem;
  color: var(--text-light-primary);
  line-height: 1.5;
}

.tbt-contact-info__value a {
  color: var(--text-light-primary);
  transition: color 200ms;
}
.tbt-contact-info__value a:hover {
  color: var(--amber-muted);
}

@media (max-width: 768px) {
  .tbt-contact-layout {
    grid-template-columns: 1fr;
  }
}

.tbt-blog-hero {
  background: var(--parchment);
  padding-top: calc(var(--nav-height) + clamp(40px, 6vw, 72px));
  padding-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--border-light);
}

.tbt-blog-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-light-primary);
  margin-bottom: 12px;
}

.tbt-blog-hero__sub {
  font-size: 1.0625rem;
  color: var(--text-light-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.tbt-blog-grid-section {
  background: var(--parchment);
  padding-block: var(--section-pad);
}

.tbt-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tbt-blog-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 200ms ease-out, transform 200ms ease-out;
}

.tbt-blog-card:hover {
  box-shadow: 0 8px 24px rgba(28,18,9,0.1);
  transform: translateY(-2px);
}

.tbt-blog-card__cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  height: auto;
  display: block;
}

.tbt-blog-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tbt-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tbt-blog-card__date {
  font-size: 0.8125rem;
  color: var(--text-light-secondary);
}

.tbt-blog-card__read {
  font-size: 0.8125rem;
  color: var(--text-light-secondary);
}

.tbt-blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-light-primary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.tbt-blog-card:hover .tbt-blog-card__title {
  color: var(--amber-muted);
}

.tbt-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
  flex: 1;
}

@media (max-width: 900px) {
  .tbt-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tbt-blog-grid {
    grid-template-columns: 1fr;
  }
}

.tbt-article-shell {
  background: var(--parchment);
  min-height: 100vh;
}

.tbt-article-hero {
  background: var(--parchment);
  padding-top: calc(var(--nav-height) + clamp(32px, 5vw, 56px));
  padding-bottom: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--border-light);
}

.tbt-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tbt-article-hero__back {
  font-size: 0.875rem;
  color: var(--amber-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 200ms;
}
.tbt-article-hero__back:hover {
  color: var(--text-light-primary);
}

.tbt-article-hero__date {
  font-size: 0.875rem;
  color: var(--text-light-secondary);
}

.tbt-article-hero__author {
  font-size: 0.875rem;
  color: var(--text-light-secondary);
}

.tbt-article-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-light-primary);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 820px;
}

.tbt-article-hero__excerpt {
  font-size: 1.125rem;
  color: var(--text-light-secondary);
  line-height: 1.7;
  max-width: 720px;
}

.tbt-article-cover-wrap {
  max-width: 900px;
  margin: 32px auto 0;
  padding-inline: clamp(16px, 4vw, 48px);
}

.tbt-article-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.tbt-article-body-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 48px);
  background: #ffffff;
}

.tbt-article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light-primary);
  margin-top: 2.5em;
  margin-bottom: 0.75em;
}

.tbt-article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light-primary);
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.tbt-article-body p {
  font-size: 1rem;
  color: var(--text-light-secondary);
  line-height: 1.8;
  margin-bottom: 1.25em;
}

.tbt-article-body ul,
.tbt-article-body ol {
  padding-left: 1.75em;
  margin-bottom: 1.25em;
}

.tbt-article-body ul {
  list-style: disc;
}

.tbt-article-body ol {
  list-style: decimal;
}

.tbt-article-body li {
  font-size: 1rem;
  color: var(--text-light-secondary);
  line-height: 1.7;
  margin-bottom: 0.4em;
}

.tbt-article-body blockquote {
  border-left: 3px solid var(--amber-zone);
  padding-left: 1.25em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-light-secondary);
}

.tbt-article-body pre {
  background: var(--basemap);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 1.25em;
  overflow-x: auto;
  margin-bottom: 1.25em;
}

.tbt-article-body pre code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-dark-secondary);
  background: transparent;
  padding: 0;
}

.tbt-article-body code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--parchment-alt);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text-light-primary);
}

.tbt-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-block: 1.5em;
}

.tbt-auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--basemap);
}

.tbt-auth-side {
  background: var(--basemap);
  display: flex;
  flex-direction: column;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.tbt-auth-side__logo {
  display: flex;
  align-items: center;
  margin-bottom: auto;
  padding-bottom: 32px;
}

.tbt-auth-side__logo img {
  height: 36px;
  width: auto;
}

.tbt-auth-side__map {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tbt-auth-side__map svg {
  width: 100%;
  max-width: 380px;
}

.tbt-auth-side__quote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  margin-top: auto;
}

.tbt-auth-panel {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px);
}

.tbt-auth-panel__inner {
  width: 100%;
  max-width: 400px;
}

.tbt-auth-panel__h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light-primary);
  margin-bottom: 8px;
}

.tbt-auth-panel__sub {
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  margin-bottom: 32px;
  line-height: 1.5;
}

.tbt-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tbt-auth-form .tbt-form-group {
  margin-bottom: 0;
}

.tbt-auth-form .tbt-btn--primary {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  margin-top: 8px;
}

.tbt-auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.tbt-auth-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--amber-zone);
  cursor: pointer;
}

.tbt-auth-checkbox-label {
  font-size: 0.875rem;
  color: var(--text-light-secondary);
}

.tbt-auth-panel__alt {
  margin-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light-secondary);
}

.tbt-auth-panel__alt a {
  color: var(--amber-muted);
  font-weight: 600;
  transition: color 200ms;
}
.tbt-auth-panel__alt a:hover {
  color: var(--text-light-primary);
}

.tbt-auth-panel__forgot {
  text-align: right;
  margin-top: -8px;
}

.tbt-auth-panel__forgot a {
  font-size: 0.875rem;
  color: var(--amber-muted);
  transition: color 200ms;
}
.tbt-auth-panel__forgot a:hover {
  color: var(--text-light-primary);
}

.tbt-auth-panel__legal {
  margin-top: 28px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-light-secondary);
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.tbt-auth-panel__legal a {
  color: var(--text-light-secondary);
  text-decoration: underline;
}
.tbt-auth-panel__legal a:hover {
  color: var(--text-light-primary);
}

@media (max-width: 768px) {
  .tbt-auth-page {
    grid-template-columns: 1fr;
  }
  .tbt-auth-side {
    display: none;
  }
  .tbt-auth-panel {
    padding: 48px 24px;
    min-height: 100vh;
  }
}

.tbt-legal-page {
  background: var(--parchment);
  min-height: 100vh;
}

.tbt-legal-header {
  background: var(--parchment);
  padding-top: calc(var(--nav-height) + clamp(40px, 6vw, 64px));
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--border-light);
}

.tbt-legal-header__h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-light-primary);
  margin-bottom: 12px;
}

.tbt-legal-content {
  background: #ffffff;
}

.tbt-legal-article {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) clamp(16px, 4vw, 48px);
}

.tbt-legal-article .legal-header {
  margin-bottom: 40px;
}

.tbt-legal-article h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-light-primary);
  margin-bottom: 10px;
}

.tbt-legal-article .legal-meta {
  font-size: 0.875rem;
  color: var(--text-light-secondary);
  margin-bottom: 4px;
}

.tbt-legal-article h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light-primary);
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.tbt-legal-article h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light-primary);
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}

.tbt-legal-article p {
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  line-height: 1.8;
  margin-bottom: 1em;
}

.tbt-legal-article ul,
.tbt-legal-article ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.tbt-legal-article ul {
  list-style: disc;
}

.tbt-legal-article ol {
  list-style: decimal;
}

.tbt-legal-article li {
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  line-height: 1.7;
  margin-bottom: 0.35em;
}

.tbt-legal-article address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  line-height: 1.8;
}

.tbt-legal-article a {
  color: var(--amber-muted);
  text-decoration: underline;
}
.tbt-legal-article a:hover {
  color: var(--text-light-primary);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
  font-size: 0.875rem;
}

.legal-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--parchment-alt);
  color: var(--text-light-primary);
  font-weight: 600;
  border: 1px solid var(--border-light);
}

.legal-table td {
  padding: 10px 12px;
  color: var(--text-light-secondary);
  border: 1px solid var(--border-light);
  vertical-align: top;
}

.tbt-404-page {
  background: var(--basemap);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-pad) var(--grid-gutter);
}

.tbt-404-page__number {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--amber-zone);
  line-height: 1;
  margin-bottom: 16px;
}

.tbt-404-page__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text-dark-primary);
  margin-bottom: 16px;
}

.tbt-404-page__sub {
  font-size: 1rem;
  color: var(--text-dark-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.tbt-404-page__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.tbt-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.tbt-fade-in.tbt-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--basemap);
  border-top: 1px solid var(--border-dark);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  font-size: 0.875rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--amber-zone);
  text-decoration: underline;
}

.cookie-banner__actions {
  flex-shrink: 0;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--amber-zone);
  color: var(--basemap);
  border: 2px solid var(--amber-zone);
  transition: background 200ms ease-out;
}

.cookie-banner__btn:hover {
  background: var(--amber-muted);
  border-color: var(--amber-muted);
}

.tbt-page--dark-top .tbt-footer,
.tbt-page--light-top .tbt-footer {
  background: var(--basemap);
}

.tbt-data-strip {
  background: var(--subsoil-mid);
  padding-block: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.tbt-data-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gutter);
}

.tbt-data-stat {
  text-align: center;
}

.tbt-data-stat__number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--amber-zone);
  margin-bottom: 4px;
}

.tbt-data-stat__label {
  font-size: 0.8125rem;
  color: var(--text-dark-secondary);
}

@media (max-width: 600px) {
  .tbt-data-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.tbt-step-list {
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tbt-step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tbt-step-item__number {
  counter-increment: step-counter;
  width: 40px;
  height: 40px;
  background: var(--amber-zone);
  color: var(--basemap);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.tbt-step-item__content {
  flex: 1;
  padding-top: 8px;
}

.tbt-step-item__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tbt-section--dark .tbt-step-item__title,
.tbt-section--topsoil .tbt-step-item__title {
  color: var(--text-dark-primary);
}

.tbt-section--light .tbt-step-item__title,
.tbt-section--parchment-alt .tbt-step-item__title,
.tbt-section--white .tbt-step-item__title {
  color: var(--text-light-primary);
}

.tbt-step-item__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.tbt-section--dark .tbt-step-item__desc,
.tbt-section--topsoil .tbt-step-item__desc {
  color: var(--text-dark-secondary);
}

.tbt-section--light .tbt-step-item__desc,
.tbt-section--parchment-alt .tbt-step-item__desc,
.tbt-section--white .tbt-step-item__desc {
  color: var(--text-light-secondary);
}

.tbt-location-strip {
  background: var(--subsoil-mid);
  padding-block: clamp(40px, 5vw, 64px);
}

.tbt-location-strip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.tbt-location-strip__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 16px;
}

.tbt-location-strip__text {
  font-size: 0.9375rem;
  color: var(--text-dark-secondary);
  line-height: 1.7;
}

.tbt-format-table {
  width: 100%;
  border-collapse: collapse;
}

.tbt-format-table thead tr {
  border-bottom: 2px solid var(--border-light);
}

.tbt-format-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-light-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tbt-format-table tbody tr {
  border-bottom: 1px solid var(--border-light);
}

.tbt-format-table td {
  padding: 14px 16px;
  font-size: 0.9375rem;
  color: var(--text-light-secondary);
  vertical-align: top;
}

.tbt-format-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--amber-muted);
  font-weight: 500;
}

.tbt-section-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.tbt-section-cta--centered {
  align-items: center;
  text-align: center;
}

.tbt-section-cta .tbt-btn {
  margin-top: 8px;
}

.tbt-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.legal-article {
  width: 100%;
}

.tbt-mt-8 { margin-top: 8px; }
.tbt-mt-16 { margin-top: 16px; }
.tbt-mt-24 { margin-top: 24px; }
.tbt-mt-32 { margin-top: 32px; }
.tbt-mt-48 { margin-top: 48px; }
.tbt-mb-8 { margin-bottom: 8px; }
.tbt-mb-16 { margin-bottom: 16px; }
.tbt-mb-24 { margin-bottom: 24px; }
.tbt-mb-32 { margin-bottom: 32px; }
.tbt-mb-48 { margin-bottom: 48px; }
.tbt-text-center { text-align: center; }
