/* IRIS Customer Portal marketing page.
   Editorial feature copy with full-width original product screenshots. */

.portal-hero {
  min-height: calc(100vh - 131px);
  min-height: calc(100svh - 131px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  background-image: linear-gradient(90deg, #000000f5 0%, #000000eb 38%, #00000073 66%, #00000014 100%), url('/iris-assets/media/iris-florist-customer-portal-hero_c3d18f32-bedf67fd4249.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  background-color: #000;
  color: #fff;
  border-bottom: 1px solid var(--line);
}

.portal-hero .breadcrumbs {
  color: #eee5f6;
}

.portal-hero .breadcrumbs a:hover { color: #fff; }

.portal-hero .eyebrow {
  margin-bottom: 22px;
  color: #e5d7f5;
}

.portal-hero .eyebrow::before { background: #e5d7f5; }

.portal-hero h1 {
  max-width: 850px;
}

.portal-title-accent {
  color: #e1c8f4;
}

.portal-lead {
  max-width: 690px;
  margin-top: 23px;
  font-size: 16px;
  line-height: 1.8;
}

.portal-lead {
  color: #f3edf7;
  font-weight: 400;
}

.portal-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 880px;
  margin-top: 30px;
}

.portal-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid #ffffff66;
  border-radius: 6px;
  background: #00000080;
  color: #f3edf7;
  font-size: 11px;
  line-height: 1.35;
  transition: border-color .2s, background .2s, color .2s;
}

.portal-jump-nav a:hover {
  border-color: #e1c8f4;
  background: var(--lilac);
  color: var(--purple-dark);
}

.portal-intro {
  padding-top: 86px;
  padding-bottom: 86px;
  background: #fff;
}

.portal-intro-copy {
  max-width: 850px;
}

.portal-intro-copy p {
  max-width: 780px;
  font-size: 15px;
  line-height: 1.95;
}

.portal-intro-copy p + p {
  max-width: 700px;
  margin-top: 21px;
  color: var(--purple-dark);
  font-size: 14px;
  line-height: 1.8;
}

.portal-feature {
  padding: 84px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 30px;
}

.portal-feature-tinted {
  background: #faf8fc;
}

.portal-feature-inner {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.portal-section-marker {
  padding-top: 8px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1;
}

.portal-feature-copy {
  max-width: 850px;
}

.portal-feature-copy h2 {
  max-width: 700px;
  margin-bottom: 20px;
}

.portal-feature-copy p {
  max-width: 780px;
  font-size: 15px;
  line-height: 1.95;
}

.portal-feature-media {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
  border: 1px solid #e2dbe8;
  border-radius: 18px;
  background: var(--lilac);
  min-width: 0;
}

.portal-feature-media a {
  display: block;
  cursor: zoom-in;
}

.portal-feature-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Keep the shared CTA component visually unchanged; this only protects the final
   section's rhythm when it follows the portal feature sequence. */
.portal-feature + .cta-section {
  padding-top: 6px;
}

@media (max-width: 800px) {
  .portal-hero {
    min-height: calc(100vh - 113px);
    min-height: calc(100svh - 113px);
    padding: 56px 0;
    background-image: linear-gradient(90deg, #000000f0, #000000b3), url('/iris-assets/media/iris-florist-customer-portal-hero_c3d18f32-bedf67fd4249.png');
  }

  .portal-lead {
    max-width: 600px;
    font-size: 15px;
  }

  .portal-jump-nav {
    margin-top: 25px;
  }

  .portal-intro {
    padding-top: 61px;
    padding-bottom: 61px;
  }

  .portal-feature {
    padding: 62px 0;
  }

  .portal-feature-inner {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 27px;
  }

  .portal-feature-copy h2 {
    font-size: 32px;
  }
}

@media (max-width: 560px) {
  .portal-hero h1 {
    font-size: 37px;
  }

  .portal-lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .portal-jump-nav {
    gap: 7px;
    margin-top: 23px;
  }

  .portal-jump-nav a {
    min-height: 31px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .portal-intro {
    padding-top: 49px;
    padding-bottom: 49px;
  }

  .portal-intro-copy p {
    font-size: 14px;
    line-height: 1.9;
  }

  .portal-intro-copy p + p {
    margin-top: 18px;
    font-size: 13px;
  }

  .portal-feature {
    padding: 50px 0;
  }

  .portal-feature-inner {
    display: block;
  }

  .portal-feature-media {
    margin-top: 28px;
    padding: 7px;
    border-radius: 12px;
  }

  .portal-section-marker {
    padding-top: 0;
    margin-bottom: 20px;
    font-size: 10px;
  }

  .portal-feature-copy h2 {
    margin-bottom: 16px;
    font-size: 29px;
  }

  .portal-feature-copy p {
    font-size: 14px;
    line-height: 1.9;
  }
}
