/* headslatelabs.com — Head Slate Labs. Kolory tylko z tokenów; jasny i ciemny motyw. */
:root {
  --bg: #F3F0E8;
  --surface: #FFFFFF;
  --surface-2: #EAE6DB;
  --line: #D9D4C7;
  --ink: #17181A;
  --muted: #5F6266;
  --accent: #E8A33D;
  --accent-ink: #8A5A12;
  --mp: #5CC98A;
  --mp-ink: #22794A;
  --pass: #22794A;
  --warn: #9A5B00;
  --fail: #B23A2A;
  --pass-bg: #DDF3E5;
  --warn-bg: #FBEBCF;
  --fail-bg: #F8DED8;
  --radius: 16px;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17181A;
    --surface: #202124;
    --surface-2: #2A2B2F;
    --line: #34363B;
    --ink: #F3F0E8;
    --muted: #A9ACB1;
    --accent-ink: #F0B65E;
    --mp-ink: #7ED9A3;
    --pass: #7ED9A3;
    --warn: #F0B65E;
    --fail: #F08A78;
    --pass-bg: #1E3A2A;
    --warn-bg: #3D3020;
    --fail-bg: #43231E;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-weight: 500;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; color: var(--muted); }

/* Nagłówek */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.top .logo img { height: 54px; width: auto; }
.top nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--accent-ink); }
.top nav .lang { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 640px) { .top nav .hide-s { display: none; } .top .logo img { height: 44px; } }

/* Otwarcie */
.hero { padding: 56px 0 72px; }
.hero h1 { font-size: clamp(36px, 6.2vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; margin: 14px 0 22px; max-width: 15ch; text-wrap: balance; }
.hero p { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 54ch; margin: 0; }

/* Produkt */
.product { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.product-head img { width: 64px; height: 64px; }
.product-head .name { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.badge { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--pass-bg); color: var(--mp-ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 18px; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 52ch; }
.note { font-size: 14px; color: var(--muted); margin: 18px 0 0; }

/* Ilustracja raportu */
.report { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 14px; }
.report-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.report-top strong { font-size: 16px; }
.report table { width: 100%; border-collapse: collapse; }
.report th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0 6px 8px; }
.report td { padding: 9px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.report td.file { font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; }
.v { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.v.pass { background: var(--pass-bg); color: var(--pass); }
.v.warn { background: var(--warn-bg); color: var(--warn); }
.v.fail { background: var(--fail-bg); color: var(--fail); }
.why { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.caption { font-size: 12.5px; color: var(--muted); margin: 10px 2px 0; }

/* Funkcje */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card .k { display: block; width: 28px; height: 6px; border-radius: 2px; margin-bottom: 14px; background: repeating-linear-gradient(115deg, var(--ink) 0 5px, var(--mp) 5px 10px); transform: rotate(-16deg); transform-origin: left bottom; }

/* Kroki i pakiety */
.band { padding: 72px 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.steps li::before { content: counter(s); font-family: var(--mono); font-weight: 500; font-size: 15px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.packs { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.packs li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 15.5px; }
.packs li:first-child { border-top: 0; }
.packs .st { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .packs li { flex-direction: column; gap: 2px; } .report { padding: 14px; } .report td { padding: 8px 4px; } }

/* Zaufanie i pilot */
.trust { background: var(--surface-2); padding: 72px 0; }
.trust .split p { color: var(--muted); margin: 0 0 14px; }
.cta { padding: 80px 0; }
.cta-box { background: var(--ink); color: var(--bg); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 800px) { .cta-box { grid-template-columns: minmax(0, 1fr); } }
.cta-box h2 { color: var(--bg); }
.cta-box p { color: color-mix(in srgb, var(--bg) 72%, transparent); margin: 0; }
.btn { display: inline-block; background: var(--accent); color: #17181A; text-decoration: none; font-weight: 700; font-size: 17px; padding: 14px 22px; border-radius: 12px; }
.btn:hover { background: #F0B65E; color: #17181A; }
.addr { display: block; font-family: var(--mono); font-size: 14px; margin-top: 12px; color: color-mix(in srgb, var(--bg) 72%, transparent); }

/* Stopka */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
