/* RackStitch — strona produktu. Tokeny zgodne z aplikacją (design/handoff-rack-workbench). */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f6f6f4;
  --bg-2: #efefec;
  --panel: #ffffff;
  --ink: #1d1d1b;
  --body: #4a4a46;
  --muted: #6b6b66;
  --line: #e3e3df;
  --line-2: #d6d6d1;
  --soft: #ececE8;
  --accent: #d4622a;          /* znak, linie, dekoracje */
  --accent-ink: #ab4a1c;      /* tekst w akcencie na jasnym tle (AA) */
  --accent-soft: #fbede4;
  --btn: #b8501f;             /* tło przycisku z białym tekstem (AA 5:1) */
  --btn-hover: #9e4419;
  --btn-ink: #ffffff;
  --dark: #1d1d1b;
  --dark-2: #262624;
  --on-dark: #f6f6f4;
  --on-dark-muted: #bdbdb7;
  --grid: rgba(29, 29, 27, 0.045);
  --shadow: 0 1px 2px rgba(29, 29, 27, 0.06), 0 24px 48px -24px rgba(29, 29, 27, 0.28);
  --radius: 12px;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 24px;
  --section: 112px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151514;
    --bg-2: #1b1b1a;
    --panel: #1f1f1d;
    --ink: #f1f1ee;
    --body: #cfcfca;
    --muted: #a9a9a3;
    --line: #2f2f2c;
    --line-2: #3a3a37;
    --soft: #2a2a28;
    --accent: #e8743a;
    --accent-ink: #ef8a55;
    --accent-soft: #34211a;
    --btn: #e8743a;
    --btn-hover: #f08a52;
    --btn-ink: #1d1d1b;
    --dark: #0e0e0d;
    --dark-2: #1b1b1a;
    --grid: rgba(255, 255, 255, 0.035);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 48px -24px rgba(0, 0, 0, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { color: var(--ink); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 720px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 16px;
}
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); flex: none; }
.lead { font-size: 19px; line-height: 1.6; color: var(--body); }

