:root { --accent: #e5f629; --accent-hover: #d5e61b; --brand-ink: #191823; }
.theia-header .menu-toggle { display: none; }
.theia-hero { position: relative; min-height: 760px; height: 100svh; color: var(--brand-ink); background: #f6f6ff; background-image: url('public/assets/theia-yellow-seam.svg'), url('public/assets/theia-cool-pearl.webp'); background-position: center; background-size: cover; background-repeat: no-repeat; }
.theia-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 4.3%; }
.theia-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 29px; letter-spacing: .04em; font-weight: 500; }
.theia-brand svg { width: 38px; height: 38px; }
.theia-nav { display: flex; gap: 46px; align-items: center; }
.theia-nav a { font-size: 16px; padding: 10px 0; }
.theia-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.theia-nav a span { margin-left: 4px; }
.theia-pill { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 36px; border: 1px solid var(--accent); border-radius: 999px; color: var(--brand-ink); background: var(--accent); font-size: 17px; font-weight: 500; cursor: pointer; transition: background .2s, transform .2s; }
.theia-pill:hover { background: var(--accent-hover); transform: translateY(-2px); }
.header-pilot { min-height: 42px; padding: 0 23px; font-size: 15px; }
.theia-hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -45%); width: min(1140px, 92%); text-align: center; }
.theia-eyebrow { margin-bottom: 31px; color: #575566; text-transform: uppercase; font-size: 15px; font-weight: 650; letter-spacing: .23em; }
.theia-hero h1 { margin: 0 0 35px; font-size: clamp(56px, 6.05vw, 100px); font-weight: 400; letter-spacing: -.055em; line-height: .99; }
.theia-description { margin: 0 auto 42px; color: #706e80; font-size: clamp(19px, 1.78vw, 28px); line-height: 1.45; letter-spacing: -.025em; }
.theia-actions { display: flex; justify-content: center; gap: 25px; }
.theia-actions .theia-pill { min-width: 202px; }
.theia-outline { color: var(--brand-ink); border-color: #aaa6bb; background: transparent; }
.theia-outline:hover { background: #f6f5ff; }
.theia-outline span { font-size: 16px; }
.theia-byline { margin: 36px 0 0; color: #7c798b; font-size: 16px; }
.theia-scroll { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); font-size: 32px; color: #706e80; padding: 8px 20px; }
a:focus-visible, button:focus-visible { outline: 3px solid #7754a4; outline-offset: 5px; }
#demo-dialog { width: min(540px, calc(100% - 32px)); padding: 44px 32px 32px; border: 1px solid #e4e1ed; border-radius: 24px; color: var(--brand-ink); background: #fafaff; box-shadow: 0 30px 100px #19182333; }
#demo-dialog::backdrop { background: #19182366; backdrop-filter: blur(5px); }
#demo-dialog h2 { font-size: 32px; letter-spacing: -.04em; }
#demo-dialog p { line-height: 1.6; color: #575566; }
.demo-close { position: absolute; top: 10px; right: 15px; border: 0; background: none; font-size: 30px; cursor: pointer; color: inherit; }
@media (max-width: 900px) {
 .theia-header { padding: 24px 5%; gap: 16px; }
 .theia-nav { gap: 22px; }
 .theia-brand { font-size: 23px; gap: 6px; }
 .theia-brand svg { width: 30px; }
 .theia-nav a { font-size: 14px; }
 .theia-hero h1 { font-size: clamp(48px, 7vw, 70px); }
}
@media (max-width: 700px) {
 .theia-hero { min-height: 720px; background-position: 48% center; }
 .theia-header { position: relative; z-index: 5; }
 .header-pilot { margin-left: auto; min-height: 38px; font-size: 13px; padding: 0 17px; }
 .theia-header .menu-toggle { display: flex; position: static; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; padding: 8px; border: 1px solid #aaa6bb; border-radius: 50%; background: #fff8; order: 3; }
 .theia-header .menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 1px; background: var(--brand-ink); }
 .theia-nav { display: none; position: absolute; top: 80px; left: 5%; right: 5%; padding: 20px; border: 1px solid #e4e1ed; border-radius: 20px; background: #fafaff; box-shadow: 0 15px 35px #19182314; }
 .theia-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
 .theia-nav a { padding: 12px; font-size: 16px; }
 .theia-hero-content { width: 92%; transform: translate(-50%, -40%); }
 .theia-eyebrow { font-size: 11px; margin-bottom: 28px; }
 .theia-hero h1 { font-size: clamp(38px, 8.5vw, 59px); line-height: 1.06; margin-bottom: 25px; }
 .theia-description { font-size: 18px; max-width: 32ch; margin-bottom: 30px; }
 .desktop-break { display: none; }
 .theia-actions { gap: 12px; flex-wrap: wrap; }
 .theia-actions .theia-pill { min-width: 160px; min-height: 48px; padding: 0 19px; font-size: 14px; }
 .theia-byline { font-size: 13px; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .theia-pill { transition: none; } html { scroll-behavior: auto; } }

.theia-header a[aria-disabled="true"], .theia-actions a[aria-disabled="true"] { cursor: default; }
.theia-nav a[aria-disabled="true"]:hover { text-decoration: none; }
.theia-pill[aria-disabled="true"]:hover { transform: none; background: var(--brand-ink); }

.theia-eyebrow { display: flex; align-items: center; justify-content: center; gap: 15px; }
.theia-eyebrow::before { content: ''; width: 11px; height: 11px; background: var(--accent); flex: 0 0 auto; }
