:root{color-scheme:light;--ink:#142a43;--muted:#51647a;--border:#d8e1ec;--blue:#2457d7;--urban:#2457d7;--racing:#7651b7;--cargo:#007b88;--positive:#08775b;--negative:#b44435;--paper:#f4f7fb;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,rect:focus-visible{outline:3px solid #d38314;outline-offset:3px}button{border-radius:6px;padding:10px 16px;border:1px solid transparent;font-size:14px;font-weight:600;min-height:40px}.primary{background:var(--blue);color:white}.primary:hover:not(:disabled){background:#1946b5}.secondary{background:white;border-color:#a8bbd2;color:var(--ink)}.secondary:hover:not(:disabled){background:#eef3fa}.text-button{background:transparent;color:var(--blue);padding:8px 10px}.text-button:hover:not(:disabled){background:#e7edf8}input[type=number],select{border:1px solid #a8bbd2;background:white;border-radius:5px;min-height:40px;padding:8px;color:var(--ink)}input[type=checkbox]{accent-color:var(--blue);width:17px;height:17px}.marketing-lab{max-width:1440px;margin:auto;padding:0 30px 14px}.mast{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 0;border-bottom:2px solid var(--ink)}.brand{text-decoration:none;color:var(--ink);font-weight:750;font-size:23px;letter-spacing:-.6px}.brand span{font-size:11px;letter-spacing:1.4px;margin-left:12px;font-weight:600}.intro{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:21px 0 18px}h1{font-size:28px;line-height:1.15;letter-spacing:-.7px;margin:0 0 8px}p{line-height:1.5}.intro p{font-size:15px;max-width:790px;margin:0;color:var(--muted)}.spend{text-align:right;flex-shrink:0}.spend span{font-size:13px;display:block;color:var(--muted);margin-bottom:5px}.spend strong{font-size:24px;font-variant-numeric:tabular-nums}.controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;background:#e7edf6;border-radius:7px}.batch-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-left:6px}.batch-controls label{font-size:14px}.batch-controls input{width:100px}.controls>.text-button{margin-left:auto}.round-status{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:39px;font-size:14px;padding:8px 1px;color:var(--muted)}#stage{font-weight:600;color:var(--ink)}#batch-progress{font-variant-numeric:tabular-nums}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-card{--accent:var(--urban);border:1px solid var(--border);border-top:3px solid var(--accent);background:white;border-radius:7px;padding:15px 16px 13px;transition:box-shadow .2s,border-color .2s}.product-card.racing{--accent:var(--racing)}.product-card.cargo{--accent:var(--cargo)}.product-card.active{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 20%,transparent)}.card-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px}.card-number{color:var(--accent);font-size:13px;font-weight:700}.product-card h2{font-size:19px;margin:0}.draw-state{margin-left:auto;font-size:12px;letter-spacing:.2px;color:var(--muted)}.options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.option{border:1px solid var(--border);border-radius:5px;text-align:center;padding:9px 2px;transition:background .18s,border-color .18s,transform .18s}.option strong{display:block;font-size:23px;line-height:1.1;font-variant-numeric:tabular-nums}.option span{display:block;font-size:13px;color:var(--muted);margin-top:6px}.option small{font-size:12px;display:block;color:var(--muted);margin-top:4px}.option.selected{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,white);transform:translateY(-2px)}.option.selected strong{color:var(--accent)}.strip-caption{display:flex;justify-content:space-between;gap:10px;margin:14px 0 13px;font-size:12px;color:var(--muted)}.random-number{font-variant-numeric:tabular-nums;color:var(--accent);font-weight:600}.probability-strip{height:21px;display:flex;position:relative;border-radius:3px;margin:0 0 4px;background:#e9edf3}.interval{height:100%;display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:11px;font-weight:600;border-right:2px solid white}.interval:last-of-type{border-right:0}.interval:nth-child(1){background:color-mix(in srgb,var(--accent) 13%,white)}.interval:nth-child(2){background:color-mix(in srgb,var(--accent) 25%,white)}.interval:nth-child(3){background:color-mix(in srgb,var(--accent) 39%,white)}.draw-marker{position:absolute;left:0;top:-5px;bottom:-5px;width:3px;background:var(--ink);transform:translateX(-50%);transition:left .4s cubic-bezier(.12,.65,.18,1);pointer-events:none}.draw-marker:before{content:'';position:absolute;top:-6px;left:-4px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid var(--ink)}.strip-boundaries{position:relative;height:16px;margin-bottom:8px;font-size:11px;color:var(--muted)}.strip-boundaries span{position:absolute;transform:translateX(-50%)}.strip-boundaries span:first-child{transform:none}.strip-boundaries span:last-child{transform:translateX(-100%)}.draw-detail{font-size:13px;line-height:1.4;min-height:37px;color:var(--muted);margin:7px 0 0}.draw-detail strong{font-weight:600;color:var(--ink)}.calculation{background:white;border:1px solid var(--border);border-radius:7px;margin-top:14px;padding:12px 17px}.calculation-heading{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin-bottom:12px}.step-label{letter-spacing:1px;font-weight:600}.calculation-row{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1.25fr;gap:15px;align-items:center}.calculation-row>div>span{font-size:12px;color:var(--muted);display:block;margin-bottom:6px}.calculation-row strong{font-size:22px;white-space:nowrap;font-variant-numeric:tabular-nums}.urban strong{color:var(--urban)}.racing strong{color:var(--racing)}.cargo strong{color:var(--cargo)}.operator{color:#78899c;font-size:22px}.profit-cell{border-left:1px solid var(--border);padding-left:16px;min-height:69px}.profit-cell small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.profit-cell.positive strong{color:var(--positive)}.profit-cell.negative strong{color:var(--negative)}.profit-cell.calculating{background:#edf2ff;border-radius:5px}.results{margin-top:19px}.results-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.results h2{font-size:19px;margin:0}.benchmark-toggle{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);cursor:pointer}.metrics{display:grid;grid-template-columns:.65fr 1fr 1.2fr;gap:24px;padding:15px 0 13px;border-bottom:1px solid var(--border)}.metrics span{display:block;font-size:13px;color:var(--muted);margin-bottom:7px}.metrics strong{font-size:27px;line-height:1.15;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.metrics small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.benchmark{display:flex;gap:18px;flex-wrap:wrap;padding:11px 14px;background:#e7edf8;border:1px solid #bfcee4;border-radius:5px;margin-top:12px;font-size:13px}.benchmark span:last-child{margin-left:auto;color:var(--muted)}[hidden]{display:none!important}.charts{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;margin-top:17px}.charts figure{margin:0;min-width:0}.charts figcaption{min-height:53px}.charts h3{font-size:16px;margin:0 0 7px}.legend{display:flex;gap:15px;font-size:12px;color:var(--muted)}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:10px;height:10px;display:inline-block}.negative-swatch{background:var(--negative)}.positive-swatch{background:var(--positive)}.cdf-label{font-size:12px;color:var(--muted)}.charts svg{display:block;width:100%;height:245px;overflow:visible}.charts svg text{font-family:Arial,Helvetica,sans-serif;font-size:12px;fill:var(--muted)}.charts svg .axis-label{font-size:12px;fill:var(--ink)}.chart-note{font-size:12px;color:var(--muted);margin:4px 0 0;line-height:1.4}.hist-bar{transition:y .16s,height .16s,fill .16s;cursor:crosshair}.hist-bar.latest{stroke:var(--ink);stroke-width:1.5}.exact-bar{stroke:#243d70;stroke-width:1;fill:none;stroke-dasharray:3 2;pointer-events:none}.cdf-line{fill:none;stroke:var(--blue);stroke-width:2.5}.exact-line{fill:none;stroke:#243d70;stroke-width:1.7;stroke-dasharray:5 4}.flight-chip{position:fixed;z-index:20;pointer-events:none;background:var(--ink);color:white;border:2px solid white;border-radius:5px;padding:7px 10px;font-size:15px;font-weight:700;box-shadow:0 3px 12px #142a4330;white-space:nowrap}.flight-chip.negative{background:var(--negative)}.flight-chip.positive{background:var(--positive)}#chart-tooltip{position:fixed;pointer-events:none;z-index:25;background:var(--ink);color:white;max-width:280px;padding:9px 12px;font-size:13px;line-height:1.5;border-radius:5px;box-shadow:0 4px 18px #142a4330;white-space:pre-line}.marketing-lab footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:17px;border-top:1px solid var(--border);padding-top:9px;font-size:12px;color:var(--muted)}dialog{border:0;border-radius:9px;width:min(850px,calc(100vw - 30px));max-height:90dvh;overflow:auto;padding:25px;color:var(--ink);box-shadow:0 20px 80px #0005}dialog::backdrop{background:#142a4370}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-heading h2{font-size:22px;margin:0}dialog p{font-size:15px}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:right;padding:11px;border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums}th:first-child,td:first-child{text-align:left}th{background:#edf2f8;font-size:13px}.table-scroll{overflow-x:auto} @media(min-width:1500px){.charts svg{height:275px}}
@media(max-width:1100px){.marketing-lab{padding:0 20px 14px}.intro{gap:15px}.intro p{max-width:620px}.spend span{max-width:155px}.batch-controls{gap:7px;margin:0}.product-card{padding:13px 12px}.calculation-row{gap:9px}.calculation-row strong{font-size:19px}.profit-cell{padding-left:10px}.charts{gap:20px}}
@media(max-width:800px){.intro{align-items:flex-start}.intro h1{font-size:24px}.intro p{font-size:14px}.spend strong{font-size:21px}.spend span{font-size:12px}.controls{gap:7px}.controls>.text-button{margin-left:0}.batch-controls label{font-size:13px}.batch-controls input{width:85px}.product-grid{gap:9px}.product-card{padding:12px 10px}.product-card h2{font-size:17px}.draw-state{font-size:11px}.options{gap:4px}.option strong{font-size:21px}.option span,.option small{font-size:11px}.draw-detail{font-size:12px}.calculation-row{grid-template-columns:1fr auto 1fr auto 1fr;gap:10px}.calculation-row>.operator:nth-child(6){display:none}.cost-cell{grid-column:1/3}.cost-cell strong::before{content:"−"}.calculation-row>.operator:nth-child(8){grid-column:3}.profit-cell{grid-column:4/6}.calculation-row>div>span{font-size:12px}.metrics{gap:12px}.metrics strong{font-size:24px}.results-heading{align-items:flex-start}.benchmark-toggle{font-size:12px}.charts{grid-template-columns:1fr;gap:20px}.charts svg{height:265px}.charts figcaption{min-height:48px}}
@media(max-width:580px){.marketing-lab{padding:0 14px 14px}.mast{padding:11px 0}.brand{font-size:20px}.brand span{display:none}.intro{display:block;padding:17px 0}.intro h1{font-size:25px}.intro p{font-size:15px}.spend{display:flex;align-items:baseline;justify-content:space-between;gap:15px;text-align:left;margin-top:12px}.spend span{max-width:none;font-size:13px}.spend strong{font-size:21px}.controls{padding:10px}.batch-controls{order:3;width:100%;gap:8px}.batch-controls label[for=speed]{margin-left:auto}.batch-controls select{width:100%;order:5}.batch-controls label[for=speed]{display:none}.batch-controls input{width:83px}.batch-controls #run{margin-left:auto}.controls>.text-button{margin-left:auto}.round-status{font-size:12px;min-height:45px;align-items:flex-start}.product-grid{grid-template-columns:1fr;gap:12px}.product-card{padding:14px 16px}.product-card h2{font-size:19px}.draw-state{font-size:12px}.option strong{font-size:24px}.option span,.option small{font-size:13px}.strip-caption{font-size:12px}.interval{font-size:12px}.draw-detail{font-size:14px;min-height:20px}.calculation{padding:13px}.calculation-heading{font-size:11px;gap:8px}.calculation-row strong{font-size:17px}.calculation-row{gap:6px}.operator{font-size:16px}.results-heading{display:block}.results h2{margin-bottom:10px}.benchmark-toggle{font-size:13px}.metrics{grid-template-columns:1fr 1fr;gap:16px}.metrics>div:last-child{grid-column:1/-1}.metrics strong{font-size:26px}.metrics span{font-size:13px}.charts svg{height:260px}.marketing-lab footer{align-items:flex-start;font-size:12px}.marketing-lab footer>span{max-width:200px}dialog{padding:19px}dialog p{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
