/* Mirasoles home page
   Current markup: index.html > .home-v2
   Shared header, footer, reset, and reveal behavior live in their own modules. */

.home-v2 {
  --home-ink: #141816;
  --home-muted: #647068;
  --home-line: rgb(20 24 22 / 13%);
  --home-surface: #f4f7f3;
  --home-green: #287c35;
  --home-green-dark: #1f682c;
  overflow: clip;
  background: var(--color-white);
  color: var(--home-ink);
}

.home-v2 > section > .container,
.home-v2__hero .hero-content__inner {
  width: min(1200px, calc(100% - 32px));
  max-width: 1200px;
  margin-inline: auto;
}

/* Shared home typography and actions */

.home-v2__eyebrow {
  margin: 0 0 15px;
  color: var(--home-green);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-v2__section-title,
.home-v2__cta h2 {
  min-height: 0;
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.home-v2__section-title {
  max-width: 12ch;
  font-size: clamp(36px, 3.8vw, 50px);
  line-height: 1.02;
  text-wrap: balance;
}

.home-v2__text-link {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.home-v2__text-link:visited {
  color: var(--home-ink);
}

.home-v2__text-link:hover {
  color: var(--home-green);
  text-decoration: underline;
}

.home-v2__text-link:focus-visible,
.home-v2__benefit a:focus-visible {
  border-radius: 3px;
  outline: 3px solid var(--home-green-dark);
  outline-offset: 4px;
}

.home-v2__button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.home-v2__button--primary,
.home-v2__button--primary:visited {
  border-color: var(--home-green);
  background: var(--home-green);
  color: var(--color-white);
}

.home-v2__button--primary:hover {
  border-color: var(--home-green-dark);
  background: var(--home-green-dark);
  color: var(--color-white);
}

.home-v2__button:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--home-green-dark);
}

/* Hero */

.home-v2__hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #202920;
}

.home-v2__hero .hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.home-v2__hero .hero-media::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(5 13 7 / 30%) 0%, transparent 22%),
    radial-gradient(ellipse 68% 82% at 10% 50%, rgb(5 13 7 / 72%) 0%, rgb(5 13 7 / 52%) 38%, rgb(5 13 7 / 18%) 62%, transparent 78%),
    linear-gradient(0deg, rgb(5 13 7 / 18%) 0%, transparent 17%);
}

.home-v2__hero .hero-video,
.home-v2__hero .hero-mobile-image,
.home-v2__hero .hero-mobile-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-v2__hero .hero-mobile-image,
.home-v2__hero .hero-mobile-video {
  display: none;
}

.home-v2__hero .hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 48px) 0 56px;
}

.home-v2__hero .hero-content__inner {
  position: relative;
  transform: translateY(-24px);
}

.home-v2__hero-copy {
  max-width: 850px;
}

.home-v2__hero-eyebrow {
  margin-bottom: 13px;
  color: #c0e7c5;
}

