:root {
    --up-glass: rgba(30, 29, 26, .76);
    --up-glass-border: rgba(255, 255, 255, .16);
    --up-glass-highlight: rgba(255, 255, 255, .22);
    --up-glass-shadow: 0 8px 24px rgba(0, 0, 0, .18), inset 0 1px 0 var(--up-glass-highlight);
    --up-gold-glass: linear-gradient(145deg, #e4cd9a 0%, #c9ab70 55%, #b39155 100%);
}
.up-button, body.unity-app :is(button, .hero-btn, a.rounded-xl, a.rounded-2xl) {
    border-radius: 999px;
    border: 1px solid var(--up-glass-border);
    box-shadow: var(--up-glass-shadow);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
    min-height: 44px;
}
.up-button {
    background: var(--up-gold-glass);
    border-color: rgba(255, 236, 193, .48);
    color: #18130b;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .65);
}
.up-button:hover { background: linear-gradient(145deg, #f0ddb6, #d8bc84 60%, #c9ab70); }
.up-button:active, body.unity-app :is(button, .hero-btn):active { transform: scale(.98); }
.up-button:focus-visible, body.unity-app :is(button, a, input, select, textarea):focus-visible { outline: 2px solid var(--up-accent); outline-offset: 4px; }
body.unity-app :is(button, .hero-btn) { text-transform: none; letter-spacing: 0; font-weight: 500; }
body.unity-app button { background-image: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .015)); }
body.unity-app :is(button[type="submit"], .hero-btn):not([class*="text-red"]):not([class*="text-green"]) {
    background: var(--up-gold-glass) !important;
    color: #18130b !important;
    border: 1px solid rgba(255, 236, 193, .48);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .6) !important;
}
body.unity-app :is(button, .hero-btn):disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none !important; }
body.unity-app :is(a.rounded-xl, a.rounded-2xl):hover { border-color: rgba(201, 171, 112, .38); }
body.unity-app .glass {
    background: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 65%), #141414;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 20px !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.unity-app > .flex-1, body.unity-app main { min-width: 0; }
