/* multiboxi.com — style strony, wersja 2 (17.10.2026).
   Marka: decyzje 29–30 (`logo multiboxi/multiboxi-MARKA.md`): indygo na działania, grafit na tekst, czerwień tylko
   na ostrzeżenia, kolory skrzynek tylko jako znaczniki skrzynek. Pismo Inter (zmienne: grubość i rozmiar optyczny —
   duże nagłówki dostają kształty „Display”). Bez zewnętrznych zasobów, bez stylów w atrybutach (CSP). */

@font-face { font-family: 'Inter Var'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-opsz.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter Var'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-ext-opsz.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: 'Inter Var'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-cyrillic-opsz.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  color-scheme: light;
  --font: 'Inter Var', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ink: #0D1220;
  --text: #1C2330;
  --muted: #566074;
  --faint: #8A93A4; /* tylko ikony i makieta (3:1) */
  --subtle: #636B7D; /* drobny tekst: 5,3:1 na bieli, 5:1 na --canvas */
  --bg: #FFFFFF;
  --canvas: #F6F7FA;
  --canvas-2: #EEF0F5;
  --line: #E4E7EE;
  --line-2: #D3D8E2;
  --brand: #5B47E0;
  --brand-hover: #4A37C9;
  --brand-ink: #4A37C9;
  --brand-50: #F4F2FE;
  --brand-100: #E9E5FD;
  --brand-200: #D4CCFB;
  --c1: #5B47E0; --c2: #EC5BA6; --c3: #F29A38; --c4: #0E9E9A; --c5: #6D3A9C;
  --c6: #2E9BD6; --c7: #6B8E23; --c8: #8D5B3F; --c9: #2B3F8C; --c10: #C9A227;
  --ok: #077570; /* 4,95:1 na --ok-50 (K12) */
  --ok-50: #E6F5F4;
  --warn: #D93A3A;
  --warn-ink: #B42B2B;
  --warn-50: #FDEFEF;
  --star: #F29A38;
  --night: #0B0F17;
  --night-2: #121826;
  --night-3: #1B2232;
  --night-line: rgba(255, 255, 255, 0.09);
  --night-text: #EEF1F6;
  --night-muted: #A2AABA;
  --logo-front: #5B47E0; --logo-near: #EC5BA6; --logo-back: #0E9E9A; --logo-text: #0D1220;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-2xl: 28px;
  --sh-xs: 0 1px 2px rgba(13, 18, 32, 0.06);
  --sh-sm: 0 1px 2px rgba(13, 18, 32, 0.05), 0 3px 8px -3px rgba(13, 18, 32, 0.1);
  --sh-md: 0 1px 3px rgba(13, 18, 32, 0.06), 0 14px 32px -14px rgba(13, 18, 32, 0.22);
  --sh-xl: 0 2px 6px rgba(13, 18, 32, 0.08), 0 48px 96px -28px rgba(0, 0, 0, 0.6);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--brand-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.75rem); line-height: 1.03; letter-spacing: -0.042em; }
