/* Alternate homepage mockup: cleaner flow without changing the production homepage. */

.home-v2 .dual-choice-section {
  margin-top: 8px;
}

.home-v2 .dual-choice-head {
  margin-top: 34px;
  margin-bottom: 18px;
}

.home-v2 .home-v2-situation-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-v2 .home-v2-situation-button {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(31,39,51,.04);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-v2 .home-v2-situation-button::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--situation-accent, var(--bf-general));
  opacity: .72;
}

.home-v2 .home-v2-situation-button:hover,
.home-v2 .home-v2-situation-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--bf-general-light);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
}

.home-v2 .home-v2-situation-button strong {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-v2 .home-v2-situation-button span {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}

.home-v2 .home-v2-situation-button.upgrade {
  --situation-accent: var(--bf-general);
  background: linear-gradient(145deg, rgba(255,255,255,1), rgba(246,250,252,.88));
}

.home-v2 .home-v2-situation-button.factory {
  --situation-accent: #596873;
  background: linear-gradient(145deg, rgba(255,255,255,1), rgba(244,247,248,.9));
}

.home-v2 .home-v2-situation-button.help {
  --situation-accent: #9aa5ad;
  background: linear-gradient(145deg, rgba(255,255,255,1), rgba(247,248,249,.92));
}

.home-v2 .seo-intro {
  border-left: 1px solid var(--line);
  border-top: 1px solid rgba(83,111,133,.2);
  background:
    linear-gradient(120deg, rgba(255,255,255,.96), rgba(247,250,252,.88)),
    radial-gradient(circle at 92% 18%, rgba(83,111,133,.12), transparent 34%);
  box-shadow: 0 16px 36px rgba(31,39,51,.05);
}

.home-v2 .seo-intro::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 22px;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bf-general), #596873);
  opacity: .42;
}

