/* =========================================================
   AI dla gastronomii — arkusz podstrony.
   Zrodlo: AIdlagastronomii/landing (Mika Design System).
   Caly arkusz jest zawezony do .ai-page, zeby nie kolidowal
   z globalnym style.css serwisu. Naglowek i stopka serwisu
   stoja POZA .ai-page i nie sa tym arkuszem dotykane.
   Nie edytuj recznie — zmiany rob u zrodla i przebuduj.
   ========================================================= */
.ai-page { box-sizing: border-box; }
/* =========================================================
   COLORS — Mika Design System
   Navy (ink) + Orange (flame) + Cream (paper).
   Base scales first, then semantic aliases.
   ========================================================= */

.ai-page {
  /* ---------- NAVY / INK (primary dark) ---------- */
  --ink-900: #0B1322;
  --ink-800: #0F1A2E;
  --ink-700: #16243F;
  --ink-600: #243352;
  --ink-500: #3A4868;

  /* ---------- ORANGE / FLAME (accent) ---------- */
  --flame-700: #C26200;
  --flame-600: #E67A0E;
  --flame-500: #F39021;
  --flame-400: #F8A647;
  --flame-100: #FCE7C9;
  --flame-50:  #FDF3E2;

  /* ---------- CREAM / PAPER (surfaces) ---------- */
  --paper:   #F5F1EA;
  --paper-2: #EFE9DD;
  --paper-3: #E6DFD0;

  /* Dark screen surround (behind A4 pages on screen) */
  --surround: #2A2520;

  /* ---------- TEXT ---------- */
  --text:   #1B1F2A;
  --text-2: #424857;
  --text-3: #6B7184;

  /* ---------- SEMANTIC: TIP (green) ---------- */
  --tip:      #2E7D5B;
  --tip-bg:   #E7F2EC;
  --tip-rule: #1F5D43;

  /* ---------- SEMANTIC: WARN (red) ---------- */
  --warn:      #B33A2A;
  --warn-bg:   #F7E5E1;
  --warn-rule: #8B2A1E;

  /* ====================================================
     SEMANTIC ALIASES — prefer these in component code
     ==================================================== */

  /* Brand */
  --brand-accent:      var(--flame-500);
  --brand-accent-ink:  var(--flame-700);  /* accent on light surfaces (AA text) */
  --brand-dark:        var(--ink-800);

  /* Surfaces */
  --surface-page:      var(--paper);       /* default A4 page */
  --surface-raised:    var(--paper-2);     /* notes, figure cards */
  --surface-sunken:    var(--paper-3);     /* hairline fills, rules */
  --surface-dark:      var(--ink-800);     /* covers, dividers, dark cards */
  --surface-accent:    var(--flame-500);   /* flame number cards, ribbon */
  --surface-accent-soft: var(--flame-50);  /* persona / tinted blocks */

  /* Text roles */
  --text-strong:  var(--ink-900);
  --text-body:    var(--text);
  --text-muted:   var(--text-2);
  --text-faint:   var(--text-3);
  --text-on-dark: var(--paper);
  --text-accent:  var(--flame-700);

  /* Lines */
  --rule:        var(--paper-3);
  --rule-accent: var(--flame-500);
}

/* =========================================================
   TYPOGRAPHY — Mika Design System
   Display: Bricolage Grotesque  (titles, numbers, wordmark)
   Body:    Source Serif 4       (running prose — this is a book)
   UI:      Inter Tight          (eyebrows, labels, nav, runheads)
   Mono:    JetBrains Mono       (page numbers, chapter refs, figures)
   ========================================================= */

.ai-page {
  /* ---------- FAMILIES ---------- */
  --font-display: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --font-body:    "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-ui:      "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* ---------- WEIGHTS ---------- */
  --fw-light:    300; /* @kind font */
  --fw-regular:  400; /* @kind font */
  --fw-medium:   500; /* @kind font */
  --fw-semibold: 600; /* @kind font */
  --fw-bold:     700; /* @kind font */
  --fw-black:    800; /* @kind font */

  /* ---------- TYPE SCALE (px) ----------
     Display sizes assume the A4 / print canvas of the books. */
  --fs-display-xxl: 240px; /* cover tome / big numbers */
  --fs-display-xl:  108px; /* cover title */
  --fs-display-lg:  80px;  /* essay / part title */
  --fs-display-md:  56px;  /* h1 body / chapter */
  --fs-display-sm:  30px;  /* faza title */
  --fs-h2:          19px;
  --fs-h3:          14.5px;
  --fs-lede:        14.5px;
  --fs-body:        11.5px; /* A4 running prose */
  --fs-body-screen: 16px;   /* same prose, comfortable on screen */
  --fs-small:       10.5px;
  --fs-eyebrow:     10.5px;
  --fs-caption:     8.5px;

  /* ---------- LINE HEIGHTS ---------- */
  --lh-tight:   0.92; /* @kind other */
  --lh-snug:    1.1;  /* @kind other */
  --lh-heading: 1.25; /* @kind other */
  --lh-body:    1.6;  /* @kind other */
  --lh-loose:   1.65; /* @kind other */

  /* ---------- LETTER SPACING ---------- */
  --ls-display: -0.04em;  /* @kind other */ /* large display, tightened */
  --ls-title:   -0.03em;  /* @kind other */
  --ls-tight:   -0.01em;  /* @kind other */
  --ls-normal:  0;        /* @kind other */
  --ls-eyebrow: 0.16em;   /* @kind other */ /* UI eyebrows / labels */
  --ls-wide:    0.2em;    /* @kind other */ /* widest tracked labels */
}

