/* Sune Flat: analogous blue/cyan, cool neutral scale, complementary amber alerts. */
:root{
  --bg:#F3F7FB;--surface:#FFFFFF;--ink:#142536;--muted:#52657A;--border:#D2DFEB;
  --ice:#E3EEFF;--action:#155EEF;--on-action:#FFFFFF;--accent:#0E7490;
  --online:#146845;--warning:#835514;--error:#B4233B;
  --heading:'Geist',Arial,sans-serif;--radius:24px;--shadow:none;
  --flat-radius:28px;--flat-soft:#EDF3FA;
}
html[data-theme=dark]{
  --bg:#0C1925;--surface:#142738;--ink:#F1F6FC;--muted:#B0C2D3;--border:#345065;
  --ice:#203C59;--action:#91CAFF;--on-action:#0C2035;--accent:#91DBED;
  --online:#86DFAE;--warning:#F5CD80;--error:#FFA7B3;--shadow:none;--flat-soft:#182F44;
}
body{font-size:17px;line-height:1.65}
.phosphor-icon{display:inline-block;flex-shrink:0;background:currentColor;mask:var(--icon-source) center/contain no-repeat;-webkit-mask:var(--icon-source) center/contain no-repeat;vertical-align:middle}
:root #app h1,:root #app h2,:root #app h3{font-family:var(--sans);font-weight:700;letter-spacing:-.045em;text-wrap:balance}
:root #app .brand,:root #app .auth-brand{font-family:var(--sans);font-weight:750;font-size:29px;letter-spacing:-.06em}
:root #app .brand-mark{border-radius:10px;width:34px;height:34px;object-fit:contain}
:root #app .button{border-radius:999px;min-height:50px;padding:12px 24px;font-size:15px;font-weight:650;gap:12px;box-shadow:none;transform:none}
:root #app .button.primary{background:var(--action);color:var(--on-action)}
:root #app .button.primary:hover{background:color-mix(in srgb,var(--action) 88%,var(--ink))}
:root #app .button.secondary{background:var(--surface);border-color:var(--border)}
:root #app .button.secondary:hover{background:var(--ice);border-color:var(--action)}
:root #app .button.small{min-height:40px;padding:8px 16px;font-size:14px}
:root #app .button.danger{color:var(--on-action)}
:root #app .icon-button{border-radius:50%;min-width:42px}
:root #app .text-link{font-size:16px;font-weight:650;gap:10px}
:root #app .input,:root #app .select{border-radius:16px;min-height:52px;font-size:16px;background:var(--surface);box-shadow:none}
:root #app .field label,:root #app .auth-field>label{font-size:15px;font-weight:650}
:root #app .eyebrow,:root #app .section-label{font-size:12px;letter-spacing:.08em;font-weight:600}
:root #app .panel,:root #app .terminal-window,:root #app .product-preview,:root #app .config-window,:root #app .living-workflow-surface{border-radius:var(--flat-radius);box-shadow:none;border-color:var(--border)}
:root #app .network-node{border-radius:18px;box-shadow:none;font-size:15px;font-weight:600}
:root #app .network-node .icon{color:var(--action)}
:root #app .network::before{background:none}
:root #app .avatar-square{border-radius:12px;font-family:var(--sans);font-weight:750}

