/*
 * WorkTable — strona główna, regulamin i polityka prywatności.
 * Wygląd spójny z aplikacją: czcionka systemowa, kolory iOS, żółty akcent. Jasny i ciemny motyw według systemu.
 * Bez stylów inline (CSP: style-src 'self') — wszystko w klasach.
 */
:root {
   --bg: #f5f5f7;
   --bg-2: #ffffff;
   --card: #ffffff;
   --ink: #1d1d1f;
   --muted: #6e6e73;
   --faint: #aeaeb2;
   --line: #d2d2d7;
   --fill: rgba(118, 118, 128, 0.12);
   --acc: #ffc62a;
   --acc-ink: #000000;
   --acc-text: #9a6a00;
   --acc-soft: rgba(255, 198, 42, 0.2);
   --acc-deep: #7a5200;
   --ok: #248a3d;
   --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.05);
   --radius: 22px;

   /* ekran telefonu = aplikacja */
   --a-bg: #f2f2f7;
   --a-card: #ffffff;
   --a-ink: #000000;
   --a-muted: #6e6e73;
   --a-line: #c6c6c8;
   --a-fill: rgba(118, 118, 128, 0.12);
   --a-material: rgba(249, 249, 249, 0.86);
   --a-scrim: rgba(0, 0, 0, 0.28);
   color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
   :root {
      --bg: #000000;
      --bg-2: #0d0d0e;
      --card: #1c1c1e;
      --ink: #f5f5f7;
      --muted: #a1a1a6;
      --faint: #636366;
      --line: #38383a;
      --fill: rgba(118, 118, 128, 0.24);
      --acc-text: #ffd60a;
      --acc-soft: rgba(255, 214, 10, 0.16);
      --acc-deep: #ffd60a;
      --ok: #30d158;
      --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 0.5px rgba(255, 255, 255, 0.08);

      --a-bg: #000000;
      --a-card: #1c1c1e;
      --a-ink: #ffffff;
      --a-muted: #98989f;
      --a-line: #38383a;
      --a-fill: rgba(118, 118, 128, 0.24);
      --a-material: rgba(30, 30, 30, 0.86);
      --a-scrim: rgba(0, 0, 0, 0.5);
   }
}

* { box-sizing: border-box; }
html {
   background: var(--bg);
   color: var(--ink);
   font: 400 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   letter-spacing: -0.012em;
   -webkit-font-smoothing: antialiased;
   -webkit-text-size-adjust: 100%;
   scroll-behavior: smooth;
   scroll-padding-top: 64px;
}
body { margin: 0; overflow-x: clip; }
a { color: inherit; }
img, svg { display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- nagłówek */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 0.5px solid transparent; transition: border-color 0.2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; }
.brand img { border-radius: 8px; }
.nav { display: none; gap: 24px; font-size: 14px; color: var(--muted); }
.nav a { text-decoration: none; transition: color 0.15s; }
.nav a:hover { color: var(--ink); }
.top .end { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.top .end .login { text-decoration: none; color: var(--muted); }
.top .end .login:hover { color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 420px) { .top .end .login { display: none; } }

/* ---------------------------------------------------------------- przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s, background-color 0.15s, opacity 0.15s; }
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--acc); color: var(--acc-ink); }
.btn.primary:hover { background: #ffcf4d; }
.btn.secondary { background: var(--fill); color: var(--ink); }
.btn.small { height: 36px; padding: 0 16px; font-size: 15px; }
.btn .icon { font-size: 18px; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 48px 0 24px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { font-size: clamp(44px, 7.4vw, 80px); line-height: 1.01; font-weight: 700; letter-spacing: -0.042em; margin: 0; max-width: 11ch; text-wrap: balance; }
.hero .lead { font-size: clamp(20px, 2.3vw, 24px); line-height: 1.36; color: var(--muted); max-width: 24ch; margin: 24px 0 0; letter-spacing: -0.018em; }
.hero .lead b { color: var(--ink); font-weight: 600; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 20px; min-width: 0; }
@media (min-width: 960px) {
   .hero { padding: 72px 0 40px; }
   .hero .wrap { grid-template-columns: 1.08fr 0.92fr; gap: 24px; }
}

/* przełącznik branż */
.switch { position: relative; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--fill); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.switch::-webkit-scrollbar { display: none; }
.switch button { position: relative; z-index: 1; flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: color 0.2s; }
.switch button[aria-pressed="true"] { color: var(--acc-ink); }
.switch .pill { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; border-radius: 999px; background: var(--acc); transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), width 0.45s cubic-bezier(0.32, 0.72, 0, 1); }

