/* ==========================================================================
   KOMA BUSINESS · Ecosystem page
   Loaded after main.css. Everything here is scoped to .eco-* classes so the
   approved homepage cannot be affected. Values reconstructed from the live
   insidekoma.com/pages/ecosystem (GemPages) build.
   ========================================================================== */

:root {
  --eco-green-cta: #009b4e;
  --eco-green-cta-dim: #007c3e;
  --eco-cta-ink: #050a07;
  --eco-red: #911414;
  --eco-red-dot: #a11a1a;
  --eco-rule: rgba(230, 230, 230, 0.85);
  --eco-quote-line: rgba(255, 255, 255, 0.08);
}

/* Desktop/mobile composition switches (block-level; main.css's .only-d/.only-m
   are inline helpers for copy). */
.eco-m,
.eco-tier .eco-m {
  display: none;
}

/* Current page in the shared header */
.site-header__nav a[aria-current="page"] {
  color: var(--text-bright);
}

/* Hero: benefit-led, one composition for every width
   ========================================================================== */

/* The header is fixed over the hero, so the hero alone fills the first view.
   min-height (never a fixed height): content can always make it taller. */
.eco-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 31px clamp(110px, 16vh, 180px);
  /* A soft green light from below the button, fading out in every direction.
     Eased stops avoid visible steps; the glow reaches zero before the hero's
     edges, so the hero ends in exactly the page black. */
  background:
    radial-gradient(ellipse 72% 34% at 50% 66%,
      rgba(0, 63, 54, 0.82) 0%,
      rgba(0, 63, 54, 0.7) 14%,
      rgba(0, 63, 54, 0.53) 28%,
      rgba(0, 63, 54, 0.35) 42%,
      rgba(0, 63, 54, 0.2) 56%,
      rgba(0, 63, 54, 0.09) 70%,
      rgba(0, 63, 54, 0.03) 84%,
      rgba(0, 63, 54, 0) 100%),
    var(--bg);
  text-align: center;
}

.eco-hero__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.eco-hero__eyebrow {
  margin-bottom: 20px;
  font-size: 16px;
}