/* =========================================================
   SPACING, RADII, SHADOWS, PAGE — Mika Design System
   ========================================================= */

.ai-page {
  /* ---------- SPACING SCALE (px) ---------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  22px;
  --space-6:  28px;
  --space-7:  36px;
  --space-8:  48px;

  /* ---------- RADII ---------- */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-pill: 999px;

  /* ---------- SHADOWS ----------
     The signature elevation is the A4 page floating on the
     dark surround. Cards inside the page stay nearly flat. */
  --shadow-page: 0 24px 60px -20px rgba(0,0,0,0.6), 0 8px 20px -8px rgba(0,0,0,0.4);
  --shadow-card: 0 1px 2px rgba(11,19,34,0.06);
  --shadow-none: none;

  /* ---------- BORDERS ---------- */
  --border-hairline: 1px solid var(--paper-3);
  --border-accent:   2px solid var(--flame-500);
  --border-quote:    2px solid var(--flame-500); /* pull-quote left rule */

  /* ---------- A4 PAGE GEOMETRY ---------- */
  --page-w:        210mm; /* @kind spacing */
  --page-h:        297mm; /* @kind spacing */
  --page-margin-x: 22mm;
  --page-margin-y: 24mm;

  /* ---------- MOTION ----------
     Quiet, fast, no bounce. Hovers shift color, not position. */
  --ease:        cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --dur-fast:    0.12s; /* @kind other */
  --dur-base:    0.2s;  /* @kind other */
}

/* =========================================================
   AIdlagastronomii.pl — landing page
   Zbudowany na Mika Design System (navy + flame + cream).
   Wymaga: assets/ds/styles.css (tokeny) załadowanego wcześniej.
   ========================================================= */

/* ---------- RESET / BAZA ---------- */
.ai-page *, .ai-page *::before, .ai-page *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
  .ai-page *, .ai-page *::before, .ai-page *::after { transition: none !important; animation: none !important; }
}
.ai-page {
  margin: 0;
  background: var(--surround);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body-screen);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.ai-page h1, .ai-page h2, .ai-page h3, .ai-page h4, .ai-page p, .ai-page ul, .ai-page ol, .ai-page figure, .ai-page dl, .ai-page dd, .ai-page dt { margin: 0; }
.ai-page ul, .ai-page ol { padding: 0; list-style: none; }
.ai-page a { color: var(--text-accent); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.ai-page a:hover { color: var(--flame-500); }
.ai-page img { max-width: 100%; display: block; }
.ai-page ::selection { background: var(--flame-100); color: var(--ink-900); }
.ai-page :focus-visible { outline: 2px solid var(--flame-600); outline-offset: 2px; }

.ai-page .skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--flame-500); color: var(--ink-900);
  font-family: var(--font-ui); font-weight: var(--fw-semibold); font-size: 13px;
  padding: 10px 16px;
}
.ai-page .skip-link:focus { left: 12px; top: 12px; }

/* ---------- KARTKA (sheet) — strona jako obiekt na ciemnym tle ---------- */
.ai-page {
  max-width: 1140px;
  margin: 0 auto;
  background: var(--surface-page);
  box-shadow: var(--shadow-page);
  position: relative;
}
@media (min-width: 1180px) {
  .ai-page { margin: 40px auto 64px; }
}

/* ---------- TYPOGRAFIA ---------- */
.ai-page .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: var(--fw-semibold);
  font-size: 11px; line-height: 1; letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase; color: var(--brand-accent-ink);
}
.ai-page .eyebrow .rule { width: 22px; height: 1px; background: currentColor; flex: none; }
.ai-page .eyebrow .no { font-family: var(--font-mono); font-weight: var(--fw-medium); letter-spacing: 0.08em; }
.ai-page .on-dark .eyebrow { color: var(--flame-500); }

