@font-face{font-family:Systemia;src:url('assets/Systemia-Regular.otf');font-weight:400;font-display:swap}
@font-face{font-family:Systemia;src:url('assets/Systemia-Medium.otf');font-weight:500 800;font-display:swap}
@font-face{font-family:Ivar;src:url('assets/IvarDisplayCondensed-Regular.otf');font-weight:400;font-display:swap}
:root{font-family:Systemia,Arial,sans-serif;color:#000;background:#F2EFEC;font-synthesis:none;--muted:#65615d;--line:#dedbd7;--green:#009A33;--mint:#B2FFBF;--red:#b52626}
*{box-sizing:border-box}body{margin:0;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}button,input,select{font:inherit}button{color:inherit;border:0;background:none;cursor:pointer}a{color:inherit}button,a,input,select,summary{outline-offset:4px;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #246cbd}svg{width:24px;height:24px;vertical-align:middle;flex-shrink:0}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}

/* Studio shell (same chrome as the signup prototypes) */
.studio-header{margin:0 42px;height:80px;border-bottom:1px solid #d6d1ca;display:flex;align-items:center;gap:40px}.studio-header>img{width:110px;height:auto}.studio-header>span{font-size:14px;flex:1}.studio-header b{font-weight:400;border:1px solid #ccc6bf;border-radius:20px;padding:4px 9px;margin-left:10px;font-size:11px}.studio-header button{border:1px solid #c9c3bc;padding:9px 13px;border-radius:8px;font-size:12px}.prototype-label{text-align:center;font-size:11px;color:var(--muted);padding:15px 0 0}
.workbench{display:grid;grid-template-columns:210px 426px 270px;gap:48px;max-width:1160px;margin:27px auto 50px;padding:0 24px;align-items:start}
.workbench.compare{grid-template-columns:884px 270px;max-width:1260px}.workbench.compare .overview{display:none}
.overview{padding-top:58px}.overview .eyebrow{font-size:13px;margin:0 0 18px}.overview h1{font:400 53px/1.03 Ivar,serif;letter-spacing:-.7px}.overview>p:not(.eyebrow){font-size:14px;line-height:1.7;color:var(--muted);margin-top:24px}
#review{list-style:none;margin:34px 0 0;padding:0}#review li{margin:6px 0}#review button{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);text-align:left;padding:6px 0;min-height:36px}#review button span{width:25px;height:25px;border:1px solid #bdb7b0;border-radius:50%;display:grid;place-items:center;font-size:11px;flex-shrink:0}#review button.current{color:#000;font-weight:500}#review button.current span{background:#000;color:#fff;border-color:#000}#review button:hover{color:#000}
.stage{display:flex;align-items:flex-start;flex-direction:column;gap:0}.stages{display:flex;gap:48px;align-items:flex-start}
.phone{height:902px;width:418px;border:6px solid #191919;border-radius:42px;box-shadow:0 12px 35px #35323012;overflow:hidden;position:relative;display:flex;flex-direction:column;background:#F2EFEC;--ts:1}
.status-bar{height:44px;padding:13px 24px 7px;display:flex;justify-content:space-between;align-items:center;font-size:16px;background:#F2EFEC;font-weight:500;flex-shrink:0}.home-indicator{height:15px;display:grid;place-items:center;background:#fff;flex-shrink:0}.home-indicator:before{content:'';width:114px;height:4px;background:#000;border-radius:4px}
.app{display:flex;flex-direction:column;flex:1;min-height:0;position:relative;background:#F2EFEC}
.stage-caption{max-width:380px;font-size:11px;line-height:1.5;color:var(--muted);text-align:center;margin:17px auto 0}
.controls{padding-top:19px}.controls-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.controls h2{font-size:18px;font-weight:500}.controls label{font-size:12px;display:block;margin:17px 0 7px}.controls select{width:100%;height:41px;border:1px solid #c9c3bc;border-radius:8px;background:#fbfaf8;padding:0 10px;font-size:12px;color:#000}.control-button{width:100%;min-height:42px;text-align:left;border:1px solid #c9c3bc;border-radius:8px;padding:10px 12px;font-size:12px;margin-top:16px;background:#fff}.control-button[aria-pressed=true]{background:#000;color:#fff;border-color:#000}
.controls-disclaimer{font-size:11px;line-height:1.5;color:var(--muted);margin:-8px 0 20px}
.rule-note{margin-top:22px;padding-top:19px;border-top:1px solid #d6d1ca}.rule-note h3{font-size:13px;font-weight:500;margin:0 0 10px}.rule-note ul{padding-left:0;list-style:none;margin:0;font-size:12px;line-height:1.55;color:var(--muted)}.rule-note li{margin:9px 0;display:flex;gap:8px;align-items:flex-start}.rule-note li b{color:#000;font-weight:500;min-width:92px;flex-shrink:0}.rule-note li span{flex:1}
.chip{display:inline-block;font-size:10px;font-weight:500;padding:1px 6px;border-radius:3px;white-space:nowrap;margin-left:4px;vertical-align:1px}.chip-free{background:#B2FFBF;color:#00471B}.chip-same{background:#DDF3E4;color:#00471B;border:1px solid #9BD9AF}.chip-extra{background:#FFE39B;color:#996B00}.chip-derived{background:#E6E1DC;color:#353230}.chip-none{background:#FFBBBB;color:#8B1A1A}
.review-details{border-top:1px solid #d6d1ca;padding:15px 0;font-size:12px;line-height:1.65}.review-details summary{cursor:pointer;font-weight:500}.review-details p{color:var(--muted);margin-top:10px}#close-controls{display:none}
.mobile-controls{display:none}

/* Home screen, mirroring the Flutter design system tokens */
.home-scroll{background:#F2EFEC;flex:1;min-height:0;overflow:auto;padding:0 16px 24px;display:flex;flex-direction:column}
.home-header{display:flex;align-items:center;justify-content:space-between;height:64px;gap:12px}
.symbol{width:30px;height:28px;object-fit:contain}.home-logo{width:111px;height:auto}.header-tools{display:flex;gap:4px}
.icon-button{width:44px;height:44px;display:grid;place-items:center;padding:0;border-radius:22px}.icon-button svg{width:calc(24px * var(--ts));height:calc(24px * var(--ts))}
.home-header .spacer{width:30px}
.facility-row{display:flex;align-items:center;justify-content:space-between;margin:4px 0 12px;min-height:44px;gap:8px}
.facility{display:flex;align-items:center;gap:4px;padding:0;text-align:left;font-size:calc(16px * var(--ts));line-height:calc(24px * var(--ts));min-height:44px;min-width:0;flex:1 1 auto}.facility .addr{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.facility svg{width:calc(20px * var(--ts));height:calc(20px * var(--ts));flex-shrink:0}
.seg{display:flex;align-items:center;gap:4px;flex-shrink:0}.segbtn{width:40px;height:40px;border-radius:20px;display:grid;place-items:center;padding:0}.segbtn[aria-pressed=true]{background:#fff}.segbtn svg{width:calc(22px * var(--ts));height:calc(22px * var(--ts))}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.card{background:#fff;border-radius:12px;padding:16px;display:flex;flex-direction:column;min-height:calc(108px * var(--ts) + 32px);min-width:0;text-align:left;width:100%;font:inherit;color:inherit}
.card.full{grid-column:span 2}.card.chart{min-height:0}
.title{font-size:calc(18px * var(--ts));line-height:calc(26px * var(--ts));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fig{display:flex;align-items:baseline;gap:4px;min-width:0}.fig .v{font-size:calc(32px * var(--ts));line-height:calc(36px * var(--ts));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fig .u{font-size:calc(14px * var(--ts));line-height:calc(20px * var(--ts));white-space:nowrap}
.fig.sm .v{font-size:calc(16px * var(--ts));line-height:calc(24px * var(--ts));font-weight:500}
.fig .v.celebrate,.fig .u.celebrate{color:var(--green)}
.main{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.main>.fig .v{overflow:visible;text-overflow:clip;flex-shrink:0}
.row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:auto}
.secs{display:flex;gap:20px;align-items:flex-end;justify-content:flex-end;flex:0 1 auto;min-width:0}
.sec{display:flex;flex-direction:column;align-items:flex-end;min-width:0;flex:0 1 auto}
.charttop{flex-wrap:wrap}.chart .fig .v{overflow:visible;text-overflow:clip}
.lbl{font-size:calc(14px * var(--ts));line-height:calc(20px * var(--ts));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sec .lbl{white-space:normal;text-align:right;overflow-wrap:anywhere}
.sub{display:flex;gap:6px;align-items:baseline;font-size:calc(14px * var(--ts));line-height:calc(20px * var(--ts));min-width:0}.sub .t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.sub .s{white-space:nowrap}
.sub .arrow{display:inline-flex;align-items:center;margin-left:auto}.sub .arrow svg{width:calc(16px * var(--ts));height:calc(16px * var(--ts))}
.sub.spread{justify-content:space-between}
.trend{display:flex;align-items:baseline;gap:4px}.trend svg{width:calc(16px * var(--ts));height:calc(16px * var(--ts));align-self:center}
.extra{font-size:calc(14px * var(--ts));line-height:calc(20px * var(--ts));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.devtop{display:flex;align-items:flex-start;justify-content:space-between}
.devimg{width:calc(72px * var(--ts));height:calc(48px * var(--ts));object-fit:contain;object-position:left center}
.devtitle{font-size:calc(16px * var(--ts));line-height:calc(24px * var(--ts));font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.badge{width:16px;height:16px;border-radius:8px;display:grid;place-items:center;flex-shrink:0;margin-top:2px}.badge i{display:block;width:8px;height:8px;border-radius:4px}.badge.pulse i{animation:gpulse 1.6s ease-in-out infinite}
@keyframes gpulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.7);opacity:.6}}
.cmphead{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.cmphead .period{font-size:calc(14px * var(--ts));line-height:calc(20px * var(--ts));color:#74706B;white-space:nowrap}
.bars{display:flex;flex-direction:column;gap:8px;margin-top:auto}.barrow{display:flex;justify-content:space-between;gap:8px;font-size:calc(14px * var(--ts));line-height:calc(20px * var(--ts))}.barrow span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track{height:6px;border-radius:3px;background:#F2EFEC;overflow:hidden}.fill{height:6px;border-radius:3px;background:#000}
.charttop{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.more{display:flex;align-items:center;gap:2px;font-size:calc(14px * var(--ts));line-height:calc(20px * var(--ts));white-space:nowrap;min-height:44px;padding:0}.more svg{width:calc(16px * var(--ts));height:calc(16px * var(--ts))}
.chartsub{font-size:calc(14px * var(--ts));line-height:calc(20px * var(--ts))}.chartsvg{width:100%;height:auto;display:block;margin-top:12px}.chartsvg text{font-family:Systemia,sans-serif;font-size:11px;fill:#74706B}
.bottom{display:flex;align-items:center;justify-content:center;gap:12px;padding:24px 0 8px}.bottom.split{justify-content:space-between}
.pill{height:48px;padding:0 24px;border-radius:24px;background:#fff;color:#000;font-size:calc(16px * var(--ts));font-weight:500;white-space:nowrap}
.home-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:10px 8px 6px;background:#fff;border-top:1px solid #ece9e5;flex-shrink:0}.home-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:calc(12px * var(--ts));line-height:calc(16px * var(--ts));color:#74706B;min-height:44px;padding:0}.home-nav button[aria-current=page]{color:#000}.home-nav svg{width:calc(24px * var(--ts));height:calc(24px * var(--ts))}

@media(min-width:1051px){#toggle-controls{display:none}}
@media(max-width:1300px){.workbench.compare{grid-template-columns:860px 250px;gap:24px;max-width:1160px}.workbench.compare .stages{gap:24px}}
@media(max-width:1150px){.workbench{gap:24px;grid-template-columns:180px 418px 250px;max-width:1000px}.overview h1{font-size:46px}.studio-header{margin:0 26px}}
@media(max-width:1050px){.workbench,.workbench.compare{grid-template-columns:190px 418px;max-width:680px;gap:25px}.workbench.compare .overview{display:block}.stages>.phone+.phone{display:none}.controls{display:none;position:fixed;z-index:100;right:0;top:0;bottom:0;width:320px;max-width:90vw;overflow:auto;background:#F2EFEC;padding:25px;box-shadow:-20px 0 50px #0002}.controls.open{display:block}#close-controls{display:block;font-size:18px;min-height:40px}.studio-header{height:66px}}
@media(max-width:680px){.studio-header,.prototype-label{display:none}.workbench,.workbench.compare{display:block;padding:0;margin:0;max-width:none}.overview{display:none!important}.phone{height:100dvh;min-height:450px;width:100%;border:0;border-radius:0;box-shadow:none;padding-top:env(safe-area-inset-top)}.status-bar{display:none}.home-indicator{height:max(7px,env(safe-area-inset-bottom))}.home-indicator:before{display:none}.stage-caption{display:none}.mobile-controls{display:block;flex-shrink:0;max-width:98px;min-height:44px;padding:6px 0;font-size:11px;line-height:1.3;text-align:right;text-decoration:underline;text-underline-offset:3px;color:var(--muted)}.home-header .header-tools{display:none}#close-controls{font-size:13px;text-decoration:underline;text-underline-offset:3px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
