/* Thinx3D - tx3.css - Full-site CSS */
/* Fonts loaded via Google Fonts in <head> */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette */
  --tx3-obsidian: #0D0D11;
  --tx3-dark-alt: #1B1925;
  --tx3-navy: #2E2B4A;
  --tx3-coral: #C95A3D;
  --tx3-coral-label: #8E2E16;
  --tx3-coral-light: #F4D4CC;
  --tx3-warm-white: #FAF8F4;
  --tx3-cream: #EFECE6;
  --tx3-stone: #635D57;
  --tx3-off-white: #E8E3DC;
  --tx3-white: #FFFFFF;

  /* Typography */
  --tx3-font-head: 'Bricolage Grotesque', 'Inter', system-ui, -apple-system, sans-serif;
  --tx3-font-body: 'Lato', system-ui, -apple-system, sans-serif;
  --tx3-font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Layout */
  --tx3-nav-h: 64px;
  --tx3-max-w: 1200px;
  --tx3-content-w: 720px;
  --tx3-section-py: 96px;
  --tx3-section-py-sm: 64px;

  /* Transitions */
  --tx3-ease: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   PAGE THEME CONTEXT CLASSES
   Body-level theme markers used by nav and button variant selectors.
   ============================================================ */
.tx3-page--dark-top {
  background: var(--tx3-obsidian);
}