.ai-page .h-display {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-title); line-height: 1.08;
  color: var(--text-strong);
  font-size: clamp(30px, 4.6vw, 42px);
}
.ai-page .h-display em { font-style: italic; }
.ai-page .h-display .dot, .ai-page .wordmark .dot { color: var(--flame-500); }

.ai-page .lede {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(16.5px, 2.2vw, 19px); line-height: 1.55;
  color: var(--text-muted);
}

.ai-page .prose { max-width: 680px; color: var(--text-body); }
.ai-page .prose strong, .ai-page .bio strong { font-weight: var(--fw-semibold); color: var(--text-strong); }

/* ---------- WORDMARK ---------- */
.ai-page .wordmark {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight); color: var(--text-strong);
  font-size: 17px; line-height: 1; white-space: nowrap;
}
.ai-page .on-dark .wordmark { color: var(--text-on-dark); }

/* ---------- PRZYCISKI ---------- */
.ai-page .btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: var(--fw-semibold);
  font-size: 12.5px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--flame-500); color: var(--ink-900);
  border: none; border-radius: var(--r-sm);
  padding: 15px 24px; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.ai-page .btn:hover { background: var(--flame-400); color: var(--ink-900); transform: translateY(-1px); }
.ai-page .btn:active { background: var(--flame-600); transform: none; }
.ai-page .btn--ghost {
  background: transparent; color: var(--flame-400);
  border: 1px solid var(--flame-500);
}
.ai-page .btn--ghost:hover { background: rgba(243, 144, 33, 0.1); color: var(--flame-400); }
.ai-page .btn[disabled] { opacity: 0.6; cursor: default; }
.ai-page .btn--sm { padding: 11px 16px; font-size: 11.5px; }

.ai-page .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: var(--space-7); }
.ai-page .cta-note {
  font-family: var(--font-ui); font-weight: var(--fw-medium); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint);
}
.ai-page .cta-micro {
  margin-top: var(--space-3);
  font-style: italic; font-size: 14px; color: var(--text-faint);
}

/* ---------- SEKCJE ---------- */
.ai-page .section { padding: clamp(56px, 8vw, 92px) clamp(22px, 6vw, 84px); }
.ai-page .section--rule { border-top: var(--border-hairline); }
.ai-page .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.ai-page .section-head .h-display { margin-top: 14px; }
.ai-page .section-head .lede { margin-top: 14px; max-width: 640px; }
.ai-page [id] { scroll-margin-top: 84px; }

/* ---------- PASEK GÓRNY (sticky) ---------- */
.ai-page .topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  background: var(--surface-page);
  border-bottom: var(--border-hairline);
  padding: 0 clamp(16px, 3vw, 28px);
  min-height: 60px;
}
.ai-page .topbar nav { display: flex; gap: clamp(12px, 2vw, 22px); }
.ai-page .topbar nav a {
  font-family: var(--font-ui); font-weight: var(--fw-semibold);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); padding: 6px 2px;
}
.ai-page .topbar nav a:hover { color: var(--brand-accent-ink); }
.ai-page .topbar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.ai-page .topbar-meta {
  font-family: var(--font-ui); font-weight: var(--fw-medium); font-size: 11.5px;
  letter-spacing: 0.04em; color: var(--text-muted); white-space: nowrap;
}
.ai-page .topbar-meta strong { color: var(--text-strong); font-weight: var(--fw-semibold); }
@media (max-width: 940px) { .ai-page .topbar-meta { display: none; } }
@media (max-width: 760px) {
  .ai-page .topbar nav { display: none; }
  .ai-page .topbar .btn { display: none; }
  .ai-page .topbar { min-height: 52px; }
}

/* ---------- PASEK DOLNY (mobile) ---------- */
.ai-page .mobilebar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--ink-900); color: var(--text-on-dark);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  align-items: center; gap: 12px;
  border-top: 1px solid rgba(245, 241, 234, 0.12);
}
.ai-page .mobilebar-count {
  font-family: var(--font-ui); font-weight: var(--fw-medium);
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245, 241, 234, 0.75); line-height: 1.35;
}
.ai-page .mobilebar-count strong { color: var(--flame-500); font-weight: var(--fw-semibold); }
.ai-page .mobilebar .btn { margin-left: auto; flex: none; }
@media (max-width: 760px) {
  .ai-page .mobilebar { display: flex; }
  body.ai-body { padding-bottom: 64px; }
}