.home-v2__hero-title {
  max-width: 850px;
  min-height: 0;
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(44px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

.home-v2__hero-lead {
  max-width: 54ch;
  margin: 14px 0 0;
  color: rgb(255 255 255 / 86%);
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.52;
}

.home-v2__hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.home-v2__hero .home-v2__button {
  border-radius: 999px;
}

.home-v2__hero .home-v2__button--primary,
.home-v2__hero .home-v2__button--primary:visited {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.home-v2__hero .home-v2__button--primary:hover {
  border-color: var(--color-primary-strong);
  background: var(--color-primary-strong);
}

.home-v2__button--hero-secondary,
.home-v2__button--hero-secondary:visited {
  border-color: rgb(255 255 255 / 66%);
  background: rgb(6 13 8 / 45%);
  color: var(--color-white);
  backdrop-filter: blur(8px);
}

.home-v2__button--hero-secondary:hover {
  border-color: var(--color-white);
  background: rgb(8 17 10 / 50%);
  color: var(--color-white);
}

.home-v2__media-toggle {
  position: absolute;
  z-index: 3;
  right: max(16px, calc((100vw - 1200px) / 2));
  bottom: 38px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: var(--radius-pill);
  background: rgb(6 13 8 / 34%);
  color: var(--color-white);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(9px);
}



.home-v2__media-toggle:hover {
  border-color: var(--color-white);
  background: rgb(6 13 8 / 62%);
}

.home-v2__media-toggle:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgb(5 13 7 / 92%);
}

.home-v2__scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 38px;
  left: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  color: rgb(255 255 255 / 86%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-decoration: none;
  text-shadow: 0 1px 8px rgb(0 0 0 / 34%);
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 160ms ease;
}

.home-v2__scroll-cue:visited {
  color: rgb(255 255 255 / 86%);
}

.home-v2__scroll-cue i {
  font-size: 15px;
  animation: home-scroll-cue 1.8s ease-in-out infinite;
}

.home-v2__scroll-cue:hover,
.home-v2__scroll-cue:focus-visible {
  color: var(--color-white);
}

.home-v2__scroll-cue:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

@keyframes home-scroll-cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Section framing */

.home-v2__section {
  padding-block: clamp(72px, 7vw, 96px);
}

.home-v2__section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: end;
  gap: clamp(34px, 6vw, 88px);
}

.home-v2__section-summary {
  max-width: 540px;
  justify-self: end;
}

.home-v2__section-summary p {
  margin: 0;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.58;
}

/* Categories */

.home-v2__categories {
  scroll-margin-top: 60px;
  padding-top: 64px;
  background: var(--color-white);
}

.home-v2__categories .home-v2__section-head {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(30px, 4vw, 56px);
}

.home-v2__categories .home-v2__section-title {
  max-width: 9ch;
}

.home-v2__categories .home-v2__section-summary {
  max-width: 520px;
  justify-self: start;
}

.home-v2__categories .home-v2__text-link {
  min-height: 40px;
  margin-top: 12px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-black);
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.home-v2__categories .home-v2__text-link:visited {
  color: var(--color-black);
}

.home-v2__categories .home-v2__text-link:hover,
.home-v2__categories .home-v2__text-link:focus-visible {
  border-color: transparent;
  border-radius: 999px;
  background: #d7eedb;
  color: var(--color-primary);
  text-decoration: none;
}

.home-v2__category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 3vw, 36px);
}

.home-v2__category {
  --category-image-scale: 1;
  --category-image-hover-scale: 1.02;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: var(--color-white);
  color: var(--home-ink);
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(17 17 17 / 2%);
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-v2__category:visited {
  color: var(--home-ink);
}

.home-v2__category-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #fbfcfb;
}

.home-v2__category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(var(--category-image-scale));
  transition: opacity 180ms ease, transform 220ms ease;
}

.home-v2__category[data-home-category='vegetables'] {
  --category-image-scale: 0.94;
  --category-image-hover-scale: 0.965;
}

.home-v2__category[data-home-category='peppers'] {
  --category-image-scale: 1.02;
  --category-image-hover-scale: 1.045;
}

.home-v2__category[data-home-category='tropicals'] {
  --category-image-scale: 0.96;
  --category-image-hover-scale: 0.985;
}

.home-v2__category[data-home-category='fruits'],
.home-v2__category[data-home-category='herbs'] {
  --category-image-scale: 0.96;
  --category-image-hover-scale: 0.985;
}

.home-v2__category--contain .home-v2__category-media img {
  padding: clamp(10px, 2vw, 20px);
  object-fit: contain;
}

.home-v2__category-label {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 18px;
  border-top: 1px solid rgb(20 24 22 / 9%);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-align: center;
}

.home-v2__category:hover {
  border-color: rgb(57 172 74 / 42%);
  box-shadow: 0 14px 30px rgb(22 55 28 / 10%);
  color: var(--color-primary);
  transform: translateY(-3px);
}

.home-v2__category:hover .home-v2__category-media img {
  opacity: 0.97;
  transform: scale(var(--category-image-hover-scale));
}

