/* Strony firmy Wumiko (wumiko.com): usługi, projekty, kontakt. Podstawa (kroje, kolory, nagłówek,
   przyciski, sekcje, stopka) jest wspólna z public/css/studio.css na wumiko.games — zmiany tam
   i tu przenoś razem. Kroje lokalnie (OFL, kopie z public/fonts/), bez zewnętrznych zasobów. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-wght-normal.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: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-ext-wght-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: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-wght-normal.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: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-ext-wght-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 {
  color-scheme: light dark;

  --paper: #F8F5F0;
  --paper-2: #EFE9E0;
  --card: #FFFFFF;
  --ink: #1D1A2B;
  --ink-2: #565168;
  --line: #E1DACF;
  --link: #4936C8;
  --focus: #4936C8;
  --btn: #1D1A2B;
  --btn-ink: #FFF6E8;
  --err: #B42318;

  /* Akcent studia (kropka w znaku) i kolory kafelków, jak na wumiko.games */
  --coral: #FF6B4A;
  --t1: #E5402F;
  --t2: #F6C431;
  --t3: #2F6FD8;
  --t4: #3BA55C;
  --t5: #8E4CC0;
  --t6: #F28A1E;
  --slot: #E7E0D5;
  --chrome: #E9E3D9;
  /* Odcienie w rogu kafelków strony głównej (tekst zostaje na --card, kontrast bez zmian) */
  --tint-blue: rgb(47 111 216 / 0.10);
  --tint-purple: rgb(142 76 192 / 0.10);

  --radius: 20px;
  --wrap: 1120px;
  --display: "Bricolage Grotesque", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15131D;
    --paper-2: #1C1A27;
    --card: #232030;
    --ink: #F3F0F8;
    --ink-2: #BAB4CA;
    --line: #353047;
    --link: #AFA3FF;
    --focus: #AFA3FF;
    --btn: #F3F0F8;
    --btn-ink: #15131D;
    --err: #FDA29B;
    --slot: #2B2738;
    --chrome: #2E2A3C;
    --tint-blue: rgb(120 160 255 / 0.12);
    --tint-purple: rgb(190 130 255 / 0.12);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Płynne przejścia między stronami tej samej witryny (Chrome, Edge, Safari), bez skryptu */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Nagłówek */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; gap: 10px 24px; flex-wrap: wrap;
  padding-block: 14px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 1.45rem/1 var(--display); letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
}
.brand img { width: 36px; height: 36px; }
.site-nav { display: flex; gap: 4px 20px; flex-wrap: wrap; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 2px; }
.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.lang-switch {
  font-weight: 700; color: var(--ink); text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.lang-switch:hover { border-color: var(--ink); }

@media (max-width: 640px) {
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 4px 18px; }
  .lang-switch { margin-left: auto; }
}

/* Przyciski */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--btn); color: var(--btn-ink); border: 2px solid var(--btn);
}
.btn:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* Strona główna (com/index.html i com/en/index.html), osiem części: hero, pasek zaufania, usługi
   w kafelkach, realizacje, proces, pakiety, pytania, kontakt. Ruch tylko w CSS i tylko bez
   prefers-reduced-motion; bez wsparcia dla animacji strona wygląda tak samo, tylko stoi. */

/* 1. Hero: przeglądarka i telefon, które co kilka sekund zamieniają się ekranami (strona ↔ gra) */
.hero { position: relative; padding: 48px 0 64px; overflow: hidden; isolation: isolate; }
.hero::before {
  /* Dekoracyjne plamy w kolorach kafelków; tekst leży na --paper, więc kontrast się nie zmienia */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: min(70vw, 720px); aspect-ratio: 1; z-index: -1;
  background:
    radial-gradient(closest-side, rgb(47 111 216 / 0.16), transparent 70%) 10% 30% / 60% 60% no-repeat,
    radial-gradient(closest-side, rgb(142 76 192 / 0.14), transparent 70%) 70% 20% / 55% 55% no-repeat,
    radial-gradient(closest-side, rgb(255 107 74 / 0.14), transparent 70%) 50% 75% / 50% 50% no-repeat;
}
.hero .wrap { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero .wrap { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-size: clamp(2.3rem, 7vw, 3.9rem); max-width: 19ch; }
@media (min-width: 900px) { .hero h1 { font-size: clamp(2.6rem, 4.4vw, 3.7rem); } }
.lead { font-size: clamp(1.12rem, 2.2vw, 1.28rem); color: var(--ink-2); max-width: 44ch; }
.hero-note { margin: 16px 0 0; color: var(--ink-2); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--t4); }

