/* Szychta AI · system wizualny z projektu design/Main.dc.html */
:root {
  --coal: #16120e;
  --card: #1e1814;
  --line: #2e2620;
  --line-2: #3a2f27;
  --line-3: #4a3b30;
  --line-4: #5a493c;
  --brick: #b4472b;
  --brick-dark: #9a3a21;
  --brick-wall: #8e3620;
  --frame: #c8532f;
  --lamp: #f2b544;
  --lamp-hi: #ffd27a;
  --cream: #f4ecdf;
  --ink: #2a211b;
  --ink-2: #4a3d33;
  --ink-muted: #5e4e41;
  --ink-soft: #6b5a4c;
  --cream-line: #d9cbb6;
  --muted: #cdbfae;
  --muted-2: #a8998a;
  --brass: #c9a24b;
  --brass-rim: #8c6a24;
  --on-brick: #fff6ea;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--coal); color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--lamp); }
a:hover { color: var(--lamp-hi); }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--lamp); color: var(--coal); padding: 8px 14px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sec { padding-top: 104px; padding-bottom: 104px; }
.light { background: var(--cream); color: var(--ink); }
.brick { background: var(--brick); }
.stack { display: flex; flex-direction: column; }
.row-split { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.cols { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.cols > * { min-width: 0; }

.kicker { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--lamp); }
.light .kicker { color: var(--brick-dark); }
.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 5.5vw, 76px); line-height: 0.95; text-transform: uppercase; }
.h2 .hl { color: var(--lamp); }
.light .h2 .hl { color: var(--brick); }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); }
.light .lede { color: var(--ink-muted); }
.display { font-family: var(--display); }
.h2, .apply-h, .final .t, .h3d { overflow-wrap: break-word; hyphens: auto; max-width: 100%; }
@media (max-width: 420px) { .h2 { font-size: 40px; } .apply-h { font-size: 44px; } }

/* przyciski */
.btn { font: inherit; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; border: 0; border-radius: 6px; cursor: pointer; background: var(--lamp); color: var(--coal); padding: 12px 20px; min-height: 44px; }
.btn:hover { filter: brightness(1.08); color: var(--coal); }
.btn-lg { font-size: 17px; padding: 16px 28px; min-height: 52px; }
.btn-dark { background: var(--coal); color: var(--lamp); }
.btn-dark:hover { color: var(--lamp); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line-4); font-weight: 600; }
.btn-ghost:hover { background: rgba(244, 236, 223, 0.08); filter: none; color: var(--cream); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn svg { flex: none; }

/* nav */
.top { border-bottom: 1px solid var(--line); }
.top nav { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand:hover { color: var(--cream); }
.wordmark { font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: 0.04em; }
.wordmark i { font-style: normal; color: var(--brick); }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.menu a:not(.btn) { color: var(--muted); text-decoration: none; }
.menu a:not(.btn):hover { color: var(--cream); }
@media (max-width: 760px) { .menu a:not(.btn) { display: none; } }

/* hero */
.hero { padding-top: 80px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; border: 1px solid var(--line-3); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--muted); }
.pill b { width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 10px var(--lamp); }
.h1 { font-family: var(--display); font-weight: 900; font-size: clamp(72px, 10vw, 136px); line-height: 0.86; letter-spacing: 0.01em; text-transform: uppercase; }
.h1 span { color: var(--lamp); }
.hero-lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 36rem; }
.hero-lead strong { color: var(--cream); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.facts { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 2px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--card); padding: 16px 18px; }
.facts dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.facts dd { margin-top: 4px; font-size: 17px; font-weight: 600; }
.facts .lamp { color: var(--lamp); }