.home-v2__category:focus-visible {
  border-color: rgb(57 172 74 / 55%);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(57 172 74 / 24%), 0 14px 30px rgb(22 55 28 / 10%);
  color: var(--color-primary);
  transform: translateY(-3px);
}

@media (min-width: 769px) {
  .home-v2__categories {
    min-height: 100dvh;
    padding: 44px 0 28px;
  }

  .home-v2__categories .home-v2__section-head {
    gap: 28px;
  }

  .home-v2__category-grid {
    gap: 10px;
    margin-top: 18px;
  }

  .home-v2__category-media {
    height: clamp(150px, 24dvh, 240px);
    aspect-ratio: auto;
  }

  .home-v2__category-label {
    min-height: 48px;
    padding: 9px 14px;
    font-size: 17px;
  }
}

/* Partnership and certification */

.home-v2__partnership {
  padding-top: clamp(48px, 5vw, 64px);
  border-block: 1px solid rgb(20 24 22 / 6%);
  background: var(--home-surface);
  --home-program-green: var(--color-primary);
}

.home-v2__partnership .home-v2__section-head {
  align-items: start;
}

.home-v2__partnership .home-v2__section-summary {
  padding-top: clamp(42px, 4vw, 52px);
}

.home-v2__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(32px, 3.5vw, 42px) 0 0;
  padding: 0;
  border-block: 1px solid rgb(20 24 22 / 13%);
  list-style: none;
}

.home-v2__benefit {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 24px clamp(22px, 2.5vw, 32px) 27px;
  color: var(--home-ink);
  text-align: center;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.home-v2__benefit + .home-v2__benefit {
  border-left: 1px solid rgb(20 24 22 / 8%);
}

.home-v2__benefit-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--home-program-green);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.home-v2__benefit-number > span {
  font-size: 30px;
}

.home-v2__benefit-number i {
  width: 22px;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  opacity: 0.82;
}

.home-v2__benefit h3 {
  min-height: 0;
  margin: 18px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.home-v2__benefit h3 a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--home-ink);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.home-v2__benefit h3 a:visited {
  color: var(--home-ink);
}

.home-v2__benefit h3 a:hover {
  color: var(--home-program-green);
  text-decoration: none;
}

.home-v2__benefit h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.home-v2__benefit p {
  max-width: 34ch;
  margin: 12px auto 0;
  color: #59645d;
  font-size: 16px;
  line-height: 1.58;
}

.home-v2__benefit:hover,
.home-v2__benefit:focus-within {
  background: rgb(57 172 74 / 5.5%);
  box-shadow: inset 0 0 0 1px rgb(57 172 74 / 8%);
}

.home-v2__benefit h3 a:focus-visible {
  outline: none;
}

.home-v2__benefit:focus-within {
  box-shadow: inset 0 0 0 2px rgb(57 172 74 / 34%);
}

.home-v2__trust {
  display: grid;
  grid-template-columns: minmax(125px, 150px) 1px minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3.5vw, 44px);
  margin-top: clamp(30px, 3.5vw, 40px);
  padding: 18px clamp(22px, 3vw, 32px);
  border-radius: 10px;
  background: #142018;
}

.home-v2__trust-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.home-v2__trust-rule {
  width: 1px;
  height: 40px;
  background: rgb(255 255 255 / 20%);
}

.home-v2__trust-copy p {
  margin: 0;
}

.home-v2__trust-copy .home-v2__trust-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.home-v2__trust-copy p:last-child {
  margin-top: 5px;
  color: rgb(255 255 255 / 76%);
  font-size: 14px;
  line-height: 1.4;
}

/* Closing call to action */

.home-v2__cta {
  padding-block: clamp(54px, 6.5vw, 82px) clamp(68px, 7.5vw, 98px);
  background: var(--color-white);
}

.home-v2__cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgb(57 172 74 / 18%);
  border-radius: 12px;
  background: #e7f5e9;
}

.home-v2__cta-copy {
  max-width: 710px;
}

.home-v2__cta h2 {
  max-width: 22ch;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.05;
}

