/* TrustUs public-domain pages only. Never linked from owner/customer/worker
   templates — keeps this scoped so it cannot affect operational app performance.
   Modern-app design standard: docs/canonical/TRUSTUS_PUBLIC_DOMAIN_RULES.md §14 */

.t-pub-page {
  min-height: 100vh;
  background: radial-gradient(circle at 12% 0%, rgba(234, 88, 12, 0.09), transparent 42%),
              radial-gradient(circle at 88% 8%, rgba(251, 113, 133, 0.09), transparent 38%),
              #F9FAFB;
  color: var(--t-text);
  -webkit-font-smoothing: antialiased;
}

.t-pub-page * { box-sizing: border-box; }

.t-pub-banner {
  width: 100%;
  background: var(--t-brand-purple);
  color: #FFF;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}

/* ── Nav — sticky, glass ─────────────────────────────────────────────── */

.t-pub-nav-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(249, 250, 251, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.t-pub-nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.t-pub-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--t-text);
  text-decoration: none;
}

.t-pub-nav-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--t-brand-purple), #FB7185);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
}

.t-pub-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.t-pub-nav-links a {
  color: var(--t-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.t-pub-nav-links a:hover { color: var(--t-brand-purple); }

@media (max-width: 760px) {
  .t-pub-nav-links { display: none; }
}

.t-pub-nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--t-brand-purple);
  color: #FFF !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.t-pub-nav-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.t-pub-hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px 88px;
  text-align: center;
}

.t-pub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(101, 163, 13, 0.12);
  color: var(--t-brand-mint);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.t-pub-hero h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--t-text);
  max-width: 860px;
  margin: 0 auto 20px;
}

.t-pub-hero h1 span { color: var(--t-brand-purple); }

.t-pub-hero p.t-pub-sub {
  font-size: 19px;
  color: var(--t-text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.t-pub-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Smaller hero for sub-pages (request-service, apply, contractors, etc.) */
.t-pub-subhero { padding: 40px 24px 48px; text-align: left; max-width: 760px; }
.t-pub-subhero h1, .t-pub-subhero p.t-pub-sub { margin-left: 0; margin-right: 0; text-align: left; }
.t-pub-subhero .t-pub-hero-ctas { margin-bottom: 0; justify-content: flex-start; }
.t-pub-subhero .t-pub-badge { margin-bottom: 20px; }

.t-pub-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--t-text-secondary);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s ease;
}
.t-pub-back-link:hover { color: var(--t-brand-purple); }

/* CTA that isn't wired to a live intake flow yet — visually distinct from a real action */
.t-pub-btn-preview {
  background: #F3F4F6;
  color: var(--t-text-secondary);
  border-color: #E5E7EB;
  cursor: default;
  box-shadow: none;
}
.t-pub-btn-preview:hover { background: #E5E7EB; transform: none; box-shadow: none; }

.t-pub-preview-note {
  font-size: 12px;
  color: var(--t-text-muted);
  margin-top: 12px;
}

.t-pub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

button.t-pub-btn:disabled { cursor: default; }

.t-pub-btn-primary {
  background: var(--t-brand-purple);
  color: #FFF;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.28);
}
.t-pub-btn-primary:hover { background: #C2410C; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(234, 88, 12, 0.34); }

.t-pub-btn-secondary {
  background: #FFF;
  color: var(--t-text);
  border-color: #E5E7EB;
}
.t-pub-btn-secondary:hover { border-color: var(--t-brand-purple); color: var(--t-brand-purple); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08); }

/* Hero proof strip */
.t-pub-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .t-pub-proof-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ── Shared section shell ────────────────────────────────────────────── */

.t-pub-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px;
}

.t-pub-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.t-pub-section-head .t-pub-eyebrow {
  color: var(--t-brand-purple);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.t-pub-section-head h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--t-text);
  margin-bottom: 12px;
}

