/* The hero's interface fragment: the same IHOS type and botanical palette,
   with real native controls and an explicitly labelled example sentence. */
.hero--app-led { align-items: center; }
.hero--app-led .hero__visuals { min-width: 0; }
.hero-app-stage { display: grid; gap: 12px; min-width: 0; }
.hero-app[data-ui] { min-width: 0; padding: 0 8px 8px; border-radius: 18px; background: #e8eee2; color: #173c30; font-family: var(--ui); }
.hero-app[data-ui] .hero-app__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 0 14px; font-size: 13px; line-height: 1.4; color: #536659; }
.hero-app[data-ui] .hero-app__brand { font-family: var(--display); font-size: 29px; line-height: 1; letter-spacing: -.05em; font-weight: 600; color: #173c30; }
.hero-app[data-ui] .hero-app__sheet { background: #fff; border: 1px solid #e0e6dd; border-radius: 13px; padding: 22px; }
.hero-app[data-ui] .hero-app__source { padding: 0; }
.hero-app[data-ui] .hero-app__source-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: #536659; font-size: 13px; line-height: 1.5; }
.hero-app[data-ui] .hero-app__source p { margin: 10px 0 0; font-size: clamp(21px,1.9vw,26px); line-height: 1.4; font-weight: 500; letter-spacing: -.025em; color: #173c30; }
.hero-app[data-ui] .hero-app__direction { display: flex; align-items: center; gap: 10px; margin: 17px 0; font-size: 13px; line-height: 1.4; color: #536659; }
.hero-app[data-ui] .hero-app__direction > span:first-child { font-size: 22px; line-height: 1; color: #173c30; }
.hero-app[data-ui] .hero-app__languages { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; min-width: 0; margin: 0; padding: 0; border: 0; }
.hero-app[data-ui] .hero-app__languages legend { padding: 0 0 8px; font-size: 13px; line-height: 1.5; color: #536659; }
.hero-app[data-ui] .hero-app__radio { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.hero-app[data-ui] .hero-app__languages label { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 5px; border: 1px solid #d8e2d2; border-right-width: 0; color: #536659; font-size: 14px; line-height: 1.35; cursor: pointer; background: #fff; }
.hero-app[data-ui] .hero-app__languages label:first-of-type { border-radius: 8px 0 0 8px; }
.hero-app[data-ui] .hero-app__languages label:last-of-type { border-right-width: 1px; border-radius: 0 8px 8px 0; }
.hero-app[data-ui] .hero-app__radio:checked + label { color: #173c30; background: #edf4e6; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hero-app[data-ui] .hero-app__radio:focus-visible + label { position: relative; outline: 3px solid #6f852d; outline-offset: 2px; z-index: 1; }
.hero-app[data-ui] .hero-app__result { grid-column: 1 / -1; margin-top: 14px; min-width: 0; padding: 18px; border-radius: 8px; background: #173c30; color: #f6f7f2; }
.hero-app[data-ui] .hero-app__result-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; font-size: 13px; line-height: 1.4; color: #d1dfd3; }
.hero-app[data-ui] .hero-app__result-label strong { font-weight: 600; color: #f6f7f2; }
.hero-app[data-ui] .hero-app__translation { display: none; min-height: 2.6em; margin: 0; font-family: var(--display); font-size: clamp(25px,2.3vw,32px); line-height: 1.3; font-weight: 500; letter-spacing: -.025em; overflow-wrap: break-word; }
.hero-app[data-ui] #hero-language-en:checked ~ .hero-app__result .hero-app__translation--en,
.hero-app[data-ui] #hero-language-fr:checked ~ .hero-app__result .hero-app__translation--fr,
.hero-app[data-ui] #hero-language-de:checked ~ .hero-app__result .hero-app__translation--de { display: block; }
.hero-app[data-ui] .hero-app__try { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-top: 10px; color: #173c30; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: 4px; }
.hero-app[data-ui] .hero-app__try:hover { text-decoration-thickness: 2px; }
.hero-app-context { display: grid; grid-template-columns: 42% minmax(0,1fr); align-items: stretch; min-width: 0; margin: 0; border-radius: 13px; overflow: hidden; background: #e8eee2; }
.hero-app-context__film { position: relative; min-height: 124px; min-width: 0; }
.hero-app-context__film .hero-film { inset: 0; }
.hero-app-context__film .hero-film__poster, .hero-app-context__film .hero-film__video { object-position: 45% center; }
.hero-app-context__film .hero-film__toggle { top: auto; bottom: 8px; right: 8px; left: 8px; justify-content: center; min-height: 38px; padding: 8px; font-size: 12px; border-radius: 8px; }
.hero-app-context figcaption { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 18px; font-size: 14px; line-height: 1.45; color: #536659; }
.hero-app-context figcaption strong { color: #173c30; font-weight: 600; font-size: 15px; }
.hero-app-context__disclosure { display: block; font-size: 12px; line-height: 1.4; color: #536659; }
@media (max-width: 1100px) and (min-width: 851px) {
  .hero-app[data-ui] .hero-app__sheet { padding: 18px; }
  .hero-app[data-ui] .hero-app__translation { font-size: 27px; }
  .hero-app-context { grid-template-columns: 46% minmax(0,1fr); }
  .hero-app-context figcaption { padding: 12px; font-size: 13px; }
}
@media (max-width: 850px) {
  .hero--app-led .hero__visuals { width: 100%; max-width: 650px; }
  .hero-app[data-ui] .hero-app__source p { font-size: 25px; }
  .hero-app[data-ui] .hero-app__translation { font-size: 31px; }
  .hero-app-context__film { min-height: 130px; }
}
@media (max-width: 600px) {
  .hero-app[data-ui] { border-radius: 14px; padding: 0 6px 6px; }
  .hero-app[data-ui] .hero-app__header { min-height: 48px; padding: 0 11px; font-size: 12px; gap: 10px; }
  .hero-app[data-ui] .hero-app__brand { font-size: 27px; }
  .hero-app[data-ui] .hero-app__sheet { padding: 17px; border-radius: 10px; }
  .hero-app[data-ui] .hero-app__source p { font-size: 22px; }
  .hero-app[data-ui] .hero-app__direction { margin: 15px 0; font-size: 13px; gap: 8px; }
  .hero-app[data-ui] .hero-app__languages label { font-size: 13px; }
  .hero-app[data-ui] .hero-app__result { padding: 16px; }
  .hero-app[data-ui] .hero-app__translation { font-size: 27px; min-height: 2.6em; }
  .hero-app[data-ui] .hero-app__try { font-size: 14px; }
  .hero-app-context { grid-template-columns: 46% minmax(0,1fr); border-radius: 10px; }
  .hero-app-context__film { min-height: 132px; }
  .hero-app-context figcaption { padding: 13px; font-size: 13px; }
  .hero-app-context figcaption strong { font-size: 14px; }
}
@media (max-width: 360px) {
  .hero-app[data-ui] .hero-app__sheet { padding: 14px; }
  .hero-app[data-ui] .hero-app__source p { font-size: 21px; }
  .hero-app[data-ui] .hero-app__translation { font-size: 25px; min-height: 3.9em; }
  .hero-app[data-ui] .hero-app__source-label { font-size: 12px; gap: 8px; }
  .hero-app-context { grid-template-columns: 1fr; }
  .hero-app-context__film { min-height: 106px; }
  .hero-app-context figcaption { padding: 12px 14px; gap: 4px; }
  .hero-app-context__film .hero-film__toggle { left: auto; min-width: 132px; }
}