.home-v2__cta-copy > p:last-child {
  max-width: 62ch;
  margin: 15px 0 0;
  color: #56635a;
  font-size: 16px;
  line-height: 1.57;
}

.home-v2__cta-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.home-v2__cta-actions .home-v2__button--primary,
.home-v2__cta-actions .home-v2__button--primary:visited {
  border-color: var(--color-primary);
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-white);
}

.home-v2__cta-actions .home-v2__button--primary:hover {
  border-color: var(--color-primary-strong);
  background: var(--color-primary-strong);
  color: var(--color-white);
}

.home-v2__text-link--cta {
  margin-top: 0;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--color-black);
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.home-v2__text-link--cta:visited {
  color: var(--color-black);
}

.home-v2__text-link--cta:hover,
.home-v2__text-link--cta:focus-visible {
  border-radius: 999px;
  background: #d7eedb;
  color: var(--color-primary);
  text-decoration: none;
}

/* Responsive layout */

@media (max-width: 900px) {
  .home-v2__section-head {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 36px;
  }

  .home-v2__benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-v2__benefit,
  .home-v2__benefit:first-child {
    padding: 28px 0;
  }

  .home-v2__benefit + .home-v2__benefit {
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .home-v2__benefit p {
    max-width: 62ch;
  }

  .home-v2__cta-panel {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .home-v2__cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .home-v2 > section > .container,
  .home-v2__hero .hero-content__inner {
    width: min(100% - 28px, 1200px);
  }

  .home-v2__hero {
    min-height: 100svh;
  }

  .home-v2__hero .hero-content {
    min-height: 100svh;
  }

  .home-v2__hero .hero-video {
    display: none;
  }

  .home-v2__hero .hero-mobile-image,
  .home-v2__hero .hero-mobile-video {
    display: block;
  }

  .home-v2__hero .hero-media::after {
    inset: 0;
    width: 100%;
    background:
      linear-gradient(0deg, rgb(5 13 7 / 68%) 0%, rgb(5 13 7 / 42%) 52%, rgb(5 13 7 / 8%) 82%),
      linear-gradient(180deg, rgb(5 13 7 / 24%) 0%, transparent 24%);
  }

  .home-v2__hero .hero-content {
    padding: 112px 0 82px;
  }

  .home-v2__hero .hero-content__inner {
    transform: translateY(-12px);
  }

  .home-v2__hero-title {
    max-width: 100%;
    font-size: clamp(36px, 9.5vw, 42px);
    line-height: 0.98;
  }

  .home-v2__hero-lead {
    max-width: 54ch;
    margin-top: 18px;
    font-size: 17px;
  }

  .home-v2__hero .hero-cta {
    margin-top: 18px;
  }

  .home-v2__media-toggle {
    right: 14px;
    bottom: 24px;
  }

  .home-v2__scroll-cue {
    bottom: 24px;
  }

  .home-v2__section {
    padding-block: 62px;
  }

  .home-v2__section-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

  .home-v2__categories .home-v2__section-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .home-v2__categories {
    padding-top: 72px;
  }

  .home-v2__section-summary {
    max-width: 620px;
    justify-self: start;
  }

  .home-v2__partnership .home-v2__section-summary {
    padding-top: 0;
  }

  .home-v2__section-title {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1;
  }

  .home-v2__category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 28px;
  }

  .home-v2__category-label {
    min-height: 58px;
    gap: 8px;
    padding: 11px 13px;
    font-size: clamp(16px, 4.5vw, 19px);
  }

  .home-v2__benefits,
  .home-v2__trust {
    margin-top: 36px;
  }

  .home-v2__cta {
    padding-block: 48px 64px;
  }
}

@media (max-width: 560px) {
  .home-v2__hero .hero-content {
    align-items: center;
    padding-bottom: 82px;
  }

  .home-v2__hero-eyebrow {
    margin-bottom: 13px;
  }

  .home-v2__hero-title {
    font-size: clamp(35px, 9.5vw, 42px);
  }

  .home-v2__hero-lead,
  .home-v2__section-summary p,
  .home-v2__benefit p,
  .home-v2__cta-copy > p:last-child {
    font-size: 16px;
  }

  .home-v2__hero-lead {
    line-height: 1.48;
  }

  .home-v2__hero .hero-cta,
  .home-v2__cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-v2__button {
    width: 100%;
  }

  .home-v2__media-toggle {
    width: 44px;
    padding: 0;
  }

  .home-v2__media-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .home-v2__scroll-cue span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .home-v2__category-label {
    align-items: center;
    justify-content: center;
  }

  .home-v2__trust {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    padding: 24px 22px;
  }

  .home-v2__trust-logo {
    width: 150px;
  }

  .home-v2__trust-rule {
    width: 42px;
    height: 1px;
  }

  .home-v2__cta-panel {
    gap: 26px;
    padding: 27px 22px;
  }

  .home-v2__cta h2 {
    font-size: clamp(27px, 7.5vw, 34px);
    line-height: 1.02;
  }

  .home-v2__cta-actions {
    gap: 8px;
  }

  .home-v2__text-link--cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .home-v2__hero .hero-content {
    padding: 92px 0 72px;
  }

  .home-v2__hero-eyebrow {
    margin-bottom: 11px;
    font-size: 11px;
  }

  .home-v2__hero-title {
    font-size: 34px;
  }

  .home-v2__hero-lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.45;
  }

  .home-v2__hero .hero-cta {
    gap: 8px;
    margin-top: 16px;
  }

  .home-v2__button {
    min-height: 48px;
  }

  .home-v2__media-toggle {
    right: 12px;
    bottom: 14px;
  }

  .home-v2__section {
    padding-block: 54px;
  }

  .home-v2__category-label {
    gap: 4px;
    padding: 10px;
    font-size: 15px;
  }

}