.tx3-page--light-top {
  background: var(--tx3-warm-white);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--tx3-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--tx3-obsidian);
  background: var(--tx3-warm-white);
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tx3-font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tx3-h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
.tx3-h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
.tx3-h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; }
.tx3-h4 { font-size: 1.25rem; font-weight: 700; }
.tx3-eyebrow {
  font-family: var(--tx3-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tx3-lead { font-size: 1.125rem; line-height: 1.7; }
.tx3-body { font-size: 1rem; line-height: 1.7; }
.tx3-small { font-size: 0.875rem; line-height: 1.6; }
.tx3-caption { font-size: 0.75rem; line-height: 1.5; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.tx3-container {
  width: 100%;
  max-width: var(--tx3-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.tx3-container--narrow {
  max-width: var(--tx3-content-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   COLOR CONTEXT UTILITIES
   ============================================================ */
.tx3-bg--obsidian { background: var(--tx3-obsidian); }
.tx3-bg--dark-alt { background: var(--tx3-dark-alt); }
.tx3-bg--light { background: var(--tx3-warm-white); }
.tx3-bg--cream { background: var(--tx3-cream); }
.tx3-bg--white { background: var(--tx3-white); }
.tx3-bg--navy { background: var(--tx3-navy); }

.tx3-text--white { color: var(--tx3-white); }
.tx3-text--obsidian { color: var(--tx3-obsidian); }
.tx3-text--stone { color: var(--tx3-stone); }
.tx3-text--coral { color: var(--tx3-coral); }

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.tx3-section {
  padding-top: var(--tx3-section-py);
  padding-bottom: var(--tx3-section-py);
}

.tx3-section--sm {
  padding-top: var(--tx3-section-py-sm);
  padding-bottom: var(--tx3-section-py-sm);
}

.tx3-section--dark {
  background: var(--tx3-obsidian);
  color: var(--tx3-white);
}

.tx3-section--dark-alt {
  background: var(--tx3-dark-alt);
  color: var(--tx3-white);
}

.tx3-section--light {
  background: var(--tx3-warm-white);
  color: var(--tx3-obsidian);
}

.tx3-section--cream {
  background: var(--tx3-cream);
  color: var(--tx3-obsidian);
}

.tx3-section--white {
  background: var(--tx3-white);
  color: var(--tx3-obsidian);
}

/* Section eyebrow + heading pattern */
.tx3-section-header {
  margin-bottom: 56px;
}

.tx3-section-header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.tx3-section-eyebrow {
  display: inline-block;
  font-family: var(--tx3-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx3-coral-label);
  margin-bottom: 12px;
}

.tx3-section--dark .tx3-section-eyebrow,
.tx3-section--dark-alt .tx3-section-eyebrow,
.tx3-hero .tx3-section-eyebrow,
.tx3-hiw-overview .tx3-section-eyebrow,
.tx3-cta-bottom .tx3-section-eyebrow,
.tx3-integration-teaser .tx3-section-eyebrow {
  color: var(--tx3-coral-light);
}

.tx3-section-title {
  font-family: var(--tx3-font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.tx3-section-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--tx3-stone);
  max-width: 560px;
}

.tx3-section--dark .tx3-section-subtitle,
.tx3-section--dark-alt .tx3-section-subtitle,
.tx3-hiw-overview .tx3-section-subtitle,
.tx3-cta-bottom .tx3-section-subtitle {
  color: rgba(255,255,255,0.72);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.tx3-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--tx3-nav-h);
  background: var(--tx3-obsidian);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
}

.tx3-nav__inner {
  width: 100%;
  max-width: var(--tx3-max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.tx3-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tx3-nav__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.tx3-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.tx3-nav__link {
  font-family: var(--tx3-font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  transition: color var(--tx3-ease);
  white-space: nowrap;
}

.tx3-nav__link:hover {
  color: var(--tx3-white);
}

.tx3-nav__link--active {
  color: var(--tx3-white);
  font-weight: 700;
}

.tx3-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tx3-nav__secondary {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--tx3-ease);
}

.tx3-nav__secondary:hover {
  color: var(--tx3-white);
}

/* Hamburger */
.tx3-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.tx3-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tx3-white);
  border-radius: 2px;
  transition: transform var(--tx3-ease), opacity var(--tx3-ease);
}

.tx3-nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.tx3-nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.tx3-nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.tx3-nav__mobile {
  display: none;
  position: fixed;
  top: var(--tx3-nav-h);
  left: 0;
  right: 0;
  background: var(--tx3-obsidian);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}

.tx3-nav__mobile.is-open {
  display: flex;
}

.tx3-nav__mobile-link {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tx3-nav__mobile-link:hover {
  color: var(--tx3-white);
}

.tx3-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.tx3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--tx3-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 11px 24px;
  border-radius: 6px;
  transition: background var(--tx3-ease), color var(--tx3-ease), border-color var(--tx3-ease), transform 0.1s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}

.tx3-btn:active {
  transform: scale(0.98);
}

/* Primary - coral fill (darkened for WCAG AA: #B0401E gives ~5.1:1 with white) */
.tx3-btn--primary {
  background: #B0401E;
  color: var(--tx3-white);
  border-color: #B0401E;
}

.tx3-btn--primary:hover {
  background: #963616;
  border-color: #963616;
}

/* Ghost on dark bg */
.tx3-btn--ghost-dark {
  background: transparent;
  color: var(--tx3-white);
  border-color: rgba(255,255,255,0.35);
}

.tx3-btn--ghost-dark:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

/* Ghost on light bg */
.tx3-btn--ghost-light {
  background: transparent;
  color: var(--tx3-obsidian);
  border-color: var(--tx3-off-white);
}

.tx3-btn--ghost-light:hover {
  border-color: var(--tx3-stone);
}

/* Outline on light bg */
.tx3-btn--outline-light {
  background: transparent;
  color: var(--tx3-coral-label);
  border-color: var(--tx3-coral);
}

.tx3-btn--outline-light:hover {
  background: var(--tx3-coral-light);
}

/* Large size modifier */
.tx3-btn--lg {
  font-size: 1rem;
  padding: 14px 32px;
}

/* Small size modifier */
.tx3-btn--sm {
  font-size: 0.8rem;
  padding: 8px 16px;
}

/* Full width */
.tx3-btn--full {
  width: 100%;
}

/* ============================================================
   HERO - INDEX (two-column: text left, visual right)
   ============================================================ */
.tx3-hero {
  background: var(--tx3-obsidian);
  color: var(--tx3-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--tx3-nav-h);
}

.tx3-hero__inner {
  width: 100%;
  max-width: var(--tx3-max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tx3-hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tx3-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx3-coral-light);
}

.tx3-hero__h1 {
  font-family: var(--tx3-font-head);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--tx3-white);
}

.tx3-hero__h1 span {
  color: var(--tx3-coral);
}

.tx3-hero__sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}

.tx3-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tx3-hero__social-proof {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  padding-top: 8px;
}

.tx3-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sub-page hero (centered) */
.tx3-subhero {
  background: var(--tx3-obsidian);
  color: var(--tx3-white);
  padding-top: calc(var(--tx3-nav-h) + 72px);
  padding-bottom: 72px;
  text-align: center;
}

.tx3-subhero--light {
  background: var(--tx3-warm-white);
  color: var(--tx3-obsidian);
  padding-top: calc(var(--tx3-nav-h) + 56px);
  padding-bottom: 56px;
}

.tx3-subhero__inner {
  max-width: var(--tx3-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.tx3-subhero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx3-coral-light);
  margin-bottom: 16px;
}

.tx3-subhero--light .tx3-subhero__eyebrow {
  color: var(--tx3-coral-label);
}

.tx3-subhero__title {
  font-family: var(--tx3-font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.tx3-subhero__sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
}

.tx3-subhero--light .tx3-subhero__sub {
  color: var(--tx3-stone);
}

/* ============================================================
   PROBLEM SECTION - index.html
   ============================================================ */
.tx3-problem {
  background: var(--tx3-warm-white);
  padding-top: var(--tx3-section-py);
  padding-bottom: var(--tx3-section-py);
}

.tx3-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}

.tx3-problem-card {
  background: var(--tx3-white);
  border: 1px solid var(--tx3-off-white);
  border-radius: 12px;
  padding: 32px;
}

.tx3-problem-card__stat {
  font-family: var(--tx3-font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--tx3-coral);
  margin-bottom: 8px;
}

.tx3-problem-card__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tx3-obsidian);
  margin-bottom: 8px;
}

.tx3-problem-card__desc {
  font-size: 0.875rem;
  color: var(--tx3-stone);
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS OVERVIEW - index.html hiw-overview section
   ============================================================ */
.tx3-hiw-overview {
  background: var(--tx3-dark-alt);
  color: var(--tx3-white);
  padding-top: var(--tx3-section-py);
  padding-bottom: var(--tx3-section-py);
}

.tx3-hiw-overview__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}

.tx3-hiw-overview__steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tx3-hiw-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tx3-hiw-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201,90,61,0.18);
  color: var(--tx3-coral-light);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,90,61,0.3);
}

.tx3-hiw-step__body {}

.tx3-hiw-step__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--tx3-white);
  margin-bottom: 4px;
}

.tx3-hiw-step__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.tx3-hiw-overview__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   PROOF METRICS - index.html
   ============================================================ */
.tx3-proof-metrics {
  background: var(--tx3-warm-white);
  padding-top: var(--tx3-section-py);
  padding-bottom: var(--tx3-section-py);
}

.tx3-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--tx3-off-white);
  border: 1px solid var(--tx3-off-white);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}

.tx3-metric {
  background: var(--tx3-white);
  padding: 40px 32px;
  text-align: center;
}

.tx3-metric__value {
  font-family: var(--tx3-font-head);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--tx3-coral);
  line-height: 1;
  margin-bottom: 8px;
}

.tx3-metric__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tx3-obsidian);
  margin-bottom: 4px;
}

.tx3-metric__note {
  font-size: 0.75rem;
  color: var(--tx3-stone);
}