h2 { font-size: clamp(2rem, 1.35rem + 2.1vw, 3.125rem); line-height: 1.08; letter-spacing: -0.034em; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.016em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: 12px; transform: translateY(calc(-100% - 24px)); z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { transform: none; color: #fff; }
.i { flex: none; }

/* ——— przyciski i drobne elementy ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 11px;
  font: 600 0.9688rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  max-width: 100%;
}
.btn .i { width: 18px; height: 18px; }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; } }
.btn-primary { background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(74, 55, 201, 0.4), 0 6px 16px -6px rgba(91, 71, 224, 0.55); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; text-decoration: none; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-xs); }
.btn-secondary:hover { border-color: var(--faint); color: var(--ink); text-decoration: none; }
.btn-ghost-dark { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.12); color: #fff; text-decoration: none; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.875rem; border-radius: 9px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .i { width: 16px; height: 16px; transition: transform 0.15s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .i { transform: translateX(2px); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; line-height: 1; font-weight: 600; padding: 5px 9px; border-radius: 999px; vertical-align: 0.12em; letter-spacing: 0; }
.tag-soon { background: var(--brand-50); color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--brand-100); }
.tag-later { background: var(--canvas); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.tag-works { background: var(--ok-50); color: var(--ok); }
.tag-beta { background: var(--brand-50); color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--brand-100); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--brand-ink); }
.kicker .i { width: 16px; height: 16px; }
.icon-tile { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-100); flex: none; }
.icon-tile .i { width: 20px; height: 20px; }
.icon-tile.white { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-xs); }

/* ——— nagłówek ——— */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(13, 18, 32, 0.07); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; color: inherit; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--canvas); }
.nav a[aria-current="page"] { color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 0.8125rem; font-weight: 600; }
.lang a { color: var(--subtle); text-decoration: none; padding: 6px 7px; border-radius: 6px; letter-spacing: 0.02em; }
.lang a:hover { color: var(--ink); background: var(--canvas); }
.lang a[aria-current="true"] { color: var(--ink); }
.login { color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.login:hover { background: var(--canvas); color: var(--ink); }
.sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .i { width: 18px; height: 18px; }
.menu-panel { position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-md); padding: 12px var(--gutter) 24px; display: grid; gap: 2px;
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
.menu-panel a { color: var(--ink); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.menu-panel .btn { margin-top: 16px; color: #fff; border-bottom: 0; }
.menu-panel .lang { margin-top: 12px; }
.menu-panel .lang a { border-bottom: 0; padding: 8px 10px; }
/* pełne menu mieści się od ok. 1100 px (najdłuższe nazwy: polskie); węziej — menu rozwijane.
   Próg w em (71,25em = 1140 px przy 16 px), żeby reagował też na powiększenie samego tekstu (K16). */
@media (max-width: 71.25em) {
  .nav, .header-tools { display: none; }
  .menu { display: block; }
}

/* ——— hero ——— */
.hero { position: relative; padding-top: clamp(48px, 7vw, 88px); text-align: center; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 50% 0%, rgba(91, 71, 224, 0.16), transparent 72%),
    radial-gradient(30% 36% at 82% 8%, rgba(236, 91, 166, 0.11), transparent 70%),
    radial-gradient(30% 36% at 18% 10%, rgba(14, 158, 154, 0.11), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 640px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(13, 18, 32, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 18, 32, 0.045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; justify-items: center; gap: 24px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-xs); font-size: 0.875rem; color: var(--text); text-decoration: none; max-width: 100%; }
.pill:hover { border-color: var(--line-2); color: var(--text); text-decoration: none; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px var(--warn-50); flex: none; }
.pill .txt { text-align: left; }
.pill .go { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--canvas); font-weight: 600; color: var(--ink); }
.pill .go .i { width: 14px; height: 14px; }
.hero h1 { max-width: 15ch; }
.hero-lead { font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.beta-note { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 560px) {
  .hero { text-align: left; }
  .hero-inner { justify-items: start; }
  .hero-actions { justify-content: flex-start; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .beta-note { justify-content: flex-start; }
}

/* ——— scena z podglądem aplikacji ——— */
.stage-wrap { margin-top: clamp(40px, 6vw, 64px); }
.stage {
  position: relative; border-radius: var(--r-2xl); padding: clamp(10px, 3.2vw, 44px) clamp(10px, 3.2vw, 44px) 0; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(42% 70% at 12% 0%, rgba(14, 158, 154, 0.32), transparent 70%),
    radial-gradient(42% 70% at 88% 0%, rgba(236, 91, 166, 0.26), transparent 70%),
    radial-gradient(70% 90% at 50% 110%, rgba(91, 71, 224, 0.55), transparent 70%),
    var(--night);
}
.stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); }

/* okno aplikacji — układ wersji 0.1 (kontrola AI, runda 2, T31): widok skrzynki (kolumna folderów i lista bez
   podglądu treści; wiadomość otwiera się na osobnym ekranie) i obok ekran „Skrzynki” z kartami skrzynek.
   Wygląd poglądowy — podpis pod sceną. Szerokość: ≥ 1101 px oba ekrany, 561–1100 px widok skrzynki, telefon — karty. */
.stage-fig { margin: 0; }
.mock-note { margin-top: 12px; text-align: center; font-size: 0.8125rem; color: var(--subtle); }
/* --faint w makiecie = --subtle: drobny tekst makiety ma kontrast ≥4,6:1 (K12) */
.mock-art { --faint: var(--subtle); text-align: left; font-size: 12.5px; line-height: 1.45; color: var(--text); }
.mock-grid { display: grid; grid-template-columns: minmax(0, 1fr) 262px; gap: 18px; align-items: start; }
.win { background: #fff; overflow: hidden; min-width: 0; box-shadow: var(--sh-xl), 0 0 0 1px rgba(255, 255, 255, 0.14); }
.win.main { border-radius: 14px 14px 0 0; align-self: stretch; display: flex; flex-direction: column; }
.win.cards { border-radius: 14px 14px 0 0; align-self: stretch; margin-top: 44px; padding: 14px; display: grid; gap: 8px; align-content: start; }
.mock-chrome { display: flex; align-items: center; height: 34px; padding: 0 14px; background: #F3F4F7; border-bottom: 1px solid var(--line); }
.mock-chrome .dots { display: flex; gap: 7px; }
.mock-chrome .dots span { width: 10px; height: 10px; border-radius: 50%; background: #D5D9E1; }
.mock-top { display: flex; align-items: center; gap: 18px; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.mock-top .wordmark { height: 17px; width: auto; flex: none; }
.mock-top .nav { display: flex; gap: 2px; }
.mock-top .nav span { padding: 5px 9px; border-radius: 7px; color: var(--muted); font-weight: 500; }
.mock-top .nav .on { background: var(--canvas); color: var(--ink); }
.mock-top .right { margin-left: auto; display: flex; align-items: center; gap: 12px; color: var(--muted); white-space: nowrap; }
.mock-grid .fake-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; background: #fff; border: 1px solid var(--line-2); font-weight: 600; color: var(--ink); font-size: 11.5px; white-space: nowrap; }
.mock-grid .fake-btn .i { width: 13px; height: 13px; }
.mock-grid .fake-btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.mb-head { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); min-width: 0; }
.mb-head .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.mb-head b { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mb-head .em { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mb-head .set { margin-left: auto; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.mock-body { flex: 1; display: grid; grid-template-columns: 168px minmax(0, 1fr); align-content: start; gap: 14px; padding: 14px; background: #FAFBFC; }
.mock-folders { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 2px; align-self: start; }
.mock-folders .fake-btn { margin: 8px 0 2px; align-self: flex-start; }
.fd { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 7px; color: var(--muted); }
.fd .i { width: 14px; height: 14px; }
.fd .n { margin-left: auto; font-size: 11px; font-weight: 600; }
.fd.on { background: var(--brand-50); color: var(--brand-ink); font-weight: 600; }
.mock-list { background: #fff; border: 1px solid var(--line); border-radius: 12px; min-width: 0; overflow: hidden; }
.list-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.list-h b { font-size: 14px; font-weight: 600; color: var(--ink); }
.list-h span { color: var(--faint); font-size: 11.5px; }
.msg { display: grid; grid-template-columns: 14px minmax(0, 8rem) minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 10px 14px; border-bottom: 1px solid #F0F2F6; }
.msg:last-child { border-bottom: 0; }
.msg .star { width: 14px; height: 14px; color: #CDD2DC; }
.msg .star.on { color: var(--star); fill: var(--star); }
.msg .from, .msg .subj { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.msg .meta { display: inline-flex; align-items: center; gap: 5px; color: var(--faint); font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.msg .meta .i { width: 12px; height: 12px; }
.msg.unread { background: #F4F7FE; }
.msg.unread .from, .msg.unread .subj { font-weight: 600; color: var(--ink); }
.cards-h { display: flex; align-items: center; gap: 8px; }
.cards-h b { font-size: 14px; font-weight: 600; color: var(--ink); }
.cards-h .fake-btn { margin-left: auto; }
.cards-sub { color: var(--faint); font-size: 11px; margin: -2px 0 4px; }
.mcard { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; min-width: 0; }
.mcard .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; flex: none; }
.mcard .lbl { min-width: 0; display: grid; }
.mcard b { font-weight: 600; color: var(--brand-ink); }
.mcard .lbl span { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard small { color: var(--faint); font-size: 11px; margin-top: 1px; }
.mcard.on { border-color: var(--brand-200); box-shadow: 0 0 0 3px var(--brand-50); }
@media (max-width: 1100px) {
  .mock-grid { grid-template-columns: minmax(0, 1fr); } .win.cards { display: none; }
  .msg { grid-template-columns: 14px minmax(0, 1fr) auto; }
  .msg .star { grid-row: span 2; align-self: start; margin-top: 2px; }
  .msg .subj { grid-column: 2 / -1; }
}
@media (max-width: 760px) {
  .mock-body { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .mock-folders, .mock-top .nav, .mock-top .user { display: none; }
}
@media (max-width: 560px) { .win.main { display: none; } .win.cards { display: grid; margin-top: 0; } }

/* wspólne z ilustracjami przy funkcjach (lista skrzynek w karcie „kolor”) */
.mb { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; min-width: 0; color: var(--text); }
.mb .dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.mb .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb .n { font-size: 11px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.mb.on { background: #fff; box-shadow: var(--sh-xs), inset 0 0 0 1px var(--line); font-weight: 600; color: var(--ink); }
.d1 { background: var(--c1); } .d2 { background: var(--c2); } .d3 { background: var(--c3); } .d4 { background: var(--c4); } .d5 { background: var(--c5); }
.d6 { background: var(--c6); } .d7 { background: var(--c7); } .d8 { background: var(--c8); } .d9 { background: var(--c9); } .d10 { background: var(--c10); }

/* ——— pasek zaufania ——— */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: left; border-bottom: 1px solid var(--line); }
.trust li { list-style: none; display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust b { display: block; font-weight: 600; color: var(--ink); font-size: 0.9688rem; line-height: 1.35; }
.trust span { display: block; color: var(--muted); font-size: 0.875rem; line-height: 1.45; margin-top: 2px; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust li:nth-child(3) { border-left: 0; } .trust li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } .trust li + li { border-left: 0; border-top: 1px solid var(--line); } .trust li { padding: 20px 0; } }

/* ——— sekcje ——— */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section.canvas { background: var(--canvas); border-block: 1px solid var(--line); }
.section.night { background: var(--night); color: var(--night-text); }
.section.night h2, .section.night h3, .section.night strong { color: #fff; }
.head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.head p { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--muted); line-height: 1.6; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.night .head p { color: var(--night-muted); }
.more { margin-top: clamp(28px, 4vw, 40px); }

/* ——— Gmail 2027 (ciemna sekcja) ——— */
.gm { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.gm .head { margin-bottom: 0; }
.gm .head h2 { font-size: clamp(2rem, 1.3rem + 1.9vw, 2.875rem); }
.head .link-arrow, .head .badge-warn, .head .tag { justify-self: start; }
.badge-warn { display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; color: #FFB4B4; background: rgba(217, 58, 58, 0.14); box-shadow: inset 0 0 0 1px rgba(240, 106, 106, 0.35); }
.badge-warn .i { width: 15px; height: 15px; }
.gm .link-arrow { color: #fff; margin-top: 8px; }
.gm .link-arrow:hover { color: #fff; text-decoration: underline; }
.changes { list-style: none; border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)); box-shadow: inset 0 0 0 1px var(--night-line), 0 30px 60px -30px rgba(0, 0, 0, 0.7); overflow: hidden; }
.changes li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 16px; padding: 22px 24px; align-items: start; }
.changes li + li { border-top: 1px solid var(--night-line); }
.changes .x { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(217, 58, 58, 0.14); color: #FF8F8F; }
.changes .x .i { width: 18px; height: 18px; }
.changes h3 { font-size: 1.0625rem; color: #fff; }
.changes p { grid-column: 2; color: var(--night-muted); font-size: 0.9688rem; line-height: 1.55; }
.changes time { grid-row: 1; grid-column: 3; font-size: 0.8125rem; font-weight: 600; color: #FFB4B4; white-space: nowrap; padding-top: 2px; font-variant-numeric: tabular-nums; }
.gm-source { margin-top: 14px; font-size: 0.8125rem; color: var(--night-muted); }
.gm-source a { color: var(--night-text); }
@media (max-width: 900px) { .gm { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .changes li { grid-template-columns: auto minmax(0, 1fr); padding: 18px; } .changes time { grid-row: auto; grid-column: 2; } }

/* ——— funkcje: karty z fragmentami interfejsu ——— */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fcard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); overflow: hidden; }
.fcard .vis { position: relative; height: 336px; display: grid; place-items: center; padding: 28px 24px; background: var(--canvas); border-bottom: 1px solid var(--line); overflow: hidden; }
.fcard .vis::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(13, 18, 32, 0.07) 1px, transparent 1px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.fcard .txt { padding: 24px 26px 28px; display: grid; gap: 8px; align-content: start; }
.fcard .txt p { color: var(--muted); font-size: 0.9688rem; }
.ui { position: relative; width: 100%; max-width: 300px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(13, 18, 32, 0.07), var(--sh-md); padding: 16px; font-size: 12.5px; line-height: 1.4; color: var(--text); display: grid; gap: 12px; text-align: left; }
.ui > .tag { justify-self: start; }
/* znacznik stanu na ilustracji (np. okno odpowiedzi — „W przygotowaniu”) na górnej krawędzi karty, poza układem */
.ui.compose > .tag { position: absolute; top: -12px; right: 16px; box-shadow: inset 0 0 0 1px var(--brand-100), 0 2px 6px rgba(13, 18, 32, 0.08); background: #fff; }
.ui-title { font-weight: 600; color: var(--ink); font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.ui-title .i { width: 15px; height: 15px; color: var(--brand); }
.prov { display: flex; flex-wrap: wrap; gap: 6px; }
.prov span { padding: 5px 9px; border-radius: 7px; border: 1px solid var(--line); font-weight: 500; font-size: 11.5px; color: var(--muted); }
.prov span.on { border-color: var(--brand); background: var(--brand-50); color: var(--brand-ink); font-weight: 600; box-shadow: 0 0 0 3px rgba(91, 71, 224, 0.12); }
.fld { display: grid; gap: 4px; }
.fld label, .fld .l { font-size: 11px; font-weight: 600; color: var(--muted); }
.fld .in { display: flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--ink); background: #fff; letter-spacing: 0; overflow: hidden; white-space: nowrap; }
.fld .in.pw { letter-spacing: 0.18em; color: var(--muted); }
.okline { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--ok-50); color: var(--ok); font-weight: 600; font-size: 12px; }
.okline .i { width: 15px; height: 15px; }
.mbx { display: grid; gap: 2px; }
.mbx .mb { padding: 6px 8px; }
.mbx .mb.on { box-shadow: inset 0 0 0 1px var(--line); background: var(--canvas); }
.swatches { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.swatches span { aspect-ratio: 1; border-radius: 50%; }
.swatches span.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c2); }
.code { display: flex; align-items: center; gap: 6px; }
.code span { flex: 1; height: 40px; border-radius: 9px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.code span.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 71, 224, 0.15); }
.code .gap { flex: 0 0 6px; height: 2px; border: 0; background: var(--line-2); border-radius: 2px; }
.ui .fake-btn { height: 34px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 12.5px; }
.ui .hint { color: var(--subtle); font-size: 11.5px; }
.fwide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); overflow: hidden; }
.fwide .txt { padding: clamp(28px, 4vw, 48px); display: grid; gap: 12px; align-content: center; justify-items: start; }
.fwide .txt h3 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); letter-spacing: -0.025em; }
.fwide .txt p { color: var(--muted); }
.fwide .vis { position: relative; background: var(--canvas); border-left: 1px solid var(--line); display: grid; place-items: center; padding: 36px 28px; overflow: hidden; }
.compose { max-width: 440px; }
.crow { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.crow .l { width: 48px; font-size: 11.5px; color: var(--subtle); font-weight: 600; flex: none; }
.crow .v { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--brand); background: var(--brand-50); color: var(--brand-ink); font-weight: 600; box-shadow: 0 0 0 3px rgba(91, 71, 224, 0.12); }
.select .i { width: 14px; height: 14px; }
.drop { position: absolute; left: 60px; top: 44px; z-index: 2; width: 250px; background: #fff; border-radius: 11px; box-shadow: 0 0 0 1px rgba(13, 18, 32, 0.08), var(--sh-md); padding: 6px; display: grid; gap: 2px; }
.drop span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; color: var(--text); }
.drop span.on { background: var(--brand-50); color: var(--brand-ink); font-weight: 600; }
.drop span .i { width: 14px; height: 14px; margin-left: auto; }
.skel { display: grid; gap: 7px; padding-top: 4px; }
.skel i { display: block; height: 8px; border-radius: 4px; background: var(--canvas-2); }
.skel i:nth-child(2) { width: 86%; } .skel i:nth-child(3) { width: 64%; }
@media (max-width: 980px) { .fgrid { grid-template-columns: 1fr; max-width: 560px; } .fwide { grid-template-columns: 1fr; } .fwide .vis { border-left: 0; border-top: 1px solid var(--line); } }

/* ——— kroki ——— */
.steps3 { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps3 li { counter-increment: s; position: relative; display: grid; gap: 10px; align-content: start; }
.steps3 li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 0.9375rem; color: var(--brand-ink); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); font-variant-numeric: tabular-nums; }
.steps3 li::after { content: ''; position: absolute; top: 18px; left: 52px; right: -16px; height: 1px; background: linear-gradient(90deg, var(--brand-200), transparent); }
.steps3 li:last-child::after { display: none; }
.steps3 p { color: var(--muted); }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } .steps3 li::after { display: none; } }

/* ——— tabela porównawcza ——— */
.tablecard { position: relative; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); overflow-x: auto; }
.cmp { width: 100%; min-width: 780px; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead :is(th, td) { font-weight: 600; color: var(--ink); font-size: 0.875rem; background: #FBFBFD; }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.cmp .us { background: var(--brand-50); }
.cmp thead .us { color: var(--brand-ink); box-shadow: inset 0 3px 0 var(--brand); }
.cell { position: relative; display: flex; align-items: flex-start; gap: 8px; }
.cell .i { width: 18px; height: 18px; margin-top: 1px; }
.cell .yes { color: var(--ok); }
.cell .no { color: var(--faint); }
.cell .partial { color: #B45309; } /* 5:1 na bieli (K12) */
.cell small { display: block; color: var(--muted); font-size: 0.8125rem; line-height: 1.4; margin-top: 1px; }
.cell .val { color: var(--text); }
.prose .cmp { min-width: 660px; font-size: 0.875rem; }
.prose .cmp th, .prose .cmp td { padding: 12px 14px; }
.prose .cmp-notes { grid-template-columns: 1fr; }
.cmp-notes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; margin-top: 24px; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 760px) { .cmp-notes { grid-template-columns: 1fr; } }
/* telefon: tabela porównania jako grupy wierszy — każda cecha z czterema rozwiązaniami pod sobą (kolumna multiboxi
   nie chowa się za przewijaniem w bok); nazwy kolumn z data-label, nagłówek tabeli zostaje dla czytników ekranu */
@media (max-width: 640px) {
  .tablecard.compare { overflow: visible; }
  .compare .cmp, .prose .compare .cmp { min-width: 0; display: block; }
  .compare .cmp tbody, .compare .cmp tr, .compare .cmp th, .compare .cmp td { display: block; width: auto; }
  .compare .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .compare .cmp tr { padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
  .compare .cmp tbody tr:last-child { border-bottom: 0; }
  .compare .cmp tbody th, .prose .compare .cmp tbody th { padding: 0 0 8px; border: 0; font-size: 0.9375rem; }
  .compare .cmp td, .prose .compare .cmp td { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 12px; padding: 7px 0; border: 0; }
  .compare .cmp td::before { content: attr(data-label); color: var(--muted); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; }
  .compare .cmp td.us, .prose .compare .cmp td.us { margin: 2px -10px 0; padding: 8px 10px; border-radius: 8px; }
  .compare .cmp td.us::before { color: var(--brand-ink); }
}

/* ——— bezpieczeństwo (siatka) ——— */
.sgrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sgrid li { display: grid; gap: 14px; align-content: start; padding: 26px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sgrid p { color: var(--muted); font-size: 0.9688rem; }
@media (max-width: 960px) { .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sgrid { grid-template-columns: 1fr; } }

/* ——— stan prac ——— */
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rcol { border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 24px; display: grid; gap: 16px; align-content: start; }
.rcol header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rcol header :is(h2, h3) { font-size: 1.0625rem; letter-spacing: -0.01em; }
.rcol header .tag { min-width: 28px; justify-content: center; font-variant-numeric: tabular-nums; }
.rcol ul { list-style: none; display: grid; gap: 11px; }
.rcol li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 0.9375rem; line-height: 1.5; }
.rcol li .i { width: 18px; height: 18px; margin-top: 1px; }
.rcol.works li .i { color: var(--ok); }
.rcol.soon li .i { color: var(--brand); }
.rcol.later li .i { color: var(--faint); }
.rcol .note { font-size: 0.8125rem; color: var(--subtle); }
@media (max-width: 900px) { .road { grid-template-columns: 1fr; } }

/* ——— cennik ——— */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 18px; padding: 30px 28px 28px; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); }
.plan.featured { box-shadow: inset 0 0 0 2px var(--brand), 0 24px 48px -24px rgba(91, 71, 224, 0.45); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head :is(h2, h3) { font-size: 1.25rem; letter-spacing: -0.015em; }
.plan-badge { font-size: 0.75rem; font-weight: 600; color: #fff; background: var(--brand); padding: 5px 10px; border-radius: 999px; }
.plan-for { color: var(--muted); font-size: 0.9375rem; margin-top: -10px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-size: clamp(2.5rem, 2.1rem + 1.2vw, 3.25rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 0.9375rem; }
.price-year { color: var(--muted); font-size: 0.875rem; margin-top: 8px; min-height: 1.4em; }
.plan-list { list-style: none; display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); align-content: start; }
.plan-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 0.9375rem; line-height: 1.45; }
.plan-list li .i { width: 18px; height: 18px; color: var(--ok); margin-top: 1px; }
.plan-list li.limit { font-weight: 600; color: var(--ink); }
.plan-list li.limit .i { color: var(--brand); }
.plan-list .tag { margin-left: 6px; }
.plans-all { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9375rem; }
.plans-all > b { color: var(--ink); font-weight: 600; }
.plans-all span { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.plans-all span .i { width: 16px; height: 16px; color: var(--ok); }
.plans-all span.pending > .i { color: var(--brand); }
.plan-notes { list-style: none; display: grid; gap: 6px; margin-top: 20px; color: var(--muted); font-size: 0.875rem; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

/* ——— pytania ——— */
.faqwrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faqwrap .head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 600; color: var(--ink); font-size: 1.0625rem; line-height: 1.4; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { position: relative; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.acc summary .pm::before, .acc summary .pm::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform 0.2s ease; }
.acc summary .pm::after { transform: rotate(90deg); }
.acc details[open] summary .pm::after { transform: rotate(0deg); }
.acc summary:hover { color: var(--brand-ink); }
.acc .ans { padding: 0 46px 24px 0; color: var(--muted); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 8px; }
@media (max-width: 900px) { .faqwrap { grid-template-columns: 1fr; } .faqwrap .head { position: static; } }
@media (forced-colors: active) {
  .acc summary .pm { border: 1px solid CanvasText; box-shadow: none; }
  .acc summary .pm::before, .acc summary .pm::after { background: CanvasText; forced-color-adjust: none; }
}
@media (prefers-reduced-motion: reduce) { .acc summary .pm::before, .acc summary .pm::after, .link-arrow .i, .btn { transition: none; } }

/* ——— zachęta końcowa ——— */
.final { padding-block: clamp(24px, 4vw, 56px) clamp(56px, 8vw, 104px); }
.final-box { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-2xl); padding: clamp(48px, 8vw, 104px) clamp(20px, 5vw, 64px); text-align: center; color: var(--night-text);
  background:
    radial-gradient(50% 80% at 50% 120%, rgba(91, 71, 224, 0.6), transparent 70%),
    radial-gradient(35% 60% at 10% 0%, rgba(14, 158, 154, 0.25), transparent 70%),
    radial-gradient(35% 60% at 90% 0%, rgba(236, 91, 166, 0.22), transparent 70%),
    var(--night); }
.final-box::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); }
.final-box h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.final-box p { color: var(--night-muted); max-width: 38rem; margin: 18px auto 0; font-size: 1.125rem; }
.final-box .hero-actions { margin-top: 32px; }
.final-mark { width: 64px; height: 64px; margin: 0 auto 24px; }

/* ——— nagłówek podstron ——— */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px); background: var(--canvas); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 80% at 85% 0%, rgba(91, 71, 224, 0.1), transparent 70%), radial-gradient(30% 70% at 0% 0%, rgba(14, 158, 154, 0.07), transparent 70%); }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); max-width: 20ch; }
.page-hero.long h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); max-width: 26ch; }
.page-hero .lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); max-width: 46rem; line-height: 1.6; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--subtle); font-size: 0.875rem; }
.page-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero .meta .i { width: 15px; height: 15px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--subtle); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ''; width: 5px; height: 5px; border-top: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2); transform: rotate(45deg); margin-right: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.monogram { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); font-weight: 700; font-size: 1.125rem; color: var(--ink); letter-spacing: -0.02em; }

/* ——— treść artykułów ——— */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(40px, 6vw, 96px); padding-block: clamp(40px, 6vw, 72px) clamp(72px, 9vw, 128px); align-items: start; }
.article.single { grid-template-columns: minmax(0, 1fr); }
.prose { max-width: 46rem; display: grid; gap: 20px; min-width: 0; }
.prose > section { display: grid; gap: 18px; padding-top: 40px; }
.prose > section:first-child { padding-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.028em; }
.prose h3 { font-size: 1.1875rem; }
.prose p, .prose li { color: var(--text); }
.prose ul { list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 0.66em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-200); }
.prose .wide { max-width: none; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 0.875rem; }
.toc p { font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc ol a { display: block; color: var(--muted); text-decoration: none; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; }
.toc ol a:hover { color: var(--ink); border-left-color: var(--brand); }
.toc .toc-cta { margin-top: 24px; padding: 18px; border-radius: var(--r-lg); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; }
.toc .toc-cta p { margin: 0; font-weight: 600; color: var(--ink); font-size: 0.9375rem; line-height: 1.4; }
@media (max-width: 1000px) { .article { grid-template-columns: 1fr; } .toc { display: none; } }
.xlist { list-style: none; display: grid; gap: 12px; }
.xlist li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.xlist li::before { display: none; }
.xlist .x { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--warn-50); color: var(--warn-ink); }
.xlist .x .i { width: 17px; height: 17px; }
.xlist b { font-weight: 600; color: var(--ink); }
.xlist span { color: var(--muted); }
.prose .xlist li { padding-left: 20px; }
.timeline { list-style: none; display: grid; gap: 0; position: relative; }
.prose .timeline li { position: relative; padding: 0 0 22px 30px; display: grid; gap: 2px; }
.prose .timeline li::before { content: ''; position: absolute; left: 0; top: 0.4em; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line-2); }
.prose .timeline li::after { content: ''; position: absolute; left: 5.5px; top: 1.3em; bottom: 0; width: 1px; background: var(--line); }
.prose .timeline li:last-child { padding-bottom: 0; }
.prose .timeline li:last-child::after { display: none; }
.prose .timeline li.now::before { box-shadow: inset 0 0 0 2px var(--brand); background: var(--brand-50); }
.prose .timeline li.end::before { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-50); }
.timeline strong { font-variant-numeric: tabular-nums; }
.timeline span { color: var(--muted); }
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9688rem; }
.callout .i { width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }
.sources { padding: 20px 22px; border-radius: var(--r-lg); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9375rem; display: grid; gap: 10px; color: var(--muted); margin-top: 24px; }
.sources b { color: var(--ink); }
.sources ul { display: grid; gap: 6px; }
.howto { list-style: none; counter-reset: h; display: grid; gap: 0; }
.prose .howto > li { counter-increment: h; position: relative; display: grid; gap: 4px; padding: 0 0 26px 50px; }
.prose .howto > li::before { content: counter(h); position: absolute; left: 0; top: -4px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--brand-200); color: var(--brand-ink); font-weight: 600; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.prose .howto > li::after { content: ''; position: absolute; left: 15.5px; top: 34px; bottom: 6px; width: 1px; background: var(--line); }
.prose .howto > li:last-child { padding-bottom: 0; }
.prose .howto > li:last-child::after { display: none; }
.howto strong { display: block; }
.kv { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; }
.kv th, .kv td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.kv thead :is(th, td) { font-size: 0.8125rem; color: var(--muted); font-weight: 600; background: #FBFBFD; }
.kv tbody th { font-weight: 600; color: var(--ink); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875em; padding: 2px 7px; border-radius: 6px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); overflow-wrap: anywhere; }

