*,
*::before,
*::after {
  box-sizing: border-box;
}

.hero-frame {
  aspect-ratio: 863 / 289;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.hero-copy {
  max-width: min(42rem, calc(100vw - 40px));
}

.section-label {
  color: #115e59;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
  width: 100%;
}

.challenge-card,
.solution-card {
  border: 1px solid #dce4e1;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  min-height: 100%;
  min-width: 0;
  padding: 1.5rem;
  width: 100%;
}

.challenge-card p,
.solution-card p {
  overflow-wrap: break-word;
}

.challenge-card {
  border-left: 3px solid #d9931d;
}

.card-heading {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  min-width: 0;
}

.challenge-icon,
.solution-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.challenge-icon {
  background: rgba(217, 147, 29, 0.08);
  border: 1px solid rgba(217, 147, 29, 0.2);
  border-radius: 8px;
  color: #d9931d;
  height: 2.25rem;
  width: 2.25rem;
}

.challenge-icon svg {
  height: 1.1rem;
  width: 1.1rem;
}

.solution-card {
  border-left: 4px solid #0f766e;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.035), rgba(255, 255, 255, 0) 42%),
    #fff;
  box-shadow: 0 16px 38px rgba(23, 32, 31, 0.06);
  position: relative;
}

.solution-icon {
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  color: #115e59;
  height: 2.25rem;
  width: 2.25rem;
}

.solution-icon svg {
  height: 1.1rem;
  width: 1.1rem;
}

@media (max-width: 767px) {
  .feature-grid {
    max-width: calc(100vw - 80px);
    width: calc(100vw - 80px);
  }

  .challenge-card,
  .solution-card {
    max-width: calc(100vw - 80px);
    padding: 1.25rem;
    width: calc(100vw - 80px);
  }

  .challenge-card > p,
  .solution-card > p {
    max-width: calc(100vw - 120px);
  }
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aligned-tile-grid > article > h3 {
    min-height: 3.25rem;
  }
}

@media (max-width: 640px) {
  .hero-frame {
    aspect-ratio: 863 / 289;
  }
}

/* ---------------------------------------------------------------------------
   Use cases / applications
   Shared by the landing "Use Cases" section and the pages/ subpages.
   Palette: teal #0f766e / tealDark #115e59 / graphite #17201f /
            muted #64716d / line #dce4e1 / mist #f4f8f7 / amber #d9931d
--------------------------------------------------------------------------- */

.uc-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

@media (min-width: 640px) {
  .uc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .uc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.uc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dce4e1;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.uc-card:hover,
.uc-card:focus-visible {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 22px 48px rgba(23, 32, 31, 0.1);
  transform: translateY(-2px);
  outline: none;
}

.uc-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f4f8f7;
}

.uc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.uc-card:hover .uc-card__media img {
  transform: scale(1.04);
}

.uc-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.4rem;
}

.uc-card__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #115e59;
}

.uc-card__title {
  margin-top: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: #17201f;
}

.uc-card__text {
  margin-top: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64716d;
}

.uc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #115e59;
}

.uc-card__more svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.2s ease;
}

.uc-card:hover .uc-card__more svg {
  transform: translateX(3px);
}

/* Lead figure with side captions (landing intro figure) */
.uc-lead {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .uc-lead {
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
  }
}

.uc-captions {
  display: grid;
  gap: 1.1rem;
}

.uc-caption {
  border-left: 3px solid #0f766e;
  padding-left: 1rem;
}

.uc-caption strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #17201f;
}

.uc-caption span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #64716d;
}

/* Subpage figures + citations */
.uc-figure {
  margin: 0;
}

.uc-figure__frame {
  overflow: hidden;
  border: 1px solid #dce4e1;
  border-radius: 12px;
  background: #fff;
}

.uc-figure__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.uc-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.uc-figcaption {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #64716d;
}

.uc-source {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #8a938f;
}

.uc-source a {
  color: #115e59;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.uc-source-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.uc-source-list li + li {
  margin-top: 0.4rem;
}

/* Lightbox */
.uc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(23, 32, 31, 0.88);
}

.uc-lightbox[hidden] {
  display: none;
}

.uc-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.uc-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.uc-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* Subpage hero + breadcrumb */
.breadcrumb {
  font-size: 0.8rem;
  color: #64716d;
}

.breadcrumb a {
  color: #115e59;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb__sep {
  margin: 0 0.5rem;
  color: #b7c0bc;
}

.uc-row {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .uc-row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .uc-row--reverse .uc-row__media {
    order: -1;
  }
}