/* ============================================================
   BRANDS PREVIEW - index.html
   ============================================================ */
.tx3-brands-preview {
  background: var(--tx3-cream);
  padding-top: var(--tx3-section-py);
  padding-bottom: var(--tx3-section-py);
}

.tx3-brands-preview__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 0;
}

.tx3-brands-preview__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tx3-brands-preview__image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.tx3-brands-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tx3-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.tx3-benefit-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--tx3-obsidian);
}

.tx3-benefit-item__icon {
  color: var(--tx3-coral);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.85rem;
}

/* ============================================================
   INTEGRATION TEASER - index.html
   ============================================================ */
.tx3-integration-teaser {
  background: var(--tx3-obsidian);
  color: var(--tx3-white);
  padding-top: var(--tx3-section-py);
  padding-bottom: var(--tx3-section-py);
}

.tx3-integration-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tx3-integration-teaser__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tx3-integration-teaser__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx3-integration-teaser .tx3-section-subtitle {
  color: rgba(255,255,255,0.72);
}

/* ============================================================
   TESTIMONIAL - index.html
   ============================================================ */
.tx3-testimonial {
  background: var(--tx3-warm-white);
  padding-top: var(--tx3-section-py);
  padding-bottom: var(--tx3-section-py);
}

.tx3-testimonial__card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--tx3-white);
  border: 1px solid var(--tx3-off-white);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}

.tx3-testimonial__quote {
  font-family: var(--tx3-font-head);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--tx3-obsidian);
  margin-bottom: 24px;
}

.tx3-testimonial__quote::before { content: '\201C'; color: var(--tx3-coral); }
.tx3-testimonial__quote::after { content: '\201D'; color: var(--tx3-coral); }

.tx3-testimonial__author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--tx3-obsidian);
}

.tx3-testimonial__author-role {
  font-size: 0.8rem;
  color: var(--tx3-stone);
}

/* ============================================================
   CTA BOTTOM - index.html
   ============================================================ */
.tx3-cta-bottom {
  background: var(--tx3-dark-alt);
  color: var(--tx3-white);
  padding-top: var(--tx3-section-py);
  padding-bottom: var(--tx3-section-py);
  text-align: center;
}

.tx3-cta-bottom__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.tx3-cta-bottom__title {
  font-family: var(--tx3-font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tx3-cta-bottom__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
}

.tx3-cta-bottom__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   HOW IT WORKS PAGE - full page
   ============================================================ */
.tx3-hiw-phases {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 0;
}

.tx3-hiw-phase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tx3-hiw-phase--flip {
  direction: rtl;
}

.tx3-hiw-phase--flip > * {
  direction: ltr;
}

.tx3-hiw-phase__num {
  font-family: var(--tx3-font-head);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(201,90,61,0.2);
  line-height: 1;
  margin-bottom: 8px;
}

.tx3-hiw-phase__title {
  font-family: var(--tx3-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.tx3-hiw-phase__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tx3-stone);
}

.tx3-hiw-phase--on-dark .tx3-hiw-phase__desc {
  color: rgba(255,255,255,0.6);
}

.tx3-hiw-phase--on-dark .tx3-hiw-phase__title {
  color: var(--tx3-white);
}

.tx3-hiw-phase__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* Accuracy block on how-it-works */
.tx3-accuracy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tx3-accuracy-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 24px;
}

.tx3-accuracy-card__value {
  font-family: var(--tx3-font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--tx3-coral-light);
  margin-bottom: 6px;
}

.tx3-accuracy-card__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   FOR BRANDS PAGE
   ============================================================ */
.tx3-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tx3-feature-card {
  background: var(--tx3-white);
  border: 1px solid var(--tx3-off-white);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tx3-feature-card--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--tx3-white);
}

.tx3-feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--tx3-coral-light);
  color: var(--tx3-coral-label);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tx3-feature-card--dark .tx3-feature-card__icon {
  background: rgba(201,90,61,0.15);
  color: var(--tx3-coral-light);
}

.tx3-feature-card__title {
  font-weight: 700;
  font-size: 1rem;
}

.tx3-feature-card__desc {
  font-size: 0.875rem;
  color: var(--tx3-stone);
  line-height: 1.6;
}

.tx3-feature-card--dark .tx3-feature-card__desc {
  color: rgba(255,255,255,0.6);
}

/* Returns dashboard visual (for-brands + proof section) */
.tx3-returns-dash {
  background: var(--tx3-white);
  border: 1px solid var(--tx3-off-white);
  border-radius: 16px;
  padding: 28px;
  min-width: 320px;
  max-width: 480px;
  font-family: var(--tx3-font-body);
}

.tx3-returns-dash--dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}

.tx3-returns-dash__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.tx3-returns-dash__title-text {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tx3-stone);
}

.tx3-returns-dash--dark .tx3-returns-dash__title-text {
  color: rgba(255,255,255,0.5);
}

.tx3-returns-dash__badge {
  font-size: 0.7rem;
  background: rgba(201,90,61,0.12);
  color: var(--tx3-coral);
  border-radius: 20px;
  padding: 2px 8px;
  font-weight: 700;
}

.tx3-returns-dash--dark .tx3-returns-dash__badge {
  color: var(--tx3-coral-light);
  background: rgba(201,90,61,0.2);
}

.tx3-returns-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tx3-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tx3-bar-row__label {
  font-size: 0.75rem;
  color: var(--tx3-stone);
  width: 60px;
  flex-shrink: 0;
  text-align: right;
}

.tx3-returns-dash--dark .tx3-bar-row__label {
  color: rgba(255,255,255,0.5);
}

.tx3-bar-row__track {
  flex: 1;
  height: 20px;
  background: var(--tx3-off-white);
  border-radius: 4px;
  overflow: hidden;
}

