/* Tokens sampled from ocr.manchu.ai; editorial display type and motion retained. */
@font-face{font-family:Inter;src:url('assets/Inter-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{color-scheme:light;--background:oklch(98% .005 260);--foreground:oklch(15% .02 260);--card:oklch(99.5% .003 260);--primary:oklch(35% .12 260);--primary-foreground:oklch(98% .005 260);--secondary:oklch(94% .01 260);--muted-foreground:oklch(50% .02 260);--accent:oklch(92% .06 80);--accent-foreground:oklch(25% .06 80);--border:oklch(88% .02 260);--paper:var(--background);--ink:var(--foreground);--blue:var(--primary);--muted:var(--muted-foreground);--line:var(--border);--button:var(--primary);--button-hover:color-mix(in oklch,var(--primary),black 12%);font-family:Inter,system-ui,sans-serif;background:var(--background);color:var(--foreground)}
:root[data-theme=dark]{color-scheme:dark;--background:oklch(14% .02 260);--foreground:oklch(93% .01 260);--card:oklch(18% .02 260);--primary:oklch(70% .1 260);--primary-foreground:oklch(14% .02 260);--secondary:oklch(22% .02 260);--muted-foreground:oklch(68% .02 260);--accent:oklch(30% .06 80);--accent-foreground:oklch(90% .06 80);--border:oklch(28% .02 260)}
body{background:var(--background);color:var(--foreground);font-family:Inter,system-ui,sans-serif}
.brand,.gateway h2,.journey-caption span,.archive-number strong span{font-family:Inter,system-ui,sans-serif}
.header{height:80px;max-width:none;border-bottom:1px solid var(--border);background:var(--card);gap:22px}.brand{font-size:25px;letter-spacing:-1px}.brand-dot,.brand-mark{color:var(--primary);stroke:var(--primary)}.header nav{font-size:13px;gap:28px}.header nav a{color:var(--muted-foreground)}.header nav a:hover{color:var(--foreground)}
.header-actions{display:flex;align-items:center;gap:12px}.theme-toggle{display:grid;place-items:center;width:40px;height:40px;border:1px solid transparent;background:transparent;color:var(--foreground);border-radius:6px;flex-shrink:0}.theme-toggle:hover{background:var(--secondary)}.theme-toggle .ui-icon{width:19px;height:19px}.theme-sun{display:none}.theme-moon{display:block}[data-theme=dark] .theme-sun{display:block}[data-theme=dark] .theme-moon{display:none}
.nav-cta{background:var(--primary);color:var(--primary-foreground);border:1px solid var(--primary);border-radius:6px;min-height:40px;padding:10px 16px;font-weight:500}.nav-cta:hover{color:var(--primary-foreground);background:var(--button-hover);border-color:var(--button-hover)}
.hero{height:calc(100svh - 80px)}.hero .intro{font-size:12px;letter-spacing:.015em;color:var(--muted-foreground)}.small-star{color:var(--primary)}.hero-glow{background:radial-gradient(ellipse,color-mix(in oklch,var(--primary),transparent 90%),transparent 70%)}.orbital,.orbital-two{border-color:var(--border)}.art-cross{color:var(--muted-foreground)}.floating-glyph{color:var(--primary);opacity:.15}
.hero-image-label{background:color-mix(in oklch,var(--card),transparent 6%);border:1px solid var(--border);color:var(--foreground);border-radius:8px;box-shadow:0 12px 35px #101c3310}.art-caption,.scroll-cue,.hero-coordinate,.hero-footnote{color:var(--muted-foreground)}.scroll-icon{border-color:var(--border)}.rule{background:var(--border)}
.button{font-family:Inter,system-ui,sans-serif;border-color:var(--border);color:var(--foreground);background:var(--card);border-radius:6px;box-shadow:0 1px 2px #101c3308;font-weight:500}.button:hover{background:var(--secondary);color:var(--foreground)}.button.primary{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground);box-shadow:0 2px 4px #101c3310}.button.primary:hover{background:var(--button-hover);border-color:var(--button-hover);color:var(--primary-foreground)}.button.primary>span{background:transparent;border:0;border-radius:0}.button.small{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.button.small:hover{background:var(--button-hover);color:var(--primary-foreground)}.text-link,.gateway-icon,.gateway-arrow{color:var(--primary)}.text-link:hover{color:var(--foreground)}.blue-dot{background:var(--primary)}
.gateways{background:var(--card);border-color:var(--border)}.gateway:first-child{border-color:var(--border)}.gateway:hover{background:var(--secondary)}.gateway h2{color:var(--foreground);letter-spacing:0;font-weight:500}.gateway p{color:var(--muted-foreground)}
.journey-stage{background:radial-gradient(ellipse at 50% 38%,var(--card),var(--secondary));border-block:1px solid var(--border)}.journey-word{color:color-mix(in oklch,var(--primary),transparent 91%)}.journey-caption{color:var(--foreground)}.journey-caption span,.journey-progress,.journey-disclaimer{color:var(--muted-foreground)}.journey-progress-track{background:var(--border)}.journey-orbit,.journey-orbit:before{border-color:color-mix(in oklch,var(--primary),transparent 80%)}.journey-orbit:after{color:var(--primary)}.journey-glass{background:linear-gradient(135deg,oklch(35% .09 260 / .96),oklch(22% .06 260 / .98));border-color:oklch(55% .08 260);box-shadow:0 35px 85px #101c3340,inset 0 1px 0 #ffffff30}.glass-text,.glass-bottom{color:#f2f5fc}.glass-dot{background:#f2d49a;box-shadow:0 0 7px #f2d49a}.journey-scan{box-shadow:0 -15px 30px 12px color-mix(in oklch,var(--primary),transparent 75%)}
.ocr-workspace{background:var(--card);border-color:var(--border);border-radius:8px;box-shadow:0 16px 50px #101c330a}.workspace-header{border-color:var(--border);color:var(--foreground)}.workspace-content{background:var(--card)}.demo-badge{background:var(--accent);color:var(--accent-foreground);border-radius:4px}.sample-output{background:var(--secondary);border-color:var(--border);color:var(--muted-foreground)}.output-empty,.sample-output .output-label,.workspace-bottom p,.demo-disclaimer{color:var(--muted-foreground)}.output-result .manchu,.output-meta{color:var(--primary)}.workspace-bottom{border-color:var(--border)}
.archive-section{background:var(--secondary);border-block:1px solid var(--border)}.archive-number strong,.archive-number strong span{color:var(--primary)}.archive-number p,.collection-note,.archive-footer{color:var(--muted-foreground)}.archive-footer{border-color:var(--border)}.archive-intro p{color:var(--muted-foreground)}.purpose-symbol{color:var(--primary)}.purpose-symbol:before{background:var(--secondary);border-color:var(--border)}.purpose p:not(.section-label){color:var(--muted-foreground)}
.image-credits{color:var(--muted-foreground)}.credits-content{border-color:var(--border)}.credits-content strong{color:var(--foreground)}.source-caption:hover{color:var(--primary)}.footer{border-color:var(--border);background:var(--secondary)}.footer>p,.footer>div,#motion-toggle{color:var(--muted-foreground)}#motion-toggle{border-color:var(--border);border-radius:6px;background:var(--card)}
::selection{background:var(--accent);color:var(--accent-foreground)}a:focus-visible,button:focus-visible{outline:2px solid var(--primary);outline-offset:4px}
@media(max-width:820px){.header{height:72px;gap:12px;padding-inline:5%}.header nav{gap:18px;font-size:12px}.hero{height:auto}.header-actions{gap:6px}.header .brand{font-size:22px}.nav-cta{font-size:11px;padding-inline:12px}}
@media(max-width:580px){.header nav{gap:14px}.header nav a:last-child{display:none}.header .brand{font-size:20px;gap:8px}.brand-mark{width:18px;height:27px}.nav-cta{display:none}.theme-toggle{width:36px;height:36px}.header-actions{margin-left:auto}.header nav{margin-left:auto}.hero .intro{font-size:11px}}
.output-empty>span{color:var(--muted-foreground)}.sample-output{border-radius:6px;padding-inline:12px}.recognized .sample-output{background:var(--secondary)}