/* One floating pill, shared by marketing and public product pages. */
:root #app .public-header,:root #app .product-header{position:sticky;top:14px;width:min(1280px,calc(100% - 48px));margin:14px auto 0;border:1px solid var(--border);border-radius:999px;background:var(--surface);backdrop-filter:none;box-shadow:none;color:var(--ink);z-index:30}
:root #app .public-nav,:root #app .product-nav{width:100%;min-height:70px;height:70px;padding:0 20px;gap:20px}
:root #app .public-nav-links,:root #app .product-nav-links{gap:4px;margin-left:20px;margin-right:auto;font-size:14px;font-weight:600;white-space:nowrap}
:root #app .public-nav-links>a,:root #app .product-nav-links>a{padding:10px 14px;border-radius:999px;line-height:1.35}
:root #app .public-nav .brand{color:var(--ink)}
:root #app .public-nav-links,:root #app .public-nav .button.ghost,:root #app .public-nav .lang-control button{color:var(--muted)}
:root #app .public-nav .lang-control button[aria-pressed=true]{color:var(--ink)}
:root #app .public-nav .button.secondary,:root #app .public-nav .icon-button{color:var(--ink);background:var(--surface);border-color:var(--border)}
:root #app .public-nav-links>a:hover,:root #app .product-nav-links>a:hover,:root #app .public-nav-links>a[aria-current],:root #app .product-nav-links>a[aria-current]{background:var(--ice);color:var(--action)}
:root #app .nav-controls,:root #app .product-nav-controls{gap:8px}
:root #app .nav-controls>.button,:root #app .product-nav-controls>.button{min-height:44px;padding:10px 18px;font-size:14px}
:root #app .theme-control{width:42px;height:42px;border-radius:50%;justify-content:center;color:var(--muted)}
:root #app .theme-control:hover{background:var(--ice)}
:root #app .lang-control{font-size:12px;gap:0}
:root #app .public-header:has(.mobile-nav-panel:not([hidden])),:root #app .product-header:has(.product-mobile-nav:not([hidden])){border-radius:28px}
:root #app .mobile-nav-panel,:root #app .product-mobile-nav{padding:18px 24px 24px;gap:8px}
:root #app .mobile-nav-panel a,:root #app .product-mobile-nav a{padding:8px 14px;border-radius:14px;font-size:16px;font-weight:600}
:root #app .mobile-nav-panel a:hover,:root #app .product-mobile-nav a:hover{background:var(--ice);color:var(--action)}

/* Anime artwork against a single flat navy field; image mask remains for the fade. */
:root #app .anime-hero{background:#102B41;color:#F1F6FC;margin-top:16px;min-height:calc(100svh - 102px);padding-top:72px;padding-bottom:172px}
:root #app .anime-hero-main{min-height:calc(100svh - 346px)}
:root #app .anime-ambient{background:#102B41;animation:none}
:root #app .anime-hero::after{background:linear-gradient(90deg,#102b41 0%,#102b41e6 30%,transparent 66%);pointer-events:none}
:root #app .anime-mascot-aura,:root #app .living-sky{display:none}
:root #app .anime-scene-copy{animation:none;width:58%;max-width:720px}
:root #app .anime-scene-copy h1{font-size:clamp(58px,6.4vw,88px);line-height:1.05;font-weight:750;text-shadow:none;letter-spacing:-.055em}
:root #app .anime-kicker{font-family:var(--sans);font-size:13px;font-weight:700;color:#9DDDFC;letter-spacing:.09em;margin-bottom:22px}
:root #app .anime-hero-description{font-size:19px;line-height:1.65;max-width:510px;color:#C8DBEA}
:root #app .anime-hero .anime-connect{background:#A6D6FF;color:#102B41;border-color:#A6D6FF}
:root #app .anime-hero .anime-connect:hover{background:#D5EBFF}
:root #app .anime-hero .anime-demo{background:#193B54;border-color:#65839C;color:#F1F6FC}
:root #app .anime-mascot{filter:none;animation:none}
:root #app .anime-handnote{font-family:var(--sans);font-size:15px;font-weight:600;font-style:normal;line-height:1.5;text-shadow:none;transform:none;max-width:190px;color:#E7F4FF;background:#193B54;padding:12px 18px;border-radius:18px}
:root #app .anime-scene-arrow{background:#193B54;border-color:#65839C;width:48px;height:48px}
:root #app .anime-scene-arrow[data-anime-prev] .icon{transform:rotate(180deg)}
:root #app .anime-scene-tab{border-radius:20px;background:#193B54;border-color:#52748E;min-height:96px}
:root #app .anime-scene-tab::before{background:#102b4166}
:root #app .anime-scene-tab.is-active{background:#264C69;border-color:#A6D6FF}
:root #app .anime-scene-tab.is-active::after{height:4px;left:20px;bottom:10px;width:30px;border-radius:999px;background:#A6D6FF}
:root #app .anime-scene-index{font-size:26px;font-weight:750}
:root #app .anime-scene-tab-copy>span:last-child{font-size:14px;font-weight:600}
:root #app .living-motion-control{border-radius:999px;background:#193B54;border-color:#65839C;color:#E7F4FF;font:600 12px var(--sans);box-shadow:none}
:root #app .living-motion-symbol{display:flex;align-items:center}
:root #app .anime-scene-status{color:#C8DBEA;font-size:13px;font-family:var(--sans)}

