/* Spectrum - strona sprzedazowa. Jeden arkusz, bez frameworka.
   Projekt wizualny: biale tlo, grafitowe przyciski, cienkie podzialy, lekkie naglowki
   (Instrument Sans 400 z ciasnym swiatlem), kolor tylko w przykladach konfiguracji.
   Ten sam jezyk co strona glowna (landing.css) i materialy do druku (broszura/theme.css).
   Trzy kolory stanu diffa (dodane / zmienione / usuniete) sa przygaszone, nie sygnalowe.
   Tylko motyw jasny. */

/* Czcionki lezą lokalnie w broszura/fonts - te same pliki uzywa druk (broszura/theme.css).
   Bez sieci: strona wyglada tak samo w firmie, ktora blokuje Google Fonts. */
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('broszura/fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('broszura/fonts/instrument-sans-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('broszura/fonts/instrument-sans-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('broszura/fonts/instrument-sans-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('broszura/fonts/instrument-sans-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('broszura/fonts/instrument-sans-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('broszura/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('broszura/fonts/jetbrains-mono-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('broszura/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('broszura/fonts/jetbrains-mono-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #24272C;        /* tekst, logo */
  --text2: #626B78;      /* tekst wtorny (akapity) */
  --muted: #686F79;      /* podpisy, nawigacja, stopka */
  --hint: #8894A3;       /* podpowiedzi, pola do uzupelnienia */
  --chapter: #929AA5;    /* numer rozdzialu */
  --border: #D9DCE1;     /* krawedz */
  --line: #E6E8EC;       /* linia */
  --fill: #F1F2F4;       /* wypelnienie */
  --bg: #FBFBFC;
  --white: #FFFFFF;
  --accent: #364A64;         /* grafitowy blekit: odsylacze, zaznaczenie */
  --accent-hover: #24272C;
  --accent-bg: #EAF0F7;
  --accent-tint: #FAFBFD;
  --accent-line: #DCE3EC;
  --dark: #26292E;           /* przycisk glowny */
  --dark-hover: #42464D;
  --ring: #687E9E;           /* obwodka fokusu */
  --ok: #56725E;   --ok-bg: #EFF5F0;
  --warn: #8A7450; --warn-bg: #F8F4EB;
  --err: #A38274;  --err-bg: #FBF6F4;
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* promienie: przycisk, pole, karta */
  --r-btn: 7px;
  --r-field: 6px;
  --r-card: 8px;
  /* 72 px marginesu na 1440, 20 px na telefonie */
  --pad: clamp(20px, 5vw, 72px);
  /* pion sekcji: 80 px na 1440, 32 px na telefonie */
  --sec: clamp(32px, calc(14.5px + 4.55vw), 80px);
  --gap: clamp(28px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
::selection { background: #E1E8F3; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 400; line-height: 1.15; letter-spacing: -.02em; text-wrap: pretty; }
h1 { font-size: clamp(31px, calc(24px + 1.3vw), 44px); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 14px; }
h2 { font-size: clamp(25px, calc(21.5px + .87vw), 34px); letter-spacing: -.028em; }
h3 { font-size: 21px; letter-spacing: -.022em; }
h4 { font-size: 17px; font-weight: 500; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin: .3em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
code, pre, kbd { font-family: var(--mono); font-size: .9em; }
code { background: var(--fill); border-radius: 4px; padding: .1em .35em; }
pre {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 14px 16px;
  overflow-x: auto;
  line-height: 1.5;
  margin: 0 0 1.4em;
}
pre code { background: none; padding: 0; font-size: 14px; }
kbd { border: 1px solid var(--border); border-radius: 4px; padding: 0 .35em; background: var(--white); }
.muted { color: var(--text2); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-size: 14px; }
.lead { font-size: 19px; color: var(--text2); text-wrap: pretty; }
.eyebrow { display: block; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.placeholder { font-family: var(--mono); font-size: 13px; color: var(--hint); }
[hidden] { display: none !important; }

/* Tabela: bez pionowych linii i bez zebry. Naglowek 13/500 w kolorze wtornym,
   dane techniczne w JetBrains Mono. */
table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin: 0 0 1.4em; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; font-weight: 500; color: var(--muted); background: #FAFBFD; border-bottom-color: var(--line); padding: 12px 16px; }
td { color: var(--text2); }
td:first-child { color: var(--ink); font-weight: 500; }
tbody tr:last-child td { border-bottom: 0; }
td.mono { font-size: 14px; color: var(--ink); font-weight: 400; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.table-wrap table { margin: 0; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.narrow > * { max-width: 900px; }

/* ---- naglowek ---- */
.top { position: relative; background: var(--white); border-bottom: 1px solid var(--line); z-index: 20; }
.top__in { display: flex; align-items: center; gap: 32px; height: 80px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 400; letter-spacing: -.04em; color: var(--ink); margin-right: auto; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand b { font-weight: 600; }
.brand > .icon { width: 25px; height: 25px; flex: none; stroke-width: 1.7; }
.icon { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.nav { display: flex; align-items: center; gap: 25px; font-size: 14px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }
.top__right { display: flex; align-items: center; gap: 18px; }
.nav-quote { font-size: 14px; color: var(--muted); }
.nav-quote:hover { color: var(--ink); }
.top__menu {
  display: none;
  width: 22px; padding: 11px 0; margin: 0; border: 0; background: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.top__menu span { display: block; height: 1.5px; background: var(--ink); }

/* ---- przyciski: zaokraglony prostokat, glowny grafitowy ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  background: var(--white);
  color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 400; line-height: 1.4;
  box-shadow: 0 1px 2px #1d253007;
  cursor: pointer;
  transition: background-color .12s, border-color .12s, color .12s;
}
.btn:hover { background: #F6F7F8; border-color: #BFC5CE; color: var(--ink); }
.btn--primary { background: var(--dark); border-color: var(--dark); color: var(--white); box-shadow: inset 0 1px 0 #ffffff20, 0 1px 2px #0000000c; }
.btn--primary:hover { background: var(--dark-hover); border-color: var(--dark-hover); color: var(--white); }
.btn--sm { min-height: 38px; padding: 9px 14px; font-size: 13px; }
.btn--nav { min-height: 38px; padding: 9px 13px; font-size: 13px; }
.btn[disabled] { background: var(--fill); border-color: var(--border); color: var(--hint); box-shadow: none; cursor: wait; }

/* odsylacz tekstowy ze strzalka */
.more { color: var(--accent); border-bottom: 1px solid var(--accent-line); padding-bottom: 2px; }
.more:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---- sekcje ---- */
.section { padding: var(--sec) 0; border-top: 1px solid var(--line); background: var(--white); }
.section--white { background: var(--white); }
.section--tint { background: var(--bg); }
.top + .section, .top + .prose { border-top: 0; }
.section .lead { margin-bottom: 1.6em; }
.section__head { max-width: 760px; margin-bottom: clamp(22px, 3vw, 44px); }
.section__head h2 { margin: 0 0 16px; }
.section__head p { margin: 0; font-size: 17px; color: var(--text2); text-wrap: pretty; }

/* ---- hero ---- */
.hero { padding: clamp(36px, calc(20.7px + 4.95vw), 92px) 0 clamp(32px, calc(12.6px + 4.95vw), 84px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.hero h1 { font-size: clamp(33px, calc(24px + 2.4vw), 58px); line-height: 1.06; letter-spacing: -.028em; margin: 0 0 24px; max-width: 15ch; }
.hero .lead { margin: 0 0 32px; max-width: 46ch; }
.hero__cta { display: flex; gap: 12px; margin-bottom: 44px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--muted); }
.trust > div { padding: 16px 18px 0; }
.trust > div:first-child { padding-left: 0; }
.trust > div:last-child { padding-right: 0; }
.trust > div + div { border-left: 1px solid var(--line); }

/* ---- makiety (inline SVG, schematy - nie zrzuty ekranu) ---- */
.mock { display: block; width: 100%; height: auto; }
.mock--phone { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 16px; font-size: 12px; color: var(--muted); }
.legend > span { display: flex; align-items: center; gap: 7px; }
.legend .sw { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.legend .sw-add { background: var(--ok); }
.legend .sw-mod { background: var(--warn); }
.legend .sw-del { border: 1px dashed var(--err); background: var(--err-bg); }

/* ---- rozdzialy funkcji ---- */
.chapter__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "text art" "more art";
  column-gap: var(--gap);
  align-items: start;
}
.chapter--art-left .chapter__grid { grid-template-columns: 1.1fr 1fr; grid-template-areas: "art text" "art more"; }
.chapter__text { grid-area: text; }
.chapter__art { grid-area: art; }
.chapter__more { grid-area: more; margin-top: 24px; }
.chapter__num { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.chapter h2 { margin: 0 0 20px; }
.chapter p { margin: 0 0 16px; font-size: 17px; color: var(--text2); max-width: 52ch; text-wrap: pretty; }
.chapter p:last-child { margin-bottom: 0; }

/* dwie kolumny tekstu (u Was nie w chmurze, ktore wydanie) */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.two--wide { grid-template-columns: 1fr 1.05fr; }
.two h2 { margin: 0 0 20px; }
.two p { margin: 0 0 16px; font-size: 17px; color: var(--text2); max-width: 54ch; text-wrap: pretty; }
.two p b { color: var(--ink); }
.two p:last-child { margin-bottom: 0; }

/* ---- wydania ---- */
.editions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.edition { padding: 28px 44px 0 0; }
.edition + .edition { padding: 28px 0 0 44px; border-left: 1px solid var(--line); }
.edition h3 { margin: 0 0 6px; }
.edition__who { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.edition__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; color: var(--text2); }
.edition__list li { margin: 0; border-top: 1px solid var(--line); padding-top: 10px; }
.edition__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---- CTA na koncu ---- */
.cta__grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4.4vw, 64px); align-items: end; }
.cta__grid h2 { margin: 0 0 16px; max-width: 30ch; }
.cta__grid p { margin: 0; font-size: 17px; color: var(--text2); max-width: 56ch; text-wrap: pretty; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- stopka ---- */
.foot { border-top: 1px solid var(--line); background: var(--white); padding: 36px 0; font-size: 12px; color: #7D8998; }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.foot__brand .brand { font-size: 19px; gap: 8px; margin: 0; }
.foot__brand .brand > .icon { width: 21px; height: 21px; }
.foot__brand p { margin: 8px 0 0; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot p { font-size: 11px; color: #8894A3; margin: 10px 0 0; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* ---- wycena ---- */
.quote { padding: var(--sec) 0 clamp(34px, calc(19.7px + 4.47vw), 84px); }
.quote__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "intro form" "rules form";
  column-gap: clamp(28px, 5.5vw, 80px);
  align-items: start;
}
.quote__intro { grid-area: intro; }
.quote__rules { grid-area: rules; }
.quote__form { grid-area: form; }
.quote__intro h1 { font-size: clamp(29px, calc(22.7px + 1.62vw), 46px); line-height: 1.08; letter-spacing: -.025em; max-width: 22ch; margin: 0 0 24px; }
.quote__intro p { margin: 0 0 24px; font-size: 18px; color: var(--text2); max-width: 52ch; text-wrap: pretty; }
.quote__intro p b { color: var(--ink); }
.quote__pdf { padding: 12px 22px; font-size: 15px; }
.quote__rules { margin-top: 44px; }
.quote__rules h2 { margin: 0 0 20px; font-size: 22px; letter-spacing: -.015em; border-top: 1px solid var(--border); padding-top: 26px; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 56ch; font-size: 16px; color: var(--text2); }
.rules li { margin: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.rules b { color: var(--ink); }

/* ---- formularze ---- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px #1d25300a; padding: 32px; }
.form__grid { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
label, .label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
legend.label { margin-bottom: 8px; }
.hint { font-weight: 400; color: var(--hint); }
input[type=text], input[type=email], input[type=number], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 11px 12px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--r-field);
}
::placeholder { color: var(--hint); opacity: 1; }
select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23686F79'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px #F1F5FA; }
textarea { min-height: 90px; resize: vertical; }
.form.is-checked input:invalid, .form.is-checked select:invalid, .form.is-checked textarea:invalid { border-color: var(--err); }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio {
  border: 1px solid var(--border); border-radius: var(--r-field); padding: 14px; margin: 0; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  font-size: 15px; font-weight: 400; background: var(--white);
}
.radio:hover { border-color: var(--ring); }
.radio:has(input:checked) { border-color: var(--ring); background: var(--accent-bg); }
.radio input { margin: 3px 0 0; accent-color: var(--accent); }
.radio b { display: block; font-weight: 500; font-size: 15px; }
.radio span { font-size: 13.5px; color: var(--muted); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; font-weight: 400; color: var(--text2); margin: 0; }
.check input { margin: 4px 0 0; accent-color: var(--accent); }
.form button[type=submit] { width: 100%; padding: 15px; font-size: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { display: none; margin-top: 20px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-field); background: var(--bg); font-size: 14.5px; color: var(--muted); }
.msg.is-on { display: block; }
.msg--ok { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); }
.msg--err { border-color: var(--err); background: var(--err-bg); color: var(--err); }

/* ---- pytania o licencje ---- */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 0 var(--gap);
  max-width: 1180px;
  margin: 0;
}
.faq > div { border-top: 1px solid var(--line); padding: 20px 0; }
.faq > div:nth-child(1), .faq > div:nth-child(5) { border-top-color: var(--border); }
.faq dt { font-size: 17px; font-weight: 500; margin: 0 0 8px; }
.faq dd { margin: 0; font-size: 16px; color: var(--text2); text-wrap: pretty; }
.faq + p { margin: 36px 0 0; }

/* ---- pobierz / trial ---- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.feature__text h2 { margin: 0 0 20px; }
.feature__text p { font-size: 17px; color: var(--text2); max-width: 54ch; text-wrap: pretty; }
.feature__text ul { font-size: 16px; color: var(--text2); }
.feature__text li b { color: var(--ink); }

/* ---- kroki (pobierz, licencja offline) ---- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); margin: 24px 0; }
.step { padding: 22px 32px 0 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: 32px; }
.step:last-child { padding-right: 0; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--muted); background: var(--white); margin-bottom: 12px; }
.step h4 { margin: 0 0 6px; }
.step p { margin: 0; font-size: 15px; color: var(--text2); text-wrap: pretty; }
.step pre { margin: 12px 0 0; }

/* ---- dokumentacja, teksty prawne ---- */
.prose { padding: var(--sec) 0; }
.prose h2 { font-size: 22px; letter-spacing: -.015em; margin: 2em 0 .6em; padding-top: .9em; border-top: 1px solid var(--line); }
.prose p, .prose li { color: var(--text2); }
.prose li b, .prose p b { color: var(--ink); }
.prose .lead { margin-bottom: 1.6em; }
.legal h2 { font-size: 19px; }
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: var(--sec) 0; }
.doc__nav, .doc__body { min-width: 0; } /* element siatki nie moze byc szerszy niz kolumna - inaczej dlugie <pre> rozpychaja strone na telefonie */
.doc__nav { position: sticky; top: 24px; align-self: start; font-size: 14.5px; }
.doc__nav a { display: block; padding: 6px 0; color: var(--muted); }
.doc__nav a:hover { color: var(--ink); }
.doc__nav a.is-active { color: var(--ink); font-weight: 500; }
.doc__nav .group { font-size: 12px; color: var(--muted); margin: 18px 0 6px; }
.doc__nav .group:first-child { margin-top: 0; }
.doc__body .lead { margin-bottom: 1.6em; }
.doc__body h2 { font-size: 22px; letter-spacing: -.015em; margin: 2em 0 .6em; padding-top: .9em; border-top: 1px solid var(--line); }
.doc__body h3 { font-size: 17px; letter-spacing: -.01em; margin: 1.6em 0 .5em; }
.doc__body p, .doc__body li { color: var(--text2); }
.doc__body p code, .doc__body li code { overflow-wrap: anywhere; }
.doc__body p b, .doc__body li b { color: var(--ink); }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-card); background: var(--white); padding: 14px 18px; margin: 1.4em 0; }
.callout--warn { border-left-color: var(--warn); background: var(--warn-bg); }
.callout--ok { border-left-color: var(--ok); background: var(--ok-bg); }
.callout p:last-child { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 1px 2px #1d253007; padding: 20px; color: var(--ink); }
.card:hover { border-color: #BFC5CE; background: #FCFCFD; color: var(--ink); }
.card .tag { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.card h3 { font-size: 19px; letter-spacing: -.02em; margin: 0 0 6px; }
.card p { margin: 0; font-size: 15px; color: var(--text2); }

/* ---- responsywnosc ---- */
@media (max-width: 1100px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .top__in { height: 64px; gap: 14px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand > .icon { width: 22px; height: 22px; }
  .btn--nav { min-height: 36px; padding: 8px 12px; font-size: 13px; }
  .top__menu { display: flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 0 var(--pad) 10px; font-size: 16px;
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .top.is-open .nav { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
  .top__cta--hide-m, .nav-quote { display: none; }
  .hero__grid, .two, .two--wide, .feature, .doc { grid-template-columns: 1fr; }
  .chapter__grid, .chapter--art-left .chapter__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "text" "art" "more"; }
  .chapter__art { margin-top: 20px; }
  .chapter__more { margin-top: 20px; }
  .quote__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "intro" "form" "rules"; }
  .quote__form { margin-top: 28px; }
  .quote__rules { margin-top: 30px; }
  .quote__rules h2 { border-top: 0; padding-top: 0; }
  .faq { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .faq > div:nth-child(5) { border-top-color: var(--line); }
  .doc { gap: 28px; }
  .doc__nav { position: static; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .doc__nav a { display: inline-block; margin-right: 18px; }
  .doc__nav .group { margin-top: 12px; }
}
@media (max-width: 640px) {
  .mock--desktop { display: none; }
  .mock--phone { display: block; }
  .hero h1 { line-height: 1.1; letter-spacing: -.025em; margin-bottom: 18px; max-width: none; }
  .hero .lead { font-size: 17px; margin-bottom: 24px; }
  .hero__cta { display: grid; gap: 10px; margin-bottom: 28px; }
  .hero__cta .btn, .cta__btns .btn, .edition__cta .btn { width: 100%; padding: 16px; }
  .trust { grid-template-columns: 1fr; border-top: 0; }
  .trust > div, .trust > div:first-child, .trust > div:last-child { padding: 11px 0; border-top: 1px solid var(--line); border-left: 0; }
  .hero__art { margin: 32px calc(-1 * var(--pad)) 0; padding: 28px var(--pad) 30px; background: var(--white); border-top: 1px solid var(--line); }
  .legend { gap: 14px; font-size: 11px; }
  .chapter__num { font-size: 11.5px; margin-bottom: 12px; }
  .chapter h2, .two h2, .section__head h2, .cta__grid h2, .feature__text h2 { line-height: 1.18; letter-spacing: -.018em; margin-bottom: 14px; }
  .chapter p, .two p, .section__head p, .cta__grid p, .feature__text p { font-size: 16px; margin-bottom: 14px; }
  .editions { grid-template-columns: 1fr; border-top: 0; }
  .edition, .edition + .edition { padding: 18px 0 22px; border-left: 0; border-top: 1px solid var(--border); }
  .edition h3 { font-size: 19px; margin-bottom: 4px; }
  .edition__who { font-size: 11.5px; margin-bottom: 12px; }
  .edition__list { gap: 0; font-size: 15.5px; }
  .edition__list li { padding: 9px 0; }
  .edition__cta { display: grid; gap: 10px; margin-top: 18px; }
  .cta__grid { grid-template-columns: 1fr; gap: 20px; }
  .cta__btns { display: grid; gap: 10px; }
  .foot { padding: 22px 0 28px; font-size: 13.5px; }
  .foot__in { display: block; }
  .foot__in > div { margin-bottom: 12px; }
  .foot nav { gap: 8px 18px; }
  .placeholder { font-size: 12.5px; }
  .quote__intro h1 { line-height: 1.12; letter-spacing: -.022em; margin-bottom: 16px; max-width: none; }
  .quote__intro p { font-size: 16px; margin-bottom: 20px; }
  .quote__pdf { width: 100%; padding: 15px; }
  .quote__rules h2 { font-size: 23px; line-height: 1.2; margin-bottom: 16px; }
  .rules { gap: 0; font-size: 15.5px; }
  .rules li { padding: 13px 0; }
  .rules li:first-child { border-top-color: var(--border); }
  .form { margin: 0 calc(-1 * var(--pad)); border-left: 0; border-right: 0; border-color: var(--line); padding: 26px var(--pad) 32px; }
  .form__grid, .form__row { gap: 18px; grid-template-columns: 1fr; }
  input[type=text], input[type=email], input[type=number], select, textarea { padding: 13px 12px; font-size: 15px; }
  textarea { min-height: 76px; }
  .radios { grid-template-columns: 1fr; gap: 10px; }
  .check { font-size: 13.5px; }
  .form button[type=submit] { padding: 17px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps { border-top: 0; }
  .step, .step + .step, .step:nth-child(3) { padding: 18px 0 22px; border-left: 0; border-top: 1px solid var(--border); }
  pre { font-size: 13px; }
}

/* Spectrum: softly dimensional lens with a stronger activity outline.
   Source 2033 x 773; displayed window x=100, y=170, width=1820, height=450. */
.brand-logo {
  display: block;
  position: relative;
  flex: none;
  width: 210px;
  aspect-ratio: 1820 / 450;
  overflow: hidden;
}
.brand-logo::before {
  content: "";
  position: absolute;
  left: -5.494505%;
  top: -37.777778%;
  width: 111.703297%;
  aspect-ratio: 2033 / 773;
  background: url("brand/spectrum-logo-ios-lens.png") center / 100% 100% no-repeat;
}
.foot__brand .brand-logo, .footer-brand .brand-logo { width: 180px; }
.window-brand .brand-logo { width: 110px; }
@media (max-width: 960px) {
  .brand-logo { width: 170px; }
}
@media (max-width: 380px) {
  .brand-logo { width: 130px; }
  .top__in { gap: 12px; }
  .top__right { gap: 10px; }
  .btn--nav { padding-inline: 9px; font-size: 12px; }
}

/* Legal documents: readable navigation and printable terms. */
.legal-toc{margin:28px 0 38px;padding:20px 24px;border:1px solid var(--line);background:var(--white)}
.legal-toc ol{margin:0;padding:0;list-style:none;columns:2;column-gap:30px}
.legal-toc li{break-inside:avoid;margin:0 0 9px;font-size:14px}
.legal h2{scroll-margin-top:100px}
.legal caption{text-align:left;color:var(--text2);font-size:14px;padding:0 0 12px}
@media(max-width:620px){.legal-toc ol{columns:1}.legal .table-wrap{overflow-x:auto}.legal td{min-width:180px}}
@media print{.top,.foot,.skip-link{display:none!important}.prose.legal{padding:0}.legal .wrap{max-width:none;width:auto}.legal-toc{display:none}.legal h2{break-after:avoid}.legal p,.legal li{orphans:3;widows:3}.legal .table-wrap{overflow:visible}.legal table{font-size:10pt}}

.skip-link{position:absolute;left:16px;top:-100px;padding:10px 16px;background:#fff;color:#24272c;z-index:1000;border:1px solid #d9dce1}
.skip-link:focus{top:10px}