.showcase { position: relative; width: min(100%, 470px); margin-inline: auto; padding: 0 28px 48px 0; }
.screens { display: grid; }
.screens > * { grid-area: 1 / 1; }
.screen-b { opacity: 0; }
.browser {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgb(40 30 60 / 0.12);
  transform: rotate(-2deg);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px;
  background: var(--chrome); border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--t1); }
.browser-bar i:nth-child(2) { background: var(--t2); }
.browser-bar i:nth-child(3) { background: var(--t4); }
.browser-bar .address {
  flex: 1; display: grid; margin-left: 8px; padding: 3px 12px; border-radius: 999px; background: var(--card);
  font-size: 0.78rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0.01em;
}
.browser-bar .address > * { grid-area: 1 / 1; }
.browser-page, .phone-page { display: grid; gap: 10px; padding: 18px 18px 22px; align-content: start; }
.browser-page span, .phone-page span { display: block; border-radius: 8px; background: var(--slot); height: 10px; }
.browser-page .sk-hero, .phone-page .sk-hero {
  height: 92px; border-radius: 12px; background: linear-gradient(120deg, var(--t3), var(--t5));
}
.browser-page .sk-title, .phone-page .sk-title { height: 16px; width: 70%; background: var(--ink); opacity: 0.85; }
.browser-page .sk-short, .phone-page .sk-short { width: 45%; }
.browser-page .sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: auto; background: none; margin-top: 4px; }
.browser-page .sk-cards span { height: 46px; border-radius: 10px; }
.browser-page .sk-cards span:first-child { background: var(--t2); }
.browser-page .sk-cards span:nth-child(2) { background: var(--t4); }
.browser-page .sk-cards span:nth-child(3) { background: var(--coral); }
/* Gra w przeglądarce: plansza 8 × 4. Bez własnej wysokości, więc przyjmuje wysokość szkicu strony
   (oba ekrany leżą w tej samej komórce siatki) i okno nie zmienia rozmiaru przy przełączaniu. */
.board { display: grid; grid-template: repeat(4, 1fr) / repeat(8, 1fr); gap: 6px; padding: 18px; }
.board span { border-radius: 7px; background: var(--slot); }

.phone {
  position: absolute; right: 0; bottom: 0; width: 38%;
  padding: 14px 8px 18px; border-radius: 26px;
  background: var(--ink); box-shadow: 0 24px 50px rgb(40 30 60 / 0.25);
  transform: rotate(5deg);
}
.phone::before {
  content: ""; display: block; width: 32%; height: 5px; margin: 0 auto 10px;
  border-radius: 999px; background: rgb(255 255 255 / 0.25);
}
.phone .screens { border-radius: 14px; background: var(--paper); overflow: hidden; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; }
.tiles span { aspect-ratio: 1; border-radius: 5px; background: var(--slot); }
.phone-page { gap: 6px; padding: 8px; }
.phone-page span { height: 6px; border-radius: 4px; }
.phone-page .sk-hero { height: 44px; border-radius: 8px; background: linear-gradient(120deg, var(--t4), var(--t3)); }
.phone-page .sk-title { height: 9px; }
.phone-page .sk-btn { height: 14px; width: 55%; border-radius: 999px; background: var(--coral); }
:is(.tiles, .board) .c1 { background: var(--t1); }
:is(.tiles, .board) .c2 { background: var(--t2); }
:is(.tiles, .board) .c3 { background: var(--t3); }
:is(.tiles, .board) .c4 { background: var(--t4); }
:is(.tiles, .board) .c5 { background: var(--t5); }
:is(.tiles, .board) .c6 { background: var(--t6); }
.tiles [class^="c"], .board [class^="c"] { box-shadow: inset -2px -2px 0 rgb(0 0 0 / 0.14), inset 2px 2px 0 rgb(255 255 255 / 0.25); }
.tiles .dot { background: var(--coral); border-radius: 50%; transform: scale(0.6); }