/* ---------- HERO (okładka) ---------- */
.ai-page .hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 700px at 82% -10%, rgba(243, 144, 33, 0.1), transparent 60%),
    radial-gradient(900px 620px at -8% 108%, rgba(243, 144, 33, 0.06), transparent 55%),
    var(--surface-dark);
  color: var(--text-on-dark);
  padding: clamp(56px, 8vw, 96px) clamp(22px, 6vw, 84px) clamp(48px, 7vw, 80px);
}
.ai-page .hero-ghost {
  position: absolute; right: -2%; top: -6%; z-index: 0;
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(260px, 38vw, 460px); line-height: 1; letter-spacing: var(--ls-display);
  color: transparent; -webkit-text-stroke: 1.5px rgba(245, 241, 234, 0.05);
  pointer-events: none; user-select: none;
}
.ai-page .hero-inner { position: relative; z-index: 1; max-width: 1000px; }
.ai-page .hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 400px;
  gap: clamp(32px, 4.5vw, 60px); align-items: center;
}
.ai-page .hero h1 {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04;
  letter-spacing: var(--ls-title); color: var(--paper);
}
.ai-page .hero h1 .dot { color: var(--flame-500); }
.ai-page .hero .lede { margin-top: 20px; color: rgba(245, 241, 234, 0.85); max-width: 560px; font-size: clamp(16px, 1.9vw, 18px); }

/* Odręczne podkreślenie kluczowego słowa */
.ai-page .squiggle { position: relative; white-space: nowrap; }
.ai-page .squiggle svg { position: absolute; left: -1%; bottom: -0.24em; width: 102%; height: 0.3em; overflow: visible; }
.ai-page .squiggle path {
  fill: none; stroke: var(--flame-500); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 520; stroke-dashoffset: 520;
  animation: squiggle-draw 0.5s ease-out 0.45s forwards;
}
@keyframes squiggle-draw { to { stroke-dashoffset: 0; } }

/* Linia zaufania z monogramami */
.ai-page .hero-trust { margin-top: 28px; display: flex; align-items: center; gap: 13px; max-width: 560px; }
.ai-page .hero-trust p { font-size: 13.5px; line-height: 1.5; color: rgba(245, 241, 234, 0.7); }
.ai-page .hero-trust p strong { color: var(--paper); font-weight: var(--fw-semibold); }
.ai-page .mono-stack { display: flex; flex: none; }
.ai-page .mono-stack .monogram { width: 36px; height: 36px; font-size: 13px; border: 2px solid var(--ink-800); }
.ai-page .mono-stack > * + * { margin-left: -10px; }
.ai-page .avatar-img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--ink-800); flex: none; display: block;
}

/* Karteczka: wieczorna lista zadań, którą przejmuje AI */
.ai-page .hero-note {
  position: relative;
  background: var(--surface-page); color: var(--text-body);
  border-radius: var(--r-md); box-shadow: var(--shadow-page);
  padding: 26px 24px 20px; transform: rotate(1.6deg);
}
.ai-page .note-tape {
  position: absolute; top: -11px; left: 50%;
  width: 92px; height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(243, 144, 33, 0.32);
  border-left: 1px dashed rgba(194, 98, 0, 0.35);
  border-right: 1px dashed rgba(194, 98, 0, 0.35);
}
.ai-page .note-head {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-faint);
  padding-bottom: 12px; border-bottom: var(--border-hairline);
}
.ai-page .note-list { margin-top: 6px; }
.ai-page .note-item {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0; border-bottom: 1px dashed var(--paper-3);
}
.ai-page .note-item:last-child { border-bottom: none; }
.ai-page .note-item .check { position: relative; top: auto; left: auto; flex: none; align-self: center; }
.ai-page .note-text { position: relative; font-size: 14.5px; line-height: 1.4; color: var(--text-strong); }
.ai-page .note-tag {
  flex: none; align-self: center; margin-left: auto;
  font-family: var(--font-ui); font-weight: var(--fw-semibold);
  font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-accent-ink);
  border: 1px solid var(--flame-500); border-radius: var(--r-pill);
  padding: 4px 8px;
}
.ai-page .note-tag--you { background: var(--flame-500); color: var(--ink-900); border-color: var(--flame-500); }
.ai-page .note-foot {
  margin-top: 12px; font-style: italic; font-size: 13.5px; color: var(--text-muted);
}