.t-pub-section-head p {
  color: var(--t-text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

/* Glass card, used across sections */
.t-pub-card {
  background: var(--t-glass-bg, rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--t-radius-lg, 14px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.t-pub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
}

/* Cards that are themselves <a> elements (clickable category/audience cards) */
a.t-pub-card {
  color: inherit;
  text-decoration: none;
}

/* ── Who we help / audience cards ───────────────────────────────────── */

.t-pub-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .t-pub-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .t-pub-grid-4 { grid-template-columns: 1fr; }
}

.t-pub-audience-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.t-pub-audience-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(234, 88, 12, 0.10);
  color: var(--t-brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.t-pub-audience-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--t-text);
}

.t-pub-audience-card p {
  font-size: 14px;
  color: var(--t-text-secondary);
  line-height: 1.55;
  flex: 1;
}

.t-pub-audience-card a,
.t-pub-audience-card > span {
  font-size: 14px;
  font-weight: 700;
  color: var(--t-brand-purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease;
}
.t-pub-audience-card a:hover,
a.t-pub-audience-card:hover > span { gap: 10px; }

/* ── Services grid ───────────────────────────────────────────────────── */

.t-pub-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 860px) {
  .t-pub-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .t-pub-grid-3 { grid-template-columns: 1fr; }
}

.t-pub-service-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.t-pub-service-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(101, 163, 13, 0.12);
  color: var(--t-brand-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.t-pub-service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--t-text);
  margin-bottom: 4px;
}

.t-pub-service-card p {
  font-size: 13px;
  color: var(--t-text-secondary);
  line-height: 1.5;
}

/* ── How it works (steps) ───────────────────────────────────────────── */

.t-pub-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .t-pub-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .t-pub-steps { grid-template-columns: 1fr; }
}

.t-pub-step {
  text-align: left;
}

.t-pub-step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--t-brand-purple), #FB7185);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.t-pub-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--t-text);
  margin-bottom: 4px;
}

.t-pub-step p {
  font-size: 13px;
  color: var(--t-text-secondary);
  line-height: 1.5;
}

/* ── Proof / photo placeholders ─────────────────────────────────────── */

.t-pub-proof-tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--t-radius-lg, 14px);
  border: 1.5px dashed rgba(234, 88, 12, 0.3);
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.07), rgba(251, 113, 133, 0.07));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--t-brand-purple);
  text-align: center;
  padding: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.t-pub-proof-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.12);
  border-color: rgba(234, 88, 12, 0.5);
}

.t-pub-proof-tile i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 20px;
}

.t-pub-proof-tile span {
  font-size: 12px;
  font-weight: 700;
  color: var(--t-text-secondary);
}

/* ── Trade/crew network chip list ───────────────────────────────────── */

.t-pub-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.t-pub-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--t-glass-bg, rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(234, 88, 12, 0.18);
  font-size: 13px;
  font-weight: 700;
  color: var(--t-text);
}

.t-pub-chip i { color: var(--t-brand-purple); font-size: 14px; }

/* ── Trust / compliance section ─────────────────────────────────────── */

.t-pub-trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 700px) {
  .t-pub-trust-list { grid-template-columns: 1fr; }
}

.t-pub-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.t-pub-trust-item i {
  color: var(--t-brand-mint);
  font-size: 18px;
  margin-top: 2px;
}

.t-pub-trust-item p {
  font-size: 14px;
  color: var(--t-text-secondary);
  line-height: 1.55;
}

.t-pub-trust-item strong {
  color: var(--t-text);
}

/* ── Final CTA band ──────────────────────────────────────────────────── */

.t-pub-cta-band {
  max-width: 1160px;
  margin: 0 auto 64px;
  padding: 56px 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--t-brand-purple), #FB7185);
  color: #FFF;
  text-align: center;
  box-shadow: 0 24px 48px rgba(234, 88, 12, 0.22);
}

.t-pub-cta-band h2 {
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.t-pub-cta-band p {
  font-size: 15px;
  opacity: 0.92;
  margin-bottom: 28px;
}

.t-pub-cta-band .t-pub-btn-secondary {
  background: #FFF;
  color: var(--t-brand-purple);
  border-color: transparent;
}

.t-pub-cta-band .t-pub-preview-note { color: rgba(255, 255, 255, 0.8); }

/* ── Footer ──────────────────────────────────────────────────────────── */

.t-pub-footer {
  border-top: 1px solid #E5E7EB;
  padding: 40px 24px 44px;
}

.t-pub-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.t-pub-footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--t-text);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.t-pub-footer-col a {
  display: block;
  font-size: 13px;
  color: var(--t-text-secondary);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color 0.15s ease;
}
.t-pub-footer-col a:hover { color: var(--t-brand-purple); }

.t-pub-footer-bottom {
  max-width: 1160px;
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #F3F4F6;
  font-size: 12px;
  color: var(--t-text-muted);
  text-align: center;
}

/* ── Public form (Request Service) ──────────────────────────────────── */

