/* wiemcodalej.pl - osobna marka (nie tokeny Leandio). Te same zmienne --wcd-* czyta widget. */
:root {
  --wcd-accent: #1d6b64;
  --wcd-ink: #1b2624;
  --wcd-muted: #5b6966;
  --wcd-bg: #f6f3ed;
  --wcd-surface: #ffffff;
  --wcd-line: #e3ded4;
  --accent: var(--wcd-accent);
  --accent-strong: #154f4a;
  --accent-soft: #e6f0ee;
  --ink: var(--wcd-ink);
  --muted: var(--wcd-muted);
  --bg: var(--wcd-bg);
  --surface: var(--wcd-surface);
  --line: var(--wcd-line);
  --sand: #efe6d6;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-strong); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid #8fc1bb; outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
body:not([data-route="start"]) .site-header { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.brand-mark rect { fill: var(--accent); }
.brand-mark path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.brand-name > span { color: var(--accent); }
.brand-name small { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 1px; }
.header-link { font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 4px; }
.header-link:hover { text-decoration: underline; text-underline-offset: 4px; }

main.wrap { flex: 1; padding-top: 12px; padding-bottom: 56px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* Start */
.hero { padding: 28px 0 30px; max-width: 720px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.15; letter-spacing: -.02em; }
.hero-lead { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 600px; }
@media (min-width: 640px) {
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 20px; }
}

.section-title { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tiles li { display: flex; }
.tile {
  position: relative; flex: 1; display: flex; align-items: flex-start; gap: 14px; padding: 18px 18px 18px 16px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.tile-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); color: var(--muted); }
.tile-icon svg { width: 26px; height: 26px; }
.tile-body { display: grid; gap: 4px; min-width: 0; flex: 1; }
.tile-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 650; font-size: 18px; line-height: 1.3; }
.tile-text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.tile-active {
  border: 1.5px solid var(--accent);
  box-shadow: 0 1px 2px rgba(22, 34, 32, .05), 0 12px 32px rgba(29, 107, 100, .12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile-active:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(22, 34, 32, .06), 0 18px 40px rgba(29, 107, 100, .16); }
.tile-active .tile-icon { background: var(--accent); color: #fff; }
.tile-go { flex: none; align-self: center; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); }
.tile-go svg { width: 20px; height: 20px; }
.tile-soon { background: color-mix(in srgb, var(--surface) 55%, var(--bg)); }
.tile-soon .tile-title { color: color-mix(in srgb, var(--ink) 75%, var(--bg)); }
.soon { flex: none; font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .04em; padding: 3px 10px; border-radius: 99px; background: var(--sand); color: #6d5a37; }

.how { margin-top: 48px; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 800px) { .how-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.how-list li { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.how-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); }
.how-icon svg { width: 22px; height: 22px; }
.how-list h3 { font-size: 17px; font-weight: 650; margin-bottom: 4px; }
.how-list p { font-size: 15px; color: var(--muted); line-height: 1.5; }

.trust { margin-top: 16px; display: flex; gap: 16px; align-items: flex-start; padding: 22px 20px; border-radius: 18px; background: var(--accent-strong); color: #eef6f4; }
.trust-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.trust-icon svg { width: 24px; height: 24px; }
.trust h2 { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin-bottom: 6px; color: #fff; }
.trust p { font-size: 15.5px; line-height: 1.55; max-width: 720px; }

/* Temat */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 14px 0 6px; font-size: 14.5px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.crumbs svg { width: 16px; height: 16px; }
.topic { max-width: 680px; margin-top: 10px; padding: 26px 20px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(22,34,32,.04), 0 12px 36px rgba(22,34,32,.06); }
@media (min-width: 640px) { .topic { padding: 40px 44px; margin-top: 18px; } }
.topic h1 { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.2; letter-spacing: -.015em; }
@media (min-width: 640px) { .topic h1 { font-size: 38px; } }
.topic-text { margin-top: 18px; display: grid; gap: 12px; font-size: 17.5px; }
.topic-meta { margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.topic-meta div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.topic-meta dt { color: var(--muted); }
.topic-meta dd { margin: 0; font-weight: 600; }
.topic-meta .placeholder { color: #6d5a37; background: var(--sand); padding: 0 10px; border-radius: 99px; font-weight: 600; }
.cta {
  margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 26px;
  border-radius: 16px; background: var(--accent); color: #fff; font-weight: 650; font-size: 18px; text-decoration: none;
  transition: background-color .15s ease;
}
.cta:hover { background: var(--accent-strong); }
.cta svg { width: 22px; height: 22px; }
.cta-note { font-weight: 400; opacity: .85; }
@media (min-width: 640px) { .cta { display: inline-flex; } }

/* Wywiad */
.interview { max-width: 680px; margin-top: 8px; }
body[data-route="interview"] .site-footer .footer-small { display: none; }

/* Stopka */
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 calc(26px + env(safe-area-inset-bottom)); font-size: 14.5px; color: var(--muted); }
.site-footer strong { color: var(--ink); }
.footer-small { margin-top: 6px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
