:root{color-scheme:dark;--bg:#0a0b10;--panel:#11131b;--panel2:#151821;--stroke:#292c37;--muted:#9295a7;--text:#f3f1f2;--accent:#ec795c;--accent2:#f0a87f;--good:#7bd2b2;font-family:Inter,"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);overflow-x:hidden}
button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}
::selection{background:#9c4c3b;color:white}
.ambient{position:fixed;pointer-events:none;z-index:-1;border-radius:50%;filter:blur(70px);opacity:.25}
.ambient-one{top:40px;right:-220px;width:560px;height:560px;background:radial-gradient(circle,#693227 0%,transparent 65%)}
.ambient-two{top:610px;left:-280px;width:600px;height:600px;background:radial-gradient(circle,#2b2b53 0%,transparent 70%)}
.app{max-width:1376px;margin:auto;padding:0 46px}
.topbar{height:91px;border-bottom:1px solid #292a32;display:flex;justify-content:space-between;align-items:center;gap:20px}
.brand{display:flex;align-items:center;gap:13px;white-space:nowrap}
.brand-icon{height:42px;width:42px;display:flex;align-items:center;justify-content:center;color:var(--accent);border:1px solid #673b33;background:#211719;clip-path:polygon(50% 0,95% 23%,95% 77%,50% 100%,5% 77%,5% 23%)}
.brand-icon svg{width:37px;height:37px}
.brand strong{display:block;font-family:Georgia,serif;letter-spacing:2.5px;font-size:22px;line-height:1}
.brand small{display:block;color:#9294a1;font-size:9px;letter-spacing:3.9px;margin-top:7px;font-weight:700}
.top-actions{display:flex;align-items:center;gap:31px}.status{color:#b8b9c0;font-size:10px;letter-spacing:1.8px;font-weight:700;display:flex;align-items:center;gap:11px}
.status-dot{display:block;width:7px;height:7px;border-radius:50%;background:var(--good);box-shadow:0 0 12px var(--good)}
.nav-mini{font-size:13px;color:#b8bac3;transition:color .2s}.nav-mini:hover{color:white}
.hero{padding:77px 0 59px;position:relative}
.eyebrow{display:flex;align-items:center;gap:13px;font-size:11px;font-weight:750;letter-spacing:3px;color:var(--accent2);margin:0 0 20px}
.line{height:1px;width:22px;background:var(--accent)}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(36px,5.15vw,70px);line-height:1.08;letter-spacing:-2.9px;font-weight:650;margin-bottom:20px}
h1 em{font-style:normal;color:var(--accent);font-family:Georgia,serif;font-weight:400;letter-spacing:-2.2px}
.hero-sub{color:#aaadbc;line-height:1.8;font-size:15px;max-width:640px;margin-bottom:32px}
.hero-stats{display:flex;flex-wrap:wrap;gap:26px;color:#8b8d9b;font-size:10px;font-weight:700;letter-spacing:1.8px}
.hero-stats span{display:flex;align-items:baseline;gap:7px}.hero-stats b{color:#edeaf0;font-size:16px;letter-spacing:0}
.workspace{display:grid;grid-template-columns:275px minmax(0,1fr);border:1px solid #34323b;background:#101117;box-shadow:0 24px 80px #0005;min-height:650px}
.sidebar{border-right:1px solid #2b2b36;padding:29px 15px 24px;background:linear-gradient(170deg,#14151d 0%,#101117 95%);display:flex;flex-direction:column;min-height:600px}
.sidebar-heading{padding:0 15px;display:flex;justify-content:space-between;color:#c7c5c9;font-weight:750;font-size:10px;letter-spacing:1.7px;margin-bottom:18px}
.sidebar-heading span{color:#787c8e}
.tool-nav{display:flex;flex-direction:column;gap:7px}
.tool-nav-item{border:1px solid transparent;border-radius:4px;color:#a5a7b4;background:transparent;width:100%;display:flex;text-align:left;align-items:center;gap:11px;padding:17px 12px;transition:border .15s,background .15s,color .15s}
.tool-nav-item:hover{color:#fff;background:#1d2029}.tool-nav-item.active{background:linear-gradient(100deg,#30201f,#1c1b25);border:1px solid #674039;color:#fff}
.nav-icon{font-size:21px;color:#8c8493;width:27px;text-align:center;flex:none}.active .nav-icon{color:var(--accent)}
.nav-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.nav-copy strong{font-size:13px;letter-spacing:.15px}.nav-copy small{font-size:11px;color:#858897}
.nav-arrow{margin-left:auto;color:#897e7e;font-size:15px}
.sidebar-note{margin:50px 11px 0;padding:21px 17px;background:linear-gradient(135deg,#24202a,#191923);border:1px solid #41323a;position:relative}
.sidebar-note-symbol{color:var(--accent);font-size:26px;display:block;margin-bottom:10px}.sidebar-note strong{font-size:11px;letter-spacing:1.5px}
.sidebar-note p{font-size:11px;line-height:1.7;color:#9293a2;margin:10px 0 0}
.workbench{padding:37px 37px 31px;min-width:0}
.tool-panel[hidden]{display:none}
.tool-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:28px;gap:15px}
.section-kicker{color:var(--accent);font-size:10px;letter-spacing:2px;font-weight:750}
h2{font-size:32px;letter-spacing:-.75px;font-weight:650;margin:9px 0 7px}
.tool-head p{font-size:13px;color:#a8a8b5;margin:0;line-height:1.6}
.module-symbol{font-size:53px;line-height:1;color:#9d6258;opacity:.9;font-family:Georgia,serif}
.tool-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:17px}
.inputs-card,.results-card{background:#171920;border:1px solid #30313b;padding:24px 22px;min-width:0}
.results-card{background:linear-gradient(140deg,#1a1a24,#17171e 75%)}
.card-title{display:flex;align-items:center;gap:9px;font-weight:750;font-size:10px;letter-spacing:1.5px;color:#d4d0d1;margin-bottom:24px}
.step-number{font-size:11px;color:var(--accent);border:1px solid #5c443f;display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px}
.live-tag{margin-left:auto;color:var(--good);letter-spacing:1.4px;font-size:9px}
label{font-size:11px;display:flex;justify-content:space-between;color:#c8c8d1;margin:16px 0 8px;gap:8px}
.input-hint{color:#848696}
input[type="number"]{height:44px;width:100%;background:#101218;border:1px solid #353642;border-radius:2px;color:#f1edef;padding:0 13px;outline:none;font-size:15px;transition:border .2s}
input[type="number"]:hover{border-color:#68616a}input[type="number"]:focus-visible{border-color:var(--accent);box-shadow:0 0 0 2px #be594626}
input:invalid{border-color:#ad5252}
.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-note{font-size:11px;color:#999aaa;line-height:1.65;margin:23px 0 16px}
.subtle-button,.accent-button{border-radius:2px;font-size:11px;letter-spacing:.7px;font-weight:750;padding:12px 14px;transition:background .16s}
.subtle-button{background:transparent;border:1px solid #3d3c47;color:#bec0ca}.subtle-button:hover{background:#282a35}
.accent-button{border:1px solid #d77559;background:#ad5745;color:white}.accent-button:hover{background:#ca6650}
.action-row{display:flex;gap:8px;flex-wrap:wrap}
.big-result{background:radial-gradient(ellipse at 70% 20%,#30222c 0%,transparent 65%);min-height:154px}
.big-result>span{display:block;font-size:12px;color:#aeb0be}
.big-result strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:clamp(32px,3vw,49px);letter-spacing:-1px;color:#ffe1cd;line-height:1.2;margin:15px 0 17px;overflow-wrap:anywhere}
.progress-track{height:5px;background:#34303b;width:100%;border-radius:4px;overflow:hidden}
.progress-fill{height:100%;background:linear-gradient(90deg,#b54c45,#f9ae80);transition:width .25s}
.mini-caption{font-size:10px;color:#8e8b98;letter-spacing:1.35px;margin-top:-5px}
.metric-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #3a3541;margin-top:16px;padding-top:21px;gap:13px}
.metric{min-width:0;display:flex;flex-direction:column;gap:9px}
.metric span{font-size:10px;color:#9293a2;letter-spacing:.9px}.metric b{font-size:clamp(16px,2.1vw,24px);color:#f1edf0;font-weight:600;overflow-wrap:anywhere}
.insight{font-size:12px;line-height:1.65;color:#b0b1bd;margin:22px 0 0;padding:13px 14px;background:#24212a;border-left:2px solid #ba6657}
.formula{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:17px;padding:15px 16px;border:1px solid #363039;background:#18161d;font-size:11px}
.formula span:first-child{color:var(--accent);font-weight:750;letter-spacing:1.3px}
.formula code{color:#d4c7cf;white-space:normal;font-family:Consolas,monospace;font-size:12px}
.formula span:last-child{color:#858592;margin-left:auto}
.curve-chart{margin-top:20px;display:flex;align-items:end;gap:9px;min-height:113px;border-bottom:1px solid #45404a;overflow:hidden}
.curve-unit{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px;justify-content:end;height:106px}
.curve-bar{width:100%;max-width:38px;min-height:5px;background:linear-gradient(#f4a682,#a34f46)}
.curve-label{font-size:10px;color:#9593a0;margin-bottom:4px}
.bottom-panels{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:23px}
.bottom-card{border:1px solid #2f2f39;background:#12141a;padding:28px}
.bottom-card h3{font-size:20px;letter-spacing:-.3px;margin:12px 0 9px}.bottom-card p{font-size:12px;color:#a2a4b1;line-height:1.75;margin:0;max-width:420px}
footer{margin:31px 0 27px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#757785;font-size:10px;letter-spacing:1px}
.footer-mark{color:var(--accent)}
@media(max-width:1120px){.app{padding:0 24px}.workspace{grid-template-columns:234px minmax(0,1fr)}.workbench{padding:27px 22px}.tool-grid{grid-template-columns:1fr}.sidebar{padding:26px 10px}.hero{padding-top:60px}.results-card{min-height:280px}}
@media(max-width:700px){.app{padding:0 14px}.topbar{height:74px}.brand strong{font-size:17px}.brand small{font-size:8px}.brand-icon{width:36px;height:36px}.nav-mini{display:none}.status{font-size:9px}.hero{padding:50px 3px 39px}.hero-sub{font-size:13px}.hero-stats{gap:15px;font-size:9px}h1{font-size:clamp(34px,8vw,50px);letter-spacing:-1.8px}.workspace{display:block}.sidebar{min-height:0;border-right:0;border-bottom:1px solid #33323b;padding:18px 11px}.sidebar-heading{margin-bottom:10px}.tool-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.tool-nav-item{padding:12px 7px;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;min-height:77px}.nav-copy{align-items:center}.nav-copy strong{font-size:10px}.nav-copy small,.nav-arrow{display:none}.sidebar-note{display:none}.workbench{padding:23px 13px}.tool-head{margin-bottom:21px}h2{font-size:27px}.module-symbol{font-size:33px}.inputs-card,.results-card{padding:22px 17px}.bottom-panels{grid-template-columns:1fr}.bottom-card{padding:25px}.formula span:last-child{margin-left:0}}
@media(max-width:365px){.status{display:none}.field-pair{gap:7px}.action-row>*{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Studio Forge launch card */
.forge-launch{display:flex;align-items:center;gap:18px;min-height:102px;background:linear-gradient(110deg,#291f26,#1c1922 70%,#151820);border:1px solid #755044;padding:20px 24px;margin-bottom:22px;transition:border-color .2s,background .2s}
.forge-launch:hover{border-color:#ef9b79;background:linear-gradient(110deg,#39232a,#1c1922 70%,#151820)}
.forge-launch-icon{width:54px;height:54px;flex:none;display:grid;place-items:center;color:#fba889;background:#35252d;border:1px solid #6a4242;font-size:33px}
.forge-launch-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.forge-launch-copy small{font-size:10px;color:#e7987b;letter-spacing:1.8px;font-weight:800}.forge-launch-copy strong{font-size:17px;font-weight:650}.forge-launch-copy>span{color:#a8a6b2;font-size:11px}
.forge-launch-arrow{white-space:nowrap;margin-left:auto;color:#ed9e83;font-size:12px;font-weight:700}
@media(max-width:700px){.forge-launch{padding:17px 12px;gap:11px}.forge-launch-icon{width:40px;height:44px;font-size:24px}.forge-launch-copy strong{font-size:14px}.forge-launch-arrow{display:none}.top-actions .nav-mini{display:none}}
