/* LUXPRINT — design system + layout
   Paleta (ChatGPT spec 05): Ink Navy #182B35 · Warm White #F7F5F0 · Terracotta #D78B63 · Soft Gray #E7E4DE */

:root {
  --navy: #182B35;
  --navy-700: #22394A;
  --navy-900: #101E26;
  --white: #F7F5F0;
  --paper: #FFFFFF;
  --terracotta: #D78B63;
  --terracotta-700: #97502F; /* tekst akcentowy na jasnych tłach: ≥ 4.9:1 (AA) */
  --terracotta-100: #F6E6DC;
  --gray: #E7E4DE;
  --gray-500: #5F6569;   /* tekst pomocniczy: ≥ 4.8:1 na wszystkich jasnych tłach */
  --gray-300: #A7ABAD;   /* tylko dekoracje (nie tekst) */
  --ink-60: #4A5A63;
  --success: #2F7A55;
  --success-100: #E3F1E9;
  --warning: #9A5B12;
  --warning-100: #FBEFD9;
  --danger: #B3261E;
  --danger-100: #FBE4E2;

  --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(24, 43, 53, .06), 0 1px 1px rgba(24, 43, 53, .04);
  --shadow: 0 10px 30px -12px rgba(24, 43, 53, .22), 0 2px 6px rgba(24, 43, 53, .06);
  --shadow-magnet: 0 18px 30px -16px rgba(24, 43, 53, .45), 0 2px 4px rgba(24, 43, 53, .12);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; border-radius: 4px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--terracotta); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-60); max-width: 36em; }
.muted { color: var(--ink-60); }
.small { font-size: .875rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--navy-700); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--ghost:hover { background: rgba(24, 43, 53, .06); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); }
.btn--light:hover { background: #fff; }
.btn--small { min-height: 38px; padding: 8px 16px; font-size: .9rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.link-btn { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }

/* ---------- Top info strip + header ---------- */
.topbar { background: var(--navy); color: var(--white); font-size: .82rem; }
.topbar .container { display: flex; gap: 18px; justify-content: center; align-items: center; min-height: 34px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.topbar b { color: #F2B796; font-weight: 600; }
@media (max-width: 560px) { .topbar .hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 245, 240, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--gray); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-word { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .08em; line-height: 1; }
.brand-word b { font-weight: 800; }
.brand-word span { font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-60); }
.main-nav a:hover { color: var(--navy); }
@media (max-width: 880px) { .main-nav { display: none; } }

/* ---------- Shop (produkt + formularz) ---------- */
.shop { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .shop-grid { grid-template-columns: 1fr; } }

.product-intro h1 { margin-bottom: 14px; }
.price-tag { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 22px 0 6px; }
.price-tag .price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.2rem); letter-spacing: -.03em; line-height: 1; }
.price-tag .price small { font-size: .45em; font-weight: 700; letter-spacing: 0; color: var(--ink-60); }
.price-tag .price-note { color: var(--ink-60); font-size: .95rem; }
.price-example { display: inline-block; margin: 6px 0 22px; padding: 6px 12px; border-radius: 999px; background: var(--terracotta-100); color: #7A4428; font-size: .88rem; font-weight: 500; }

.benefits { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; }
.benefits svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.intro-cta { display: none; }
@media (max-width: 980px) { .intro-cta { display: flex; } }

/* Galeria przykładowych projektów (ilustracje) */
.samples { position: relative; margin-top: 8px; }
.samples-stage { position: relative; aspect-ratio: 16 / 11; max-width: 560px; }
.magnet { position: absolute; width: 62%; border-radius: 3.2% / 4.8%; box-shadow: var(--shadow-magnet); background: #fff; transition: transform .35s ease; }
.magnet img { width: 100%; height: auto; border-radius: inherit; }
.magnet--1 { left: 0; top: 4%; transform: rotate(-5deg); z-index: 1; }
.magnet--2 { right: 0; top: 0; transform: rotate(4deg); z-index: 2; }
.magnet--3 { left: 18%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
.samples-stage:hover .magnet--1 { transform: rotate(-7deg) translate(-6px, -4px); }
.samples-stage:hover .magnet--2 { transform: rotate(6deg) translate(6px, -4px); }
.samples-label { margin-top: 14px; font-size: .8rem; color: var(--gray-500); display: flex; align-items: center; gap: 8px; }
.samples-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gray-500); }
@media (max-width: 980px) { .samples { max-width: 520px; } }

/* ---------- Order card ---------- */
.order-card { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid rgba(24, 43, 53, .06); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 12px); }
.order-card__head { padding: 22px 26px 18px; border-bottom: 1px solid var(--gray); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-card__head h2 { font-size: 1.35rem; margin: 0; }
.order-card__head .badge { font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--white); color: var(--ink-60); white-space: nowrap; }
.order-step { padding: 22px 26px; border-bottom: 1px solid var(--gray); }
.order-step:last-of-type { border-bottom: 0; }
.step-title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 1.02rem; font-weight: 700; font-family: var(--font-head); }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 700; flex: none; }
.step-title .step-hint { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--gray-500); }
@media (max-width: 520px) { .order-card__head, .order-step { padding-left: 18px; padding-right: 18px; } }