.tx3-returns-dash--dark .tx3-bar-row__track {
  background: rgba(255,255,255,0.08);
}

.tx3-bar-row__fill {
  height: 100%;
  border-radius: 4px;
  background: var(--tx3-coral);
  transition: width 0.6s ease;
}

.tx3-bar-row__fill--muted {
  background: var(--tx3-off-white);
  border: 1px solid var(--tx3-stone);
}

.tx3-returns-dash--dark .tx3-bar-row__fill--muted {
  background: rgba(255,255,255,0.15);
  border: none;
}

.tx3-bar-row__val {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tx3-obsidian);
  width: 30px;
  flex-shrink: 0;
}

.tx3-returns-dash--dark .tx3-bar-row__val {
  color: rgba(255,255,255,0.8);
}

.tx3-returns-dash__footer {
  margin-top: 16px;
  font-size: 0.7rem;
  color: var(--tx3-stone);
  text-align: right;
}

.tx3-returns-dash--dark .tx3-returns-dash__footer {
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   INFO PANEL (two-column text section, for-brands / hiw)
   ============================================================ */
.tx3-two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.tx3-two-col-text__col {}

.tx3-two-col-text__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx3-coral-label);
  margin-bottom: 12px;
}

.tx3-section--dark .tx3-two-col-text__label,
.tx3-section--dark-alt .tx3-two-col-text__label {
  color: var(--tx3-coral-light);
}

.tx3-two-col-text__title {
  font-family: var(--tx3-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.tx3-two-col-text__body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--tx3-stone);
}

.tx3-section--dark .tx3-two-col-text__body,
.tx3-section--dark-alt .tx3-two-col-text__body {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
.tx3-pricing {
  padding-top: var(--tx3-section-py);
  padding-bottom: var(--tx3-section-py);
}

/* Toggle */
.tx3-pricing-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.tx3-pricing-toggle__label {
  font-size: 0.9rem;
  color: var(--tx3-stone);
}

.tx3-pricing-toggle__label--active {
  color: var(--tx3-obsidian);
  font-weight: 700;
}

.tx3-pricing-toggle__switch {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.tx3-pricing-toggle__track {
  width: 100%;
  height: 100%;
  background: var(--tx3-off-white);
  border-radius: 14px;
  transition: background var(--tx3-ease);
  border: 2px solid var(--tx3-off-white);
}

.tx3-pricing-toggle__switch[aria-checked="true"] .tx3-pricing-toggle__track {
  background: var(--tx3-coral);
  border-color: var(--tx3-coral);
}

.tx3-pricing-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--tx3-white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform var(--tx3-ease);
}

.tx3-pricing-toggle__switch[aria-checked="true"] .tx3-pricing-toggle__thumb {
  transform: translateX(24px);
}

.tx3-pricing-toggle__badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(201,90,61,0.12);
  color: var(--tx3-coral-label);
  border-radius: 20px;
  padding: 2px 8px;
}

/* Pricing tiers grid */
.tx3-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tx3-pricing-card {
  background: var(--tx3-white);
  border: 2px solid var(--tx3-off-white);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow var(--tx3-ease);
}

.tx3-pricing-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.tx3-pricing-card--featured {
  background: var(--tx3-obsidian);
  border-color: var(--tx3-coral);
  color: var(--tx3-white);
  position: relative;
}

.tx3-pricing-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #B0401E;
  color: var(--tx3-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 0 0 8px 8px;
}

.tx3-pricing-card__tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx3-stone);
  margin-bottom: 8px;
}

.tx3-pricing-card--featured .tx3-pricing-card__tier {
  color: var(--tx3-coral-light);
}

.tx3-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.tx3-pricing-card__amount {
  font-family: var(--tx3-font-head);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.tx3-pricing-card__period {
  font-size: 0.875rem;
  color: var(--tx3-stone);
}

.tx3-pricing-card--featured .tx3-pricing-card__period {
  color: rgba(255,255,255,0.55);
}

.tx3-pricing-card__tagline {
  font-size: 0.85rem;
  color: var(--tx3-stone);
  margin-bottom: 24px;
  line-height: 1.5;
}

.tx3-pricing-card--featured .tx3-pricing-card__tagline {
  color: rgba(255,255,255,0.6);
}

.tx3-pricing-card__divider {
  height: 1px;
  background: var(--tx3-off-white);
  margin-bottom: 24px;
}

.tx3-pricing-card--featured .tx3-pricing-card__divider {
  background: rgba(255,255,255,0.12);
}

.tx3-pricing-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}

.tx3-pricing-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
}

.tx3-pricing-feature__icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--tx3-coral);
}

.tx3-pricing-card--featured .tx3-pricing-feature__icon {
  color: var(--tx3-coral-light);
}

.tx3-pricing-card__cta {
  margin-top: auto;
}

/* Annual pricing display */
.tx3-pricing-card__price--annual {
  display: none;
}

.tx3-pricing--annual .tx3-pricing-card__price--annual {
  display: flex;
}

.tx3-pricing--annual .tx3-pricing-card__price--monthly {
  display: none;
}

/* Pricing FAQ */
.tx3-pricing-faq {
  margin-top: 80px;
}

.tx3-pricing-faq__title {
  font-family: var(--tx3-font-head);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

/* ============================================================
   FAQ / ACCORDION COMPONENT
   ============================================================ */
.tx3-faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tx3-off-white);
  border-radius: 12px;
  overflow: hidden;
}

.tx3-faq-item {
  border-bottom: 1px solid var(--tx3-off-white);
}

.tx3-faq-item:last-child {
  border-bottom: none;
}

.tx3-faq-item--dark {
  border-color: rgba(255,255,255,0.1);
}

.tx3-faq-trigger {
  width: 100%;
  text-align: left;
  background: var(--tx3-white);
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tx3-obsidian);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: none;
  transition: background var(--tx3-ease);
}

