/* Homepage — ScooterReviewPro reader journey */

:root {
  --home-ink: #0f172a;
  --home-slate: #475569;
  --home-muted: #94a3b8;
  --home-line: #e2e8f0;
  --home-surface: #ffffff;
  --home-bg: #f8fafc;
  --home-accent: #ea580c;
  --home-accent-soft: #fff7ed;
}

/* —— Hero —— */
.home-hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--home-ink);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0f172a;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.35) 72%, rgba(15, 23, 42, 0.45) 100%),
    linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 45%);
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 4.5rem 1rem 3.5rem;
}

@media (min-width: 640px) {
  .home-hero__inner {
    padding: 5.5rem 1.5rem 4.5rem;
  }
}

.home-hero__brand {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: #fff;
  text-decoration: none;
  animation: home-fade-up 0.7s ease both;
}

.home-hero__brand span {
  color: #fb923c;
}

.home-hero__title {
  max-width: 16ch;
  font-size: clamp(1.85rem, 4.5vw, 3.35rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  animation: home-fade-up 0.7s ease 0.08s both;
}

.home-hero__lede {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: #cbd5e1;
  animation: home-fade-up 0.7s ease 0.16s both;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  animation: home-fade-up 0.7s ease 0.24s both;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  background: #f97316;
  color: #fff !important;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-cta:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.45);
  color: #fff !important;
}

.home-cta--light {
  background: #fff;
  color: var(--home-ink) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.home-cta--light:hover {
  background: #fff;
  color: var(--home-ink) !important;
  transform: translateY(-2px);
}

.home-text-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.45);
  padding-bottom: 0.1rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.home-text-link:hover {
  color: #fb923c !important;
  border-color: #fb923c;
}

.home-text-link--accent {
  color: var(--home-accent) !important;
  border-bottom-color: #fdba74;
}

.home-text-link--accent:hover {
  color: #c2410c !important;
  border-bottom-color: #c2410c;
}

@keyframes home-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__brand,
  .home-hero__title,
  .home-hero__lede,
  .home-hero__actions {
    animation: none;
  }
}

/* —— Section shell —— */
.home-section {
  padding: 3.5rem 0;
}

@media (min-width: 640px) {
  .home-section {
    padding: 4.5rem 0;
  }
}

.home-section--muted {
  background: var(--home-bg);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-section__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .home-section__inner {
    padding: 0 1.5rem;
  }
}

.home-section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-accent);
}

.home-section__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--home-ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.home-section__lede {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--home-slate);
}

.home-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.home-section__header .home-section__lede {
  margin-bottom: 0;
}

/* —— Start here intents —— */
.home-intents {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

@media (min-width: 768px) {
  .home-intents {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-intent {
  display: block;
  padding: 1.5rem 1.25rem;
  text-decoration: none !important;
  color: inherit !important;
  background: var(--home-surface);
  border-bottom: 1px solid var(--home-line);
  transition: background 0.2s ease, color 0.2s ease;
}

@media (min-width: 768px) {
  .home-intent {
    border-bottom: none;
    border-right: 1px solid var(--home-line);
    padding: 1.75rem 1.5rem;
  }

  .home-intent:last-child {
    border-right: none;
  }
}

.home-intent:hover {
  background: var(--home-accent-soft);
}

.home-intent:hover .home-intent__title {
  color: var(--home-accent);
}

.home-intent__kicker {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--home-muted);
}

.home-intent__title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--home-ink);
  transition: color 0.15s ease;
}

.home-intent__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--home-slate);
}

.home-intent__go {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--home-accent);
}

/* —— Editor picks —— */
.home-picks {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .home-picks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-picks {
    grid-template-columns: repeat(5, 1fr);
  }
}

.home-pick {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  background: var(--home-surface);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-pick:hover {
  border-bottom-color: var(--home-accent);
  transform: translateY(-3px);
}

.home-pick__image-wrap {
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
}

.home-pick__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.home-pick:hover .home-pick__image {
  transform: scale(1.03);
}

.home-pick__body {
  padding: 1rem 0 0.25rem;
}

.home-pick__cat {
  margin: 0 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-accent);
}

.home-pick__name {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--home-ink);
}

.home-pick__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--home-slate);
}

/* —— Trust —— */
.home-trust {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .home-trust {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
    gap: 3rem;
  }
}

.home-trust__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.home-trust__points li {
  padding-left: 1.15rem;
  border-left: 3px solid #fdba74;
}

.home-trust__points strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  color: var(--home-ink);
}

.home-trust__points span {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--home-slate);
}

/* —— Guides —— */
.home-guides {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--home-line);
}

.home-guide {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--home-line);
  text-decoration: none !important;
  color: inherit !important;
  transition: color 0.15s ease;
}

.home-guide:hover .home-guide__title {
  color: var(--home-accent);
}

.home-guide__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--home-ink);
  transition: color 0.15s ease;
}

.home-guide__text {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--home-slate);
  flex-basis: 100%;
}

@media (min-width: 768px) {
  .home-guide__text {
    flex-basis: auto;
    max-width: 28rem;
    margin: 0;
    text-align: right;
  }
}

.home-guide__arrow {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--home-accent);
}

/* —— Comparison wrap —— */
.home-compare-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

@media (min-width: 640px) {
  .home-compare-wrap {
    padding: 0 1.5rem 1rem;
  }
}

/* —— Finder banner —— */
.home-finder-banner {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(120deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #fff;
  padding: 2.75rem 1rem;
}

@media (min-width: 640px) {
  .home-finder-banner {
    padding: 3.25rem 1.5rem;
  }
}

.home-finder-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .home-finder-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.home-finder-banner__glow {
  position: absolute;
  right: -8%;
  top: -40%;
  width: 45%;
  height: 180%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 65%);
  pointer-events: none;
}

.home-finder-banner .home-section__eyebrow {
  color: #fdba74;
}

.home-finder-banner .home-section__title {
  color: #fff;
  margin-bottom: 0.5rem;
}

.home-finder-banner p:not(.home-section__eyebrow) {
  margin: 0;
  max-width: 34rem;
  color: #cbd5e1;
  line-height: 1.55;
}

/* —— Footer —— */
.home-footer {
  background: var(--home-surface);
  border-top: 1px solid var(--home-line);
  padding: 2.5rem 0 2rem;
}

.home-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .home-footer__inner {
    padding: 0 1.5rem;
  }
}

.home-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1.5rem;
}

.home-footer__links a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--home-slate) !important;
  text-decoration: none !important;
}

.home-footer__links a:hover {
  color: var(--home-accent) !important;
}

.home-footer__legal {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--home-muted);
}

.home-footer__copy {
  margin: 1.25rem 0 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd5e1;
}
