/* KosmicznyNet — shared design tokens and editorial components. */
:root {
  color-scheme: light;
  --bg: #F6F5F1;
  --surface: #FFFFFF;
  --surface-muted: #EFEEF3;
  --text: #24231F;
  --text-muted: #66635B;
  --text-soft: #575268;
  --border: #DDDCE5;
  --accent: #4F46E5;
  --accent-hover: #4338CA;
  --accent-soft: #F0EEFF;
  --accent-soft-border: #DCD8F5;
  --control-border: #827E94;
  --table-stripe: #FFFFFF60;
  --radius: 8px;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: #DCD8FF; color: #24231F; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h1 { font-size: clamp(42px, 5.1vw, 68px); line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.1vw, 42px); line-height: 1.14; letter-spacing: -.04em; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { display: block; font-size: 11px; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; font-weight: 650; color: var(--text-muted); }
.number { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-muted); }
.accent { color: var(--accent); }
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.announcement { border-bottom: 1px solid var(--border); font-size: 12px; }
.announcement .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 9px; }
.announcement strong { color: var(--accent); font-weight: 600; margin-right: 12px; }
.announcement a { white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--border); }
.header-row { min-height: 82px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand-name { font-size: 17px; font-weight: 650; letter-spacing: -.045em; }
.brand-name span { color: var(--text-muted); font-weight: 400; }
.main-nav { display: flex; gap: 21px; align-items: center; margin-left: auto; }
.main-nav a { font-size: 12px; font-weight: 550; text-decoration: none; padding-block: 12px; }
.main-nav a:hover, .footer-links a:hover { color: var(--accent); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 11px 19px; border: 1px solid transparent; border-radius: var(--radius); font-size: 14px; font-weight: 550; line-height: 1.4; text-decoration: none; transition: background-color 150ms, border-color 150ms; }
.button-primary { color: #FFF; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { border-color: var(--border); background: transparent; }
.button-secondary:hover { background: var(--surface-muted); border-color: var(--control-border); }
.header-actions { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cta { font-size: 12px; min-height: 42px; padding: 10px 14px; white-space: nowrap; }
.menu-toggle { display: none; min-height: 44px; border: 1px solid var(--border); background: var(--surface); padding: 8px 12px; border-radius: var(--radius); white-space: nowrap; }
.hero { padding-top: 70px; }
.hero-grid { display: grid; gap: 48px; grid-template-columns: 1.22fr 1fr; align-items: center; }
.hero .eyebrow { margin-bottom: 25px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-deck { font-size: 19px; font-weight: 500; letter-spacing: -.025em; margin: 24px 0 14px; }
.hero-copy { font-size: 16px; color: var(--text-muted); max-width: 51ch; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { color: var(--accent); font-size: 14px; font-weight: 550; text-decoration: none; display: inline-flex; gap: 12px; align-items: center; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.hero-figure { position: relative; margin: 0; border: 1px solid var(--border); background: #EFEEF1; border-radius: 12px; overflow: hidden; }
.figure-top, .figure-bottom { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; color: var(--text-muted); padding: 19px 23px; }
.figure-top { border-bottom: 1px solid var(--border); }
.figure-top span:first-child { font-weight: 600; letter-spacing: .09em; }
.hero-figure svg { display: block; width: 100%; height: auto; }
.figure-bottom { background: var(--surface); border-top: 1px solid var(--border); font-size: 12px; }
.figure-bottom strong { color: var(--text); font-weight: 550; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--border); margin: 48px 0 0; padding: 25px 0; }
.facts > div { padding-inline: 25px; border-left: 1px solid var(--border); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-size: 12px; color: var(--text-muted); }
.facts dd { margin: 5px 0 0; font-size: 25px; letter-spacing: -.035em; font-weight: 550; }
.facts dd small { display: block; margin-top: 3px; font-size: 11px; color: var(--text-muted); font-weight: 400; letter-spacing: 0; }
.section { padding-block: 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading p { max-width: 44ch; margin-top: 16px; color: var(--text-muted); font-size: 15px; }
.section-heading > .text-link { flex-shrink: 0; }
.plan-labels, .plan-row { display: grid; grid-template-columns: 1.05fr 1.5fr 1.1fr .68fr; gap: 24px; }
.plan-labels { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; padding: 12px 24px; background: var(--surface-muted); border-block: 1px solid var(--border); }
.plan-row { padding: 27px 24px; border-bottom: 1px solid var(--border); align-items: start; }
.plan-row .eyebrow { margin-bottom: 7px; font-size: 10px; }
.plan-row h3 { font-size: 20px; }
.plan-specs { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.65; }
.plan-specs li + li { margin-top: 3px; }
.plan-specs li:first-child { font-weight: 600; }
.plan-audience { font-size: 13px; color: var(--text-muted); }
.plan-price { text-align: right; }
.plan-price strong { font-size: 28px; line-height: 1.2; font-weight: 550; letter-spacing: -.04em; white-space: nowrap; }
.plan-price small { display: block; font-size: 12px; color: var(--text-muted); }
.plan-price a { font-size: 12px; }
.plan-row:nth-of-type(even) { background: #FFFFFF60; }
.table-note { margin-top: 16px; color: var(--text-muted); font-size: 12px; }
.calculator-section { background: var(--surface); border-block: 1px solid var(--border); }
.calculator { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.calculator-toolbar { background: var(--bg); padding: 22px 28px; border-bottom: 1px solid var(--border); }
.plan-selector { border: 0; padding: 0; margin: 0; min-width: 0; }
.plan-selector legend { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.plan-options { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-option { position: relative; }
.plan-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-option span { display: block; border: 1px solid var(--control-border); border-radius: 7px; padding: 10px 18px; font-size: 13px; cursor: pointer; background: var(--surface); }
.plan-option input:checked + span { background: var(--accent); color: white; border-color: var(--accent); }
.plan-option input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.plan-option input:disabled + span { cursor: default; }
.calc-grid { display: grid; grid-template-columns: 1.25fr 1fr; }
.calc-breakdown { padding: 28px; }
.breakdown { margin: 0; }
.breakdown > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.breakdown dt { color: var(--text-muted); }
.breakdown dd { text-align: right; margin: 0; font-weight: 550; font-variant-numeric: tabular-nums; }
.breakdown dd small { display: block; color: var(--text-muted); font-weight: 400; font-size: 11px; }
.breakdown > div:last-child { border-bottom: 0; }
.calc-settings { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.price-label { font-size: 12px; }
.price-control { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--text-muted); }
.price-control input { width: 94px; min-height: 44px; border: 1px solid var(--control-border); border-radius: 6px; padding: 8px 10px; background: var(--surface); color: var(--text); }
.checkbox-label { display: flex; gap: 8px; align-items: center; font-size: 12px; cursor: pointer; }
.checkbox-label input { accent-color: var(--accent); width: 18px; height: 18px; }
.field-error { margin-top: 12px; font-size: 12px; color: #A32323; }
.calc-result { background: var(--accent-soft); padding: 36px; border-left: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; }
.calc-result .eyebrow { color: var(--accent-hover); }
.total { font-size: clamp(36px, 4vw, 54px); font-weight: 550; letter-spacing: -.055em; line-height: 1.2; margin-top: 18px; color: var(--accent-hover); font-variant-numeric: tabular-nums; }
.total.is-range { font-size: clamp(30px, 3.5vw, 44px); }
.calc-summary { color: #575268; font-size: 13px; line-height: 1.7; margin-top: 20px; }
.calc-result .button { margin-top: 25px; align-self: flex-start; }
.calc-result-note { color: #575268; margin-top: 14px; font-size: 11px; }
.assumptions { margin-top: 20px; color: var(--text-muted); font-size: 12px; }
.assumptions summary { cursor: pointer; padding-block: 10px; font-weight: 550; }
.assumptions p { margin-top: 8px; max-width: 95ch; }
.guide-layout { display: grid; grid-template-columns: .8fr 1.6fr; gap: 75px; }
.guide-intro .eyebrow { margin-bottom: 16px; }
.guide-intro p { color: var(--text-muted); font-size: 15px; margin-top: 20px; }
.guide-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.guide-index li { border-bottom: 1px solid var(--border); }
.guide-link { display: grid; grid-template-columns: 28px 1fr 22px; align-items: start; gap: 18px; padding: 25px 0; text-decoration: none; }
.guide-number { font-size: 11px; color: var(--accent); padding-top: 5px; font-variant-numeric: tabular-nums; }
.guide-link h3 { font-size: 19px; transition: color 150ms; }
.guide-link p { color: var(--text-muted); font-size: 13px; line-height: 1.7; margin-top: 9px; }
.guide-arrow { color: var(--text-muted); transition: transform 150ms; }
.guide-link:hover h3, .guide-link:hover .guide-arrow { color: var(--accent); }
.guide-link:hover .guide-arrow { transform: translateX(3px); }
.guide-note { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--border); padding-top: 24px; margin-top: 30px; color: var(--text-muted); font-size: 12px; }
.guide-note span:first-child { color: var(--accent); font-size: 28px; font-weight: 550; }
.bonus-section { padding-bottom: 80px; }
.bonus { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; background: var(--accent-soft); border: 1px solid #DCD8F5; padding: 48px; border-radius: 12px; }
.bonus .eyebrow { color: var(--accent-hover); margin-bottom: 20px; }
.bonus h2 { max-width: 17ch; }
.bonus p { margin-top: 20px; font-size: 14px; color: #575268; max-width: 48ch; }
.bonus .button { margin-top: 25px; }
.bonus-steps { list-style: none; margin: 0; padding: 0; }
.bonus-steps li { display: grid; grid-template-columns: 25px 1fr; gap: 16px; border-bottom: 1px solid #DCD8F5; padding: 20px 0; }
.bonus-steps li:first-child { padding-top: 0; }
.bonus-steps li:last-child { border: 0; padding-bottom: 0; }
.bonus-steps span { color: var(--accent); font-size: 12px; padding-top: 2px; }
.bonus-steps h3 { font-size: 16px; }
.bonus-steps p { margin-top: 8px; font-size: 13px; }
.site-footer { border-top: 1px solid var(--border); padding-block: 45px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-about p { font-size: 12px; color: var(--text-muted); margin-top: 15px; max-width: 34ch; }
.footer-links h2 { font-size: 12px; letter-spacing: 0; margin: 10px 0 12px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; display: inline-block; padding-block: 5px; }
.footer-links p { font-size: 12px; color: var(--text-muted); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 36px; color: var(--text-muted); font-size: 11px; }
.footer-bottom p + p { margin-top: 14px; }
.noscript-note { padding: 16px 28px; font-size: 13px; background: var(--surface-muted); }
@media (max-width: 1100px) {
  .header-row { gap: 18px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 11px; }
  .brand-name { font-size: 16px; }
  .hero-grid { gap: 30px; }
  .plan-labels, .plan-row { gap: 20px; grid-template-columns: 1fr 1.35fr 1fr .75fr; }
}

/* ==========================================================================
   Obsługa układu mobilnego dla nagłówka (oparta o CSS Grid)
   ========================================================================== */
@media (max-width: 960px) {
  .header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    min-height: 72px;
    padding-block: 14px;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
  }
  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-top: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--border);
  }
  .main-nav a { font-size: 14px; border-bottom: 1px solid var(--border); }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; max-height: calc(100dvh - 90px); overflow-y: auto; }
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { margin-left: 0; }
  .hero { padding-top: 46px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .hero-deck { font-size: 17px; }
  .hero-copy { font-size: 15px; }
  .hero-figure { align-self: start; margin-top: 30px; }
  .figure-top, .figure-bottom { padding: 14px; font-size: 10px; }
  .facts > div { padding-inline: 16px; }
  .facts dd { font-size: 23px; }
  .plan-labels { display: none; }
  .plan-row { grid-template-columns: 1fr 1.4fr .8fr; padding-inline: 0; }
  .plan-audience { grid-column: 2; grid-row: 2; }
  .plan-price { grid-column: 3; grid-row: 1; }
  .plan-row:nth-of-type(even) { background: none; }
  .calc-result { padding: 26px; }
  .guide-layout { gap: 40px; }
  .bonus { padding: 34px; gap: 35px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 105px; }
  .container { width: min(1200px, calc(100% - 30px)); }
  .announcement .container { justify-content: center; padding-block: 7px; }
  .announcement p { font-size: 11px; text-align: center; }
  .announcement .status-extra, .announcement a { display: none; }
  
  .header-row { 
    min-height: 76px; 
    padding-block: 16px; 
    column-gap: 10px; 
  }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 15px; }
  .header-actions { gap: 8px; }
  
  .header-cta { 
    min-height: 44px; 
    padding: 10px 14px; 
    font-size: 13px; 
    font-weight: 650; 
    gap: 6px; 
  }
  .menu-toggle { 
    min-height: 44px; 
    padding: 10px 14px; 
    font-size: 13px; 
    font-weight: 650; 
  }

  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero h1 { max-width: 13ch; font-size: clamp(42px, 9vw, 60px); }
  .hero-copy { font-size: 16px; }
  .hero-figure { margin: 0; width: 100%; }
  .hero-figure svg { max-height: 330px; }
  .hero-deck { font-size: 18px; }
  .facts { grid-template-columns: 1fr 1fr; padding-block: 0; margin-top: 32px; }
  .facts > div { padding: 20px 0; }
  .facts > div:nth-child(even) { padding-left: 20px; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .facts dd small { max-width: 20ch; }
  .section { padding-block: 52px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > .text-link { margin-top: 15px; }
  .plan-row { grid-template-columns: 1fr auto; gap: 16px; padding-block: 24px; }
  .plan-row h3 { font-size: 21px; }
  .plan-price { grid-column: 2; grid-row: 1; }
  .plan-price strong { font-size: 25px; }
  .plan-specs { grid-column: 1 / -1; grid-row: 2; }
  .plan-audience { grid-column: 1 / -1; grid-row: 3; max-width: 50ch; }
  .calc-grid { grid-template-columns: 1fr; }
  .calculator-toolbar, .calc-breakdown { padding: 20px; }
  .plan-options { display: grid; grid-template-columns: 1fr 1fr; }
  .plan-option span { text-align: center; padding-inline: 8px; }
  .calc-result { border-left: 0; border-top: 1px solid var(--border); padding: 28px 22px; }
  .total { font-size: 48px; }
  .total.is-range { font-size: 38px; }
  .guide-layout { grid-template-columns: 1fr; gap: 28px; }
  .guide-intro p { max-width: 44ch; }
  .guide-note { display: none; }
  .bonus-section { padding-bottom: 52px; }
  .bonus { grid-template-columns: 1fr; gap: 36px; padding: 28px 22px; }
  .bonus h2 { max-width: 18ch; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about p { max-width: 55ch; }
  .footer-links:last-child { grid-column: 1 / -1; max-width: 48ch; }
}

/* Dostosowanie dla wszystkich standardowych smartfonów (iPhone, Galaxy, Pixel) */
@media (max-width: 480px) {
  .container { width: min(1200px, calc(100% - 24px)); }
  .header-row { 
    min-height: 70px; 
    padding-block: 13px; 
    column-gap: 8px; 
  }
  .brand { gap: 7px; }
  .brand img { width: 29px; height: 29px; }
  .brand-name { font-size: 14.5px; }
  .header-actions { gap: 6px; }
  .header-cta { 
    min-height: 42px; 
    padding: 8px 10px; 
    font-size: 12px; 
    font-weight: 650; 
    gap: 4px; 
  }
  .menu-toggle { 
    min-height: 42px; 
    padding: 8px 10px; 
    font-size: 12.5px; 
    font-weight: 650; 
  }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .text-link { justify-content: center; }
  .breakdown > div { gap: 10px; font-size: 12px; }
  .guide-link { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .announcement, .actions, .site-footer, .bonus-section, .menu-toggle, .calc-settings { display: none; }
  body { background: white; font-size: 11pt; }
  .container { width: 100%; }
  .section { padding-block: 24px; }
  .plan-row, .calculator, .guide-index li { break-inside: avoid; }
}

/* Editorial subpages: shared with the approved homepage tokens. */
.main-nav a.is-active { color: var(--accent); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.page-hero { padding-top: 32px; padding-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 46px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.page-hero > .eyebrow { color: var(--accent); margin-bottom: 20px; }
.page-hero h1 { max-width: 19ch; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.1; }
.page-hero > p { max-width: 68ch; font-size: 18px; color: var(--text-muted); margin-top: 24px; line-height: 1.75; }
.section-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; border-block: 1px solid var(--border); margin-top: 42px; padding-block: 12px; }
.section-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; text-decoration: none; }
.section-nav a span { color: var(--accent); font-size: 11px; }
.section-nav a:hover { color: var(--accent); }
.sub-section + .sub-section { border-top: 1px solid var(--border); }
.section-intro { margin-bottom: 34px; max-width: 800px; }
.section-intro .eyebrow { margin-bottom: 12px; }
.section-intro h2 { max-width: 30ch; }
.section-intro p { margin-top: 16px; color: var(--text-muted); font-size: 16px; max-width: 70ch; }
.prose { font-size: 16px; line-height: 1.8; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--text-muted); }
.prose strong { color: var(--text); font-weight: 550; }
.prose h4 { font-size: 13px; margin: 24px 0 12px; }
.section-prose { margin-top: 25px; }
.editorial-list { border-top: 1px solid var(--border); }
.editorial-item { display: grid; grid-template-columns: .8fr 1.6fr; gap: 75px; padding-block: 30px; border-bottom: 1px solid var(--border); }
.editorial-item .eyebrow { color: var(--accent); margin-bottom: 12px; }
.editorial-item h3 { max-width: 26ch; font-size: 23px; }
.inline-note { font-size: 13px; padding: 14px 16px; border-left: 2px solid var(--accent); background: var(--accent-soft); color: var(--accent-hover) !important; line-height: 1.65; }
.notice { margin-top: 28px; padding: 22px 26px; background: var(--surface-muted); border-left: 2px solid var(--accent); font-size: 14px; line-height: 1.8; }
.notice > strong { display: block; margin-bottom: 8px; }
.wizard-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.choice-group { border: 0; padding: 0 0 25px; margin: 0 0 25px; min-width: 0; border-bottom: 1px solid var(--border); }
.choice-group:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.choice-group legend { margin-bottom: 16px; font-weight: 550; font-size: 15px; }
.choice-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.choice-group:last-child .choice-options { grid-template-columns: 1fr 1fr; }
.choice-option { position: relative; min-width: 0; }
.choice-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-option > span { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px; height: 100%; border: 1px solid var(--control-border); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: background-color 150ms, border-color 150ms; }
.choice-option strong { font-size: 13px; font-weight: 550; }
.choice-option small { font-size: 11px; color: var(--text-muted); line-height: 1.6; }
.choice-option input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice-option input:checked + span strong { color: var(--accent-hover); }
.choice-option input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 4px; }
.choice-option:hover > span { border-color: var(--accent); }
.recommendation { position: sticky; top: 110px; padding: 32px; border: 1px solid #DCD8F5; background: var(--accent-soft); border-radius: 12px; }
.recommendation .eyebrow { color: var(--accent-hover); }
.recommendation h3 { font-size: 28px; color: var(--accent-hover); margin-top: 18px; }
.recommendation p { font-size: 14px; color: #575268; margin-top: 20px; line-height: 1.8; }
.recommendation .button { margin-top: 28px; }
.form-fields { display: grid; gap: 24px; align-content: start; }
.form-field { min-width: 0; }
.form-field label, .range-field label { display: block; font-size: 13px; font-weight: 550; margin-bottom: 10px; }
.form-field select { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; padding: 10px 30px 10px 12px; font-size: 13px; border: 1px solid var(--control-border); border-radius: var(--radius); color: var(--text); background: var(--surface); text-overflow: ellipsis; }
.form-field select:disabled { opacity: 1; color: var(--text-muted); }
.range-field { margin-top: 28px; }
.range-field output { display: block; font-size: 14px; color: var(--accent); font-variant-numeric: tabular-nums; }
.range-field input { width: 100%; min-height: 44px; margin: 5px 0 0; accent-color: var(--accent); }
.range-endpoints { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); }
.result-state { margin-top: 15px; font-size: 16px; font-weight: 550; color: var(--accent-hover); }
.spec-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; line-height: 1.75; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 20px 24px; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.spec-table thead th { background: var(--surface-muted); border-top: 1px solid var(--border); font-weight: 500; }
.spec-table thead th:first-child { width: 24%; }
.spec-table tbody th { color: var(--text-muted); font-size: 13px; font-weight: 400; }
.spec-table td { background: #FFFFFF60; border-left: 1px solid var(--border); }
.spec-table .eyebrow { color: var(--accent); font-size: 10px; }
.model-name { display: block; margin-top: 12px; font-size: 25px; font-weight: 550; letter-spacing: -.03em; line-height: 1.2; }
.model-format { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .06em; color: var(--text-muted); }
.alternate-label { display: block; font-size: 11px; margin-top: 6px; }
.device-notes { font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 20px; }
.device-notes p + p { margin-top: 8px; }
.device-notes strong { color: var(--text); font-weight: 500; }
.faq-list { max-width: 900px; border-top: 1px solid var(--border); }
.faq-entry { border-bottom: 1px solid var(--border); }
.faq-entry summary { cursor: pointer; padding: 23px 25px 23px 0; font-size: 17px; font-weight: 500; }
.faq-entry summary::marker { color: var(--accent); }
.faq-entry[open] summary { color: var(--accent); }
.faq-entry > div { padding: 0 25px 24px 20px; }
.mount-selector { margin-bottom: 28px; }
.mount-selector .plan-options { gap: 10px; }
.mount-panel { display: grid; grid-template-columns: 1.4fr 1fr; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; overflow: hidden; }
.mount-panel + .mount-panel { margin-top: 24px; }
.mount-panel[hidden] + .mount-panel { margin-top: 0; }
.mount-copy { padding: 32px; }
.mount-copy > .eyebrow { color: var(--accent); margin-bottom: 16px; }
.mount-copy h3 { font-size: 26px; }
.mount-copy > p { margin-top: 18px; font-size: 15px; }
.parts-list { padding-left: 20px; margin: 0; font-size: 14px; }
.parts-list li + li { margin-top: 8px; }
.parts-list li::marker { color: var(--accent); }
.mount-assessment { padding: 32px; background: var(--surface-muted); border-left: 1px solid var(--border); }
.assessment-list { margin: 22px 0; }
.assessment-list > div { padding-block: 16px; border-top: 1px solid var(--border); }
.assessment-list dt { font-size: 12px; color: var(--text-muted); }
.assessment-list dd { margin: 5px 0 0; font-size: 15px; font-weight: 500; }
.subpage #przeszkody .guide-layout { grid-template-columns: 1.4fr 1fr; align-items: start; }
.subpage #przeszkody h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 15px; }
.checklist-panel { background: var(--bg); border: 1px solid var(--border); padding: 28px; border-radius: var(--radius); }
.checklist-panel h3 { font-size: 18px; }
.checklist { list-style: none; margin: 20px 0 0; padding: 0; }
.checklist li { position: relative; padding: 16px 0 16px 27px; font-size: 14px; border-top: 1px solid var(--border); }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); }
.procedure-list { list-style: none; padding: 0; margin: 0; max-width: 950px; border-top: 1px solid var(--border); }
.procedure-list li { display: grid; grid-template-columns: 55px 1fr; gap: 25px; padding-block: 28px; border-bottom: 1px solid var(--border); }
.procedure-number { color: var(--accent); font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 4px; }
.procedure-list p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-top: 12px; }
.sub-cta { padding-bottom: 64px; }
.next-step { border: 1px solid #DCD8F5; background: var(--accent-soft); border-radius: 12px; padding: 40px; }
.next-step .eyebrow { color: var(--accent-hover); margin-bottom: 15px; }
.next-step h2 { max-width: 28ch; font-size: clamp(26px, 3vw, 36px); }
.next-step p { max-width: 70ch; margin-top: 18px; font-size: 15px; color: #575268; }
@media (max-width: 960px) {
  .wizard-layout { grid-template-columns: 1fr; }
  .recommendation { position: static; }
  .editorial-item { gap: 35px; }
  .mount-panel { grid-template-columns: 1.2fr 1fr; }
  .mount-copy, .mount-assessment { padding: 24px; }
  .spec-table th, .spec-table td { padding: 16px; }
  .subpage #przeszkody .guide-layout { gap: 32px; }
}
@media (max-width: 700px) {
  .breadcrumbs { margin-bottom: 32px; }
  .page-hero { padding-top: 22px; }
  .page-hero h1 { font-size: clamp(36px, 8vw, 48px); max-width: 20ch; }
  .page-hero > p { font-size: 16px; margin-top: 20px; }
  .section-nav { gap: 0 20px; margin-top: 30px; }
  .section-nav a { font-size: 12px; }
  .editorial-item { grid-template-columns: 1fr; gap: 16px; padding-block: 24px; }
  .editorial-item h3 { max-width: none; font-size: 21px; }
  .prose { font-size: 15px; }
  .choice-options { grid-template-columns: 1fr; }
  .choice-group:last-child .choice-options { grid-template-columns: 1fr; }
  .choice-option > span { gap: 5px; padding: 14px 16px; }
  .choice-option strong { font-size: 14px; }
  .choice-option small { font-size: 12px; }
  .recommendation { padding: 25px; }
  .recommendation h3 { font-size: 25px; }
  .notice { padding: 18px; }
  .spec-table, .spec-table thead, .spec-table tbody { display: block; }
  .spec-table tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .spec-table th, .spec-table td { padding: 14px 10px; }
  .spec-table thead th:first-child { display: none; }
  .spec-table tbody th { grid-column: 1 / -1; background: var(--surface-muted); padding-block: 9px; font-size: 12px; }
  .spec-table td { font-size: 12px; line-height: 1.75; border-left: 0; }
  .spec-table td + td { border-left: 1px solid var(--border); }
  .spec-table .model-name { font-size: 20px; }
  .spec-table .eyebrow { font-size: 9px; letter-spacing: .04em; }
  .spec-table .text-link { font-size: 12px; }
  .alternate-label { display: inline; font-size: inherit; }
  .alternate-label::before { content: ' / '; }
  .mount-panel, .subpage #przeszkody .guide-layout { grid-template-columns: 1fr; }
  .mount-assessment { border-left: 0; border-top: 1px solid var(--border); }
  .mount-selector .plan-options { display: grid; grid-template-columns: 1fr 1fr; }
  .mount-selector .plan-option span { height: 100%; display: flex; align-items: center; justify-content: center; }
  .mount-copy h3 { font-size: 23px; }
  .procedure-list li { grid-template-columns: 25px 1fr; gap: 16px; }
  .procedure-list h3 { font-size: 20px; }
  .procedure-list p { font-size: 15px; }
  .faq-entry summary { font-size: 16px; }
  .next-step { padding: 27px 22px; }
  .sub-cta { padding-bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .choice-option > span { transition: none; }
}

/* Knowledge, referral and measurement pages. */
.knowledge-search { max-width: 900px; margin-bottom: 26px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.knowledge-search input[type="search"], .day-input { width: 100%; min-height: 48px; border: 1px solid var(--control-border); border-radius: var(--radius); padding: 11px 14px; color: var(--text); background: var(--surface); }
.knowledge-search fieldset { margin-top: 22px; }
.search-status { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; font-size: 12px; color: var(--text-muted); }
.day-input { max-width: 120px; }
.data-selector { margin-bottom: 30px; }
.scenario-panel + .scenario-panel { margin-top: 32px; }
.scenario-panel[hidden] + .scenario-panel { margin-top: 0; }
.document-section .section-intro { max-width: 850px; }
.document-section h2 { margin-bottom: 20px; }
.document-section h3 { margin-block: 12px; }
.document-section .eyebrow { margin-bottom: 12px; }
.document-section .document-list { border-top: 1px solid var(--border); }
.document-list > .document-panel { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; padding: 28px 0; display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.document-panel { padding: 28px; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; }
.document-panel + .document-panel { margin-top: 20px; }
.document-list .document-panel + .document-panel { margin-top: 0; }
.document-panel strong { display: inline-block; }
.document-panel > div > strong { display: block; margin-bottom: 8px; }
.header-cta.is-active { text-decoration: underline; text-underline-offset: 4px; }
.document-panel > p { margin-block: 20px; }
.document-stack > * + * { margin-top: 16px; }
.detail-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: start; }
.detail-grid .detail-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; font-size: 13px; }
.detail-grid .detail-grid strong { display: block; margin-bottom: 8px; }
.detail-grid .detail-grid > div { padding: 16px; border-left: 2px solid var(--accent); background: var(--accent-soft); }
.data-line { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-line > :last-child { text-align: right; }
.data-line > div > span { display: block; }
.data-line > span:last-child { font-variant-numeric: tabular-nums; font-weight: 550; color: var(--accent-hover); }
.document-section .inline-note { margin-top: 16px; }
.document-section .document-stack .document-stack { font-family: ui-monospace, Consolas, monospace; font-size: 13px; padding: 20px; background: var(--surface-muted); border-radius: var(--radius); overflow-wrap: anywhere; }
.bonus-landing { padding-bottom: 64px; }
.bonus-action { display: grid; grid-template-columns: 1.35fr 1fr; gap: 65px; align-items: center; }
.bonus-action h1 { max-width: 16ch; }
.bonus-action > div > .eyebrow { color: var(--accent); margin-bottom: 20px; }
.bonus-action > div > p { font-size: 17px; line-height: 1.8; color: var(--text-muted); margin-top: 24px; max-width: 58ch; }
.bonus-action .button { margin-top: 28px; }
.bonus-action .legal-note { font-size: 11px; margin-top: 15px; }
.referral-ticket { padding: 38px; border: 1px solid #DCD8F5; border-radius: 12px; background: var(--accent-soft); display: flex; flex-direction: column; align-items: flex-start; }
.referral-ticket .eyebrow { color: var(--accent-hover); }
.ticket-amount { display: block; color: var(--accent-hover); font-size: 100px; font-weight: 550; letter-spacing: -.075em; line-height: 1.2; margin-block: 18px; }
.referral-ticket > span:not(.eyebrow) { font-size: 14px; color: #575268; }
.referral-code { border-top: 1px solid #DCD8F5; margin-top: 28px; padding-top: 20px; width: 100%; }
.referral-code span { display: block; font-size: 11px; color: #575268; }
.referral-code code { display: block; font-family: ui-monospace, Consolas, monospace; font-size: 14px; margin-top: 9px; color: var(--accent-hover); overflow-wrap: anywhere; user-select: all; }
.referral-ticket .text-link { margin-top: 14px; }
.network-path { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.network-path li { position: relative; padding: 15px 12px; background: var(--surface-muted); border: 1px solid var(--border); border-radius: 6px; text-align: center; font-size: 12px; }
.network-path li:not(:last-child)::after { content: '→'; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); color: var(--accent); }
.scenario-panel .mount-assessment h3 { font-size: 22px; margin-top: 18px; }
.scenario-panel .mount-assessment p { font-size: 14px; margin-top: 16px; }
.dataset-note { display: flex; gap: 10px; align-items: baseline; margin-top: 22px; font-size: 12px; color: var(--text-muted); }
.dataset-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
.measurement-table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.measurement-table caption { text-align: left; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.measurement-table th,.measurement-table td { padding: 24px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.measurement-table thead { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); background: var(--surface-muted); }
.measurement-table thead th { font-weight: 500; }
.measurement-table th { font-weight: 550; }
.measurement-table small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 7px; font-weight: 400; }
.metric-value { font-size: 34px; font-variant-numeric: tabular-nums; letter-spacing: -.045em; white-space: nowrap; }
.highlight-row { background: var(--accent-soft); }
.highlight-row .metric-value { color: var(--accent-hover); }
.weather-heading { font-size: 20px; margin-bottom: 20px; }
.weather-metrics { margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--border); }
.weather-metrics > div { padding: 25px 24px; border-left: 1px solid var(--border); }
.weather-metrics > div:first-child { border-left: 0; padding-left: 0; }
.weather-metrics dt { font-size: 12px; color: var(--text-muted); }
.weather-metrics dd { margin: 12px 0 0; color: var(--accent-hover); font-size: 32px; font-variant-numeric: tabular-nums; letter-spacing: -.04em; font-weight: 550; }
.weather-metrics small { display: block; font-size: 12px; color: var(--text-muted); letter-spacing: 0; font-weight: 400; margin-top: 12px; }
@media(max-width:960px) {
 .bonus-action { gap: 32px; }
 .referral-ticket { padding: 28px; }
 .detail-grid { gap: 24px; }
 .measurement-table th,.measurement-table td { padding: 18px; }
 .metric-value { font-size: 27px; }
 .weather-metrics dd { font-size: 27px; }
}
@media(max-width:700px) {
 .knowledge-search { padding: 20px; }
 .knowledge-search .plan-options { grid-template-columns: 1fr 1fr; }
 .knowledge-search .plan-option span { height: 100%; }
 .bonus-action,.detail-grid,.document-list > .document-panel { grid-template-columns: 1fr; gap: 22px; }
 .bonus-landing { padding-bottom: 42px; }
 .referral-ticket { padding: 28px; }
 .ticket-amount { font-size: 80px; }
 .bonus-action > div > p { font-size: 16px; }
 .document-panel { padding: 22px; }
 .document-section .document-stack .document-stack { padding: 14px; font-size: 12px; }
 .document-list > .document-panel { padding: 24px 0; }
 .data-line { gap: 16px; flex-wrap: wrap; }
 .data-line > :last-child { text-align: left; }
 .network-path { grid-template-columns: 1fr; gap: 22px; }
 .network-path li:not(:last-child)::after { content: '↓'; right: 50%; top: auto; bottom: -23px; transform: translateX(50%); }
 .measurement-table,.measurement-table tbody { display: block; }
 .measurement-table caption { display: block; width: 100%; }
 .measurement-table thead { display: none; }
 .measurement-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 18px; border-bottom: 1px solid var(--border); }
 .measurement-table th,.measurement-table td { padding: 0; border: 0; }
 .measurement-table td:last-child { grid-column: 1 / -1; margin-top: 15px; }
 .measurement-table td.metric-value { text-align: right; font-size: 27px; }
 .measurement-table small { font-size: 12px; }
 .weather-metrics { grid-template-columns: 1fr; }
 .weather-metrics > div,.weather-metrics > div:first-child { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--border); }
 .weather-metrics > div:last-child { border-bottom: 0; }
 .weather-metrics dd { font-size: 30px; }
 .data-selector .plan-options { display: flex; }
 .data-selector .plan-option { flex: 1 1 140px; }
 .data-selector .plan-option span { height: 100%; }
}

/* ==========================================================================
   Obsługa motywu ciemnego (Dark Mode) oraz fizycznego przełącznika
   ========================================================================== */

/* Zmienne i odcienie dla trybu ciemnego */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D0F14;
  --surface: #161822;
  --surface-muted: #1F2332;
  --text: #F2F4F8;
  --text-muted: #9BA3B8;
  --text-soft: #A2ABCA;
  --border: #2B3042;
  --accent: #6366F1;
  --accent-hover: #818CF8;
  --accent-soft: #1D2138;
  --accent-soft-border: #353B5A;
  --control-border: #48516D;
  --table-stripe: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] ::selection {
  background: #3730A3;
  color: #FFFFFF;
}

/* Wiersze tabel i specyfikacji */
[data-theme="dark"] .plan-row:nth-of-type(even),
[data-theme="dark"] .spec-table td {
  background: var(--table-stripe);
}

/* Czytelność tekstów pobocznych i ramek */
[data-theme="dark"] .calc-summary,
[data-theme="dark"] .calc-result-note,
[data-theme="dark"] .bonus p,
[data-theme="dark"] .recommendation p,
[data-theme="dark"] .next-step p,
[data-theme="dark"] .referral-ticket > span:not(.eyebrow),
[data-theme="dark"] .referral-code span {
  color: var(--text-soft);
}

[data-theme="dark"] .bonus,
[data-theme="dark"] .recommendation,
[data-theme="dark"] .next-step,
[data-theme="dark"] .referral-ticket {
  border-color: var(--accent-soft-border);
}

[data-theme="dark"] .bonus-steps li {
  border-bottom-color: var(--accent-soft-border);
}

[data-theme="dark"] .referral-code {
  border-top-color: var(--accent-soft-border);
}

[data-theme="dark"] .field-error {
  color: #F87171;
}

/* Ciemne tło ilustracji hero oraz wektory SVG */
[data-theme="dark"] .hero-figure {
  background: #131620;
}
[data-theme="dark"] .hero-figure g[stroke="#D4D1DD"] {
  stroke: #222738;
}
[data-theme="dark"] .hero-figure g[fill="#625B75"] {
  fill: #8E98B4;
}
[data-theme="dark"] .hero-figure path[stroke="#605A70"] {
  stroke: #8E98B4;
}

/* Stojak / maszt anteny */
[data-theme="dark"] .hero-figure path[fill="#D0CDD9"] {
  fill: #262C40;
}
[data-theme="dark"] .hero-figure path[fill="#B2ADBE"] {
  fill: #30374F;
}
[data-theme="dark"] .hero-figure path[fill="#8A8499"] {
  fill: #1E2333;
}
[data-theme="dark"] .hero-figure path[stroke="#898497"],
[data-theme="dark"] .hero-figure path[stroke="#777181"] {
  stroke: #414B6A;
}

/* Spód czaszy anteny (w cieniu) */
[data-theme="dark"] .hero-figure path[fill="#CBC7D8"] {
  fill: #2B3147;
  stroke: #4B5578;
}

/* Krawędź oraz całe lico anteny – zachowuje oryginalną, białą bryłę Starlinka */
[data-theme="dark"] .hero-figure path[fill="#FFFFFF"] {
  fill: #EAE8F3;
  stroke: #777F9D;
}
[data-theme="dark"] .hero-figure path[fill="#F9F8FC"] {
  fill: #FFFFFF;
}

/* ==========================================================================
   Przełącznik motywu (wewnątrz nawigacji)
   ========================================================================== */

.nav-theme {
  display: flex;
  align-items: center;
}

.nav-theme-label {
  display: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 150ms, border-color 150ms, transform 150ms;
}

.theme-toggle:hover {
  background: var(--surface-muted);
  border-color: var(--control-border);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.theme-toggle-text {
  display: none;
}

.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }

[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }

/* Na desktopie separator po FAQ */
@media (min-width: 961px) {
  .nav-theme {
    margin-left: 4px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
  }
}

/* Wersja mobilna wewnątrz menu hamburger */
@media (max-width: 960px) {
  .nav-theme {
    justify-content: space-between;
    padding-block: 14px;
    border-bottom: 1px solid var(--border);
  }

  .nav-theme-label {
    display: block;
    font-size: 14px;
    font-weight: 550;
    color: var(--text);
  }

  .theme-toggle {
    width: auto;
    height: 38px;
    padding: 6px 14px;
    background: var(--surface-muted);
  }

  .theme-toggle-text {
    display: inline-block;
    font-size: 13px;
    font-weight: 550;
  }
}

/* ==========================================================================
   Wymiana zdjęcia Hero w zależności od motywu (Light / Dark)
   ========================================================================== */

.hero-img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  object-position: center;
}

/* Motyw jasny (domyślny): pokazujemy jasne, ukrywamy ciemne */
.hero-img-light {
  display: block;
}
.hero-img-dark {
  display: none;
}

/* Motyw ciemny: ukrywamy jasne, pokazujemy ciemne */
[data-theme="dark"] .hero-img-light {
  display: none;
}
[data-theme="dark"] .hero-img-dark {
  display: block;
}

@media (max-width: 700px) {
  .hero-img {
    height: 280px;
  }
}