/* Home + Help page styles extracted from styles.css */
/* Homepage layout (/) */
.home-hero__subhead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin: 0 0 var(--space-5);
  max-width: 560px;
}

.home-hero__title-line {
  display: block;
}

.home-hero__signals {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
  padding: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.home-hero__signals li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.home-hero__check {
  width: 18px;
  height: 18px;
  fill: #cfe2a8;
  flex: 0 0 auto;
}

.home-hero__instacart-logo {
  display: inline-block;
  height: 20px;
  width: auto;
  margin-left: 6px;
  vertical-align: -3px;
  border-radius: 0;
  object-fit: contain;
}

.home-hero__supporting {
  margin: 0 0 var(--space-3);
  color: rgba(255, 255, 255, 0.84);
  max-width: 560px;
}

.home-hero__clarifications {
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
  max-width: 560px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.home-hero__clarifications li {
  display: flex;
  gap: var(--space-3);
}

.home-hero__clarifications li::before {
  content: "•";
  color: rgba(255, 255, 255, 0.7);
}

.home-hero__strip {
  padding: var(--space-4) 0;
}

.home-hero__strip-inner {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}

.home-section-heading {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.home-section-heading--center {
  justify-items: center;
  text-align: center;
}

.home-section-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.home-section-title--featured {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.home-section-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
}

.home-section-heading--center .home-section-subtitle {
  max-width: 640px;
}

.home-sotd.section--bordered {
  border-top: 0;
}

.home-sotd {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 5.8vw, 74px) 0 clamp(56px, 6.2vw, 76px);
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(17, 23, 19, 0.62) 0%, rgba(17, 23, 19, 0.4) 45%, rgba(17, 23, 19, 0.62) 100%),
    url("https://m1.salad.now/sotd_bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-sotd .home-section-heading {
  margin-bottom: clamp(16px, 2.2vw, 24px);
  text-align: center;
  justify-items: center;
}

.home-sotd .home-section-title {
  color: #ffffff;
  text-transform: uppercase;
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(1.75rem, 4.9vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.home-sotd .home-section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.55vw, 1.18rem);
  max-width: 720px;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

[data-sotd-recipe-grid].grid-4 {
  grid-template-columns: minmax(0, 372px);
  justify-content: center;
  position: relative;
  z-index: 1;
}

.home-sotd [data-sotd-recipe-grid] .form-help {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.home-sotd [data-sotd-recipe-grid] .card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  padding: 15px 14px 14px;
  gap: 8px;
  text-align: center;
}

.home-sotd [data-sotd-recipe-grid] .card__image-link {
  width: 152px;
  margin: 0 auto;
}

.home-sotd [data-sotd-recipe-grid].salad-card-grid .card img {
  width: 152px;
  height: 152px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto;
  border: 0;
  box-shadow: 0 8px 18px rgba(24, 23, 20, 0.16);
}

.home-sotd [data-sotd-recipe-grid] .card__title {
  margin-top: 2px;
  color: #131313;
  text-transform: none;
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.home-sotd [data-sotd-recipe-grid] .card__engagement {
  justify-content: center;
  gap: 10px;
}

.home-sotd [data-sotd-recipe-grid] .engagement-heart {
  display: none;
}

.home-sotd [data-sotd-recipe-grid] .engagement-stars {
  font-size: 0.98rem;
  color: #161616;
  gap: 6px;
}

.home-sotd [data-sotd-recipe-grid] .engagement-stars svg {
  width: 20px;
  height: 20px;
  fill: #e3ad2b;
}

.home-sotd [data-sotd-recipe-grid] .engagement-score {
  font-size: 1.52rem;
  line-height: 1;
}

.home-sotd [data-sotd-recipe-grid] .rating-count {
  color: #3b3b3b;
  text-decoration: none;
  font-size: 0.95rem;
}

.home-sotd [data-sotd-recipe-grid] .card__link {
  margin-top: 4px;
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #4f9f51 0%, #438f45 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px rgba(18, 42, 24, 0.32);
  transition: filter 0.2s ease, transform 0.15s ease;
}

.home-sotd [data-sotd-recipe-grid] .card__link:hover,
.home-sotd [data-sotd-recipe-grid] .card__link:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.home-section-cta {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
}

.home-process-header {
  text-align: center;
  margin-bottom: var(--space-7);
}

.home-process-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.home-process-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin-inline: auto;
}

.home-process-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-process-card {
  display: grid;
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-process-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.home-process-card__image {
  position: relative;
  overflow: hidden;
}

.home-process-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.home-process-card:hover .home-process-card__image img {
  transform: scale(1.04);
}

.home-process-step {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.home-process-card__body {
  padding: var(--space-5);
  display: grid;
  gap: var(--space-2);
}

.home-process-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.home-process-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-section-footnote {
  margin: var(--space-6) 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-explore {
  background: linear-gradient(135deg, #1f3d2a 0%, #24543a 55%, #1f3d2a 100%);
  color: #fdfbf6;
  padding: var(--space-8) 0;
}

.home-cta__inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.home-cta__title {
  margin: 0 0 var(--space-2);
  font-size: 2rem;
  line-height: 1.2;
}

.home-cta__subtitle {
  margin: 0 0 var(--space-5);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.home-cta__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.home-cta .btn.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fdfbf6;
  background: transparent;
}

.home-cta .btn.primary {
  background: #f4ddbb;
  border-color: #f4ddbb;
  color: #173726;
}

.home-cta .btn.primary:hover,
.home-cta .btn.primary:focus-visible {
  background: #f8e8cf;
  border-color: #f8e8cf;
}

.home-cta .btn.secondary:hover,
.home-cta .btn.secondary:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.home-section-footnote--dark {
  color: rgba(255, 255, 255, 0.78);
}


@media (max-width: 900px) {
  .home-sotd {
    padding: 48px 0 58px;
  }

  [data-sotd-recipe-grid].grid-4 {
    grid-template-columns: minmax(0, 334px);
  }

  .home-sotd [data-sotd-recipe-grid] .card {
    padding: 14px 13px 13px;
  }

  .home-sotd [data-sotd-recipe-grid].salad-card-grid .card img,
  .home-sotd [data-sotd-recipe-grid] .card__image-link {
    width: 136px;
    height: 136px;
  }

  .home-sotd [data-sotd-recipe-grid] .card__title {
    font-size: clamp(1.02rem, 4.9vw, 1.28rem);
  }
}

@media (max-width: 560px) {
  [data-sotd-recipe-grid].grid-4 {
    grid-template-columns: minmax(0, 100%);
  }

  .home-sotd [data-sotd-recipe-grid] .card {
    max-width: 332px;
    margin-inline: auto;
  }

  .home-sotd .home-section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .home-process-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .home-cta__title {
    font-size: 1.6rem;
  }
}

@media (max-width: 700px) {
  .home-plan-section .home-section-cta {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .home-plan-section .home-section-cta .btn {
    width: 100%;
  }

  .home-plan-link {
    margin-left: 0;
  }

  .home-cta__actions .btn {
    width: 100%;
  }
}

.hero-logo--instacart img {
  width: 92px;
  height: 26px;
  border-radius: 0;
  object-fit: contain;
}

.home-hero:not(.hero-banner) {
  background: var(--highlight);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.home-hero:not(.hero-banner)::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: var(--accent-2);
  border-radius: 50%;
  top: -140px;
  right: -120px;
  opacity: 0.9;
}

.home-hero__grid {
  align-items: start;
  position: relative;
  z-index: 1;
}

.home-hero__copy {
  display: grid;
  gap: var(--space-4);
}

.home-hero__copy .hero__subtitle {
  margin-bottom: 0;
}

.home-hero__copy .recipe-actions {
  margin: 0;
}

.home-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.home-hero__media {
  display: grid;
  gap: var(--space-4);
}

.home-hero__image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-soft);
}

.home-hero__image-frame img {
  width: 100%;
  height: clamp(280px, 45vw, 440px);
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
}

.home-hero__caption {
  padding: var(--space-3) var(--space-4);
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.home-hero .hero__card {
  background: var(--bg);
}

.help-hero {
  background: var(--highlight);
  position: relative;
  overflow: hidden;
}

.help-hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--accent-2);
  top: -160px;
  right: 8%;
  opacity: 0.7;
}

.help-hero__grid {
  align-items: center;
  position: relative;
  z-index: 1;
}

.help-search {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-5);
}

.help-search__field {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.help-search__field .input {
  flex: 1;
  min-width: 220px;
}

.help-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.help-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-3) 0;
}

.faq-list {
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-3);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item__content {
  margin-top: var(--space-2);
  color: var(--muted);
  max-width: 720px;
}

.home-plan-section {
  text-align: center;
}

.home-plan-link {
  margin-left: 12px;
}