/* ——— poradniki: lista ——— */
.ggrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ggrid a { height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-xs); text-decoration: none; color: var(--text); transition: box-shadow 0.15s ease; }
.ggrid a:hover { box-shadow: inset 0 0 0 1px var(--brand-200), var(--sh-md); text-decoration: none; color: var(--text); }
.ggrid .monogram { grid-row: span 2; width: 48px; height: 48px; font-size: 1rem; }
.ggrid b { font-weight: 600; color: var(--ink); font-size: 1.0625rem; }
.ggrid span { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
@media (max-width: 960px) { .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ggrid { grid-template-columns: 1fr; } }

/* ——— strona funkcji: schemat połączeń ——— */
.diagram { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr); align-items: center; gap: 12px; padding: clamp(20px, 4vw, 40px); border-radius: var(--r-xl); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); }
.dnode { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 18px 14px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); }
.dnode .i { width: 22px; height: 22px; color: var(--brand); }
.dnode b { font-weight: 600; color: var(--ink); font-size: 0.9688rem; }
.dnode span { color: var(--muted); font-size: 0.8125rem; }
.dnode.main { box-shadow: inset 0 0 0 2px var(--brand), var(--sh-md); }
.dnode.main .wordmark { height: 20px; width: auto; }
.dlink { display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 0.75rem; font-weight: 600; text-align: center; min-width: 90px; }
.dlink i { display: block; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-200) 0 6px, transparent 6px 10px); }
.dprov { display: grid; gap: 8px; }
.dprov span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.dprov span i { width: 8px; height: 8px; border-radius: 3px; display: block; }
@media (max-width: 860px) { .diagram { grid-template-columns: 1fr; } .dlink { min-width: 0; } .dlink i { width: 2px; height: 28px; background: repeating-linear-gradient(180deg, var(--brand-200) 0 6px, transparent 6px 10px); } }

