/**
 * Truckers Shield — 2027 Homepage Design Prototype (preview only)
 * Linked from truckers-home-preview.html
 */

:root {
  --ts-navy: #080c12;
  --ts-charcoal: #0d1117;
  --ts-charcoal-2: #111820;
  --ts-border: rgba(255, 255, 255, 0.07);
  --ts-orange: #f97316;
  --ts-orange-dim: #ea580c;
  --ts-blue: var(--brand-blue-light, #4a72b8);
  --ts-text: #f1f5f9;
  --ts-muted: #94a3b8;
}

* {
  box-sizing: border-box;
}

html:has(body.ts-preview) {
  overflow-x: clip;
}

body.ts-preview {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--ts-navy);
  color: var(--ts-text);
  min-height: 100vh;
  overflow-x: clip;
  margin: 0;
}

.ts-ambient-a,
.ts-ambient-b {
  max-width: 100vw;
  overflow: hidden;
}

body.ts-preview h1,
body.ts-preview h2,
body.ts-preview h3 {
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.02em;
}

.ts-preview-banner {
  background: linear-gradient(
    90deg,
    rgba(30, 58, 138, 0.12) 0%,
    rgba(249, 115, 22, 0.14) 50%,
    rgba(30, 58, 138, 0.12) 100%
  );
  border-bottom: 1px solid rgba(249, 115, 22, 0.28);
  text-align: center;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #fdba74;
  position: relative;
  z-index: 40;
}

.ts-preview-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ts-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ts-orange);
  color: var(--ts-navy);
  font-weight: 700;
  text-decoration: none;
}

.ts-skip-link:focus {
  left: 0;
}

.ts-ambient-a {
  position: fixed;
  top: -15%;
  left: -5%;
  width: 55%;
  height: 55%;
  background: radial-gradient(
    ellipse,
    rgba(30, 58, 138, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.ts-ambient-b {
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(
    ellipse,
    rgba(249, 115, 22, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.ts-nav {
  background: rgba(8, 12, 18, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(30, 58, 138, 0.2);
  position: sticky;
  top: 0;
  z-index: 30;
}

.ts-section-label {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fdba74;
}

.ts-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--ts-orange), var(--ts-orange-dim));
  border: 1px solid rgba(253, 186, 116, 0.4);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ts-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 48px rgba(249, 115, 22, 0.28);
}

.ts-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ts-blue);
  background: transparent;
  border: 1px solid rgba(74, 114, 184, 0.45);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ts-cta-secondary:hover {
  background: rgba(30, 58, 138, 0.12);
  border-color: rgba(74, 114, 184, 0.65);
}

.ts-cta-ghost {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--profit-light, #34d399);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ts-hero {
  position: relative;
  z-index: 10;
  padding: 2.75rem 1.25rem 2.5rem;
}

@media (min-width: 768px) {
  .ts-hero {
    padding: 3.25rem 2rem 3rem;
  }
}

.ts-hero-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ts-hero-grid {
    grid-template-columns: 1fr 1.12fr;
    gap: 3rem;
  }
}

.ts-hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: #fff;
}

.ts-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ts-muted);
  max-width: 36rem;
  margin: 0 0 0.75rem;
}

.ts-brand-line {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ts-blue);
  margin: 0 0 1.25rem;
}

.ts-hero-note {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.ts-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.ts-sample-note {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.ts-shot-stack {
  position: relative;
  min-height: 0;
}

/* Load economics demo (marketing — not Run It engine) */
.ts-load-econ {
  border-radius: 16px;
  border: 1px solid rgba(74, 114, 184, 0.35);
  background: linear-gradient(
    165deg,
    rgba(30, 58, 138, 0.14) 0%,
    rgba(13, 17, 23, 0.96) 55%
  );
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.ts-load-econ__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ts-load-econ__title {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.ts-load-econ__tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.35);
  padding: 4px 8px;
  border-radius: 999px;
}

.ts-load-econ__hint {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 1rem;
}

.ts-load-econ__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .ts-load-econ__metrics {
    grid-template-columns: 1fr;
  }
}

.ts-load-econ__metric {
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ts-border);
  text-align: center;
}

.ts-load-econ__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ts-muted);
  margin-bottom: 0.25rem;
}

.ts-load-econ__value {
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  transition: color 0.25s ease;
}

.ts-load-econ__value--req {
  color: var(--ts-blue);
}

.ts-load-econ__unit {
  font-size: 0.6875rem;
  color: #64748b;
}

.ts-load-econ__slider-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ts-muted);
  margin-bottom: 0.35rem;
}

.ts-load-econ__slider {
  width: 100%;
  margin: 0 0 1rem;
  accent-color: var(--ts-orange);
  cursor: pointer;
}

.ts-load-econ__slider:focus-visible {
  outline: 2px solid #fdba74;
  outline-offset: 2px;
}

.ts-load-econ__bars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.ts-load-econ__bar-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  align-items: center;
  gap: 0.5rem;
}