/* Upload */
.dropzone { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 30px 18px; border: 2px dashed #C9C4BA; border-radius: var(--radius); background: var(--white); cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.is-dragover { border-color: var(--terracotta); background: var(--terracotta-100); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:focus-within { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.dropzone__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 6px; }
.dropzone__icon svg { width: 26px; height: 26px; }
.dropzone__title { font-weight: 700; font-family: var(--font-head); }
.dropzone__meta { font-size: .82rem; color: var(--ink-60); }

/* Cropper */
.cropper[hidden] { display: none; }
.crop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.segmented { display: inline-flex; background: var(--white); border-radius: 999px; padding: 4px; border: 1px solid var(--gray); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; cursor: pointer; color: var(--ink-60); }
.segmented input:checked + span { background: var(--navy); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 1px; }
.segmented .ori-icon { width: 14px; height: 10px; border: 2px solid currentColor; border-radius: 2px; }
.segmented .ori-icon--portrait { width: 10px; height: 14px; }

.crop-area { background: repeating-conic-gradient(#EEEBE5 0% 25%, #F7F5F0 0% 50%) 50% / 18px 18px; border-radius: var(--radius); padding: 18px; display: grid; place-items: center; }
.crop-frame { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: #ddd; touch-action: none; cursor: grab; box-shadow: var(--shadow-magnet); user-select: none; -webkit-user-select: none; }
.crop-frame.is-portrait { aspect-ratio: 2 / 3; width: auto; height: min(360px, 60vh); }
.crop-frame.is-dragging { cursor: grabbing; }
.crop-frame img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; will-change: transform; }
.crop-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); background:
  linear-gradient(to right, transparent calc(33.333% - .5px), rgba(255,255,255,.45) calc(33.333% - .5px), rgba(255,255,255,.45) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), rgba(255,255,255,.45) calc(66.666% - .5px), rgba(255,255,255,.45) calc(66.666% + .5px), transparent calc(66.666% + .5px)),
  linear-gradient(to bottom, transparent calc(33.333% - .5px), rgba(255,255,255,.45) calc(33.333% - .5px), rgba(255,255,255,.45) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), rgba(255,255,255,.45) calc(66.666% - .5px), rgba(255,255,255,.45) calc(66.666% + .5px), transparent calc(66.666% + .5px));
  opacity: 0; transition: opacity .2s; }
.crop-frame.is-dragging::after { opacity: 1; }
.crop-controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.crop-controls input[type="range"] { flex: 1; accent-color: var(--navy); }
.crop-controls .zoom-icon { width: 20px; height: 20px; color: var(--ink-60); flex: none; }
.crop-help { font-size: .8rem; color: var(--ink-60); margin: 8px 0 0; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: .85rem; }
.file-row .file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-60); }
.upload-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.upload-status.is-ok { color: var(--success); }
.upload-status.is-error { color: var(--danger); }
.upload-progress { height: 4px; background: var(--gray); border-radius: 4px; overflow: hidden; margin-top: 8px; }
.upload-progress span { display: block; height: 100%; width: 0; background: var(--terracotta); transition: width .2s; }

/* Alerts */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .88rem; margin-top: 12px; }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.alert--warning { background: var(--warning-100); color: var(--warning); }
.alert--error { background: var(--danger-100); color: var(--danger); }
.alert--info { background: var(--white); color: var(--ink-60); }
.alert[hidden] { display: none; }

/* Quantity */
.qty-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--gray); border-radius: 999px; background: #fff; }
.stepper button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 50%; color: var(--navy); }
.stepper button:hover { background: var(--white); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper input { width: 76px; text-align: center; border: 0; font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; background: transparent; -moz-appearance: textfield; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--gray); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink-60); }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.qty-hint { font-size: .82rem; color: var(--ink-60); margin: 10px 0 0; }