/* ——— lista oczekujących ——— */
.wl { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 128px); }
.wl h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); }
.wl .lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); margin-top: 18px; }
.checks { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.checks .i { width: 20px; height: 20px; color: var(--ok); }
.panel { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-md); }
.panel h2 { font-size: 1.375rem; letter-spacing: -0.02em; }
.panel p { color: var(--muted); }
.addr { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-md); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); }
.addr span { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.addr b { font-size: 1.0625rem; color: var(--ink); user-select: all; overflow-wrap: anywhere; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.field input, .field select { width: 100%; font: inherit; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid #868F9D; background: #fff; color: var(--ink); box-shadow: var(--sh-xs); }
.field input:focus, .field select:focus { outline: 3px solid transparent; outline-offset: 2px; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 71, 224, 0.15); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.9375rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: 0.875rem; color: var(--muted); }
@media (max-width: 900px) { .wl { grid-template-columns: 1fr; } }

/* ——— strony błędu i potwierdzeń ——— */
.notice { padding-block: clamp(64px, 12vw, 160px); text-align: center; }
.notice .wrap { display: grid; gap: 18px; justify-items: center; }
.notice h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); }
.notice p { color: var(--muted); max-width: 36rem; }
.notice .icon-tile { width: 56px; height: 56px; border-radius: 16px; }
.notice .icon-tile .i { width: 26px; height: 26px; }