/* ---------------------------------------------------------------- telefon (makieta aplikacji) */
.phone { position: relative; width: 316px; height: 664px; flex: none; border-radius: 52px; padding: 10px; background: #111113; box-shadow: var(--shadow), inset 0 0 0 1.5px #3a3a3c; }
.phone::after { content: ""; position: absolute; inset: 3px; border-radius: 49px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); pointer-events: none; }
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 42px; background: var(--a-bg); color: var(--a-ink); font-size: 13px; line-height: 1.3; letter-spacing: -0.01em; isolation: isolate; }
.status { position: absolute; z-index: 20; inset: 0 0 auto; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 4px 26px 0 30px; font-size: 13px; font-weight: 600; }
.island { position: absolute; left: 50%; top: 10px; width: 88px; height: 25px; margin-left: -44px; border-radius: 20px; background: #000; }
.bars { display: flex; gap: 4px; align-items: center; }
.bars i { display: block; width: 16px; height: 9px; border-radius: 2px; border: 1px solid currentColor; opacity: 0.9; position: relative; }
.bars i::after { content: ""; position: absolute; inset: 1px 3px 1px 1px; background: currentColor; border-radius: 1px; }
.bars b { display: block; width: 14px; height: 9px; background: linear-gradient(to right, currentColor 0 2.5px, transparent 2.5px 3.8px, currentColor 3.8px 6.3px, transparent 6.3px 7.6px, currentColor 7.6px 10.1px, transparent 10.1px 11.4px, currentColor 11.4px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }

.view { position: absolute; inset: 0; padding: 50px 0 100px; overflow: hidden; background: var(--a-bg); transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.35s; }
.view.off-right { transform: translateX(100%); }
.view.off-left { transform: translateX(-28%); opacity: 0.6; }
.a-date { padding: 8px 16px 0; font-size: 12px; font-weight: 600; color: var(--a-muted); }
.a-title { padding: 0 16px; font-size: 27px; line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
.a-sec { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 20px 6px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.a-sec span { font-size: 13px; font-weight: 400; color: var(--a-muted); font-variant-numeric: tabular-nums; }
.a-sub { padding: 10px 20px 4px; font-size: 12px; font-weight: 600; color: var(--a-muted); }
.a-card { margin: 0 12px; border-radius: 12px; background: var(--a-card); overflow: hidden; }
.a-row { position: relative; display: grid; grid-template-columns: 42px 1fr auto; gap: 8px; padding: 9px 12px; transition: background-color 1.2s; }
.a-row + .a-row::before { content: ""; position: absolute; top: 0; left: 62px; right: 0; border-top: 0.5px solid var(--a-line); }
.a-row .t { font-weight: 600; font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.a-row .n { font-size: 13px; line-height: 1.25; }
.a-row .w { display: block; margin-top: 2px; font-size: 11.5px; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-row .p { font-size: 12.5px; color: var(--a-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.a-row.fresh { background: var(--acc-soft); }
.a-row.enter { animation: row-in 0.55s cubic-bezier(0.32, 0.72, 0, 1) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-8px); } }
.a-badge { display: inline-block; margin-top: 5px; padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; background: var(--acc-soft); color: var(--acc-deep); }
.a-badge.done { background: rgba(52, 199, 89, 0.16); color: var(--ok); }
.a-badge.new { background: var(--a-fill); color: var(--a-muted); }

.tabbar { position: absolute; z-index: 15; left: 10px; right: 10px; bottom: 16px; display: flex; gap: 8px; align-items: center; }
.tabbar .caps { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); height: 52px; padding: 3px; border-radius: 999px; background: var(--a-material); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.22), inset 0 0 0 0.5px rgba(0, 0, 0, 0.06); }
.tabbar .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 999px; font-size: 9px; font-weight: 600; color: var(--a-muted); }
.tabbar .tab .icon { font-size: 17px; }
.tabbar .tab.on { background: var(--a-fill); color: var(--a-ink); }
.tabbar .mic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--acc); color: #000; box-shadow: 0 6px 18px -6px rgba(255, 170, 0, 0.7); transition: transform 0.18s; }
.tabbar .mic .icon { font-size: 22px; stroke-width: 2.2; }
.tabbar .mic.press { transform: scale(0.9); }

/* arkusz (polecenie głosowe / wydatek) */
.scrim { position: absolute; z-index: 30; inset: 0; background: var(--a-scrim); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.sheet { position: absolute; z-index: 31; left: 0; right: 0; bottom: 0; height: 84%; border-radius: 22px 22px 0 0; background: var(--a-bg); transform: translateY(102%); transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1); }
.screen.sheet-open .scrim { opacity: 1; }
.screen.sheet-open .sheet { transform: none; }
.sh-grab { width: 36px; height: 5px; margin: 6px auto 0; border-radius: 3px; background: var(--a-line); }
.sh-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 40px; padding: 0 14px; font-size: 14px; font-weight: 600; }
.sh-head .x { color: var(--acc-deep); font-weight: 400; font-size: 13px; }
.sh-body { position: relative; height: calc(100% - 51px); }
.sh-pane { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity 0.16s, transform 0.16s; pointer-events: none; }
.sh-pane.on { opacity: 1; transform: none; transition: opacity 0.3s 0.16s, transform 0.3s 0.16s; }
.big-mic { position: relative; width: 84px; height: 84px; margin: 34px auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--acc); color: #000; }
.big-mic .icon { position: relative; font-size: 36px; stroke-width: 2.2; }
.big-mic .ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 198, 42, 0.32); transition: transform 0.12s ease-out; }
.big-mic .stop { position: relative; width: 24px; height: 24px; border-radius: 6px; background: #000; }
.listen-t { text-align: center; font-size: 14px; font-weight: 600; }
.listen-s { margin-top: 3px; text-align: center; font-size: 12px; color: var(--a-muted); font-variant-numeric: tabular-nums; }
.said { min-height: 60px; margin: 18px 22px 0; text-align: center; font-size: 14px; line-height: 1.4; color: var(--a-ink); }
.said .w { opacity: 0; transition: opacity 0.25s; }
.said .w.on { opacity: 1; }
.wave { display: flex; justify-content: center; align-items: center; gap: 3px; height: 26px; margin-top: 12px; }
.wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--acc); transition: height 0.12s; }
.spin { width: 30px; height: 30px; margin: 110px auto 14px; border-radius: 50%; border: 3px solid var(--a-fill); border-top-color: var(--acc); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.quote { padding: 4px 22px 10px; font-size: 12px; line-height: 1.35; color: var(--a-muted); }
.lines .ln { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 7px 12px; position: relative; opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s, background-color 0.8s; }
.lines .ln.on { opacity: 1; transform: none; }
.lines .ln.flash { background: var(--acc-soft); }
.lines .ln + .ln::before { content: ""; position: absolute; top: 0; left: 40px; right: 0; border-top: 0.5px solid var(--a-line); }
.lines .ln .icon { font-size: 16px; color: var(--a-muted); }
.lines .ln .v { flex: 1; font-size: 13px; }
.lines .ln.missing .v { color: var(--a-muted); }
.lines .ln .add { font-size: 12px; color: var(--acc-deep); }
.amount { padding: 6px 0 14px; text-align: center; font: 600 38px/1.1 ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.acts { display: flex; gap: 8px; padding: 18px 12px 0; }
.acts span { display: grid; place-items: center; height: 42px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--a-fill); padding: 0 16px; transition: transform 0.15s; }
.acts span.go { flex: 1; background: var(--acc); color: #000; }
.acts span.press { transform: scale(0.95); }

/* szczegóły zlecenia */
.a-nav { display: flex; align-items: center; height: 36px; padding: 0 8px; font-size: 14px; color: var(--acc-deep); }
.a-nav .icon { font-size: 22px; stroke-width: 2.4; }
.a-h { padding: 2px 16px 0; font-size: 22px; line-height: 1.15; font-weight: 700; letter-spacing: -0.022em; }
.a-status { margin: 8px 16px 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 12px 4px; }
.tiles span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 8px; border-radius: 12px; background: var(--a-card); font-size: 11px; font-weight: 600; color: var(--acc-deep); transition: transform 0.15s, background-color 0.3s; }
.tiles span .icon { font-size: 18px; }
.tiles span.press { transform: scale(0.94); background: var(--acc-soft); }
.info { margin: 10px 12px 0; border-radius: 12px; background: var(--a-card); }
.info div { position: relative; padding: 7px 14px; }
.info div + div::before { content: ""; position: absolute; top: 0; left: 14px; right: 0; border-top: 0.5px solid var(--a-line); }
.info small { display: block; font-size: 10.5px; color: var(--a-muted); }
.info span { font-size: 13px; }
.done-btn { margin: 14px 12px 0; display: grid; place-items: center; height: 40px; border-radius: 999px; background: var(--acc); color: #000; font-size: 13.5px; font-weight: 600; }

/* finanse */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 12px; border-radius: 12px; background: var(--a-card); }
.stats div { padding: 10px 12px; }
.stats small { display: block; font-size: 10.5px; color: var(--a-muted); }
.stats b { font: 600 16px/1.2 ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 88px; margin: 10px 12px 0; padding: 12px 12px 10px; border-radius: 12px; background: var(--a-card); }
.chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--a-fill); }
.chart i.now { background: var(--acc); }