.tx3-faq-trigger:hover {
  background: var(--tx3-warm-white);
}

.tx3-faq-trigger--dark {
  background: rgba(255,255,255,0.03);
  color: var(--tx3-white);
}

.tx3-faq-trigger--dark:hover {
  background: rgba(255,255,255,0.07);
}

.tx3-faq-trigger__icon {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--tx3-stone);
  transition: transform var(--tx3-ease);
}

.tx3-faq-trigger--dark .tx3-faq-trigger__icon {
  color: rgba(255,255,255,0.5);
}

.tx3-faq-item.is-open .tx3-faq-trigger__icon {
  transform: rotate(180deg);
}

.tx3-faq-panel {
  background: var(--tx3-white);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.tx3-faq-panel--dark {
  background: rgba(255,255,255,0.02);
}

.tx3-faq-item.is-open .tx3-faq-panel {
  max-height: 400px;
}

.tx3-faq-panel__content {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--tx3-stone);
}

.tx3-faq-panel--dark .tx3-faq-panel__content {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.tx3-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.tx3-team-card {
  text-align: center;
}

.tx3-team-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--tx3-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx3-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.tx3-team-card__initials {
  font-family: var(--tx3-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tx3-stone);
  display: none;
}

.tx3-team-card__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--tx3-obsidian);
  margin-bottom: 4px;
}

.tx3-team-card__title {
  font-size: 0.8rem;
  color: var(--tx3-stone);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tx3-team-card__bio {
  font-size: 0.875rem;
  color: var(--tx3-stone);
  line-height: 1.6;
}

/* Values section */
.tx3-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tx3-value-item {
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
}

.tx3-value-item__num {
  font-family: var(--tx3-font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tx3-coral-light);
  margin-bottom: 8px;
}

.tx3-value-item__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--tx3-white);
  margin-bottom: 6px;
}

.tx3-value-item__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* Timeline */
.tx3-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 28px;
  border-left: 2px solid rgba(255,255,255,0.12);
}

.tx3-timeline-item {
  padding: 0 0 32px 24px;
  position: relative;
}

.tx3-timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--tx3-coral);
  border-radius: 50%;
}

.tx3-timeline-item__date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tx3-coral-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tx3-timeline-item__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--tx3-white);
  margin-bottom: 4px;
}

.tx3-timeline-item__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.tx3-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.tx3-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tx3-contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tx3-contact-detail__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--tx3-coral-light);
  color: var(--tx3-coral-label);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx3-contact-detail__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tx3-stone);
  margin-bottom: 2px;
}

.tx3-contact-detail__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tx3-obsidian);
}

.tx3-contact-detail__value a {
  color: var(--tx3-coral-label);
  text-decoration: underline;
}

/* Form */
.tx3-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tx3-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tx3-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tx3-form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tx3-obsidian);
  letter-spacing: 0.03em;
}

.tx3-form-label--light {
  color: rgba(255,255,255,0.75);
}

.tx3-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--tx3-off-white);
  border-radius: 8px;
  background: var(--tx3-white);
  color: var(--tx3-obsidian);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color var(--tx3-ease), box-shadow var(--tx3-ease);
  outline: none;
}

.tx3-form-input:focus {
  border-color: var(--tx3-coral);
  box-shadow: 0 0 0 3px rgba(201,90,61,0.12);
}

.tx3-form-input::placeholder {
  color: var(--tx3-stone);
}

textarea.tx3-form-input {
  resize: vertical;
  min-height: 120px;
}

.tx3-form-helper {
  font-size: 0.75rem;
  color: var(--tx3-stone);
}

.tx3-form-success {
  background: rgba(201,90,61,0.06);
  border: 1px solid rgba(201,90,61,0.2);
  border-radius: 8px;
  padding: 20px 24px;
  text-align: center;
  display: none;
}

.tx3-form-success.is-visible {
  display: block;
}

.tx3-form-success__icon {
  font-size: 1.5rem;
  color: var(--tx3-coral);
  margin-bottom: 8px;
}

.tx3-form-success__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--tx3-obsidian);
  margin-bottom: 4px;
}

.tx3-form-success__msg {
  font-size: 0.875rem;
  color: var(--tx3-stone);
}

/* ============================================================
   INTEGRATION PAGE
   ============================================================ */
.tx3-integration-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tx3-integration-option {
  background: var(--tx3-white);
  border: 1px solid var(--tx3-off-white);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--tx3-ease);
}

.tx3-integration-option:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.tx3-integration-option__icon {
  width: 48px;
  height: 48px;
  background: var(--tx3-off-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--tx3-obsidian);
}

.tx3-integration-option__name {
  font-weight: 700;
  font-size: 1rem;
}

.tx3-integration-option__desc {
  font-size: 0.875rem;
  color: var(--tx3-stone);
  line-height: 1.6;
  flex: 1;
}

.tx3-integration-option__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--tx3-off-white);
  color: var(--tx3-stone);
}

.tx3-integration-option__tag--primary {
  background: var(--tx3-coral-light);
  color: var(--tx3-coral-label);
}

/* Code block mock */
.tx3-code-block {
  background: var(--tx3-obsidian);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--tx3-font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
}

