:root {
  --white: #FFFFFF;
  --off-white: #F6F7F9;
  --ink: #090909;
  --ink-soft: #171717;
  --text: #1D1D1D;
  --text-muted: #686868;
  --line: #E4E4E4;
  --line-strong: #CFCFCF;
  --blue: #2F3FFF;
  --blue-dark: #202DDB;
  --blue-tint: #EEF0FF;
  --surface: #FFFFFF;
  --surface-2: #F6F7F9;
  --ink-2: #343A43;
  --ink-3: #7A8493;
  --a: #0A0A0B;
  --b: #2F3FFF;
  --shadow: 0 1px 2px rgba(10,10,11,.06), 0 8px 24px rgba(10,10,11,.06);
  --shadow-hover: 0 2px 4px rgba(10,10,11,.06), 0 16px 34px rgba(10,10,11,.09);
  --radius: 8px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.22,.7,.2,1);
  --header-h: 72px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --white: #111318;
  --off-white: #0D0F13;
  --ink: #F7F8FA;
  --ink-soft: #090A0D;
  --text: #EEF0F4;
  --text-muted: #A4ADBA;
  --line: #292D35;
  --line-strong: #3B414C;
  --blue: #5A67FF;
  --blue-dark: #8790FF;
  --blue-tint: #17204A;
  --surface: #14171C;
  --surface-2: #0F1116;
  --ink-2: #C8CED8;
  --ink-3: #8F98A6;
  --a: #D5D9E0;
  --b: #5A67FF;
  --shadow: 0 1px 2px rgba(0,0,0,.24), 0 8px 24px rgba(0,0,0,.18);
  --shadow-hover: 0 2px 4px rgba(0,0,0,.28), 0 16px 34px rgba(0,0,0,.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3 { margin-top: 0; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: clamp(2.25rem, 7vw, 4rem); font-weight: 800; }
h2 { font-size: 1.18rem; font-weight: 750; }
h3 { font-size: 1rem; font-weight: 750; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 32%, transparent); outline-offset: 3px; }