.t-pub-form { text-align: left; }
.t-pub-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.t-pub-form-grid.t-pub-form-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
  .t-pub-form-grid, .t-pub-form-grid.t-pub-form-grid-3 { grid-template-columns: 1fr; }
}
.t-pub-form-field { display: flex; flex-direction: column; gap: 6px; }
.t-pub-form-field.t-pub-form-field-full { grid-column: 1 / -1; }
.t-pub-form-label { font-size: 13px; font-weight: 700; color: var(--t-text); }
.t-pub-form-input,
.t-pub-form-select,
.t-pub-form-textarea {
  font: inherit;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  background: #FFF;
  color: var(--t-text);
}
.t-pub-form-input:focus,
.t-pub-form-select:focus,
.t-pub-form-textarea:focus {
  outline: none;
  border-color: var(--t-brand-purple);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}
.t-pub-form-input.t-pub-field-error,
.t-pub-form-select.t-pub-field-error,
.t-pub-form-textarea.t-pub-field-error {
  border-color: #DC2626;
}
.t-pub-form-error { font-size: 12px; color: #DC2626; font-weight: 600; }
.t-pub-form-error-banner {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #B91C1C;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.t-pub-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--t-text-secondary);
}
.t-pub-form-consent input { margin-top: 3px; }
.t-pub-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.t-pub-form-success { text-align: center; padding: 12px 0; }
.t-pub-form-success i {
  font-size: 40px;
  color: var(--t-brand-mint);
  margin-bottom: 16px;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════════
   MOTION SYSTEM — homepage only (static/js/public-motion.js)
   Every rule here degrades to fully visible, non-animated content if JS
   never runs or prefers-reduced-motion is set. Transform/opacity only.
   ══════════════════════════════════════════════════════════════════════ */

@keyframes t-pub-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes t-pub-fade-scale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Hero entrance — pure CSS, no JS dependency ─────────────────────── */

.t-pub-hero-enter { animation: t-pub-fade-up 0.5s ease both; }
.t-pub-hero-enter-1 { animation-delay: 0s; }
.t-pub-hero-enter-2 { animation-delay: 0.06s; }
.t-pub-hero-enter-3 { animation-delay: 0.12s; }
.t-pub-hero-enter-4 { animation-delay: 0.18s; }
.t-pub-hero-enter-5 { animation-delay: 0.24s; }
.t-pub-hero-enter-6 { animation-delay: 0.3s; }

/* ── Scroll reveal — hiding rule only applies once JS confirms it's
   running (html.t-pub-js-ready). If JS never adds that class, every
   .t-pub-reveal element is simply visible by default. ───────────────── */

html.t-pub-js-ready .t-pub-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
html.t-pub-js-ready .t-pub-reveal.t-pub-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Card/step/chip stagger — only once the parent grid is marked in-view */
.t-pub-in-view.t-pub-grid-3 > *,
.t-pub-in-view.t-pub-grid-4 > *,
.t-pub-in-view.t-pub-steps > * {
  animation: t-pub-fade-up 0.45s ease both;
}
.t-pub-in-view.t-pub-chip-grid > * {
  animation: t-pub-fade-scale 0.35s ease both;
}

.t-pub-in-view.t-pub-grid-3 > *:nth-child(1),  .t-pub-in-view.t-pub-grid-4 > *:nth-child(1),  .t-pub-in-view.t-pub-steps > *:nth-child(1),  .t-pub-in-view.t-pub-chip-grid > *:nth-child(1)  { animation-delay: 0s; }
.t-pub-in-view.t-pub-grid-3 > *:nth-child(2),  .t-pub-in-view.t-pub-grid-4 > *:nth-child(2),  .t-pub-in-view.t-pub-steps > *:nth-child(2),  .t-pub-in-view.t-pub-chip-grid > *:nth-child(2)  { animation-delay: 0.04s; }
.t-pub-in-view.t-pub-grid-3 > *:nth-child(3),  .t-pub-in-view.t-pub-grid-4 > *:nth-child(3),  .t-pub-in-view.t-pub-steps > *:nth-child(3),  .t-pub-in-view.t-pub-chip-grid > *:nth-child(3)  { animation-delay: 0.08s; }
.t-pub-in-view.t-pub-grid-3 > *:nth-child(4),  .t-pub-in-view.t-pub-grid-4 > *:nth-child(4),  .t-pub-in-view.t-pub-steps > *:nth-child(4),  .t-pub-in-view.t-pub-chip-grid > *:nth-child(4)  { animation-delay: 0.12s; }
.t-pub-in-view.t-pub-grid-3 > *:nth-child(5),  .t-pub-in-view.t-pub-grid-4 > *:nth-child(5),  .t-pub-in-view.t-pub-steps > *:nth-child(5),  .t-pub-in-view.t-pub-chip-grid > *:nth-child(5)  { animation-delay: 0.16s; }
.t-pub-in-view.t-pub-grid-3 > *:nth-child(6),  .t-pub-in-view.t-pub-grid-4 > *:nth-child(6),  .t-pub-in-view.t-pub-steps > *:nth-child(6),  .t-pub-in-view.t-pub-chip-grid > *:nth-child(6)  { animation-delay: 0.2s; }
.t-pub-in-view.t-pub-grid-3 > *:nth-child(7),  .t-pub-in-view.t-pub-grid-4 > *:nth-child(7),  .t-pub-in-view.t-pub-steps > *:nth-child(7),  .t-pub-in-view.t-pub-chip-grid > *:nth-child(7)  { animation-delay: 0.24s; }
.t-pub-in-view.t-pub-grid-3 > *:nth-child(8),  .t-pub-in-view.t-pub-grid-4 > *:nth-child(8),  .t-pub-in-view.t-pub-steps > *:nth-child(8),  .t-pub-in-view.t-pub-chip-grid > *:nth-child(8)  { animation-delay: 0.28s; }
.t-pub-in-view.t-pub-grid-3 > *:nth-child(9),  .t-pub-in-view.t-pub-chip-grid > *:nth-child(9)  { animation-delay: 0.32s; }
.t-pub-in-view.t-pub-grid-3 > *:nth-child(10), .t-pub-in-view.t-pub-chip-grid > *:nth-child(10) { animation-delay: 0.36s; }
.t-pub-in-view.t-pub-grid-3 > *:nth-child(11), .t-pub-in-view.t-pub-chip-grid > *:nth-child(11) { animation-delay: 0.4s; }
.t-pub-in-view.t-pub-chip-grid > *:nth-child(12) { animation-delay: 0.44s; }
.t-pub-in-view.t-pub-chip-grid > *:nth-child(13) { animation-delay: 0.48s; }
.t-pub-in-view.t-pub-chip-grid > *:nth-child(14) { animation-delay: 0.52s; }
.t-pub-in-view.t-pub-chip-grid > *:nth-child(15) { animation-delay: 0.56s; }

/* ── How It Works — subtle step badge highlight, JS-toggled ─────────── */

.t-pub-step-num { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.t-pub-step.t-pub-step-active .t-pub-step-num {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
}

/* ── Moving proof rail — CSS-first slow drift on desktop; a real
   swipeable, scroll-snapped strip on touch (animation disabled there
   so it never fights a manual swipe). ───────────────────────────────── */

.t-pub-proof-rail { overflow: hidden; }
.t-pub-proof-rail-track { display: flex; gap: 16px; }
.t-pub-proof-rail .t-pub-proof-tile { flex: 0 0 200px; }

@media (hover: hover) and (pointer: fine) {
  .t-pub-proof-rail-track {
    justify-content: center;
    animation: t-pub-rail-drift 16s ease-in-out infinite;
  }
  .t-pub-proof-rail:hover .t-pub-proof-rail-track,
  .t-pub-proof-rail:focus-within .t-pub-proof-rail-track {
    animation-play-state: paused;
  }
}

@media (hover: none), (pointer: coarse) {
  .t-pub-proof-rail {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .t-pub-proof-rail-track { animation: none !important; }
  .t-pub-proof-rail .t-pub-proof-tile {
    scroll-snap-align: start;
    flex: 0 0 78%;
  }
}

@keyframes t-pub-rail-drift {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-60px); }
}

/* ── Reduced motion — belt-and-suspenders. Even if JS's own check
   somehow failed, this media query independently guarantees full
   visibility and zero animation. ────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .t-pub-hero-enter,
  html.t-pub-js-ready .t-pub-reveal,
  .t-pub-in-view.t-pub-grid-3 > *,
  .t-pub-in-view.t-pub-grid-4 > *,
  .t-pub-in-view.t-pub-steps > *,
  .t-pub-in-view.t-pub-chip-grid > *,
  .t-pub-step.t-pub-step-active .t-pub-step-num {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .t-pub-proof-rail-track { animation: none !important; }
  .t-pub-proof-rail {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .t-pub-proof-rail .t-pub-proof-tile {
    scroll-snap-align: start;
    flex: 0 0 78%;
  }
}