.tx3-code-block__bar {
  background: var(--tx3-dark-alt);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tx3-code-block__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tx3-code-block__dot--red { background: #FF5F57; }
.tx3-code-block__dot--amber { background: #FEBC2E; }
.tx3-code-block__dot--green { background: #28C840; }

.tx3-code-block__filename {
  margin-left: 8px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

.tx3-code-block pre {
  margin: 0;
  padding: 20px 24px;
  overflow-x: auto;
  white-space: pre;
}

.tx3-code-block code {
  font-family: inherit;
  font-size: inherit;
}

/* Syntax colors */
.tx3-syn-keyword { color: #C792EA; }
.tx3-syn-string  { color: #C3E88D; }
.tx3-syn-comment { color: #7FB3C4; font-style: italic; }
.tx3-syn-num     { color: #F78C6C; }
.tx3-syn-fn      { color: #82AAFF; }
.tx3-syn-prop    { color: #80CBC4; }
.tx3-syn-default { color: rgba(255,255,255,0.85); }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.tx3-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.tx3-blog-card {
  background: var(--tx3-white);
  border: 1px solid var(--tx3-off-white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--tx3-ease), transform var(--tx3-ease);
}

.tx3-blog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.tx3-blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tx3-blog-card__cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--tx3-off-white);
}

.tx3-blog-card--featured .tx3-blog-card__cover {
  aspect-ratio: unset;
  min-height: 280px;
}

.tx3-blog-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tx3-blog-card:hover .tx3-blog-card__cover img {
  transform: scale(1.03);
}

.tx3-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tx3-blog-card--featured .tx3-blog-card__body {
  padding: 36px 32px;
  justify-content: center;
}

.tx3-blog-card__cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx3-coral-label);
  background: var(--tx3-coral-light);
  padding: 3px 8px;
  border-radius: 4px;
}

.tx3-blog-card__title {
  font-family: var(--tx3-font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tx3-obsidian);
  line-height: 1.35;
  text-decoration: none;
  display: block;
}

.tx3-blog-card--featured .tx3-blog-card__title {
  font-size: 1.4rem;
}

.tx3-blog-card__title:hover {
  color: var(--tx3-coral-label);
}

.tx3-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--tx3-stone);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.tx3-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--tx3-stone);
  margin-top: 4px;
  flex-wrap: wrap;
}

.tx3-blog-card__read-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tx3-coral-label);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.tx3-blog-card__read-more:hover {
  color: var(--tx3-coral);
}

/* Blog filter bar */
.tx3-blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tx3-blog-filter-btn {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--tx3-off-white);
  background: var(--tx3-white);
  color: var(--tx3-stone);
  cursor: pointer;
  transition: all var(--tx3-ease);
}

.tx3-blog-filter-btn:hover,
.tx3-blog-filter-btn.is-active {
  background: var(--tx3-obsidian);
  color: var(--tx3-white);
  border-color: var(--tx3-obsidian);
}

/* Blog article template */
.tx3-article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tx3-coral-label);
  text-decoration: none;
  margin-bottom: 24px;
}

.tx3-article-back:hover {
  color: var(--tx3-coral);
}

.tx3-article-hero {
  width: 100%;
  padding-top: calc(var(--tx3-nav-h) + 48px);
  padding-bottom: 0;
  background: var(--tx3-warm-white);
}

.tx3-article-hero__inner {
  max-width: var(--tx3-max-w);
  margin: 0 auto;
  padding: 0 24px 0;
}

.tx3-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tx3-article-hero__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx3-coral-label);
  background: var(--tx3-coral-light);
  padding: 3px 10px;
  border-radius: 4px;
}

.tx3-article-hero__date {
  font-size: 0.8rem;
  color: var(--tx3-stone);
}

.tx3-article-hero__title {
  font-family: var(--tx3-font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--tx3-obsidian);
  margin-bottom: 16px;
  max-width: 820px;
}

.tx3-article-hero__excerpt {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--tx3-stone);
  max-width: 680px;
  margin-bottom: 24px;
}

.tx3-article-hero__byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--tx3-stone);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--tx3-off-white);
  margin-bottom: 0;
}

.tx3-article-hero__cover {
  width: 100%;
  max-width: var(--tx3-max-w);
  margin: 32px auto 0;
  padding: 0 24px;
}

.tx3-article-hero__cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Article body */
.tx3-article-body {
  max-width: var(--tx3-content-w);
  margin: 48px auto 80px;
  padding: 0 24px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tx3-obsidian);
}

.tx3-article-body h2 {
  font-family: var(--tx3-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--tx3-obsidian);
}

.tx3-article-body h3 {
  font-family: var(--tx3-font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--tx3-obsidian);
}

.tx3-article-body p {
  margin-bottom: 18px;
}

.tx3-article-body ul,
.tx3-article-body ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.tx3-article-body ul { list-style: disc; }
.tx3-article-body ol { list-style: decimal; }

.tx3-article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.tx3-article-body a {
  color: var(--tx3-coral-label);
  text-decoration: underline;
}

.tx3-article-body a:hover {
  color: var(--tx3-coral);
}

.tx3-article-body blockquote {
  border-left: 3px solid var(--tx3-coral);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--tx3-stone);
}

/* Article CTA */
.tx3-article-cta {
  background: var(--tx3-dark-alt);
  color: var(--tx3-white);
  padding: 56px 24px;
  text-align: center;
  margin-top: 0;
}

.tx3-article-cta__inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tx3-article-cta__title {
  font-family: var(--tx3-font-head);
  font-size: 1.75rem;
  font-weight: 700;
}

.tx3-article-cta__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
}

/* Article related posts */
.tx3-article-related {
  background: var(--tx3-cream);
  padding: 64px 24px;
}

.tx3-article-related__inner {
  max-width: var(--tx3-max-w);
  margin: 0 auto;
}

.tx3-article-related__title {
  font-family: var(--tx3-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.tx3-article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================================
   AUTH PAGES (fullscreen card, no nav/footer)
   ============================================================ */
.tx3-auth-page {
  min-height: 100vh;
  background: var(--tx3-obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.tx3-auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--tx3-dark-alt);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tx3-auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.tx3-auth-logo img {
  height: 36px;
  width: auto;
}

.tx3-auth-card__title {
  font-family: var(--tx3-font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tx3-white);
  text-align: center;
  margin-bottom: 6px;
}

.tx3-auth-card__sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}

.tx3-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tx3-auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tx3-auth-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
}

.tx3-auth-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--tx3-white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--tx3-ease), box-shadow var(--tx3-ease);
}