/* Large typography, quiet flat surfaces and clear spacing. */
:root #app .section{padding:96px 0}
:root #app .section h2,:root #app .closing h2{font-size:clamp(38px,4.1vw,58px);line-height:1.13}
:root #app .section-intro>p,:root #app .feature-copy>p,:root #app .permissions-copy>p,:root #app .living-workflow-intro>p{font-size:18px;line-height:1.7}
:root #app .living-workflow{background:var(--flat-soft)}
:root #app .living-workflow-top{padding:22px 30px;font-size:14px;font-weight:600}
:root #app .living-workflow-request>p{font-size:clamp(24px,3vw,36px);font-family:var(--sans);font-weight:650;letter-spacing:-.035em}
:root #app .living-workflow-status h3{font-size:24px;line-height:1.3}
:root #app .living-workflow-status p{font-size:15px;line-height:1.7;min-height:78px}
:root #app .living-workflow-steps>li{font-size:14px;font-weight:600}
:root #app .living-workflow-step-number{width:34px;height:34px;font-weight:700}
:root #app .living-workflow-step-state{font-size:11px}
:root #app .living-workflow-actions .button{font-size:14px}
:root #app .living-workflow-evidence dd{font-size:38px;font-weight:700}
:root #app .living-workflow-evidence dt,:root #app .living-workflow-guard{font-size:13px}
:root #app .living-workflow-foot{font-size:12px}
:root #app .architecture-flow{border-radius:24px;border:1px solid var(--border);background:var(--surface);padding-inline:24px}
:root #app .architecture-step h3{font-size:21px}
:root #app .architecture-step p{font-size:15px;max-width:none}
:root #app .architecture-step .arrow-between{background:var(--surface)}
:root #app .terminal-logs{font-size:14px;line-height:1.9}
:root #app .terminal-top{font-size:14px;padding:20px 24px}
:root #app .status-surface{padding:30px;background:var(--surface);border:1px solid var(--border);border-radius:28px}
:root #app .metric-number{font-size:40px;font-weight:700;letter-spacing:-.055em}
:root #app .metric-name{font-size:13px;font-weight:600}
:root #app .status-title{font-size:17px;font-weight:650}
:root #app .player-table{border:1px solid var(--border);border-radius:24px;padding:0 24px;background:var(--surface)}
:root #app .player-line{font-size:16px}
:root #app .player-line.table-head{font-size:12px;font-weight:650}
:root #app .product-preview{background:var(--surface)}
:root #app .preview-head>p{font-size:18px}
:root #app .preview-metrics strong{font-weight:750}
:root #app .preview-sidebar{background:var(--flat-soft)}
:root #app .policy-row{font-size:16px;padding-block:20px}
:root #app .anime-connector{border-radius:999px;font-size:16px;font-weight:650}
:root #app .anime-setup-guide{background:var(--surface);border:1px solid var(--border);border-radius:28px;padding:32px}
:root #app .anime-guide-title h3{font-size:25px}
:root #app .setup-step h4{font-size:18px;font-weight:650}
:root #app .setup-step p,:root #app .anime-guide-intro{font-size:16px}
:root #app .closing{background:var(--ice)}
:root #app .footer,:root #app .product-footer{background:var(--surface)}
:root #app .footer-column h4{font-size:16px;font-weight:700}
:root #app .footer-column a,:root #app .product-footer nav{font-size:14px}

