/*
 * Water's own sections (components/water-*.njk) and a few touches to Canvas,
 * in plain CSS so nothing needs a Tailwind build. Colours come from the theme's
 * settings (--cl-*), which are Water's: graphite surfaces, the cyan accent.
 */

.water-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--cl-accent));
  margin-bottom: 0.75rem;
}

/* The hero: the art fades into the page at its foot and sides, and the title sits on the fade. */
.water-hero {
  position: relative;
  isolation: isolate;
  padding-bottom: calc(var(--section-py) * 0.75);
}
.water-hero-art {
  display: block;
  max-width: 1680px;
  margin: 0 auto;
  aspect-ratio: 21 / 9;
  max-height: 640px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 58%, transparent), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.water-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.water-hero-text {
  position: relative;
  margin-top: clamp(-150px, -9vw, -48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.water-hero-title {
  max-width: 14ch;
}
.water-hero-subtitle {
  max-width: 38rem;
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
}
.water-hero-actions {
  margin-top: 1.75rem;
}
.water-hero-trust {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem 1.25rem;
  font-size: 0.8125rem;
}
.water-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.water-hero-trust svg {
  width: 0.875rem;
  height: 0.875rem;
  color: rgb(var(--cl-accent));
}
@media (max-width: 767px) {
  .water-hero-art {
    aspect-ratio: 1200 / 843;
  }
}

/* The license: one card, its picture beside what it includes. */
.water-license-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  border-radius: calc(var(--radius-card) + 4px);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}
.water-license-art {
  display: block;
  background: #0a1426;
}
.water-license-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}
.water-license-body {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.water-license-price {
  margin-top: 0.75rem;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.water-license-price .text-t-muted {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 0.25rem;
}
.water-license-items {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.625rem;
}
.water-license-items li {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  line-height: 1.5;
}
.water-license-items svg {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15rem;
  color: rgb(var(--cl-accent));
}
.water-license-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
@media (max-width: 767px) {
  .water-license-card {
    grid-template-columns: 1fr;
  }
}

/* The product's description and tabs: SellAuth's HTML, which Canvas leaves as plain lines. */
.editor > * + * {
  margin-top: 0.875rem;
}
.editor h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.75rem;
}
.editor p,
.editor li {
  line-height: 1.65;
}
.editor ul,
.editor ol {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.25rem;
}
.editor ul {
  list-style: disc;
}
.editor ol {
  list-style: decimal;
}
.editor li::marker {
  color: rgb(var(--cl-accent));
}
.editor a {
  color: rgb(var(--cl-accent));
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* How it works: three illustrated cards. */
.water-steps-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.water-step {
  border-radius: calc(var(--radius-card) + 4px);
  overflow: hidden;
}
.water-step-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 896;
  object-fit: cover;
}
.water-step-body {
  padding: 1.25rem 1.375rem 1.5rem;
}
.water-step-body h3 {
  font-size: 1.125rem;
  margin-top: 0.75rem;
}
.water-step-body p {
  margin-top: 0.375rem;
  line-height: 1.6;
}
.water-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(var(--cl-accent));
  background: rgba(var(--cl-accent), 0.12);
}
@media (max-width: 899px) {
  .water-steps-items {
    grid-template-columns: 1fr;
    max-width: 30rem;
    margin: 0 auto;
  }
}