/* AI-Team „mega" (kierunek A: Pracownia). Jeden system na wszystkie strony: papier, grafit, zieleń statusu.
   Nagłówki Inter Tight, tekst Inter, liczby i etykiety Geist Mono. Zero gradientów, cienkie linie, siatka 12. */

:root {
  --paper: #FAFAF7;
  --card: #FFFFFF;
  --ink: #1B1B1B;
  --ink-2: #45453F;
  --mute: #75756E;
  --line: #E4E2DA;
  --line-2: #CFCDC4;
  --green: #1E8A5A;
  --green-ink: #176B46;
  --green-soft: #E7F3EC;
  --blue-line: #C9D6E6;
  --blue-soft: #EEF3F8;
  --warn-soft: #FBF1DC;
  --warn-ink: #8A5A0E;
  --f-head: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --w: 1200px;
  --pad: 24px;
  --r: 6px;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--green-soft); }

/* typografia */
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -0.028em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.024em; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.small { font-size: 14px; line-height: 1.55; color: var(--mute); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--ink); }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
strong { font-weight: 600; }

/* siatka */
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.sec { padding: 96px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: 48px; }
.sec-head > .t { grid-column: 1 / span 7; }
.sec-head > .lead { grid-column: 8 / span 5; margin-bottom: 6px; }
.sec-head h2 { max-width: 16ch; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; padding: 14px 22px; border-radius: var(--r); text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: #fff; line-height: 1.1; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: #fff; }
.btn.green { background: var(--green); border-color: var(--green); }
.btn.green:hover { background: var(--green-ink); }
.btn.sm { font-size: 14px; padding: 10px 14px; }
.btn .arr { font-family: var(--f-mono); font-weight: 400; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: border-color .15s; }
.link:hover { border-color: var(--ink); }
.link .arr { font-family: var(--f-mono); margin-left: 6px; }

/* karty */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.card.pad-lg { padding: 36px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--ink-2); display: flex; gap: 12px; align-items: baseline; }
.rows li::before { content: ''; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--green); position: relative; top: -2px; }
.rows li:last-child { border-bottom: 1px solid var(--line); }