/* ściana z oknami = tablica markowa */
.wall { flex: 1 1 400px; min-width: 0; position: relative; border-radius: var(--r); overflow: hidden; height: 600px; background: var(--brick-wall); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); }
.wall > svg { position: absolute; inset: 0; }
.windows { position: absolute; left: 0; right: 0; top: 0; padding: 40px 36px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.win { height: 160px; border: 8px solid var(--frame); border-radius: 60px 60px 4px 4px; background: #241c17; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 14px; color: var(--muted); }
.win .n { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; }
.win .s { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lamp); }
.win.taken { background: var(--lamp); color: var(--coal); box-shadow: 0 0 44px rgba(242, 181, 68, 0.65), inset 0 0 30px #ffe3a3; }
.win.taken .s { color: var(--coal); }
.wall-card { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(22, 18, 14, 0.94); border-radius: 8px; padding: 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.wall-card .k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lamp); font-weight: 700; }
.wall-card .t { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1.05; }
.wall-card .d { font-size: 15px; color: var(--muted); }
@media (max-width: 520px) {
  .wall { height: 500px; }
  .windows { padding: 24px 18px 0; gap: 20px 14px; }
  .win { height: 120px; border-width: 6px; }
  .win .n { font-size: 30px; }
  .wall-card .t { font-size: 24px; }
}

/* pasek haseł */
.strip { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--on-brick); }
.strip .x { color: var(--lamp); }

/* nikiszowiec */
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose strong { color: var(--ink); }

