/* Editorial masthead */
.header-badges{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}.header-badges .title-kicker{margin:0!important}.model-capsule{display:inline-flex;align-items:center;padding:5px 11px;border:1px solid #d6c9df;border-radius:999px;background:#ede6f4;color:#796886;font:500 12px/1.4 "Segoe UI",sans-serif;white-space:nowrap}html[data-theme="dark"] .model-capsule{background:#412c50;border-color:#78598c;color:#d7c3e4}
.hero{padding:20px 26px 18px!important}.hero .eyebrow{margin-bottom:15px!important}.hero h1.editorial-title{margin-bottom:12px!important}.title-kicker{display:table!important;padding:5px 11px;border:1px solid #d6c9df;border-radius:999px;background:#ede6f4;font-size:13px!important;letter-spacing:.1em!important;line-height:1.3!important;margin-bottom:10px!important}.hero .activity-description{font-size:16px!important;line-height:1.5!important;max-width:900px!important}.hero .prompt-disclaimer{font-size:13px!important;line-height:1.5!important;margin-top:8px!important;max-width:900px!important}.hero .powered-badge{margin-top:9px!important}.hero .privacy{padding-top:10px!important;margin-top:12px!important;font-size:12px!important}.hero .hero-top{gap:14px!important}html[data-theme="dark"] .title-kicker{background:#412c50;border-color:#78598c}@media(max-width:650px){.hero{padding:18px!important}.hero .eyebrow{margin-bottom:12px!important}.hero h1.editorial-title{font-size:29px!important}.title-kicker{font-size:12px!important}.hero .header-controls{gap:8px}.hero .lang button{padding:8px 9px}.hero .theme-toggle{font-size:12px;padding:8px 10px;gap:6px}.hero .theme-track{width:34px;height:21px}.hero .theme-track>span{width:15px;height:15px}.hero .theme-toggle[aria-checked="true"] .theme-track>span{transform:translateX(13px)}}
.hero{position:relative;border-radius:6px 6px 20px 20px;padding:30px 32px 24px;border-top:3px solid #9679aa}
.hero .hero-top{align-items:flex-start}.hero-brand{flex:1;min-width:0}.hero-brand>div:last-child{min-width:0}
.hero .eyebrow{font-size:14px;letter-spacing:.19em;margin-bottom:26px}
.hero h1.editorial-title{font-size:clamp(32px,3.4vw,48px);line-height:1.08;letter-spacing:-.035em;margin:0 0 22px}
.editorial-title .home-link{display:block;max-width:100%;text-decoration:none}
.title-kicker{display:block;font:600 12px/1.5 "Segoe UI",sans-serif;text-transform:uppercase;letter-spacing:.2em;margin-bottom:14px;color:#796886}
.title-main{display:inline;font-weight:700}
.title-accent{display:inline;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:700;letter-spacing:-.035em;color:#79528d;margin-left:.22em}
@media(min-width:1001px){.hero .hero-top{position:relative}.hero .hero-brand{width:100%}.hero .header-controls{position:absolute;right:0;top:0}.hero h1.editorial-title{font-size:clamp(34px,3.2vw,46px)}.hero .eyebrow{padding-right:380px}.title-main,.title-accent{white-space:nowrap}}
.editorial-title .home-link:hover .title-accent{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
.hero .activity-description{font-size:17px;line-height:1.65;max-width:700px}
.hero .prompt-disclaimer{font-size:14px;line-height:1.65;margin-top:14px;max-width:700px;padding-left:13px;border-left:2px solid #c5b5d0;color:#736b7a}
.hero .powered-badge{margin-top:16px}.hero .header-controls{padding-top:0;max-width:390px}
.hero .privacy{padding-top:16px;border-top:1px solid #ccc3d34d;max-width:none;margin-top:22px}
html[data-theme="dark"] .hero{border-top-color:#ba95d0}
html[data-theme="dark"] .title-kicker{color:#c2aace}html[data-theme="dark"] .title-accent{color:#dbb9ef}
html[data-theme="dark"] .hero .prompt-disclaimer{color:#c9b9d3;border-color:#7c5c91}
@media(max-width:1000px){.hero .hero-top{flex-wrap:wrap}.hero .header-controls{max-width:none}.hero h1.editorial-title{font-size:38px}.hero .hero-brand{flex-basis:100%}}
@media(max-width:650px){.hero{padding:22px 20px}.hero .eyebrow{font-size:12px;margin-bottom:22px}.hero h1.editorial-title{font-size:32px}.title-kicker{font-size:11px;letter-spacing:.16em}.hero .activity-description{font-size:16px}.hero .prompt-disclaimer{font-size:14px}.hero .privacy{font-size:12px}.hero .header-controls{padding-top:4px}}

/* WebAI-style settings bar: controls stay above the title at every width. */
.header-topbar{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.header-brand{min-height:46px;padding:0;border:0;background:transparent;color:inherit;font:650 18px/1 "Segoe UI",sans-serif;letter-spacing:.055em;cursor:pointer}
.hero .header-controls{position:static!important;display:flex;align-items:center;flex-wrap:nowrap;gap:12px;max-width:none;padding:0}
.hero .header-controls button{min-height:46px;padding:8px 12px;border:1px solid var(--border);border-radius:12px;background:#fff;color:#4b4050;font:600 14px/1.2 "Segoe UI",sans-serif;cursor:pointer}
.hero .header-controls .theme-toggle{gap:10px}
@media(max-width:650px){.header-topbar{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:12px}.header-brand{font-size:17px}.hero .header-controls{gap:7px;padding:0}.hero .header-controls button{padding:7px 9px;font-size:13px}.hero .theme-toggle{gap:10px}.hero .hero-top{display:block}}
.theme-icon,.lang-short{display:none}.theme-icon{width:19px;height:19px;fill:currentColor}
@media(max-width:650px){.header-topbar{align-items:flex-start;flex-wrap:nowrap}.header-brand{white-space:nowrap}.hero .header-controls{position:absolute!important;top:0;right:0;flex:none;margin:0;gap:5px}.hero .header-controls button{width:34px;min-width:34px;min-height:34px;padding:0}.hero #languageToggle{order:1;font-size:11px;font-weight:650}.hero #languageToggle .lang-full{display:none}.hero #languageToggle .lang-short{display:inline}.hero .theme-toggle{position:relative;order:2;gap:0;justify-content:center}.hero .theme-toggle .theme-track,.hero .theme-toggle .theme-label{display:none}.hero .theme-toggle .theme-icon{display:block}.hero h1.editorial-title{font-size:34px!important;font-weight:600}}