/* Skreślanie zadań — sekwencyjnie, raz, po załadowaniu */
.ai-page .note-item.done .note-text::after {
  content: ""; position: absolute; left: -3px; right: 100%; top: 52%; height: 2px;
  background: var(--flame-600); border-radius: 2px; transform: rotate(-0.6deg);
  animation: note-strike 0.3s var(--ease) forwards; animation-delay: var(--d, 0s);
}
.ai-page .note-item.done .note-text { animation: note-dim 0.01s forwards; animation-delay: calc(var(--d, 0s) + 0.25s); }
.ai-page .note-item.done .check--done::after { opacity: 0; animation: note-pop 0.15s forwards; animation-delay: var(--d, 0s); }
.ai-page .note-item.done .note-tag { opacity: 0; animation: note-fade 0.25s forwards; animation-delay: calc(var(--d, 0s) + 0.2s); }
@keyframes note-strike { to { right: -3px; } }
@keyframes note-dim { to { color: var(--text-3); } }
@keyframes note-pop { to { opacity: 1; } }
@keyframes note-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ai-page .squiggle path { animation: none; stroke-dashoffset: 0; }
  .ai-page .note-item.done .note-text::after { animation: none; right: -3px; }
  .ai-page .note-item.done .note-text { animation: none; color: var(--text-3); }
  .ai-page .note-item.done .check--done::after { animation: none; opacity: 1; }
  .ai-page .note-item.done .note-tag { animation: none; opacity: 1; }
}
@media (max-width: 940px) {
  .ai-page .hero-grid { grid-template-columns: 1fr; }
  .ai-page .hero-note { max-width: 430px; transform: rotate(0.8deg); margin-top: 10px; }
}
/* Na wąskich ekranach pozycje listy zawijają się do 2 wierszy —
   skreślamy natywnym line-through (per wiersz), nie rysowaną kreską. */
@media (max-width: 560px) {
  .ai-page .note-item.done .note-text::after { display: none; }
  .ai-page .note-item.done .note-text {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: transparent;
    animation: note-dim 0.01s forwards, note-strike-m 0.2s forwards;
    animation-delay: calc(var(--d, 0s) + 0.25s), var(--d, 0s);
  }
}
@keyframes note-strike-m { to { text-decoration-color: var(--flame-600); } }
@media (max-width: 560px) and (prefers-reduced-motion: reduce) {
  .ai-page .note-item.done .note-text { animation: none; color: var(--text-3); text-decoration-color: var(--flame-600); }
}

.ai-page .monogram {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--flame-500); color: var(--ink-900);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 16px; letter-spacing: -0.02em;
}
.ai-page .monogram--lg { width: 64px; height: 64px; font-size: 24px; }

/* Ramka z faktami */
.ai-page .facts {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(245, 241, 234, 0.16);
  border-bottom: 1px solid rgba(245, 241, 234, 0.16);
}
.ai-page .fact { padding: 18px 18px 18px 0; }
.ai-page .facts .fact + .fact { border-left: 1px solid rgba(245, 241, 234, 0.16); padding-left: 18px; }
.ai-page .fact-label {
  font-family: var(--font-ui); font-weight: var(--fw-semibold);
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245, 241, 234, 0.55);
}
.ai-page .fact-value {
  margin-top: 9px;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 17px; line-height: 1.2; letter-spacing: var(--ls-tight); color: var(--paper);
}
.ai-page .fact-value .accent { color: var(--flame-500); }
.ai-page .fact-sub { margin-top: 6px; font-size: 13px; line-height: 1.45; color: rgba(245, 241, 234, 0.65); }
@media (max-width: 860px) {
  .ai-page .facts { grid-template-columns: 1fr 1fr; }
  .ai-page .facts .fact:nth-child(3) { border-left: none; padding-left: 0; }
  .ai-page .facts .fact:nth-child(1), .ai-page .facts .fact:nth-child(2) { border-bottom: 1px solid rgba(245, 241, 234, 0.16); }
}
@media (max-width: 480px) {
  .ai-page .facts { grid-template-columns: 1fr; }
  .ai-page .facts .fact + .fact { border-left: none; padding-left: 0; border-top: 1px solid rgba(245, 241, 234, 0.16); }
  .ai-page .facts .fact { border-bottom: none !important; }
}

.ai-page .hero-argument {
  margin-top: 34px; max-width: 660px;
  border-left: var(--border-quote); padding-left: 18px;
  font-size: 16px; line-height: 1.65; color: rgba(245, 241, 234, 0.82);
}
.ai-page .hero .cta-micro { color: rgba(245, 241, 234, 0.6); }
.ai-page .hero .cta-note { color: rgba(245, 241, 234, 0.6); }

/* ---------- PASEK KORZYŚCI ---------- */
.ai-page .perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ai-page .perk {
  background: var(--surface-dark); color: var(--paper);
  border-radius: var(--r-md); padding: 22px 20px 20px;
}
.ai-page .perk p { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: rgba(245, 241, 234, 0.72); }
.ai-page .perk p.perk-title {
  margin-top: 0;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 20px; line-height: 1.15; letter-spacing: var(--ls-tight);
  color: var(--paper);
}
.ai-page .perk-title .num { color: var(--flame-500); font-feature-settings: "tnum"; }
.ai-page .perk--flame { background: var(--surface-accent); color: var(--ink-900); }
.ai-page .perk--flame p { color: rgba(11, 19, 34, 0.75); }
.ai-page .perk--flame p.perk-title { color: var(--ink-900); }
@media (max-width: 940px) { .ai-page .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ai-page .perks { grid-template-columns: 1fr; } }

