/* wearfits.me — public site styles, part 1 (imported first by site.css): tokens, reset, shell and the landing ("Kampania").
   Archivo variable (wdth 62–125, wght 300–800); headlines condensed (62%) 800 uppercase; ink #111 on a white ground, no shadows.
   Catalogue look shared with the app (public/app/styles.css): photos are rounded tiles (12px, thumbs 8px), product packshots
   get a slight veil, cards, lists and tables use 1px hairlines (--lp-hair) and the tones --lp-tone / --lp-tone-deep;
   buttons, fields and chips stay square with 2px ink. Brand accent #19d9d9: teal on black only; placements in
   project/design/DESIGN-NOTES.md. Desktop layout ≥ 900px; below that the mobile layout (390 reference). */


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip {
  position: absolute; left: 8px; top: -100px; z-index: 30; /* above the sticky home header */ padding: 12px 16px;
  background: var(--lp-ink); color: var(--lp-ground); font-weight: 700; text-decoration: none;
}
.lp .lp-skip:focus { top: 8px; color: var(--lp-ground); }

.lp {
  --lp-ground: #fff;
  --lp-tone: #EFEEEC;
  --lp-tone-deep: #D6D5D2;
  --lp-hair: 1px solid #C9C7C3;
  --lp-r-tile: 12px;
  --lp-r-thumb: 8px;
  --lp-tile-gap: 12px;
  --lp-ink: #111;
  --lp-muted: #3B3935;
  --lp-muted-dark: #BDB7AD;
  --lp-brand: #19d9d9;     /* text and marks on ink only: 10.76:1, never on ground/white (1.75:1). Ink text on a brand fill is fine. */
  --lp-gutter: clamp(16px, 3vw, 40px);
  --lp-gap: clamp(64px, 8vw, 128px);
  font-family: Archivo, system-ui, sans-serif;
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.5;
  color: var(--lp-ink);
  background: var(--lp-ground);
  overflow-x: clip;
}
.lp p, .lp ul, .lp ol, .lp dl, .lp dd, .lp figure { margin: 0; }
.lp ul, .lp ol { list-style: none; padding: 0; }
.lp h1, .lp h2, .lp h3 { margin: 0; }
.lp img { display: block; width: 100%; height: auto; max-width: none; object-fit: cover; }
.lp a { color: inherit; }
.lp a:hover { opacity: 0.75; }
::selection { background: var(--lp-brand); color: var(--lp-ink); }
.lp :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.lp [tabindex="-1"]:focus { outline: none; }
.lp [id] { scroll-margin-top: 16px; }
.lp-top { object-position: 50% 0; }
/* photos: rounded tiles (zero specificity, so any component can square or shrink them); white-backdrop packshots get the app's 3.5% veil */
:where(.lp main) img { border-radius: var(--lp-r-tile); }
.lp main img[src*="/product-"] { filter: brightness(0.965); }
.lp .lp-step-selfie, .lp .lp-eq-tiles img { border-radius: var(--lp-r-thumb); }
.lp-pad { padding-left: var(--lp-gutter); padding-right: var(--lp-gutter); }
.lp-muted { color: var(--lp-muted); }
.lp-only-m { display: none !important; }

/* headline type */
.lp-h1, .lp-h2, .lp-step-n, .lp-plan-price {
  font-stretch: 62%; font-weight: 800; text-transform: uppercase;
}
.lp-h1 {
  /* one line, filling the gutter-to-gutter width (divisor = text width in em, plus a scrollbar margin) */
  font-size: min(calc((100vw - 2 * var(--lp-gutter)) / 7.3), 260px); line-height: 0.8; letter-spacing: -0.01em; padding-top: 12px; white-space: nowrap;
}
.lp-h2 { font-size: clamp(52px, 6.4vw, 104px); line-height: 0.88; }
.lp-sec { padding-top: var(--lp-gap); }