/* status */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(30, 138, 90, .45); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 138, 90, .45); } 70% { box-shadow: 0 0 0 9px rgba(30, 138, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 138, 90, 0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: #fff; white-space: nowrap; }
.chip.ok { background: var(--green-soft); border-color: transparent; color: var(--green-ink); }
.chip.wait { background: var(--warn-soft); border-color: transparent; color: var(--warn-ink); }

/* nawigacja */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 247, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.solid { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand .tag { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.08em; color: var(--mute); text-transform: uppercase; margin-left: 6px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: var(--r); transition: color .15s, background .15s; }
.menu a:hover { color: var(--ink); background: #fff; }
.menu a[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: 8px; }
.menu .btn { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: #fff; border-radius: var(--r); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .menu { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--pad) 20px; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.open .menu { display: flex; }
  .menu a { padding: 12px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu .btn { display: inline-flex; margin: 14px 0 0; border-bottom: 0; }
  .burger { display: block; }
  .nav > .wrap > .btn { display: none; }
  .brand .tag { display: none; }
}

/* hero */
.hero { padding: 72px 0 80px; }
.hero .grid { align-items: center; }
.hero .copy { grid-column: 1 / span 6; }
.hero .side { grid-column: 7 / span 6; }
.hero h1 { margin: 18px 0 22px; max-width: 12ch; }
.hero .lead { margin-bottom: 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.proof span { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--mute); text-transform: uppercase; }
.proof b { color: var(--ink); font-weight: 500; }

/* plansza: dzień z Działem AI */
.hero .side { position: relative; }
.zap { position: absolute; top: -70px; left: -70px; pointer-events: none; z-index: 0; }
.board { position: relative; z-index: 1; }
.board { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.board-head .title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.board-head .mono { font-size: 11px; }
.board-ctl { padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; }
.board-ctl label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); display: block; margin-bottom: 6px; }
.board-ctl input { width: 100%; font: 500 16px/1.2 var(--f-body); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 11px 12px; outline: none; transition: border-color .15s; }
.board-ctl input:focus { border-color: var(--ink); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.03em; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tabs button:hover { border-color: var(--ink); color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.log { list-style: none; margin: 0; padding: 6px 0; min-height: 372px; overflow-y: auto; }
.ev { display: grid; grid-template-columns: 58px 1fr; gap: 0 12px; padding: 11px 18px; border-top: 1px solid var(--line); opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.ev:first-child { border-top: 0; }
.ev.in { opacity: 1; transform: none; }
.ev .t { font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); padding-top: 3px; font-variant-numeric: tabular-nums; }
.ev .who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.ev .role { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-ink); }
.ev .txt { font-size: 15px; line-height: 1.45; color: var(--ink); }
.ev .txt b { font-weight: 600; }
.ev.wait .role { color: var(--warn-ink); }
.board-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.board-foot .small { font-size: 13px; flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-foot .link { flex: 0 0 auto; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .ev { transition: none; } }

/* cennik: trzy wejścia */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price { display: flex; flex-direction: column; gap: 18px; }
.price .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.price .amount, .price-wide .amount { font-family: var(--f-head); font-weight: 600; font-size: 40px; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.price .amount small, .price-wide .amount small { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.02em; font-weight: 400; color: var(--mute); margin-left: 6px; }
.price .rows { margin-top: 4px; }
.price .pfoot { margin-top: auto; padding-top: 6px; }
.price-wide { margin-top: 24px; display: grid; grid-template-columns: 2fr 1.2fr auto; gap: 24px; align-items: center; }
.price-note { margin-top: 20px; }
@media (max-width: 960px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-wide { grid-template-columns: 1fr; }
}

/* dowody */
.col-shot { grid-column: 1 / span 7; }
.col-stat { grid-column: 8 / span 5; }
.shot { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.shot img { width: 100%; }
.shot .cap { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin: 28px 0; }
.stats div { padding: 18px 20px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats .n { font-family: var(--f-head); font-weight: 600; font-size: 32px; letter-spacing: -0.03em; line-height: 1; display: block; margin-bottom: 6px; }
.stats .l { font-size: 13px; color: var(--mute); line-height: 1.35; display: block; }
.quote { border-left: 2px solid var(--green); padding: 4px 0 4px 18px; font-size: 18px; line-height: 1.5; color: var(--ink); }
.quote cite { display: block; font-style: normal; font-size: 13px; color: var(--mute); margin-top: 8px; font-family: var(--f-mono); }

/* proces */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 1px solid var(--ink); }
.step .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--mute); text-transform: uppercase; display: block; margin-bottom: 12px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* opinie */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { display: flex; flex-direction: column; gap: 16px; }
.review p { font-size: 16px; line-height: 1.55; }
.review .who { margin-top: auto; font-size: 13px; color: var(--mute); line-height: 1.4; }
.review .who b { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } }

/* o autorze */
.about .photo { grid-column: 1 / span 4; }
.about .photo img { border-radius: 8px; border: 1px solid var(--line); }
.about .txt { grid-column: 6 / span 7; }
.about .txt p + p { margin-top: 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 28px; border-top: 1px solid var(--line); }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); display: block; margin-bottom: 2px; }

/* radar */
.radar { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: center; }
.radar .card { display: grid; gap: 10px; }
.radar .issue { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.radar .issue:first-of-type { border-top: 0; }
.radar .issue span:last-child { font-family: var(--f-mono); font-size: 12px; color: var(--mute); white-space: nowrap; }
@media (max-width: 960px) { .radar { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-family: var(--f-head); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--f-mono); font-size: 20px; color: var(--mute); flex: 0 0 auto; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 960px) { .faq { grid-template-columns: 1fr; } }

/* kontakt */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: center; }
.contact .ways { display: grid; gap: 0; }
.contact .way { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; }
.contact .way:last-child { border-bottom: 1px solid var(--line); }
.contact .way .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.contact .way .v { font-weight: 500; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* stopka */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #fff; }
.foot .cols { display: grid; grid-template-columns: 4fr 2fr 2fr 2fr 2fr; gap: 24px; }
.foot h4 { font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.foot a { display: block; text-decoration: none; font-size: 15px; color: var(--ink-2); padding: 4px 0; }
.foot a:hover { color: var(--ink); }
.foot .brand { margin-bottom: 14px; }
.foot .small { max-width: 34ch; }
.foot .bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot .bottom a { display: inline; font-size: 13px; padding: 0; }
.ai-note { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.03em; color: var(--mute); }
@media (max-width: 960px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > div:first-child { grid-column: 1 / -1; } }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* telefon */
@media (max-width: 960px) {
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head > .t, .sec-head > .lead { grid-column: 1 / -1; }
  .hero { padding: 40px 0 56px; }
  .hero .copy, .hero .side { grid-column: 1 / -1; }
  .hero h1 { max-width: none; }
  .about .photo, .about .txt, .col-shot, .col-stat { grid-column: 1 / -1; }
  .about .photo img { max-width: 320px; }
  .stats { grid-template-columns: 1fr; }
  .stats div { border-left: 0; border-top: 1px solid var(--line); }
  .stats div:first-child { border-top: 0; }
  .log { min-height: 0; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --pad: 18px; }
  .btn { width: 100%; }
  .cta { flex-direction: column; align-items: stretch; }
  .price .amount { font-size: 34px; }
}

/* przełącznik języka w menu (EN/PL) */
.nav .menu .lang { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; border: 1px solid var(--line-2); border-radius: 4px; padding: 5px 9px; }
