html[data-yn-automation="ready"] .product-card.yn-stock-out {
  opacity: .76;
}

.yn-product-alternative {
  display: inline-flex;
  margin-top: .8rem;
  color: #73551d;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
}

.yn-product-alternative:hover {
  text-decoration: underline;
}

.yn-home-compass {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin: 2rem 0 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.8rem);
  border-radius: 2rem;
  background: radial-gradient(circle at 90% 0, rgba(210,174,90,.2), transparent 30%), #102f31;
  color: #fff;
  box-shadow: 0 28px 70px rgba(16,47,49,.16);
}

.yn-home-compass header > span,
.yn-home-compass-result > div span {
  color: #e7cb84;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.yn-home-compass h3 {
  margin: .8rem 0 1rem;
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: .94;
  letter-spacing: -.05em;
}

.yn-home-compass header p {
  margin: 0;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}

.yn-home-compass form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  align-content: center;
}

.yn-home-compass label span {
  display: block;
  margin: 0 0 .5rem .2rem;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  font-weight: 800;
}

.yn-home-compass select,
.yn-home-compass form button {
  width: 100%;
  min-height: 3.5rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 1rem;
  font: inherit;
}

.yn-home-compass select {
  padding: 0 .9rem;
  background: rgba(255,255,255,.09);
  color: #fff;
}

.yn-home-compass option { color: #111; }

.yn-home-compass form button {
  grid-column: 1 / -1;
  margin-top: .25rem;
  background: #d2ae5a;
  color: #102f31;
  cursor: pointer;
  font-weight: 900;
}

.yn-home-compass-result {
  grid-column: 1 / -1;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,.16);
}

.yn-home-compass-result > div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.yn-home-compass-result > div strong {
  max-width: 30rem;
  text-align: right;
}

.yn-home-compass-result ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.3rem 0;
  padding: 0;
  list-style: none;
}

.yn-home-compass-result li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .8rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 1rem;
  background: rgba(255,255,255,.06);
}

.yn-home-compass-result li b { color: #e7cb84; }
.yn-home-compass-result li span strong,
.yn-home-compass-result li span small { display: block; }
.yn-home-compass-result li span small { margin-top: .35rem; color: rgba(255,255,255,.62); line-height: 1.35; }
.yn-home-compass-result li a { color: #e7cb84; font-size: 1.4rem; text-decoration: none; }
.yn-home-compass-note { margin: 0; color: rgba(255,255,255,.78); font-size: .875rem; line-height: 1.5; }

.automation-control {
  background: #f8f3e8;
  color: #141414;
}

.automation-control-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 5vw, 5rem);
  background: radial-gradient(circle at 85% 10%, rgba(208, 173, 92, .22), transparent 32%), #102f31;
  color: #fff;
}

.automation-control-hero h1 {
  max-width: 12ch;
  margin: .8rem 0 1.2rem;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: .88;
  letter-spacing: -.065em;
}

.automation-control-hero p {
  max-width: 46rem;
  color: rgba(255,255,255,.76);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.automation-control-score {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 2rem;
  background: rgba(255,255,255,.07);
}

.automation-control-score div {
  padding: 1.6rem;
}

.automation-control-score strong {
  display: block;
  color: #e7cb84;
  font-size: 2.4rem;
}

.automation-control-score span {
  color: rgba(255,255,255,.72);
  font-size: .82rem;
}

.automation-control-grid,
.automation-journeys {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem);
}

.automation-control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.automation-control-card {
  min-height: 25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(16,47,49,.16);
  border-radius: 2rem;
  background: #fffdfa;
  box-shadow: 0 24px 60px rgba(26, 30, 26, .08);
}

.automation-control-card > span,
.automation-journeys header span {
  color: #8a692c;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.automation-control-card h2 {
  margin: 1.2rem 0 .8rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.automation-control-card p {
  min-height: 5.5rem;
  color: #5d625d;
  line-height: 1.55;
}

.automation-control-card ul,
.automation-journey-list {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.automation-control-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  border-top: 1px solid rgba(16,47,49,.12);
}

.automation-control-card li b {
  color: #102f31;
}

.automation-control-card li em {
  color: #2e735f;
  font-size: .76rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.automation-journeys {
  background: #151515;
  color: #fff;
}

.automation-journeys header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.automation-journeys h2 {
  max-width: 16ch;
  margin: .8rem 0 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .93;
  letter-spacing: -.055em;
}

.automation-journeys header p {
  max-width: 34rem;
  color: rgba(255,255,255,.68);
}

.automation-journey-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .8rem;
}

.automation-journey-list li {
  display: flex;
  flex-direction: column;
  min-height: 12rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 1.4rem;
  background: rgba(255,255,255,.05);
}

.automation-journey-list b {
  margin-bottom: auto;
}

.automation-journey-list small {
  color: rgba(255,255,255,.58);
  line-height: 1.4;
}

.automation-journey-list em {
  margin-top: 1rem;
  color: #e7cb84;
  font-size: .7rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.yn-product-safety {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border: 1px solid rgba(184, 145, 64, .42);
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #fffaf0 0%, #f5ead2 100%);
  box-shadow: 0 18px 45px rgba(38, 31, 20, .08);
  color: #191713;
}

.yn-product-safety > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: #171717;
  color: #e7cb84;
  font-weight: 900;
}

.yn-product-safety strong {
  display: block;
  margin: .05rem 0 .35rem;
  font-size: 1rem;
}

.yn-product-safety p {
  max-width: 78rem;
  margin: 0;
  color: #554f45;
  line-height: 1.65;
}

.yn-allergen {
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(184, 145, 64, .72);
  text-decoration-thickness: .1em;
  text-underline-offset: .13em;
}

@media (max-width: 980px) {
  .automation-control-hero,
  .automation-control-grid,
  .automation-journey-list { grid-template-columns: 1fr; }
  .yn-home-compass { grid-template-columns: 1fr; }
  .yn-home-compass form,
  .yn-home-compass-result ol { grid-template-columns: 1fr; }
  .yn-home-compass-result > div { align-items: start; flex-direction: column; }
  .yn-home-compass-result > div strong { text-align: left; }
  .automation-control-card { min-height: 0; }
  .automation-journeys header { align-items: start; flex-direction: column; }
  .yn-product-safety { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .yn-product-safety > span { width: 2.5rem; height: 2.5rem; }
}