/* Public resources, account forms and operational workspace share the same system. */
:root #app .product-page h1,:root #app .auth-content h1,:root #app .auth-wide>h1{font-family:var(--sans);font-size:clamp(40px,5.4vw,70px);line-height:1.1;font-weight:750}
:root #app .auth-header{width:min(1280px,calc(100% - 48px));margin:14px auto 0;padding:12px 22px;min-height:70px;border:1px solid var(--border);border-radius:999px;background:var(--surface)}
:root #app .auth-main{padding-top:64px}
:root #app .auth-content{max-width:480px}
:root #app .auth-content h1{font-size:44px}
:root #app .auth-language{border-radius:999px}
:root #app .auth-language button{border-radius:999px}
:root #app .auth-intro{font-size:17px}
:root #app .auth-field .input{height:54px}
:root #app .auth-state-card,:root #app .auth-token,:root #app .connect-surface,:root #app .resource-card{border-radius:24px;box-shadow:none}
:root #app .auth-serif-sample{font-family:var(--sans);font-weight:750;font-size:48px;letter-spacing:-.045em}
:root #app .dashboard-page{font-size:16px}
:root #app .dashboard-page h1{font-size:36px}
:root #app .dashboard-page h2{font-size:22px;font-weight:700}
:root #app .dashboard-page h3{font-size:18px;font-weight:650}
:root #app .dash-sidebar{padding:28px 16px;border-right:1px solid var(--border)}
:root #app .dash-navigation a{border-radius:999px;min-height:48px;font-size:15px;font-weight:600}
:root #app .dash-navigation .icon{min-width:20px;min-height:20px}
:root #app .dash-topbar{margin:16px 24px 0;border:1px solid var(--border);border-radius:999px;background:var(--surface);box-shadow:none}
:root #app .dash-panel,:root #app .dash-card,:root #app .dash-metric,:root #app .dash-server-card{border-radius:24px;box-shadow:none}
:root #app .dash-metrics{border-radius:24px;overflow:hidden}
:root #app .dash-metric{border-radius:0}
:root #app .dash-terminal,:root #app .dash-workflow,:root #app .dash-companion{border-radius:24px;box-shadow:none}
:root #app .dash-console-output{font-size:14px;line-height:1.85}
:root #app .dashboard-page .input{font-size:16px}
:root .confirmation{border-radius:28px;box-shadow:none}
:root .confirmation h2{font:700 28px/1.2 var(--sans);letter-spacing:-.035em}
:root .toast{border-radius:18px;box-shadow:none}
:root .sune-music .music-launcher{border-radius:999px;box-shadow:none;min-height:52px;font-size:14px;font-weight:650}
:root .sune-music:not(.music-is-morphing) .music-panel{border-radius:24px;box-shadow:none}
:root .sune-music .music-morph-shell{border-radius:24px;box-shadow:none}
:root .sune-music .music-header h2{font:700 25px/1.2 var(--sans);letter-spacing:-.035em}
:root .sune-music .music-title{font-size:17px;font-weight:700}
:root .sune-music .music-status{font-size:13px}
:root .sune-music .music-track-list button{font-size:14px;border-radius:12px}
:root .sune-music .music-play{background:var(--action);color:var(--on-action)}

