/* =========================================================
   On The Yard homepage
   Loaded only by index.html via /css/home.css
   ========================================================= */

.home-body {
  margin: 0;
  background: #f4f6f8;
  color: #1f2937;
  font-family: Arial, Helvetica, sans-serif;
}

.home-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.home-topbar-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-logo-link {
  display: inline-flex;
  align-items: center;
}

.home-logo {
  width: 245px;
  max-width: 100%;
  height: auto;
  display: block;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-nav > a {
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.home-nav > a:hover {
  color: #111827;
}

.home-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.home-button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.home-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.home-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.home-button-green {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}

.home-button-dark {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.home-button-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.home-button-light {
  background: #ffffff;
  border-color: #ffffff;
  color: #111827;
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 64px 44px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.36), transparent 35%),
    radial-gradient(circle at 10% 100%, rgba(21, 128, 61, 0.2), transparent 35%),
    linear-gradient(135deg, #111827 0%, #1f2937 55%, #0f172a 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
  text-align: center;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      125deg,
      transparent 0%,
      rgba(255, 255, 255, 0.035) 42%,
      transparent 75%
    );
  pointer-events: none;
}

.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.home-eyebrow {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 9px 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.8);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.home-hero h1 {
  margin: 0 auto 20px;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.home-hero-copy {
  max-width: 760px;
  margin: 0 auto;
  color: #d1d5db;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.65;
}

.home-hero-stat {
  margin: 18px auto 0;
  color: #93c5fd;
  font-size: 15px;
  font-weight: 800;
}

.home-hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
}

.home-trial-note {
  margin: 18px 0 0;
  color: #9ca3af;
  font-size: 13px;
}

.home-feature-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.home-feature-card {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.06);
  text-align: left;
}

.home-feature-icon {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #15803d;
  font-weight: 900;
}

.home-feature-card strong {
  display: block;
  margin-bottom: 5px;
  color: #111827;
  font-size: 15px;
}

.home-feature-card p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.home-section {
  padding-top: 76px;
}

.home-section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.home-section-heading span,
.home-showcase-copy > span,
.home-final-cta span {
  display: inline-block;
  margin-bottom: 10px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.home-section-heading h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.home-section-heading p {
  margin: 0;
  color: #6b7280;
  font-size: 17px;
  line-height: 1.65;
}

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

.home-make-card {
  min-height: 245px;
  padding: 25px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.home-make-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 30px rgba(15, 23, 42, 0.11);
}

.home-make-logo-wrap {
  min-height: 88px;
  display: grid;
  place-items: center;
}

.home-make-logo {
  width: 150px;
  height: 74px;
  object-fit: contain;
}

.home-make-multi-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-make-small-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.home-make-card h3 {
  margin: 12px 0 18px;
  color: #111827;
  font-size: 21px;
}

.home-make-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.home-make-stats > div {
  padding: 12px 8px;
  border-radius: 11px;
  background: #f8fafc;
  text-align: center;
}

.home-make-stats strong {
  display: block;
  color: #111827;
  font-size: 20px;
}

.home-make-stats span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-make-new {
  margin: -8px 0 12px;
  padding: 5px 10px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-make-status {
  color: #6b7280;
  font-weight: 800;
}

.home-message {
  min-height: 22px;
  margin: 18px 0 0;
  text-align: center;
}

.home-showcase {
  padding-top: 78px;
  display: grid;
  gap: 28px;
}

.home-showcase-card {
  padding: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  align-items: center;
  gap: 38px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.home-showcase-card-reverse {
  grid-template-columns: 1.35fr 0.9fr;
}

.home-showcase-card-reverse .home-showcase-copy {
  order: 2;
}

.home-showcase-copy {
  text-align: left;
}

.home-showcase-copy h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.8px;
}

.home-showcase-copy p {
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.68;
}

.home-showcase-image-link {
  display: block;
  text-decoration: none;
}

.home-showcase-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d1d5db;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.14);
}

.home-final-cta {
  margin-top: 76px;
  padding: 42px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.32), transparent 42%),
    linear-gradient(135deg, #111827, #1f2937);
  box-shadow: 0 15px 36px rgba(15, 23, 42, 0.17);
}

.home-final-cta h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 40px);
}

.home-final-cta p {
  margin: 0;
  color: #d1d5db;
  font-size: 16px;
  line-height: 1.6;
}

.home-final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.home-footer {
  padding: 42px 0 28px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.home-footer-inner,
.home-footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.home-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.home-footer-logo {
  width: 210px;
  height: auto;
}

.home-footer-inner p {
  max-width: 440px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.home-footer-links {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.home-footer-links a {
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.home-footer-links a:hover {
  text-decoration: underline;
}

.home-footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-footer-bottom p {
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
}

.home-veteran-logo {
  width: 90px;
  height: auto;
}

@media (max-width: 900px) {
  .home-nav > a:first-child {
    display: none;
  }

  .home-feature-strip,
  .home-make-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-showcase-card,
  .home-showcase-card-reverse {
    grid-template-columns: 1fr;
  }

  .home-showcase-card-reverse .home-showcase-copy {
    order: initial;
  }

  .home-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .home-topbar-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-logo {
    width: 210px;
  }

  .home-nav {
    width: 100%;
    gap: 10px;
  }

  .home-nav > a,
  .home-nav .home-button {
    flex: 1;
  }

  .home-nav-login {
    min-height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .home-page {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .home-hero {
    min-height: auto;
    padding: 42px 20px;
    border-radius: 18px;
  }

  .home-hero h1 {
    letter-spacing: -1.1px;
  }

  .home-hero-actions,
  .home-final-actions {
    width: 100%;
    flex-direction: column;
  }

  .home-hero-actions .home-button,
  .home-final-actions .home-button {
    width: 100%;
  }

  .home-feature-strip,
  .home-make-grid {
    grid-template-columns: 1fr;
  }

  .home-section,
  .home-showcase {
    padding-top: 54px;
  }

  .home-showcase-card {
    padding: 22px 18px;
    border-radius: 17px;
  }

  .home-final-cta {
    margin-top: 54px;
    padding: 30px 20px;
    border-radius: 18px;
  }

  .home-footer-inner,
  .home-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-footer-links {
    justify-content: flex-start;
  }
}