@media (prefers-reduced-motion: no-preference) {
  .screen-a { animation: screen-a 12s ease-in-out infinite; }
  .screen-b { animation: screen-b 12s ease-in-out infinite; }
  .browser { animation: float 6s ease-in-out infinite; }
  .phone { animation: float 6s ease-in-out -3s infinite; }
  .board .pop { animation: pop 3s ease-in-out infinite; }
  .board .pop + .pop { animation-delay: -1.5s; }
}
@keyframes screen-a { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes screen-b { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes float { 50% { translate: 0 -8px; } }
@keyframes pop { 0%, 70%, 100% { scale: 1; } 80% { scale: 1.18; } 90% { scale: 0.94; } }

/* Pojawianie się przy przewijaniu: tylko gdy przeglądarka zna animation-timeline i ruch jest dozwolony */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal ease-out both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes reveal { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

/* 2. Pasek zaufania: dwie kolumny na telefonie, cztery od tabletu; linie to tło prześwitujące przez odstęp */
.trust { border-block: 1px solid var(--line); background: var(--card); }
.trust-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 860px) { .trust-list { grid-template-columns: repeat(4, 1fr); } }
.trust-list li { display: grid; align-content: start; gap: 4px; padding: 20px 16px; background: var(--card); }
@media (min-width: 860px) { .trust-list li { padding: 24px 24px; } .trust-list li:first-child { padding-left: 0; } }
.trust-list strong { font: 800 clamp(1.6rem, 3.5vw, 2.2rem)/1.05 var(--display); letter-spacing: -0.03em; }
.trust-list span { color: var(--ink-2); font-size: 0.98rem; }

/* Sekcje */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section.alt { background: var(--paper-2); }
.section-intro { max-width: 62ch; color: var(--ink-2); margin-bottom: 32px; font-size: 1.1rem; }
.section-note { color: var(--ink-2); font-size: 0.98rem; margin: 24px 0 0; max-width: 72ch; }

/* 3. Usługi w siatce kafelków (bento): układ zależy od szerokości siatki, nie okna */
.wrap:has(> .bento) { container: bento / inline-size; }
.bento { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; grid-auto-flow: row dense; }
@container bento (min-width: 560px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-sites, .tile-games { grid-column: span 2; }
}
@container bento (min-width: 960px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile-sites { grid-column: span 2; grid-row: span 2; }
  .tile-proto { grid-column: span 2; }
  .tile-games { grid-column: span 3; }
}
.tile {
  container: tile / inline-size;
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tile:has(a:hover, a:focus-visible) { border-color: var(--ink-2); transform: translateY(-2px); }
.tile-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.tile h3 { font-size: 1.35rem; margin-bottom: 0.35em; }
.tile-sites h3, .tile-games h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.tile p { color: var(--ink-2); margin-bottom: 0; }
.tile-sites { background: linear-gradient(160deg, var(--card) 55%, var(--tint-blue)); }
.tile-games { background: linear-gradient(160deg, var(--card) 55%, var(--tint-purple)); }
@container tile (min-width: 520px) {
  .tile-sites .tile-icon, .tile-games .tile-icon { width: 64px; height: 64px; }
  .tile > p { max-width: 46ch; font-size: 1.08rem; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.chips li {
  padding: 4px 12px; border-radius: 999px; font-size: 0.92rem; font-weight: 600;
  background: var(--paper-2); color: var(--ink); border: 1px solid var(--line);
}
.tile-links {
  display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 18px 0 0; margin: auto 0 0;
  font-weight: 600;
}
.chips + .tile-links { margin-top: 18px; border-top: 1px solid var(--line); }
.tile-sites .tile-links { margin-top: auto; }
.tile-sites .chips { margin-bottom: 18px; }
/* Szkic strony w dużym kafelku, tylko gdy kafelek jest szeroki (na telefonie zbędny) */
.tile-art { display: none; width: 100%; max-width: 420px; height: auto; margin: 4px 0 22px; }
@container tile (min-width: 420px) { .tile-art { display: block; } }

/* 4. Realizacje (dwie albo trzy karty w wierszu, zależnie od ich liczby) */
.projects { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); list-style: none; padding: 0; margin: 0; }
.project {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.project-art { aspect-ratio: 16 / 10; overflow: hidden; background: var(--slot); border-bottom: 1px solid var(--line); }
.project-art img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: scale 0.4s ease; }
.project:has(a:hover, a:focus-visible) .project-art img { scale: 1.03; }
.project-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.4rem; margin-bottom: 0.4em; }
.project-body h3 a { color: var(--ink); text-decoration: none; }
.project-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.status {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
  background: var(--paper-2); color: var(--ink);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--status, var(--t4)); }
.status-soon { --status: var(--t5); }
.story { display: grid; gap: 2px 16px; margin: 0 0 18px; }
.story dt { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); margin-top: 8px; }
.story dd { margin: 0; }
.project-links {
  display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 16px 0 0; margin: auto 0 0;
  border-top: 1px solid var(--line); font-weight: 600;
}
.more { margin: 28px 0 0; font-weight: 600; }

/* 5. Jak pracujemy: kroki z czasem i płatnością */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step;
}
.steps li::before {
  /* 20 px pogrubione to „duży tekst” w WCAG: biel na zielonym kafelku ma kontrast ponad 3:1 */
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px;
  font: 800 1.25rem/1 var(--display); color: #fff; background: var(--tile, var(--t3));
  box-shadow: inset -3px -3px 0 rgb(0 0 0 / 0.16);
}
.steps li:nth-child(2) { --tile: var(--t4); }
.steps li:nth-child(3) { --tile: var(--t5); }
.steps li:nth-child(4) { --tile: var(--t1); }
.steps p { margin: 0 0 18px; color: var(--ink-2); }
.step-meta {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: auto 0 0; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: 0.95rem;
}
.step-meta dt { color: var(--ink-2); }
.step-meta dd { margin: 0; font-weight: 600; }
.step-meta strong { font: 800 1.05rem/1 var(--display); }

