body[data-tcfr-cluster="features"] :where(.featureGrid,.linkGrid,.cardGrid){align-items:stretch}
body[data-tcfr-cluster="features"] :where(.featureCard,.linkCard){height:100%}

/* Premium Features cluster prototype. */
body[data-tcfr-template="premium-features"] {
  --features-deep: #082d16;
  --features-green: var(--forest, #0d5925);
  --features-sage: rgb(161, 191, 170);
  --features-cream: var(--beige, #f5f5dc);
  --features-paper: #fbfaf5;
  --features-orange: var(--orange, #e0643a);
  --features-line: rgba(13, 89, 37, 0.16);
  color: #142018;
  background:
    radial-gradient(circle at 0 9%, rgba(161, 191, 170, 0.2), transparent 28rem),
    var(--features-cream);
}

.featuresPreview {
  width: min(calc(100% - var(--tcfr-shell-gutter)), var(--tcfr-content-max));
  margin-inline: auto;
  padding: var(--tcfr-page-top) 0 var(--tcfr-section-space);
}

.featuresPreview__notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 9px 14px;
  color: var(--features-green);
  background: rgba(255, 255, 255, 0.48);
  border: 1px dashed rgba(18, 77, 42, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
}

.featuresPreview__notice strong { letter-spacing: 0.09em; text-transform: uppercase; }
.featuresPreview__notice p { margin: 0; color: inherit; font-size: inherit; line-height: 1.4; }

.featuresPreview__crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 14px 4px;
  color: rgba(20, 32, 24, 0.65);
  font-size: 0.8rem;
  font-weight: 750;
}

.featuresPreview__crumbs a { color: var(--features-green); }

#features-to-explore,
#features-day-title,
#features-faq-title {
  scroll-margin-top: 110px;
}

.featuresHero {
  position: relative;
  min-height: min(780px, 84vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 30px;
  background: var(--features-deep);
  box-shadow: 0 30px 90px rgba(10, 42, 22, 0.24);
}

.featuresHero__image,
.featuresHero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.featuresHero__image { object-fit: cover; }
.featuresHero__shade { background: linear-gradient(90deg, rgba(4, 24, 12, 0.9), rgba(4, 24, 12, 0.38) 64%, rgba(4, 24, 12, 0.12)), linear-gradient(0deg, rgba(4, 24, 12, 0.6), transparent 45%); }

.featuresHero__content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: clamp(38px, 6vw, 78px);
  padding-bottom: clamp(160px, 18vw, 190px);
  color: #fff;
}

.featuresEyebrow {
  margin: 0 0 14px;
  color: #f3bc97;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.featuresEyebrow--dark { color: var(--features-orange); }

.featuresHero h1 {
  margin: 0 0 20px;
  color: #fff;
  font: 800 clamp(3rem, 6.3vw, 5.65rem) / 0.94 var(--font-head);
  letter-spacing: -0.05em;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.48);
}

.featuresHero__lead {
  max-width: 56ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  font-weight: 550;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.featuresHero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.featuresHero__actions .btn { min-height: 50px; padding-inline: 21px; border-radius: 999px; }
.featuresButtonLight { color: var(--features-deep); background: #fff; }

.featuresHero__facts {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 52px);
  bottom: clamp(20px, 3vw, 34px);
  left: clamp(20px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: rgba(7, 43, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  backdrop-filter: blur(18px);
}

.featuresHero__facts div { padding: 20px 24px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.featuresHero__facts div:first-child { border-left: 0; }
.featuresHero__facts strong, .featuresHero__facts span { display: block; }
.featuresHero__facts strong { margin-bottom: 4px; color: #fff; font-size: 0.9rem; }
.featuresHero__facts span { color: rgba(255, 255, 255, 0.78); font-size: 0.8rem; line-height: 1.45; }

.featuresSection { margin: var(--tcfr-section-space) 0; }
.featuresPreview > .featuresSection:last-child { margin-bottom: 0; }

.featuresIntro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.featuresIntro h2,
.featuresHeading h2,
.featuresDay__copy h2,
.featuresFaq h2 {
  margin: 0;
  color: var(--features-deep);
  font: 800 clamp(2.25rem, 4.4vw, 4.1rem) / 1 var(--font-head);
  letter-spacing: -0.04em;
}

.featuresIntro__body p {
  max-width: 88ch;
  margin: 0;
  color: rgba(20, 32, 24, 0.73);
  font-size: 1.05rem;
  line-height: 1.8;
}

.featuresIntro__principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.featuresIntro__principles span {
  padding: 14px;
  color: var(--features-green);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--features-line);
  border-radius: 15px;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.featuresHeading { width: 100%; max-width: none; margin-bottom: 34px; }
.featuresHeading > p:not(.featuresEyebrow) { max-width: 68ch; margin: 16px 0 0; color: rgba(20, 32, 24, 0.72); font-size: 1.04rem; line-height: 1.76; }

.featuresMosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 16px;
}

.featuresTile {
  position: relative;
  display: flex;
  grid-column: span 4;
  align-items: end;
  overflow: hidden;
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(10, 42, 22, 0.13);
}

.featuresTile--large { grid-column: span 7; grid-row: span 2; }
.featuresTile--tall { grid-column: span 5; grid-row: span 2; }
.featuresTile--wide { grid-column: span 4; }

.featuresTile > img,
.featuresTile::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.featuresTile > img { object-fit: cover; transition: transform 500ms ease; }
.featuresTile::after { content: ""; background: linear-gradient(0deg, rgba(4, 24, 12, 0.88), rgba(4, 24, 12, 0.08) 72%); }
.featuresTile:hover > img { transform: scale(1.025); }
.featuresTile:hover { text-decoration: none; }

.featuresTile__content { position: relative; z-index: 2; padding: clamp(22px, 3vw, 34px); }
.featuresTile__number { display: block; margin-bottom: 8px; color: #f3bc97; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.13em; }
.featuresTile h3 { margin: 0 0 8px; color: #fff; font: 800 clamp(1.65rem, 3vw, 2.6rem) / 1 var(--font-head); }
.featuresTile p { max-width: 46ch; margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; line-height: 1.62; }
.featuresTile__link { display: inline-block; margin-top: 15px; color: #fff; font-size: 0.82rem; font-weight: 900; }

.featuresDay {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
  padding: clamp(38px, 6vw, 72px);
  color: #fff;
  background: var(--features-deep);
  border-radius: 30px;
  box-shadow: 0 26px 76px rgba(10, 42, 22, 0.18);
}

.featuresDay__copy h2 { color: #fff; }
.featuresDay__copy h2 {
  max-width: 12ch;
  font-size: clamp(2.75rem, 4.4vw, 4rem);
}
.featuresDay__copy > p:not(.featuresEyebrow) { margin: 18px 0 0; color: rgba(255, 255, 255, 0.72); line-height: 1.72; }
.featuresDay__steps { display: grid; }

.featuresDay__step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.featuresDay__step:first-child { border-top: 0; }
.featuresDay__step span { color: #f3bc97; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.featuresDay__step h3 { margin: 0 0 7px; color: #fff; font: 750 1.35rem / 1.15 var(--font-head); }
.featuresDay__step p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; line-height: 1.65; }

.featuresFaq {
  padding: clamp(38px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--features-line);
  border-radius: 30px;
}

.featuresFaq__intro { max-width: 880px; margin: 0 auto 34px; text-align: center; }
.featuresFaq__intro > p:not(.featuresEyebrow) { max-width: 66ch; margin: 16px auto 0; color: rgba(20, 32, 24, 0.72); line-height: 1.72; }
.featuresFaq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.featuresFaq__list details { min-height: 88px; padding: 24px; background: rgba(255, 255, 255, 0.76); border: 1px solid rgba(13, 89, 37, 0.14); border-radius: 18px; }
.featuresFaq__list details[open] { background: #fff; border-color: rgba(13, 89, 37, 0.28); }
.featuresFaq__list summary { position: relative; padding-right: 34px; color: var(--features-green); font-weight: 850; line-height: 1.45; cursor: pointer; list-style: none; }
.featuresFaq__list summary::-webkit-details-marker { display: none; }
.featuresFaq__list summary::after { content: "+"; position: absolute; top: -7px; right: 0; color: var(--features-orange); font-size: 1.8rem; font-weight: 400; }
.featuresFaq__list details[open] summary::after { content: "−"; }
.featuresFaq__list p { margin: 14px 0 0; color: rgba(20, 32, 24, 0.7); font-size: 0.92rem; line-height: 1.72; }

@media (max-width: 900px) {
  .featuresIntro, .featuresDay { grid-template-columns: 1fr; }
  .featuresMosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 340px; }
  .featuresTile, .featuresTile--large, .featuresTile--tall, .featuresTile--wide { grid-column: span 1; grid-row: span 1; }
  .featuresTile:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .featuresPreview { width: min(calc(100% - var(--tcfr-shell-gutter)), var(--tcfr-content-max)); padding-top: 10px; }
  .featuresPreview__notice { border-radius: 18px; }
  .featuresPreview__notice p { display: none; }
  .featuresHero { min-height: 760px; border-radius: 22px; }
  .featuresHero__shade { background: linear-gradient(0deg, rgba(4, 24, 12, 0.94), rgba(4, 24, 12, 0.22) 82%); }
  .featuresHero__content { padding: 34px 22px 240px; }
  .featuresHero h1 { font-size: clamp(2.7rem, 13vw, 3.8rem); }
  .featuresHero__actions { display: grid; }
  .featuresHero__actions .btn { width: 100%; }
  .featuresHero__facts { grid-template-columns: 1fr; right: 12px; bottom: 12px; left: 12px; }
  .featuresHero__facts div { padding: 11px 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); border-left: 0; }
  .featuresHero__facts div:first-child { border-top: 0; }
  .featuresHero__facts span { display: none; }
  .featuresSection { margin: var(--tcfr-section-space) 0; }
  .featuresIntro h2, .featuresHeading h2, .featuresDay__copy h2, .featuresFaq h2 { font-size: clamp(2.05rem, 10.5vw, 3rem); }
  .featuresIntro__principles { grid-template-columns: 1fr; }
  .featuresMosaic { grid-template-columns: 1fr; grid-auto-rows: 390px; }
  .featuresTile, .featuresTile--large, .featuresTile--tall, .featuresTile--wide { grid-column: span 1; }
  .featuresDay, .featuresFaq { padding: 32px 22px; border-radius: 22px; }
  .featuresDay__step { grid-template-columns: 1fr; gap: 7px; }
  .featuresFaq__list { grid-template-columns: 1fr; }
}

/* Bilingual feature batch: comparable cards share content rows on larger screens. */
.featureBatchGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(410px, auto);
}
.featureBatchGrid .featuresTile { grid-column: span 1; }
@media (min-width: 641px) {
  .featureBatchGrid .featuresTile__content {
    width: 100%;
    min-height: 225px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .featureBatchGrid .featuresTile__link { margin-top: auto; padding-top: 15px; }
}
@media (max-width: 640px) {
  .featureBatchGrid { grid-template-columns: 1fr; grid-auto-rows: 420px; }
}