/* ---------- KURS POLECAMY ---------- */
.ai-page .audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.ai-page .audience-item { border-top: var(--border-hairline); padding-top: 18px; }
.ai-page .audience-item h3 {
  position: relative; padding-left: 17px;
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 19px; line-height: 1.25; letter-spacing: var(--ls-tight); color: var(--text-strong);
}
.ai-page .audience-item h3::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--flame-500);
}
.ai-page .audience-item p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
@media (max-width: 860px) { .ai-page .audience { grid-template-columns: 1fr; } }

/* ---------- CHECKLISTY ---------- */
.ai-page .checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; max-width: 940px; }
.ai-page .checklist li {
  position: relative; padding-left: 26px;
  font-size: 15.5px; line-height: 1.5; color: var(--text-strong);
}
.ai-page .check {
  position: absolute; left: 0; top: 3px;
  width: 14px; height: 14px; border-radius: 3px;
  border: 1.5px solid var(--flame-500);
}
.ai-page .check--done::after {
  content: ""; position: absolute; inset: 1px;
  background:
    linear-gradient(45deg, transparent 44%, var(--flame-600) 44%, var(--flame-600) 56%, transparent 56%),
    linear-gradient(135deg, transparent 44%, var(--flame-600) 44%, var(--flame-600) 56%, transparent 56%);
}
@media (max-width: 760px) { .ai-page .checklist { grid-template-columns: 1fr; } }

/* ---------- PIĘĆ TEMATÓW ---------- */
.ai-page .topics { max-width: 860px; }
.ai-page .topic {
  display: grid; grid-template-columns: 96px 1fr; gap: clamp(16px, 3vw, 32px);
  padding: 26px 0; border-top: var(--border-hairline);
}
.ai-page .topic:last-child { border-bottom: var(--border-hairline); }
.ai-page .topic-no {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(52px, 7vw, 72px); line-height: 0.9; letter-spacing: var(--ls-display);
  color: var(--flame-500); font-feature-settings: "tnum";
}
.ai-page .topic h3 {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 21px; line-height: 1.25; letter-spacing: var(--ls-tight); color: var(--text-strong);
}
.ai-page .topic p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--text-muted); max-width: 640px; }
@media (max-width: 560px) {
  .ai-page .topic { grid-template-columns: 1fr; gap: 8px; }
  .ai-page .topic-no { font-size: 44px; }
}

/* ---------- PROWADZĄCY ---------- */
.ai-page .hosts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 28px); }
.ai-page .host-card {
  background: var(--surface-raised); border: var(--border-hairline);
  border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 32px);
}
.ai-page .host-media {
  aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden;
  margin: 0 0 20px; background: var(--paper-3);
}
.ai-page .host-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-page .host-media--mark {
  display: grid; place-items: center;
  background:
    radial-gradient(560px 380px at 78% -20%, rgba(243, 144, 33, 0.12), transparent 60%),
    var(--ink-800);
}
.ai-page .host-media--mark span {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(64px, 7vw, 92px); line-height: 1;
  letter-spacing: var(--ls-display); color: var(--paper);
}
.ai-page .host-media--mark .dot { color: var(--flame-500); }
.ai-page .host-head { display: flex; align-items: center; gap: 16px; }
.ai-page .host-head h3 {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 23px; letter-spacing: var(--ls-tight); color: var(--text-strong);
}
.ai-page .host-role {
  margin-top: 4px;
  font-family: var(--font-ui); font-weight: var(--fw-medium); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-accent-ink);
}
.ai-page .bio { margin-top: 18px; display: grid; gap: 10px; }
.ai-page .bio li {
  position: relative; padding-left: 17px;
  font-size: 14.5px; line-height: 1.55; color: var(--text-muted);
}
.ai-page .bio li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--flame-500);
}
@media (max-width: 860px) { .ai-page .hosts { grid-template-columns: 1fr; } }

