:root {
  --bg: var(--uos-canvas);
  --surface: color-mix(in srgb, var(--uos-surface) 82%, transparent);
  --surface-solid: var(--uos-surface);
  --ink: var(--uos-ink);
  --muted: var(--uos-ink-soft);
  --line: var(--uos-line);
  --navy: var(--uos-canvas-soft);
  --navy-2: var(--uos-surface-raised);
  --cyan: var(--uos-cyan);
  --cyan-strong: var(--uos-cyan);
  --copper: var(--uos-violet);
  --lime: var(--uos-success);
  --warning: var(--uos-warning);
  --danger: var(--uos-danger);
  --radius: var(--uos-radius-xl);
  --shadow: var(--uos-shadow-2);
  --font: var(--uos-font-sans);
}

[data-theme="dark"] {
  --bg: var(--uos-canvas);
  --surface: color-mix(in srgb, var(--uos-surface) 82%, transparent);
  --surface-solid: var(--uos-surface);
  --ink: var(--uos-ink);
  --muted: var(--uos-ink-soft);
  --line: var(--uos-line);
  --navy: var(--uos-canvas-soft);
  --navy-2: var(--uos-surface-raised);
  --cyan: var(--uos-cyan);
  --cyan-strong: var(--uos-cyan);
  --copper: var(--uos-violet);
  --lime: var(--uos-success);
  --shadow: var(--uos-shadow-2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; transform: translateY(-150%); padding: 10px 14px; background: #fff; color: #07111c; border-radius: 12px; }
.skip-link:focus { transform: translateY(0); }
.container { width: var(--uos-shell); margin: 0 auto; }
.section { padding: 110px 0; }
.eyebrow { margin: 0 0 16px; color: var(--cyan-strong); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.display { margin: 0; max-width: 920px; font-size: clamp(2.55rem, 6vw, 6.35rem); line-height: .94; letter-spacing: -.065em; font-weight: 610; }
.section-title { margin: 0; max-width: 930px; font-size: clamp(2rem, 4.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.052em; font-weight: 600; }
.lede { margin: 24px 0 0; max-width: 780px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 750; cursor: pointer; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.button:hover { transform: translateY(-2px); border-color: rgba(88, 215, 244, .6); }
.button.primary { border-color: transparent; background: var(--cyan); color: #05121d; box-shadow: 0 12px 36px rgba(65, 204, 234, .28); }
.button.dark { border-color: rgba(255,255,255,.16); background: #f6f8f7; color: #07111c; }
.button.ghost-dark { border-color: rgba(255,255,255,.19); background: rgba(255,255,255,.06); color: #f7fbfc; }
.button.small { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.button svg { width: 18px; height: 18px; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px 0; transition: padding .25s ease, background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { padding: 8px 0; background: rgba(7, 17, 28, .83); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 1px rgba(255,255,255,.08); }
.nav-shell { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 20px; min-height: 58px; padding: 0 12px 0 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(7,17,28,.72); color: #f5f8f7; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: #071126; color: #07111c; font-size: 1.3rem; font-weight: 900; overflow: hidden; }
.brand-core img { width: 42px; height: 42px; max-width: none; }
.brand-word { font-size: .92rem; line-height: 1; font-weight: 800; letter-spacing: .14em; white-space: nowrap; }
.brand-note { display: block; margin-top: 5px; color: #98a8b4; font-size: .59rem; letter-spacing: .11em; text-transform: uppercase; }
.desktop-nav { display: flex; min-width: 0; align-items: center; gap: 2px; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: #cdd7dc; font-size: .86rem; font-weight: 650; cursor: pointer; white-space: nowrap; }
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.nav-trigger::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-actions { position: relative; display: flex; align-items: center; gap: 8px; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.05); color: #eef4f5; cursor: pointer; }
.icon-button:hover { background: rgba(255,255,255,.1); }
.icon-button svg { width: 19px; height: 19px; }
.icon-button.theme-switch { display: inline-flex; width: auto; min-width: 112px; padding: 0 12px 0 10px; gap: 8px; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.09); font: inherit; font-size: .78rem; font-weight: 780; letter-spacing: .01em; }
.theme-switch-label { white-space: nowrap; }
.theme-switch::after { display: none; }
.theme-switch[data-target-theme="midnight"] svg { color: #c7d7ff; }
.theme-switch[data-target-theme="paper"] svg { color: #ffdc76; }
.nav-login { min-height: 42px; padding: 0 17px; border: 0; border-radius: 13px; background: #eef4f1; color: #07111c; font-weight: 800; cursor: pointer; white-space: nowrap; }
.account-trigger { display: inline-flex; width: auto; max-width: 190px; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; text-align: left; }
.account-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px; object-fit: cover; background: linear-gradient(135deg,#75efff,#8065ff); color: #06101b; font-size: .7rem; font-weight: 900; }
.account-avatar.large { width: 46px; height: 46px; border-radius: 14px; font-size: .85rem; }
.account-trigger-copy { display: grid; min-width: 0; line-height: 1.05; }
.account-trigger-copy small { color: #40505b; font-size: .58rem; font-weight: 750; }
.account-trigger-copy strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.account-chevron { width: 7px; height: 7px; flex: 0 0 auto; margin-left: 1px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.account-trigger[aria-expanded="true"] .account-chevron { transform: translateY(2px) rotate(225deg); }
.account-menu { position: absolute; top: calc(100% + 12px); right: 0; z-index: 130; width: min(330px, calc(100vw - 30px)); padding: 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 19px; background: rgba(7,17,28,.98); color: #f5f8f7; box-shadow: 0 28px 85px rgba(0,0,0,.42); opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: .2s ease; }
.account-menu.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.account-menu-head { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; align-items: center; padding: 8px 8px 10px; }
.account-menu-head strong, .account-menu-head span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-head strong { font-size: .92rem; }
.account-menu-head span { margin-top: 3px; color: #99abb5; font-size: .72rem; }
.account-menu-status { margin: 0 7px 8px; padding: 7px 9px; border-radius: 9px; font-size: .69rem; font-weight: 800; }
.account-menu-status.active { background: rgba(48,227,184,.11); color: #73f0d1; }
.account-menu-status.pending { background: rgba(255,214,107,.11); color: #ffe296; }
.account-menu-item { display: block; width: 100%; padding: 10px 11px; border: 0; border-radius: 11px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.account-menu-item:hover { background: rgba(88,215,244,.09); }
.account-menu-item span, .account-menu-item small { display: block; }
.account-menu-item span { font-size: .82rem; font-weight: 760; }
.account-menu-item small { margin-top: 2px; color: #91a4af; font-size: .68rem; }
.account-menu-item.disabled { cursor: default; opacity: .64; }
.account-logout { margin-top: 5px; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0 0 11px 11px; }
.mobile-toggle { display: none; }
.mega-menu { position: fixed; top: 88px; left: 50%; z-index: 110; width: min(1100px, calc(100% - 40px)); transform: translate(-50%, -12px); padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(8,18,29,.96); color: #f5f8f7; box-shadow: 0 34px 100px rgba(0,0,0,.4); opacity: 0; visibility: hidden; pointer-events: none; transition: .22s ease; }
.mega-menu.open { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mega-card { min-height: 190px; padding: 22px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); }
.mega-card:hover { border-color: rgba(88,215,244,.45); background: linear-gradient(145deg, rgba(88,215,244,.12), rgba(255,255,255,.03)); }
.mega-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 28px; border-radius: 13px; background: rgba(88,215,244,.13); color: var(--cyan); font-weight: 850; }
.mega-card strong { display: block; font-size: 1.07rem; }
.mega-card span { display: block; margin-top: 7px; color: #9fb0bb; font-size: .88rem; }
.language-menu { position: fixed; top: 88px; right: max(20px, calc((100vw - 1240px)/2)); z-index: 112; width: 250px; padding: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(8,18,29,.97); color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s ease; }
.language-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.language-option { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 45px; padding: 0 13px; border: 0; border-radius: 11px; background: transparent; color: #cfdbdf; cursor: pointer; }
.language-option:hover, .language-option.active { color: #fff; background: rgba(88,215,244,.11); }
.language-option.active::after { content: '✓'; color: var(--cyan); }

.hero { position: relative; min-height: 920px; padding: 175px 0 70px; overflow: hidden; background: #07111c; color: #f7faf9; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 12% 12%, rgba(88,215,244,.12), transparent 30%), radial-gradient(circle at 85% 25%, rgba(217,155,108,.12), transparent 32%), linear-gradient(115deg, transparent 40%, rgba(201,246,122,.03)); }
.hero::after { content: ''; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr); gap: 62px; align-items: center; }
.hero-copy .eyebrow { color: #c9f67a; }
.hero-copy .display { max-width: 720px; }
.hero-copy .lede { color: #aebcc5; max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.live-pill { display: inline-flex; align-items: center; gap: 9px; margin-top: 32px; color: #b9c5cb; font-size: .86rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9f67a; box-shadow: 0 0 0 7px rgba(201,246,122,.09); }
.hero-viewer { position: relative; min-height: 610px; border: 1px solid rgba(255,255,255,.13); border-radius: 30px; background: radial-gradient(circle at 50% 37%, rgba(88,215,244,.11), transparent 32%), linear-gradient(155deg, #0b1b2a, #06101a); box-shadow: 0 40px 100px rgba(0,0,0,.35); overflow: hidden; }
.hero-viewer::before { content: ''; position: absolute; left: 10%; right: 10%; bottom: 14%; height: 1px; background: linear-gradient(90deg, transparent, rgba(88,215,244,.6), transparent); box-shadow: 0 0 28px rgba(88,215,244,.6); }
model-viewer { display: block; width: 100%; height: 610px; background: transparent; --progress-bar-color: var(--cyan); }
.viewer-top, .viewer-bottom { position: absolute; left: 18px; right: 18px; z-index: 5; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.viewer-top { top: 18px; }
.viewer-bottom { bottom: 18px; align-items: flex-end; }
.viewer-label { padding: 9px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(4,13,21,.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #dce7e9; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.viewer-copy strong { display: block; font-size: 1.06rem; }
.viewer-copy span { color: #9fb0bb; font-size: .8rem; }
.viewer-hint { max-width: 170px; color: #8ea0ab; font-size: .72rem; text-align: right; }
.hero-proof { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 60px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.08); }
.proof-item { padding: 22px; background: rgba(7,17,28,.74); }
.proof-item strong { display: block; color: #f4f8f7; font-size: .93rem; }
.proof-item span { display: block; margin-top: 4px; color: #91a2ad; font-size: .82rem; }

.cycle { position: relative; overflow: hidden; }
.cycle::after { content: ''; position: absolute; width: 560px; height: 560px; right: -250px; top: 80px; border-radius: 50%; border: 1px solid var(--line); box-shadow: inset 0 0 0 70px rgba(88,215,244,.025), inset 0 0 0 140px rgba(217,155,108,.025); pointer-events: none; }
.cycle-head { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: end; }
.cycle-head .lede { margin: 0; }
.stage-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 70px; }
.stage-card { position: relative; min-height: 280px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 10px 36px rgba(7,17,28,.045); overflow: hidden; }
.stage-card::after { content: ''; position: absolute; width: 120px; height: 120px; right: -45px; bottom: -48px; border-radius: 50%; background: var(--accent, var(--cyan)); opacity: .16; filter: blur(2px); }
.stage-card:nth-child(2) { --accent: var(--copper); transform: translateY(24px); }
.stage-card:nth-child(3) { --accent: var(--lime); }
.stage-card:nth-child(4) { --accent: #c8b4ff; transform: translateY(24px); }
.stage-number { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .73rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.stage-number::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--cyan)); }
.stage-card h3 { margin: 86px 0 10px; font-size: 1.45rem; letter-spacing: -.03em; }
.stage-card p { margin: 0; color: var(--muted); }

.products { background: var(--navy); color: #f4f8f7; }
.products .section-title { color: #f5f8f7; }
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.product-grid > .product-card { grid-column: span 2; }
.product-grid > .product-card:nth-last-child(-n+2) { grid-column: span 3; }
.product-card { position: relative; min-height: 520px; padding: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: #0b1a28; overflow: hidden; display: flex; flex-direction: column; }
.product-card::before { content: ''; position: absolute; inset: 0; background: var(--product-image); background-size: cover; background-position: center; opacity: .48; transition: transform .6s ease, opacity .4s ease; }
.product-card:hover::before { transform: scale(1.035); opacity: .6; }
.product-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, #08131f 10%, rgba(8,19,31,.62) 58%, rgba(8,19,31,.06)); }
.product-card > * { position: relative; z-index: 2; }
.product-tag { align-self: flex-start; padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(3,10,17,.5); color: #c5d1d7; font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.product-spacer { flex: 1; min-height: 220px; }
.product-card h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.04em; }
.product-card p { margin: 12px 0 24px; color: #b2bec5; }
.product-link { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; }
.product-link::after { content: '↗'; color: var(--cyan); }

.community-feature { position: relative; min-height: 700px; overflow: hidden; background: #dce8e2; color: #0b1922; }
.community-feature::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,28,.92) 0 35%, rgba(7,17,28,.35) 60%, transparent), url('assets/blog/10-community.webp') center/cover; }
.community-copy { position: relative; z-index: 2; width: min(610px, 58%); padding-top: 110px; color: #f5f8f7; }
.community-copy .section-title { color: #f5f8f7; }
.community-copy .lede { color: #bdc9ce; }
.community-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.blog-preview { overflow: hidden; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.article-card { min-width: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; box-shadow: 0 12px 38px rgba(7,17,28,.055); transition: transform .3s ease, box-shadow .3s ease; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-image { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #0b1926; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-image::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(4,12,19,.92)); pointer-events: none; }
.article-image-title { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; font-size: clamp(1rem, 1.6vw, 1.4rem); font-weight: 750; line-height: 1.12; letter-spacing: -.025em; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.article-card:hover .article-image img { transform: scale(1.035); }
.article-body { padding: 24px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .75rem; font-weight: 720; }
.article-category { color: var(--cyan-strong); }
.article-card h3 { margin: 16px 0 10px; font-size: 1.34rem; line-height: 1.15; letter-spacing: -.03em; }
.article-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.article-read { display: inline-flex; gap: 8px; margin-top: 20px; font-weight: 800; font-size: .9rem; }
.article-read::after { content: '→'; color: var(--cyan-strong); }

.final-cta { padding: 40px 0 100px; }
.final-shell { position: relative; padding: 70px; border-radius: 34px; background: linear-gradient(130deg, #0a1a28, #102b3c 70%, #14312d); color: #f5f8f7; overflow: hidden; }
.final-shell::before { content: ''; position: absolute; width: 460px; height: 460px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(201,246,122,.3), transparent 66%); }
.final-shell .section-title { max-width: 830px; color: #f5f8f7; }
.final-shell .lede { color: #b5c3c9; }
.final-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.site-footer { padding: 30px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; color: var(--muted); font-size: .86rem; }
.footer-meta { margin-top: 22px; color: var(--muted); font-size: .72rem; }

.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(2,8,13,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: .22s ease; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(520px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; padding: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: #0b1a28; color: #f4f8f7; box-shadow: 0 40px 120px rgba(0,0,0,.45); transform: translateY(18px) scale(.985); transition: transform .25s ease; }
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.modal-card h2 { margin: 4px 42px 8px 0; font-size: 2rem; line-height: 1.05; letter-spacing: -.04em; }
.modal-card > p { margin: 0 0 24px; color: #aebdc5; }
.auth-stack { display: grid; gap: 10px; }
.auth-button { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(255,255,255,.055); color: #f6f9f8; font-weight: 750; cursor: pointer; }
.auth-button:hover { border-color: rgba(88,215,244,.45); background: rgba(88,215,244,.09); }
.provider-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; color: #0b1a28; font-size: .78rem; font-weight: 900; }
.auth-note { margin-top: 18px; color: #8496a1; font-size: .78rem; text-align: center; }
.auth-modal-wide { width: min(680px, 100%); }
.role-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.role-option { min-height: 43px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.045); color: #bdcbd1; cursor: pointer; font-size: .82rem; font-weight: 720; }
.role-option:hover, .role-option.active { border-color: rgba(88,215,244,.5); background: rgba(88,215,244,.14); color: #fff; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; color: #7f929d; font-size: .73rem; text-transform: uppercase; letter-spacing: .1em; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: rgba(255,255,255,.11); }
.auth-alternative { width: 100%; min-height: 44px; border: 0; background: transparent; color: var(--cyan); cursor: pointer; font-weight: 700; }
.access-request-form { display: grid; gap: 13px; margin-top: 16px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.11); }
.access-request-form[hidden] { display: none; }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: grid; gap: 7px; }
.form-field > span { color: #9eafb8; font-size: .74rem; font-weight: 760; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 12px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; outline: 0; background: rgba(255,255,255,.055); color: #f5f8f7; }
.form-field select option { color: #07111c; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--cyan); }
.form-status { min-height: 20px; color: #a9bbc3; font-size: .78rem; }
.notice-card { width: min(600px, 100%); }
.notice-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 25px; border-radius: 18px; background: rgba(255,214,107,.12); color: var(--warning); font-size: 1.5rem; }
.notice-actions { display: flex; gap: 10px; margin-top: 26px; }

.onboarding { position: fixed; inset: 0; z-index: 170; display: grid; place-items: center; padding: 20px; background: rgba(2,8,13,.82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: .25s ease; }
.onboarding.open { opacity: 1; visibility: visible; }
.onboarding-shell { width: min(1040px, 100%); min-height: 620px; border: 1px solid rgba(255,255,255,.13); border-radius: 32px; background: #081521; color: #f4f8f7; overflow: hidden; box-shadow: 0 50px 140px rgba(0,0,0,.5); }
.onboarding-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.09); }
.onboarding-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .08em; }
.onboarding-skip { border: 0; background: transparent; color: #a7b6be; cursor: pointer; }
.onboarding-stage { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 480px; }
.onboarding-visual { position: relative; min-height: 480px; overflow: hidden; background-size: cover; background-position: center; }
.onboarding-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, #081521 100%); }
.onboarding-copy { display: flex; flex-direction: column; justify-content: center; padding: 52px; }
.onboarding-kicker { color: var(--cyan); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.onboarding-copy h2 { margin: 18px 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: .98; letter-spacing: -.052em; }
.onboarding-copy p { margin: 0; color: #aebdc5; font-size: 1.05rem; }
.onboarding-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-top: 1px solid rgba(255,255,255,.09); }
.onboarding-dots { display: flex; gap: 8px; }
.onboarding-dot { width: 32px; height: 5px; border: 0; border-radius: 99px; background: rgba(255,255,255,.13); cursor: pointer; }
.onboarding-dot.active { background: var(--cyan); }
.onboarding-buttons { display: flex; gap: 8px; }

.page-hero { padding: 160px 0 70px; background: var(--navy); color: #f5f8f7; }
.page-hero .section-title { color: #f5f8f7; }
.page-hero .lede { color: #aebdc5; }
.blog-toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 36px; }
.filter-button { min-height: 40px; padding: 0 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.05); color: #b7c4ca; cursor: pointer; }
.filter-button.active, .filter-button:hover { background: var(--cyan); color: #07111c; border-color: transparent; }
.blog-page .article-grid { grid-template-columns: repeat(3, 1fr); }
.article-page { background: var(--surface-solid); }
.article-header { padding: 155px 0 45px; }
.article-header-inner { width: min(930px, calc(100% - 40px)); margin: 0 auto; }
.article-header .article-meta { justify-content: flex-start; }
.article-header h1 { margin: 22px 0; font-size: clamp(2.6rem, 6vw, 6.2rem); line-height: .94; letter-spacing: -.062em; font-weight: 620; }
.article-header .lede { max-width: 820px; }
.article-cover { width: min(1180px, calc(100% - 40px)); margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; }
.article-content { width: min(780px, calc(100% - 40px)); margin: 70px auto 110px; }
.article-content h2 { margin: 52px 0 15px; font-size: 2rem; line-height: 1.12; letter-spacing: -.035em; }
.article-content p { margin: 0 0 20px; color: color-mix(in srgb, var(--ink), var(--muted) 35%); font-size: 1.08rem; line-height: 1.76; }
.article-share { display: flex; gap: 9px; margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--line); }

.community-page .page-hero { min-height: 620px; background: linear-gradient(90deg, rgba(7,17,28,.95) 0 36%, rgba(7,17,28,.25)), url('assets/blog/10-community.webp') center/cover; }
.community-page .page-hero .lede { max-width: 640px; }
.gallery-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.search-field { display: flex; align-items: center; gap: 10px; min-width: min(400px, 100%); padding: 0 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.search-field input { width: 100%; min-height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model-card { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; }
.model-preview { position: relative; aspect-ratio: 4/3; background: #0b1926; }
.model-preview img { width: 100%; height: 100%; object-fit: cover; }
.model-badge { position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(7,17,28,.74); color: #e9f0f1; font-size: .7rem; font-weight: 800; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.model-info { padding: 19px; }
.model-info h3 { margin: 0 0 10px; font-size: 1.13rem; }
.author-row { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .84rem; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--cyan), var(--copper)); color: #07111c; font-weight: 900; }
.profile-hero { padding: 140px 0 55px; background: #07111c; color: #f5f8f7; }
.profile-shell { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.profile-avatar { width: 112px; height: 112px; border: 2px solid rgba(255,255,255,.25); border-radius: 30px; object-fit: cover; background: linear-gradient(135deg, var(--cyan), var(--copper)); }
.profile-copy h1 { margin: 0; font-size: 2.4rem; letter-spacing: -.04em; }
.profile-copy p { margin: 7px 0 0; color: #aab8c0; }
.profile-stats { display: flex; gap: 24px; margin-top: 20px; }
.profile-stats strong { display: block; color: #fff; font-size: 1.25rem; }
.profile-stats span { color: #8fa1ab; font-size: .76rem; }
.profile-settings { max-width: 850px; margin: 0 auto; }
.settings-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.settings-card + .settings-card { margin-top: 16px; }
.settings-card h2 { margin: 0 0 20px; font-size: 1.4rem; }
.field { display: grid; gap: 7px; margin-top: 16px; }
.field label { font-size: .78rem; font-weight: 800; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-solid); color: var(--ink); outline: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.switch-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.switch-row:first-of-type { border-top: 0; }
.switch-copy strong { display: block; }
.switch-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: .86rem; }
.switch { position: relative; flex: 0 0 auto; width: 50px; height: 29px; }
.switch input { position: absolute; opacity: 0; }
.switch-track { position: absolute; inset: 0; border-radius: 999px; background: #aab3b7; cursor: pointer; transition: .2s ease; }
.switch-track::after { content: ''; position: absolute; width: 23px; height: 23px; top: 3px; left: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: .2s ease; }
.switch input:checked + .switch-track { background: var(--cyan-strong); }
.switch input:checked + .switch-track::after { transform: translateX(21px); }
.upload-zone { display: flex; align-items: center; gap: 18px; }
.upload-zone .avatar { width: 78px; height: 78px; font-size: 1.3rem; }
.account-hero { min-height: 430px; display: flex; align-items: flex-end; }
.account-section { padding-top: 54px; }
.account-settings { max-width: 920px; }
.settings-card-head, .settings-actions, .danger-zone, .developer-access, .payment-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.settings-card-head .eyebrow { margin-bottom: 7px; }
.settings-card-head h2 { margin-bottom: 0; }
.account-chip { flex: 0 0 auto; padding: 7px 10px; border: 1px solid rgba(36,185,220,.28); border-radius: 999px; background: rgba(36,185,220,.09); color: var(--cyan-strong); font-size: .72rem; font-weight: 800; }
.account-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 22px 0 4px; }
.account-facts div { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-solid); }
.account-facts span, .account-facts strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-facts span { color: var(--muted); font-size: .7rem; }
.account-facts strong { margin-top: 4px; font-size: .86rem; }
.settings-subtitle { margin: 24px 0 4px; font-size: 1rem; }
.developer-access { align-items: flex-start; }
.account-note { display: block; max-width: 580px; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.account-note.success { color: #238d75; }
.payment-actions { align-items: flex-start; margin-top: 15px; }
.payment-method { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-solid); }
.payment-card-mark { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 8px; background: var(--navy); color: var(--cyan); font-size: .7rem; font-weight: 900; }
.payment-method strong, .payment-method small { display: block; }
.payment-method small { margin-top: 2px; color: var(--muted); font-size: .7rem; }
.settings-actions .form-status { display: block; margin-top: 3px; }
.danger-zone { border-color: rgba(255,127,131,.26); }
.danger-zone .account-note { margin: 4px 0 0; }
html[data-theme="dark"] .account-note.success { color: #73f0d1; }

/* Full-cycle operating-system map */
.system-map { position: relative; overflow: hidden; background: var(--bg); }
.system-map::before { content: ''; position: absolute; width: 760px; height: 760px; top: -300px; left: -280px; border: 1px solid var(--line); border-radius: 50%; box-shadow: inset 0 0 0 80px color-mix(in srgb, var(--cyan) 4%, transparent), inset 0 0 0 160px color-mix(in srgb, var(--copper) 4%, transparent); pointer-events: none; }
.system-map-head { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.system-map-head .lede { margin: 0; }
.system-journey { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 64px; }
.system-stage { position: relative; min-height: 148px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.system-stage::after { content: ''; position: absolute; left: 18px; right: -24px; bottom: 20px; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.system-stage span { display: block; color: var(--cyan-strong); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.system-stage strong { display: block; margin-top: 23px; font-size: .92rem; line-height: 1.15; }
.system-stage small { display: block; margin-top: 8px; color: var(--muted); font-size: .61rem; letter-spacing: .1em; }
.system-stage.active { border-color: color-mix(in srgb, var(--cyan) 52%, var(--line)); background: linear-gradient(145deg, color-mix(in srgb, var(--cyan) 12%, var(--surface)), var(--surface)); }
.system-stage.active::before { content: 'LIVE'; position: absolute; top: 16px; right: 15px; color: #2a8e55; font-size: .58rem; font-weight: 900; letter-spacing: .12em; }
.system-map-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 34px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.system-map-cta strong { display: block; font-size: 1.08rem; }
.system-map-cta span { display: block; margin-top: 5px; color: var(--muted); font-size: .86rem; }
.system-map-cta > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }

/* Asset library */
.library-page { background: var(--bg); }
.library-hero { position: relative; min-height: 700px; padding: 165px 0 80px; overflow: hidden; background: #06111c; color: #f5f8f7; }
.library-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 78% 44%, rgba(88,215,244,.18), transparent 29%), radial-gradient(circle at 90% 20%, rgba(201,246,122,.1), transparent 24%), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, auto, 48px 48px, 48px 48px; }
.library-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.library-hero .display { max-width: 760px; }
.library-hero .lede { color: #aabac3; }
.library-orbit { position: relative; min-height: 440px; display: grid; place-items: center; }
.library-orbit::before, .library-orbit::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.library-orbit::before { width: 380px; height: 380px; }
.library-orbit::after { width: 270px; height: 270px; border-style: dashed; animation: orbitSpin 22s linear infinite; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.orbit-core { position: relative; z-index: 2; display: grid; place-items: center; width: 180px; height: 180px; border: 1px solid rgba(88,215,244,.45); border-radius: 50%; background: radial-gradient(circle, rgba(88,215,244,.18), rgba(7,17,28,.85)); box-shadow: 0 0 80px rgba(88,215,244,.16); }
.orbit-core span { font-size: 4.2rem; font-weight: 630; line-height: 1; letter-spacing: -.06em; }
.orbit-core small { color: var(--cyan); font-size: .65rem; letter-spacing: .16em; }
.orbit-chip { position: absolute; z-index: 3; padding: 11px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(8,22,34,.88); color: #dce7ea; font-size: .72rem; font-weight: 800; letter-spacing: .09em; box-shadow: 0 14px 40px rgba(0,0,0,.3); }
.orbit-chip.one { top: 38px; left: 48%; }
.orbit-chip.two { right: 12px; bottom: 110px; }
.orbit-chip.three { left: 15px; bottom: 105px; }
.library-browser { padding-top: 75px; }
.library-toolbar { position: sticky; top: 82px; z-index: 40; display: flex; justify-content: space-between; gap: 20px; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.library-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.library-tab { min-height: 42px; padding: 0 14px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; font-size: .82rem; font-weight: 740; }
.library-tab span { opacity: .65; margin-left: 4px; }
.library-tab.active, .library-tab:hover { border-color: var(--line); background: var(--surface-solid); color: var(--ink); }
.library-search { display: flex; align-items: center; width: min(300px, 100%); min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-solid); }
.library-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.library-search span { color: var(--muted); font-size: 1.25rem; }
.library-intro { display: flex; justify-content: space-between; gap: 20px; margin: 25px 2px 0; color: var(--muted); font-size: .78rem; }
.library-intro strong, .library-intro span { display: block; }
.library-intro strong { color: var(--ink); font-size: .92rem; }
.library-source-note { align-self: end; }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.asset-card { min-width: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 38px rgba(7,17,28,.055); overflow: hidden; transition: transform .28s ease, box-shadow .28s ease; }
.asset-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.asset-preview { position: relative; aspect-ratio: 4/3; background: radial-gradient(circle at 50% 35%, #173148, #07111c); overflow: hidden; }
.asset-preview model-viewer, .asset-preview img { width: 100%; height: 100%; object-fit: cover; }
.asset-badges { position: absolute; top: 13px; left: 13px; z-index: 3; display: flex; gap: 6px; pointer-events: none; }
.asset-badges span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(5,15,24,.74); color: #dbe6e9; font-size: .61rem; font-weight: 800; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.asset-save { position: absolute; top: 12px; right: 12px; z-index: 4; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(5,15,24,.72); color: #fff; cursor: pointer; font-size: 1.25rem; }
.asset-save.saved { background: var(--cyan); color: #07111c; }
.asset-body { padding: 20px; }
.asset-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .68rem; font-weight: 700; }
.asset-body h2 { margin: 12px 0 8px; font-size: 1.22rem; line-height: 1.13; letter-spacing: -.025em; }
.asset-body p { display: -webkit-box; min-height: 66px; margin: 0; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: var(--muted); font-size: .83rem; }
.asset-actions { display: flex; gap: 7px; margin-top: 18px; }
.asset-actions .button { flex: 1; }
.library-empty, .library-load-error { margin-top: 34px; padding: 60px 20px; border: 1px dashed var(--line); border-radius: 24px; text-align: center; color: var(--muted); }
.library-empty strong { color: var(--ink); font-size: 1.2rem; }
.library-contribute { padding: 20px 0 100px; }
.contribute-shell { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 58px; border-radius: 32px; background: linear-gradient(125deg, #081724, #123345); color: #f5f8f7; }
.contribute-shell .section-title { max-width: 830px; color: #f5f8f7; }
.contribute-shell .lede { color: #adc0c8; }
.contribute-shell > .button { flex: 0 0 auto; }
.asset-modal-card { width: min(1050px, 100%); }
.asset-detail-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 28px; }
.asset-detail-viewer { min-height: 540px; border-radius: 20px; background: radial-gradient(circle at 50% 38%, #173148, #06111b); overflow: hidden; }
.asset-detail-viewer model-viewer, .asset-detail-viewer img { width: 100%; height: 540px; object-fit: cover; }
.asset-detail-copy { padding: 24px 10px 10px 0; }
.asset-detail-copy h2 { margin-right: 0; font-size: clamp(2rem, 4vw, 3.6rem); }
.asset-detail-copy > p:not(.eyebrow) { color: #aebdc5; }
.asset-detail-copy dl { display: grid; gap: 0; margin: 28px 0; }
.asset-detail-copy dl div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.asset-detail-copy dt { color: #82949f; font-size: .75rem; }
.asset-detail-copy dd { margin: 0; font-size: .82rem; font-weight: 650; }
.asset-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.asset-source { width: 100%; margin-top: 8px; color: var(--cyan); font-size: .78rem; }
.upload-modal-card { width: min(720px, 100%); }
.upload-modal-card form { display: grid; gap: 14px; }
.upload-drop { position: relative; display: grid; place-items: center; min-height: 145px; padding: 24px; border: 1px dashed rgba(88,215,244,.45); border-radius: 18px; background: rgba(88,215,244,.06); text-align: center; }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-drop span { color: #8296a0; font-size: .78rem; }
.upload-modal-card .switch-row { justify-content: flex-start; border: 0; }
.switch-row input { position: absolute; opacity: 0; }
.switch-ui { position: relative; flex: 0 0 48px; width: 48px; height: 28px; border-radius: 999px; background: #5f707a; cursor: pointer; }
.switch-ui::after { content: ''; position: absolute; width: 22px; height: 22px; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: .2s ease; }
.switch-row input:checked + .switch-ui { background: var(--cyan-strong); }
.switch-row input:checked + .switch-ui::after { transform: translateX(20px); }
.switch-row > span:last-child strong, .switch-row > span:last-child small { display: block; }
.switch-row > span:last-child small { color: #8496a1; font-size: .72rem; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; color: #9caeb7; font-size: .75rem; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 220; min-width: min(420px, calc(100% - 30px)); padding: 14px 18px; border: 1px solid rgba(88,215,244,.3); border-radius: 15px; background: rgba(7,20,31,.95); color: #f5f8f7; box-shadow: 0 18px 60px rgba(0,0,0,.32); text-align: center; transform: translate(-50%, 150%); transition: transform .3s ease; }
.toast.show { transform: translate(-50%, 0); }
.toast[data-kind="error"] { border-color: rgba(255,127,131,.45); }

/* Make the theme switch visibly affect every content surface. */
html[data-theme="dark"] .cycle,
html[data-theme="dark"] .blog-preview,
html[data-theme="dark"] .system-map,
html[data-theme="dark"] .library-browser,
html[data-theme="dark"] .library-contribute,
html[data-theme="dark"] .site-footer { background-color: #030712; }
html[data-theme="light"] body { background-color: #f4f1ea; }
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 72% -8%, rgba(40,120,255,.2), transparent 31%),
    radial-gradient(circle at -4% 44%, rgba(128,101,255,.14), transparent 27%),
    #030712;
}
html[data-theme="dark"] .nav-shell { border-color: #21395b; background: rgba(3,7,18,.84); }
html[data-theme="dark"] .site-header.scrolled { background: rgba(3,7,18,.88); }
html[data-theme="dark"] .icon-button.theme-switch { border-color: #31577e; background: #071328; color: #eff8ff; box-shadow: inset 0 1px rgba(255,255,255,.04), 0 0 24px rgba(56,229,255,.08); }
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .asset-card,
html[data-theme="dark"] .stage-card,
html[data-theme="dark"] .system-stage,
html[data-theme="dark"] .system-map-cta { box-shadow: 0 14px 45px rgba(0,0,0,.2); }

.global-access-banner { position: fixed; left: 50%; bottom: 18px; z-index: 95; display: flex; align-items: center; gap: 16px; width: min(780px, calc(100% - 30px)); padding: 14px 16px; border: 1px solid rgba(255,214,107,.24); border-radius: 17px; background: rgba(12,26,40,.95); color: #f5f8f7; box-shadow: 0 20px 60px rgba(0,0,0,.32); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transform: translate(-50%, 160%); transition: transform .35s ease; }
.global-access-banner.show { transform: translate(-50%, 0); }
.global-access-banner strong { display: block; font-size: .9rem; }
.global-access-banner span { display: block; color: #aebdc5; font-size: .78rem; }
.global-access-banner .button { margin-left: auto; flex: 0 0 auto; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: grid; }
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .nav-actions { justify-self: end; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy .display { max-width: 900px; }
  .hero-viewer { min-height: 560px; }
  model-viewer { height: 560px; }
  .cycle-head { grid-template-columns: 1fr; gap: 22px; }
  .stage-rail { grid-template-columns: repeat(2, 1fr); }
  .stage-card:nth-child(2), .stage-card:nth-child(4) { transform: none; }
  .product-grid, .blog-page .article-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid > .product-card, .product-grid > .product-card:nth-last-child(-n+2) { grid-column: span 1; }
  .product-card { min-height: 470px; }
  .article-grid { grid-template-columns: repeat(3, minmax(300px, 1fr)); overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
  .article-card { scroll-snap-align: start; }
  .system-map-head { grid-template-columns: 1fr; gap: 22px; }
  .system-map-head .lede { margin-top: 0; }
  .system-journey { grid-template-columns: repeat(3, 1fr); }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .library-hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .asset-detail-grid { grid-template-columns: 1fr; }
  .asset-detail-viewer, .asset-detail-viewer model-viewer, .asset-detail-viewer img { min-height: 430px; height: 430px; }
}

@media (max-width: 1240px) and (min-width: 1051px) {
  .container { width: min(1180px, calc(100% - 24px)); }
  .nav-shell { gap: 12px; }
  .brand-note { display: none; }
  .brand-word { font-size: .78rem; }
  .nav-link, .nav-trigger { padding-inline: 7px; font-size: .76rem; }
  .icon-button.theme-switch { min-width: 96px; padding-inline: 8px; }
  .account-trigger { max-width: 145px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 24px, 1240px); }
  .section { padding: 78px 0; }
  .site-header { padding: 8px 0; }
  .nav-shell { min-height: 54px; gap: 8px; padding-left: 10px; border-radius: 16px; }
  .brand-note, .nav-login { display: none; }
  .account-trigger { display: inline-flex; max-width: 48px; padding-right: 5px; }
  .account-trigger-copy, .account-chevron { display: none; }
  .brand-word { font-size: .82rem; }
  .brand-mark { width: 32px; height: 32px; }
  .icon-button { width: 39px; height: 39px; }
  .icon-button.theme-switch { min-width: 105px; padding-inline: 9px; }
  .language-menu { top: 75px; right: 12px; width: calc(100% - 24px); }
  .mega-menu { top: 75px; width: calc(100% - 24px); max-height: calc(100vh - 90px); overflow: auto; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-card { min-height: 130px; }
  .mega-icon { margin-bottom: 18px; }
  .hero { min-height: auto; padding: 125px 0 50px; }
  .display { font-size: clamp(2.65rem, 14vw, 4.35rem); }
  .hero-grid { gap: 40px; }
  .hero-viewer { min-height: 430px; border-radius: 22px; }
  model-viewer { height: 430px; }
  .viewer-hint { display: none; }
  .hero-proof { grid-template-columns: 1fr; margin-top: 32px; }
  .stage-rail, .product-grid, .blog-page .article-grid, .gallery-grid { grid-template-columns: 1fr; }
  .stage-card { min-height: 230px; }
  .stage-card h3 { margin-top: 54px; }
  .product-card { min-height: 450px; }
  .community-feature { min-height: 650px; }
  .community-feature::before { background: linear-gradient(0deg, rgba(7,17,28,.95) 0 45%, rgba(7,17,28,.16)), url('assets/blog/10-community.webp') 60% center/cover; }
  .community-copy { width: 100%; padding-top: 280px; }
  .account-hero { min-height: 360px; }
  .account-facts { grid-template-columns: 1fr; }
  .settings-card-head, .settings-actions, .danger-zone, .developer-access, .payment-actions { align-items: stretch; flex-direction: column; }
  .settings-actions .button, .danger-zone .button, .developer-access .button, .payment-actions .button { width: 100%; }
  .upload-zone { align-items: flex-start; }
  .section-head-row { align-items: flex-start; flex-direction: column; }
  .article-grid { grid-template-columns: repeat(3, 86vw); margin-top: 34px; }
  .final-shell { padding: 42px 24px; border-radius: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .onboarding-shell { min-height: 0; }
  .onboarding-stage { grid-template-columns: 1fr; min-height: 0; }
  .onboarding-visual { min-height: 235px; }
  .onboarding-visual::after { background: linear-gradient(0deg, #081521, transparent 70%); }
  .onboarding-copy { padding: 20px 24px 32px; }
  .onboarding-copy h2 { font-size: 2.3rem; }
  .onboarding-nav { padding: 14px; }
  .onboarding-buttons .button { min-height: 44px; padding: 0 15px; }
  .onboarding-dots { gap: 5px; }
  .onboarding-dot { width: 18px; }
  .profile-shell { grid-template-columns: auto 1fr; }
  .profile-shell > .button { grid-column: 1 / -1; justify-self: start; }
  .profile-avatar { width: 82px; height: 82px; border-radius: 24px; }
  .profile-copy h1 { font-size: 1.7rem; }
  .profile-stats { gap: 14px; }
  .article-header { padding-top: 125px; }
  .article-cover { width: calc(100% - 24px); border-radius: 20px; }
  .article-content { width: calc(100% - 32px); margin-top: 45px; }
  .notice-actions { flex-direction: column; }
  .global-access-banner { align-items: flex-start; }
  .global-access-banner .button { min-height: 38px; padding: 0 13px; }
  .role-picker { grid-template-columns: repeat(2, 1fr); }
  .form-split { grid-template-columns: 1fr; }
  .system-journey { grid-template-columns: repeat(2, 1fr); margin-top: 38px; }
  .system-stage { min-height: 135px; }
  .system-map-cta { align-items: flex-start; flex-direction: column; }
  .system-map-cta > div:last-child { width: 100%; }
  .library-hero { min-height: auto; padding: 125px 0 55px; }
  .library-hero-grid { grid-template-columns: 1fr; }
  .library-orbit { min-height: 330px; }
  .library-orbit::before { width: 300px; height: 300px; }
  .library-orbit::after { width: 220px; height: 220px; }
  .orbit-core { width: 145px; height: 145px; }
  .orbit-core span { font-size: 3.3rem; }
  .orbit-chip.one { top: 16px; }
  .orbit-chip.two { right: 0; bottom: 66px; }
  .orbit-chip.three { left: 0; bottom: 64px; }
  .library-toolbar { top: 70px; align-items: stretch; flex-direction: column; }
  .library-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .library-tab { flex: 0 0 auto; }
  .library-search { width: 100%; }
  .library-intro { align-items: flex-start; flex-direction: column; }
  .asset-grid { grid-template-columns: 1fr; }
  .contribute-shell { align-items: flex-start; flex-direction: column; padding: 38px 23px; }
  .asset-modal-card { padding: 22px; }
  .asset-detail-viewer, .asset-detail-viewer model-viewer, .asset-detail-viewer img { min-height: 330px; height: 330px; }
  .asset-detail-copy { padding: 10px 0 0; }
}

@media (max-width: 440px) {
  .brand > span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* IVCORP × URBAN OS brand system — homepage */
.brand-home {
  --brand-void: #030712;
  --brand-night: #071126;
  --brand-surface: #0b1730;
  --brand-line: #21395b;
  --brand-text: #eff8ff;
  --brand-muted: #879bb8;
  --brand-cyan: #38e5ff;
  --brand-blue: #2878ff;
  --brand-violet: #8065ff;
  --brand-mint: #30e3b8;
  --brand-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  background:
    radial-gradient(circle at 78% -8%, rgba(40,120,255,.22), transparent 29%),
    radial-gradient(circle at -5% 42%, rgba(128,101,255,.16), transparent 25%),
    var(--brand-void);
  color: var(--brand-text);
}
.brand-home::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .12; background-image: linear-gradient(rgba(56,229,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(56,229,255,.16) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
.brand-home [hidden] { display: none !important; }
.home-context-nav { position: sticky; top: var(--uos-header-h); z-index: calc(var(--uos-z-header) - 1); border-bottom: 1px solid var(--uos-line); background: color-mix(in srgb, var(--uos-canvas) 92%, transparent); backdrop-filter: blur(16px); }
.home-context-nav .container { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.home-context-nav a { min-height: 34px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: var(--uos-radius-s); color: var(--uos-ink-soft); font: 750 11px/1 var(--uos-font-sans); text-decoration: none; }
.home-context-nav a:hover { background: var(--uos-canvas-soft); color: var(--uos-ink); }
.brand-home .site-header { padding-top: 10px; }
.brand-home .nav-shell { min-height: 64px; border-color: rgba(56,229,255,.18); border-radius: 14px; background: rgba(3,7,18,.82); box-shadow: 0 14px 55px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.04); }
.brand-home .brand-core { padding: 0; border-radius: 10px; background: #071126; box-shadow: 0 0 28px rgba(56,229,255,.23); overflow: visible; }
.brand-home .brand-core img { width: 42px; height: 42px; max-width: none; }
.brand-home .brand-word { font-size: .83rem; letter-spacing: .105em; }
.brand-home .brand-note { color: #7891b1; font-family: var(--brand-mono); font-size: .5rem; letter-spacing: .12em; }
.brand-home .nav-link,
.brand-home .nav-trigger { color: #9db0cb; font-family: var(--brand-mono); font-size: .68rem; letter-spacing: .03em; text-transform: uppercase; }
.brand-home .nav-link:hover,
.brand-home .nav-trigger:hover,
.brand-home .nav-trigger[aria-expanded="true"] { color: #fff; background: rgba(56,229,255,.09); }
.brand-home .icon-button { border-color: rgba(56,229,255,.17); border-radius: 10px; }
.brand-home .nav-login { border: 1px solid rgba(56,229,255,.3); border-radius: 10px; background: linear-gradient(115deg, #efffff, #91efff); color: #03101b; box-shadow: 0 0 28px rgba(56,229,255,.17); }
.brand-home .mega-menu,
.brand-home + .mega-menu { border-color: rgba(56,229,255,.2); background: rgba(3,7,18,.97); }
.brand-home .hero { min-height: 900px; padding-top: clamp(74px, 8vw, 112px); background: transparent; }
.brand-home .hero::before { background: radial-gradient(circle at 69% 31%, rgba(40,120,255,.2), transparent 27%), radial-gradient(circle at 94% 24%, rgba(128,101,255,.18), transparent 25%), radial-gradient(circle at 9% 20%, rgba(56,229,255,.09), transparent 26%); }
.brand-home .hero::after { opacity: .38; background-image: linear-gradient(rgba(56,229,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(56,229,255,.06) 1px, transparent 1px); background-size: 64px 64px; }
.brand-home .hero-copy .eyebrow,
.brand-home .eyebrow { color: var(--brand-cyan); font-family: var(--brand-mono); font-size: .7rem; letter-spacing: .2em; }
.brand-home .hero-copy .display { max-width: 760px; font-size: clamp(2.9rem, 4.4vw, 5.2rem); line-height: .98; font-weight: 760; background: linear-gradient(108deg, #fff 8%, #c9f8ff 43%, var(--brand-cyan) 65%, #a88dff); -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 12px 40px rgba(40,120,255,.14)); }
.brand-home .hero-copy .lede { color: #a6b7cf; line-height: 1.72; }
.brand-home .button { border-radius: 11px; }
.brand-home .button.primary { background: linear-gradient(112deg, var(--brand-cyan), #8cf0ff 55%, var(--brand-mint)); color: #03101b; box-shadow: 0 12px 42px rgba(56,229,255,.2); }
.brand-home .brand-principle { display: block; width: max-content; max-width: 100%; margin-top: 24px; color: #9aafff; font: .64rem var(--brand-mono); letter-spacing: .18em; }
.brand-home .live-pill { margin-top: 17px; font-family: var(--brand-mono); font-size: .72rem; }
.brand-home .live-dot { background: var(--brand-mint); box-shadow: 0 0 0 6px rgba(48,227,184,.08), 0 0 22px rgba(48,227,184,.65); }
.brand-home .hero-viewer { min-height: 630px; border-color: rgba(56,229,255,.25); border-radius: 22px; background: radial-gradient(circle at 45% 36%, rgba(56,229,255,.14), transparent 34%), radial-gradient(circle at 75% 30%, rgba(128,101,255,.12), transparent 35%), linear-gradient(155deg, #0b1730, #030712); box-shadow: 0 38px 120px rgba(0,0,0,.42), 0 0 65px rgba(40,120,255,.08), inset 0 1px rgba(255,255,255,.05); }
.brand-home .hero-viewer::after { content: ''; position: absolute; inset: 9%; border: 1px solid rgba(56,229,255,.12); border-radius: 50%; transform: rotate(-14deg) scaleY(.46); pointer-events: none; }
.brand-home .hero-viewer model-viewer { height: 630px; }
.brand-home .viewer-label { border-color: rgba(56,229,255,.2); border-radius: 8px; background: rgba(3,7,18,.76); color: #bceffa; font-family: var(--brand-mono); }
.brand-home .viewer-copy span,
.brand-home .viewer-hint { color: #7890af; font-family: var(--brand-mono); }
.brand-home .hero-proof { border-color: rgba(56,229,255,.18); border-radius: 15px; background: rgba(56,229,255,.12); }
.brand-home .proof-item { position: relative; min-height: 116px; padding: 25px; background: rgba(7,17,38,.88); }
.brand-home .proof-item::before { content: attr(data-brand-code); display: block; margin-bottom: 13px; color: var(--brand-cyan); font: .58rem var(--brand-mono); letter-spacing: .18em; }
.brand-home .proof-item strong { color: #eff8ff; }
.brand-home .proof-item span { color: #879bb8; }
.brand-home .section { position: relative; border-top: 1px solid rgba(33,57,91,.7); background: rgba(3,7,18,.72); }
.brand-home .section-title { color: #eff8ff; font-weight: 720; }
.brand-home .lede { color: var(--brand-muted); }
.brand-home .cycle::after { border-color: rgba(56,229,255,.15); box-shadow: inset 0 0 0 70px rgba(56,229,255,.018), inset 0 0 0 140px rgba(128,101,255,.018); }
.brand-home .stage-card { --accent: var(--brand-cyan); border-color: color-mix(in srgb, var(--accent) 35%, var(--brand-line)); border-radius: 16px; background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 10%, #071126), #061024); box-shadow: none; }
.brand-home .stage-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.brand-home .stage-card:nth-child(2) { --accent: #33a7ff; }
.brand-home .stage-card:nth-child(3) { --accent: #5c7cff; }
.brand-home .stage-card:nth-child(4) { --accent: #9a6dff; }
.brand-home .stage-number { color: color-mix(in srgb, var(--accent) 80%, #fff); font-family: var(--brand-mono); }
.brand-home .stage-card h3 { color: #eff8ff; }
.brand-home .stage-card p { color: #8fa4c0; }
.brand-home .products { background: #030712; }
.brand-home .product-card { border-color: rgba(56,229,255,.14); border-radius: 18px; background: #071126; box-shadow: 0 22px 70px rgba(0,0,0,.24); }
.brand-home .product-card:nth-child(2) { border-color: rgba(92,124,255,.26); }
.brand-home .product-card:nth-child(3) { border-color: rgba(154,109,255,.24); }
.brand-home .product-card:nth-child(4) { border-color: rgba(48,227,184,.25); }
.brand-home .product-card:nth-child(5) { border-color: rgba(238,99,199,.46); box-shadow: 0 22px 70px rgba(238,99,199,.1); }
.brand-home .ecosystem-card .product-tag { border-color: rgba(238,99,199,.52); color: #ffd6f2; background: rgba(55,9,43,.58); }
.brand-home .ecosystem-card .product-link { color: #f49bdc; }
.brand-home .product-tag { border-radius: 7px; color: var(--brand-cyan); font-family: var(--brand-mono); }
.brand-home .product-link::after { color: var(--brand-cyan); }
.brand-home .system-map { background: radial-gradient(circle at 50% 32%, rgba(40,120,255,.08), transparent 38%), #030712; }
.brand-home .system-journey { gap: 10px; }
.brand-home .system-stage { --stage-accent: #38e5ff; border-color: color-mix(in srgb, var(--stage-accent) 34%, #21395b); border-radius: 13px; background: linear-gradient(150deg, color-mix(in srgb, var(--stage-accent) 10%, #071126), #061024); box-shadow: none; }
.brand-home .system-stage::after { background: var(--stage-accent); box-shadow: 0 0 18px var(--stage-accent); }
.brand-home .system-stage:nth-child(2) { --stage-accent:#33a7ff; }
.brand-home .system-stage:nth-child(3) { --stage-accent:#5c7cff; }
.brand-home .system-stage:nth-child(4) { --stage-accent:#9a6dff; }
.brand-home .system-stage:nth-child(5) { --stage-accent:#ee63c7; }
.brand-home .system-stage:nth-child(6) { --stage-accent:#ff8064; }
.brand-home .system-stage:nth-child(7) { --stage-accent:#ffb84d; }
.brand-home .system-stage:nth-child(8) { --stage-accent:#d7d64a; }
.brand-home .system-stage:nth-child(9) { --stage-accent:#68da79; }
.brand-home .system-stage:nth-child(10) { --stage-accent:#30e3b8; }
.brand-home .system-stage:nth-child(11) { --stage-accent:#27cbd1; }
.brand-home .system-stage:nth-child(12) { --stage-accent:#37a8a3; }
.brand-home .system-stage span,
.brand-home .system-stage small { color: var(--stage-accent); font-family: var(--brand-mono); }
.brand-home .system-stage strong { color: #eff8ff; }
.brand-home .system-map-cta { border-color: rgba(56,229,255,.2); border-radius: 16px; background: linear-gradient(135deg, rgba(11,23,48,.94), rgba(6,16,36,.94)); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.brand-home .community-feature { border-top-color: rgba(56,229,255,.16); }
.brand-home .community-feature::before { background: linear-gradient(90deg, rgba(3,7,18,.97) 0 36%, rgba(7,17,38,.65) 62%, rgba(3,7,18,.18)), url('assets/blog/10-community.webp') center/cover; }
.brand-home .blog-preview { background: #071126; }
.brand-home .article-card { border-color: rgba(56,229,255,.14); border-radius: 17px; background: #0b1730; box-shadow: none; }
.brand-home .article-meta { font-family: var(--brand-mono); }
.brand-home .article-category,
.brand-home .article-read::after { color: var(--brand-cyan); }
.brand-home .final-cta { background: #030712; }
.brand-home .final-shell { border: 1px solid rgba(56,229,255,.2); border-radius: 20px; background: radial-gradient(circle at 88% 15%, rgba(128,101,255,.25), transparent 32%), linear-gradient(130deg, #071126, #0b1730); }
.brand-home .final-shell::before { background: radial-gradient(circle, rgba(56,229,255,.24), transparent 66%); }
.brand-home .site-footer { border-top-color: rgba(33,57,91,.8); background: #030712; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; color: #eff8ff; text-decoration: none; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand span { display: grid; line-height: 1.05; }
.footer-brand strong { font-size: 13px; letter-spacing: .08em; }
.footer-brand small { margin-top: 5px; color: #91a5c0; font: 700 8px/1.1 var(--uos-font-mono); letter-spacing: .12em; }

html[data-theme="light"] .brand-home { background: radial-gradient(circle at 80% 0, rgba(40,120,255,.1), transparent 28%), #edf3f8; color: #0b1730; }
html[data-theme="light"] .brand-home::before { opacity: .07; }
html[data-theme="light"] .brand-home .hero-copy .display { background: linear-gradient(108deg, #071126 4%, #17396a 42%, #2878ff 68%, #6944e8); -webkit-background-clip: text; color: transparent; }
html[data-theme="light"] .brand-home .lede { color: #4d627d; }
html[data-theme="light"] .brand-home .eyebrow { color: #126f9d; }
html[data-theme="light"] .brand-home .hero-copy .lede { color: #4d627d; }
html[data-theme="light"] .brand-home .hero-copy .eyebrow { color: #126f9d; }
html[data-theme="light"] .brand-home .hero-copy .button.ghost-dark { border-color: #9bafc8; background: rgba(255,255,255,.72); color: #0b1730; }
html[data-theme="light"] .brand-home .hero-copy .button.ghost-dark:hover { border-color: #2878ff; background: #fff; }
html[data-theme="light"] .brand-home .theme-switch { border-color: #839ab7; background: rgba(255,255,255,.86); color: #0b1730; box-shadow: 0 6px 18px rgba(11,23,48,.08); }
html[data-theme="light"] .brand-home .brand-principle { color: #5545b9; }
html[data-theme="light"] .brand-home .live-pill { color: #4d627d; }
html[data-theme="light"] .brand-home .cycle,
html[data-theme="light"] .brand-home .system-map { background-color: rgba(244,249,252,.86); }
html[data-theme="light"] .brand-home .section-title { color: #0b1730; }
html[data-theme="light"] .brand-home .stage-card,
html[data-theme="light"] .brand-home .system-stage { background: linear-gradient(150deg, color-mix(in srgb, var(--accent, var(--stage-accent)) 8%, #fff), #f7fbff); }
html[data-theme="light"] .brand-home .stage-card h3,
html[data-theme="light"] .brand-home .system-stage strong { color: #0b1730; }
html[data-theme="light"] .brand-home .stage-number { color: color-mix(in srgb, var(--accent) 45%, #0b1730); }
html[data-theme="light"] .brand-home .stage-card p { color: #4d627d; }
html[data-theme="light"] .brand-home .system-stage span,
html[data-theme="light"] .brand-home .system-stage small { color: color-mix(in srgb, var(--stage-accent) 45%, #0b1730); }

/* Paper theme: retain high contrast inside deliberately dark brand surfaces. */
html[data-theme="light"] .brand-home .products .section-title,
html[data-theme="light"] .brand-home .community-copy .section-title,
html[data-theme="light"] .brand-home .blog-preview .section-title,
html[data-theme="light"] .brand-home .final-shell .section-title { color: #eff8ff; }
html[data-theme="light"] .brand-home .community-copy .lede,
html[data-theme="light"] .brand-home .final-shell .lede { color: #b9c9dc; }
html[data-theme="light"] .brand-home .blog-preview { color: #eff8ff; }
html[data-theme="light"] .brand-home .blog-preview .article-card h3,
html[data-theme="light"] .brand-home .blog-preview .article-read { color: #eff8ff; }
html[data-theme="light"] .brand-home .blog-preview .article-card p,
html[data-theme="light"] .brand-home .blog-preview .article-meta { color: #9fb1c9; }
html[data-theme="light"] .brand-home .system-map-cta strong { color: #eff8ff; }
html[data-theme="light"] .brand-home .system-map-cta span { color: #a8b9d0; }
html[data-theme="light"] .brand-home .site-footer { color: #eff8ff; }
html[data-theme="light"] .brand-home .site-footer .brand-note,
html[data-theme="light"] .brand-home .site-footer .footer-links,
html[data-theme="light"] .brand-home .site-footer .footer-meta { color: #91a5c0; }

@media (max-width: 1050px) {
  .brand-home .hero-viewer,
  .brand-home .hero-viewer model-viewer { min-height: 560px; height: 560px; }
}
@media (max-width: 720px) {
  .brand-home .brand-word { font-size: .7rem; }
  .brand-home .hero-copy .display { font-size: clamp(2.5rem, 12vw, 3.15rem); }
  .brand-home .hero-viewer,
  .brand-home .hero-viewer model-viewer { min-height: 430px; height: 430px; }
  .brand-home .proof-item { min-height: 0; }
}
