.wave-phrase{white-space:normal;display:inline}
.wave-word{display:inline-block;white-space:nowrap}
.wave-letter{animation-delay:calc(var(--i)*30ms)}
.wave-phrase:hover .wave-letter,.wave-phrase:focus-visible .wave-letter{animation-delay:calc(var(--i)*30ms)}
.case-panel{height:auto;min-height:610px;max-height:none;overflow:visible}
.case-free-offer{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 35px;margin-top:32px;border-radius:22px;background:#ece5f3}
.case-free-offer h3{font-size:29px;margin-bottom:10px}
.case-free-offer p{font-size:16px}
.case-free-offer .button{flex-shrink:0}
.afterglow-art{position:relative;height:155px;border-radius:16px;background:#191d3d;overflow:hidden;margin:20px 0 23px;isolation:isolate}
.light-arch{position:absolute;border:12px solid;border-bottom:0;border-radius:100px 100px 0 0;width:140px;height:165px;transform:rotate(-15deg);bottom:-25px}
.arch-one{color:#f2a9d2;left:35px}.arch-two{color:#9a89e4;left:115px}.arch-three{color:#f2c86b;left:195px}
.art-caption{position:absolute;right:24px;top:39px;color:#fff;font-size:23px;line-height:1.05;font-weight:600;letter-spacing:-.03em;text-align:right;text-shadow:0 2px 12px #171a32}
.afterglow-brief h3,.afterglow-exhibit h3{font-size:28px;margin-bottom:18px}
.afterglow-brief>p{font-size:16px;line-height:1.65}
.afterglow-exhibit>.pill{margin-bottom:22px}
.exhibit-unit{font-size:12px;color:var(--muted);line-height:1.5}
.exhibit-legend{display:flex;gap:20px;font-size:12px;margin:18px 0 24px}
.exhibit-legend>span{display:flex;align-items:center;gap:7px}.exhibit-legend i{width:10px;height:10px;border-radius:3px}
.revenue-key,.night-bar.revenue{background:#7560b4}.cost-key,.night-bar.cost{background:#e8ad69}
.night-row{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:15px;margin:18px 0}
.night-row>b{font-size:13px;font-weight:500}.night-bars{display:grid;gap:5px}
.night-bar{width:var(--size);min-width:40px;height:28px;border-radius:0 5px 5px 0;display:flex;align-items:center;justify-content:flex-end;padding-right:9px}
.night-bar span{font-size:12px;font-weight:600}.night-bar.revenue span{color:#fff}.night-bar.cost span{color:#32271a}
.night-chart{margin-bottom:24px}
.afterglow-conversation .dialogue p{font-size:15px;line-height:1.6}
.afterglow-conversation .dialogue{padding:18px 20px;margin-bottom:16px}
.home-profile-heading .pill{margin-top:14px}
.drill-speaker>.character{height:90px;background:transparent;mix-blend-mode:normal}
.equation-workspace{padding:0 36px 28px}
.model-instruction{font-size:14px;color:var(--muted);margin:12px 0 20px;max-width:850px}
.model-palette{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.model-source{display:flex;flex-direction:column;align-items:flex-start;position:relative;border:1px solid #cbd6c5;background:#fff;border-radius:16px;padding:18px 22px;touch-action:none;cursor:grab;text-align:left;min-height:94px}
.model-source>span:first-child{font-size:12px;color:var(--muted)}
.model-source b{font-size:27px;font-weight:600;margin-top:8px;letter-spacing:-.04em}
.tile-grip{position:absolute;right:15px;bottom:16px;color:#728268;font-size:21px}
.operator-palette{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 28px}
.operator-palette button{width:48px;height:46px;background:#e0e8da;border:1px solid #becab8;border-radius:12px;font-size:22px;touch-action:none;cursor:grab}
.model-label{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:15px 0 10px;font-size:15px}
.formula-canvas{display:flex;align-items:center;flex-wrap:wrap;gap:7px 0;min-height:135px;padding:20px 14px;border:2px dashed #9cac90;border-radius:18px;background:#f2f5ed;transition:background .15s}
.formula-canvas.drag-over{background:#e3eedb;border-color:#577647}
.model-empty{flex:1;align-self:stretch;min-height:90px;font-size:15px;color:#5c6c51;border-radius:12px}
.model-slot{width:20px;min-height:44px;padding:0;flex-shrink:0;align-self:stretch;border-radius:5px;color:transparent;font-size:15px}
.model-slot:hover,.model-slot:focus-visible,.model-slot.chosen-slot{color:#5f784e;background:#dae6d0}
.model-slot.drop-target{background:#9cbf82;color:#18340c}
.model-piece{min-height:46px;padding:12px 13px;border:1px solid #b1bfa4;border-radius:9px;background:white;font-size:12px;font-weight:600;cursor:grab;touch-action:none;max-width:100%}
.model-piece.operator-piece{background:#dfe8d5;padding:9px 13px;font-size:20px}
.model-piece:hover{border-color:#456435}
.model-status{font-size:12px;color:var(--muted);min-height:22px;margin:10px 0 18px}
.model-drag-ghost{position:fixed;pointer-events:none;z-index:10000;border:1px solid #789765;border-radius:12px;background:#fff;padding:12px 16px;font:600 13px 'Avenir Next',sans-serif;box-shadow:0 9px 24px #18233b20;max-width:220px}
.equation-workspace #featured-drill-form{padding:0}
.profit-answer{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;max-width:700px;align-items:center}
.profit-answer label{grid-column:1/-1;font-size:14px;font-weight:600}
.profit-answer input{border:1px solid #9eac93;border-radius:12px;padding:15px 18px;min-width:0;min-height:52px;background:#fff;font:inherit;color:var(--ink)}
.profit-answer .button{font-size:14px;gap:16px;min-height:52px}
.equation-workspace .drill-actions{margin-top:18px}
@media(max-width:1000px){.case-panel{min-height:660px}.night-row{grid-template-columns:90px 1fr;gap:10px}.afterglow-conversation .dialogue p{font-size:14px}.case-free-offer{padding:26px}.case-free-offer h3{font-size:25px}}
@media(max-width:760px){
 .case-panel{min-height:660px;height:auto;overflow:visible;padding:24px}
 .case-free-offer{flex-direction:column;align-items:flex-start;gap:22px;padding:25px}.case-free-offer p{font-size:15px}
 .afterglow-art{height:145px}.light-arch{left:15px;width:105px;height:140px;border-width:9px}.arch-two{left:72px}.arch-three{left:135px}.art-caption{right:16px;top:35px;font-size:20px}
 .afterglow-brief h3,.afterglow-exhibit h3{font-size:25px}.afterglow-brief>p{font-size:15px}.night-row{grid-template-columns:82px 1fr;gap:10px}.night-row>b{font-size:12px}.exhibit-legend{gap:14px;font-size:11px}
 .afterglow-conversation .dialogue{padding:15px}.afterglow-conversation .dialogue p{font-size:14px}
 .equation-workspace{padding:0 20px 22px}.model-palette{grid-template-columns:1fr 1fr;gap:9px}.model-source{padding:15px;min-height:95px}.model-source b{font-size:25px}.model-source>span:first-child{font-size:11px;max-width:110px}.tile-grip{right:9px;bottom:12px}
 .operator-palette{gap:8px;margin:15px 0 22px}.operator-palette button{width:36px;height:44px}.model-instruction{font-size:13px}.formula-canvas{padding:12px 8px;min-height:140px}.model-piece{font-size:11px;padding:10px}.model-slot{width:16px}.model-label{font-size:14px}.profit-answer{grid-template-columns:1fr}.profit-answer input{font-size:16px}.profit-answer .button{width:100%}.model-status{font-size:11px}
}
@media(max-width:380px){.case-panel{padding:18px;min-height:730px}.night-row{grid-template-columns:72px 1fr}.afterglow-conversation .dialogue p{font-size:13px}.operator-palette{gap:6px}.operator-palette button{width:31px}.equation-workspace{padding-inline:16px}.model-source{padding:12px}.model-source>span:first-child{max-width:85px}}
@media(prefers-reduced-motion:reduce){.formula-canvas{transition:none}.wave-letter,.wave-phrase:hover .wave-letter,.wave-phrase:focus-visible .wave-letter{animation:none}}