/* ---------- PROGRAM ---------- */
.ai-page .module { padding: 30px 0 26px; border-top: var(--border-hairline); }
.ai-page .module-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.ai-page .module-no {
  font-family: var(--font-ui); font-weight: var(--fw-semibold);
  font-size: 10.5px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--brand-accent-ink); white-space: nowrap;
}
.ai-page .module-head h3 {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: clamp(21px, 2.6vw, 25px); letter-spacing: var(--ls-tight); color: var(--text-strong);
}
.ai-page .module-rule { width: 44px; height: 2px; background: var(--flame-500); margin-top: 14px; }
.ai-page .module-groups {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px clamp(24px, 4vw, 48px);
}
.ai-page .module-group h4 {
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 16px; letter-spacing: var(--ls-tight); color: var(--text-strong);
}
.ai-page .module-group ul { margin-top: 10px; display: grid; gap: 8px; }
.ai-page .module-group li {
  position: relative; padding-left: 16px;
  font-size: 14.5px; line-height: 1.5; color: var(--text-muted);
}
.ai-page .module-group li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--flame-500);
}
@media (max-width: 760px) { .ai-page .module-groups { grid-template-columns: 1fr; } }

.ai-page .takeaway {
  margin-top: 36px;
  background: var(--surface-accent-soft); border: 1px solid var(--flame-100);
  border-left: 3px solid var(--flame-500);
  border-radius: var(--r-md); padding: clamp(20px, 3vw, 28px);
}
.ai-page .takeaway h3 {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 20px; letter-spacing: var(--ls-tight); color: var(--text-strong);
}
.ai-page .takeaway .checklist { margin-top: 16px; gap: 10px 36px; }
.ai-page .takeaway .checklist li { font-size: 15px; }

/* ---------- FAQ ---------- */
.ai-page .faq { max-width: 820px; }
.ai-page .faq details { border-top: var(--border-hairline); }
.ai-page .faq details:last-child { border-bottom: var(--border-hairline); }
.ai-page .faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 18px 0;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 17.5px; letter-spacing: var(--ls-tight); color: var(--text-strong);
  transition: color var(--dur-fast) var(--ease);
}
.ai-page .faq summary::-webkit-details-marker { display: none; }
.ai-page .faq summary:hover { color: var(--brand-accent-ink); }
.ai-page .faq summary::after {
  content: "+"; flex: none;
  font-family: var(--font-display); font-weight: var(--fw-regular);
  font-size: 22px; line-height: 1; color: var(--flame-500);
}
.ai-page .faq details[open] summary::after { content: "\2212"; }
.ai-page .faq .answer { padding: 0 0 20px; max-width: 680px; font-size: 15.5px; color: var(--text-muted); }

/* ---------- FORMULARZ ---------- */
.ai-page .signup {
  background:
    radial-gradient(900px 600px at 12% 110%, rgba(243, 144, 33, 0.07), transparent 60%),
    var(--surface-dark);
  color: var(--text-on-dark);
}
.ai-page .signup-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(28px, 5vw, 64px); align-items: start;
}
.ai-page .signup .h-display { color: var(--paper); }
.ai-page .signup .lede { color: rgba(245, 241, 234, 0.8); margin-top: 16px; }
.ai-page .signup-points { margin-top: 26px; display: grid; gap: 10px; }
.ai-page .signup-points li {
  position: relative; padding-left: 17px;
  font-size: 14.5px; line-height: 1.5; color: rgba(245, 241, 234, 0.72);
}
.ai-page .signup-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--flame-500);
}
@media (max-width: 860px) { .ai-page .signup-grid { grid-template-columns: 1fr; } }