.toast { position: absolute; z-index: 40; top: 52px; left: 50%; display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--a-material); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.3); font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(-50%, -80px); transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s; }
.toast .icon { color: var(--ok); font-size: 15px; stroke-width: 2.6; }
.screen.toast-on .toast { opacity: 1; transform: translate(-50%, 0); }

.finger { position: absolute; z-index: 60; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(120, 120, 128, 0.34); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset; opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.2s, left 0.45s cubic-bezier(0.32, 0.72, 0, 1), top 0.45s cubic-bezier(0.32, 0.72, 0, 1); pointer-events: none; }
.finger.on { opacity: 1; transform: scale(1); }
.finger.tap { transform: scale(0.78); }

/* ---------------------------------------------------------------- sekcje */
section { padding: 88px 0; }
section.alt { background: var(--bg-2); }
.kicker { font-size: 15px; font-weight: 600; color: var(--acc-text); margin: 0 0 12px; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.036em; font-weight: 700; margin: 0; max-width: 18ch; text-wrap: balance; }
.intro { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 46ch; margin: 18px 0 0; line-height: 1.42; }

/* jak to działa — przypięta scena: przewijanie zmienia porę dnia, tekst i ekran telefonu */
.story-sec { padding-bottom: 0; }
.story-pin { padding: 40px 0 88px; }
.story-grid { display: grid; gap: 40px; align-items: center; }
.story-clock { font: 600 clamp(52px, 7vw, 88px)/1 ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; letter-spacing: -0.04em; color: var(--acc-text); }
.story-steps { display: grid; margin-top: 18px; }
.step h3 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; text-wrap: balance; }
.step p { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.42; color: var(--muted); max-width: 32ch; }
.story-progress { display: flex; gap: 6px; max-width: 320px; margin-top: 32px; }
.story-progress i { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--fill); overflow: hidden; }
.story-progress b { position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(0); }
.story-phone { display: flex; justify-content: center; }
.story-layer { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s, transform 0.6s cubic-bezier(0.32, 0.72, 0, 1); }
.story-layer.on { opacity: 1; transform: none; }
.story-layer[data-enter="push"]:not(.on) { transform: translateX(34%); }
.story-layer[data-enter="sheet"]:not(.on) { transform: translateY(6%); }
.story-layer[data-enter="fade"]:not(.on) { transform: scale(0.98); }