/* 6. Pakiety i ceny „od” */
.packages { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; padding: 0; margin: 0; }
.package {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  border-top: 6px solid var(--tile, var(--t3));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.package:nth-child(2) { --tile: var(--t4); }
.package:nth-child(3) { --tile: var(--t5); }
.package-game { --tile: var(--t6); }
.package:has(a:hover, a:focus-visible) { transform: translateY(-3px); box-shadow: 0 18px 40px rgb(40 30 60 / 0.12); }
.package h3 { font-size: 1.3rem; margin-bottom: 0.6em; }
.price { margin: 0; font-size: 1.05rem; color: var(--ink-2); }
.price strong { display: block; font: 800 clamp(1.6rem, 3vw, 1.95rem)/1.1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.duration { margin: 6px 0 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.duration::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--ink-2); border-top-color: transparent; }
.ticks { list-style: none; padding: 16px 0 0; margin: 0 0 22px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 12px; border-radius: 4px;
  background: var(--tile, var(--t3));
}
.package-action { margin: auto 0 0; }
.package-action .btn { width: 100%; justify-content: center; text-align: center; }

/* 7. Najczęstsze pytania */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq details:has(summary:hover) { border-color: var(--ink-2); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; min-height: 48px; cursor: pointer; list-style: none;
  font: 700 1.12rem/1.3 var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper-2); font: 700 1.3rem/1 var(--text); transition: rotate 0.2s ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 16px; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); max-width: 70ch; }