/* Form fields */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } .field--postal { grid-column: auto; } }
.field label { font-size: .86rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--gray-500); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid #D6D2CA; background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #B9B4AA; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(24, 43, 53, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { font-size: .8rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.checkbox.has-error { color: var(--danger); }

/* Summary */
.summary { background: var(--white); border-radius: var(--radius); padding: 16px 18px; margin: 18px 0 14px; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; padding: 3px 0; }
.summary-row span:last-child { font-variant-numeric: tabular-nums; }
.summary-row--total { border-top: 1px solid var(--gray); margin-top: 8px; padding-top: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.pay-note { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-60); margin: 12px 0 0; }
.pay-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.form-error { margin-bottom: 12px; }

/* Success */
.order-success { padding: 34px 26px 30px; text-align: center; }
.order-success[hidden] { display: none; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--success-100); display: grid; place-items: center; margin: 0 auto 16px; }
.success-icon svg { width: 32px; height: 32px; }
.order-number { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; background: var(--white); padding: 10px 18px; border-radius: var(--radius-sm); margin: 6px 0 16px; user-select: all; }
.order-success .summary { text-align: left; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--paper { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-60); font-size: 1.05rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.steps .num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--terracotta); line-height: 1; margin-bottom: 14px; display: block; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-60); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.section-cta { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1020px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }
.use { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(24,43,53,.06); }
.use__visual { aspect-ratio: 3 / 2; background: var(--gray); display: grid; place-items: center; padding: 18px; }
.use__visual img { border-radius: 6px; box-shadow: var(--shadow-magnet); }
.use__visual--icon { background: var(--terracotta-100); }
.use__visual--icon svg { width: 72px; height: 72px; }
.use__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.use__body h3 { font-size: 1.08rem; }
.use__body p { color: var(--ink-60); font-size: .95rem; flex: 1; }
.use__body a { font-weight: 700; font-size: .92rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.use__body a:hover { text-decoration: underline; text-underline-offset: 3px; }

.event { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; position: relative; overflow: hidden; }
.event::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: var(--navy-700); }
.event > * { position: relative; }
.event .eyebrow { color: #F2B796; }
.event .eyebrow::before { background: #F2B796; }
.event h2 { color: #fff; }
.event p { color: rgba(247, 245, 240, .82); }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event-list li { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 14px 16px; }
.event-list svg { width: 26px; height: 26px; flex: none; }
.event-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.event .btn--ghost { --btn-fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(247,245,240,.6); }
.event .btn--ghost:hover { background: rgba(255,255,255,.08); }
@media (max-width: 860px) { .event { grid-template-columns: 1fr; } }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--gray); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-60); }
.faq .answer p:last-child { margin: 0; }

.final-cta { text-align: center; }
.final-cta .lead { margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(247, 245, 240, .78); padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }
.placeholder { opacity: .6; font-style: italic; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--gray); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .sc-price { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.sticky-cta .sc-price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--ink-60); }
@media (max-width: 980px) { .sticky-cta { display: flex; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; padding: 48px 0 80px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.draft-note { background: var(--warning-100); color: var(--warning); padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 24px; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* utility (zamiast stylów inline — CSP bez 'unsafe-inline') */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark--dark { color: var(--navy); --mark-inner: var(--white); }
.mark--light { color: var(--white); --mark-inner: var(--navy); }
fieldset.order-step { border: 0; margin: 0; min-width: 0; border-bottom: 1px solid var(--gray); }
.submit-btn { margin-top: 18px; }
.samples-label--uses { margin-top: 18px; }
.success-label { margin-bottom: 4px; }
legend.step-title { padding: 0; width: 100%; float: left; } fieldset.order-step > *:not(legend) { clear: both; }
@media (min-width: 981px) { .product-intro { position: sticky; top: calc(var(--header-h) + 24px); } }
[hidden] { display: none !important; }
.step-title { flex-wrap: wrap; }
@media (max-width: 520px) { .step-hint--opt { display: none; } }
@media (max-width: 980px) { .samples-stage { max-width: 420px; margin: 0 auto; } .samples-label { justify-content: center; } }
.crop-frame.is-locked { cursor: progress; }
fieldset:disabled { opacity: .7; }
form[aria-busy="true"] .chip, form[aria-busy="true"] .stepper button { cursor: not-allowed; }
.brand svg.logo { width: auto; height: 42px; aspect-ratio: 242 / 64; }
@media (max-width: 400px) { .brand svg.logo { height: 36px; } }
