/* Keep the original hero character; allow copy and the preview to grow naturally. */
#home.hero{height:auto;min-height:620px;max-height:none;display:grid;grid-template-areas:none;grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);gap:24px 5%;padding:clamp(28px,5vw,64px) 6% 26px;align-items:center}
#home .hero-copy{grid-column:1;grid-row:1;min-width:0;max-width:42rem}
#home .hero-art{grid-column:2;grid-row:1;position:relative;inset:auto;width:100%;height:clamp(320px,45vw,560px);opacity:1}
#home .hero-bottom{grid-column:1/-1;grid-row:2;position:static;inset:auto;gap:16px;flex-wrap:wrap}
#home .lead{max-width:38rem;font-size:clamp(16px,1.6vw,21px);line-height:1.5}
#home .browser{margin:12px 0;color:#d4decf;font-size:15px;line-height:1.5}
#home .first-goal{display:none}
.hero-preview{margin-top:18px;border:1px solid #91a78366;border-radius:12px;background:#17241b;max-width:36rem;overflow:hidden}
.hero-preview summary{display:flex;align-items:center;gap:12px;padding:10px 14px;min-height:64px;cursor:pointer;font-weight:650;line-height:1.4;list-style:none}
.hero-preview summary::-webkit-details-marker{display:none}.hero-preview summary:after{content:'+';margin-left:auto;font-size:22px}.hero-preview[open] summary:after{content:'−'}
.hero-preview summary img{width:44px;height:48px;object-fit:cover;border-radius:5px;flex:none}
.hero-preview video{display:block;width:100%;max-height:65svh;aspect-ratio:10/11;object-fit:contain;background:#101512}
.hero-preview .hero-video-note,.hero-preview [role=status]{padding:0 14px;font-size:14px;line-height:1.5}
.hero-preview [role=status]:empty{display:none}.hero-video-retry{margin:0 14px 14px;min-height:44px;padding:8px 14px;border:1px solid #d6f75b;border-radius:8px;background:#243829}.hero-video-retry[hidden]{display:none}
.hero-preview summary:focus-visible{outline:3px solid #d6f75b;outline-offset:-4px}
@media(max-width:700px){#home.hero{grid-template-columns:minmax(0,1fr);min-height:0;margin-top:0;padding:24px 20px;gap:18px}#home .hero-copy{grid-column:1;grid-row:1}#home .hero-art{grid-column:1;grid-row:2;height:220px;max-width:360px;justify-self:center}#home .hero-bottom{grid-row:3}#home h1{font-size:clamp(40px,12vw,65px);line-height:1.02}#home .cta{max-width:none;min-height:48px}#home .lead{font-size:16px}#home .learn-link{min-height:44px;display:inline-flex;align-items:center}.hero-preview{max-width:100%}.hero-preview summary{font-size:16px}.hero-preview video{max-height:60svh}}
@media(orientation:landscape) and (max-height:500px){#home.hero{grid-template-columns:minmax(0,1.3fr) minmax(160px,.7fr);padding:20px 5%}#home .hero-art{grid-column:2;grid-row:1;height:240px}#home .hero-bottom{grid-row:2}#home h1{font-size:46px}}

/* Let translated labels and enlarged text grow without clipping. */
#home .hero-copy,#home .hero-preview{min-width:0}
#home .cta,#home .learn-link,.hero-video-retry{white-space:normal;overflow-wrap:anywhere;line-height:1.45}
.hero-preview summary>span{min-width:0;overflow-wrap:anywhere}
.hero-preview summary:after{flex:none}
.hero-video-retry{max-width:calc(100% - 28px);font-size:16px}
#home .hero-preview .hero-video-note,#home .hero-preview [role=status]{overflow-wrap:anywhere}

/* A native recovery route also works when scripts or the inline player fail. */
.hero-video-direct{display:inline-flex;align-items:center;min-height:44px;margin:0 14px 12px;color:#def76a;font-size:16px;line-height:1.5;text-underline-offset:4px;overflow-wrap:anywhere;max-width:calc(100% - 28px)}
.hero-video-direct:focus-visible,.hero-video-retry:focus-visible{outline:3px solid #def76a;outline-offset:3px}

.hero-quality{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;font-size:16px;line-height:1.5}
.hero-quality select{font:inherit;color:#edf2e6;background:#243829;border:1px solid #91a783;min-height:44px;max-width:100%;border-radius:8px;padding:8px 12px}
.hero-quality select:focus-visible{outline:3px solid #def76a;outline-offset:3px}

.information-links{display:flex;flex-wrap:wrap;gap:8px 24px;width:100%;border-top:1px solid #354c38;padding-top:16px}.information-links a{display:inline-flex;align-items:center;min-height:44px;color:#d7fa87;text-decoration:underline;text-underline-offset:4px}.information-links a:focus-visible{outline:3px solid #d7fa87;outline-offset:4px}