/* 8. Kontakt */
.contact { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 900px) {
  .contact { grid-template-columns: 2fr 1fr 1fr; }
}
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card p { color: var(--ink-2); }
.contact-card p:last-child { margin-bottom: 0; }
.contact-main { background: linear-gradient(160deg, var(--card) 60%, var(--tint-blue)); }
.contact-main h3 { font-size: 1.6rem; }
.mail { font-weight: 700; font-size: 1.12rem; overflow-wrap: anywhere; }
.contact-main .mail { font-size: inherit; }
.fine { font-size: 0.95rem; color: var(--ink-2); margin-top: 28px; }
.todo { background: #FFF1B8; color: #3a2e00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* Strona błędu */
.notfound { padding: 72px 0 88px; }
.notfound .wrap { max-width: 720px; }
.notfound h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* Stopka */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 0.95rem; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--ink-2); }
.site-footer p { margin: 0; }

/* Atrybut hidden wygrywa z display z klas (np. .btn, .choices), także po zmianie przez skrypt formularza */
[hidden] { display: none !important; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

/* Nagłówek podstron (inspiracje, prywatność) */
.page-head { padding-bottom: 32px; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); max-width: 22ch; }
.note { color: var(--ink-2); font-size: 0.98rem; }

/* Formularz zapytania (/brief/, /pl/brief/): jedyne strony wumiko.com ze skryptem (com/brief/brief.js) */
.brief-page { padding-top: 48px; }
.brief-wrap { max-width: 760px; }
.brief-page h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.brief-fallback, .brief-done, .brief-failed, .brief-tip {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.brief-fallback p:last-child, .brief-done p:last-child, .brief-tip p:last-child { margin-bottom: 0; }
.brief { margin-top: 8px; }
.brief-progress { position: sticky; top: 0; z-index: 2; padding: 12px 0 10px; background: var(--paper); }
.progress-text { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.brief-progress progress {
  display: block; width: 100%; height: 10px; border: 0; border-radius: 999px; overflow: hidden;
  background: var(--slot); color: var(--t4); appearance: none;
}
.brief-progress progress::-webkit-progress-bar { background: var(--slot); border-radius: 999px; }
.brief-progress progress::-webkit-progress-value { background: var(--t4); border-radius: 999px; transition: width 0.25s ease; }
.brief-progress progress::-moz-progress-bar { background: var(--t4); border-radius: 999px; }
.brief-layout { margin: 12px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--paper-2); border-left: 4px solid var(--t3); }
.brief-required { color: var(--ink-2); font-size: 0.95rem; margin: 12px 0 0; }
.step { padding: 20px 0 8px; }
.step-title { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 18px; scroll-margin-top: 90px; }
.step-title:focus { outline: none; }
.step-title:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.step-intro { color: var(--ink-2); }

.q { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.q > legend, .q > label { display: block; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 1.08rem; }
.q .req { color: var(--err); }
.q .opt { font-weight: 400; color: var(--ink-2); font-size: 0.95rem; }
.hint { color: var(--ink-2); font-size: 0.95rem; margin: -2px 0 10px; }
.q input[type="text"], .q input[type="email"], .q input[type="tel"], .q input[type="url"], .q input[type="date"], .q textarea {
  display: block; width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; color: var(--ink); background: var(--card);
  border: 1.5px solid var(--ink-2); border-radius: 12px;
}
.q textarea { resize: vertical; min-height: 96px; }
.q input:focus-visible, .q textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--focus); border-radius: 12px; }
.q [aria-invalid="true"] { border-color: var(--err); }
.field-error { margin: 8px 0 0; color: var(--err); font-weight: 600; }
.field-error::before { content: "! "; }