.tx3-auth-input:focus {
  border-color: var(--tx3-coral);
  box-shadow: 0 0 0 3px rgba(201,90,61,0.15);
}

.tx3-auth-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.tx3-auth-form__btn {
  margin-top: 4px;
  width: 100%;
  padding: 13px 24px;
}

.tx3-auth-card__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 24px 0;
}

.tx3-auth-card__footer {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tx3-auth-card__footer a {
  color: var(--tx3-coral-light);
  text-decoration: underline;
}

.tx3-auth-card__footer a:hover {
  color: var(--tx3-white);
}

/* Auth confirm view (shown after submit) */
.tx3-auth-confirm {
  display: none;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tx3-auth-confirm.is-visible {
  display: flex;
}

.tx3-auth-form-view.is-hidden {
  display: none;
}

.tx3-auth-confirm__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201,90,61,0.15);
  color: var(--tx3-coral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.tx3-auth-confirm__title {
  font-family: var(--tx3-font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tx3-white);
}

.tx3-auth-confirm__msg {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 320px;
}

.tx3-auth-confirm__link {
  font-size: 0.85rem;
  color: var(--tx3-coral-light);
  text-decoration: underline;
  cursor: pointer;
}

/* Auth inline error */
.tx3-auth-error {
  background: rgba(201,90,61,0.1);
  border: 1px solid rgba(201,90,61,0.3);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--tx3-coral-light);
  display: none;
  margin-top: -4px;
}

.tx3-auth-error.is-visible {
  display: block;
}

/* ============================================================
   LEGAL / PROSE PAGES
   ============================================================ */
.tx3-legal-page {
  background: var(--tx3-warm-white);
  color: var(--tx3-obsidian);
  padding-top: calc(var(--tx3-nav-h) + 56px);
  padding-bottom: 80px;
}

.tx3-legal-content {
  max-width: var(--tx3-content-w);
  margin: 0 auto;
  padding: 0 24px;
}

.tx3-legal-content h1 {
  font-family: var(--tx3-font-head);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--tx3-obsidian);
}

.tx3-legal-content .tx3-legal-updated {
  font-size: 0.8rem;
  color: var(--tx3-stone);
  margin-bottom: 40px;
}

.tx3-legal-content h2 {
  font-family: var(--tx3-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--tx3-obsidian);
}

.tx3-legal-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--tx3-obsidian);
}

.tx3-legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.tx3-legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
  color: var(--tx3-obsidian);
}

.tx3-legal-content a {
  color: var(--tx3-coral-label);
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.tx3-footer {
  background: var(--tx3-obsidian);
  color: var(--tx3-white);
  padding-top: 64px;
  padding-bottom: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.tx3-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.tx3-footer__brand {}

.tx3-footer__logo {
  display: block;
  margin-bottom: 16px;
}

.tx3-footer__logo img {
  height: 32px;
  width: auto;
}

.tx3-footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 16px;
}

.tx3-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tx3-footer__contact a,
.tx3-footer__contact span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--tx3-ease);
}

.tx3-footer__contact a:hover {
  color: var(--tx3-white);
}

.tx3-footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.tx3-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tx3-footer__col-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--tx3-ease);
}

.tx3-footer__col-link:hover {
  color: var(--tx3-white);
}

.tx3-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tx3-footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.tx3-footer__legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tx3-footer__legal-link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--tx3-ease);
}

.tx3-footer__legal-link:hover {
  color: var(--tx3-white);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--tx3-dark-alt);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
}

.cookie-banner__inner {
  max-width: var(--tx3-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  flex: 1;
  min-width: 240px;
}

.cookie-banner__text a {
  color: var(--tx3-coral-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  font-family: var(--tx3-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--tx3-ease);
  border: 1.5px solid transparent;
}

.cookie-banner__btn--primary {
  background: var(--tx3-coral);
  color: var(--tx3-white);
  border-color: var(--tx3-coral);
}

.cookie-banner__btn--primary:hover {
  background: #b54e33;
  border-color: #b54e33;
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.25);
}

.cookie-banner__btn--secondary:hover {
  border-color: rgba(255,255,255,0.55);
  color: var(--tx3-white);
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.tx3-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tx3-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   STEP NUMBER - for How It Works full page
   ============================================================ */
.tx3-step-number {
  display: flex;
  flex-direction: column;
  gap: 32px;
  counter-reset: step;
}

.tx3-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: flex-start;
}

.tx3-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--tx3-coral);
  color: var(--tx3-coral-label);
  font-family: var(--tx3-font-head);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx3-step__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.tx3-step__desc {
  font-size: 0.875rem;
  color: var(--tx3-stone);
  line-height: 1.6;
}

/* ============================================================
   INLINE VISUAL MOCKS (SVG / HTML art)
   ============================================================ */