/* bez JavaScriptu: zwykła lista kroków */
html:not(.js) .story-clock, html:not(.js) .story-progress, html:not(.js) .story-phone { display: none; }
html:not(.js) .step + .step { margin-top: 28px; }

html.js .story { height: 400vh; height: 400svh; }
html.js .story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 56px 0 0; }
html.js .story-pin > .wrap { width: 100%; }
html.js .step { grid-area: 1 / 1; opacity: 0; transform: translateY(26px); transition: opacity 0.4s, transform 0.6s cubic-bezier(0.32, 0.72, 0, 1); }
html.js .step.past { transform: translateY(-26px); }
html.js .step.on { opacity: 1; transform: none; }
@media (min-width: 900px) {
   .story-grid { grid-template-columns: 1fr 356px; gap: 96px; }
}
@media (max-width: 899px) {
   html.js .story-grid { gap: 22px; }
   .story-clock { font-size: 44px; }
   .step h3 { font-size: 24px; }
   .step p { font-size: 16px; }
   .story-progress { margin-top: 18px; }
   /* telefon zmniejsza się tak, żeby cała scena zmieściła się na ekranie */
   .story-phone .phone { transform: scale(var(--ps, 0.72)); transform-origin: top center; margin-bottom: calc((var(--ps, 0.72) - 1) * 664px); }
}