/* buttons */
.lp-btn {
  display: block; text-align: center; text-decoration: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 18px; border: 0; background: var(--lp-ink); color: var(--lp-ground);
}
.lp a.lp-btn { color: var(--lp-ground); }
.lp a.lp-btn-line { padding: 16px; border: 2px solid var(--lp-ink); background: transparent; color: var(--lp-ink); }
.lp a.lp-btn-light { background: var(--lp-ground); color: var(--lp-ink); }
/* Solid black buttons only; opacity reset so the generic link hover doesn't wash out the colour. */
@media (hover: hover) {
  .lp .lp-btn:not(.lp-btn-line, .lp-btn-light):hover { background: var(--lp-brand); color: var(--lp-ink); opacity: 1; }
  .lp .lp-head-cta:hover { background: var(--lp-ground); color: var(--lp-ink); opacity: 1; }
}

/* header */
.lp-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px;
  padding: 8px var(--lp-gutter); background: var(--lp-ink); color: var(--lp-ground);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.lp-head a { text-decoration: none; }
/* Logos are outlined SVGs; font-size still sets their scale: em heights match the type they replaced. */
.lp-logo { display: block; flex: none; font-size: 30px; }
.lp .lp-logo img { width: auto; height: 0.714em; }
.lp-nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.lp-nav a { padding: 14px 0; }
.lp-head-actions { display: flex; gap: 0 24px; align-items: center; }
/* Every header control is 44 px tall; only the CTA is a filled box. */
.lp-head-actions > a { display: inline-flex; align-items: center; height: 44px; white-space: nowrap; }
.lp .lp-head-cta { gap: 8px; padding: 0 18px; background: var(--lp-brand); color: var(--lp-ink); font-weight: 700; }
.lp .lp-head-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 5px; background: var(--lp-ink); color: var(--lp-brand); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.lp .lp-head-cta:focus-visible { outline-color: var(--lp-brand); } /* the outline sits on the black bar, where currentColor ink would vanish */
.lp-burger { display: none; }
/* The longer Polish labels must still fit one bar just above the mobile breakpoint. */
@media (min-width: 900px) and (max-width: 1099px) {
  .lp-head { gap: 4px 16px; font-size: 12px; letter-spacing: 0.02em; }
  .lp-nav { gap: 0 14px; }
  .lp-head-actions { gap: 0 12px; }
  .lp .lp-head-cta { padding: 0 10px; }
}
/* language switch: globe button + black panel, joined with no gap so hover survives the trip into it */
.lp-lang { position: relative; display: inline-flex; flex: none; }
.lp .lp-lang-btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--lp-ground); cursor: pointer;
}
.lp .lp-lang.is-open .lp-lang-btn { background: var(--lp-ground); color: var(--lp-ink); }
.lp-lang-panel {
  display: none; position: absolute; top: 100%; left: 0; z-index: 8; width: 130px;
  flex-direction: column; border: 1px solid var(--lp-ground); background: var(--lp-ink);
}
.lp-lang-up .lp-lang-panel { top: auto; bottom: 100%; left: auto; right: 0; }
.lp-lang.is-open .lp-lang-panel,
.lp-lang:not([data-ready]):hover .lp-lang-panel,
.lp-lang:not([data-ready]):focus-within .lp-lang-panel { display: flex; } /* the two :not rules are the no-JavaScript route */
.lp .lp-lang-opt {
  appearance: none; display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 12px 10px;
  border: 0; border-radius: 0; background: transparent; color: var(--lp-ground); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; cursor: pointer;
}
.lp .lp-lang-opt + .lp-lang-opt { border-top: 1px solid #4A4741; }
.lp .lp-lang-opt[aria-current] { color: var(--lp-brand); }
.lp-lang-opt span:last-child { font-weight: 400; letter-spacing: 0; text-transform: none; }
.lp .lp-lang-opt:hover { opacity: 1; background: #2A2825; }
.lp .lp-lang :focus-visible { outline: 2px solid var(--lp-ground); outline-offset: 2px; }
.lp-lang-seg { display: none; }
html[data-locale-pending="pl"] body { visibility: hidden; }

/* Home H1: last word on a brand marker. The hero itself lives at the end of site.css: home page only. */
.lp-h1-accent { display: inline-block; padding: 0.06em 0.08em 0.02em; background: var(--lp-brand); line-height: 0.8; }
.lp-form { display: flex; flex-direction: column; gap: 10px; }
.lp-form label, .lp-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lp-muted-dark);
}
.lp-form input {
  height: 56px; padding: 0 16px; border: 1px solid var(--lp-ground); border-radius: 0;
  background: transparent; color: var(--lp-ground); font: inherit; font-size: 17px; min-width: 0;
}
.lp-form input::placeholder { color: var(--lp-muted-dark); }
.lp-form input[aria-invalid="true"] { border-width: 2px; }
.lp-form button {
  height: 56px; border: 0; background: var(--lp-ground); color: var(--lp-ink); cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.lp-form-error { font-size: 15px; font-weight: 600; color: var(--lp-ground); border-left: 4px solid var(--lp-ground); padding-left: 10px; }
.lp-form.drag-over { outline: 3px dashed var(--lp-ground); outline-offset: 6px; }
.lp-form button.lp-form-pick { height: auto; }
.lp-hero-form button:not(.lp-form-pick) { background: var(--lp-brand); color: var(--lp-ink); }
.lp-form-note { font-size: 14px; color: var(--lp-muted-dark); }

/* from selfie to studio shot: selfie + product tiles → studio shot */
.lp .lp-eq-title { margin-bottom: 40px; }
.lp .lp-eq-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  padding-left: var(--lp-gutter); padding-right: var(--lp-gutter);
}
.lp-eq-item { min-width: 0; display: flex; flex-direction: column; border: var(--lp-hair); border-radius: var(--lp-r-tile); overflow: hidden; background: #fff; }
.lp-eq-sum {
  flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 2fr) auto minmax(0, 3fr); gap: 8px;
  align-items: start; padding: clamp(8px, 1vw, 14px);
}
.lp-eq-in, .lp-eq-out { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lp-eq-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lp-muted); }
.lp-eq-op { font-size: 28px; font-weight: 800; line-height: 1; text-align: center; color: var(--lp-ink); }
.lp-eq-arrow { align-self: center; }
.lp-eq-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.lp-eq-tiles img { aspect-ratio: 3 / 4; background: #fff; }
.lp-eq-in > img { aspect-ratio: 1; }
.lp .lp-eq-tiles img:nth-child(3):last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; object-position: 50% 78%; }
.lp-eq-out img { aspect-ratio: 768 / 1376; }
.lp .lp-eq-cap { border-top: var(--lp-hair); padding: 10px 14px; background: var(--lp-ground); font-size: 15px; line-height: 1.35; }
.lp .lp-eq-note { margin-top: 16px; font-size: 14px; color: var(--lp-muted); }