/* --- przyciski --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 16px; border-radius: 7px;
  font: 600 15px/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: var(--panel); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-secondary.on-dark { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.45); }
.btn-secondary.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-quiet { color: var(--ink); background: transparent; border-color: var(--line-2); }
.btn-quiet:hover { border-color: var(--ink); }

/* --- nagłówek --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.logo-mark { flex: none; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-by { font: 500 10.5px/1.2 var(--mono); letter-spacing: .04em; color: var(--muted); margin-top: 2px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--ink); background: var(--soft); }
.main-nav .nav-login { display: none; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang ul { list-style: none; display: flex; gap: 2px; padding: 2px; background: var(--soft); border-radius: 7px; }
.lang a { display: block; padding: 5px 9px; border-radius: 5px; font: 500 12.5px/1.3 var(--mono); color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(0,0,0,.06); }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--panel); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* --- hero --- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 120px;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--bg);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.6rem); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 24px; }
.stitch {
  color: var(--accent-ink);
  background: linear-gradient(90deg, var(--accent) 0 58%, transparent 58% 100%) left bottom / 16px 4px repeat-x;
  padding-bottom: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero .lead { max-width: 34em; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.fineprint { font-size: 14px; color: var(--muted); max-width: 34em; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.facts li { display: flex; align-items: center; gap: 8px; font: 500 13px/1.4 var(--mono); color: var(--ink); }
.facts li::before { content: ""; width: 14px; height: 0; border-top: 2px dashed var(--accent); }
.made-by { margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--muted); max-width: 34em; }
.hero-media { position: relative; padding: 0 28px 56px 0; }
.hero-phone { position: absolute; right: 0; bottom: 0; width: 26%; max-width: 200px; }

/* --- ramki: przeglądarka i telefon --- */
.browser { margin: 0; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.url { flex: 1; min-width: 0; max-width: 360px; margin-inline: auto; padding: 3px 10px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); font: 400 11.5px/1.4 var(--mono); color: var(--muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; background: #fff; }
.zoom { display: block; cursor: zoom-in; }
.phone { margin: 0; padding: 7px; background: #111110; border-radius: 30px; box-shadow: 0 0 0 1px #3a3a37, var(--shadow); }
.phone-screen { border-radius: 24px; overflow: hidden; background: #f6f6f4; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.ph { aspect-ratio: 16 / 10; background: repeating-linear-gradient(135deg, var(--soft) 0 12px, var(--bg-2) 12px 24px); border-radius: var(--radius); }

/* --- filary --- */
.pillars { margin-top: -40px; position: relative; z-index: 2; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { padding: 28px 28px 8px; background: var(--panel); border: 1px solid var(--line); margin-left: -1px; }
.pillar:first-child { border-radius: var(--radius) 0 0 var(--radius); margin-left: 0; }
.pillar:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.pillar-label { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 2px dashed var(--line-2); }
.pillar-title { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.pillar p:last-child { font-size: 15.5px; }

/* --- sekcje --- */
.section-head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 18px; }
.section-head .lead { margin: 0; }

.features { padding: var(--section) 0 40px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; margin-bottom: 136px; scroll-margin-top: 90px; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order: 2; }
.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.18; letter-spacing: -0.02em; margin-bottom: 18px; }
.feature-copy > p { font-size: 17.5px; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 14px; border-top: 2px dashed var(--accent); }
.badge { display: inline-block; margin: -4px 0 18px; padding: 4px 11px; border-radius: 8px; border: 1px dashed var(--accent); background: var(--accent-soft); color: var(--accent-ink); font: 500 12.5px/1.4 var(--mono); }
.shots-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: -64px; }

.media { position: relative; min-width: 0; }
.media-duo, .media-duo-phone { padding-bottom: 12%; }
.media .inset { position: absolute; right: -4%; bottom: 0; width: 46%; z-index: 2; }
.feature.flip .media .inset { right: auto; left: -4%; }
.media-duo-phone .inset { width: 27%; right: -2%; bottom: -4%; }
.feature.flip .media-duo-phone .inset { left: -3%; right: auto; }
.media .photo.inset img, .media .browser.inset img { aspect-ratio: auto; }
.media .photo.inset { border: 4px solid var(--panel); }
.media .photo.inset img { aspect-ratio: 4 / 3; }

/* --- pas ze zdjęciem --- */
.band { position: relative; min-height: 540px; display: flex; align-items: center; color: var(--on-dark); background: var(--dark); overflow: hidden; isolation: isolate; }
.band-img, .cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,14,13,.92) 0%, rgba(14,14,13,.78) 38%, rgba(14,14,13,.15) 75%); }
.band-inner { padding-block: 96px; }
.band-inner > * { max-width: 520px; }
.band h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 18px; }
.band p { color: var(--on-dark-muted); font-size: 18.5px; }
.band .kicker, .contact .kicker, .security .kicker { color: #f0a072; }

/* --- karty --- */
.more { padding: var(--section) 0; }
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.card .badge { margin: 0 0 12px; }
.card p:last-child { margin: 0; font-size: 16px; }

/* --- bezpieczeństwo --- */
.security { background: var(--dark); color: var(--on-dark-muted); padding: var(--section) 0; }
.security h2, .security h3 { color: #fff; }
.security .lead { color: var(--on-dark-muted); }
.sec-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sec-grid li { padding: 28px 28px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: var(--dark-2); position: relative; }
.sec-grid li::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; border-top: 2px dashed var(--accent); }
.sec-grid h3 { font-size: 19px; margin-bottom: 10px; }
.sec-note { margin: 32px auto 0; max-width: 760px; text-align: center; font-size: 14.5px; color: #a9a9a3; }

/* --- jak zaczynamy --- */
.start { padding: var(--section) 0; }
.start-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: center; }
.steps { list-style: none; display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num { font: 500 28px/1 var(--mono); color: var(--accent-ink); padding-top: 2px; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { margin: 0; }
.start-photo img { aspect-ratio: 1 / 1; }

/* --- FAQ --- */
.faq { padding: 0 0 var(--section); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--mono); color: var(--accent-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 44px 22px 0; margin: 0; }

/* --- kontakt --- */
.contact { position: relative; isolation: isolate; background: var(--dark); color: var(--on-dark-muted); padding: var(--section) 0; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14,14,13,.95) 0%, rgba(14,14,13,.86) 50%, rgba(14,14,13,.7) 100%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.contact h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 18px; }
.contact .lead { color: var(--on-dark-muted); }
.demo-box { margin-top: 36px; padding: 24px; border: 1px dashed rgba(255,255,255,.3); border-radius: var(--radius); }
.demo-box p { color: #e3e3df; }
.demo-box .fineprint { color: #bdbdb7; margin: 12px 0 0; }
.demo-form { background: var(--panel); color: var(--body); border-radius: 14px; padding: 32px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 7px; padding: 11px 12px; min-height: 46px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.field ::placeholder { color: var(--muted); opacity: 1; }
.form-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

/* --- stopka --- */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 14px; color: var(--muted); max-width: 26em; }
.foot-h { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.foot-bottom { margin-top: 48px; color: var(--muted); font-size: 14px; }
.foot-bottom p { margin: 0; padding-top: 20px; border-top: 1px dashed var(--line-2); }

/* --- strona prawna --- */
.legal { padding: 96px 0 140px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; margin-bottom: 20px; }

/* --- responsywność --- */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 9px; }
  .feature, .feature.flip { gap: 48px; }
}
@media (max-width: 960px) {
  :root { --section: 84px; }
  .js .menu-btn { display: inline-flex; }
  .js .main-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px var(--gutter) 20px; }
  .js .main-nav.open { display: block; }
  .js .main-nav ul { flex-direction: column; gap: 2px; }
  .js .main-nav a { padding: 12px; font-size: 17px; }
  .js .main-nav .nav-login { display: block; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .hdr { gap: 12px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-media { padding: 0 0 28px 0; max-width: 760px; }
  .hero-media { padding: 0 16px 44px 0; }
  .pillars { margin-top: -56px; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .pillar, .pillar:first-child, .pillar:last-child { margin: 0 0 -1px -1px; border-radius: 0; }
  .pillar:nth-child(1) { border-top-left-radius: var(--radius); margin-left: 0; }
  .pillar:nth-child(2) { border-top-right-radius: var(--radius); }
  .pillar:nth-child(3) { border-bottom-left-radius: var(--radius); margin-left: 0; }
  .pillar:nth-child(4) { border-bottom-right-radius: var(--radius); }
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-bottom: 104px; }
  .feature.flip .feature-copy { order: 0; }
  .feature.flip .media .inset { left: auto; right: -2%; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start-grid, .faq-wrap, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .start-photo { max-width: 520px; }
  .start-photo img { aspect-ratio: 16 / 11; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .shots-note { margin-top: -48px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 68px; }
  body { font-size: 16.5px; }
  .lead { font-size: 17.5px; }
  .hide-sm { display: none; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .cta-row .btn { flex: 1 1 100%; }
  .pillar-grid { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar:nth-child(n) { margin: 0 0 -1px 0; border-radius: 0; }
  .pillar:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .pillar:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .section-head { margin-bottom: 48px; }
  .feature, .feature.flip { margin-bottom: 84px; }
  .media .inset { width: 52%; right: -1%; }
  .media-duo-phone .inset { width: 34%; }
  .browser-bar { height: 28px; }
  .dots i { width: 8px; height: 8px; }
  .url { font-size: 10.5px; }
  .cards, .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .band { min-height: 0; }
  .band::before { background: linear-gradient(180deg, rgba(14,14,13,.55) 0%, rgba(14,14,13,.92) 55%); }
  .band-inner { padding-block: 220px 64px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .demo-form { padding: 22px; }
  .faq summary { font-size: 17px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 520px) {
  .hide-xs { display: none; }
  .brand { font-size: 17px; }
}

/* --- polityka prywatności --- */
.legal .legal-date { font: 500 13px/1.4 var(--mono); color: var(--muted); margin-bottom: 40px; }
.legal section { padding-top: 28px; margin-top: 28px; border-top: 1px dashed var(--line-2); }
.legal h2 { font-size: 21px; line-height: 1.3; margin-bottom: 12px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.legal-back { margin-top: 48px; }
.foot-address { font-size: 14px; color: var(--muted); line-height: 1.55; }
.foot-court { font-size: 12.5px; }
.legal + .site-footer { padding-top: 0; }
.legal + .site-footer .foot-bottom { margin-top: 0; }