/* rozliczenia */
.split { display: grid; gap: 32px; margin-top: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.rules { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.rules li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.rules b { display: block; font-size: 19px; letter-spacing: -0.018em; margin-bottom: 3px; }
.rules span { color: var(--muted); }
.tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--acc-soft); color: var(--acc-deep); font-size: 22px; }
.ledger { border-radius: var(--radius); background: var(--card); padding: 26px; box-shadow: var(--shadow); }
.ledger h4 { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.ledger .big { font: 600 40px/1.1 ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; letter-spacing: -0.02em; margin: 4px 0 18px; font-variant-numeric: tabular-nums; }
.bar { display: flex; height: 44px; border-radius: 12px; overflow: hidden; background: var(--fill); }
.bar i { display: flex; align-items: center; padding: 0 12px; font-style: normal; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; width: 0; transition: width 1.1s cubic-bezier(0.32, 0.72, 0, 1); }
.bar .a { background: var(--acc); color: #000; }
.bar .b { background: #ffe08a; color: #000; }
.bar .d { background: repeating-linear-gradient(135deg, #ffe08a 0 6px, #fff0c2 6px 12px); color: #000; }
@media (prefers-color-scheme: dark) {
   .bar .b { background: #b38a14; }
   .bar .d { background: repeating-linear-gradient(135deg, #b38a14 0 6px, #806210 6px 12px); color: #fff; }
}
.who { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin-top: 22px; font-size: 16px; }
.who span:nth-child(even) { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.who .m { color: var(--muted); font-size: 14px; }
.ledger .foot { margin: 20px 0 0; padding-top: 16px; border-top: 0.5px solid var(--line); font-size: 14px; color: var(--muted); }

/* drobiazgi */
.perks { display: grid; gap: 1px; margin-top: 48px; border-radius: var(--radius); overflow: hidden; background: var(--line); }
@media (min-width: 700px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px; background: var(--card); }
.perk b { display: block; font-size: 17px; margin-bottom: 3px; letter-spacing: -0.015em; }
.perk span { font-size: 15px; color: var(--muted); line-height: 1.42; }

/* instalacja */
.install { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 800px) { .install { grid-template-columns: 1fr 1fr; } }
.how { border-radius: var(--radius); background: var(--card); padding: 28px; }
.alt .how { background: var(--bg); }
.how h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 21px; letter-spacing: -0.02em; }
.how ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.how li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; }
.how li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--fill); font-size: 14px; font-weight: 700; }
.how kbd { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 7px; background: var(--fill); font: inherit; font-weight: 600; font-size: 15px; vertical-align: 1px; }
.how kbd .icon { font-size: 15px; }

/* cennik */
.plans { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card); padding: 28px; border: 1.5px solid transparent; }
.plan.pick { border-color: var(--acc); box-shadow: 0 20px 50px -30px rgba(255, 170, 0, 0.55); }
.plan .tag { align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--acc); color: #000; font-size: 12px; font-weight: 700; }
.plan h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.plan .for { margin: 4px 0 18px; font-size: 15px; color: var(--muted); }
.plan ul { margin: 22px 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.plan li .icon { margin-top: 3px; color: var(--acc-deep); stroke-width: 2.6; font-size: 16px; }
.plan .btn { margin-top: auto; }
.plans.access { margin-top: 40px; }
.plan.pick ul { margin-bottom: 26px; }

/* pytania */
.faq { margin-top: 40px; border-top: 0.5px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 0.5px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.016em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 11px; height: 11px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq p { margin: -6px 0 22px; color: var(--muted); max-width: 64ch; }

/* zakończenie */
.end-cta { text-align: center; }
.end-cta h2 { margin: 0 auto; }
.end-cta .intro { margin-left: auto; margin-right: auto; }
.end-cta .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

footer { border-top: 0.5px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 24px; padding-bottom: 40px; font-size: 13px; color: var(--muted); }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .copy { margin-left: auto; }

/* pojawianie się przy przewijaniu */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* małe ekrany */
@media (max-width: 380px) {
   .phone { transform: scale(0.9); margin: -32px 0; }
}

@media (prefers-reduced-motion: reduce) {
   html { scroll-behavior: auto; }
   *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
   .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- regulamin i polityka */
.doc { max-width: 692px; padding: 8px 22px 64px; margin: 0 auto; }
.doc h1 { font-size: 40px; line-height: 1.08; letter-spacing: -0.026em; margin: 28px 0 4px; }
.doc h2 { font-size: 22px; letter-spacing: -0.018em; margin: 34px 0 6px; max-width: none; line-height: 1.2; }
.wrap > .top { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; display: flex; align-items: center; justify-content: space-between; height: 52px; }
.wrap > .top a.login { text-decoration: none; color: var(--acc-text); }
.wrap > footer { display: flex; flex-wrap: wrap; gap: 18px; padding: 22px 0 40px; font-size: 13px; color: var(--muted); }

/* Stopka „Strona stworzona przez Hoveso” — wklejona bez zmian ze stopka-hoveso.md */
.hoveso-credit {
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  color: inherit;
  opacity: 0.85;
}

.hoveso-credit a {
  display: inline-block;
  padding: 10px 4px; /* wygodny cel dotyku na telefonie */
  color: inherit;
  font-family: Poppins, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.012em;
  text-decoration: none;
}

.hoveso-credit a:hover,
.hoveso-credit a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hoveso-credit__o1 {
  color: #ff605c;
}

.hoveso-credit__o2 {
  color: #ffbd44;
}