body.unity-app main { background: #080808; }
body.unity-app :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    border-radius: 12px;
    border-color: rgba(255, 255, 255, .15);
    background-color: rgba(255, 255, 255, .035);
    min-height: 44px;
}
body.unity-app :is(input, select, textarea):focus { border-color: var(--up-accent); }
body.unity-app aside.up-sidebar {
    background: linear-gradient(160deg, rgba(201, 171, 112, .055), transparent 38%), #101010;
    border-right: 1px solid rgba(255, 255, 255, .1);
}
body.unity-app .up-sidebar nav a { box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 12px; border: 1px solid transparent; background: transparent; }
body.unity-app .up-sidebar nav a.up-nav-current {
    background: linear-gradient(140deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
    border: 1px solid rgba(201, 171, 112, .2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
    color: var(--up-ink);
}
body.unity-app .up-sidebar nav p { font-size: 11px; opacity: .8; letter-spacing: .06em; }
body.unity-app .up-sidebar nav a span { font-size: 13px; }
body.unity-app header { background: rgba(14, 14, 14, .82); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
body.unity-app table { font-variant-numeric: tabular-nums; }
body.unity-app thead { background: rgba(255, 255, 255, .025); }
body.unity-app th { font-size: 12px !important; font-weight: 500 !important; letter-spacing: .02em !important; }
body.unity-app td { font-size: 13px; }
body.unity-app main :is(h1, h2, h3) { text-transform: none; }
body.unity-app main p { font-style: normal; }
body.unity-app main :is(h1, h2, h3) :is([class*="text-blue"], [class*="text-purple"], [class*="text-yellow"]) { color: var(--up-accent); }
body.unity-app label { font-size: 12px !important; letter-spacing: .04em !important; }
body.unity-app .text-admin-red { color: var(--up-accent); }
.up-shell-toggle { display: none; }
.up-shell-backdrop { display: none; }
.up-header { position: relative; z-index: 20; }
.up-nav { padding: 2px 26px; border: 1px solid var(--up-glass-border); border-radius: 999px; background: var(--up-glass); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.up-hero { grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 60px 65px; }
.up-hero h1 { font-size: clamp(48px, 5.7vw, 80px); letter-spacing: -.055em; }
.up-hero-copy > p:not(.up-kicker) { max-width: 450px; }
.up-photo { position: relative; min-width: 0; margin: 0; }
.up-photo > img { display: block; width: 100%; height: 570px; object-fit: cover; object-position: 58% center; border-radius: 28px; }
.up-photo::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 28px; pointer-events: none; }
.up-photo-card { position: absolute; bottom: 25px; left: -32px; right: 25px; display: flex; align-items: center; gap: 16px; padding: 22px 25px; background: rgba(20, 19, 17, .82); border: 1px solid rgba(255, 255, 255, .24); border-radius: 22px; backdrop-filter: blur(24px) saturate(120%); -webkit-backdrop-filter: blur(24px) saturate(120%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 35px rgba(0, 0, 0, .18); }
.up-photo-card img { width: 37px; height: 37px; }
.up-photo-card strong { display: block; font-size: 17px; font-weight: 500; }
.up-photo-card span { display: block; color: #c5c3bd; font-size: 14px; margin-top: 3px; }
.up-hero-note { color: var(--up-muted); font-size: 13px; margin-top: 20px; }
.up-hero-note a { text-decoration: underline; text-underline-offset: 3px; }
.up-photo-credit { color: var(--up-muted); font-size: 12px; margin: 12px 8px 0; text-align: right; }
.up-text-link { border: 1px solid var(--up-glass-border); border-radius: 999px; padding: 11px 21px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); transition: background .2s, border-color .2s; }
.up-text-link:hover { background: rgba(255, 255, 255, .08); border-color: rgba(201, 171, 112, .4); }
.up-platform { padding-block: 95px; background: #0e0e0e; }
.up-human { position: relative; overflow: hidden; padding-block: 75px; }
.up-human-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.up-human-image { width: 100%; height: 430px; object-fit: cover; object-position: 75% center; border-radius: 24px; }
.up-human h2 { font-size: clamp(36px, 3.8vw, 54px); font-weight: 400; letter-spacing: -.045em; line-height: 1.1; margin: 0; text-wrap: balance; }
.up-human p { color: var(--up-muted); margin: 25px 0; max-width: 430px; }
.up-human ul { list-style: none; margin: 26px 0; padding: 0; }
.up-human li { display: flex; gap: 12px; align-items: center; margin: 15px 0; }
.up-human li::before { content: '✓'; color: var(--up-accent); }
.up-closing { background: linear-gradient(120deg, rgba(201, 171, 112, .075), transparent 65%), #141414; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .up-nav, .up-photo-card, body.unity-app header { background: #191817; }
}
@media (prefers-reduced-transparency: reduce) {
    .up-nav, .up-photo-card, body.unity-app header { background: #191817; backdrop-filter: none; -webkit-backdrop-filter: none; }
    body.unity-app :is(button, .hero-btn, a.rounded-xl, a.rounded-2xl), .up-button { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
    .up-button, body.unity-app :is(button, .hero-btn, a) { transition: none; transform: none !important; }
}
@media (max-width: 1100px) {
    .up-hero { gap: 35px; }
    .up-nav { padding-inline: 17px; gap: 20px; }
    .up-actions { gap: 16px; }
    .up-photo > img { height: 520px; }
    .up-photo-card { left: -12px; padding: 18px; }
    .up-photo-card strong { font-size: 15px; }
    .up-human-layout { gap: 50px; }
}
@media (max-width: 800px) {
    .up-nav { display: none; }
    .up-hero { grid-template-columns: 1fr; padding-top: 42px; gap: 38px; }
    .up-hero h1 { font-size: clamp(48px, 8vw, 70px); }
    .up-hero-copy > p:not(.up-kicker) { max-width: 510px; }
    .up-hero-cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
    .up-photo > img { height: 450px; object-position: center 38%; }
    .up-photo-card { left: 20px; right: 20px; bottom: 45px; }
    .up-menu { display: block; }
    .up-human-layout { grid-template-columns: 1fr; gap: 35px; }
    .up-human-image { height: 340px; }
    body.unity-app .up-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; z-index: 90; display: flex !important; transform: translateX(-100%); visibility: hidden; transition: transform .2s, visibility .2s; }
    body.unity-app.up-nav-open .up-sidebar { transform: translateX(0); visibility: visible; }
    body.unity-app .up-shell-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; flex-shrink: 0; color: var(--up-ink); background: var(--up-glass); margin-right: 12px; }
    body.unity-app.up-nav-open .up-shell-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .6); border: 0; border-radius: 0; z-index: 80; backdrop-filter: none; }
    body.unity-app header { padding-inline: 20px; }
    body.unity-app header h2 { font-size: 14px; }
    body.unity-app header > div > span { font-size: 9px; letter-spacing: 0; }
    body.unity-app main { padding: 24px 18px; }
    body.unity-app main .glass { padding: 24px !important; }
}
@media (max-width: 480px) {
    .up-hero { padding-block: 30px 35px; gap: 25px; }
    .up-hero h1 { font-size: 46px; }
    .up-hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
    .up-hero-cta .up-text-link { align-self: stretch; justify-content: center; }
    .up-photo > img { height: 390px; border-radius: 22px; }
    .up-photo::after { border-radius: 22px; }
    .up-photo-card { left: 14px; right: 14px; padding: 16px; gap: 12px; border-radius: 18px; }
    .up-photo-card span { font-size: 13px; }
    .up-photo-card img { width: 30px; height: 30px; }
    .up-platform { padding-block: 60px; }
    .up-human { padding-block: 55px; }
    .up-human h2 { font-size: 36px; }
    .up-photo-credit { font-size: 12px; }
}