.home-v2 .testing-proof-points div {
  border-left: 0;
  padding-left: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.home-v2 .note-band {
  border-left: 1px solid var(--line);
  border-top: 1px solid rgba(83,111,133,.18);
  background:
    linear-gradient(120deg, rgba(255,255,255,.98), rgba(247,250,252,.92)),
    radial-gradient(circle at 96% 24%, rgba(83,111,133,.1), transparent 34%);
}

.home-v2 .home-direction-band {
  margin-top: 56px;
}

.home-v2 .upgrade-direction-band {
  --lane-accent: #536f85;
  --lane-accent-dark: #3d5568;
  --lane-accent-soft: rgba(83,111,133,.18);
  --lane-accent-border: rgba(83,111,133,.30);
}

.home-v2 .upgrade-direction-band::before {
  background:
    linear-gradient(135deg, rgba(244,248,251,.99), rgba(226,236,243,.97)),
    radial-gradient(circle at 12% 16%, rgba(83,111,133,.12), transparent 38%);
  border-color: rgba(83,111,133,.28);
  border-top-color: var(--lane-accent);
  box-shadow: 0 16px 34px rgba(31,49,63,.07);
}

.home-v2 .upgrade-direction-band .home-lane-kicker {
  border-color: rgba(83,111,133,.28);
  background: rgba(255,255,255,.78);
}

.home-v2 .upgrade-direction-band .direction-header,
.home-v2 .upgrade-direction-band .direction-facts {
  border-color: rgba(83,111,133,.24);
}

.home-v2 .upgrade-direction-band .direction-facts div {
  border-right-color: rgba(83,111,133,.22);
}

.home-v2 .factory-direction-band {
  margin-top: 72px;
}

.home-v2 .factory-direction-band::before {
  inset: 0 24px;
  background:
    linear-gradient(135deg, rgba(244,248,249,.99), rgba(225,234,238,.96)),
    radial-gradient(circle at 82% 16%, rgba(89,104,115,.13), transparent 34%);
  border: 1px solid rgba(89,104,115,.26);
  border-top: 4px solid var(--lane-accent);
  box-shadow: 0 16px 34px rgba(31,39,51,.08);
}

.home-v2 .factory-direction-band .home-lane-kicker {
  border-color: rgba(89,104,115,.22);
  background: rgba(255,255,255,.84);
}

.home-v2 .factory-direction-band .direction-header {
  border-bottom-color: rgba(89,104,115,.20);
}

.home-v2 .factory-direction-band .direction-header h2,
.home-v2 .factory-direction-band .direction-facts strong {
  color: var(--ink);
}

.home-v2 .factory-direction-band .direction-header p,
.home-v2 .factory-direction-band .direction-facts span,
.home-v2 .factory-direction-band .eyebrow-text {
  color: var(--ink-2);
}

.home-v2 .direction-facts {
  gap: 0;
  margin-top: 22px;
  margin-bottom: 22px;
  border-top: 1px solid rgba(89,102,115,.18);
  border-bottom: 1px solid rgba(89,102,115,.18);
}

.home-v2 .direction-facts div {
  padding: 4px 20px 4px 0;
  border: 0;
  border-right: 1px solid rgba(89,102,115,.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-v2 .direction-facts div + div {
  padding-left: 20px;
}

.home-v2 .direction-facts div:last-child {
  border-right: 0;
}

.home-v2 .factory-direction-band .direction-facts {
  border-color: rgba(89,104,115,.20);
}

.home-v2 .factory-direction-band .direction-facts div {
  border-right-color: rgba(89,104,115,.20);
}

.home-v2 .home-v2-factory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 36px 4px;
}

.home-v2 .home-v2-factory-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 36px 0;
}

.home-v2 .home-v2-factory-categories a {
  display: grid;
  grid-template-rows: 122px auto auto;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(89,104,115,.24);
  border-radius: var(--radius);
  background: rgba(255,255,255,.76);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.home-v2 .home-v2-factory-categories a:hover,
.home-v2 .home-v2-factory-categories a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(89,104,115,.48);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.home-v2 .home-v2-factory-categories img {
  width: 100%;
  height: 122px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.home-v2 .home-v2-factory-categories strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.home-v2 .home-v2-factory-categories span {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}

.home-v2 .factory-direction-band .direction-header .page-action.primary,
.home-v2 .factory-direction-band .home-v2-factory-actions .page-action.primary {
  border-color: var(--lane-accent);
  background: var(--lane-accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(63,76,85,.16);
}

.home-v2 .factory-direction-band .home-v2-factory-actions .page-action.secondary {
  border-color: rgba(89,104,115,.42);
  background: rgba(255,255,255,.56);
  color: var(--ink);
}

.home-v2 .factory-direction-band .direction-header .page-action.primary:hover,
.home-v2 .factory-direction-band .direction-header .page-action.primary:focus-visible {
  background: var(--lane-accent-dark);
  border-color: var(--lane-accent-dark);
  color: #fff;
}

.home-v2 .factory-direction-band .home-v2-factory-actions .page-action:hover,
.home-v2 .factory-direction-band .home-v2-factory-actions .page-action:focus-visible {
  color: var(--ink);
  background: #fff;
  border-color: var(--lane-accent);
}

@media (max-width: 980px) {
  .home-v2 .home-v2-situation-actions {
    grid-template-columns: 1fr;
  }

  .home-v2 .direction-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2 .home-v2-factory-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2 .direction-facts div:nth-child(2) {
    border-right: 0;
  }

  .home-v2 .direction-facts div:nth-child(n+3) {
    padding-top: 14px;
    border-top: 1px solid rgba(89,102,115,.16);
  }

  .home-v2 .factory-direction-band .direction-facts div:nth-child(n+3) {
    border-top-color: rgba(89,104,115,.20);
  }

  .home-v2 .upgrade-direction-band .direction-facts div:nth-child(n+3) {
    border-top-color: rgba(83,111,133,.22);
  }
}

@media (max-width: 640px) {
  .home-v2 .home-direction-band,
  .home-v2 .factory-direction-band {
    margin-top: 38px;
    padding-top: 26px;
    padding-bottom: 28px;
  }

  .home-v2 .factory-direction-band::before {
    inset: 0 16px;
  }

  .home-v2 .direction-header {
    padding-inline: 24px;
  }

  .home-v2 .direction-facts {
    grid-template-columns: 1fr;
    margin-inline: 24px;
  }

  .home-v2 .direction-facts div,
  .home-v2 .direction-facts div + div {
    padding: 12px 0;
    border-right: 0;
    border-top: 1px solid rgba(89,102,115,.16);
  }

  .home-v2 .direction-facts div:first-child {
    border-top: 0;
  }

  .home-v2 .factory-direction-band .direction-facts div,
  .home-v2 .factory-direction-band .direction-facts div + div {
    border-top-color: rgba(89,104,115,.20);
  }

  .home-v2 .upgrade-direction-band .direction-facts div,
  .home-v2 .upgrade-direction-band .direction-facts div + div {
    border-top-color: rgba(83,111,133,.22);
  }

  .home-v2 .home-v2-factory-actions {
    margin-inline: 24px;
  }

  .home-v2 .home-v2-factory-categories {
    grid-template-columns: 1fr;
    margin-inline: 24px;
  }

  .home-v2 .home-v2-factory-categories a {
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
  }

  .home-v2 .home-v2-factory-categories img {
    grid-row: 1 / 3;
    height: 86px;
  }

  .home-v2 .home-v2-factory-actions .page-action {
    width: 100%;
    justify-content: center;
  }
}
