/* WN Twój Księgowy. Apple Design inspired presentation layer.
   Scope: landing pages only. Business logic, field names, selectors and analytics untouched. */
:root {
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-ink: #1d1d1f;
  --apple-muted: #626268;
  --apple-ground: #f5f5f7;
  --apple-line: rgba(29, 29, 31, .09);
  --apple-shadow: 0 16px 45px rgba(29,29,31,.055), 0 1px 2px rgba(29,29,31,.025);
  --apple-spring: cubic-bezier(.22, 1, .36, 1);
}
html { scroll-padding-top: 6rem; }
body.apple-site {
  color: var(--apple-ink);
  background: var(--apple-ground) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Arial, sans-serif !important;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.apple-site * { -webkit-tap-highlight-color: transparent; }
.apple-site :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid rgba(0,113,227,.52) !important;
  outline-offset: 3px;
}
.apple-site :where(button, a, .choice-card) { touch-action: manipulation; }
.apple-site :where(a,button):where([class*="rounded-full"], [class*="rounded-2xl"], [class*="rounded-3xl"]):active,
.apple-site .choice-card:active { transform: scale(.978); transition: transform 110ms ease-out !important; }
.apple-site :where(p, li) { text-wrap: pretty; }
.apple-site :where(h1,h2,h3) { color: var(--apple-ink); letter-spacing: -.038em; font-optical-sizing: auto; text-wrap: balance; }
.apple-site :where(h1) { letter-spacing: -.059em; }
.apple-site :where(h2) { line-height: 1.13; }
.apple-site :where(.text-slate-600,.text-slate-500) { color: var(--apple-muted); }
.apple-site :where(.text-violet-600,.text-violet-700,.text-blue-700) { color: var(--apple-blue); }
.apple-site :where(.shadow-sm,.shadow-lg,.shadow-xl) { box-shadow: none; }
.apple-site .material-symbols-outlined {
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 440, 'GRAD' 0, 'opsz' 24;
}
/* Floating, legible material in the page chrome. */
.apple-site .apple-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255,255,255,.56) !important;
  background: rgba(250,250,252,.77) !important;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 1px 0 rgba(29,29,31,.035);
  transition: background-color .22s ease, box-shadow .22s ease;
}
.apple-site .apple-header.is-scrolled { background: rgba(248,248,250,.91) !important; box-shadow: 0 9px 27px rgba(29,29,31,.045); }
.apple-site .apple-header > div { min-height: 74px; height: auto; max-width: 1296px; padding-top: .7rem; padding-bottom: .7rem; }
.apple-site .apple-header img { height: 39px; max-width: min(38vw, 220px); object-fit: contain; }
.apple-site .apple-nav { gap: .15rem; }
.apple-site .apple-nav > a {
  background: transparent !important;
  border-color: transparent !important;
  color: #434349 !important;
  box-shadow: none !important;
  font-size: 12.5px;
  font-weight: 580;
  padding: .68rem .81rem;
  transition: color .16s ease, background-color .16s ease, transform .15s ease;
}
.apple-site .apple-nav > a:hover { background: rgba(29,29,31,.055) !important; color: var(--apple-ink) !important; }
.apple-site .apple-nav > a:active { background: rgba(29,29,31,.09) !important; }
.apple-site .apple-header-actions { gap: .35rem; flex-shrink: 0; }
.apple-site .apple-header-actions > a:not(.apple-account) {
  min-width: 41px;
  height: 41px;
  padding: .45rem .75rem;
  border: 1px solid transparent !important;
  background: rgba(29,29,31,.045) !important;
  color: var(--apple-ink) !important;
  font-weight: 650;
  font-size: .79rem;
  transition: background .2s ease, transform .15s ease;
}
.apple-site .apple-header-actions > a[class*="bg-violet-50"]:not(.apple-account) { background: #e4f1ff !important; box-shadow: inset 0 0 0 1px rgba(0,113,227,.16); }
.apple-site .apple-header-actions > a:hover:not(.apple-account) { background: #e9e9ed !important; }
.apple-site .apple-account {
  height: 40px;
  border: 0 !important;
  border-radius: 999px;
  background: var(--apple-blue) !important;
  color: white !important;
  box-shadow: none !important;
  font-weight: 600;
  font-size: .8rem;
  transition: background .2s ease, transform .15s ease;
}
.apple-site .apple-account:hover { background: var(--apple-blue-hover) !important; }
.apple-site .apple-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--apple-ink);
  background: rgba(29,29,31,.055);
  cursor: pointer;
  transition: background .16s ease, transform .14s ease;
}
.apple-site .apple-nav-toggle:hover { background: rgba(29,29,31,.10); }
.apple-site .apple-menu-glyph { width: 19px; height: 17px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.apple-site .apple-menu-glyph > span { display: block; height: 1.8px; width: 100%; border-radius: 99px; background: #26262a; transition: transform .2s var(--apple-spring), opacity .12s ease; transform-origin: center; }
.apple-site .apple-nav-toggle.is-open .apple-menu-glyph > span:first-child { transform: translateY(7.6px) rotate(45deg); }
.apple-site .apple-nav-toggle.is-open .apple-menu-glyph > span:nth-child(2) { opacity: 0; }
.apple-site .apple-nav-toggle.is-open .apple-menu-glyph > span:last-child { transform: translateY(-7.6px) rotate(-45deg); }
/* Headlines, copy, primary and secondary actions */
.apple-site main > section { position: relative; }
.apple-site main > section > div { position: relative; z-index: 1; }
.apple-site main h2[class*="text-3xl"], .apple-site main h2[class*="text-4xl"] {
  font-size: clamp(2.15rem, 3.7vw, 3.2rem);
  line-height: 1.13;
  font-weight: 740;
}
.apple-site main h2[class*="text-2xl"] { font-weight: 730; }
.apple-site main p[class*="leading-8"] { line-height: 1.7; }
.apple-site main a[class*="bg-gradient-to-r"],
.apple-site main button[class*="bg-gradient-to-r"],
.apple-site .apple-primary {
  background: var(--apple-blue) !important;
  color: white !important;
  border: 1px solid var(--apple-blue) !important;
  box-shadow: none !important;
  font-weight: 610;
  transition: transform .15s ease, background-color .18s ease, box-shadow .18s ease;
}
.apple-site main a[class*="bg-gradient-to-r"]:hover,
.apple-site main button[class*="bg-gradient-to-r"]:hover,
.apple-site .apple-primary:hover { background: var(--apple-blue-hover) !important; box-shadow: 0 7px 19px rgba(0,113,227,.15) !important; opacity: 1 !important; }
.apple-site main a[class*="border-slate-200"][class*="rounded-full"],
.apple-site main button[class*="border-slate-200"][class*="rounded-full"] {
  background: #f5f5f7 !important;
  color: var(--apple-ink) !important;
  border-color: rgba(29,29,31,.04) !important;
  box-shadow: none !important;
  transition: transform .15s ease, background-color .17s ease;
}
.apple-site main a[class*="border-slate-200"][class*="rounded-full"]:hover,
.apple-site main button[class*="border-slate-200"][class*="rounded-full"]:hover { background: #eaeaed !important; }
.apple-site main a[class*="bg-slate-900"]:not(.apple-nav a) { background: var(--apple-ink) !important; }
.apple-site main a[class*="bg-slate-900"]:hover { background: #343438 !important; }
.apple-site main :where(a,button)[class*="rounded-full"] { min-height: 43px; }
.apple-site .apple-header a[class*="bg-gradient-to-r"] {
  background: var(--apple-blue) !important;
  border: 1px solid var(--apple-blue) !important;
  color: white !important;
  box-shadow: none !important;
  transition: background-color .18s ease, transform .15s ease;
}
.apple-site .apple-header a[class*="bg-gradient-to-r"]:hover { background: var(--apple-blue-hover) !important; opacity: 1 !important; }
/* Main, intentional product-like hero */
.apple-home .apple-hero {
  padding: clamp(4rem, 7vw, 7.5rem) 0 5rem;
  background: radial-gradient(ellipse 50% 52% at 95% 14%, rgba(186,213,249,.50), transparent 79%),
              radial-gradient(ellipse 45% 60% at 2% 50%, rgba(255,255,255,.95), transparent 80%),
              #f5f5f7 !important;
}
.apple-home .apple-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: min(66vw, 850px);
  height: 600px;
  border-radius: 50%;
  right: -24%; top: -19%;
  background: radial-gradient(circle, rgba(209,229,250,.39), transparent 66%);
  filter: blur(30px);
}
.apple-home .apple-hero > div { max-width: 1264px; }
.apple-home .apple-hero-grid { grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); gap: clamp(2rem, 5vw, 5.25rem); align-items: center; }
.apple-home .apple-hero-copy { padding-top: 0 !important; }
.apple-site .apple-eyebrow {
  border: 0 !important;
  background: rgba(0,113,227,.08) !important;
  color: #0066cc !important;
  padding: .58rem 1rem !important;
  box-shadow: none !important;
  letter-spacing: .005em !important;
  text-transform: none !important;
  font-weight: 625 !important;
  font-size: .79rem !important;
  line-height: 1.35;
}
.apple-site .apple-eyebrow .material-symbols-outlined { color: #0071e3 !important; }
.apple-home .apple-hero h1 {
  margin-top: 1.5rem;
  max-width: 11.5em;
  font-size: clamp(3.1rem, 4.6vw, 4.65rem);
  line-height: 1.065;
  font-weight: 765;
  letter-spacing: -.063em;
}
.apple-home .apple-hero-copy > p {
  max-width: 35rem;
  margin-top: 1.5rem;
  font-size: clamp(1.04rem, 1.45vw, 1.17rem);
  line-height: 1.75;
  color: #626268;
}
.apple-home .apple-hero-actions { margin-top: 2rem; gap: .7rem; }
.apple-home .apple-hero-actions > a { min-height: 49px; padding: 0 1.45rem; }
.apple-home .apple-hero-stats { margin-top: 2.4rem; gap: .6rem; }
.apple-home .apple-hero-stats > div {
  background: #fff !important;
  border-color: rgba(29,29,31,.06) !important;
  color: #47474b !important;
  padding: .58rem .88rem;
  font-size: .77rem;
  font-weight: 550;
  box-shadow: 0 3px 10px rgba(29,29,31,.025);
}
.apple-home .apple-hero-stats .material-symbols-outlined { color: #0b9b6d !important; font-size: 17px; }
.apple-home .apple-showcase {
  background: rgba(255,255,255,.91) !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  border-radius: 32px;
  padding: 1.25rem;
  box-shadow: 0 36px 90px rgba(20,45,95,.10), 0 3px 8px rgba(20,45,95,.04) !important;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.apple-home .apple-showcase-title { padding: 0 .55rem; font-size: .72rem; letter-spacing: .09em !important; text-transform: uppercase; color: #898992 !important; font-weight: 690; }
.apple-home .apple-showcase-list { margin-top: 1rem; gap: .65rem; }
.apple-home .apple-showcase-list > div {
  background: #f5f6fa !important;
  border: 1px solid rgba(29,29,31,.035) !important;
  border-radius: 22px;
  padding: 1.23rem;
  transition: transform .3s var(--apple-spring), background-color .2s ease, box-shadow .2s ease;
}
.apple-home .apple-showcase-list > div:hover { background: #f0f4fb !important; transform: translateY(-2px); box-shadow: 0 9px 24px rgba(20,45,95,.045); }
.apple-home .apple-showcase-list > div .material-symbols-outlined { color: #0068c8; }
.apple-home .apple-showcase-list > div > div > div:first-child {
  background: #e2efff !important;
  border-radius: 16px;
  width: 44px; height: 44px;
}
.apple-home .apple-showcase-list .text-base { font-weight: 690; letter-spacing: -.023em; }
.apple-home .apple-showcase-list .text-sm { line-height: 1.55; }
.apple-home .apple-showcase-trust { border-top-color: rgba(29,29,31,.07) !important; }
.apple-home .apple-showcase-trust a { border-radius: 18px; background: #f5f6fa !important; }
/* The business launch section reads as one deliberate two-tone feature. */
.apple-home .apple-business-feature { border: 0 !important; border-radius: 34px; background: white !important; box-shadow: var(--apple-shadow) !important; }
.apple-home .apple-business-feature > div { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); }
.apple-home .apple-business-feature > div > div:first-child { background: linear-gradient(145deg,#0f1728 0%,#172f4b 100%) !important; padding: clamp(2rem, 4vw, 3.5rem); }
.apple-home .apple-business-feature > div > div:first-child .absolute { opacity: .38; }
.apple-home .apple-business-feature > div > div:last-child { padding: clamp(2rem,4vw,3.5rem); }
.apple-home .apple-business-feature .text-white { color: white !important; }
.apple-home .apple-business-feature h2 { font-weight: 735; font-size: clamp(1.8rem,2.7vw,2.65rem); color: white !important; }
.apple-home .apple-business-feature .text-violet-700 { color: #006dd4 !important; }
.apple-home .apple-business-feature > div > div:last-child > div > div[class*="bg-slate-50"] { background: #f5f5f7 !important; border-color: transparent !important; }
/* Alternating groups, restrained contrast, deliberate cards */
.apple-home #jak-dzialamy { background: #f5f5f7 !important; padding: 6rem 0; }
.apple-home #jak-dzialamy h2 { font-size: clamp(2.3rem,4vw,3.35rem); }
.apple-home #jak-dzialamy .grid > div {
  background: #fff;
  border: 0 !important;
  border-radius: 29px;
  box-shadow: var(--apple-shadow);
  padding: clamp(1.5rem,3vw,2.25rem);
  transition: transform .34s var(--apple-spring), box-shadow .34s ease;
}
.apple-home #jak-dzialamy .grid > div:hover { transform: translateY(-4px); box-shadow: 0 22px 40px rgba(29,29,31,.07); }
.apple-home #jak-dzialamy .grid > div > div:first-child { background: #e5f1ff !important; color: var(--apple-blue) !important; border-radius: 16px; }
.apple-home #jak-dzialamy .grid > div > div.text-lg { font-size: 1.22rem; font-weight: 720; letter-spacing: -.03em; }
.apple-home #jak-dzialamy .grid > div > div.text-sm { font-size: .93rem; line-height: 1.8; }
.apple-home #zakres-uslug { background: #fff !important; padding: 6rem 0; }
.apple-home #zakres-uslug .grid > article {
  border: 0 !important;
  background: #f5f5f7 !important;
  border-radius: 25px;
  box-shadow: none !important;
  padding: 1.55rem;
  min-height: 205px;
  transition: transform .28s var(--apple-spring), background-color .2s ease, box-shadow .25s ease;
}
.apple-home #zakres-uslug .grid > article:hover { background: #eff3f9 !important; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(29,29,31,.04) !important; }
.apple-home #zakres-uslug .grid > article > div:first-child { background: white !important; color: var(--apple-blue) !important; box-shadow: none !important; border-radius: 14px; }
.apple-home #zakres-uslug h3 { font-size: 1rem; line-height: 1.3; }
.apple-home #zakres-uslug article p { font-size: .82rem; line-height: 1.7; }
.apple-home #branze { background: #f5f5f7 !important; padding: 6rem 0; }
.apple-home #branze .grid > article { background: #fff !important; border: 0 !important; border-radius: 24px; box-shadow: var(--apple-shadow); padding: 1.55rem; }
.apple-home #branze .grid > article > div > div:first-child { background: #e8f2ff !important; color: var(--apple-blue) !important; }
.apple-home #branze .grid > article p { font-size: .84rem; line-height: 1.7; }
.apple-home #ksiegowosc-online { background: #fff !important; padding: 6rem 0; }
.apple-home #ksiegowosc-online .overflow-hidden[class*="rounded-"] { border: 0 !important; border-radius: 34px; box-shadow: 0 25px 65px rgba(29,29,31,.065) !important; background: #f5f5f7 !important; }
.apple-home #ksiegowosc-online .bg-slate-900 { background: #102d4d !important; }
.apple-home #ksiegowosc-online .bg-slate-900 .text-white { color: white !important; }
.apple-home #ksiegowosc-online .bg-slate-900 .grid > div { background: rgba(255,255,255,.075) !important; border-color: rgba(255,255,255,.12) !important; }
.apple-home #ksiegowosc-online .bg-slate-900 .material-symbols-outlined { color: #85c7ff; }
.apple-home #faq { background: #fff !important; padding: 5rem 0 7rem; }
.apple-home #faq details { border: 1px solid rgba(29,29,31,.05) !important; background: #f5f5f7 !important; box-shadow: none !important; border-radius: 21px; transition: background-color .2s ease; }
.apple-home #faq details:hover, .apple-home #faq details[open] { background: #eef3fa !important; }
.apple-home #faq summary { font-weight: 670; font-size: 1rem; line-height: 1.5; letter-spacing: -.015em; }
.apple-home #faq summary .material-symbols-outlined { color: #6e6e73 !important; }
.apple-home #faq details[open] summary .material-symbols-outlined { transform: rotate(180deg); }
/* Step form keeps original validation, dynamic conditionals, controls and POST endpoint. */
.apple-home #formularz { background: radial-gradient(ellipse 58% 44% at 90% 0%, rgba(190,218,250,.32), transparent 82%), #f5f5f7; padding: 6rem 0 7rem; }
.apple-home #formularz > div > div { border: 1px solid rgba(255,255,255,.8) !important; border-radius: 32px; background: #fff; box-shadow: 0 30px 80px rgba(29,29,31,.07) !important; }
.apple-home #formularz > div > div > div:first-child { border-radius: 32px 32px 0 0; background: #f8f9fc !important; border-color: rgba(29,29,31,.06) !important; }
.apple-site #progress-percent { color: var(--apple-blue) !important; }
.apple-site #progress-bar { background: var(--apple-blue) !important; transition: width .4s var(--apple-spring); }
.apple-site .ui-trigger, .apple-site .pricing-trigger {
  min-height: 50px;
  border: 1px solid #d9d9df;
  border-radius: 14px;
  background: #fbfbfd !important;
  box-shadow: none;
  color: var(--apple-ink);
  font-weight: 520;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.apple-site .ui-trigger:hover, .apple-site .pricing-trigger:hover { background: #fff !important; border-color: #aebac9; }
.apple-site .ui-trigger:focus, .apple-site .pricing-trigger:focus, .apple-site .ui-trigger:focus-visible, .apple-site .pricing-trigger:focus-visible {
  background: #fff !important;
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0,113,227,.12) !important;
}
.apple-site .ui-popover, .apple-site .pricing-menu {
  background: rgba(255,255,255,.985) !important;
  border: 1px solid rgba(29,29,31,.07) !important;
  border-radius: 19px;
  box-shadow: 0 24px 55px rgba(29,29,31,.12) !important;
  z-index: 60;
  backdrop-filter: blur(20px);
}
.apple-site .ui-option:hover, .apple-site .ui-option[aria-selected="true"], .apple-site .pricing-option:hover, .apple-site .pricing-option[aria-selected="true"] { background: #edf5ff !important; color: var(--apple-blue) !important; }
.apple-site .choice-card { background: #fbfbfd !important; border: 1.5px solid #e6e6ea !important; border-radius: 20px; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .15s ease; }
.apple-site .choice-card:hover { background: #f2f7ff !important; border-color: #b5d5f5 !important; }
.apple-site .choice-card.choice-active { border-color: var(--apple-blue) !important; background: #edf5ff !important; box-shadow: inset 0 0 0 1px rgba(0,113,227,.20) !important; }
.apple-site .choice-card .material-symbols-outlined { color: var(--apple-blue) !important; }
.apple-site .step-pill-active { background: var(--apple-blue) !important; }
.apple-site #summary-box { background: #f5f5f7 !important; border: 0 !important; }
.apple-site #formularz textarea { background: #fbfbfd !important; border-radius: 16px; border-color: #d9d9df; }
.apple-site #formularz textarea:focus { border-color: var(--apple-blue); box-shadow: 0 0 0 4px rgba(0,113,227,.12) !important; }
.apple-site #formularz input[type="checkbox"] { accent-color: var(--apple-blue); }
.apple-site #btn-prev { background: #f5f5f7 !important; }
/* Pricing page: calculator as a quiet product configuration surface */
.apple-pricing main { background: #f5f5f7 !important; }
.apple-pricing main > section:first-child { padding-top: 5.25rem; padding-bottom: 3rem; background: radial-gradient(ellipse 65% 65% at 100% 0, rgba(197,222,250,.45), transparent 78%), #f5f5f7; }
.apple-pricing main > section:first-child h1 { font-size: clamp(3.1rem,5vw,5.15rem); line-height: 1.07; font-weight: 770; }
.apple-pricing main > section:nth-child(2) { padding-top: 2rem; padding-bottom: 6rem; }
.apple-pricing main > section:nth-child(2) .grid > .space-y-4 > div:first-child,
.apple-pricing main > section:nth-child(2) .grid > .rounded-\[28px\] {
  background: #fff !important;
  border: 0 !important;
  border-radius: 29px;
  padding: clamp(1.4rem,3vw,2rem);
  box-shadow: var(--apple-shadow) !important;
}
.apple-pricing #vat-switch { background: #f1f1f3 !important; border: 1px solid rgba(29,29,31,.05); padding: 4px; border-radius: 15px; }
.apple-pricing #vat-switch button { border-radius: 11px; font-size: .9rem; transition: background-color .2s ease, box-shadow .2s ease, transform .14s ease; }
.apple-pricing #vat-switch button.bg-white { background: #fff !important; color: #1d1d1f !important; box-shadow: 0 1px 5px rgba(29,29,31,.075) !important; }
.apple-pricing #vat-switch button:not(.bg-white) { color: #6e6e73 !important; }
.apple-pricing #pricing-value { font-size: clamp(2.9rem, 5vw, 4.35rem); letter-spacing: -.07em; font-weight: 780; }
.apple-pricing #pricing-value + div { padding-bottom: .55rem; }
.apple-pricing #pricing-range { background: white !important; border: 1px solid rgba(29,29,31,.08) !important; color: #505057; }
.apple-pricing #pricing-value::selection { background: #cae5ff; }
.apple-pricing main [class*="from-violet-50"] { background: #f0f6ff !important; border-color: rgba(0,113,227,.08) !important; }
.apple-pricing main [class*="text-violet-800"] { color: #325b86 !important; }
.apple-pricing main [class*="tracking-"] { letter-spacing: .045em; }
.apple-pricing main .pricing-option[aria-selected="true"] { font-weight: 680; }
/* The custom-quote CTA is blue; headings must remain legible on its surface. */
.apple-pricing .apple-custom-quote h2 { color: #fff !important; }
.apple-pricing .apple-custom-quote > p { color: rgba(255,255,255,.9) !important; }
/* Legal documents and adjacent pages. Keep TOC, anchors and original legal text. */
.apple-legal main { background: #f5f5f7 !important; }
.apple-legal main > section:first-child { padding-top: 4.8rem; padding-bottom: 3.25rem; background: radial-gradient(ellipse 54% 80% at 100% 0%, rgba(197,222,250,.38), transparent 86%), #f5f5f7; }
.apple-legal main > section:first-child h1 { font-size: clamp(3rem,5vw,4.7rem); line-height: 1.09; font-weight: 770; }
.apple-legal main > section:nth-child(2) { padding-bottom: 6rem; }
.apple-legal .content-copy { color: #424249; }
.apple-legal .content-copy :where(h2,h3) { color: var(--apple-ink) !important; letter-spacing: -.035em; }
.apple-legal .content-copy h2 { scroll-margin-top: 6.3rem; }
.apple-legal .content-copy :where(p,li) { color: #515158 !important; }
.apple-legal .toc a { border-radius: 12px; }
.apple-legal .toc a:hover, .apple-legal .toc a.is-active { color: var(--apple-blue) !important; background: #edf5ff !important; border-color: transparent !important; }
.apple-legal main > section:nth-child(2) :where(.bg-white\/95,.bg-white,.bg-slate-50) { border-radius: 25px; }
/* Consistent footer, cookies and feedback overlays */
.apple-site footer { background: #f1f1f3 !important; border-top: 1px solid rgba(29,29,31,.06) !important; }
.apple-site footer > div { max-width: 1264px; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.apple-site footer a { color: #53535b; transition: color .15s ease; }
.apple-site footer a:hover { color: var(--apple-blue) !important; }
.apple-site .cookie-overlay { background: rgba(18,25,35,.40); backdrop-filter: blur(11px) saturate(120%); -webkit-backdrop-filter: blur(11px) saturate(120%); }
.apple-site .cookie-card { border-radius: 29px; background: #fff; border: 1px solid rgba(255,255,255,.9); box-shadow: 0 35px 100px rgba(15,20,32,.18) !important; }
.apple-site .cookie-card .bg-violet-100 { background: #e9f3ff !important; }
.apple-site .cookie-card button[class*="bg-gradient"], .apple-site .cookie-card button[class*="bg-violet"] { background: var(--apple-blue) !important; }
.apple-site .cookie-settings-btn { background: rgba(255,255,255,.92) !important; border: 1px solid rgba(29,29,31,.07) !important; box-shadow: 0 8px 25px rgba(29,29,31,.10); color: #53535a; backdrop-filter: blur(20px); }
.apple-site #landing-toast { border-radius: 17px; box-shadow: 0 16px 35px rgba(29,29,31,.1); }
/* Physical yet quiet entrance, only where supported. Content remains visible without JS. */
@media (prefers-reduced-motion: no-preference) {
  .apple-site .apple-reveal { opacity: 0; transform: translate3d(0,19px,0); transition: opacity .62s ease, transform .72s var(--apple-spring); }
  .apple-site .apple-reveal.is-visible { opacity: 1; transform: translate3d(0,0,0); }
}
@media (min-width: 1024px) and (max-width: 1270px) {
  .apple-site .apple-nav > a { padding-left: .5rem; padding-right: .5rem; font-size: 12px; }
  .apple-home .apple-hero h1 { font-size: 3.75rem; }
}
@media (max-width: 1023px) {
  .apple-site .apple-header > div { min-height: 69px; }
  .apple-site .apple-nav-toggle { display: inline-flex; }
  .apple-site .apple-nav {
    display: none !important;
    position: absolute !important;
    left: 1rem !important; right: 1rem !important;
    top: calc(100% + 8px) !important;
    transform: none !important;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    padding: .65rem;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 22px;
    background: rgba(255,255,255,.975);
    box-shadow: 0 24px 70px rgba(29,29,31,.14);
    backdrop-filter: blur(28px);
    z-index: 90;
  }
  .apple-site .apple-nav.apple-nav-open { display: flex !important; }
  .apple-site .apple-nav > a { width: 100%; justify-content: flex-start; padding: .95rem 1rem; border-radius: 14px; font-size: .94rem; }
  .apple-home .apple-hero-grid { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
  .apple-home .apple-hero h1 { max-width: 12.5em; }
  .apple-home .apple-showcase { max-width: 670px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .apple-site .apple-header > div { padding-left: 1rem; padding-right: 1rem; gap: .5rem; }
  .apple-site .apple-header img { height: 32px; max-width: 39vw; }
  .apple-site .apple-header-actions > a:not(.apple-account) { min-width: 35px; width: 35px; height: 38px; padding: .4rem; font-size: .78rem; }
  .apple-site .apple-header-actions { gap: .25rem; }
  .apple-site .apple-account { height: 38px; padding: 0 .7rem; font-size: .72rem; }
  .apple-site .apple-nav-toggle { width: 39px; height: 39px; }
  .apple-home .apple-hero { padding-top: 3.2rem; padding-bottom: 3.8rem; }
  .apple-home .apple-hero h1 { font-size: clamp(2.75rem, 10vw, 3.6rem); line-height: 1.09; }
  .apple-home .apple-hero-copy > p { font-size: 1.02rem; }
  .apple-home .apple-hero-actions > a { flex: 1 1 180px; }
  .apple-home .apple-hero-stats { gap: .5rem; }
  .apple-home .apple-hero-stats > div { font-size: .73rem; }
  .apple-home .apple-showcase { border-radius: 25px; padding: .9rem; }
  .apple-home .apple-showcase-list > div { padding: 1rem; }
  .apple-home .apple-business-feature { border-radius: 26px; }
  .apple-home .apple-business-feature > div { grid-template-columns: 1fr; }
  .apple-site main h2[class*="text-3xl"], .apple-site main h2[class*="text-4xl"] { font-size: clamp(2rem, 8vw, 2.65rem); }
  .apple-home :is(#jak-dzialamy,#zakres-uslug,#branze,#ksiegowosc-online,#faq,#formularz) { padding-top: 4rem; padding-bottom: 4rem; }
  .apple-home #jak-dzialamy .grid > div { border-radius: 24px; }
  .apple-home #formularz > div > div { border-radius: 25px; }
  .apple-home #formularz > div > div > div:first-child { border-radius: 25px 25px 0 0; }
  .apple-pricing main > section:first-child, .apple-legal main > section:first-child { padding-top: 3rem; padding-bottom: 2rem; }
  .apple-pricing main > section:first-child h1, .apple-legal main > section:first-child h1 { font-size: clamp(2.8rem, 10vw, 3.65rem); }
  .apple-pricing #pricing-value { font-size: 3rem; }
  .apple-site .cookie-card { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .apple-site *, .apple-site *::before, .apple-site *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .apple-site .apple-reveal { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .apple-site .apple-header { background: #fbfbfd !important; backdrop-filter: none !important; }
  .apple-site .apple-showcase, .apple-site .apple-nav { background: #fff !important; backdrop-filter: none !important; }
  .apple-site .cookie-overlay { backdrop-filter: none !important; }
}
@media (prefers-contrast: more) {
  .apple-site .apple-header { border-bottom-color: #6e6e73 !important; background: #fff !important; }
  .apple-site .apple-showcase, .apple-site .choice-card, .apple-site .ui-trigger, .apple-site .pricing-trigger { border-color: #5b5b64 !important; }
  .apple-site .apple-eyebrow { color: #004a98 !important; }
}
/* Allow the calculator's two columns and segmented labels to shrink on narrow phones. */
.apple-pricing main > section:nth-child(2) .grid > .space-y-4,
.apple-pricing main > section:nth-child(2) .grid > .rounded-\[28px\],
.apple-pricing #vat-switch .pricing-switch-btn { min-width: 0; }
