/* Public brand pages only. ERP workspace styles remain independent. */
.brand-site { --paper:#f7f7f5; --ink:#141414; margin:0; background:var(--paper); color:var(--ink); font-family:Arial,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif; -webkit-font-smoothing:antialiased; }
.brand-site *, .brand-site *::before, .brand-site *::after { box-sizing:border-box; }
.brand-site [hidden] { display:none!important; }
.brand-site a { color:inherit; text-decoration:none; }
.brand-site button,.brand-site input { font:inherit; }
.brand-site button { cursor:pointer; }
.brand-site a:focus-visible,.brand-site button:focus-visible,.brand-site input:focus-visible { outline:2px solid #8e969f; outline-offset:5px; }
.brand-site button { color:inherit; }
.brand-site h1,.brand-site h2,.brand-site h3,.brand-site p,.brand-site figure { margin:0; }
.brand-site section[id] { scroll-margin-top:100px; }
.skip-link { position:fixed; top:-100px; left:20px; padding:15px; background:white; z-index:120; }
.skip-link:focus { top:12px; }
.brand-nav { position:fixed; z-index:50; inset:0 0 auto; height:88px; padding:0 4vw; display:flex; align-items:center; justify-content:space-between; color:#161616; background:#f7f7f5eb; backdrop-filter:blur(14px); transition:color .2s,background .2s; border-bottom:1px solid #16161612; }
.brand-nav.on-dark { background:#0b0b0bea; color:#f7f7f5; border-color:#ffffff18; }
.brand-wordmark { display:flex; align-items:center; gap:20px; font-size:28px; font-weight:900; letter-spacing:-1.8px; }
.brand-cn { font-size:12px; font-weight:500; letter-spacing:0; border-left:1px solid currentColor; padding-left:20px; }
.brand-nav nav { display:flex; align-items:center; gap:44px; font-size:14px; }
.brand-nav button { border:0; background:none; padding:12px 0; }
#product-toggle { display:flex; gap:16px; align-items:center; }
#product-toggle span { font-size:20px; transition:transform .2s; }
#product-toggle[aria-expanded=true] span { transform:rotate(45deg); }
.product-menu { position:relative; }
.product-links { position:absolute; top:100%; right:-32px; width:252px; background:#f0f0ee; color:#171717; border:1px solid #d8d8d4; padding:12px; box-shadow:0 12px 36px #0002; }
.product-links a { display:flex; justify-content:space-between; gap:20px; padding:17px 12px; font-size:13px; }
.product-links a:hover { background:#dededb; }
.product-links span { color:#777; font-size:10px; }
.nav-entry { display:flex; gap:24px; align-items:center; }
.brand-hero { height:100svh; min-height:680px; padding:120px 4vw 36px; position:relative; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; }
.hero-topline { display:flex; justify-content:space-between; font-size:10px; letter-spacing:1.8px; color:#666; }
.hero-composition { position:absolute; inset:150px 0 100px; display:grid; place-items:center; }
.hero-word { position:relative; z-index:1; font-size:17.4vw; line-height:.85; font-weight:950; letter-spacing:-1.2vw; padding-right:1vw; will-change:transform; }
.hero-sculpture { position:absolute; z-index:2; width:min(44vw,610px); height:min(70vh,650px); object-fit:contain; top:48%; left:50%; transform:translate(-50%,-50%); filter:drop-shadow(0 14px 12px #00000009); will-change:transform; pointer-events:none; }
.hero-bottomline { margin-top:auto; position:relative; z-index:3; display:flex; justify-content:space-between; align-items:end; gap:16px; }
.hero-bottomline p { font-size:27px; letter-spacing:-1px; }
.hero-bottomline a,.hero-edition { font-size:9px; letter-spacing:1.6px; line-height:1.7; }
.hero-bottomline a span { margin-left:20px; font-size:20px; }
.hero-edition { text-align:right; color:#777; }
.philosophy-stage { height:115vh; min-height:750px; position:relative; }
.philosophy { position:sticky; top:0; height:100vh; min-height:650px; padding:140px 7vw 80px; display:flex; flex-direction:column; justify-content:space-between; }
.section-kicker { display:block; font-size:10px; letter-spacing:2px; line-height:1.6; }
.philosophy h2 { font-size:clamp(45px,6.7vw,110px); font-weight:600; line-height:1.35; letter-spacing:-.055em; }
.philosophy h2 span { color:#94948e; }
.philosophy-note { align-self:flex-end; display:flex; gap:48px; margin-right:5vw; align-items:center; }
.philosophy-note p { font-size:12px; line-height:2; }
.philosophy-note p span { color:#888; }
.small-cross { font-size:48px; font-weight:300; }
.product-curtain { background:#0b0b0b; color:#f5f5f1; position:relative; z-index:3; margin-top:-15vh; border-radius:36px 36px 0 0; padding:0 7vw; }
.product-intro { padding:120px 0 150px; display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.product-intro .section-kicker { grid-column:1/-1; color:#9a9a95; }
.product-intro h2 { font-size:clamp(40px,5.3vw,88px); letter-spacing:-.055em; font-weight:500; line-height:1.3; }
.product-intro h2 span { color:#777; }
.product-intro p { align-self:end; justify-self:end; font-size:14px; line-height:2; color:#aaa; padding-bottom:10px; }
.product-section { padding:90px 0 120px; border-top:1px solid #ffffff24; }
.product-heading .section-kicker { color:#92928d; margin-bottom:38px; }
.product-heading h2 { font-size:clamp(34px,4.5vw,72px); line-height:1.3; font-weight:500; letter-spacing:-.045em; }
.product-heading p { font-size:14px; line-height:2; color:#a4a49f; max-width:450px; margin-top:30px; }
.visual-section .product-heading { display:grid; grid-template-columns:1.3fr 1fr; gap:0 8vw; }
.visual-section .product-heading .section-kicker { grid-column:1/-1; }
.visual-section .product-heading p { align-self:end; margin:0 0 8px; }
.visual-showcase { position:relative; padding:70px 9vw 50px 0; perspective:1600px; }
.screen-frame { background:#202020; border:1px solid #444; border-radius:12px; overflow:hidden; box-shadow:0 20px 70px #0005; }
.screen-frame img { display:block; width:100%; height:auto; }
.screen-frame figcaption { padding:12px 16px; font-size:10px; color:#aaa; letter-spacing:.4px; line-height:1.6; }
.screen-chrome { height:36px; display:flex; gap:5px; align-items:center; padding:0 15px; background:#202020; color:#aaa; }
.screen-chrome i { width:5px; height:5px; background:#777; border-radius:50%; }
.screen-chrome span { font-size:8px; letter-spacing:1px; margin-left:12px; }
.screen-main { transform:rotateY(5deg) rotateX(2deg); }
.floating-label { position:absolute; right:0; top:35%; background:#dcded9; color:#141414; padding:35px 30px; width:230px; box-shadow:0 20px 60px #0008; transform:rotate(4deg); }
.floating-label span { font-size:9px; letter-spacing:1.6px; }
.floating-label strong { display:block; font-size:30px; font-weight:500; line-height:1.4; margin:30px 0; }
.floating-label small { font-size:10px; line-height:1.9; color:#555; }
.selection-steps { display:flex; justify-content:space-between; gap:20px; color:#bbb; font-size:13px; padding-top:15px; }
.selection-steps span { color:#666; margin-right:25px; font-size:10px; }
.split-section { display:grid; grid-template-columns:.85fr 1.15fr; gap:6vw; align-items:center; }
.capability-note { display:block; font-size:11px; color:#8c8c85; line-height:1.8; margin-top:22px; max-width:440px; }
.pricing-grid { display:grid; grid-template-columns:1.3fr .7fr; gap:6vw; align-items:center; margin-top:65px; }
.formula>span { font-size:9px; color:#999; letter-spacing:1px; }
.formula p { font-size:clamp(18px,2.1vw,30px); line-height:1.9; margin-top:24px; font-weight:400; }
.formula p b { color:#777; font-weight:300; }
.formula strong { display:block; border-top:1px solid #555; padding-top:20px; margin-top:18px; font-size:28px; font-weight:500; }
.formula small { display:block; font-size:11px; line-height:2; margin-top:24px; color:#999; }
.analytics-section .product-heading { margin-bottom:60px; }
.analytics-section .screen-frame { max-width:1050px; margin-left:auto; }
.workflow-line { list-style:none; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; padding:0; margin:70px 0 40px; }
.workflow-line li { border-top:1px solid #555; padding-top:22px; position:relative; }
.workflow-line li:not(:last-child)::after { content:'→'; position:absolute; right:0; top:45px; color:#999; }
.workflow-line span { font-size:10px; color:#888; }
.workflow-line h3 { font-size:24px; font-weight:500; margin:22px 0 15px; }
.workflow-line p { font-size:11px; color:#aaa; line-height:1.8; padding-right:15px; }
.flow-screen { max-width:900px; margin:50px auto 0!important; }
.brand-footer { padding:120px 0 25px; border-top:1px solid #ffffff24; }
.brand-footer h2 { font-size:clamp(65px,10vw,160px); letter-spacing:-.06em; line-height:1.15; font-weight:500; margin:50px 0; }
.footer-actions { display:flex; align-items:center; gap:35px; flex-wrap:wrap; }
.pill-button { display:inline-block; border:1px solid #eee; border-radius:40px; padding:20px 34px; background:#f0f0ea; color:#111!important; font-size:14px; }
.text-button { border:0; background:none; color:inherit; padding:15px 0; font-size:13px; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:130px; padding-top:24px; border-top:1px solid #ffffff24; font-size:10px; color:#aaa; }
/* Content is visible by default. JS enables reveal only after installing its observer. */
.motion-ready .reveal { transition:opacity .7s,transform .7s; }
.motion-ready .reveal.is-pending { opacity:0; transform:translateY(25px); }
.auth-modal { width:min(460px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); overflow:auto; padding:38px; border:1px solid #ffffffbe; border-radius:20px; background:linear-gradient(145deg,#ffffffed,#e0e2e5e8); backdrop-filter:blur(24px); color:#222; box-shadow:0 30px 100px #0005; }
.auth-modal::backdrop { background:#1116; backdrop-filter:blur(7px); }
body.auth-open { overflow:hidden; }
.auth-close { position:absolute; top:12px; right:18px; border:0; background:none; font-size:26px!important; padding:5px; }
.auth-brand { font-size:18px; letter-spacing:-1px; font-weight:900; margin:0 0 30px; }
.auth-brand span { font-size:10px; letter-spacing:0; color:#666; font-weight:400; margin-left:10px; }
.auth-tabs { display:flex; gap:25px; margin-bottom:28px; border-bottom:1px solid #9994; }
.auth-tabs button { border:0; background:none; padding:0 2px 12px; color:#777; font-size:14px; }
.auth-tabs button[aria-pressed=true] { border-bottom:2px solid #222; color:#111; }
.login-card-head h2 { font-size:28px; letter-spacing:-1px; font-weight:500; }
.login-card-head p { color:#777; font-size:12px; margin:10px 0 26px; }
.login-field { display:flex; align-items:center; gap:8px; border:1px solid #bbb9; border-radius:9px; padding:11px 12px; margin:12px 0; background:#ffffff69; }
.field-copy { flex:1; min-width:0; }
.field-copy small { display:block; color:#666; font-size:10px; margin-bottom:5px; }
.login-field input { display:block; width:100%; border:0; background:transparent; color:#111; outline-offset:3px; padding:3px 0; font-size:14px; }
.field-symbol { display:none; }
.field-eye { border:0; background:none; font-size:11px!important; padding:3px; flex-shrink:0; max-width:90px; }
.field-eye svg { width:20px; height:20px; }
.eye-slash { display:none; }
.field-eye[aria-pressed=true] .eye-slash { display:block; }
.login-options { display:flex; justify-content:space-between; font-size:11px; align-items:center; margin:18px 0; color:#666; }
.login-options label { display:flex; gap:4px; align-items:center; }
.login-options button { background:none; border:0; padding:0; font-size:11px; }
.login-submit { width:100%; border:0; border-radius:8px; padding:15px; background:#171717; color:#fff!important; font-size:14px; margin-top:12px; }
.login-submit:disabled { opacity:.6; cursor:wait; }
.login-divider { margin:23px 0 10px; text-align:center; font-size:11px; color:#777; }
.register-button { width:100%; background:none; border:1px solid #aaa; border-radius:8px; padding:10px; font-size:12px; }
#registration-hint { color:#62666d!important; font-size:11px!important; line-height:1.7; }
.login-message { margin-top:15px!important; font-size:12px; line-height:1.7; color:#872f2f; min-height:1.7em; }
@media(max-width:760px) {
 .brand-nav { height:72px; padding:0 5vw; } .brand-wordmark { font-size:23px; gap:0; } .brand-cn { display:none; } .brand-nav nav { gap:19px; font-size:12px; } .nav-entry { gap:8px; }
 .brand-hero { min-height:570px; height:90svh; padding:100px 5vw 30px; } .hero-topline { font-size:8px; } .hero-topline span:last-child,.hero-edition { display:none; } .hero-composition { inset:120px 0 100px; } .hero-sculpture { width:66vw; height:55vh; } .hero-bottomline { align-items:start; flex-direction:column; gap:20px; } .hero-bottomline p { font-size:24px; }
 .philosophy-stage { height:90vh; min-height:600px; } .philosophy { height:85vh; min-height:560px; padding:100px 6vw 60px; } .philosophy h2 { font-size:10vw; } .philosophy-note { margin:0; gap:20px; } .philosophy-note p { font-size:10px; }
 .product-curtain { padding:0 6vw; border-radius:22px 22px 0 0; margin-top:-5vh; } .product-intro { padding:80px 0; grid-template-columns:1fr; gap:30px; } .product-intro p { justify-self:start; }
 .product-section { padding:70px 0; } .visual-section .product-heading,.split-section,.pricing-grid { display:block; } .product-heading .section-kicker { margin-bottom:24px; } .product-heading p,.visual-section .product-heading p { margin-top:24px; font-size:13px; } .visual-showcase { padding:40px 15px 0 0; } .floating-label { position:relative; width:190px; margin:-50px 0 0 auto; padding:20px; top:auto; transform:rotate(3deg); } .floating-label strong { margin:15px 0; font-size:24px; } .selection-steps { flex-direction:column; padding-top:40px; gap:15px; } .split-section .screen-frame { margin-top:40px; } .formula { margin-top:40px; } .workflow-line { grid-template-columns:1fr 1fr; gap:35px 20px; } .workflow-line h3 { font-size:20px; } .footer-bottom { flex-wrap:wrap; margin-top:80px; line-height:1.8; } .brand-footer { padding-top:80px; } .auth-modal { padding:30px 25px; } .product-links { right:-85px; }
}
@media(prefers-reduced-motion:reduce) {
 .brand-site *, .brand-site *::before,.brand-site *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
 .motion-ready .reveal.is-pending { opacity:1; transform:none; }
 .philosophy { position:relative; }
 .hero-word,.hero-sculpture { will-change:auto; }
}
/* Keep the wordmark legible while the sculpture crosses its upper edge. */
.hero-word { font-size:21vw; letter-spacing:-1.3vw; }
.hero-sculpture { width:min(32vw,460px); height:min(56vh,510px); top:28%; }
@media(max-width:760px) { .hero-word { font-size:21vw; } .hero-sculpture { width:48vw; height:42vh; top:32%; } }