.choices { display: grid; gap: 8px; }
.choices-big { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.choice {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 2px 12px;
  padding: 12px 14px; min-height: 48px; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
}
.choice:hover { border-color: var(--ink-2); }
.choice:has(input:checked) { border-color: var(--t3); box-shadow: inset 0 0 0 1px var(--t3); }
.choice input { grid-row: span 2; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--t3); }
.choice input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice-text { font-weight: 600; }
.choice-hint { grid-column: 2; color: var(--ink-2); font-size: 0.93rem; }
.choices-big .choice { padding: 16px; }
.choice-group + .choice-group, .choice-group + .choices { margin-top: 8px; }
.group-name { margin: 6px 0 2px; font-weight: 700; color: var(--ink-2); font-size: 0.95rem; }
.brief:not(.kind-unsure) .group-name { display: none; }
.q-consent .hint { margin-top: 10px; }
.q-note { margin: 0 0 26px; }

.brief-error { margin: 0; color: var(--err); font-weight: 700; }
.brief-error:not(:empty) { margin: 8px 0 16px; }
.brief-nav {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  padding: 18px 0 8px; border-top: 1px solid var(--line);
}
.brief-nav #next { margin-left: auto; }
button.btn { font: inherit; font-weight: 700; cursor: pointer; }
button.btn[disabled] { opacity: 0.7; cursor: progress; }
.brief-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.brief-failed { margin: 8px 0 16px; border-color: var(--err); }
.brief-failed h2, .brief-done h2 { font-size: 1.6rem; }
.brief-done { margin-top: 24px; }
.ticket { font: 800 1.3rem/1 var(--display); letter-spacing: 0.04em; }

/* Ukryte pole przeciw botom: poza ekranem, niedostępne z klawiatury i dla czytników */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.summary-layout { padding: 12px 16px; border-radius: 14px; background: var(--paper-2); }
.summary-part { padding: 16px 0; border-top: 1px solid var(--line); }
.summary-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.summary-head h3 { font-size: 1.15rem; margin: 0 0 8px; }
.summary-part dl { margin: 0; display: grid; gap: 4px 16px; }
@media (min-width: 640px) { .summary-part dl { grid-template-columns: minmax(180px, 2fr) 3fr; } }
.summary-part dt { color: var(--ink-2); }
.summary-part dd { margin: 0 0 6px; font-weight: 600; white-space: pre-wrap; overflow-wrap: anywhere; }
.link-button {
  border: 0; background: none; padding: 6px 2px; color: var(--link); font: inherit; font-weight: 700;
  text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer;
}

/* Inspiracje: szkice układów w SVG (klasy niżej, kolory z motywu) */
.layouts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; padding: 0; margin: 0; }
.layout-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.layout-art { padding: 20px 20px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.sketch { display: block; width: 100%; height: auto; }
.layout-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.layout-body h3 { font-size: 1.35rem; }
.layout-body p { color: var(--ink-2); margin-bottom: 0.6em; }
.layout-body strong { color: var(--ink); }
.layout-price {
  display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0; padding-top: 12px;
  border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.95rem;
}
.layout-price strong { color: var(--ink); }
.layout-action { margin: auto 0 0; padding-top: 16px; }
.sk-frame { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.sk-chrome { fill: var(--chrome); }
.sk-slot { fill: var(--slot); }
.sk-paper { fill: var(--paper); }
.sk-ink { fill: var(--ink); }
.sk-coral { fill: var(--coral); }
.sk-t1 { fill: var(--t1); }
.sk-t2 { fill: var(--t2); }
.sk-t3 { fill: var(--t3); }
.sk-t4 { fill: var(--t4); }
.sk-t5 { fill: var(--t5); }
.sk-t6 { fill: var(--t6); }
.sk-path { fill: none; stroke: var(--slot); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 7; }

/* Polityka prywatności */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