@media (max-height: 600px) and (orientation: landscape) {
  .home-v2__hero,
  .home-v2__hero .hero-content {
    min-height: 100svh;
  }

  .home-v2__hero .hero-content {
    padding: 92px 0 42px;
  }

  .home-v2__hero .hero-content__inner {
    transform: none;
  }

  .home-v2__hero-title {
    max-width: 17ch;
    font-size: clamp(36px, 6vw, 50px);
  }

  .home-v2__hero-lead {
    margin-top: 12px;
    font-size: 16px;
  }

  .home-v2__hero .hero-cta {
    margin-top: 16px;
  }
}

/* Optional site-wide dark mode */

.portal-dark-mode .home-v2 {
  --home-ink: #f2f5f2;
  --home-muted: rgb(242 245 242 / 69%);
  --home-line: rgb(255 255 255 / 14%);
  --home-surface: #151a16;
  --home-green: #8ad596;
  --home-green-dark: #287c35;
  background: #101311;
}

.portal-dark-mode .home-v2__categories,
.portal-dark-mode .home-v2__cta {
  background: #101311;
}

.portal-dark-mode .home-v2__partnership {
  border-color: rgb(255 255 255 / 8%);
}

.portal-dark-mode .home-v2__benefits {
  border-block-color: var(--home-line);
}

.portal-dark-mode .home-v2__benefit + .home-v2__benefit {
  border-left-color: rgb(255 255 255 / 8%);
}

.portal-dark-mode .home-v2__benefit p {
  color: var(--home-muted);
}

.portal-dark-mode .home-v2__category {
  background: #151a16;
}

.portal-dark-mode .home-v2__category-media {
  background: var(--color-white);
}

.portal-dark-mode .home-v2__trust {
  background: #0d140f;
}

.portal-dark-mode .home-v2__cta-panel {
  border-color: rgb(138 213 150 / 18%);
  background: #19251b;
}

.portal-dark-mode .home-v2__cta-copy > p:last-child {
  color: var(--home-muted);
}

/* Motion preferences */

@media (prefers-reduced-motion: reduce) {
  .home-v2__hero .hero-video,
  .home-v2__hero .hero-mobile-video,
  .home-v2__media-toggle {
    display: none;
  }

  .home-v2__hero .hero-mobile-image {
    display: block;
  }
}
