.cost-comparison {
    --cost-blue: #1565b6;
    --cost-ink: #14365d;
    --cost-muted: #52677e;
    --cost-line: #d3e2ef;
}
.cost-shell { max-width: 1140px; }
.cost-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; }
.cost-breadcrumbs a { color: var(--cost-blue); }
.cost-article { padding: clamp(20px, 4vw, 46px); }
.cost-intro { margin-bottom: 28px; }
.cost-intro h1 { max-width: 900px; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.12; text-wrap: balance; }
.cost-intro .advice-eyebrow { color: var(--cost-blue); }
.cost-intro .advice-lead { max-width: 850px; }
.cost-intro > p:last-child { max-width: 850px; margin-bottom: 0; }
.cost-byline { color: var(--cost-muted); font-size: 14px; margin: 18px 0; }
.cost-byline > span { margin: 0 7px; }
.cost-calculator { border: 1px solid var(--cost-line); border-radius: 20px; padding: clamp(18px, 3vw, 30px); background: linear-gradient(120deg, #f1f8ff, #fff 75%); margin-bottom: 38px; scroll-margin-top: 110px; }
.cost-calculator-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-bottom: 22px; }
.cost-comparison h2 { border: 0; color: var(--cost-ink); font-size: clamp(23px, 2.4vw, 29px); font-weight: 750; line-height: 1.25; margin: 0 0 16px; }
.cost-calculator-heading h2 { margin: 0; }
.cost-comparison h3 { color: var(--cost-ink); font-size: 21px; line-height: 1.3; margin: 0 0 14px; }
.cost-tax, .cost-small { color: var(--cost-muted); font-size: 14px; }
.cost-controls { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px 30px; margin: 0 0 24px; }
.cost-controls fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.cost-controls legend { border: 0; color: var(--cost-ink); font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0 0 8px; padding: 0; }
.cost-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.cost-choice { position: relative; margin: 0; cursor: pointer; font-weight: 600; }
.cost-choice input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); }
.cost-choice span { display: flex; align-items: center; justify-content: center; border: 1px solid #aebfd2; background: #fff; border-radius: 9px; padding: 10px 13px; min-height: 44px; font-size: 15px; color: var(--cost-ink); }
.cost-choice input:checked + span { background: var(--cost-ink); border-color: var(--cost-ink); color: #fff; }
.cost-choice input:focus-visible + span { outline: 3px solid #2482dc; outline-offset: 3px; }
.cost-comparison .advice-button--primary { background: var(--cost-blue); color: #fff; }
.cost-comparison .advice-button:focus-visible, .cost-table-wrap:focus-visible { outline: 3px solid #2482dc; outline-offset: 3px; }
.cost-calculator.is-enhanced .cost-apply { display: none; }
.cost-result { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
.cost-context { color: var(--cost-muted); font-size: 14px; margin-bottom: 20px; }
.cost-bar-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--cost-ink); font-size: 18px; }
.cost-bar-heading strong:last-child { white-space: nowrap; }
.cost-track { height: 18px; border-radius: 5px; background: #e5edf5; overflow: hidden; margin: 8px 0; }
.cost-fill { display: block; height: 100%; }
.cost-fill--nej { background: var(--cost-blue); }
.cost-fill--competitor { width: 100%; background: #657587; }
.cost-bar-note { font-size: 13px; color: var(--cost-muted); margin: 0 0 20px; }
.cost-difference { display: flex; flex-direction: column; justify-content: center; padding: 24px; border-radius: 14px; background: #e5f1ff; color: var(--cost-ink); }
.cost-difference > span { font-size: 15px; }
.cost-difference > strong { display: block; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.2; margin: 10px 0 4px; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.cost-difference p { font-size: 14px; line-height: 1.6; margin: 18px 0 0; }
.cost-scope { border-top: 1px solid var(--cost-line); padding-top: 18px; margin-top: 22px; font-size: 15px; line-height: 1.65; }
.cost-scope a { color: var(--cost-blue); text-decoration: underline; }
.cost-table { min-width: 670px; font-variant-numeric: tabular-nums; }
.cost-table caption { caption-side: top; padding: 14px 16px; color: var(--cost-muted); font-size: 14px; }
.cost-table td, .cost-table th { padding: 13px 15px; }
.cost-table td { white-space: nowrap; }
.cost-table td small { display: block; font-size: 12px; color: var(--cost-muted); margin-top: 4px; }
.cost-license-breakdown { line-height: 1.65; }
.cost-table tbody th { background: #fff; }
.cost-table tbody tr:nth-child(2n) { border-bottom: 2px solid var(--cost-line); }
.cost-table td:last-child { color: #135c9f; }
.cost-comparison .advice-content-section p.cost-small { font-size: 14px; }
.cost-method { scroll-margin-top: 110px; }
.cost-method-grid, .cost-fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin: 20px 0 28px; }
.cost-method-grid > div { min-width: 0; }
.cost-formula { padding: 14px; border-radius: 10px; background: #f0f6fc; font-variant-numeric: tabular-nums; }
.cost-comparison .advice-content-section .cost-formula { font-size: 16px; }
.cost-fit-grid > div { border: 1px solid var(--cost-line); border-radius: 14px; padding: 22px; }
.cost-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; padding: 26px; border: 1px solid var(--cost-line); border-radius: 16px; background: #eef6ff; margin: 32px 0; }
.cost-cta > div { flex: 1 1 300px; }
.cost-cta h2 { font-size: 26px; margin-bottom: 10px; }
.cost-cta p { margin: 0; }
.cost-cta .advice-button { flex: 0 1 auto; }
.cost-comparison .advice-sources a { overflow-wrap: anywhere; }
@media (max-width: 767px) {
    .cost-result, .cost-method-grid, .cost-fit-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .cost-controls { gap: 18px; }
    .cost-controls fieldset:first-child { width: 100%; }
    .cost-controls fieldset:first-child .cost-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cost-result { gap: 8px; }
    .cost-comparison .advice-article h1 { font-size: clamp(29px, 6vw, 38px); }
    .cost-difference { padding: 20px; }
    .cost-cta { padding: 20px; }
    .cost-cta .advice-button { width: 100%; }
}
@media (max-width: 374px) {
    .cost-article { padding: 16px; }
    .cost-calculator { padding: 14px; }
    .cost-choice span { padding: 10px; }
}
