:root{--navy:#101d32;--teal:#087f78;--teal-soft:#e7f6f3;--blue:#2457a6;--gold:#d69a3d;--red:#b42318;--text:#223248;--muted:#66768b;--line:#e2e9ef;--panel:#fff;--surface:#f5f8fa;--shadow:0 14px 38px rgba(16,29,50,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--surface);color:var(--text);font-family:Vazirmatn,Tahoma,sans-serif;font-size:14px;line-height:1.8}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid rgba(57,198,179,.65);outline-offset:3px}
.topbar{min-height:78px;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px max(28px,calc((100vw - 1240px)/2));background:var(--navy);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}.brand{display:inline-flex;align-items:center;gap:11px;min-width:0}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(57,198,179,.48);color:#39c6b3;border-radius:11px;font-size:19px;font-weight:900}.brand-copy{display:flex;flex-direction:column;line-height:1.35}.brand-copy strong{color:#fff;font-size:16px;font-weight:900}.brand-copy small{color:#a7b7c9;font-size:9.5px;margin-top:3px}.topbar-side{display:flex;align-items:center;gap:25px}.demo-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 11px;border:1px solid rgba(57,198,179,.2);border-radius:100px;background:rgba(57,198,179,.08);color:#b7f0e8;font-size:10px;font-weight:700;white-space:nowrap}.status-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#39c6b3}.back-link{color:#c3d0df;font-size:11px;white-space:nowrap}.back-link:hover{color:#39c6b3}
.page-shell{width:min(1240px,calc(100% - 44px));margin:0 auto;padding:40px 0 70px}.intro-block{max-width:900px;padding:16px 0 26px}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--teal);font-size:10px;font-weight:900;margin-bottom:12px}.eyebrow-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#39c6b3}.intro-block h1{max-width:850px;color:var(--navy);font-size:clamp(2rem,4vw,3.1rem);font-weight:900;line-height:1.45;margin:0 0 12px;letter-spacing:-.7px}.intro-block h1 span{color:var(--teal)}.intro-text{max-width:820px;color:#536377;font-size:13px;line-height:2.15;margin:0}.feature-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:19px}.feature-pills span{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;color:#425269;background:#fff;border:1px solid var(--line);border-radius:100px;font-size:10px}.feature-pills b{color:var(--teal);font-size:12px}
.panel{border:1px solid #e5ebf0;border-radius:19px;background:var(--panel);box-shadow:var(--shadow)}.budget-panel{padding:23px 26px 19px;margin-top:12px}.budget-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.budget-title-row h2{margin:0;color:var(--navy);font-size:19px}.budget-title-row p{margin:5px 0 0;color:var(--muted);font-size:11px}.small-eyebrow{margin-bottom:5px;font-size:9px}.budget-number{display:flex;align-items:center;gap:12px;color:#5d6d80;font-size:10px;font-weight:800}.budget-number input{width:104px;height:43px;border:1px solid #cfdce4;border-radius:10px;background:#fbfcfd;color:var(--navy);font-size:17px;font-weight:900;text-align:center}.budget-range-row{margin-top:18px}.budget-range-row input{display:block;width:100%;accent-color:var(--teal);cursor:pointer}.range-labels{display:flex;justify-content:space-between;color:#8290a1;font-size:9px;direction:ltr}.budget-context{display:flex;align-items:flex-start;gap:10px;margin-top:17px;padding:11px 13px;border-radius:10px;background:#f5f8fa;color:#657589;font-size:10px;line-height:1.9}.budget-context-mark{display:grid;place-items:center;flex:0 0 auto;width:20px;height:20px;border-radius:50%;background:#e4edf2;color:#45616c;font-size:11px;font-weight:900}
.projects-section,.results-section{margin-top:34px}.section-heading{max-width:820px;margin-bottom:19px}.section-heading h2{margin:0 0 8px;color:var(--navy);font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.55}.section-heading p{margin:0;color:var(--muted);font-size:12px;line-height:2}
.projects-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.project-input-card{display:flex;flex-direction:column;min-width:0;padding:17px 17px 15px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(16,29,50,.025)}.project-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}.project-number{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#eff5f7;color:var(--navy);font-size:10px;font-weight:900}.dependency-badge{display:inline-flex;max-width:calc(100% - 40px);padding:4px 7px;border-radius:7px;background:#fff7ed;color:#9a4f10;font-size:8px;font-weight:800;line-height:1.55}.dependency-badge.is-free{background:#edf8f5;color:#16665f}.project-input-card h3{margin:0 0 5px;color:var(--navy);font-size:13px;line-height:1.75}.project-input-card p{margin:0 0 15px;color:#66768b;font-size:10px;line-height:1.9;min-height:38px}.project-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto}.project-inputs label{display:flex;flex-direction:column;gap:5px;color:#63748a;font-size:9px;font-weight:800}.project-inputs input{width:100%;min-width:0;height:36px;border:1px solid #dce5eb;border-radius:8px;background:#fbfcfd;color:var(--navy);font-size:12px;font-weight:850;text-align:center}.project-inputs input:focus,.budget-number input:focus{border-color:var(--teal);outline:none;box-shadow:0 0 0 3px rgba(8,127,120,.1)}input[aria-invalid="true"]{border-color:#c94d4d!important;background:#fff6f6!important}.input-help{margin:12px 0 0;color:var(--muted);font-size:10px;line-height:1.9}.action-row{display:flex;align-items:center;gap:15px;margin-top:15px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:9px 15px;border-radius:10px;border:1px solid transparent;font-size:10px;font-weight:850;cursor:pointer}.button-light{color:#4d5e71;background:#fff;border-color:#dce5eb}.button-light:hover{background:#f5f8fa;border-color:#bbcbd7}.solve-status{display:flex;align-items:center;gap:9px;min-height:39px;padding:7px 11px;border-radius:9px;color:#536377;background:#f6f9fb;font-size:10px;line-height:1.7;flex:1}.solve-status.is-success{color:#14695f;background:#edf8f5}.solve-status.is-error{color:#9b3030;background:#fff3f3}.status-mark{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#8b9aad}.is-success .status-mark{background:#168f87}.is-error .status-mark{background:#c94d4d}
.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.comparison-card{padding:23px;border:1px solid var(--line);border-radius:17px;background:#fff;min-width:0}.comparison-card.is-best{border-color:rgba(8,127,120,.4);box-shadow:0 10px 28px rgba(8,127,120,.07)}.comparison-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:18px}.comparison-top h3{margin:0;color:var(--navy);font-size:15px}.comparison-top p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.9}.method-pill{display:inline-flex;padding:5px 8px;white-space:nowrap;border-radius:7px;color:#5b6879;background:#f1f5f7;font-size:9px;font-weight:800}.is-best .method-pill{color:#0d756d;background:var(--teal-soft)}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{border-radius:10px;background:#f6f9fb;padding:11px 12px;min-width:0}.metric small{display:block;margin-bottom:5px;color:var(--muted);font-size:9px}.metric strong{display:block;color:var(--navy);font-size:21px;font-weight:900;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.metric span{color:var(--muted);font-size:9px}.budget-usage{margin-top:16px}.usage-label{display:flex;justify-content:space-between;gap:10px;color:#5f6f82;font-size:9px;margin-bottom:7px}.usage-label strong{color:var(--navy);font-variant-numeric:tabular-nums}.usage-track{height:9px;overflow:hidden;border-radius:99px;background:#eaf0f3}.usage-fill{height:100%;width:0;border-radius:99px;transition:width .2s ease}.simple-fill{background:#7a8da5}.exact-fill{background:#087f78}.selected-title{margin:17px 0 8px;color:var(--navy);font-size:11px}.selected-projects{display:flex;flex-wrap:wrap;gap:7px;min-height:35px}.project-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid #d8e6e3;border-radius:8px;background:#f1f8f6;color:#175e58;font-size:9px;font-weight:800;line-height:1.6}.project-chip small{color:#3f746f;font-size:8px}.project-chip-empty{color:#748398;background:#f7f9fa;border-color:#e3eaf0}.comparison-foot{padding-top:13px;margin-top:13px;border-top:1px solid #e9eef2;color:#69798b;font-size:10px;line-height:1.9}.comparison-note{margin-top:15px;padding:14px 16px;border-right:3px solid var(--teal);border-radius:0 10px 10px 0;background:#edf8f5;color:#2d635d;font-size:11px;line-height:1.9}.comparison-note.is-warning{border-color:#d97706;background:#fff7ed;color:#92400e}
.method-notes{margin-top:28px;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.method-notes summary{padding:17px 20px;color:var(--navy);font-weight:850;font-size:12px;cursor:pointer}.method-notes[open] summary{border-bottom:1px solid var(--line)}.method-notes-content{padding:18px 22px 22px;color:#536377;font-size:11px;line-height:2}.method-notes-content p{margin:0 0 10px}.demo-footer{margin-top:34px;padding-top:17px;display:flex;justify-content:space-between;gap:16px;border-top:1px solid #dfe7ed;color:var(--muted);font-size:10px}.demo-footer a{color:var(--teal);font-weight:850}
@media(max-width:1050px){.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.comparison-grid{grid-template-columns:1fr}}
@media(max-width:720px){.topbar{padding:13px 17px;align-items:flex-start}.topbar-side{align-items:flex-end;flex-direction:column;gap:7px}.demo-badge{font-size:9px;padding:5px 8px}.page-shell{width:calc(100% - 28px);padding-top:24px}.intro-block{padding:8px 0 19px}.intro-block h1{font-size:clamp(1.8rem,8vw,2.5rem)}.intro-text{font-size:12px}.budget-panel{padding:18px 14px}.budget-title-row{align-items:flex-start}.budget-title-row h2{font-size:16px}.budget-number{align-items:flex-end;flex-direction:column;gap:4px}.budget-number input{width:90px;height:39px}.projects-grid{grid-template-columns:1fr}.project-input-card{padding:15px}.project-input-card p{min-height:0}.action-row{align-items:stretch;flex-direction:column;gap:9px}.solve-status{flex:initial}.comparison-card{padding:16px}.metric strong{font-size:18px}.method-notes-content{padding:15px}.demo-footer{flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Wordmark/tagline proportion refinement. */
.topbar .brand{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px}
.topbar .brand-logo{display:block;width:150px;height:auto}
.topbar .brand-tagline{display:block;color:#a7b7c9;font-size:11px;font-weight:650;line-height:1.5;white-space:nowrap;text-align:right}
.topbar .brand-tagline strong{color:#39c6b3;font-weight:850}
@media(max-width:720px){.topbar .brand-logo{width:128px}.topbar .brand-tagline{font-size:10px}}

/* Center the tagline on the visible wordmark instead of aligning both to the right. */
.topbar .brand{align-items:center;width:max-content}
.topbar .brand-tagline{width:max-content;text-align:center}


/* Keep the dark wordmark visible on the navy demo header. */
.topbar .brand-logo{filter:brightness(0) invert(1)}
