/* Product palettes share typography, spacing and interaction states. */
.equity-home {--page-accent:#6540b4;--page-soft:#f1eaff;--page-border:#dacbf4;}
.european-page {--page-accent:#3157ba;--page-soft:#edf2ff;--page-border:#cdd9fb;}
.american-page {--page-accent:#a94367;--page-soft:#fff0f3;--page-border:#f1cbd6;}
.curves-page {--page-accent:#08776c;--page-soft:#e7f7f1;--page-border:#bce5d8;}
header::before {content:"";position:absolute;inset:0 0 auto;height:2px;background:var(--brand-stripe);}
.home-main h1,.page-heading h1,.support-hero h1 {background:var(--brand-gradient);background-clip:text;-webkit-background-clip:text;color:#3157ba;-webkit-text-fill-color:transparent;}
.file-button {background:var(--page-soft);border-color:var(--page-border);color:var(--page-accent);}
.file-button:hover {background:var(--page-soft);border-color:var(--page-accent);}
.pricing-chart {background:linear-gradient(135deg,#fff 68%,var(--page-soft));}
.data-panel {border-top-color:#b8ccff;}
.calibration-panel {border-top-color:#d6bef4;}
.pricing-results-panel {border-top-color:var(--page-border);}

/* Landing pages share the workbench palette with a spacious product-led layout. */
.home-main {max-width:none;padding:70px 24px 32px;text-align:center;}
.home-main .eyebrow {font-size:12px;letter-spacing:.2px;font-weight:500;margin-bottom:18px;}
.home-main h1 {font-size:clamp(44px,6vw,76px);font-weight:600;line-height:1.04;letter-spacing:-3.4px;margin:0 auto 22px;max-width:980px;}
.home-intro {font-size:23px;line-height:1.45;color:var(--muted);margin:0 auto;max-width:680px;letter-spacing:-.4px;}
.hero-actions {display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:26px 0 0;}.hero-actions .primary {min-height:44px;padding:11px 23px;font-size:14px;}
.workbench-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1440px;margin:56px auto 0;}
.workbench-choice {display:flex;flex-direction:column;align-items:center;min-width:0;min-height:460px;padding:42px 30px 34px;border:0;border-radius:26px;background:#fff;color:var(--ink);text-decoration:none;overflow:hidden;transition:box-shadow .2s;}
.workbench-choice:hover {text-decoration:none;box-shadow:0 12px 42px #00000009;}
.workbench-choice .section-kicker {font-size:11px;letter-spacing:1px;color:var(--muted);}
.workbench-choice h2 {font-size:40px;font-weight:600;letter-spacing:-1.5px;margin:10px 0 14px;}
.workbench-choice h2>span {display:none;}
.workbench-choice p {font-size:17px;line-height:1.5;max-width:380px;min-height:52px;margin:0;color:var(--muted);letter-spacing:-.2px;}
.workbench-choice svg {display:block;width:100%;max-width:620px;height:180px;flex-shrink:0;margin:22px 0;fill:var(--accent);overflow:visible;}
.workbench-choice .axis {stroke:#d2d2d7;fill:none;stroke-width:1;}
.workbench-choice .payoff {stroke:#0071e3;stroke-width:3;fill:none;}
.workbench-choice .exercise {stroke:#86868b;stroke-width:1.5;stroke-dasharray:5 5;fill:none;}
.choice-footer {display:flex;justify-content:center;margin-top:auto;padding-top:8px;}
.choice-footer strong {display:inline-flex;align-items:center;justify-content:center;border-radius:980px;background:var(--action-gradient);color:#fff;font-size:14px;font-weight:400;padding:11px 23px;}
.workbench-choice:hover .choice-footer strong {background:linear-gradient(115deg,#0765c4,#5740c4);}
.labs-hub .workbench-choice:first-child {background:var(--equity-card-gradient);}
.labs-hub .workbench-choice[href="/curves"] {background:var(--curve-card-gradient);color:#f5f5f7;}
.labs-hub .workbench-choice[href="/curves"] p,.labs-hub .workbench-choice[href="/curves"] .section-kicker {color:#b7c8d8;}
.labs-hub .workbench-choice[href="/curves"] .axis {stroke:#ffffff16;}
.labs-hub .workbench-choice[href="/curves"] .payoff {stroke:#56e1c6;}
.equity-home .workbench-choice:first-child {background:linear-gradient(145deg,#e7f1ff,#f0eaff);}
.equity-home .workbench-choice:last-child {background:linear-gradient(145deg,#fff0e9,#f5e7f8);}
.equity-home .workbench-choice:last-child .payoff {stroke:#ae4d8f;}
.equity-home .workbench-choice:last-child svg {fill:#ae4d8f;}
.home-page>footer {padding:28px 24px;margin-top:24px;border-top:1px solid var(--line-light);}
.support-main {
  display:grid;
  grid-template-columns:minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap:24px;
  max-width:1180px;
  padding:clamp(24px, 6vw, 72px) clamp(16px, 4vw, 40px) 40px;
}
.support-hero {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(24px, 4vw, 48px);
  border-radius:26px;
  background:radial-gradient(ellipse at bottom left, #ddf6ef, transparent 75%), var(--equity-card-gradient);
}
.support-hero .eyebrow {margin:0 0 16px;color:#075d52;font-size:11px;letter-spacing:1.2px;font-weight:600;}
.support-hero h1 {margin:0;font-size:clamp(40px, 5vw, 64px);font-weight:600;line-height:1.06;letter-spacing:-0.045em;}
.support-intro {max-width:34ch;margin:20px 0 0;color:var(--ink-secondary);font-size:17px;line-height:1.55;}
.support-card {
  min-width:0;
  padding:clamp(24px, 4vw, 40px);
  background:var(--paper);
  border:1px solid var(--line-light);
  border-radius:26px;
  box-shadow:var(--card-shadow);
}
.support-card h2 {margin:0 0 24px;font-size:28px;font-weight:600;letter-spacing:-0.04em;}
.support-card form {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.support-card .auth-form-group {min-width:0;margin:0;}
.support-card .auth-form-group label {margin:0 0 6px;}
.support-card :is(input,select,textarea) {border-radius:12px;}
.support-card :is(input,select) {min-height:44px;}
.support-message-field,.support-card .auth-submit-btn {grid-column:1/-1;}
.support-card .auth-submit-btn {width:auto;justify-self:start;margin:0;padding:0 24px;border-radius:980px;background:var(--action-gradient);}
.support-card .auth-submit-btn:hover:enabled {background:linear-gradient(115deg,#0765c4,#5740c4);}
.support-page>footer {padding:28px 24px;margin-top:24px;border-top:1px solid var(--line-light);}
@media(max-width:800px) {
  .support-main {grid-template-columns:minmax(0,1fr);max-width:680px;gap:16px;}
  .support-title-break {display:none;}
  .support-intro {max-width:48ch;margin-top:14px;}
}
@media(max-width:520px) {
  .support-hero,.support-card {border-radius:20px;}
  .support-card form {grid-template-columns:minmax(0,1fr);}
  .support-card .auth-submit-btn {width:100%;}
}
.home-footnote {display:flex;gap:9px;align-items:center;justify-content:center;margin:35px 0;color:var(--muted);font-size:12px;}
.check-pass {color:#248a3d;}.check-fail{color:#b4232d;}
:is(.american-plot-view,.european-plot-view){display:flex;justify-content:flex-end;margin-top:12px;}
:is(.american-plot-view,.european-plot-view) label{margin:0;font-size:11px;width:180px;}
:is(.american-plot-view,.european-plot-view) select{height:36px;font-size:12px;background-color:#fafafa;}
.american-page #american-risk-chart{display:block;width:100%;height:auto;}
.american-page #american-exclusions li{font-size:12.5px;line-height:1.8;margin:12px 0;color:var(--muted);}
.american-page pre{white-space:pre-wrap;font-size:12px;}
@media(max-width:900px){.home-main{padding-top:54px;}.workbench-choices{gap:18px;}.workbench-choice{padding:32px 24px;}.workbench-choice h2{font-size:34px;}.workbench-choice p{font-size:15px;}}
@media(max-width:640px){.home-main{padding:44px 14px 24px;}.home-main h1{font-size:44px;letter-spacing:-2px;}.home-intro{font-size:19px;}.workbench-choices{grid-template-columns:minmax(0,1fr);margin-top:38px;gap:16px;}.workbench-choice{min-height:430px;border-radius:22px;}.workbench-choice h2{font-size:36px;}.workbench-choice svg{height:160px;}:is(.american-plot-view,.european-plot-view){justify-content:flex-start;}:is(.american-plot-view,.european-plot-view) label{width:100%;}}