.ai-page .form-card {
  background: var(--surface-page); color: var(--text-body);
  border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 32px);
}
.ai-page .form-card .field { margin-bottom: 16px; }
.ai-page .form-card label.field-label {
  display: block; margin-bottom: 7px;
  font-family: var(--font-ui); font-weight: var(--fw-semibold);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.ai-page .form-card input[type="text"], .ai-page .form-card input[type="email"], .ai-page .form-card input[type="tel"], .ai-page .form-card textarea {
  width: 100%; display: block;
  background: #fff;
  border: 1px solid var(--paper-3); border-radius: var(--r-sm);
  padding: 12px 13px;
  font-family: var(--font-ui); font-size: 15px; color: var(--text-strong);
  transition: border-color var(--dur-fast) var(--ease);
}
.ai-page .form-card input:focus, .ai-page .form-card textarea:focus {
  outline: none; border-color: var(--flame-500);
}
.ai-page .consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ai-page .consent input[type="checkbox"] {
  width: 15px; height: 15px; margin-top: 3px; flex: none;
  accent-color: var(--flame-600);
}
.ai-page .consent span { font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.ai-page .consent a { text-decoration: underline; text-underline-offset: 2px; }
.ai-page .form-card .btn { width: 100%; margin-top: 8px; }
.ai-page .form-legal { margin-top: 14px; font-style: italic; font-size: 12px; line-height: 1.5; color: var(--text-faint); }
.ai-page .form-status { margin-top: 12px; font-size: 13.5px; color: var(--warn); display: none; }
.ai-page .form-status.visible { display: block; }

/* ---------- STOPKA ---------- */
.ai-page .footer {
  background: var(--ink-900); color: rgba(245, 241, 234, 0.65);
  padding: 34px clamp(22px, 6vw, 84px) 40px;
  border-top: 1px solid rgba(245, 241, 234, 0.1);
}
.ai-page .footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.ai-page .footer .wordmark { color: var(--paper); }
.ai-page .footer-links { margin-left: auto; display: flex; gap: 20px; }
.ai-page .footer-links a {
  font-family: var(--font-ui); font-weight: var(--fw-medium); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(245, 241, 234, 0.65);
}
.ai-page .footer-links a:hover { color: var(--flame-500); }
.ai-page .footer-meta {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(245, 241, 234, 0.1);
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  font-size: 13px;
}
.ai-page .footer-meta .mono {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(245, 241, 234, 0.45); margin-left: auto;
}

/* ---------- STRONY PRAWNE ---------- */
.ai-page .legal { max-width: 760px; }
.ai-page .legal h2 {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 21px; letter-spacing: var(--ls-tight); color: var(--text-strong);
  margin: 36px 0 12px;
}
.ai-page .legal p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; color: var(--text-body); }
.ai-page .legal ul, .ai-page .legal ol { margin: 0 0 12px; padding-left: 24px; }
.ai-page .legal ul { list-style: disc; }
.ai-page .legal ol { list-style: decimal; }
.ai-page .legal li { margin-bottom: 8px; font-size: 15.5px; line-height: 1.6; color: var(--text-body); }
.ai-page .legal li::marker { color: var(--brand-accent-ink); font-weight: var(--fw-semibold); }
.ai-page .legal a { text-decoration: underline; text-underline-offset: 2px; }
.ai-page .legal .todo {
  background: var(--warn-bg); color: var(--warn-rule);
  border: 1px solid var(--warn); border-radius: var(--r-sm);
  padding: 1px 7px; font-style: normal; font-weight: var(--fw-semibold);
}
.ai-page .legal-meta {
  margin-top: 36px; padding-top: 16px; border-top: var(--border-hairline);
  font-style: italic; font-size: 13.5px; color: var(--text-faint);
}

/* ---------- STRONA PODZIĘKOWANIA ---------- */
.ai-page .thanks-hero {
  background:
    radial-gradient(900px 600px at 80% -20%, rgba(243, 144, 33, 0.08), transparent 60%),
    var(--surface-dark);
  color: var(--text-on-dark);
  padding: clamp(56px, 8vw, 88px) clamp(22px, 6vw, 84px);
}
.ai-page .thanks-hero h1 {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(38px, 6vw, 64px); line-height: 1.02; letter-spacing: var(--ls-display);
  color: var(--paper); max-width: 760px;
}
.ai-page .thanks-hero h1 .dot { color: var(--flame-500); }
.ai-page .thanks-hero .lede { margin-top: 18px; color: rgba(245, 241, 234, 0.82); max-width: 620px; }

.ai-page .survey-q { margin-bottom: 26px; }
.ai-page .survey-q .q-label {
  display: block; margin-bottom: 12px;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 17px; letter-spacing: var(--ls-tight); color: var(--text-strong);
}
.ai-page .pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-page .pill { position: relative; }
.ai-page .pill input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; cursor: pointer; }
.ai-page .pill span {
  display: inline-block; padding: 9px 15px;
  border: 1px solid var(--flame-500); border-radius: var(--r-pill);
  font-family: var(--font-ui); font-weight: var(--fw-semibold);
  font-size: 12px; letter-spacing: 0.05em;
  color: var(--brand-accent-ink); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.ai-page .pill input:checked + span { background: var(--flame-500); color: var(--ink-900); }
.ai-page .pill input:focus-visible + span { outline: 2px solid var(--flame-600); outline-offset: 2px; }
.ai-page .pill span:hover { background: rgba(243, 144, 33, 0.08); }
.ai-page .pill input:checked + span:hover { background: var(--flame-500); }

/* ---------- Dopasowanie do serwisu ---------- */
/* Pasek sekcji landingu przykleja sie pod naglowkiem serwisu (74 px). */
.ai-page .topbar { top: 74px; z-index: 40; }

/* Landing jest kremowa „kartka” rzucona na ciemne tlo (token --surround
   z Mika Design System, #2A2520). Kartka to .ai-page, wiec tlo musi
   siedziec na <body>; tam tokeny podstrony juz nie siegaja, stad hex. */
body.ai-body { background: #2A2520; }

/* Naglowek serwisu jest przezroczysty w 90% — nad ciemnym tlem robil sie
   brudny, wiec na tej jednej podstronie kryje w pelni. */
body.ai-body .site-header { background: var(--background); }
