/* AivoraML Studio Edition 04 — design tokens + scroll-directed product story.
   Visual-only CSS. No backend data or behavior is modified. */
:root {
  --au4-ink:#f1f0ee;
  --au4-black:#0b0b0c;
  --au4-pane:#151516;
  --au4-stroke:rgba(255,255,255,.11);
  --au4-muted:#9c9a9d;
  --au4-red:#e2453c;
  --au4-red-hot:#f15c51;
  --au4-paper:#f1efe9;
  --au4-onpaper:#161516;
  --au4-bezier:cubic-bezier(.22,1,.36,1);
}
[data-au-page]{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
[data-au-page] :where(button,a,input,textarea,select):focus-visible {outline:2px solid #ed6963!important;outline-offset:3px!important;}
[data-au-page] :where(.au4-story,.au4-story *){box-sizing:border-box;}
[data-au-page] .au-site-footer .au-footer-column h3{font-weight:560;}
[data-au-page] .au-site-footer .au-footer-brand{font-weight:690;}
[data-au-page] .au-site-footer .au-footer-giant{font-weight:780;}
/* Remove public documentation/source navigation, never Google/GitHub OAuth provider buttons. */
[data-au-page] a[href="/docs"],
[data-au-page] a[href="/docs/"],
[data-au-page] a[href^="https://github.com/"],
[data-au-page] a[href^="http://github.com/"]{display:none!important;}

/* MARKETING: softer editorial contrast, occasional confident bold. */
[data-au-page="landing"]{background:#0b0b0c;color:#f3f2f0;}
[data-au-page="landing"] .site-grain{opacity:.035;}
[data-au-page="landing"] .site-header{background:rgba(10,10,11,.81);border-bottom:1px solid rgba(255,255,255,.075);}
[data-au-page="landing"] .site-header.scrolled{background:rgba(10,10,11,.96);}
[data-au-page="landing"] .nav-shell{height:80px;}
[data-au-page="landing"] .brand-copy{font-weight:680;letter-spacing:-.075em;}
[data-au-page="landing"] .nav-links a,[data-au-page="landing"] .nav-login{font-weight:440;}
[data-au-page="landing"] :is(.button,.nav-cta,.launcher-option){border-radius:10px;font-weight:590;}
[data-au-page="landing"] .button:hover{transform:translateY(-2px);}
[data-au-page="landing"] .hero{background:radial-gradient(ellipse at 77% 44%,#23202278 0%,#0b0b0c 58%),#0b0b0c;}
[data-au-page="landing"] .hero::before{opacity:.13;}
[data-au-page="landing"] .hero-title{font-weight:690;letter-spacing:-.096em;}
[data-au-page="landing"] .hero-title .muted-title{font-weight:380;color:#858184;}
[data-au-page="landing"] .hero-eyebrow,[data-au-page="landing"] .section-label,[data-au-page="landing"] .hero-bottom{font-weight:480;}
[data-au-page="landing"] .hero-eyebrow .pulse-dot{background:var(--au4-red);box-shadow:0 0 0 5px #e2453c14;}
[data-au-page="landing"] .hero-description-block p{color:#b4b1b4;font-weight:380;}
[data-au-page="landing"] .hero-description-block p strong{font-weight:580;}
[data-au-page="landing"] .statement,[data-au-page="landing"] .section-heading{font-weight:560;letter-spacing:-.073em;}
[data-au-page="landing"] .statement em{font-weight:400;}
[data-au-page="landing"] .manifesto-text{font-weight:650;}
[data-au-page="landing"] .feature-card h3,[data-au-page="landing"] .pricing-card h3{font-weight:580;}
[data-au-page="landing"] .feature-card p,[data-au-page="landing"] .pricing-card p{font-weight:380;}
[data-au-page="landing"] .nav-cta{background:#eeeae6;border-color:#eeeae6;color:#121111;}
[data-au-page="landing"] .reading-progress{background:var(--au4-red);}
[data-au-page="landing"] .plan-featured{border-color:#e2453c66;}
[data-au-page="landing"] .plan-featured .coming-soon{color:#f58a82;}
[data-au-page="landing"] .faq-section details{border-color:#29272a;}
[data-au-page="landing"] .site-footer{background:linear-gradient(180deg,#0b0b0c,#090909);}
[data-au-page="landing"] .footer-wordmark{font-weight:740;letter-spacing:-.108em;}
[data-au-page="landing"] .footer-wordmark span{color:var(--au4-red);}
[data-au-page="landing"] .launcher-inner{border-radius:17px;}
[data-au-page="landing"] .launcher-option:hover{border-color:#e2453c88;}

/* Scroll story: a white screen enters from dark, stays pinned for four scenes, then exits. */
[data-au-page="landing"] .au4-story{position:relative;height:425svh;background:var(--au4-paper);color:var(--au4-onpaper);color-scheme:light;isolation:isolate;}
[data-au-page="landing"] .au4-story-sticky{position:sticky;top:80px;height:calc(100svh - 80px);min-height:530px;overflow:hidden;background:var(--au4-paper);}
[data-au-page="landing"] .au4-story-frame{width:min(100%,1660px);height:100%;margin:auto;padding:clamp(23px,3.7vw,65px) clamp(20px,4.25vw,74px) 22px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(12px,2vw,30px);position:relative;z-index:1;}
[data-au-page="landing"] .au4-story-grain{position:absolute;inset:0;z-index:0;pointer-events:none;background-image:linear-gradient(transparent 97%,rgba(17,17,17,.03) 100%),linear-gradient(90deg,transparent 97%,rgba(17,17,17,.03) 100%);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent 90%);}
[data-au-page="landing"] .au4-story-overline{display:flex;align-items:center;gap:12px;font:550 10px/1.3 var(--au-mono,monospace);letter-spacing:.10em;color:#6a6564;}
[data-au-page="landing"] .au4-red-square{display:inline-block;width:9px;height:9px;background:var(--au4-red);transform:rotate(24deg);flex:none;}
[data-au-page="landing"] .au4-story-count{margin-left:auto;font:570 11px var(--au-mono,monospace);}
[data-au-page="landing"] .au4-story-heading{min-height:clamp(150px,18vh,250px);display:flex;flex-direction:column;gap:clamp(15px,3.2vh,34px);}
[data-au-page="landing"] .au4-story-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:22px;}
[data-au-page="landing"] .au4-story-chapters{position:relative;min-height:clamp(112px,16vh,210px);}
[data-au-page="landing"] .au4-chapter{position:absolute;inset:0;opacity:0;transform:translateY(17px);pointer-events:none;transition:opacity .48s ease,transform .65s var(--au4-bezier);}
[data-au-page="landing"] .au4-chapter.is-active{opacity:1;transform:none;pointer-events:auto;}
[data-au-page="landing"] .au4-chapter-label{display:block;font:550 10px var(--au-mono,monospace);letter-spacing:.11em;color:#9a4946;margin-bottom:10px;}
[data-au-page="landing"] .au4-chapter h2{font:480 clamp(32px,4.5vw,78px)/.99 var(--au-display,Inter,sans-serif);letter-spacing:-.075em;margin:0;max-width:1150px;}
[data-au-page="landing"] .au4-chapter h2 em{font-style:normal;font-weight:650;}
[data-au-page="landing"] .au4-chapter p{color:#686465;font-size:clamp(12px,1.05vw,15px);max-width:570px;margin:12px 0 0;line-height:1.5;}
[data-au-page="landing"] .au4-story-controls{position:relative;display:flex;gap:9px;align-items:center;padding-bottom:10px;}
[data-au-page="landing"] .au4-story-step{border:1px solid #cbc7c3;border-radius:50%;background:transparent;color:#766d69;font:600 11px var(--au-mono,monospace);width:36px;height:36px;cursor:pointer;transition:background .25s,border-color .25s,color .25s,transform .25s;}
[data-au-page="landing"] .au4-story-step:hover{border-color:#8e302e;transform:translateY(-2px);}
[data-au-page="landing"] .au4-story-step.is-active{background:#171516;color:#fff;border-color:#171516;}
[data-au-page="landing"] .au4-story-track{position:absolute;bottom:0;left:0;right:0;height:2px;background:#c7c1bc;}
[data-au-page="landing"] .au4-story-track>i{display:block;width:calc(var(--au4-progress,0)*100%);height:100%;background:var(--au4-red);transition:width .14s linear;}
[data-au-page="landing"] .au4-scene-wrap{min-height:0;position:relative;display:flex;align-items:center;justify-content:center;perspective:1300px;}
[data-au-page="landing"] .au4-demo-shell{position:relative;width:min(100%,1020px);height:100%;max-height:500px;min-height:230px;background:#fff;border:1px solid #beb8b0;border-radius:15px;overflow:hidden;box-shadow:0 20px 60px #29242625,0 5px 14px #25222210;transform:perspective(1300px) rotateX(calc(3deg - var(--au4-progress,0)*3deg)) rotateY(calc(-2deg + var(--au4-progress,0)*2deg)) translateY(calc(8px - var(--au4-progress,0)*8px));transition:box-shadow .45s;}
[data-au-page="landing"] .au4-demo-toolbar{height:36px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#edeae5;border-bottom:1px solid #d8d5d0;color:#706b68;font:520 9px var(--au-mono,monospace);}
[data-au-page="landing"] .au4-demo-dots{display:flex;gap:5px;}.au4-demo-dots i{display:block;width:7px;height:7px;border:1px solid #9e9994;border-radius:50%;}.au4-demo-path{letter-spacing:.08em;}.au4-demo-exit{font-size:15px;}
[data-au-page="landing"] .au4-demo-main{display:flex;height:calc(100% - 36px);min-height:0;}
[data-au-page="landing"] .au4-demo-sidebar{flex:0 0 49px;background:#111113;display:flex;align-items:center;flex-direction:column;gap:19px;padding:15px 0;}
[data-au-page="landing"] .au4-demo-logo{color:#eee;font-size:24px;line-height:1;margin-bottom:20px;}
[data-au-page="landing"] .au4-demo-sidebar>i{width:16px;height:4px;border-radius:4px;background:#5d5a60;}
[data-au-page="landing"] .au4-demo-sidebar>i.current{width:22px;background:var(--au4-red);}
[data-au-page="landing"] .au4-demo-sidebar-bottom{margin-top:auto;color:#ddd;}
[data-au-page="landing"] .au4-demo-content{flex:1;min-width:0;padding:clamp(12px,2vw,24px);background:#faf9f6;}
[data-au-page="landing"] .au4-demo-top{display:flex;justify-content:space-between;align-items:center;gap:15px;}
[data-au-page="landing"] .au4-demo-eyebrow{display:block;font:550 9px var(--au-mono,monospace);letter-spacing:.1em;color:#888080;margin-bottom:5px;}
[data-au-page="landing"] .au4-demo-title{font:600 clamp(15px,1.8vw,24px) var(--au-display,Inter,sans-serif);letter-spacing:-.04em;}
[data-au-page="landing"] .au4-demo-badge{white-space:nowrap;padding:5px 8px;background:#f3e6e1;color:#9e3b37;border-radius:20px;font:600 8px var(--au-mono,monospace);}
[data-au-page="landing"] .au4-demo-pills{display:flex;gap:clamp(8px,1.5vw,20px);border-bottom:1px solid #dedbd7;margin:14px 0 16px;padding-bottom:10px;color:#8e8987;font-size:11px;}
[data-au-page="landing"] .au4-demo-pills>.active{color:#1c1b1b;font-weight:650;position:relative;}
[data-au-page="landing"] .au4-demo-pills>.active:after{content:"";position:absolute;bottom:-11px;left:0;right:0;height:2px;background:var(--au4-red);}
[data-au-page="landing"] .au4-demo-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
[data-au-page="landing"] .au4-demo-metrics>div{border:1px solid #e5e1dc;border-radius:8px;background:#fff;padding:clamp(8px,1.4vw,16px);min-width:0;}
[data-au-page="landing"] .au4-demo-metrics small{display:block;color:#918a86;font:560 9px var(--au-mono,monospace);letter-spacing:.025em;}
[data-au-page="landing"] .au4-demo-metrics strong{display:block;color:#242222;font:600 clamp(20px,2vw,29px)/1.5 var(--au-display,Inter,sans-serif);letter-spacing:-.05em;}
[data-au-page="landing"] .au4-demo-metrics span{display:block;color:#a29b95;font:400 10px var(--au-font,Inter,sans-serif);}
[data-au-page="landing"] .au4-demo-panels{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:10px;margin-top:10px;height:clamp(110px,16vh,195px);}
[data-au-page="landing"] .au4-demo-graph,[data-au-page="landing"] .au4-demo-compare{min-width:0;border:1px solid #e5e1dc;border-radius:8px;background:#fff;padding:11px;overflow:hidden;}
[data-au-page="landing"] .au4-chart-label{display:flex;justify-content:space-between;gap:6px;color:#343030;font-size:10px;font-weight:550;}
[data-au-page="landing"] .au4-chart-label small{color:#aaa;font-weight:400;}
[data-au-page="landing"] .au4-demo-graph svg{width:100%;height:calc(100% - 18px);}
[data-au-page="landing"] .au4-demo-graph .au4-grid{stroke:#e7e5e1;stroke-width:.7;fill:none;}
[data-au-page="landing"] .au4-demo-graph .au4-chart-area{fill:#e35b4b13;transition:opacity .5s;}
[data-au-page="landing"] .au4-demo-graph .au4-chart-line{fill:none;stroke:var(--au4-red);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:720;stroke-dashoffset:calc(720 * (1 - var(--au4-progress, 0)));transition:stroke-dashoffset .12s;}
[data-au-page="landing"] .au4-demo-compare{display:flex;flex-direction:column;gap:7px;}
[data-au-page="landing"] .au4-bar{font-size:9px;color:#6d6866;}
[data-au-page="landing"] .au4-bar span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
[data-au-page="landing"] .au4-bar i{display:block;width:var(--w);height:5px;border-radius:4px;background:linear-gradient(90deg,#4e4c4c,var(--au4-red));margin-top:4px;}
[data-au-page="landing"] .au4-floating-annotation{position:absolute;z-index:3;display:flex;align-items:center;gap:8px;color:#99908b;font:500 9px var(--au-mono,monospace);letter-spacing:.12em;pointer-events:none;}
[data-au-page="landing"] .au4-floating-annotation i{width:50px;height:1px;background:#aaa29b;}
[data-au-page="landing"] .au4-float-left{left:0;top:26%;transform:translateX(-5%);}
[data-au-page="landing"] .au4-float-right{right:0;bottom:20%;transform:translateX(8%);}
[data-au-page="landing"] .au4-desk-overlay{position:absolute;z-index:4;display:flex;gap:15px;align-items:center;width:min(250px,40%);min-height:100px;padding:17px;background:#1c1b1c;color:#f6f4f1;border:1px solid #424042;border-radius:13px;box-shadow:0 18px 45px #1116;right:clamp(12px,2.2vw,28px);bottom:clamp(11px,3vh,30px);opacity:0;transform:translate(20px,24px) scale(.91);transition:opacity .4s,transform .55s var(--au4-bezier);pointer-events:none;}
[data-au-page="landing"] .au4-desk-overlay>div:not(.au4-training-orb){display:flex;flex-direction:column;gap:4px;min-width:0;}
[data-au-page="landing"] .au4-desk-overlay small{font:550 9px var(--au-mono,monospace);letter-spacing:.06em;color:#fc8f85;}
[data-au-page="landing"] .au4-desk-overlay strong{font-weight:600;font-size:14px;line-height:1.3;}
[data-au-page="landing"] .au4-desk-overlay div>span{font-size:10px;color:#c8c3c1;}
[data-au-page="landing"] .au4-overlay-symbol,[data-au-page="landing"] .au4-export-symbol{font-size:40px;color:#ff8a80;line-height:1;}
[data-au-page="landing"] .au4-eval-figure{font:660 39px var(--au-display,sans-serif);letter-spacing:-.08em;color:#f1f0eb;}
[data-au-page="landing"] .au4-eval-figure span{font:400 12px var(--au-mono,monospace);letter-spacing:0;}
[data-au-page="landing"] .au4-training-orb{width:47px;height:47px;border:1px solid #af5e59;border-radius:50%;position:relative;flex:none;}
[data-au-page="landing"] .au4-training-orb i{position:absolute;width:7px;height:7px;background:#f5776b;border-radius:50%;left:20px;top:20px;box-shadow:0 0 14px #f5776b77;}
[data-au-page="landing"] .au4-training-orb i:nth-child(2){left:7px;top:9px;}
[data-au-page="landing"] .au4-training-orb i:nth-child(3){left:32px;top:35px;}
[data-au-page="landing"] .au4-story[data-step="0"] .au4-overlay-upload,
[data-au-page="landing"] .au4-story[data-step="1"] .au4-overlay-train,
[data-au-page="landing"] .au4-story[data-step="2"] .au4-overlay-eval,
[data-au-page="landing"] .au4-story[data-step="3"] .au4-overlay-export{opacity:1;transform:none;}
[data-au-page="landing"] .au4-story[data-step="1"] .au4-demo-pills span:nth-child(3),
[data-au-page="landing"] .au4-story[data-step="2"] .au4-demo-pills span:nth-child(4){color:#b73d34;font-weight:680;}
[data-au-page="landing"] .au4-story-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:11px;border-top:1px solid #d4cfc9;font:500 9px var(--au-mono,monospace);letter-spacing:.07em;color:#837c76;}
[data-au-page="landing"] .au4-story-foot a{color:#232022;text-decoration:none;font-weight:650;white-space:nowrap;display:flex;gap:12px;align-items:center;}
[data-au-page="landing"] .au4-story-foot a:hover{color:#a73431;}

/* Distinct but restrained vermilion chapter: red background, dark text. */
[data-au-page="landing"] .au4-red-interlude{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(490px,72svh,800px);background:#e34d43;color:#130d0e;display:grid;align-items:center;}
[data-au-page="landing"] .au4-impact-grid{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#2706080e 1px,transparent 1px),linear-gradient(90deg,#2706080e 1px,transparent 1px);background-size:65px 65px;mask-image:linear-gradient(100deg,transparent 8%,#000 95%);}
[data-au-page="landing"] .au4-impact-shell{position:relative;z-index:2;width:min(100% - 2*var(--pad,24px),1320px);margin:auto;padding:70px 0;}
[data-au-page="landing"] .au4-impact-kicker{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #140b0c50;padding-bottom:18px;font:520 10px var(--au-mono,monospace);letter-spacing:.12em;}
[data-au-page="landing"] .au4-impact-shell h2{font:600 clamp(67px,11vw,188px)/.87 var(--au-display,Inter,sans-serif);letter-spacing:-.095em;margin:60px 0 72px;position:relative;z-index:2;}
[data-au-page="landing"] .au4-impact-shell h2 span{font-weight:440;}
[data-au-page="landing"] .au4-impact-shell h2 em{font-style:normal;font-weight:720;}
[data-au-page="landing"] .au4-impact-bottom{display:flex;align-items:end;justify-content:space-between;gap:20px;border-top:1px solid #140b0c60;padding-top:24px;}
[data-au-page="landing"] .au4-impact-bottom p{max-width:375px;font-size:15px;line-height:1.55;font-weight:430;}
[data-au-page="landing"] .au4-impact-bottom a{color:#1a1111;font:650 12px var(--au-font,Inter,sans-serif);text-decoration:underline;text-underline-offset:6px;white-space:nowrap;}
[data-au-page="landing"] .au4-impact-orb{width:clamp(230px,33vw,620px);height:clamp(230px,33vw,620px);position:absolute;right:2%;top:4%;z-index:1;border-radius:50%;background:radial-gradient(circle at 30% 25%,#ffafa3 2%,#f15b52 27%,#d7382f 60%,#9e1b1b 83%,#e34d43 100%);box-shadow:inset -30px -24px 70px #54070755,25px 32px 70px #7b0d0845;opacity:.6;animation:au4-orb-breathe 11s ease-in-out infinite;pointer-events:none;}
[data-au-page="landing"] .au4-impact-orb-inner{position:absolute;inset:19%;border-radius:50%;border:1px solid #ffffff45;box-shadow:0 0 0 20px #ffffff08,0 0 0 50px #24000607;}
@keyframes au4-orb-breathe{0%,100%{transform:translate3d(0,0,0) scale(.96)}50%{transform:translate3d(-12px,16px,0) scale(1.035)}}

/* APPLICATION: nuanced graphite, functional accounts first, no misleading legacy 'local JSON' block. */
[data-au-page="workspace"]{--au-bg:#0c0c0e;--au-panel:#171719;--au-panel-raised:#1d1d20;--au-stroke:rgba(255,255,255,.09);--au-mid:#a9a6aa;}
[data-au-page="workspace"] .sidebar{background:#101011!important;}
[data-au-page="workspace"] .workspace{background:radial-gradient(ellipse at 80% 0,#2520222a,transparent 53%),#0d0d0e!important;}
[data-au-page="workspace"] :is(.page-header h1,.page-title){font-weight:560!important;letter-spacing:-.06em;}
[data-au-page="workspace"] .page-home .home-hero h1{font-weight:560!important;}
[data-au-page="workspace"] :is(.section-heading-row h2,.card-heading h2,.card-heading strong){font-weight:550!important;}
[data-au-page="workspace"] :is(.metric-value,.stat-value,.champion-score,.prediction-value,.insight-number){font-weight:620!important;}
[data-au-page="workspace"] :is(.button,.nav-item,.side-nav button,.side-nav a){font-weight:550!important;}
[data-au-page="workspace"] :is(.button-primary,.nav-item.active){font-weight:620!important;}
[data-au-page="workspace"] .sidebar .brand-name{font-weight:650!important;}
[data-au-page="workspace"] :is(.card,.project-card,.template-card,.artifact-card){background:#171719;border-radius:13px!important;}
[data-au-page="workspace"] :is(.project-card,.template-card,.artifact-card):hover{transform:translateY(-2px);border-color:#e2453c50;}
[data-au-page="workspace"] :is(.nav-item.active,.side-nav .active){border-left-color:var(--au4-red);}
[data-au-page="workspace"] .sidebar-bottom{display:none!important;}
[data-au-page="workspace"] .workspace-switcher{background:#19191b!important;border-color:#333034!important;border-radius:12px!important;}
[data-au-page="workspace"] .workspace-switcher:hover{border-color:#7a3c39!important;}
[data-au-page="workspace"] .workspace-copy>span{display:none!important;}
[data-au-page="workspace"] .workspace-copy strong{font-weight:570;}
[data-au-page="workspace"] #saveState{display:none!important;}
[data-au-page="workspace"] #notificationButton{display:none!important;}
[data-au-page="workspace"] .workspace-account{margin-top:auto;background:#121214!important;border-top:1px solid var(--au4-stroke)!important;padding:15px!important;}
[data-au-page="workspace"] .au4-account-note{display:block;font:520 9px var(--au-mono,monospace);letter-spacing:.15em;color:#8d898b;margin:0 0 10px 8px;}
[data-au-page="workspace"] .account-dropdown{min-width:0;}
[data-au-page="workspace"] .account-trigger{padding:12px!important;border-radius:12px!important;border:1px solid #292729!important;}
[data-au-page="workspace"] .account-trigger:hover{background:#212022!important;border-color:#4c3839!important;}
[data-au-page="workspace"] .account-copy strong{font-weight:580;}
[data-au-page="workspace"] .account-avatar{border:1px solid #494041;background:#292629;}
[data-au-page="workspace"] .account-menu{border-radius:13px!important;background:#1b1a1d!important;}
[data-au-page="workspace"] .assistant-panel{background:#131315!important;}
[data-au-page="workspace"] .assistant-header strong{font-weight:570;}
[data-au-page="workspace"] .au4-assistant-mode{color:#989399!important;}
[data-au-page="workspace"] .aw-journey{border-radius:13px;background:#181719!important;}
[data-au-page="workspace"] :is(.toast,.modal,.command-modal,.upload-modal){border-radius:12px;}
[data-au-page="workspace"] :is(.card,.metric-card,.project-card,.artifact-card){transition:border-color .25s ease,box-shadow .3s ease,transform .3s var(--au4-bezier);}
[data-au-page="workspace"] :is(button,a){transition-timing-function:var(--au4-bezier);}
[data-au-page="workspace"] .sidebar .nav-item.active svg{color:#f3847c;}
[data-au-page="workspace"] :is(.loading-progress,.loading-track)>span{background:var(--au4-red);}
/* Account / auth / docs / policies: cleaner and quieter than marketing. */
[data-au-page="account"] .page-heading h1{font-weight:560!important;letter-spacing:-.065em;}
[data-au-page="account"] .settings-header .brand{font-weight:650!important;}
[data-au-page="account"] .settings-card{border-radius:14px!important;background:#161619!important;border-color:#302e31;}
[data-au-page="account"] .settings-card h2{font-weight:565!important;}
[data-au-page="account"] .au-account-rail a{font-weight:480;}
[data-au-page="account"] .au-account-rail a[aria-current]{border-left:2px solid var(--au4-red);color:#fff;}
[data-au-page="account"] .profile-avatar{border:1px solid #4c4447;}
[data-au-page="account"] .provider-row button{border-radius:9px;font-weight:550;}
[data-au-page="account"] .settings-action:hover{color:#f1afa9;}
[data-au-page="auth"] .brand-panel h1{font-weight:540!important;letter-spacing:-.075em;}
[data-au-page="auth"] .login-card h2{font-weight:560!important;}
[data-au-page="auth"] :is(.email-submit,.provider-button,.auth-tabs a){border-radius:10px;font-weight:570!important;}
[data-au-page="recovery"] .login-card h2{font-weight:560!important;}
[data-au-page="recovery"] :is(.email-submit,.reset-card){border-radius:12px;}
[data-au-page="docs"] .hero-section h1{font-weight:580!important;}
[data-au-page="docs"] .metric-card strong{font-weight:620!important;}
[data-au-page="docs"] .section-heading h2{font-weight:560!important;}
[data-au-page="legal"] .legal-container h1{font-weight:550!important;}
[data-au-page="legal"] .legal-container h2{font-weight:560!important;}

@media(max-width:1190px){
 [data-au-page="landing"] .au4-story-heading{min-height:195px;}
 [data-au-page="landing"] .au4-floating-annotation{display:none;}
 [data-au-page="landing"] .au4-impact-shell h2{font-size:clamp(64px,11vw,145px);}
}
@media(max-width:800px){
 [data-au-page="landing"] .site-header .nav-shell{height:70px;}
 [data-au-page="landing"] .au4-story-sticky{top:70px;height:calc(100svh - 70px);min-height:620px;}
 [data-au-page="landing"] .au4-story-frame{padding:22px 20px 18px;grid-template-rows:auto minmax(0,1fr) auto;}
 [data-au-page="landing"] .au4-story-heading{min-height:230px;}
 [data-au-page="landing"] .au4-story-copy{grid-template-columns:1fr;gap:13px;}
 [data-au-page="landing"] .au4-story-chapters{min-height:130px;}
 [data-au-page="landing"] .au4-chapter h2{font-size:clamp(32px,6vw,54px);}
 [data-au-page="landing"] .au4-story-controls{justify-content:flex-start;}
 [data-au-page="landing"] .au4-story-step{width:30px;height:30px;}
 [data-au-page="landing"] .au4-demo-shell{max-height:460px;}
 [data-au-page="landing"] .au4-demo-panels{height:145px;}
 [data-au-page="landing"] .au4-impact-orb{right:-15%;top:13%;opacity:.4;}
}
@media(max-width:550px){
 [data-au-page="landing"] .au4-story{height:400svh;}
 [data-au-page="landing"] .au4-story-sticky{min-height:0;height:calc(100svh - 70px);}
 [data-au-page="landing"] .au4-story-frame{padding:20px 16px 17px;gap:12px;}
 [data-au-page="landing"] .au4-story-overline{font-size:8px;gap:7px;letter-spacing:.045em;}
 [data-au-page="landing"] .au4-story-heading{min-height:clamp(225px,33svh,290px);gap:18px;}
 [data-au-page="landing"] .au4-story-chapters{min-height:clamp(135px,21svh,180px);}
 [data-au-page="landing"] .au4-chapter-label{margin-bottom:6px;font-size:9px;}
 [data-au-page="landing"] .au4-chapter h2{font-size:clamp(31px,8.2vw,46px);line-height:1.02;}
 [data-au-page="landing"] .au4-chapter p{font-size:12px;line-height:1.4;margin-top:8px;}
 [data-au-page="landing"] .au4-story-controls{padding-bottom:9px;}
 [data-au-page="landing"] .au4-demo-shell{min-height:0;height:100%;border-radius:11px;}
 [data-au-page="landing"] .au4-demo-toolbar{height:26px;padding:0 9px;}
 [data-au-page="landing"] .au4-demo-main{height:calc(100% - 26px);}
 [data-au-page="landing"] .au4-demo-sidebar{flex-basis:27px;gap:9px;padding:10px 0;}
 [data-au-page="landing"] .au4-demo-logo{font-size:15px;margin-bottom:12px;}
 [data-au-page="landing"] .au4-demo-sidebar>i{width:10px;height:3px;}
 [data-au-page="landing"] .au4-demo-sidebar>i.current{width:13px;}
 [data-au-page="landing"] .au4-demo-content{padding:9px;}
 [data-au-page="landing"] .au4-demo-eyebrow{font-size:6px;}
 [data-au-page="landing"] .au4-demo-title{font-size:13px;}
 [data-au-page="landing"] .au4-demo-badge{font-size:6px;padding:4px 5px;}
 [data-au-page="landing"] .au4-demo-pills{font-size:8px;gap:8px;margin:7px 0 9px;padding-bottom:7px;}
 [data-au-page="landing"] .au4-demo-pills>.active:after{bottom:-8px;}
 [data-au-page="landing"] .au4-demo-metrics{gap:4px;}
 [data-au-page="landing"] .au4-demo-metrics>div{padding:6px;}
 [data-au-page="landing"] .au4-demo-metrics small{font-size:6.5px;}
 [data-au-page="landing"] .au4-demo-metrics strong{font-size:16px;}
 [data-au-page="landing"] .au4-demo-metrics span{font-size:7px;}
 [data-au-page="landing"] .au4-demo-panels{height:calc(100% - 135px);min-height:60px;gap:4px;margin-top:7px;}
 [data-au-page="landing"] .au4-demo-graph,[data-au-page="landing"] .au4-demo-compare{padding:6px;}
 [data-au-page="landing"] .au4-demo-compare{gap:5px;}
 [data-au-page="landing"] .au4-chart-label{font-size:8px;}
 [data-au-page="landing"] .au4-bar{font-size:7px;}
 [data-au-page="landing"] .au4-desk-overlay{min-height:62px;width:min(190px,67%);gap:10px;padding:10px;bottom:8px;right:8px;}
 [data-au-page="landing"] .au4-desk-overlay strong{font-size:10px;}
 [data-au-page="landing"] .au4-desk-overlay small{font-size:7px;}
 [data-au-page="landing"] .au4-overlay-symbol,[data-au-page="landing"] .au4-export-symbol{font-size:25px;}
 [data-au-page="landing"] .au4-training-orb{width:28px;height:28px;}
 [data-au-page="landing"] .au4-training-orb i{left:10px;top:10px;}
 [data-au-page="landing"] .au4-eval-figure{font-size:25px;}
 [data-au-page="landing"] .au4-story-foot{font-size:7px;letter-spacing:0;}
 [data-au-page="landing"] .au4-story-foot>span{max-width:47%;}
 [data-au-page="landing"] .au4-story-foot a{font-size:8px;white-space:normal;max-width:48%;text-align:right;gap:3px;}
 [data-au-page="landing"] .au4-red-interlude{min-height:460px;}
 [data-au-page="landing"] .au4-impact-shell h2{font-size:clamp(54px,12vw,86px);margin:50px 0;}
 [data-au-page="landing"] .au4-impact-bottom{align-items:start;flex-direction:column;}
 [data-au-page="landing"] .au4-impact-bottom p{margin:0;font-size:13px;}
 [data-au-page="landing"] .au4-impact-orb{top:18%;right:-35%;}
}
@media(max-width:360px){
 [data-au-page="landing"] .au4-chapter h2{font-size:29px;}
 [data-au-page="landing"] .au4-story-overline{font-size:7px;}
 [data-au-page="landing"] .au4-demo-compare{display:none;}
 [data-au-page="landing"] .au4-demo-panels{grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){
 [data-au-page="landing"] .au4-story{height:auto;}
 [data-au-page="landing"] .au4-story-sticky{position:relative;top:auto;height:auto;min-height:760px;}
 [data-au-page="landing"] .au4-story-frame{min-height:760px;}
 [data-au-page="landing"] .au4-impact-orb{animation:none;}
 [data-au-page="landing"] .au4-demo-shell{transform:none;}
 [data-au-page="landing"] .au4-story .au4-chapter{transition:none;}
 [data-au-page="landing"] .au4-desk-overlay{transition:none;}
 [data-au-page="workspace"] :is(.project-card,.template-card,.artifact-card,.card){transition:none!important;}
}