@media(max-width:1100px){
  :root #app .public-nav-links,:root #app .product-nav-links{gap:0;margin-left:0}
  :root #app .public-nav-links>a,:root #app .product-nav-links>a{padding:10px;font-size:13px}
  :root #app .public-nav,:root #app .product-nav{gap:12px;padding-inline:16px}
  :root #app .nav-controls .sign-in-link{display:none}
}
@media(max-width:900px){
  :root #app .public-nav-links{display:none}
  :root #app .mobile-menu{display:inline-flex}
  :root #app .anime-scene-copy h1{font-size:68px}
  :root #app .anime-hero-description{font-size:17px}
  :root #app .anime-hero{padding-top:120px}
  :root #app .anime-setup-guide{padding:24px}
}
@media(max-height:780px) and (min-width:901px){
  :root #app .anime-scene-copy h1{font-size:64px;line-height:1.03;margin-bottom:20px}
  :root #app .anime-kicker{font-size:12px;margin-bottom:18px}
  :root #app .anime-hero-description{font-size:16px;line-height:1.55;margin-bottom:22px}
  :root #app .anime-scene-status{margin-top:18px}
}
@media(max-width:600px){
  :root #app .public-header,:root #app .product-header,:root #app .auth-header{width:calc(100% - 24px);top:10px;margin-top:10px}
  :root #app .public-nav,:root #app .product-nav{height:62px;min-height:62px;padding-inline:12px;gap:8px}
  :root #app .public-nav .brand,:root #app .product-nav .brand,:root #app .auth-brand{font-size:25px;gap:8px}
  :root #app .brand-mark{width:30px;height:30px}
  :root #app .nav-controls .anime-nav-demo{display:none}
  :root #app .nav-controls,:root #app .product-nav-controls{gap:2px}
  :root #app .theme-control{width:38px;height:38px;padding:8px}
  :root #app .mobile-menu,:root #app .product-menu-toggle{width:38px;height:38px;min-width:38px}
  :root #app .button{min-height:48px;padding:11px 18px;font-size:14px}
  :root #app .text-link{font-size:15px}
  :root #app .section{padding:68px 0}
  :root #app .section h2,:root #app .closing h2{font-size:36px}
  :root #app .section-intro>p,:root #app .feature-copy>p,:root #app .living-workflow-intro>p{font-size:16px}
  :root #app .anime-hero{padding-top:215px;padding-bottom:210px;margin-top:12px}
  :root #app .anime-hero-main{min-height:470px}
  :root #app .anime-hero::after{background:linear-gradient(180deg,transparent 0,#102b4140 16%,#102b41ed 44%,#102b41 78%)}
  :root #app .anime-scene-copy{width:100%}
  :root #app .anime-scene-copy h1{font-size:clamp(42px,11vw,56px);line-height:1.07}
  :root #app .anime-kicker{font-size:11px;margin-bottom:18px}
  :root #app .anime-hero-description{font-size:16px;line-height:1.6}
  :root #app .anime-handnote{display:none}
  :root #app .anime-scene-navigation{gap:10px}
  :root #app .anime-scene-arrow{width:34px;height:34px}
  :root #app .anime-scene-tab{min-height:90px;padding:14px 10px;border-radius:16px}
  :root #app .anime-scene-tab-copy>span:last-child{font-size:11px}
  :root #app .anime-scene-index{font-size:22px}
  :root #app .living-workflow-top{font-size:12px;padding:20px}
  :root #app .living-workflow-request>p{font-size:25px}
  :root #app .living-workflow-steps>li{font-size:11px}
  :root #app .living-workflow-status h3{font-size:22px}
  :root #app .living-workflow-status p{font-size:14px}
  :root #app .living-workflow-foot{font-size:11px}
  :root #app .architecture-flow{padding-inline:16px}
  :root #app .architecture-step h3{font-size:18px}
  :root #app .architecture-step p{font-size:13px}
  :root #app .status-surface{padding:20px}
  :root #app .metric-number{font-size:34px}
  :root #app .player-table{padding-inline:16px}
  :root #app .player-line{font-size:13px;gap:10px}
  :root #app .anime-setup-guide{padding:20px}
  :root #app .auth-header{padding:12px;gap:8px}
  :root #app .auth-content h1{font-size:38px}
  :root #app .auth-header-actions{gap:4px}
  :root #app .dash-topbar{margin:10px 12px 0;border-radius:24px}
  :root #app .dashboard-page{font-size:14px}
  :root #app .dashboard-page h1{font-size:30px}
  :root #app .dashboard-page h2{font-size:20px}
  :root .sune-music .music-launcher{min-height:44px}
}
@media(forced-colors:active){.phosphor-icon{forced-color-adjust:none;background:CanvasText}}
