/* Phase S/T/U/V/X: tighter sharing/follow-up visual polish layered over the visual homepage. */
/* Base tokens come from style.css (WeFixTrades brand palette). The retired
   premium-palette.css teal theme import was removed — it re-injected teal at
   :root and everything the landing needs is already defined in style.css. */
.hero h1 {
  max-width: 560px;
}
.hero .lead {
  max-width: 520px;
}
.hero-quick-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
  max-width: 520px;
}
.hero-quick-points span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 12.5px;
}
.hero-quick-points span::before {
  content: '✓';
  color: var(--success);
  font-weight: 900;
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.js [data-reveal].is-visible,
.no-js [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}
.scheduler-section {
  background: #0f1319;
}
.scheduler-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 30px;
  align-items: center;
}
.scheduler-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(31px, 4.7vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.scheduler-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.scheduler-card {
  border: 1px solid rgba(110,139,255,.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(27,33,35,.96), rgba(18,21,26,.98));
  box-shadow: var(--shadow-md);
  padding: 18px;
}
.scheduler-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.scheduler-top strong { color: var(--ink); }
.scheduler-top span { color: var(--accent); font: 12px var(--font-mono); }
.scheduler-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.scheduler-row:last-child { border-bottom: 0; }
.scheduler-dot {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(110,139,255,.10);
  color: var(--accent);
  font: 800 11px var(--font-mono);
}
.scheduler-row b { color: var(--ink); display: block; font-size: 14px; }
.scheduler-row small { color: var(--muted); }
.scheduler-row em {
  font-style: normal;
  color: var(--ink-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
}
.share-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.share-strip span {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  border-radius: 12px;
  padding: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
}
.visual-flow {
  min-height: 400px;
}
.flow-card {
  transition: transform .18s ease, border-color .18s ease;
}
.flow-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110,139,255,.34);
}

/* Phase BL: serious CargoWise/Ship4wd-style landing brand polish. */
.landing-v2 {
  --accent: #6E8BFF;
  --accent-strong: #0D3CFC;
  --accent-soft: rgba(13, 60, 252, 0.10);
  --accent-ink: #ffffff;
  --success: #22c55e;
  background:
    radial-gradient(ellipse 70% 38% at 50% -6%, rgba(13, 60, 252, .10), transparent 64%),
    linear-gradient(180deg, #0a1018 0%, #0d1219 45%, #0b0f15 100%);
}
.landing-v2 .site-header {
  background: rgba(8, 13, 19, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}
.landing-v2 .site-logo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #101923 0%, #172434 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #eef2ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 28px -22px rgba(13,60,252,.55);
}
.landing-v2 .site-logo::before {
  content: '';
  position: absolute;
  inset: 6px 5px auto;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #6E8BFF, transparent);
  opacity: .9;
}
.landing-v2 .site-logo::after {
  content: 'QF';
  position: relative;
  z-index: 1;
  font: 900 11px/1 var(--font-mono);
  letter-spacing: -0.04em;
}
.landing-v2 .site-logo svg {
  display: none;
}
.landing-v2 .site-brand {
  letter-spacing: -0.025em;
}
.landing-v2 .hero::before {
  background:
    radial-gradient(ellipse 56% 40% at 72% 18%, rgba(13,60,252,.10), transparent 68%),
    radial-gradient(ellipse 44% 30% at 20% 18%, rgba(59, 130, 246, .07), transparent 72%);
}
.landing-v2 .eyebrow,
.landing-v2 .section-kicker {
  color: #6E8BFF;
}
.landing-v2 .eyebrow {
  border-color: rgba(110, 139, 255, .20);
  background: rgba(110, 139, 255, .055);
}
/* Primary CTA: solid WeFixTrades brand blue with white text — matches the
   site's established landing CTA (body.qf-wft .btn-primary in cleanup). */
.landing-v2 .btn-primary {
  background: #0D3CFC;
  color: #ffffff;
  border-color: #0D3CFC;
  box-shadow: 0 18px 42px -28px rgba(13,60,252,.78), inset 0 1px 0 rgba(255,255,255,.18);
}
.landing-v2 .btn-primary:hover {
  background: #0B34D6;
  border-color: #0B34D6;
  box-shadow: 0 20px 46px -28px rgba(13,60,252,.84), inset 0 1px 0 rgba(255,255,255,.18);
}
.landing-v2 .demo-link,
.landing-v2 a {
  color: #6E8BFF;
}
.landing-v2 .hero-quick-points span,
.landing-v2 .flow-card,
.landing-v2 .scheduler-card,
.landing-v2 .share-strip span {
  border-color: rgba(148, 163, 184, .18);
}
.landing-v2 .flow-card {
  background: linear-gradient(180deg, rgba(17,25,35,.96), rgba(10,15,22,.98));
  box-shadow: 0 24px 60px -40px rgba(0,0,0,.76), inset 0 1px 0 rgba(255,255,255,.045);
}
.landing-v2 .flow-card:hover {
  border-color: rgba(110, 139, 255, .30);
}
.landing-v2 .flow-icon,
.landing-v2 .scheduler-dot {
  background: rgba(13,60,252,.10);
  color: #6E8BFF;
}
.landing-v2 .mini-rate-table b,
.landing-v2 .scheduler-top span,
.landing-v2 .mini-actions span,
.landing-v2 .mini-checks span {
  color: #6E8BFF;
}
.landing-v2 .mini-browser div,
.landing-v2 .mini-browser button,
.landing-v2 .pdf-card button {
  background: #0D3CFC;
  color: #ffffff;
}
.landing-v2 .mini-result {
  border-color: rgba(110,139,255,.20);
  background: rgba(13,60,252,.07);
}
.landing-v2 .flow-arrow {
  background: linear-gradient(90deg, rgba(13,60,252,.12), rgba(110,139,255,.70));
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (max-width: 980px) {
  .scheduler-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero {
    padding-top: 34px;
  }
  .hero h1 {
    font-size: clamp(31px, 9vw, 38px);
    max-width: 350px;
  }
  .hero .lead {
    font-size: 15.5px;
    max-width: 350px;
  }
  .hero-quick-points {
    grid-template-columns: 1fr 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-quick-points span {
    justify-content: center;
    padding: 8px;
    font-size: 11.5px;
    text-align: center;
  }
  .visual-flow { min-height: 0; }
  .scheduler-card,
  .scheduler-layout { text-align: left; }
  .scheduler-row {
    grid-template-columns: auto 1fr;
  }
  .scheduler-row em {
    grid-column: 2;
    width: max-content;
  }
  .share-strip {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .hero-quick-points {
    grid-template-columns: 1fr;
  }
}