/* Body wireframe container */
.tx3-mock-wireframe {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

/* Fit result container */
.tx3-mock-fit-result {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px;
  max-width: 380px;
  margin: 0 auto;
  font-family: var(--tx3-font-body);
}

.tx3-mock-fit-result__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.tx3-mock-fit-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tx3-mock-fit-zone__name {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  width: 80px;
  flex-shrink: 0;
}

.tx3-mock-fit-zone__bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.tx3-mock-fit-zone__bar-fill {
  height: 100%;
  border-radius: 4px;
}

.tx3-mock-fit-zone__bar-fill--good { background: #4CAF50; }
.tx3-mock-fit-zone__bar-fill--tight { background: var(--tx3-coral); }
.tx3-mock-fit-zone__bar-fill--ok { background: #FFC107; }

.tx3-mock-fit-zone__label {
  font-size: 0.7rem;
  font-weight: 700;
  width: 36px;
  flex-shrink: 0;
  text-align: right;
}

.tx3-mock-fit-zone__label--good { color: #4CAF50; }
.tx3-mock-fit-zone__label--tight { color: var(--tx3-coral-light); }
.tx3-mock-fit-zone__label--ok { color: #FFC107; }

.tx3-mock-fit-result__rec {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
}

.tx3-mock-fit-result__rec-label {
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

.tx3-mock-fit-result__rec-value {
  font-weight: 700;
  color: var(--tx3-white);
  font-size: 1rem;
}

/* ============================================================
   PROSE / INFO BLOCK for docs-style long-form pages
   ============================================================ */
.tx3-prose-block {
  max-width: var(--tx3-content-w);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tx3-obsidian);
  background: var(--tx3-warm-white);
}

.tx3-prose-block h2 {
  font-family: var(--tx3-font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.tx3-prose-block p {
  margin-bottom: 16px;
}

/* ============================================================
   ACCESSIBILITY + FOCUS STYLES
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--tx3-coral);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --tx3-section-py: 72px;
  }

  .tx3-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tx3-hero__visual {
    order: -1;
  }

  .tx3-hero__sub {
    max-width: 100%;
  }

  .tx3-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .tx3-hiw-phases .tx3-hiw-phase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tx3-hiw-phases .tx3-hiw-phase--flip {
    direction: ltr;
  }

  .tx3-team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tx3-contact-grid {
    grid-template-columns: 1fr;
  }

  .tx3-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .tx3-footer__brand {
    grid-column: 1 / -1;
  }

  .tx3-integration-options {
    grid-template-columns: 1fr 1fr;
  }

  .tx3-accuracy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --tx3-section-py: 56px;
    --tx3-section-py-sm: 40px;
  }

  .tx3-nav__links {
    display: none;
  }

  .tx3-nav__actions {
    display: none;
  }

  .tx3-nav__secondary {
    display: none;
  }

  .tx3-nav__hamburger {
    display: flex;
  }

  .tx3-hero__h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .tx3-problem__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tx3-hiw-overview__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tx3-metrics-grid {
    grid-template-columns: 1fr;
  }

  .tx3-brands-preview__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tx3-integration-teaser__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tx3-feature-grid {
    grid-template-columns: 1fr;
  }

  .tx3-two-col-text {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tx3-team-grid {
    grid-template-columns: 1fr;
  }

  .tx3-values-grid {
    grid-template-columns: 1fr;
  }

  .tx3-blog-grid {
    grid-template-columns: 1fr;
  }

  .tx3-blog-card--featured {
    grid-template-columns: 1fr;
  }

  .tx3-blog-card--featured .tx3-blog-card__cover {
    min-height: unset;
    aspect-ratio: 16/9;
  }

  .tx3-article-related__grid {
    grid-template-columns: 1fr;
  }

  .tx3-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tx3-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .tx3-footer__brand {
    grid-column: auto;
  }

  .tx3-form-row {
    grid-template-columns: 1fr;
  }

  .tx3-integration-options {
    grid-template-columns: 1fr;
  }

  .tx3-integration-teaser__inner {
    grid-template-columns: 1fr;
  }

  .tx3-accuracy-grid {
    grid-template-columns: 1fr;
  }

  .tx3-hiw-overview__layout {
    gap: 32px;
  }

  .tx3-auth-card {
    padding: 36px 28px;
  }

  .tx3-testimonial__card {
    padding: 32px 24px;
  }

  .tx3-section-header--center {
    margin-bottom: 40px;
  }

  .tx3-pricing-toggle {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .tx3-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tx3-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .tx3-cta-bottom__actions {
    flex-direction: column;
    align-items: center;
  }

  .tx3-cookie-banner__inner {
    flex-direction: column;
  }

  .tx3-hiw-phase {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTRAST FIXES — light-section context overrides
   ============================================================ */

/* tx3-hiw-step inside light sections: dark-context tokens must invert */
.tx3-section--light .tx3-hiw-step__num,
.tx3-section--cream .tx3-hiw-step__num,
.tx3-section--white .tx3-hiw-step__num {
  color: var(--tx3-coral-label);
  background: rgba(201, 90, 61, 0.1);
}

.tx3-section--light .tx3-hiw-step__title,
.tx3-section--cream .tx3-hiw-step__title,
.tx3-section--white .tx3-hiw-step__title {
  color: var(--tx3-obsidian);
}

.tx3-section--light .tx3-hiw-step__desc,
.tx3-section--cream .tx3-hiw-step__desc,
.tx3-section--white .tx3-hiw-step__desc {
  color: var(--tx3-stone);
}

/* returns-dash badge: coral text on pinkish bg fails WCAG on light sections */
.tx3-returns-dash__badge {
  color: var(--tx3-coral-label);
}

/* Outline button for use on light/white sections (dark border + dark text) */
.tx3-btn--outline-dark {
  background: transparent;
  color: var(--tx3-obsidian);
  border-color: var(--tx3-obsidian);
}

.tx3-btn--outline-dark:hover {
  background: var(--tx3-obsidian);
  color: var(--tx3-white);
}

/* JS state hooks — no visual styling needed */
.tx3-page {} /* JS-scoped body namespace */
.tx3-contact-form {} /* JS submit hook */
.tx3-auth-form--login {} /* JS submit hook */
.tx3-auth-form--register {} /* JS submit hook */
.tx3-pricing-toggle__label--monthly {} /* JS state hook */
.tx3-pricing-toggle__label--annual {} /* JS state hook */