.ts-load-econ__bar-name {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

.ts-load-econ__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ts-load-econ__fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease, background-color 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .ts-load-econ__fill {
    transition: none;
  }

  .ts-load-econ__value {
    transition: none;
  }
}

.ts-load-econ__fill--req {
  background: linear-gradient(90deg, #1e3a8a, #4a72b8);
}

.ts-load-econ__fill--offer {
  background: linear-gradient(90deg, var(--ts-orange-dim), var(--ts-orange));
}

.ts-load-econ__verdict {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ts-load-econ__verdict--above {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.ts-load-econ__verdict--near {
  background: rgba(245, 158, 11, 0.1);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.ts-load-econ__verdict--below {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.ts-shot-primary {
  position: relative;
  z-index: 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ts-border);
  background: var(--ts-charcoal);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.ts-shot-primary img {
  display: block;
  width: 100%;
  height: auto;
}

.ts-shot-secondary {
  position: absolute;
  z-index: 2;
  width: 54%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ts-border);
  background: var(--ts-charcoal-2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  right: -2%;
  bottom: -5%;
}

@media (max-width: 1023px) {
  .ts-shot-secondary {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 0.75rem;
  }

  .ts-shot-stack {
    display: flex;
    flex-direction: column;
  }
}

.ts-shot-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.88);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #fdba74;
}

.ts-section {
  position: relative;
  z-index: 10;
  padding: 3rem 1.25rem;
  border-top: 1px solid var(--ts-border);
}

@media (min-width: 768px) {
  .ts-section {
    padding: 3.75rem 2rem;
  }
}

.ts-section--tight {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .ts-section--tight {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.ts-split--reality {
  margin-top: 0.5rem;
}

.ts-body--compact {
  font-size: 0.9375rem;
  max-width: 38rem;
}

.ts-section--alt {
  background: var(--ts-charcoal);
}

.ts-section-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.ts-section h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
  color: #fff;
}

.ts-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ts-muted);
  max-width: 42rem;
  margin: 0;
}

.ts-body ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.ts-body li {
  margin-bottom: 0.45rem;
}

.ts-pullquote {
  font-family: "Montserrat", sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #e2e8f0;
  border-left: 3px solid var(--ts-orange);
  padding-left: 1.15rem;
  margin: 1.5rem 0 0;
  max-width: 40rem;
}

.ts-split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  margin-top: 1.25rem;
}

@media (min-width: 960px) {
  .ts-split {
    grid-template-columns: 1fr 1.08fr;
    gap: 3rem;
  }

  .ts-split--reverse .ts-split-copy {
    order: 2;
  }

  .ts-split--reverse .ts-split-media {
    order: 1;
  }
}

.ts-shot-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ts-border);
  background: var(--ts-charcoal-2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ts-shot-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  scrollbar-width: thin;
}

.ts-shot-scroll img {
  display: block;
  min-width: 720px;
  width: 100%;
  height: auto;
}

@media (min-width: 960px) {
  .ts-shot-scroll {
    overflow: hidden;
  }

  .ts-shot-scroll img {
    min-width: 0;
  }
}

.ts-dual-shots {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ts-dual-shots {
    grid-template-columns: 1fr 1fr;
  }
}

.ts-triple-shots {
  display: grid;
  gap: 1rem;
}

@media (min-width: 960px) {
  .ts-triple-shots {
    grid-template-columns: repeat(3, 1fr);
  }

  .ts-triple-shots .ts-shot-scroll img {
    min-width: 0;
  }
}

.ts-platform-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .ts-platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .ts-platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ts-platform-item {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--ts-border);
  background: rgba(255, 255, 255, 0.02);
}

.ts-platform-item strong {
  display: block;
  font-size: 0.8125rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.ts-platform-item span {
  font-size: 0.75rem;
  color: var(--ts-muted);
  line-height: 1.45;
}

.ts-platform-item--soon {
  opacity: 0.72;
  border-style: dashed;
}

.ts-pricing-card {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(30, 58, 138, 0.35);
  background: linear-gradient(
    165deg,
    rgba(30, 58, 138, 0.1) 0%,
    rgba(13, 17, 23, 0.95) 50%
  );
  max-width: 32rem;
}

.ts-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.ts-price {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.ts-research-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

.ts-research-links a {
  color: var(--ts-blue);
  font-weight: 600;
  text-decoration: none;
}

.ts-research-links a:hover {
  text-decoration: underline;
}

.ts-final {
  text-align: center;
  background: linear-gradient(
    180deg,
    var(--ts-charcoal) 0%,
    rgba(249, 115, 22, 0.06) 100%
  );
}

.ts-final .ts-hero-actions {
  justify-content: center;
  margin-top: 1.5rem;
}

.ts-footer {
  position: relative;
  z-index: 10;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--ts-border);
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}

.ts-footer a {
  color: var(--ts-blue);
  text-decoration: none;
}

.ts-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.ts-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.ts-nav a:focus-visible,
.ts-cta-primary:focus-visible,
.ts-cta-secondary:focus-visible {
  outline: 2px solid #fdba74;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .ts-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
