/* DwellCase landing. Kierunek: "The product performs". Jeden krój (Work Sans), płaskie pola koloru,
   fragmenty aplikacji ([data-ui]) jako główna grafika. Bez gradientów, cieni w spoczynku i cienkich linii. */

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/work-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/work-sans-latin.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;
}

:root {
  --bg: #ebe5e3;
  --surface: #e1dad7;
  --paper: #f6f2f0;
  --ink: #2b2622;
  --muted: #5e5551;
  --accent: #0f7d45;
  --accent-ink: #ffffff;
  --m: clamp(16px, 2.2vw, 32px);
  --r: 6px;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.55 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------ type roles */
.h2 { font-weight: 300; font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.h-big { font-weight: 400; font-size: clamp(2rem, 1rem + 3.6vw, 4.4rem); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
.display { font-weight: 300; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; text-wrap: pretty; }
.statement { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.75rem); line-height: 1.3; letter-spacing: -0.015em; max-width: 30em; text-wrap: pretty; }
.note, .fine-note, .stage-tag { font-size: var(--step-small); color: var(--muted); }
.link { text-underline-offset: 0.22em; text-decoration-thickness: 2px; font-weight: 500; }
.link:hover { color: var(--accent); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: var(--r);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; text-decoration: none; text-align: center; line-height: 1.2;
  transition: transform 0.18s var(--ease), background-color 0.18s;
}
.btn:hover { transform: translateY(-2px); background: #0a6a39; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: #000; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* -------------------------------------------------------------------- bar */
.bar { display: flex; align-items: center; gap: 24px; padding: 14px var(--m); min-height: 72px; position: relative; z-index: 20; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 1.125rem; letter-spacing: -0.02em; margin-right: auto; }
.bar nav { display: flex; gap: 28px; font-size: 0.9375rem; }
.bar nav a { text-decoration: none; padding: 10px 0; }
.bar nav a:hover { color: var(--accent); }
.bar-end { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; cursor: pointer; font-weight: 500; font-size: 0.9375rem; border-radius: var(--r); background: var(--surface); transition: background-color 0.18s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: #d6cdc9; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); min-width: 160px; background: #f8f5f3; border-radius: var(--r); padding: 6px; z-index: 30; }
.lang li a { display: block; padding: 11px 14px; text-decoration: none; border-radius: 4px; }
.lang li a:hover, .lang li a[aria-current] { background: var(--surface); }

/* ------------------------------------------------------------------- hero */
.hero { min-height: calc(100svh - 72px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); padding: clamp(28px, 5vw, 72px) var(--m) 0; align-items: start; }
.hero-copy { container-type: inline-size; padding-top: clamp(0px, 3vw, 48px); }
.hero h1 { font-weight: 300; font-size: min(4.6rem, calc(100cqw / (var(--n) * 0.53))); line-height: 1.04; letter-spacing: -0.035em; }
.ln { display: block; overflow: hidden; white-space: nowrap; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.ln > span { display: block; animation: rise 0.9s var(--ease) both; }
.ln + .ln > span { animation-delay: 0.11s; }
.hero .lead { margin-top: clamp(24px, 3vw, 40px); animation: fade 0.7s 0.6s var(--ease) both; }
.hero .actions { margin-top: 32px; animation: fade 0.7s 0.7s var(--ease) both; }
.hero .note { margin-top: 20px; animation: fade 0.7s 0.8s var(--ease) both; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-stage { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--r); min-height: clamp(520px, 44vw, 700px); display: flex; align-items: flex-end; padding: 64px clamp(16px, 2.4vw, 36px) clamp(16px, 2.4vw, 36px); }
.hero-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55); }
.stage-tag { position: absolute; top: 16px; left: 16px; background: var(--ink); color: #f4efed; padding: 6px 12px; border-radius: var(--r); }
/* ------------------------------------------------------- app fragments */
.ui { background: #fbf9f8; color: #2b2622; border: 1px solid #d6cdc9; border-radius: 16px; font-size: 14px; line-height: 1.4; text-align: left; } /* taste-skill-ignore */
.ui strong { display: block; font-size: 16px; font-weight: 600; }
.ui-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 18px 12px; }
.ui-head span { color: #6a615d; font-size: 13px; }
.ui-count { font-weight: 600; font-variant-numeric: tabular-nums; background: #ebe5e3; border-radius: 999px; padding: 3px 10px; color: #2b2622 !important; }
.ui-phone { position: relative; width: min(100%, 340px); box-shadow: 0 20px 50px rgba(43, 38, 34, 0.28); } /* taste-skill-ignore: fragment data-ui na zdjęciu */
.shots { padding: 0 8px; }
.shot { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: none; border: 0; padding: 13px 10px; min-height: 48px; border-radius: 10px; transition: background-color 0.15s; }
.shot:hover { background: #f0eae7; }
.box { flex: none; width: 22px; height: 22px; border: 2px solid #b9aeaa; border-radius: 50%; display: inline-grid; place-items: center; transition: background-color 0.15s, border-color 0.15s; }
.shot[aria-pressed='true'] .box, .box.on { background: #0f7d45; border-color: #0f7d45; }
.shot[aria-pressed='true'] .box::after, .box.on::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.ui-foot { padding: 14px 18px 4px; }
.meter { height: 8px; background: #e6dfdc; border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; background: #0f7d45; border-radius: 4px; transition: width 0.35s var(--ease); }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.ui-hint { padding: 6px 18px 16px; font-size: 12.5px; color: #6a615d; }
.ui-card { width: 100%; max-width: 280px; transition: transform 0.2s var(--ease); }
.plain { padding: 0 18px 8px; }
.plain li { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.plain li em { margin-left: auto; font-style: normal; color: #6a615d; font-size: 13px; }
.ui-card .sum { padding: 4px 18px 16px; font-size: 15px; }
.ui-btn { margin: 8px 18px 18px; padding: 12px 14px; background: #0f7d45; color: #fff; border-radius: 10px; font-weight: 500; text-align: center; }
.ui-dialog { width: min(100%, 400px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); padding-bottom: 12px; } /* taste-skill-ignore: pływający uchwyt suwaka */
.ui-slider { padding: 18px; width: min(100%, 420px); }
.ui-slider label { display: block; margin-bottom: 10px; font-weight: 500; }
.ui-slider input { flex: 1; accent-color: #0f7d45; min-height: 32px; }
.ui-slider output { font-weight: 600; min-width: 8ch; text-align: right; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- sections */
.sec { padding: clamp(88px, 11vw, 176px) var(--m) 0; }

.paths-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px; margin-top: clamp(28px, 4vw, 56px); align-items: stretch; }
.path { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; transition: transform 0.25s var(--ease); }
.path:hover { transform: translateY(-4px); }
.path-b { background: #d3c9c5; }
.path img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(0.75); }
.path-a img { aspect-ratio: 16 / 9; }
.path-body { padding: clamp(20px, 2.4vw, 36px); display: grid; gap: 14px; flex: 1; }
.path h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
.path p { max-width: 46ch; }
.path ul { display: grid; gap: 6px; font-weight: 500; }
.path li::before { content: ''; display: inline-block; width: 0.55em; height: 0.55em; background: var(--accent); border-radius: 50%; margin-right: 0.7em; }

.problem { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.problem-copy { display: grid; gap: 28px; align-content: start; }
.scatter { display: grid; gap: 2px; margin-top: 12px; }
.scatter li { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.2rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.12; }
.problem-pic img, .problem-pic video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); filter: grayscale(0.6); display: block; }

/* steps strip */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(88px, 11vw, 176px); }
.field { position: relative; min-height: min(84svh, 820px); padding: 28px var(--m); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.f1 { background: var(--paper); }
.f2 { background: var(--surface); }
.f3 { background: var(--ink); color: #f4efed; }
.field .h2 { position: absolute; top: 28px; left: var(--m); right: var(--m); font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.7rem); }
.card-wrap { margin-top: clamp(150px, 22svh, 220px); display: grid; place-items: center; }
.field:hover .ui-card { transform: translateY(-6px); }
.clause { font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.6rem); line-height: 1.15; letter-spacing: -0.025em; max-width: 14em; }
.clause b { font-weight: 500; display: block; }

/* report */
.report { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.report-names { display: grid; gap: 28px; align-content: start; }
.tabs { display: grid; gap: 4px; }
.tabs button { text-align: left; background: none; border: 0; padding: 4px 0; font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 300; color: var(--muted); transition: color 0.18s, transform 0.2s var(--ease); }
.tabs button[aria-selected='true'] { color: var(--ink); font-weight: 400; }
.tabs button:hover { color: var(--ink); transform: translateX(4px); }
.report-stage { background: var(--surface); border-radius: var(--r); min-height: 640px; padding: 28px clamp(16px, 3vw, 40px) 0; overflow: hidden; }
.report-panel { display: grid; gap: 20px; animation: fade 0.3s var(--ease) both; }
.report-panel[hidden] { display: none; }
.report-intro { max-width: 42ch; font-size: 1.125rem; }
.paper { background: #fffdfc; color: #2b2622; width: min(100%, 560px); padding: 36px 40px 56px; border: 1px solid #d6cdc9; font-size: 14px; min-height: 560px; } /* taste-skill-ignore */
.paper-narrow { width: min(100%, 440px); }
.paper-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 2px solid #2b2622; }
.paper-top strong { font-size: 20px; }
.paper-top span { color: #6a615d; }
.paper-prop { margin: 18px 0; font-weight: 500; font-size: 15px; }
.paper-prop span { font-weight: 400; color: #6a615d; }
.paper table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.paper th { text-align: left; font-weight: 400; padding: 9px 0; border-bottom: 1px solid #e6dfdc; }
.paper td { text-align: right; padding: 9px 0; border-bottom: 1px solid #e6dfdc; font-variant-numeric: tabular-nums; font-weight: 500; }
.paper .tot th, .paper .tot td { font-weight: 600; border-bottom: 0; border-top: 2px solid #2b2622; }
.paper-sub { margin: 22px 0 4px; font-weight: 600; }
.paper-foot { margin-top: 28px; color: #6a615d; font-size: 12.5px; }
.paper pre { margin: 18px 0 0; overflow: auto; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }

/* compare */
.compare { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.compare-copy { display: grid; gap: 24px; align-content: start; }
.list-title { font-weight: 500; margin-top: 12px; }
.flags { display: grid; gap: 6px; font-weight: 500; font-size: 1.125rem; }
.flags li::before { content: ''; display: inline-block; width: 0.5em; height: 0.5em; background: var(--accent); border-radius: 50%; margin-right: 0.7em; }
.cmp { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.cmp-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.cmp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.cmp-tag { position: absolute; top: 16px; padding: 8px 14px; background: var(--ink); color: #f4efed; border-radius: var(--r); font-weight: 500; font-size: 0.9375rem; }
.cmp-tag-a { left: 16px; }
.cmp-tag-b { right: 16px; background: var(--accent); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; pointer-events: none; }
.cmp-handle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 50%; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3); } /* taste-skill-ignore: dialog data-ui */
.cmp-handle::before { content: '‹ ›'; position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -52%); color: var(--ink); font-weight: 600; letter-spacing: 3px; white-space: nowrap; }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }

/* privacy */
.privacy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.privacy-copy { display: grid; gap: 28px; align-content: start; justify-items: start; }
/* jedna tabela z pasami zamiast pięciu kart; wiersze nie są klikalne, więc bez hover */
.pvs { display: grid; border-radius: var(--r); overflow: hidden; }
.pv { background: var(--surface); padding: clamp(20px, 2.4vw, 32px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 12px 24px; }
.pv:nth-child(2n) { background: #d6cdc9; }
.pv dt { font-size: clamp(1.3rem, 1rem + 0.9vw, 1.8rem); font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; }

/* landlords stats */
.landlords { margin-top: clamp(88px, 11vw, 176px); background: var(--paper); min-height: min(80svh, 760px); padding: clamp(28px, 4vw, 56px) var(--m); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.land-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.land-ctl { display: grid; gap: 28px; justify-items: start; }
.land-list { display: grid; gap: 10px; font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.015em; }
.land-list li::before { content: ''; display: inline-block; width: 0.45em; height: 0.45em; background: var(--accent); border-radius: 50%; margin-right: 0.7em; vertical-align: 0.08em; }
.land-bottom { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: end; }
.fig { display: flex; align-items: baseline; gap: 0.2em 0.5em; flex-wrap: wrap; line-height: 0.85; }
.fig span { font-size: clamp(4.6rem, 1rem + 13vw, 15rem); font-weight: 500; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.fig small { font-size: clamp(1.1rem, 0.9rem + 1.2vw, 2rem); font-weight: 400; letter-spacing: -0.02em; color: var(--muted); line-height: 1.1; }
.how { font-size: 1.125rem; max-width: 34ch; }

/* pricing */
.pricing { display: grid; gap: clamp(28px, 4vw, 56px); }
.plans { display: grid; }
.plan-name { display: block; text-align: left; width: 100%; background: none; border: 0; padding: 4px 0 4px 0; font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.2rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.04em; color: var(--muted); position: relative; transition: color 0.18s, padding 0.25s var(--ease); }
.plan-name i { position: absolute; left: 0; top: 50%; width: 0.3em; height: 0.3em; margin-top: -0.15em; border-radius: 50%; background: var(--accent); transform: scale(0.6); opacity: 0; transition: transform 0.25s var(--ease), opacity 0.25s; }
.plan-name:hover { color: var(--ink); }
.plan.on .plan-name { color: var(--ink); font-weight: 400; padding-left: 0.5em; }
.plan.on .plan-name i { transform: scale(1); opacity: 1; }
.plan-panel { display: grid; gap: 14px; padding-bottom: 36px; align-content: start; justify-items: start; padding: 12px 0 24px; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; line-height: 1; }
.plan-price span { font-size: clamp(3.4rem, 1rem + 7.6vw, 9rem); font-weight: 500; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 1.125rem; color: var(--muted); }
.plan-sub { color: var(--muted); font-size: 1rem; }
.plan-who { font-weight: 500; }
.plan-text { max-width: 40ch; font-size: 1.125rem; }
.js .plan:not(.on) .plan-panel { display: none; }
.js .plan.on .plan-panel { animation: fade 0.25s var(--ease) both; }
@media (min-width: 901px) {
  .js .plans { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(24px, 4vw, 72px); align-items: start; }
  .js .plan { display: contents; }
  .js .plan .plan-name { grid-column: 1; }
  .js .plan .plan-panel { grid-column: 2; grid-row: 1 / span 4; }
}

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.faq .h2 { position: sticky; top: 96px; }
.faq-list { display: grid; gap: 8px; }
details:not(.lang) { background: var(--surface); border-radius: var(--r); transition: background-color 0.2s; }
details:not(.lang) summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 16px 24px; font-size: 1.25rem; font-weight: 500; cursor: pointer; }
details:not(.lang) summary::-webkit-details-marker { display: none; }
details:not(.lang) summary { position: relative; padding-right: 64px; }
details:not(.lang) summary::before, details:not(.lang) summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; background: currentColor; transition: transform 0.25s var(--ease); }
details:not(.lang) summary::before { transform: rotate(90deg); }
details[open]:not(.lang) summary::before { transform: rotate(0); }
details p { padding: 0 24px 24px; max-width: 52ch; font-size: 1.125rem; }
details:not(.lang):not([open]):hover { background: #d6cdc9; }

/* get */
.get { margin-top: clamp(88px, 11vw, 176px); background: var(--accent); color: var(--accent-ink); min-height: min(76svh, 680px); padding: clamp(28px, 4vw, 56px) var(--m); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.get-copy { align-self: end; display: grid; gap: 24px; justify-items: start; }
.get-copy p { max-width: 36ch; font-size: var(--step-lead); line-height: 1.35; }
.get .link:hover { color: #fff; opacity: 0.8; }
.get .btn-ink:hover { background: #000; }
.get .ui-dialog { justify-self: end; }

/* footer */
.footer { padding: 8px var(--m) 24px; }
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.tile { background: var(--surface); border-radius: var(--r); padding: 24px; min-height: 220px; text-decoration: none; display: flex; flex-direction: column; }
.t-state { grid-column: span 4; justify-content: space-between; }
.t-nav { grid-column: span 3; gap: 4px; font-size: 1.125rem; background: #d6cdc9; }
.t-nav a { text-decoration: none; padding: 6px 0; font-weight: 500; }
.t-nav a:hover, .t-langs a:hover { color: var(--accent); }
.t-lang { grid-column: span 2; justify-content: space-between; }
.t-langs { display: grid; gap: 2px; font-size: 0.9375rem; }
.t-langs a { text-decoration: none; padding: 3px 0; }
.t-mail { grid-column: span 3; justify-content: space-between; font-size: 1.25rem; background: var(--paper); transition: background-color 0.2s; }
.t-mail:hover { background: #fff; }
.t-big { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.02em; font-weight: 400; }
.t-small { font-size: var(--step-small); color: var(--muted); }
.t-word { grid-column: span 8; min-height: 320px; background: var(--ink); color: #f4efed; align-items: center; justify-content: center; font-size: clamp(3.2rem, 1rem + 9vw, 9.5rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.tile-accent { grid-column: span 4; min-height: 320px; background: var(--accent); color: var(--accent-ink); justify-content: space-between; position: relative; transition: background-color 0.2s; }
.tile-accent:hover { background: #0a6a39; }
.tile-accent svg { align-self: flex-end; transition: transform 0.25s var(--ease); }
.tile-accent:hover svg { transform: translate(4px, -4px); }
.t-invite { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; max-width: 11em; position: absolute; top: 24px; left: 24px; }
.footer .fine { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; margin-top: 20px; font-size: var(--step-small); color: var(--muted); }

/* docs */
.doc { padding: clamp(28px, 5vw, 72px) var(--m) clamp(72px, 9vw, 140px); display: grid; gap: clamp(28px, 4vw, 56px); }
.doc .copy { display: grid; gap: 22px; justify-items: start; max-width: 52rem; }
.prose { max-width: 46rem; display: grid; gap: 36px; }
.prose h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.prose p + p, .prose p + ul { margin-top: 12px; }
.prose ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.prose a { text-underline-offset: 0.2em; }
.doc-faq { display: grid; gap: 24px; max-width: 52rem; }

/* -------------------------------------------------------------- motion */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .hero-stage .ui-phone { animation: fade 0.8s 0.5s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 900px) {
  .bar nav { display: none; }
  .hero, .problem, .report, .compare, .privacy, .land-top, .faq, .get, .paths-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { min-height: 0; }
  /* na telefonie h1 płynie w 3 linie zamiast ściskać się do 2 (25px było mniejsze od h2) */
  .hero h1 { font-size: 2rem; line-height: 1.1; }
  .ln, .ln > span { display: inline; white-space: normal; overflow: visible; }
  .hero .lead { font-size: 1.125rem; line-height: 1.5; }
  .faq .h2 { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .field { min-height: 0; padding-block: 40px; }
  .field .h2 { position: static; }
  .card-wrap { margin-top: 0; place-items: start; }
  .field { gap: 28px; justify-content: flex-start; }
  .clause { order: -1; }
  .f1 .h2 { order: -2; }
  .tabs { display: flex; overflow-x: auto; gap: 20px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .tabs button { font-size: 1.4rem; white-space: nowrap; scroll-snap-align: start; }
  .tabs button:hover { transform: none; }
  .report-stage { min-height: 0; }
  .paper { padding: 24px 20px 32px; min-height: 0; }
  .pv { grid-template-columns: minmax(0, 1fr); }
  .land-bottom { grid-template-columns: minmax(0, 1fr); }
  .landlords { min-height: 0; gap: 40px; }
  .plans { gap: 0; }
  .plan-name { font-size: 1.8rem; }
  .get { min-height: 0; align-content: start; padding-block: 56px; }
  .get-copy { align-self: start; }
  .get .ui-dialog { justify-self: stretch; width: 100%; }
  .t-state { grid-column: span 12; min-height: 0; }
  .t-big { font-size: 1.25rem; }
  .t-nav { grid-column: span 6; }
  .t-mail { grid-column: span 12; min-height: 120px; overflow-wrap: anywhere; font-size: 1.125rem; }
  .t-lang { grid-column: span 6; }
  .t-word { grid-column: span 12; order: -2; min-height: 160px; }
  .tile-accent { grid-column: span 12; order: -1; min-height: 160px; }
  .tile { min-height: 180px; padding: 20px; gap: 12px; }
  .btn { width: 100%; }
  .bar-end .btn { width: auto; }
  .hero .actions .btn { width: 100%; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 0; padding-block: 56px; }
  .field .h2 { grid-column: 1 / -1; }
  .field .clause { order: 0; }
  .field .card-wrap { place-items: center; }
  .f1 .h2 { order: -3; }
}
@media (max-width: 480px) {
  .bar { gap: 10px; }
  .wordmark span { font-size: 1rem; }
  .bar-end .btn-sm { padding: 0 12px; font-size: 0.85rem; }
}
