/* 11.0: product design refinements; shared between public site and Studio. */
:root{--ease-ui:cubic-bezier(.22,.75,.25,1);--motion:240ms;--shadow-soft:0 6px 24px #174f3410;--shadow-lift:0 12px 32px #174f341a}
body.light{--rg-bg:#e6f6ee;--rg-surface:#fff;--rg-raised:#edf5f1;--rg-line:#d6e7de;--rg-muted:#4c6558;--rg-text:#13251c;background:linear-gradient(125deg,#d5f3e3 0%,#edf8f2 56%,#e6f3f3 100%)}
.ui-icon{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;pointer-events:none}.has-ui-icon:not(.overview>div):not(.proofstrip>div){display:inline-flex;align-items:center;gap:8px}.icon-tile{display:inline-grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:12px;background:var(--rg-deep);color:var(--rg-accent)}.icon-tile .ui-icon{width:21px;height:21px}.section-icon{width:36px;height:36px;border-radius:11px}.section-icon .ui-icon{width:20px;height:20px}.metric{width:42px;height:42px;border-radius:13px}.index-page .wrap{max-width:1340px}.index-page .hero{gap:clamp(28px,4vw,70px);padding-block:60px 46px;min-height:0}.index-page .hero h1{font-size:clamp(44px,4.9vw,76px);line-height:1.045;letter-spacing:-.057em}.index-page .hero-copy>p:not(.fine){max-width:540px;font-size:18px}.index-page .rg-sitebar{height:68px;padding:9px 12px 9px 16px;box-shadow:0 6px 26px #143d2910;gap:14px}.index-page .mint-nav{gap:17px}.mint-nav a .ui-icon{width:15px;height:15px;color:var(--rg-muted)}.index-page .demo-shell{box-shadow:0 18px 50px #1b68491a;background:var(--rg-raised);padding:12px}.index-page .terminal-body{padding:20px}.index-page .terminal .rg-chart{padding:12px 15px}.index-page .terminal .rg-donut-wrap{gap:12px}.index-page .terminal .rg-ring{width:76px;height:76px}.index-page .terminal .rg-chart h3{font-size:14px;margin-bottom:0}.index-page .terminal .rg-chart p{font-size:11px;margin-bottom:8px}.index-page .terminal .ledger>div{padding:12px}.index-page .proofstrip{gap:18px;padding:20px 24px}.proofstrip>div{display:grid;grid-template-columns:42px 1fr;column-gap:12px;align-items:center}.proofstrip>div .metric{grid-row:span 2}.proofstrip>div b{line-height:1.15}.proofstrip>div>span:not(.metric){grid-column:2}.index-page .cases{gap:16px}.index-page .cases article,.index-page .cases article+article{padding:22px 20px 0;min-height:260px;border-radius:25px;box-shadow:var(--shadow-soft);transition:transform var(--motion) var(--ease-ui),box-shadow var(--motion),border-color var(--motion)}.index-page .cases article:focus-within,.index-page .cases article:hover{transform:translateY(-5px);box-shadow:var(--shadow-lift);border-color:var(--rg-accent)}.scenario-art{transition:transform 400ms var(--ease-ui)}.cases article:hover .scenario-art,.cases article:focus-within .scenario-art{transform:rotate(-3deg) translate(1px,0)}.process article h3.has-ui-icon{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.process article>span{font-variant-numeric:tabular-nums}.index-page .security .checklist>div.has-ui-icon{display:flex;gap:10px}.security .checklist>div .ui-icon{width:19px;height:19px}.mint-ai-brand .ui-icon{width:26px;height:26px}.mint-suggestions button{min-height:42px}.mint-suggestions button .ui-icon{color:var(--rg-accent)}.mint-ask:focus-within{box-shadow:0 0 0 4px #2ba76f22,0 12px 38px #278b6420}.studio-page .nav{box-shadow:var(--shadow-soft)}.studio-page .nav a.active{box-shadow:inset 3px 0 var(--rg-accent);color:var(--rg-accent)}.studio-page .nav a:not(.brand){transition:background var(--motion),color var(--motion),transform var(--motion) var(--ease-ui)}.studio-page .nav a:not(.brand):hover{transform:translateX(2px)}.studio-page .overview>div{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:12px;align-items:center;min-height:82px}.studio-page .overview .metric{grid-row:span 2}.studio-page .overview strong,.studio-page .overview small{grid-column:2}.studio-page .overview .status-title .metric{background:var(--rg-surface)}.studio-page .overview strong{line-height:1.3}.studio-page .panel h2.has-ui-icon,.mint-flow-summary h2.has-ui-icon{display:flex;gap:10px;align-items:center;font-size:21px}.studio-page .panel h2 .icon-tile{margin:0}.studio-page .layout:not(.single) .panel{align-self:start}.studio-page .contract-tabs button{justify-content:center}.studio-page .readable-rules .rule-icon{width:32px;height:32px}.studio-page .readable-rules .rule-icon svg{width:17px;height:17px}.studio-page .steps i,.station i,.studio-page .sim-rail i{transition:background 280ms,border-color 280ms,box-shadow 280ms}.station.current i{box-shadow:0 0 0 5px #299a6e24}.station:before{transition:background 350ms}.studio-page .action-footer button,.studio-page #compile{display:flex;justify-content:center;align-items:center}.studio-page .viewtools button{min-height:39px}.studio-page .rg-chat-panel .rg-chat-header{background:var(--rg-surface)}.rg-chat-panel{box-shadow:0 18px 52px #184d2d25;transform-origin:bottom right}.rg-chat-avatar{border-radius:13px}.rg-chat-avatar .ui-icon,.rg-chat-launch .ui-icon{fill:none;stroke:currentColor}.rg-chat-quick{display:grid;grid-template-columns:1fr;gap:6px}.rg-chat-quick button{justify-content:flex-start;text-align:left;min-height:36px}.rg-chat-quick .ui-icon{color:var(--rg-accent);width:16px;height:16px}.rg-chat-tools button .ui-icon{width:15px;height:15px}.rg-chat-tools #rgChatClose{display:grid;place-items:center}.rg-chat-footer form button .ui-icon{width:15px;height:15px}.rg-chat-transfer{justify-content:flex-start}.rg-chat-panel:not([hidden]){animation:panel-in 300ms var(--ease-ui) both}.rg-chat-msg.new-message{animation:message-in 260ms var(--ease-ui) both}.rg-catalog[open],.rg-catalog.search-mode[open],.rg-catalog:not(.search-mode)[open]{animation:menu-in 320ms var(--ease-ui) both}.rg-catalog[open]::backdrop{animation:backdrop-in 250ms ease both}.rg-result{transition:background var(--motion),border-color var(--motion),transform var(--motion) var(--ease-ui)}.rg-result:hover{transform:translateX(3px)}.rg-result-icon{border-radius:12px}.rg-result-arrow{transition:transform var(--motion) var(--ease-ui)}.rg-result:hover .rg-result-arrow{transform:translate(2px,-2px)}.rg-filter button{transition:background var(--motion),border-color var(--motion),color var(--motion)}.rg-close{display:grid;place-items:center}.rg-chart h3.has-ui-icon{display:flex;gap:8px;align-items:center}.rg-chart h3 .ui-icon{color:var(--rg-accent)}.rg-chart svg:not(.ui-icon){overflow:visible}.rg-chart svg rect:not(.rg-grid){transform-box:fill-box;transform-origin:left center;animation:bar-grow 450ms var(--ease-ui) both}.rg-chart .mint-line.draw-line{stroke-dasharray:var(--trace-length);stroke-dashoffset:0;animation:line-draw 650ms var(--ease-ui) both}.rg-chart .mint-area{animation:backdrop-in 650ms ease both}.rg-ring{animation:ring-in 340ms var(--ease-ui) both}.mint-track i{transition:width 420ms var(--ease-ui)}button,a.button{transition:background var(--motion),color var(--motion),border-color var(--motion),box-shadow var(--motion),transform 160ms var(--ease-ui)}button:not(:disabled):active,a.button:active{transform:scale(.98)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--rg-accent);outline-offset:3px}html{scroll-behavior:smooth}.studio-page .panel:not([hidden]){animation:message-in 240ms var(--ease-ui) both}
@keyframes panel-in{from{opacity:0;transform:translateY(12px) scale(.975)}to{opacity:1;transform:none}}@keyframes menu-in{from{opacity:0;transform:translateY(-12px) scale(.985)}to{opacity:1;transform:none}}@keyframes backdrop-in{from{opacity:0}to{opacity:1}}@keyframes message-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes bar-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes line-draw{from{stroke-dashoffset:var(--trace-length)}to{stroke-dashoffset:0}}@keyframes ring-in{from{opacity:.45;transform:scale(.94)}to{opacity:1;transform:none}}
@media(min-width:1100px){.index-page .hero{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.index-page .demo-shell{max-width:690px;justify-self:end;width:100%}.index-page .hero h1{font-size:clamp(50px,4.8vw,73px)}}
@media(max-width:1150px){.index-page .mint-nav{display:none}.index-page .cases article,.index-page .cases article+article{min-height:235px}.studio-page .overview>div{grid-template-columns:34px minmax(0,1fr);gap:6px}.studio-page .overview .metric{width:34px;height:34px}.studio-page .overview .metric svg{width:18px;height:18px}}
@media(max-width:900px){.index-page .hero{grid-template-columns:1fr;padding-top:42px;gap:40px}.index-page .hero-copy>p:not(.fine){margin-inline:auto}.index-page .hero .actions{justify-content:center}.index-page .demo-shell{max-width:680px}.proofstrip>div{grid-template-columns:34px 1fr;gap:8px}.proofstrip>div .metric{width:34px;height:34px}}
@media(max-width:760px){.index-page .wrap{width:calc(100% - 30px)}.index-page .rg-sitebar{height:auto;gap:7px;padding:9px}.index-page .hero{padding-block:44px 30px}.index-page .hero h1{font-size:clamp(39px,10vw,58px)}.index-page .hero-copy>p:not(.fine){font-size:16px}.index-page .terminal-body{padding:14px}.index-page .terminal .ledger>div{padding:9px}.index-page .proofstrip{padding:16px;gap:14px}.index-page .cases article,.index-page .cases article+article{padding:16px 13px 0;min-height:228px;border-radius:21px}.studio-page .overview>div{grid-template-columns:minmax(0,1fr);min-height:84px;padding:11px}.studio-page .overview .metric{grid-row:auto;width:29px;height:29px}.studio-page .overview strong,.studio-page .overview small{grid-column:1}.studio-page .overview strong{font-size:16px}.studio-page .viewtools button .ui-icon{width:14px;height:14px}.studio-page .panel h2.has-ui-icon{font-size:19px}.rg-chat-tools #rgChatClear .ui-icon{display:none}.studio-page #theme .ui-icon,.index-page #siteTheme .ui-icon{display:none}.index-page .rg-studio-link .ui-icon{display:none}.index-page .hero .actions{gap:12px}.studio-page .nav a:not(.brand):hover{transform:none}}
@media(max-width:410px){.index-page .proofstrip>div .metric{display:none}.proofstrip>div{display:block}.studio-page .overview>div{grid-template-columns:34px 1fr;min-height:66px}.studio-page .overview .metric{grid-row:span 2}.studio-page .overview strong,.studio-page .overview small{grid-column:2}.index-page .hero .actions .button{padding-inline:15px}.studio-page .viewtools button{gap:4px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.cases article:hover,.rg-result:hover,.scenario-art{transform:none!important}}
/* Explicit sizing overrides generic chart SVG sizing. */
.rg-chart h3 .ui-icon{width:18px;height:18px;display:inline-block;flex:0 0 18px;overflow:hidden}.rg-chart h3.has-ui-icon{min-width:0}.rg-chart svg:not(.ui-icon){max-width:100%;overflow:hidden}.index-page .demo-caption span:last-child{padding-right:18px}.rg-chat-header>div:not(.rg-chat-tools){min-width:0;flex:1}.rg-chat-header .rg-chat-tools{flex:none}.rg-chat-header .rg-chat-tools #rgChatClear{font-size:0;gap:0;width:30px;padding:6px}.rg-chat-header .rg-chat-tools #rgChatClear .ui-icon{display:block;width:16px;height:16px}.mint-ai-brand .ui-icon{padding:5px;width:34px;height:34px;background:var(--rg-deep);border-radius:11px}.proofstrip>div .metric{display:grid;color:var(--rg-accent)}
@media(max-width:760px){.index-page .rg-sitebar .brand{margin-right:auto}.index-page .rg-sitebar .rg-theme-switch{font-size:0;min-width:34px;width:34px;height:38px}.index-page .rg-sitebar .rg-theme-switch .ui-icon{display:block;width:17px;height:17px}.index-page .rg-sitebar .rg-studio-link{min-height:38px;font-size:11px;padding:8px 10px}.index-page .rg-sitebar .rg-nav-tools{flex-basis:100%}.index-page .proofstrip>div .metric{display:none}.index-page .proofstrip>div{display:block}.index-page .hero .demo-shell{min-width:0}.index-page .rg-chart{overflow:hidden}.index-page .cases article,.index-page .cases article+article{min-width:0}}