.eco-hero__title {
  margin: 0 auto 26px;
  max-width: 1000px;
  color: var(--text);
  font-size: 68px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.eco-hero__lead {
  max-width: 760px;
  margin: 0 auto 40px;
  color: var(--text);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.5;
  text-wrap: balance;
}

.eco-hero__start {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.eco-hero__cta {
  padding: 12px 56px;
}

/* What's inside, under Start now. Phrases never split: lines break only
   between them (see the mobile rules), so no separator is left orphaned. */
.eco-hero__facts {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

/* 12px lower than the flex gap alone. The negative bottom margin keeps the
   block's height, so the centred Start now button does not move. */
.eco-hero__facts {
  margin-top: 12px;
  margin-bottom: -12px;
  transition: margin 260ms var(--ease-out);
}

.eco-hero__fact {
  white-space: nowrap;
}

/* Short screens with the floating cookie banner (601-740px tall, e.g.
   375x667, 1280x720): the extra 12px would put the line under the banner, so
   it applies once a choice is made, gliding down as the banner fades. */
@media (min-height: 601px) and (max-height: 740px) {
  body:has(> .koma-consent-banner:not([hidden])) .eco-hero__facts {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* Benefits: one at a time. Each takes most of a viewport, content centred;
   normal scrolling only (no snapping or pinning).
   ========================================================================== */

.eco-benefits {
  padding: 0 31px;
  background: var(--bg);
}

.eco-benefits__list {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.eco-benefit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90vh;
  min-height: 90svh;
  padding: 10vh 0;
}

.eco-benefit__name {
  max-width: 17ch;
  margin: 0 auto;
  color: var(--text-bright);
  font-size: clamp(44px, 4.8vw, 66px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.eco-benefit__proof {
  max-width: 520px;
  margin: 26px auto 0;
  color: var(--text-muted);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.55;
  text-wrap: balance;
}

/* Dashboard showcase: the real dashboard on the page background, with no
   frame. Phones: heading above the phone screenshot. Tablets: heading above,
   dashboard running off the right edge. Desktops: heading on the left,
   dashboard as a large layer on the right running off the edge. The section
   clips the overhang, so it never scrolls sideways.
   ========================================================================== */

.eco-showcase {
  overflow: hidden; /* fallback for browsers without overflow: clip */
  overflow: clip;
  padding: clamp(120px, 18vh, 200px) 31px clamp(100px, 14vh, 160px);
  background: var(--bg);
}

.eco-showcase__title {
  max-width: 900px;
  margin: 0 auto clamp(64px, 11vh, 120px);
  color: var(--text);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}

.eco-showcase__visual {
  max-width: 1080px;
  margin: 0 auto;
}

/* The desktop screenshot dissolves from the page black on its left into the
   dashboard (fully opaque before the navigation starts at 21.6%), fades
   gently at the bottom below the Continue course button, and softly at the
   top over a strip of extended edge. Its right edge sits past the viewport.
   The fades use many stops on an ease curve, so no step or band shows. */
.eco-showcase__visual img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.03) 2%, rgba(0, 0, 0, 0.11) 4.5%, rgba(0, 0, 0, 0.26) 7.5%, rgba(0, 0, 0, 0.47) 10.5%, rgba(0, 0, 0, 0.69) 13.5%, rgba(0, 0, 0, 0.86) 16.5%, rgba(0, 0, 0, 0.96) 19%, #000 21%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 1.4%, #000 3.2%, #000 79%, rgba(0, 0, 0, 0.92) 83%, rgba(0, 0, 0, 0.72) 87.5%, rgba(0, 0, 0, 0.45) 92%, rgba(0, 0, 0, 0.18) 96%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.03) 2%, rgba(0, 0, 0, 0.11) 4.5%, rgba(0, 0, 0, 0.26) 7.5%, rgba(0, 0, 0, 0.47) 10.5%, rgba(0, 0, 0, 0.69) 13.5%, rgba(0, 0, 0, 0.86) 16.5%, rgba(0, 0, 0, 0.96) 19%, #000 21%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 1.4%, #000 3.2%, #000 79%, rgba(0, 0, 0, 0.92) 83%, rgba(0, 0, 0, 0.72) 87.5%, rgba(0, 0, 0, 0.45) 92%, rgba(0, 0, 0, 0.18) 96%, rgba(0, 0, 0, 0) 100%);
  mask-composite: intersect;
}

/* Tablets: heading above, left-aligned; the dashboard runs off the right. */
@media (min-width: 768px) and (max-width: 1023px) {
  .eco-showcase {
    padding-right: 0;
    padding-left: 0;
  }

  .eco-showcase__title {
    max-width: 560px;
    margin: 0 31px clamp(48px, 8vh, 80px);
    text-align: left;
  }

  .eco-showcase__visual {
    width: 96vw;
    max-width: none;
    margin: 0 -2.9vw 0 auto; /* 3% of the image past the edge: empty margin only */
  }
}

/* Desktops: heading left, aligned with the header's content edge; the
   dashboard as a large layer on the right, 3% of it past the right edge
   (only the empty margin beyond the account menu). Both share one grid
   cell, so the heading may sit over the screenshot's transparent left fade
   instead of being squeezed into a narrow column. The image is also capped
   by the viewport height, so it fits on screen below the site header. */
@media (min-width: 1024px) {
  .eco-showcase {
    --eco-visual-w: min(66vw, 1180px, calc((100vh - 150px) * 2262 / 1770));
    display: grid;
    grid-template-areas: "stack";
    align-items: center;
    padding-right: 0;
    padding-left: max(24px, calc((100vw - var(--content-max)) / 2 + 24px));
  }

  .eco-showcase__title,
  .eco-showcase__visual {
    grid-area: stack;
  }

  .eco-showcase__title {
    position: relative;
    z-index: 1;
    justify-self: start;
    max-width: 12ch;
    margin: 0;
    font-size: clamp(44px, 4.2vw, 64px);
    line-height: 1.12;
    text-align: left;
  }

  .eco-showcase__visual {
    justify-self: end;
    width: var(--eco-visual-w);
    max-width: none;
    margin: 0 calc(var(--eco-visual-w) * -0.03) 0 0;
  }
}

/* Entry motion (ecosystem.js adds html.eco-motion): the site's reveal
   distance, duration and easing; proof lines follow their headline.
   Transitions sit on the revealed state only, so hiding is instant. */
.eco-motion [data-eco-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
}

.eco-motion .eco-showcase__visual[data-eco-reveal] {
  transform: translate3d(0, 32px, 0);
}

.eco-motion [data-eco-reveal].is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--eco-stagger, 0ms);
}

.eco-motion .eco-showcase__visual[data-eco-reveal].is-in {
  transition-duration: 1700ms;
  transition-delay: calc(var(--eco-stagger, 0ms) + 120ms);
}

.eco-motion .eco-benefit__proof {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}

.eco-motion .eco-benefit__inner.is-in .eco-benefit__proof {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: calc(var(--eco-stagger, 0ms) + 200ms);
}

@media (prefers-reduced-motion: reduce) {
  .eco-motion [data-eco-reveal],
  .eco-motion .eco-benefit__proof {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Levels intro
   ========================================================================== */

.eco-levels {
  padding: 150px 31px 88px; /* Member notes follow */
  background: var(--bg);
}

.eco-intro {
  max-width: var(--content-max);
  margin: 0 auto 66px;
  text-align: center;
}

.eco-intro__title {
  color: var(--text);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
}

.eco-intro__line {
  color: var(--text-bright);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.eco-intro__line--strong {
  color: var(--text);
  font-weight: 700;
}

/* Hero CTA → #levels continuation (set by ecosystem.js on click): the
   levels group rises a shorter distance, slightly slower, as one unit. */
.eco-hero__cta.is-pressed {
  transform: translateY(1px);
  filter: brightness(0.94);
}

.eco-levels.is-continuing {
  --reveal-distance: 12px;
  --reveal-duration: 1600ms;
}

.js .eco-levels.is-continuing .eco-intro.reveal {
  transition-delay: 120ms;
}

.js .eco-levels.is-continuing .eco-tiers.reveal {
  transition-delay: 260ms;
}

.eco-levels:focus {
  outline: none;
}

/* Pricing tiers (also used for the Inner Circle card)
   ========================================================================== */

.eco-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  gap: 16px 75px;
  max-width: 900px;
  margin: 0 auto 51px;
}

.eco-tier {
  display: flex;
  flex-direction: column;
  padding: 30px 24px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-card);
  text-align: left;
}

.eco-tiers .eco-tier {
  min-height: 0;
}

.eco-tier--operator {
  background: linear-gradient(140deg, #141414 9%, #000 56%, #141414 97%);
  box-shadow: 0 0 40px 0 rgba(10, 168, 89, 0.1);
}

.eco-tier__top {
  margin-bottom: 26px;
}

.eco-tier__label {
  margin-bottom: 24px;
  color: var(--green-eyebrow);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  text-transform: uppercase;
}

/* Operator's quiet "Recommended for full access" line: an eyebrow in the
   card's top padding, out of flow, so the names, prices and lists of the two
   plan cards stay level. Both plan cards get the same extra top padding. */
.eco-tiers .eco-tier {
  padding-top: 50px;
}

.eco-tier__top {
  position: relative;
}

.eco-tier__label--rec {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.eco-tier__name {
  color: var(--text);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
}

.eco-tier--operator .eco-tier__name {
  color: var(--green-eyebrow);
}

.eco-tier--inner .eco-tier__name {
  color: var(--eco-red);
}

.eco-tier__tagline {
  color: var(--text);
  font-size: 16px;
  font-weight: 200;
  line-height: 1.8;
}

.eco-tier__price {
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  line-height: 40px;
}

.eco-tier--operator .eco-tier__price {
  font-size: 23px;
}

.eco-tier__desc {
  margin-top: 2px;
  color: var(--text-bright);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.eco-tier--operator .eco-tier__desc,
.eco-tier--inner .eco-tier__desc {
  color: var(--text);
}

.eco-tier__rule {
  height: 1px;
  margin: 26px 0 22px;
  border: 0;
  background: var(--eco-rule);
}

.eco-tier__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.eco-tier__list li {
  position: relative;
  padding: 2.5px 0 2.5px 22px;
  color: var(--text);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.eco-tier__list li::before {
  content: "";
  position: absolute;
  top: calc(2.5px + 0.9em);
  left: 4px;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--green);
}

.eco-tier--inner .eco-tier__list li::before {
  background: var(--eco-red-dot);
}

.eco-tier__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: auto 2px 0;
  padding: 14px 24px;
  background: var(--eco-green-cta);
  color: var(--eco-cta-ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
  box-shadow:
    0 0 28px rgba(0, 155, 78, 0.24),
    0 10px 30px rgba(0, 0, 0, 0.28);
  transition:
    transform var(--hover-duration) var(--ease-out),
    filter var(--hover-duration) var(--ease-out);
}

.eco-tier--foundation .eco-tier__cta {
  background: var(--eco-green-cta-dim);
  box-shadow: none;
}

/* Payment reassurance under each plan CTA */
.eco-tier__assure {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 10px 0 0;
  text-align: center;
}

.eco-tier__assure-terms {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 18px;
  opacity: 0.82;
}

.eco-tier__assure-secure {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 300;
  line-height: 15px;
}

/* Inner Circle: narrower, dark red atmosphere */
.eco-tier--inner {
  width: 100%;
  max-width: 400px;
  min-height: 640px;
  margin: 0 auto;
  padding-bottom: 0;
  background: linear-gradient(130deg, #160606 1%, #000 51%, #0d0303 88%, #110404 100%);
}

.eco-tier--inner .eco-tier__list {
  margin-bottom: 48px;
}

/* Free Access: one quiet link under the paid plans */
.eco-access {
  text-align: center;
}

/* Member reviews (after the plans)
   Outside #levels, so the floating CTA's hide zone (the plans
   through the Access link) is unchanged. Centred on the Access link's axis.
   With JS, the reviews share one grid cell: the longest at each width sets
   the height and each is top-aligned, so the controls below never move.
   Without JS, all three are listed and the controls stay hidden.
   ========================================================================== */

.eco-voices {
  padding: 0 31px 150px;
  background: var(--bg);
  text-align: center;
}

.eco-voices__inner {
  max-width: 875px;
  margin: 0 auto;
}

.eco-voices__title {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.eco-voices__track {
  display: grid;
  row-gap: 28px;
}

.js .eco-voices__track {
  row-gap: 0;
}

.eco-voice {
  margin: 0;
}

.js .eco-voice {
  grid-area: 1 / 1;
  align-self: start;
}

.js .eco-voice[hidden] {
  display: block;
  visibility: hidden;
}

.eco-voice__by {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.4px;
}

.eco-voice blockquote,
.eco-voice blockquote p {
  margin: 0;
}

.eco-voice blockquote p {
  max-width: 36em;
  margin: 0 auto;
  color: var(--text);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.2px;
  text-wrap: pretty;
}

.eco-voices__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.eco-voices__nav[hidden] {
  display: none;
}

.eco-voices__count {
  min-width: 3.2em;
  color: var(--text-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.6px;
  text-align: center;
}

.eco-voices__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.eco-voices__btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.eco-voices__btn:focus-visible {
  outline: 2px solid var(--green-eyebrow);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .eco-voices__btn:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
  }
}

@media (max-width: 767px) {
  .eco-voices {
    padding: 0 20px 112px;
  }

  .eco-voices__inner {
    max-width: 350px;
  }

  .eco-voices__title {
    font-size: 22px;
  }

  .eco-voice__by {
    font-size: 14px;
  }

  .eco-voice blockquote p {
    font-size: 18px;
    line-height: 1.6;
  }

  .eco-voices__nav {
    margin-top: 24px;
  }
}

/* Members + testimonials
   ========================================================================== */

.eco-proof {
  padding: 104px 0 72px;
  background: var(--bg);
  overflow: hidden;
}

.eco-proof__head {
  max-width: 920px;
  margin: 0 auto 42px;
  padding: 0 24px;
  text-align: center;
}

.eco-proof__title {
  color: #f5f5f5;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: wrap;
}

.eco-members {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

.eco-member {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  margin-left: -10px;
  overflow: hidden;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: #171717;
}

.eco-member:first-child {
  margin-left: 0;
}

.eco-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eco-member--count {
  background: #f1f1f1;
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

/* Marquee: the track holds two identical sets and slides by exactly one set
   (half the track plus half a gap), so the loop is seamless. */
.eco-marquee {
  --eco-marquee-gap: 16px;
  --eco-marquee-duration: 32s;
  --eco-marquee-fade: 120px;
  position: relative;
  overflow: hidden;
  padding: 14px 0;
}

.eco-marquee::before,
.eco-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: var(--eco-marquee-fade);
  pointer-events: none;
}

.eco-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 10, 10, 0) 100%);
}

.eco-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(10, 10, 10, 0) 100%);
}

.eco-marquee__track {
  display: flex;
  width: max-content;
  gap: var(--eco-marquee-gap);
  animation: eco-marquee var(--eco-marquee-duration) linear infinite;
  animation-delay: calc(var(--eco-marquee-duration) * -0.14);
  will-change: transform;
}

@keyframes eco-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - var(--eco-marquee-gap) / 2), 0, 0);
  }
}

.eco-quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 360px;
  min-height: 220px;
  flex: none;
  padding: 26px;
  border: 1px solid var(--eco-quote-line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.eco-quote__text {
  margin-bottom: 30px;
  color: #e5e5e5;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}

.eco-quote__who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eco-quote__who img {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.eco-quote__name {
  display: block;
  margin-bottom: 2px;
  color: #f4f4f4;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.eco-quote__role {
  display: block;
  color: #888;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
}

/* Inner Circle
   ========================================================================== */

.eco-inner {
  padding: 48px 31px 0;
  background: var(--bg);
}

.eco-inner__heading {
  margin-bottom: 39px;
  color: var(--text);
  font-size: 35px;
  line-height: 1.3;
  text-align: center;
}

/* Before you join (FAQ): native <details>, answers closed by default
   ========================================================================== */

.eco-faq {
  padding: clamp(140px, 22vh, 220px) 31px clamp(160px, 26vh, 260px);
  background: var(--bg);
}

.eco-faq__title {
  margin-bottom: 36px;
  color: var(--text);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.eco-faq__list {
  max-width: 720px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eco-faq__item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.eco-faq__q {
  position: relative;
  display: block;
  padding: 22px 44px 22px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.eco-faq__q::-webkit-details-marker {
  display: none;
}

/* Plus that turns into a minus when open */
.eco-faq__q::before,
.eco-faq__q::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 14px;
  height: 1.5px;
  background: var(--text-muted);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.eco-faq__q::after {
  transform: rotate(90deg);
}

.eco-faq__item[open] > .eco-faq__q::after {
  transform: rotate(0deg);
}

/* While an answer animates closed it is still [open]; the icon turns back
   to a plus at the start of the close, in step with the answer. */
.eco-faq__item.is-closing > .eco-faq__q::after {
  transform: rotate(90deg);
}

.eco-faq__q:focus-visible {
  outline-offset: 4px;
}

.eco-faq__a {
  box-sizing: border-box;
  padding: 0 44px 24px 0;
}

.eco-faq__a p {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.eco-faq__a p + p {
  margin-top: 10px;
}

/* Final CTA
   ========================================================================== */

.eco-final {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 31px;
  background: var(--bg);
  text-align: center;
}

.eco-final__title {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 61px;
  font-weight: 600;
  line-height: 1;
}

.eco-final__text {
  margin-bottom: 79px;
  color: var(--text-muted);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
}

.eco-final__text strong {
  color: var(--text);
  font-weight: 500;
}

/* Hover (desktop pointers only)
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .eco-tier {
    transition: border-color var(--hover-duration) var(--ease-out);
  }

  .eco-tier:hover {
    border-color: var(--line-card-hover);
  }

  .eco-tier--inner:hover {
    border-color: rgba(90, 20, 20, 0.75);
  }

  .eco-faq__q:hover {
    color: var(--text-bright);
  }

  .eco-tier__cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
  }

  .eco-marquee:hover .eco-marquee__track {
    animation-play-state: paused;
  }
}

/* Tablet / small laptop
   ========================================================================== */

@media (max-width: 1100px) {
  .eco-hero__title {
    font-size: clamp(52px, 6vw, 68px);
  }

  .eco-hero__lead {
    font-size: 21px;
  }

  .eco-intro__title {
    font-size: clamp(40px, 4.4vw, 48px);
  }

  .eco-proof__title {
    font-size: clamp(52px, 5.8vw, 64px);
  }

  .eco-tiers {
    gap: 16px 32px;
  }
}

@media (max-width: 900px) {
  .eco-br-wide {
    display: none;
  }

  .eco-hero__lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
  }

  .eco-tiers {
    gap: 16px 20px;
  }

  .eco-tier__list li {
    font-size: 15px;
  }

}

/* Two plan cards side by side on narrow tablets: Operator's description
   wraps to two lines here (up to ~830px), so Foundation's keeps the same
   room and the rules, lists and buttons stay level. */
@media (min-width: 768px) and (max-width: 859px) {
  .eco-tiers .eco-tier__desc {
    min-height: 3em;
  }
}

/* Mobile
   ========================================================================== */

@media (max-width: 767px) {
  .eco-d,
  .eco-tier .eco-d {
    display: none;
  }

  .eco-m {
    display: block;
  }

  .eco-tier .eco-m {
    display: flex;
  }

  /* Hero: content a little above the middle of the screen */
  .eco-hero {
    padding: 124px 20px 22vh;
    padding-bottom: 22svh;
  }

  .eco-hero {
    background:
      radial-gradient(ellipse 110% 30% at 50% 68%,
        rgba(0, 63, 54, 0.82) 0%,
        rgba(0, 63, 54, 0.7) 14%,
        rgba(0, 63, 54, 0.53) 28%,
        rgba(0, 63, 54, 0.35) 42%,
        rgba(0, 63, 54, 0.2) 56%,
        rgba(0, 63, 54, 0.09) 70%,
        rgba(0, 63, 54, 0.03) 84%,
        rgba(0, 63, 54, 0) 100%),
      var(--bg);
  }

  .eco-hero__eyebrow {
    margin-bottom: 12px;
  }

  .eco-hero__title {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 1.12;
  }

  .eco-hero__lead {
    max-width: 340px;
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.55;
  }

  .eco-hero__start {
    gap: 12px;
  }

  .eco-hero__facts {
    max-width: 330px;
    font-size: 13px;
  }

  /* Phones: "100+ resources inside" / "Investment research · Daily business news" */
  .eco-hero__sep--1 {
    display: none;
  }

  .eco-hero__fact:first-child {
    display: block;
  }

  /* Benefits */
  .eco-benefits {
    padding: 0 24px;
  }

  .eco-benefit {
    min-height: 85vh;
    min-height: 85svh;
    padding: 12vh 0;
  }

  .eco-benefit__name {
    max-width: 12ch;
    font-size: 36px;
    line-height: 1.12;
  }

  .eco-benefit__proof {
    max-width: 300px;
    margin-top: 18px;
    font-size: 17px;
  }

  /* Dashboard on phones: the desktop screenshot as an oversized layer,
     following the desktop composition. It starts at the left edge and
     runs past the right edge (the section clips it), so the phone shows a
     deliberate crop: the app's top bar, the whole greeting and the course
     card's content, with the card and nav running off the right. Left and bottom edges fade into the
     page; the top fades over the image's strip of extended edge. */
  .eco-showcase {
    padding: 120px 20px 96px;
  }

  .eco-showcase__title {
    max-width: 340px;
    margin-bottom: 56px;
    font-size: 32px;
  }

  .eco-showcase__visual {
    --eco-m-w: 133vw; /* image width: the whole greeting fits, card and nav run off */
    --eco-m-x: 0px;   /* image's left edge, from the screen's left edge */
    width: var(--eco-m-w);
    max-width: none;
    margin: 0 0 0 calc(var(--eco-m-x) - 20px);
  }

  .eco-showcase__visual img {
    -webkit-mask-image:
      linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 2%, rgba(0, 0, 0, 0.3) 4.5%, rgba(0, 0, 0, 0.58) 7%, rgba(0, 0, 0, 0.82) 9.5%, rgba(0, 0, 0, 0.96) 12%, #000 13.5%),
      linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 1.4%, #000 3.2%, #000 79%, rgba(0, 0, 0, 0.92) 83%, rgba(0, 0, 0, 0.72) 87.5%, rgba(0, 0, 0, 0.45) 92%, rgba(0, 0, 0, 0.18) 96%, rgba(0, 0, 0, 0) 100%);
    mask-image:
      linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 2%, rgba(0, 0, 0, 0.3) 4.5%, rgba(0, 0, 0, 0.58) 7%, rgba(0, 0, 0, 0.82) 9.5%, rgba(0, 0, 0, 0.96) 12%, #000 13.5%),
      linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 1.4%, #000 3.2%, #000 79%, rgba(0, 0, 0, 0.92) 83%, rgba(0, 0, 0, 0.72) 87.5%, rgba(0, 0, 0, 0.45) 92%, rgba(0, 0, 0, 0.18) 96%, rgba(0, 0, 0, 0) 100%);
  }

  /* Levels */
  .eco-levels {
    padding: 112px 20px 64px;
  }

  .eco-intro {
    margin: 0 -4px 55px;
  }

  .eco-intro__kicker {
    color: var(--text);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
  }

  .eco-intro__title {
    font-size: 41px;
    font-weight: 300;
    line-height: 1;
    text-wrap: wrap;
  }

  .eco-intro__line {
    margin-top: 5px;
    color: var(--text);
    font-size: 13px;
    font-weight: 300;
  }

  .eco-tiers {
    grid-template-columns: minmax(0, 1fr);
    gap: 57px;
    max-width: 350px;
    margin-bottom: 40px;
  }

  .eco-tiers .eco-tier,
  .eco-tiers .eco-tier--operator {
    min-height: 0;
  }

  .eco-tier--operator {
    order: -1;
    box-shadow: 0 0 20px 0 rgba(10, 168, 89, 0.05);
  }

  .eco-tier {
    padding: 26px 16px 20px;
  }

  .eco-tier__top {
    margin-bottom: 20px;
  }

  .eco-tier__label {
    margin-bottom: 25px;
    font-size: 13px;
  }

  /* Stacked: only Operator needs room for its label. */
  .eco-tiers .eco-tier {
    padding-top: 26px;
  }

  .eco-tiers .eco-tier--operator {
    padding-top: 44px;
  }

  .eco-tier__label--rec {
    margin-bottom: 4px;
    font-size: 11.5px;
  }

  .eco-tier__name {
    font-size: 36px;
  }

  .eco-tier__tagline {
    font-size: 14px;
  }

  .eco-tier__price,
  .eco-tier--operator .eco-tier__price {
    font-size: 22px;
    font-weight: 700;
  }

  .eco-tier__desc {
    font-size: 14px;
  }

  .eco-tier__rule {
    margin: 20px 0 18px;
  }

  .eco-tier__list {
    gap: 6px;
    margin-bottom: 30px;
  }

  .eco-tier__list li {
    font-size: 14px;
  }

  .eco-tier__cta {
    margin-left: 2px;
    margin-right: 2px;
  }

  .eco-tier--foundation .eco-tier__cta {
    box-shadow: none;
  }

  /* Members + testimonials */
  .eco-proof {
    padding: 98px 16px 72px;
  }

  .eco-proof__head {
    margin-bottom: 28px;
    padding: 0 18px;
  }

  .eco-proof__title {
    font-size: 34px;
    line-height: 1.04;
  }

  .eco-members {
    margin-top: 22px;
  }

  .eco-member {
    width: 42px;
    height: 42px;
    margin-left: -9px;
  }

  .eco-member--count {
    font-size: 11px;
  }

  .eco-marquee {
    --eco-marquee-gap: 12px;
    --eco-marquee-duration: 26s;
    --eco-marquee-fade: 28px;
    padding: 10px 0;
  }

  .eco-quote {
    width: 285px;
    min-height: 205px;
    padding: 21px;
    border-radius: 18px;
    box-shadow:
      0 14px 40px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .eco-quote__text {
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 1.5;
  }

  .eco-quote__who {
    gap: 11px;
  }

  .eco-quote__who img {
    width: 40px;
    height: 40px;
  }

  .eco-quote__name {
    font-size: 13px;
  }

  .eco-quote__role {
    font-size: 11px;
  }

  /* Inner Circle */
  .eco-inner {
    padding: 32px 20px 0;
  }

  .eco-tier--inner {
    max-width: 350px;
    min-height: 673px;
    padding-bottom: 0;
    background: linear-gradient(140deg, #141414 9%, #000 56%, #141414 97%);
  }

  .eco-tier--inner .eco-tier__name {
    font-size: 41px;
  }

  .eco-tier--inner .eco-tier__top {
    min-height: 176px;
  }

  .eco-tier--inner .eco-tier__price {
    font-size: 14px;
    font-weight: 500;
  }

  .eco-tier--inner .eco-tier__desc {
    font-size: 14px;
  }

  .eco-tier--inner .eco-tier__rule {
    margin: 27px 0 35px;
  }

  .eco-tier--inner .eco-tier__list {
    gap: 12px;
    margin-bottom: 60px;
  }

  .eco-tier--inner .eco-tier__list li {
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 14px;
  }

  /* Before you join */
  .eco-faq {
    padding: 128px 20px 160px;
  }

  .eco-faq__title {
    margin-bottom: 24px;
    font-size: 30px;
  }

  .eco-faq__q {
    padding: 18px 40px 18px 0;
    font-size: 16px;
  }

  .eco-faq__a {
    padding-right: 8px;
  }

  .eco-faq__a p {
    font-size: 14px;
  }

  /* Final CTA */
  .eco-final {
    padding: 96px 16px;
  }

  .eco-final__title {
    margin-bottom: 19px;
    font-size: 41px;
    line-height: 1.3;
  }

  .eco-final__text {
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 1.8;
  }
}

@media (max-width: 380px) {
  .eco-hero__title {
    font-size: 33px;
  }
}

@media (max-width: 340px) {
  .eco-hero__sep {
    display: none;
  }

  .eco-hero__fact {
    display: block;
  }

  .eco-benefit__name {
    font-size: 32px;
  }

  .eco-showcase__title {
    font-size: 30px;
  }

  .eco-intro__title,
  .eco-tier--inner .eco-tier__name,
  .eco-final__title {
    font-size: 36px;
  }

  .eco-tier__name {
    font-size: 32px;
  }
}

/* Short phones (most phones in Safari, with its toolbars): a slightly
   tighter hero so the group fits the screen with room around it. It stays
   centred below the header like on taller phones; the space it keeps from
   the floating cookie banner is handled below, only while that is shown. */
@media (max-width: 767px) and (max-height: 740px) {
  .eco-hero__eyebrow {
    margin-bottom: 8px;
  }

  .eco-hero__title {
    margin-bottom: 12px;
    font-size: 32px;
  }

  .eco-hero__lead {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .eco-hero__start {
    gap: 10px;
  }
}

/* Phones, while the cookie banner floats at the bottom: the hero's content
   centres in the space above it (consent.js gives the banner's height), so
   Start now and the line under it stay clear. After a choice, the content
   glides back down to its place as the banner fades. */
@media (max-width: 767px) {
  .eco-hero {
    transition:
      padding-top 320ms var(--ease-out),
      padding-bottom 320ms var(--ease-out);
  }

  body:has(> .koma-consent-banner.is-visible) .eco-hero {
    padding-bottom: max(22svh, calc(var(--koma-consent-banner-space, 0px) + 16px));
  }
}

/* Short phones with the banner showing: a little less room under the header,
   so the line under Start now can clear the banner too. */
@media (max-width: 767px) and (max-height: 740px) {
  body:has(> .koma-consent-banner.is-visible) .eco-hero {
    padding-top: 108px;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .eco-hero {
    transition: none;
  }
}

/* Short laptops (e.g. 1366 x 768): same idea at desktop sizes */
@media (min-width: 768px) and (max-height: 820px) {
  .eco-hero {
    padding-top: 140px;
  }

  .eco-hero__title {
    font-size: clamp(52px, 5.2vw, 62px);
  }

  .eco-hero__lead {
    margin-bottom: 32px;
  }
}

/* Reduced motion: no marquee; the strip becomes a plain horizontal scroller
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .eco-marquee {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .eco-marquee::-webkit-scrollbar {
    display: none;
  }

  .eco-marquee::before,
  .eco-marquee::after {
    display: none;
  }

  .eco-marquee__track {
    animation: none;
    padding: 0 16px;
  }

  .eco-quote--clone {
    display: none;
  }
}

/* While the cookie banner sits in the page flow above the hero (short
   screens, see consent.css), the hero no longer needs to clear the header. */
@media (max-width: 1023px) and (max-height: 600px) {
  body:has(> .koma-consent-banner:not([hidden])) .eco-hero {
    padding-top: 48px;
  }
}

/* "I'm ready to move": the page's one floating CTA
   Opens the "Ready to move?" step of the membership popup. ecosystem.js
   decides when it is shown and drives the motion (inline transform, shape
   width, label opacity); the shape is animated apart from the label so the
   letters never stretch. Centred at the bottom on every screen size.
   ========================================================================== */

/* Sections the popup's text links scroll to (the plans heading and the
   Business Insight Emails benefit) land clear of the fixed header. */
#plans {
  scroll-margin-top: 120px;
}

#plans:focus,
#business-insight-emails:focus {
  outline: none;
}

#plans:focus-visible {
  outline: 2px solid var(--green-eyebrow);
  outline-offset: 6px;
}

/* Reached by tapping or clicking a link: no ring. */
#plans[data-pointer-focus]:focus-visible {
  outline: none;
}

.eco-plan-pill {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 980;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin: 0;
  padding: 0 30px;
  border: 0;
  background: none;
  color: var(--bg);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.4px;
  white-space: nowrap;
  cursor: pointer;
  transform: translate(-50%, 0);
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.eco-plan-pill[hidden] {
  display: none;
}

.eco-plan-pill.is-off {
  pointer-events: none;
}

/* The glow (and focus ring) layer, beneath the green SVG surface;
   ecosystem.js keeps it inside the surface's outline. */
.eco-plan-pill__shape {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--green);
  box-shadow: -0.17px 10px 60px 2px var(--green-glow);
  transform: translate(-50%, -50%);
}

.eco-plan-pill__surface {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: visible;
  fill: var(--green);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.eco-plan-pill__label {
  position: relative;
}

.eco-plan-pill:focus-visible {
  outline: none;
}

.eco-plan-pill:focus-visible .eco-plan-pill__shape {
  outline: 2px solid var(--text-bright);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  /* Lands the plans heading clear of the fixed header (about 84px). */
  #plans {
    scroll-margin-top: 108px;
  }
}

/* Tablets and desktops: still centred, a little higher off the edge. */
@media (min-width: 768px) {
  .eco-plan-pill {
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .eco-plan-pill__shape {
    box-shadow: -0.17px 10px 44px 0 rgba(1, 155, 78, 0.3);
  }
}

@media (hover: hover) and (pointer: fine) {
  .eco-plan-pill__surface {
    transition: filter var(--hover-duration) var(--ease-out);
  }

  .eco-plan-pill:not(.is-off):hover .eco-plan-pill__surface {
    filter: brightness(1.08);
  }
}