.wrap { width: min(100% - 32px, 1180px); margin-inline: auto; }
.site-container { width: min(100% - 32px, 1180px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; transform: translateY(-160%); padding: 10px 14px; border-radius: 8px; background: var(--ink-soft); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

/* Shared site header */
.site-header { position: sticky; top: 0; z-index: 500; min-height: var(--header-h); background: color-mix(in srgb, var(--white) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.site-brand img { height: 34px; width: auto; }
[data-theme="dark"] .site-brand { padding: 4px 7px; border-radius: 8px; background: #fff; }
.desktop-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; font-size: .86rem; font-weight: 700; text-decoration: none; }
.site-btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 11px; padding: 12px 18px; font-size: .9rem; font-weight: 750; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.site-btn:hover { transform: translateY(-2px); }
.site-btn--primary { background: var(--blue); color: #fff; }
.site-btn--primary:hover { background: var(--blue-dark); }
.site-btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.site-btn--header { display: none; min-height: 40px; padding: 10px 14px; font-size: .82rem; }
.menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.menu-toggle span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .22s var(--ease), opacity .22s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
.mobile-nav-inner { padding-block: 10px 18px; display: grid; }
.mobile-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 650; text-decoration: none; }
.mobile-nav a:last-child { border-bottom: 0; color: var(--blue); }

/* Calculator toolbar */
.calc-toolbar { position: relative; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar__inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 10px; }
.brand { min-width: 0; display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: var(--blue-tint); overflow: hidden; }
.brand__mark img { width: 28px; height: 25px; object-fit: contain; }
.brand__name { color: var(--ink); font-size: .85rem; font-weight: 750; line-height: 1.2; }
.brand__sub { display: none; color: var(--text-muted); font-size: .68rem; margin-top: 2px; }
.topbar__actions { display: flex; align-items: center; gap: 6px; }
.btn { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; border: 1px solid transparent; border-radius: 9px; font-size: .78rem; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.ico { width: 17px; height: 17px; }
.btn__txt { display: none; }

/* Calculator hero */
.hero { padding: 54px 0 34px; }
.pill { display: inline-flex; align-items: center; min-height: 28px; margin-bottom: 16px; padding: 5px 9px; border: 1px solid #D9DCFF; border-radius: 999px; background: var(--blue-tint); color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.hero h1 { max-width: 870px; margin-bottom: 16px; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero > p { max-width: 780px; margin: 0; color: var(--text-muted); font-size: .96rem; }

/* Cards + fields */
.grid-2 { display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.grid-2 > .card { padding: 20px; }
.card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.card__head h2 { margin: 0; }
.card__head--row { align-items: flex-start; justify-content: space-between; flex-direction: column; }
.dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; }
.dot--current { background: var(--ink); }
.dot--new { background: var(--blue); }
.field { display: block; margin-bottom: 18px; }
.field--tight { margin-bottom: 12px; }
.field__lab { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: var(--text-muted); font-size: .73rem; font-weight: 650; }
.val { color: var(--blue); font-weight: 750; font-variant-numeric: tabular-nums; }
.field input[type="text"], .field input[type="number"] { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 9px; outline: none; background: var(--surface); color: var(--text); font-variant-numeric: tabular-nums; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.field input[type="text"]:focus, .field input[type="number"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 11%, transparent); }
.input-unit { position: relative; }
.input-unit input { padding-right: 52px !important; }
.unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: .72rem; pointer-events: none; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.slider { --range-progress: 50%; width: 100%; height: 4px; margin-top: 10px; appearance: none; -webkit-appearance: none; border-radius: 99px; outline: 0; background: var(--line); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 5px solid var(--blue); box-shadow: 0 1px 3px rgba(10,10,11,.14); cursor: pointer; }
.slider::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 5px solid var(--blue); cursor: pointer; }
.seg { display: inline-flex; max-width: 100%; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.seg__btn { min-height: 34px; border: 0; border-radius: 6px; padding: 7px 12px; background: transparent; color: var(--text-muted); font-size: .72rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.seg__btn.is-on { background: var(--surface); color: var(--blue); box-shadow: 0 1px 2px rgba(10,10,11,.08); }
.seg--sm .seg__btn { font-size: .68rem; }
.costs { margin: 6px 0 18px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.costs__head { margin-bottom: 14px; color: var(--ink); font-size: .78rem; font-weight: 750; }
.check { display: flex; align-items: flex-start; gap: 8px; color: var(--text-muted); font-size: .72rem; line-height: 1.45; cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--blue); }
.mini { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 15px; border-radius: 10px; background: var(--surface-2); }
.mini span { color: var(--text-muted); font-size: .75rem; }
.mini b { color: var(--ink); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.mini--new { background: var(--blue-tint); }
.mini--new b { color: var(--blue); }

/* Results */
.results { display: grid; gap: 16px; margin-top: 16px; }
.headline { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.headline__lab { margin-bottom: 8px; color: var(--text-muted); font-size: .72rem; font-weight: 650; }
.headline__big { color: var(--blue) !important; font-size: clamp(2.4rem, 11vw, 4.8rem); font-weight: 800; line-height: .98; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.headline__sub { max-width: 720px; margin-top: 10px; color: var(--text-muted); font-size: .78rem; }
.headline__bars { display: grid; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.hbar__lab { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; color: var(--text-muted); font-size: .7rem; }
.hbar__lab b { color: var(--ink); font-variant-numeric: tabular-nums; }
.hbar__track { height: 5px; overflow: hidden; border-radius: 99px; background: var(--line); }
.hbar__fill { display: block; width: 0; height: 100%; border-radius: 99px; transition: width .35s var(--ease); }
.hbar__fill--a { background: #B7BDC7; }
.hbar__fill--b { background: #5A67FF; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.kpi { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 1px 2px rgba(10,10,11,.03); }
.kpi__lab { min-height: 34px; color: var(--text-muted); font-size: .68rem; line-height: 1.35; }
.kpi__val { margin: 5px 0 6px; color: var(--ink); font-size: clamp(1.08rem, 5vw, 1.45rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi__note { color: var(--text-muted); font-size: .62rem; line-height: 1.4; }
.pos { color: var(--blue) !important; }
.neg { color: var(--ink) !important; }
.hint { display: inline-grid; width: 15px; height: 15px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: .58rem; cursor: help; }

/* Wide content */
.card--wide { margin-top: 16px; padding: 20px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: -6px 0 14px; color: var(--text-muted); font-size: .68rem; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 3px; border-radius: 99px; }
.lg--a { background: var(--a); }
.lg--b { background: var(--b); }
.chart-box { position: relative; min-height: 260px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
#chart { width: 100%; height: 300px; }
.tip { position: absolute; z-index: 5; max-width: min(260px, 80vw); transform: translate(-50%, calc(-100% - 12px)); padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-hover); font-size: .67rem; pointer-events: none; }
.tip__row { display: flex; align-items: center; gap: 5px; }
.tip__dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.bonus { display: flex; align-items: flex-start; gap: 14px; border-color: #D6D9FF; background: var(--blue-tint); }
.bonus__ico { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: var(--blue); color: #fff; }
.bonus__ico svg { width: 19px; height: 19px; }
.bonus__body h3 { margin-bottom: 7px; color: var(--ink); }
.bonus__body p { margin: 0; color: var(--text-muted); font-size: .75rem; }
.table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.table-scroll--tall { max-height: 520px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-size: .68rem; }
th { position: sticky; top: 0; z-index: 2; background: var(--surface-2); color: var(--text-muted); font-weight: 750; }
th:first-child, td:first-child { text-align: left; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--blue-tint) 45%, transparent); }
.cmp .is-total td { background: var(--blue-tint); font-weight: 750; }
.more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.more__info { color: var(--text-muted); font-size: .68rem; }

/* Print footer inside calculator */
.foot { margin: 18px 0 56px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.foot__adv { display: grid; gap: 10px; }
.disclaimer { margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: .62rem; line-height: 1.55; }

/* CTA + site footer */
.calc-cta { padding: 62px 0; background: var(--surface); border-top: 1px solid var(--line); }
.calc-cta-inner { display: grid; gap: 24px; align-items: center; }
.site-eyebrow { margin: 0 0 10px; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.calc-cta h2 { max-width: 760px; margin: 0; font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 800; }
.site-footer { padding: 56px 0 96px; background: #0E0F12; color: #C9CFDA; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand { max-width: 440px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 1.08rem; font-weight: 750; }
.footer-logo img { width: 44px; height: 40px; object-fit: contain; padding: 4px; border-radius: 8px; background: #fff; }
.footer-logo strong { color: #6773FF; }
.footer-brand p { margin: 18px 0 0; color: #949CAA; font-size: .83rem; }
.footer-col { display: grid; align-content: start; gap: 8px; }
.footer-col h2 { margin: 0 0 8px; color: #fff; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-col a { color: #A8B0BD; font-size: .82rem; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: grid; gap: 8px; margin-top: 38px; padding-top: 22px; border-top: 1px solid #272A31; color: #858E9D; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #A8B0BD; }
.footer-disclaimer { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid #272A31; color: #747D8B; font-size: .65rem; line-height: 1.55; }
.mobile-bottom-bar { position: fixed; z-index: 450; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8px; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); border-top: 1px solid #E4E7EC; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mobile-bottom-bar .site-btn { min-height: 44px; padding: 10px 12px; }

@media (min-width: 640px) {
  .wrap, .site-container { width: min(100% - 48px, 1180px); }
  .site-brand img { height: 36px; }
  .site-btn--header { display: inline-flex; }
  .brand__sub { display: block; }
  .btn__txt { display: inline; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
  .grid-2 > .card, .card--wide { padding: 24px; }
  .results { grid-template-columns: 1.15fr .85fr; gap: 18px; }
  .kpis { gap: 12px; }
  .headline { padding: 28px; }
  .card__head--row { flex-direction: row; align-items: center; }
  .foot__adv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-cta-inner { grid-template-columns: 1fr auto; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  :root { --header-h: 78px; }
  .desktop-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
  .desktop-nav a { position: relative; color: var(--ink-2); font-size: .8rem; font-weight: 650; text-decoration: none; }
  .desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue); transition: right .2s var(--ease); }
  .desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { right: 0; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .header-actions { margin-left: 8px; }
  .header-phone { display: inline-block; }
  .hero { padding: 70px 0 42px; }
  .grid-2 > .card, .card--wide { padding: 28px; }
  .results { margin-top: 20px; }
  .card--wide { margin-top: 20px; }
  .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kpi { padding: 20px; }
  .chart-box { min-height: 340px; }
  #chart { height: 340px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.1fr; gap: 42px; }
  .footer-brand { grid-column: auto; }
  .mobile-bottom-bar { display: none; }
  .site-footer { padding-bottom: 48px; }
}

@media (min-width: 1180px) {
  .wrap, .site-container { width: min(100% - 64px, 1180px); }
  .desktop-nav { gap: 28px; }
  .header-actions { gap: 15px; }
  .grid-2 { gap: 22px; }
  .grid-2 > .card, .card--wide { padding: 32px; }
  .headline { padding: 34px; }
  .kpi { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@page { size: A4; margin: 12mm; }
@media print {
  :root, [data-theme="dark"] {
    --white: #fff; --off-white: #fff; --ink: #000; --ink-soft: #111; --text: #111; --text-muted: #555; --line: #D7D7D7; --line-strong: #BFBFBF; --blue: #2F3FFF; --blue-dark: #202DDB; --blue-tint: #EEF0FF; --surface: #fff; --surface-2: #F7F7F7; --ink-2: #333; --ink-3: #666; --a: #111; --b: #2F3FFF;
  }
  body { background: #fff; font-size: 10px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .calc-toolbar, .calc-cta, .site-footer, .mobile-bottom-bar, .more { display: none !important; }
  .wrap { width: 100%; max-width: none; }
  .hero { padding: 0 0 5mm; }
  .hero h1 { font-size: 24px; }
  .hero > p { font-size: 9px; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 4mm; }
  .grid-2 > .card, .card--wide, .headline, .kpi, .foot { box-shadow: none; break-inside: avoid; }
  .grid-2 > .card, .card--wide { padding: 4mm; }
  .results { grid-template-columns: 1.1fr .9fr; gap: 4mm; margin-top: 4mm; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .card--wide { margin-top: 4mm; }
  .table-scroll, .table-scroll--tall { max-height: none; overflow: visible; }
  th { position: static; }
  th, td { padding: 4px 6px; font-size: 7px; }
  #chart { height: 60mm; }
  .chart-box { min-height: 60mm; }
  .foot { margin-bottom: 0; }
  .foot__adv { grid-template-columns: 1fr 1fr; }
  input, button { color: #000 !important; }
}

/* Agency visual alignment with the main P&T Money site */
:root { --shadow: 0 1px 2px rgba(10,10,11,.05), 0 12px 32px rgba(10,10,11,.06); --shadow-hover: 0 1px 2px rgba(10,10,11,.06), 0 16px 36px rgba(10,10,11,.08); }
body { background: #fff; }
h1,h2,h3,.brand__name { font-family: "Instrument Sans", Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.03em; }
h1 { line-height: 1.03; font-weight: 700; }
.site-header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content:""; position:absolute; left:0; bottom:-7px; width:0; height:2px; background:var(--blue); transition:width .2s var(--ease); }
.desktop-nav a:hover::after,.desktop-nav a[aria-current="page"]::after { width:100%; }
.calc-toolbar { border-bottom-color: var(--line); }
.hero { padding-top: 76px; padding-bottom: 48px; }
.hero p { max-width: 62ch; }
.card { border-radius: 12px; box-shadow: none; border-color: var(--line); }
.card:hover { box-shadow: var(--shadow); }
.card__head { border-bottom-color: var(--line); }
.grid-2 { gap: 18px; }
.field input,.field select { border-radius: 9px; }
.result,.summary,.callout { border-radius: 10px; }
.num,.money,.big,.metric__val,[data-money] { font-variant-numeric: tabular-nums; letter-spacing: .015em; }
footer,.footer { border-top: 1px solid var(--line); }
@media (min-width:900px){ .hero { padding-top: 96px; } }


/* FIX 2026-09-05 — kalkulator zawsze w jasnym motywie */
html, body { color-scheme: light; }

/* ========================================================================== 
   2026-09-05 — ujednolicenie paska i nagłówka podstrony z Oferta/Kontakt
   Tylko kalkulator: nie wpływa na karty, pola, wyniki ani logikę kalkulatora.
   ========================================================================== */

/* Pasek nawigacji — te same proporcje co na pozostałych podstronach. */
.header-shell,
.page-shell {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(22px, 5vw, 72px);
}

.site-header {
  min-height: 80px;
  background: rgba(255,255,255,.94);
  border-bottom-color: transparent;
  backdrop-filter: saturate(135%) blur(16px);
  -webkit-backdrop-filter: saturate(135%) blur(16px);
  box-shadow: none;
}

.header-inner {
  min-height: 80px;
  gap: 20px;
}

.site-brand img {
  height: 30px;
  width: auto;
}

.header-actions {
  margin-left: 0;
  gap: 14px;
}

.header-phone {
  color: var(--text);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.header-phone:hover { color: var(--blue); }

.site-btn--header {
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(9,27,39,.06);
}

.site-btn--primary {
  background: linear-gradient(135deg, #2F3FFF 0%, var(--blue-dark) 100%);
}

.site-btn--primary:hover {
  background: linear-gradient(135deg, var(--blue) 0%, #181F94 100%);
}

.desktop-nav { gap: 28px; }
.desktop-nav a {
  color: var(--text);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding-block: 6px;
}
.desktop-nav a::after {
  left: 0;
  right: 100%;
  bottom: 0;
  width: auto;
  height: 1px;
  background: currentColor;
  transition: right .3s var(--ease);
}
.desktop-nav a:hover { color: var(--ink); }
.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  right: 0;
  width: auto;
  background: var(--blue);
}
.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] { color: var(--blue); }

.menu-toggle {
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border-radius: 12px;
  background: #fff;
}

.mobile-nav {
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: none;
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding-block: 8px 20px;
}
.mobile-nav a {
  padding: 14px 2px;
  border-bottom: 1px solid #EFEFEF;
  font-weight: 600;
}

@media (min-width: 900px) {
  .desktop-nav { display: flex; }
  .site-btn--header { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .header-phone { display: none; }
  .header-actions { margin-left: 0; }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .desktop-nav { gap: 22px; }
}

@media (min-width: 1200px) {
  .header-phone { display: inline-flex; }
}

/* Nagłówek podstrony — ten sam rytm co Oferta i Kontakt. */
.calculator-page-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: clamp(82px, 8vw, 118px) 0 clamp(64px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

.calculator-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 32px;
  color: #686868;
  font-size: 12.16px;
}
.calculator-page-breadcrumb a { color: inherit; text-decoration: none; }
.calculator-page-breadcrumb span { color: rgba(9,9,9,.24); }

.calculator-page-eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 11.84px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.calculator-page-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(48px, 5.8vw, 85.6px);
  font-weight: 550;
  line-height: .98;
  letter-spacing: -.05em;
}

.calculator-page-hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.calculator-page-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #686868;
  font-size: clamp(16px, 1.4vw, 19.52px);
  line-height: 1.62;
}

/* Po przeniesieniu nagłówka nad toolbar kalkulator zaczyna się bez sztucznej luki. */
#calculatorMain { padding-top: 34px; }

@media (max-width: 639px) {
  .calculator-page-hero {
    padding-top: 64px;
    padding-bottom: 54px;
  }
  .calculator-page-breadcrumb { margin-bottom: 24px; }
  .calculator-page-hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .calculator-page-lead { margin-top: 22px; }
}

@media print {
  .calculator-page-hero { display: none !important; }
  #calculatorMain { padding-top: 0; }
}

/* ========================================================================== 
   HEADER 1:1 ZE STARTU — 2026-09-05
   Wartości są przepisane z finalnego, białego stanu paska index.html.
   Klasy są osobne wyłącznie po to, by CSS kalkulatora niczego nie nadpisywał.
   ========================================================================== */
.start-copy-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(252,252,250,.9);
  backdrop-filter: saturate(135%) blur(16px);
  -webkit-backdrop-filter: saturate(135%) blur(16px);
  border-bottom: 1px solid rgba(217,224,226,.82);
  box-shadow: 0 10px 34px rgba(9,27,39,.055);
}
.start-copy-container {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(22px, 5vw, 72px);
}
.start-copy-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.start-copy-brand {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
  text-decoration: none;
}
.start-copy-brand img { height: 28px; width: auto; }
.start-copy-nav { display: none; gap: 28px; }
.start-copy-nav a {
  position: relative;
  color: #1D1D1D;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14.76px;
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: .01em;
  text-decoration: none;
  padding-block: 6px;
  transition: color .3s cubic-bezier(.22,.72,.16,1);
}
.start-copy-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .3s cubic-bezier(.22,.72,.16,1);
}
.start-copy-nav a:hover { color: #090909; }
.start-copy-nav a:hover::after,
.start-copy-nav a[aria-current="page"]::after { right: 0; }
.start-copy-nav a[aria-current="page"] { color: #2F3FFF; }
.start-copy-nav a[aria-current="page"]::after { background: #2F3FFF; }
.start-copy-actions { display: flex; align-items: center; gap: 14px; }
.start-copy-phone {
  display: none;
  color: #1D1D1D;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15.3px;
  font-weight: 600;
  line-height: 1.62;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: color .3s cubic-bezier(.22,.72,.16,1);
}
.start-copy-phone:hover { color: #2F3FFF; }
.start-copy-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #2F3FFF 0%, #202DDB 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(9,27,39,.06);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15.3px;
  font-weight: 600;
  line-height: 1.62;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .22s cubic-bezier(.22,.72,.16,1), border-color .22s cubic-bezier(.22,.72,.16,1), color .22s cubic-bezier(.22,.72,.16,1), transform .22s cubic-bezier(.22,.72,.16,1), box-shadow .22s cubic-bezier(.22,.72,.16,1);
}
.start-copy-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2F3FFF 0%, #181F94 100%);
  box-shadow: 0 14px 30px rgba(9,27,39,.11);
}
.start-copy-menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid #E2E2E2;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.start-copy-menu span {
  width: 18px;
  height: 1.5px;
  background: #090909;
  transition: transform .22s cubic-bezier(.22,.72,.16,1), opacity .22s cubic-bezier(.22,.72,.16,1);
}
.start-copy-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.start-copy-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.start-copy-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.start-copy-mobile { background: #fff; border-top: 1px solid #E2E2E2; }
.start-copy-mobile-inner { display: flex; flex-direction: column; padding-block: 8px 20px; }
.start-copy-mobile a {
  padding: 14px 2px;
  border-bottom: 1px solid #EFEFEF;
  color: #1D1D1D;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.62;
  text-decoration: none;
}
.start-copy-mobile a:last-child { border-bottom: 0; }
.start-copy-mobile a[aria-current="page"] { color: #2F3FFF; }
@media (min-width: 900px) {
  .start-copy-nav { display: flex; }
  .start-copy-btn { display: inline-flex; }
  .start-copy-menu { display: none; }
  .start-copy-mobile { display: none !important; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .start-copy-nav { gap: 22px; }
}
@media (min-width: 1200px) {
  .start-copy-phone { display: inline-flex; }
}