/* karty */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.card .big { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; color: var(--lamp); }
.light .card { background: #fff; border: 0; box-shadow: 0 1px 0 #e2d6c4; }
.light .card p { color: var(--ink-muted); }
.ico { width: 56px; height: 56px; border-radius: var(--r); background: var(--coal); display: flex; align-items: center; justify-content: center; }

/* słownik */
.dict { position: relative; overflow: hidden; }
.dict > svg { position: absolute; inset: 0; opacity: 0.35; }
.dict .wrap { position: relative; color: var(--on-brick); }
.dict .kicker { color: #ffe0a0; }
.dict .h2 .hl { color: var(--lamp-hi); }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.terms div { background: var(--coal); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.terms dt { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--lamp); text-transform: uppercase; }
.terms dd { font-size: 16px; line-height: 1.55; color: #e5d9c9; }
.terms dd strong { color: var(--cream); }

/* plan / tabele z kafli */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.tiles > * { background: var(--card); }
.plan { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.plan li { padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.plan .hd { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.plan time { font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--lamp); line-height: 1; }
.plan h3 { font-size: 22px; font-weight: 700; }
.plan p { font-size: 16px; line-height: 1.6; color: var(--muted); flex-grow: 1; }
.plan .out { flex-grow: 0; font-size: 14px; color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 12px; }
.plan .out span { color: var(--cream); font-weight: 600; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--brick); color: var(--on-brick); padding: 4px 10px; border-radius: 999px; }
.tag.alt { background: none; border: 1px solid var(--line-4); color: var(--muted); padding: 3px 10px; }
@media (max-width: 400px) { .plan { grid-template-columns: 1fr; } }

/* nabór */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.steps li { border: 1px solid var(--line-2); border-radius: var(--r); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.steps li.last { background: var(--card); }
.steps h3 { font-size: 22px; font-weight: 700; }
.steps p { font-size: 16px; line-height: 1.6; color: var(--muted); flex-grow: 1; }
.steps .when { font-weight: 700; color: var(--lamp); }
.coin { width: 56px; height: 56px; border-radius: 50%; background: var(--brass); border: 3px solid var(--brass-rim); color: var(--coal); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 28px; }
.h3d { font-family: var(--display); font-weight: 800; font-size: 36px; text-transform: uppercase; }
.crit { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.crit div { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.crit span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lamp); font-weight: 700; }
.crit h4 { font-size: 20px; font-weight: 700; }
.crit p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* zgłoszenie */
.apply-side { flex: 1 1 400px; display: flex; flex-direction: column; gap: 24px; }
.apply-h { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 6vw, 84px); line-height: 0.92; text-transform: uppercase; }
.apply-h span { color: var(--brick); }
.tokens { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-width: 420px; }
.tok { aspect-ratio: 1; border-radius: 50%; background: var(--brass); border: 3px solid var(--brass-rim); color: var(--coal); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 22px; }
.tok.taken { background: var(--ink); border-color: var(--ink); color: var(--muted-2); }
.note { font-size: 15px; color: var(--ink-muted); }
.mailbox { background: var(--coal); color: var(--cream); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.mailbox span { font-size: 15px; color: var(--muted); }
.mailbox a { font-family: var(--display); font-weight: 800; font-size: 32px; text-decoration: none; overflow-wrap: anywhere; }

.form { flex: 1 1 480px; background: #fff; border-radius: 12px; padding: 36px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 20px 50px rgba(42, 33, 27, 0.12); color: var(--ink); }
@media (max-width: 520px) { .form { padding: 24px 18px; } }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.f { display: flex; flex-direction: column; gap: 8px; }
.f label { font-size: 15px; font-weight: 600; }
.f label small { font-size: inherit; font-weight: 400; color: var(--ink-soft); }
.f input, .f textarea, .f select, .login input {
  font: inherit; font-size: 17px; padding: 14px 16px; border: 1.5px solid var(--muted); border-radius: 6px; min-height: 52px; width: 100%; color: var(--ink); background: #fffdf9;
}
.f textarea { font-size: 16px; resize: vertical; min-height: 0; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(180, 71, 43, 0.18); }
.f.invalid input, .f.invalid textarea, .f.invalid select { border-color: var(--brick); }
.err { color: var(--brick-dark); font-size: 14px; font-weight: 600; }
.err:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brick); flex: none; }
.consent label { font-size: 15px; line-height: 1.5; color: var(--ink-2); font-weight: 400; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { font-size: 18px; padding: 16px 24px; min-height: 56px; }
.form .fine { font-size: 14px; color: var(--ink-soft); text-align: center; }
.alert { padding: 14px 16px; border-radius: 6px; font-size: 15px; background: #fbe6df; color: #7a2a16; }
.alert:empty { display: none; }
.alert a { color: inherit; }
.done { align-items: center; text-align: center; padding: 56px 36px; gap: 16px; }
.done .coin { width: 80px; height: 80px; }
.done h3 { font-family: var(--display); font-weight: 900; font-size: 44px; text-transform: uppercase; line-height: 1; }
.done p { color: var(--ink-muted); line-height: 1.6; max-width: 26rem; }

/* pierwsze szychty */
.shifts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.shifts li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.shifts li.first { background: var(--brick); border-color: var(--brick); color: var(--on-brick); }
.shifts .no { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.shifts .first .no { color: #ffe0a0; }
.shifts .date { font-family: var(--display); font-weight: 900; font-size: 56px; line-height: 1; color: var(--lamp); }
.shifts .first .date { color: var(--on-brick); }
.shifts h3 { font-size: 21px; font-weight: 700; }
.shifts p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.shifts .first p { color: #ffe7cf; }
.after { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 46rem; }
.after strong { color: var(--cream); }

/* FAQ */
.faq-h { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.faq { flex: 2 1 560px; display: flex; flex-direction: column; }
.faq details { border-top: 1.5px solid var(--cream-line); }
.faq details:last-child { border-bottom: 1.5px solid var(--cream-line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2.5px solid var(--brick); border-bottom: 2.5px solid var(--brick); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }

/* final CTA + stopka */
.final { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; color: var(--on-brick); }
.final .t { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 64px); line-height: 0.95; text-transform: uppercase; }
.final .d { font-size: 18px; color: #ffe7cf; margin-top: 8px; }
.final .btn { font-size: 18px; padding: 18px 30px; min-height: 56px; }
.foot { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot .wordmark { font-size: 32px; }
.foot .meta { font-size: 15px; color: var(--muted-2); margin-top: 6px; }
.foot .bye { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--lamp); text-transform: uppercase; }