/* ——— stopka ——— */
.site-footer { background: var(--night); color: var(--night-muted); padding-block: 72px 40px; font-size: 0.9375rem;
  --logo-front: #8E7DF7; --logo-near: #F47DBB; --logo-back: #2EC4BE; --logo-text: #FFFFFF; }
.site-footer a { color: var(--night-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.fgrid-foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; max-width: 22rem; }
.foot-brand p { color: var(--night-muted); }
.site-footer h2 { font-size: 0.8125rem; font-weight: 600; color: #fff; letter-spacing: 0.01em; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer address { font-style: normal; display: grid; gap: 4px; color: var(--night-muted); line-height: 1.5; }
.site-footer .lang a { color: var(--night-muted); }
.site-footer .lang a[aria-current="true"] { color: #fff; }
.site-footer .lang a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); display: grid; gap: 8px; font-size: 0.8125rem; line-height: 1.6; }
@media (max-width: 900px) { .fgrid-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fgrid-foot { grid-template-columns: 1fr; } }

/* długie adresy (np. myaccount.google.com/apppasswords) i długie słowa przy powiększonym tekście łamią się
   zamiast poszerzać stronę na telefonie (K16) */
.prose a, .prose code, .kv td { overflow-wrap: anywhere; }
h1, h2, h3, .btn, .tag, .pill, .pill .go, .rcol, .plan-list li { overflow-wrap: anywhere; }
.nw { white-space: nowrap; }