/* steps: three columns with a capped media height (no section height, no subgrid), caption in normal flow.
   Heading to note fits the viewport at 1440x900, 1366x768 and 1024x768, and from 700px wide at 768x1024 and 820x1180;
   much shorter windows scroll. The second min() term keeps the figure no wider than its column. */
.lp .lp-how {
  --lp-how-media: min(clamp(300px, calc(100vh - 340px), 560px), calc((100vw - 2 * var(--lp-gutter) - 32px) / 3 * 1.79));
  margin-top: calc(var(--lp-gap) - 24px); padding-top: 24px; padding-bottom: 16px;
}
.lp .lp-how-title { font-size: clamp(48px, 5.6vw, 88px); margin-bottom: 20px; white-space: nowrap; }
.lp-steps { display: grid; gap: 0 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1360px; }
.lp-step { min-width: 0; }
.lp-step-media { height: var(--lp-how-media); }
.lp-step-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: var(--lp-hair); border-radius: var(--lp-r-tile); overflow: hidden; line-height: 1.3; }
/* step 1, a mini product page: address bar, the whole product photo filling the middle, name and shop */
.lp-step-bar {
  display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--lp-tone); border-bottom: var(--lp-hair);
  font-size: 12px; color: var(--lp-muted); white-space: nowrap; overflow: hidden;
}
.lp-step-bar::before { content: ""; flex: none; width: 6px; height: 6px; margin-right: 22px; border-radius: 50%; background: var(--lp-muted); box-shadow: 10px 0 var(--lp-muted), 20px 0 var(--lp-muted); }
.lp-step-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lp .lp-step-photo { flex: 1 1 0; min-height: 0; object-fit: contain; border-radius: 0; }
.lp-step-meta { display: block; padding: 6px 10px 8px; font-size: 13px; font-weight: 600; }
.lp-step-meta small { display: block; font-size: 12px; font-weight: 400; color: var(--lp-muted); }
/* step 2, the paste action: the field centred as the focal point, the selfie a small first-time aside at the bottom */
.lp-step-paste { margin-block: auto; display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.lp-step-label { font-size: 13px; font-weight: 600; }
.lp-step-field { width: 100%; min-width: 0; padding: 16px 10px; border: 2px solid var(--lp-ink); border-radius: 0; background: #fff; color: var(--lp-ink); font: inherit; font-size: 15px; font-weight: 600; }
.lp-step-field::placeholder { color: var(--lp-muted); }
.lp-step-field:focus::placeholder { color: transparent; }
.lp-step-go { padding: 16px 10px; border: 0; background: var(--lp-ink); color: var(--lp-ground); font: inherit; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.lp-step-choose { align-self: flex-start; }
.lp-step-paste .lp-form-error { margin: 0; color: var(--lp-ink); border-color: var(--lp-ink); font-size: 13px; }
.lp-step-choose:hover, .lp-form button.lp-form-pick:hover, .lp-form a.lp-form-ext:hover { background: var(--lp-ink); color: #fff; border-color: var(--lp-ink); opacity: 1; }
.lp-step-paste .lp-form-photo-hint { color: var(--lp-muted); font-size: 12px; }
.lp-step-paste.drag-over { outline: 3px dashed var(--lp-ink); outline-offset: -4px; }
.lp-step-once { display: flex; align-items: center; gap: 8px; padding: 0 12px 12px; font-size: 12px; color: var(--lp-muted); }
.lp .lp-step-selfie { flex: none; width: 56px; aspect-ratio: 1; }
/* step 3, the payoff: the column's full width like steps 1 and 2. The source is square with the figure centred, so the height keeps head to toe and only spare backdrop goes. */
/* The wide image has about 4% spare below the shoes; capping width by height keeps cover from cropping the person in short windows. */
.lp .lp-step-whole { width: min(100%, calc(var(--lp-how-media) * 1.04)); height: 100%; object-fit: cover; object-position: 50% 50%; }
.lp-step-body { padding-top: 12px; display: flex; gap: 16px; align-items: flex-start; }
.lp-step-n { font-size: 64px; line-height: 0.8; }
.lp-step h3 { font-size: 20px; font-weight: 700; text-transform: uppercase; }
.lp-step p { margin-top: 4px; color: var(--lp-muted); line-height: 1.4; }
.lp .lp-how-note { margin-top: 10px; max-width: 1360px; font-size: 14px; color: var(--lp-muted); }

/* section heading with a lead beside it (pricing) */
.lp-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
/* Outlined small buttons, mirroring the app row action. */
.lp-form button.lp-form-pick, .lp-form a.lp-form-ext, .lp-step-choose, .lp-step-paste .lp-form-pick { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border: 2px solid currentColor; border-radius: 0; background: none; color: inherit; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.lp-step-choose { color: var(--lp-ink); }

/* comparison */
.lp-cmp-title { margin-bottom: 32px; }
.lp-cmp-table { border: var(--lp-hair); border-radius: var(--lp-r-tile); overflow: hidden; }
.lp-cmp-table table { width: 100%; border-collapse: collapse; font-size: 18px; }
.lp-cmp-table th {
  text-align: left; padding: 14px 16px; width: 50%;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.lp-cmp-table th + th { background: var(--lp-ink); color: var(--lp-ground); }
.lp-cmp-table td { padding: 18px 16px; border-top: var(--lp-hair); color: var(--lp-muted); vertical-align: top; }
.lp-cmp-table td + td { font-weight: 700; color: var(--lp-ink); }
.lp-cmp-pairs { display: none; }

/* pricing */
.lp-pricing { padding-bottom: var(--lp-gap); }
.lp-pricing .lp-muted { font-size: 15px; }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.lp-plan { border: var(--lp-hair); border-radius: var(--lp-r-tile); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.lp-plan-dark { background: var(--lp-ink); color: var(--lp-ground); border-color: var(--lp-ink); }
.lp-plan-name { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.lp-plan-price { font-size: 88px; line-height: 0.95; text-transform: none; }
.lp-plan-price .lp-cents { font-size: 0.6em; }
.lp-plan-price small { font-stretch: 100%; font-weight: 500; font-size: 20px; text-transform: none; }
.lp-plan-desc { color: var(--lp-muted); }
.lp-plan-dark .lp-plan-price { color: var(--lp-brand); }
.lp-plan-dark .lp-plan-desc { color: var(--lp-muted-dark); }
.lp-plan .lp-btn { margin-top: auto; }
.lp-plan-desc:not(:last-child) { margin-bottom: 16px; }
.lp-pricing .lp-plans-note { margin-top: 16px; }

/* privacy */
.lp-privacy { margin-top: var(--lp-gap); background: var(--lp-ink); color: var(--lp-ground); padding-top: var(--lp-gap); padding-bottom: var(--lp-gap); } /* sections above have no bottom padding */
.lp-privacy-title { font-size: clamp(60px, 9.4vw, 156px); line-height: 0.84; }
.lp-privacy ul { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; font-size: 18px; }
.lp-privacy li { border-top: 2px solid var(--lp-ground); padding-top: 16px; }

/* your turn + footer */
.lp-turn {
  padding-top: var(--lp-gap); padding-bottom: var(--lp-gap);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.lp-turn-title { font-size: clamp(64px, 10vw, 168px); line-height: 0.82; }
.lp .lp-turn-cta { font-size: 15px; padding: 22px 36px; }
.lp a.lp-turn-cta { color: var(--lp-brand); }
.lp a.lp-turn-cta:focus-visible { outline-color: var(--lp-ink); } /* the outline sits on ground, where currentColor teal would vanish */
/* large footer: full-bleed black; the wordmark is the outlined logo, so no web font and no overflow at any width */
.lp-foot {
  display: flex; flex-direction: column; gap: 48px; padding-top: 56px; padding-bottom: 28px;
  background: var(--lp-ink); color: var(--lp-ground);
}
.lp-foot :focus-visible { outline-color: var(--lp-ground); }
.lp-foot a { text-decoration: none; }
.lp .lp-foot a:hover { color: var(--lp-brand); opacity: 1; }
.lp-foot-top { display: grid; grid-template-columns: minmax(0, 280px) repeat(5, minmax(0, 1fr)); gap: 32px; }
.lp-foot-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.lp .lp-foot-lead { margin: 0; font-size: 18px; line-height: 1.4; }
.lp .lp-foot a.lp-foot-cta { padding: 16px 18px; background: var(--lp-brand); color: var(--lp-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lp .lp-foot a.lp-foot-cta:hover { color: var(--lp-ink); opacity: 0.85; }
.lp-foot nav { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lp-foot h2 { margin: 0 0 6px; color: var(--lp-muted-dark); font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; }
.lp-foot nav a { font-size: 15px; line-height: 1.3; }
.lp-foot-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 24px; padding-top: 18px; border-top: 1px solid #4A4741; color: var(--lp-muted-dark); font-size: 13px; }
.lp-foot-bottom > .lp-foot-copyright { margin-right: auto; }
.lp-foot-lang:empty { display: none; }
/* "Chrome on desktop": a white pill, shown on every browser (the header button is the Chrome-only one). */
.lp-foot-chrome { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.lp .lp-foot a.lp-ext-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 12px; border-radius: 999px; background: var(--lp-ground); color: var(--lp-ink); font-size: 15px; font-weight: 700; }
.lp .lp-foot a.lp-ext-pill:hover { color: var(--lp-ink); opacity: 0.85; }
.lp-ext-pill .lp-chrome-icon { width: 22px; height: 22px; }
.lp .lp-foot-chrome p { color: var(--lp-muted-dark); font-size: 14px; line-height: 1.4; }

/* ---------- mobile (< 900px) — C-Mobile ---------- */
@media (max-width: 899px) {
  .lp { --lp-gutter: 16px; --lp-gap: 56px; }
  .lp-only-d { display: none !important; }
  .lp-only-m { display: revert !important; }
  .lp [id] { scroll-margin-top: 72px; }

  .lp-head {
    position: sticky; top: 0; z-index: 6; flex-wrap: nowrap; gap: 8px;
    height: 60px; padding: 0 8px 0 16px;
  }
  .lp-logo { font-size: 28px; }
  .lp-head-actions { gap: 4px; }
  .lp .lp-head-cta { padding: 0 14px; }
  .lp-head-actions .lp-lang { display: none; }
  .lp-burger {
    display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 0; background: transparent; color: var(--lp-ground); cursor: pointer; padding: 0;
  }
  .lp-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 0 16px 8px;
    background: var(--lp-ink); border-top: 1px solid #4A4741;
  }
  .lp-head.is-open .lp-nav { display: flex; }
  .lp-nav a { display: block; padding: 14px 0; font-size: 15px; border-top: 1px solid #4A4741; }
  .lp-nav a:first-child { border-top: 0; }
  .lp-lang-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 10px 0 6px; border: 1px solid var(--lp-ground); }
  .lp .lp-nav .lp-lang-seg > * {
    appearance: none; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0; border: 0; border-radius: 0;
    background: transparent; color: var(--lp-ground); font: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; cursor: pointer;
  }
  .lp .lp-nav .lp-lang-seg > [aria-current] { background: var(--lp-ground); color: var(--lp-ink); }

  .lp-h1 { font-size: min(76px, 18.5vw); line-height: 0.84; padding-top: 16px; white-space: normal; }
  .lp-h2 { font-size: min(60px, 15.4vw); line-height: 0.86; }

  .lp-form input { padding: 0 14px; }
  .lp-form button { font-size: 15px; }

  /* horizontal scroll-snap rails */
  .lp-rail {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 16px 8px; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch;
  }
  .lp-rail > * { scroll-snap-align: start; }
  .lp-rail:focus-visible { outline-offset: -2px; }
  .lp-eyebrow { font-size: 12px; }

  .lp .lp-eq-title { margin-bottom: 24px; }
  .lp .lp-eq-grid { display: flex; padding: 0 16px 8px; }
  .lp-eq-item { flex: 0 0 min(326px, calc(100vw - 32px)); }
  .lp-eq-op { font-size: 24px; }

  .lp-cmp-title { font-size: min(52px, 13.3vw); margin-bottom: 20px; }
  .lp-cmp-table { display: none; }
  .lp-cmp-pairs { display: block; border: var(--lp-hair); border-radius: var(--lp-r-tile); overflow: hidden; }
  .lp-cmp-pairs > div + div { border-top: var(--lp-hair); }
  .lp-cmp-pairs dt { padding: 12px 14px 4px; font-size: 15px; color: var(--lp-muted); }
  .lp-cmp-pairs dd { padding: 4px 14px 14px; font-weight: 700; }
  .lp-cmp-pairs span { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

  .lp-pricing { padding-bottom: 0; }
  .lp-pricing .lp-split { display: block; margin-bottom: 20px; }
  .lp-pricing .lp-h2 { margin-bottom: 4px; }
  .lp-plans { display: flex; flex-direction: column; gap: 12px; }
  .lp-plan {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "soon price" "name price" "desc price";
    align-items: center; column-gap: 12px; row-gap: 0; padding: 18px 16px;
  }
  .lp-plan-dark { padding: 20px 18px; }
  .lp-plan-name { grid-area: name; }
  .lp-plan-desc { grid-area: desc; font-size: 15px; }
  .lp-plan-price { grid-area: price; font-size: 56px; line-height: 0.9; }
  .lp-plan-price small { font-size: 16px; }
  .lp-plan-desc:not(:last-child) { margin-bottom: 0; }
  .lp-plan .lp-btn { display: none; }

  .lp-privacy { margin-top: 56px; padding-top: 48px; padding-bottom: 48px; }
  .lp-privacy-title { font-size: min(68px, 17.4vw); }
  .lp-privacy ul { display: block; margin-top: 28px; font-size: 17px; }
  .lp-privacy li { padding: 14px 0; }
  .lp .lp-privacy-link { display: block !important; border-top: 0; padding: 8px 0 0; }
  .lp-privacy-link a { display: inline-block; padding: 12px 0; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

  .lp-turn { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 20px; }
  .lp-turn-title { font-size: min(96px, 24.6vw); }
  .lp .lp-turn-cta { padding: 20px; }

  .lp-foot { gap: 32px; padding-top: 36px; }
  .lp-foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
  .lp-foot-intro { grid-column: 1 / -1; }
  .lp .lp-foot a.lp-foot-cta { display: none; } /* the sticky bar is the phone's CTA */
  .lp .lp-foot-lead { font-size: 17px; }
  .lp-foot nav { gap: 0; }
  .lp-foot h2 { font-size: 12px; }
  .lp-foot nav a { display: flex; align-items: center; min-height: 44px; line-height: 1.25; padding: 6px 0; }
  .lp-foot-bottom { flex-wrap: wrap; gap: 4px 16px; padding-top: 16px; }
  .lp-foot-bottom > a { display: flex; align-items: center; min-height: 44px; }
  /* Without JavaScript a tap can't open the panel: the choices are simply shown. */
  .lp-foot .lp-lang:not([data-ready]) { flex-direction: column; align-items: flex-end; }
  .lp-foot .lp-lang:not([data-ready]) .lp-lang-btn { display: none; }
  .lp-foot .lp-lang:not([data-ready]) .lp-lang-panel { display: flex; position: static; }

  .lp .lp-sticky {
    position: sticky; bottom: 0; z-index: 6; display: flex !important; gap: 8px; align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--lp-ground); border-top: var(--lp-hair);
  }
  .lp-sticky > span { flex: 1 1 auto; font-size: 14px; line-height: 1.3; }
  .lp-sticky .lp-btn { padding: 16px 20px; white-space: nowrap; }
}

/* ---------- tablet (700-899px): mobile header and hero, one-line H1, three-column #how ---------- */
@media (min-width: 700px) and (max-width: 899px) {
  .lp-h1 { font-size: calc((100vw - 2 * var(--lp-gutter)) / 7.3); line-height: 0.8; white-space: nowrap; }
  .lp-step-field { font-size: 12px; }
}

/* The Polish 404 headline is wider than the English source at the same font size. */
@media (min-width: 700px) {
  html[data-locale="pl"] .lp-404 > .lp-h1 {
    font-size: min(calc((100vw - 2 * var(--lp-gutter)) / 10.7), 260px);
  }
}

/* ---------- phone (< 700px): #how as compact rows, content-sized in px (no vh, so toolbars don't matter).
   Heading to note fits between the sticky header and bottom bar at 390x664, 375x667 and 360x640. ---------- */
@media (max-width: 699px) {
  .lp { --lp-tile-gap: 8px; }
  .lp .lp-how { margin-top: calc(var(--lp-gap) - 8px); padding-top: 8px; padding-bottom: 0; }
  .lp .lp-how-title { font-size: min(44px, calc((100vw - 32px) / 8.8)); margin-bottom: 10px; }
  .lp-steps { display: flex; flex-direction: column; gap: 10px; }
  .lp-step { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 12px; align-items: start; }
  .lp-step-media { height: auto; }
  .lp-step-bar { padding: 2px 4px; font-size: 10px; font-stretch: 75%; }
  .lp-step-bar::before { display: none; }
  .lp-step-meta { display: none; }
  .lp .lp-step-photo { flex: none; aspect-ratio: 4 / 3; }
  /* A working form needs usable controls instead of the illustration's miniature field. */
  .lp-step:has(.lp-step-paste) { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lp-step:has(.lp-step-paste) .lp-step-body { grid-row: 1; }
  .lp-step-paste { gap: 8px; padding: 12px; }
  .lp-step-label { font-size: 13px; }
  .lp-step-field { min-height: 44px; padding: 8px; font-size: 16px; }
  .lp-step-go { min-height: 44px; font-size: 13px; }
  .lp-step-choose { min-height: 44px; font-size: 12px; }
  .lp-step-paste .lp-form-photo-hint { font-size: 12px; line-height: 1.2; }
  .lp-step-once { gap: 4px; padding: 0 4px 4px; font-size: 10px; font-stretch: 75%; line-height: 1.1; }
  .lp .lp-step-selfie { width: 22px; }
  .lp .lp-step-whole { width: 112px; height: 148px; }
  .lp-step-body { padding-top: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; align-items: center; }
  .lp-step-body > div { display: contents; }
  .lp-step-n { font-size: 36px; }
  .lp-step h3 { font-size: 18px; }
  .lp-step p { grid-column: 1 / -1; margin-top: 0; font-size: 14px; line-height: 1.3; }
  .lp .lp-how-note { margin-top: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .lp-rail { scroll-behavior: smooth; }
}

