/* Offer pages for developers (design/deweloperzy/<page>/index.html), shared styles.
   Service pages written by hand (services/pages/, built into design/services/<slug>/) use them too.
   Built like the home page of maxmiskow.com (ai/site.css, after mistral.ai): a bar of cells,
   a frame of hairline cells, a centred hero with side cells, a strip, strings, a sticky list
   next to rows, coloured blocks, a black band with steps rising as a staircase.
   The colours are the websites site's lime and ink instead of the AI site's purple.
   Screenshots always show in full, on a flat colour. */
:root {
  --ink: #121216;
  --paper: #FFFFFF;
  --grey: #F4F4F5;
  --grey-2: #EBEBEB;
  --line: #E4E4E7;
  --mid: #787881;
  --green: #DAFA9C;
  --green-pale: #F1FFD2;
  --leaf: #7FD321;
  --purple: #681DE4;
  --cyan: #99ECFF;
  --lavender: #D0B7F9;
  --bar: 48px;
  --pad: clamp(16px, 2.8vw, 40px);
  --side: clamp(16px, 7.5vw, 120px);
  --frame: 1600px;
  --top: clamp(104px, 11vw, 168px);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --d1: .25s;
  --d2: .6s;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 500; }
p { text-wrap: pretty; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
::selection { background: var(--green); color: var(--ink); }
/* on lime and pale lime the lime highlight disappears, so selected text turns purple there */
.cta ::selection, .fit--big ::selection, .ask-panel:first-child .ask-big ::selection, .ask-panel:nth-child(5) .ask-big ::selection, .proof-copy ::selection,
.btn-green::selection, .btn-green ::selection, [style*="--bg: var(--green"] ::selection, [style*="--bg: var(--green"]::selection { background: var(--purple); color: var(--paper); }

.frame { max-width: var(--frame); margin: 0 auto; }
@media (min-width: 1601px) { .frame { border-inline: 1px solid var(--line); } }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mid); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--leaf); }
.chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
h2.t { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
.sub { color: var(--mid); font-size: clamp(16px, 1.3vw, 18px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 18px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color var(--d1) var(--ease), color var(--d1) var(--ease); }
.btn .chev { transition: transform var(--d1) var(--ease); }
.btn:hover .chev { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2C2C33; }
.btn-soft { background: rgba(18, 18, 22, .05); }
.btn-soft:hover { background: rgba(18, 18, 22, .1); }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: var(--paper); }
.btn-line { box-shadow: inset 0 0 0 1px currentColor; }
.btn-line:hover { background: rgba(18, 18, 22, .06); }

/* ---------- Bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar-row { display: flex; height: var(--bar); max-width: var(--frame); margin: 0 auto; }
@media (min-width: 1601px) { .bar-row { border-inline: 1px solid var(--line); } }
.bar-logo { display: flex; align-items: center; gap: 9px; padding: 0 22px; border-right: 1px solid var(--line); }
.bar-logo svg { height: 13px; width: auto; fill: currentColor; overflow: visible; }
.bar-logo .logo-mark { height: 12px; }
.bar-nav { display: flex; }
.bar-cell { display: flex; align-items: center; gap: 8px; padding: 0 20px; height: 100%; font-size: 15px; font-weight: 500; white-space: nowrap; border-right: 1px solid var(--line); transition: background-color var(--d1) var(--ease); }
.bar-cell:hover { background: var(--grey); }
/* the section this page belongs to: purple, as the home page marks its parts */
.bar-cell.crumb { color: var(--purple); }
.bar-cell.crumb::before { content: ""; width: 8px; height: 8px; background: var(--purple); }
.bar-end { display: flex; margin-left: auto; }
.bar-end .bar-cell { border-right: 0; border-left: 1px solid var(--line); }
.bar-cta { background: var(--ink); color: var(--paper); border-left-color: var(--ink) !important; }
.bar-cta:hover { background: #2C2C33; }

/* ---------- Hero ---------- */
main { padding-top: var(--bar); }
.hero { position: relative; display: grid; grid-template-columns: var(--side) minmax(0, 1fr) var(--side); overflow: clip; }
.hero-side { position: relative; }
.hero-side--l { border-right: 1px solid var(--line); }
.hero-side--r { border-left: 1px solid var(--line); }
.hero-main { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(96px, 10vw, 150px) var(--pad) clamp(96px, 9vw, 136px); text-align: center; }
.hero-title { font-size: clamp(42px, 6.4vw, 100px); font-weight: 500; line-height: .98; letter-spacing: -0.035em; max-width: 11.5em; }
/* the kind of investment in the headline changes by itself: inwestycji, osiedla, budynku, kamienicy */
.hero-title .l1 { display: block; }
.swap { position: relative; display: inline-grid; grid-template-columns: minmax(0, 1fr); vertical-align: bottom; clip-path: inset(0 -1em); padding: 0 .09em; margin-left: -.04em; background: var(--green); transition: width .3s var(--ease); }
.swap > span { grid-area: 1 / 1; justify-self: center; width: max-content; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform var(--d2) var(--ease), opacity var(--d2) var(--ease); }
.swap > span.on { transform: none; opacity: 1; }
.swap > span.out { transform: translateY(-105%); opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-sub { max-width: 32em; margin-top: 28px; color: var(--mid); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.45; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.stack { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; }
.stack i { display: block; }
.hero-side--l .stack i:nth-child(1) { height: 56px; background: var(--green-pale); }
.hero-side--l .stack i:nth-child(2) { height: 72px; background: var(--green); }
.hero-side--l .stack i:nth-child(3) { height: 96px; background: var(--ink); }
.hero-side--r .stack i:nth-child(1) { height: 64px; background: var(--grey-2); }
.hero-side--r .stack i:nth-child(2) { height: 104px; background: var(--green); }
.step-l { position: absolute; left: 0; bottom: 0; width: clamp(48px, 7vw, 112px); height: 48px; background: var(--green); }
.step-l + .step-l { bottom: 48px; width: clamp(24px, 3.5vw, 56px); height: 32px; background: var(--green-pale); }
.step-r { position: absolute; right: 0; bottom: 0; width: clamp(40px, 5vw, 80px); height: 40px; background: var(--ink); }
.sq { position: absolute; width: clamp(28px, 3vw, 44px); aspect-ratio: 1; background: var(--ink); }
.sq--a { right: calc(var(--side) / 2 - clamp(14px, 1.5vw, 22px)); top: 22%; }
.sq--b { right: calc(var(--side) - 12px); top: 46%; width: 22px; background: var(--green); }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 132px; padding: 16px; border-right: 1px solid var(--line); text-align: center; transition: background-color var(--d1) var(--ease); }
.strip li:last-child { border-right: 0; }
.strip li:hover { background: var(--c, var(--grey)); }
.strip li i { width: 10px; height: 10px; background: var(--ink); }
.strip li:nth-child(3n + 2) i { background: var(--leaf); }
.strip .strip-label { position: absolute; left: 14px; top: 12px; font-size: 10.5px; color: var(--mid); }

/* ---------- Demo band ---------- */
.demo { background: var(--grey); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.demo-in { padding: clamp(56px, 6vw, 96px) clamp(16px, 7vw, 120px) 0; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.demo img { width: 100%; height: auto; box-shadow: 0 0 0 1px rgba(18, 18, 22, .08), 0 30px 60px -30px rgba(18, 18, 22, .45); }

/* ---------- Section heads ---------- */
.head { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: var(--top) var(--pad) clamp(64px, 7vw, 104px); text-align: center; }
.head h2 { max-width: 15em; }
.head p { max-width: 32em; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: end; padding: var(--top) var(--pad) clamp(40px, 4vw, 64px); }
.sec-head .eyebrow { margin-bottom: 24px; }
.sec-head h2 { max-width: 12em; }
.sec-head p { max-width: 30em; }
section + section, .build { border-top: 1px solid var(--line); }

/* ---------- Build: strings + sticky list next to rows ---------- */
.build .head, .threads { background: var(--grey); }
.build .head { padding-bottom: 0; }
.threads { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(56px, 5.5vw, 80px) var(--pad) clamp(96px, 10vw, 144px); }
.threads-row { position: relative; display: flex; justify-content: center; gap: clamp(28px, 3.6vw, 56px); }
.threads-row::before { content: ""; position: absolute; left: -50vw; right: -50vw; top: 50%; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.threads { overflow: hidden; }
.threads-row.r1 { left: -2.5%; }
.threads-row.r2 { left: 3%; }
.threads-row.r3 { left: -1.5%; }
.thread { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; background: color-mix(in srgb, var(--ink) 4%, var(--grey)); color: var(--mid); border: 1px solid color-mix(in srgb, var(--ink) 9%, var(--grey)); font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; letter-spacing: -0.012em; white-space: nowrap; }
.thread::before, .thread::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; background: var(--ink); translate: 0 -50%; }
.thread::before { left: -3px; }
.thread::after { right: -3px; }
.thread.is-on { background: var(--paper); color: var(--ink); }
.thread.is-key { background: var(--ink); color: var(--paper); border-color: var(--ink); height: 54px; padding: 0 20px; }
.thread.is-key i { width: 8px; height: 8px; background: var(--green); }

.build-grid { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); border-top: 1px solid var(--line); }
.build-nav { border-right: 1px solid var(--line); }
.build-nav ul { position: sticky; top: calc(var(--bar) + 32px); display: flex; flex-direction: column; gap: 4px; padding: 32px var(--pad); }
.build-nav a { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 16px; color: var(--mid); font-size: 16px; font-weight: 500; border: 1px solid transparent; transition: color var(--d1) var(--ease), border-color var(--d1) var(--ease), background-color var(--d1) var(--ease); }
.build-nav a i { display: inline-flex; align-items: center; gap: 12px; font-style: normal; }
.build-nav a i::before { content: ""; width: 8px; height: 8px; background: var(--c, var(--ink)); opacity: .35; transition: opacity var(--d1) var(--ease); }
.build-nav a .chev { opacity: 0; transform: translateX(-4px); transition: opacity var(--d1) var(--ease), transform var(--d1) var(--ease); }
.build-nav a:hover { color: var(--ink); }
.build-nav a.is-on { color: var(--ink); border-color: var(--line); background: var(--paper); }
.build-nav a.is-on i::before { opacity: 1; }
.build-nav a.is-on .chev { opacity: 1; transform: none; }
.build-nav .nav-foot { margin-top: 24px; padding: 18px 16px 0; border-top: 1px solid var(--line); color: var(--mid); font-size: 14px; }
.build-nav .nav-foot a { display: inline; height: auto; padding: 0; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 40px); padding: clamp(24px, 2.8vw, 40px); border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row:nth-child(even) .row-copy { order: 2; }
.row-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 8px 0; }
.row-copy .btn { align-self: flex-start; }
.row-copy .mono { display: flex; align-items: center; gap: 10px; color: var(--mid); }
.row-copy .mono::before { content: ""; width: 8px; height: 8px; background: var(--c, var(--ink)); }
.row h3 { margin-top: 18px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -0.028em; }
.row-text { margin-top: 18px; color: var(--mid); font-size: 17px; max-width: 26em; }
.miss { margin-top: 28px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; max-width: 30em; }
.miss .mono { display: block; margin-bottom: 6px; font-size: 11px; }
.miss .mono::before { display: none; }
/* coloured panel with the screenshot shown whole */
.panel { position: relative; display: grid; place-items: center; min-height: 420px; padding: clamp(40px, 4.4vw, 64px) clamp(20px, 3.4vw, 52px); background: var(--bg, var(--grey)); }
.panel-tag { position: absolute; left: 0; top: 0; padding: 8px 12px; background: var(--paper); color: var(--ink); font-size: 11px; z-index: 1; }
.panel img { width: auto; height: auto; max-width: 100%; max-height: 560px; box-shadow: 0 0 0 1px rgba(18, 18, 22, .08), 0 30px 60px -30px rgba(18, 18, 22, .45); }

/* ---------- Five questions: side tabs, two cells and one big card (mistral.ai's industries) ---------- */
.ask-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px 40px; padding: var(--top) var(--pad) clamp(40px, 4vw, 64px); }
.ask-head .eyebrow { margin-bottom: 24px; }
.ask-head h2 { max-width: 13em; }
.ask { display: grid; grid-template-columns: minmax(240px, 30%) minmax(0, 1fr); border-top: 1px solid var(--line); }
.ask-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.ask-tabs button { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 120px; padding: 24px var(--pad); background: var(--grey); color: var(--mid); text-align: left; font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); transition: background-color var(--d1) var(--ease), color var(--d1) var(--ease); }
.ask-tabs button:last-child { border-bottom: 0; }
.ask-tabs button i { width: 10px; height: 10px; background: currentColor; opacity: .4; }
.ask-tabs button:hover { color: var(--ink); }
.ask-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.ask-tabs button[aria-selected="true"] i { background: var(--leaf); opacity: 1; }
.ask-panels { display: grid; padding: clamp(24px, 3vw, 48px); }
.ask-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: 1fr 1fr; gap: 20px; transition: opacity var(--d2) var(--ease); }
.ask-panel[hidden] { display: grid !important; opacity: 0; visibility: hidden; pointer-events: none; }
.ask-cell { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.ask-cell .mono { color: var(--mid); }
.ask-cell p { font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; line-height: 1.22; letter-spacing: -0.02em; }
.ask-big { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(24px, 2.6vw, 36px); background: var(--green); }
.ask-big p { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; line-height: 1.12; letter-spacing: -0.028em; }
.ask-big .mono { color: color-mix(in srgb, var(--ink) 60%, transparent); }
/* each tab gets its own colour for the big card (the home page's colour blocks) */
.ask-panel:nth-child(2) .ask-big { background: var(--cyan); }
.ask-panel:nth-child(3) .ask-big { background: var(--lavender); }
.ask-panel:nth-child(4) .ask-big { background: var(--ink); color: var(--paper); }
.ask-panel:nth-child(4) .ask-big .mono { color: rgba(255, 255, 255, .6); }
.ask-panel:nth-child(5) .ask-big { background: var(--green-pale); }

/* ---------- When an estate site (the gains grid) ---------- */
.fit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.fit { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 260px; padding: 24px var(--pad) 28px; background: var(--bg, var(--paper)); }
.fit h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; letter-spacing: -0.02em; }
.fit p { margin-top: 10px; color: color-mix(in srgb, var(--ink) 66%, transparent); font-size: 15.5px; line-height: 1.45; }
.fit .mark { width: 10px; height: 10px; background: var(--ink); }
.fit--big { grid-column: span 2; grid-row: span 2; justify-content: flex-end; background: var(--green); }
.fit--big .mono { color: color-mix(in srgb, var(--ink) 60%, transparent); }
.fit--big h3 { margin-top: 18px; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.04; letter-spacing: -0.03em; max-width: 12em; }
.fit--big p { font-size: clamp(16px, 1.3vw, 18px); max-width: 28em; }

/* ---------- How it is made: black band, steps rising as a staircase ---------- */
.how { background: var(--ink); color: var(--paper); border-top: 0; }
.how .frame { border-color: rgba(255, 255, 255, .12); }
.how-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; padding: var(--top) var(--pad) clamp(48px, 5vw, 72px); }
.how-head .eyebrow { color: rgba(255, 255, 255, .55); margin-bottom: 24px; }
.how-head .eyebrow::before { background: var(--green); }
.how-head h2 { max-width: 11em; }
.how-head p { max-width: 28em; color: rgba(255, 255, 255, .62); font-size: clamp(16px, 1.3vw, 18px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .12); }
.step { display: flex; flex-direction: column; min-height: 600px; border-right: 1px solid rgba(255, 255, 255, .12); }
.step:last-child { border-right: 0; }
.step-meta { display: flex; justify-content: space-between; gap: 12px; padding: 20px var(--pad) 0; color: rgba(255, 255, 255, .55); }
.step-meta b { color: var(--paper); font-weight: 500; }
.step-card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; margin-top: auto; height: var(--h); padding: 24px var(--pad) var(--pad); background: var(--bg); color: var(--ink); }
.step-card .mark { width: 12px; height: 12px; background: var(--ink); }
.step-card h3 { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.08; letter-spacing: -0.025em; }
.step-card p { margin-top: 12px; font-size: 15px; line-height: 1.45; opacity: .78; }

/* ---------- FAQ ---------- */
.faq { background: var(--grey); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.faq-head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: var(--top) var(--pad); border-right: 1px solid var(--line); }
.faq-head h2 { max-width: 10em; }
.faq-head p { max-width: 24em; }
.faq-list { padding: var(--top) var(--pad); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa button { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 22px 0; text-align: left; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -0.015em; }
.qa button i { position: relative; flex: none; width: 28px; height: 28px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background-color var(--d1) var(--ease), transform var(--d2) var(--ease); }
.qa button i::before, .qa button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--ink); translate: -50% -50%; transition: background-color var(--d1) var(--ease); }
.qa button i::after { rotate: 90deg; }
.qa button:hover i { box-shadow: inset 0 0 0 1px var(--ink); }
.qa.is-open button i { background: var(--ink); transform: rotate(45deg); }
.qa.is-open button i::before, .qa.is-open button i::after { background: var(--paper); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d2) var(--ease); }
.qa.is-open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { max-width: 36em; padding: 0 52px 24px 0; color: var(--mid); font-size: 16px; line-height: 1.55; }

/* ---------- Closing band and footer ---------- */
.cta { background: var(--green); border-top: 0; }
.cta .frame { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: 500px; }
.cta-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(72px, 8vw, 120px) var(--pad) var(--pad); }
.cta .eyebrow { color: color-mix(in srgb, var(--ink) 60%, transparent); }
.cta .eyebrow::before { background: var(--ink); }
.cta h2 { margin-top: 24px; font-size: clamp(36px, 4.8vw, 72px); line-height: 1; letter-spacing: -0.035em; max-width: 10em; }
.cta p { margin-top: 24px; max-width: 26em; color: color-mix(in srgb, var(--ink) 70%, transparent); font-size: clamp(16px, 1.3vw, 18px); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cta-art { position: relative; overflow: hidden; }
.cta-art i { position: absolute; bottom: 0; right: 0; background: var(--ink); }
.cta-art i:nth-child(1) { width: 100%; height: 25%; background: var(--green-pale); }
.cta-art i:nth-child(2) { width: 75%; height: 50%; background: var(--paper); }
.cta-art i:nth-child(3) { width: 50%; height: 75%; background: #2C2C33; }
.cta-art i:nth-child(4) { width: 25%; height: 100%; background: var(--ink); }
.foot { border-top: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.foot-col { padding: 32px var(--pad) 48px; border-right: 1px solid var(--line); }
.foot-col:last-child { border-right: 0; }
.foot-col h4 { margin: 0 0 18px; color: var(--mid); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.foot-col li + li { margin-top: 8px; }
.foot-col a { font-size: 15px; font-weight: 500; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-about { max-width: 22em; color: var(--mid); font-size: 15px; }
.foot-about b { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 500; }
.foot-mark { padding: clamp(40px, 6vw, 96px) var(--pad) clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); }
.foot-logo { width: 100%; height: auto; fill: var(--ink); overflow: visible; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px var(--pad); border-top: 1px solid var(--line); color: var(--mid); font-size: 14px; }

/* ---------- Entrance ---------- */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip li:nth-child(3) { border-right: 0; }
  .strip li:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row, .row:nth-child(even) { grid-template-columns: 1fr; }
  .ask-panel { grid-template-columns: 1fr; grid-template-rows: auto; }
  .ask-big { grid-column: auto; grid-row: auto; min-height: 220px; }
  .row:nth-child(even) .row-copy { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { min-height: 440px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 860px) {
  .bar-nav .bar-cell:not(.crumb) { display: none; }
  .sec-head, .how-head, .build-grid, .faq-grid, .cta .frame { grid-template-columns: 1fr; }
  .build-nav { display: none; }
  .ask { grid-template-columns: 1fr; }
  .ask-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .ask-tabs button { flex: none; min-height: 0; gap: 14px; padding: 16px 18px; font-size: 16px; border-bottom: 0; border-right: 1px solid var(--line); }
  .ask-panels { padding: 16px; }
  .faq-head { border-right: 0; padding-bottom: 0; }
  .faq-list { padding-top: 48px; }
  .cta-art { min-height: 200px; }
}
@media (max-width: 600px) {
  .bar-nav, .bar-end .demo-cell { display: none; }
  .bar-logo .logo-word { display: none; }
  .hero { display: block; }
  .hero-side { display: none; }
  .hero-main { padding-top: 72px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta .btn { justify-content: space-between; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip li { height: 104px; border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .strip li:nth-child(even) { border-right: 0 !important; }
  .strip li:nth-last-child(-n + 2) { border-bottom: 0; }
  .demo-top .mono + .mono { display: none; }
  .threads-row { flex-wrap: wrap; justify-content: center; gap: 14px 24px; left: 0 !important; }
  .threads-row::before { display: none; }
  .thread { font-size: 15px; height: 40px; }
  .thread.is-key { height: 48px; }
  .panel { min-height: 0; padding: 40px 16px 20px; }
  .fit-grid, .steps { grid-template-columns: 1fr; }
  .fit--big { grid-column: auto; grid-row: auto; min-height: 280px; }
  .fit { min-height: 0; }
  .step { min-height: 0; }
  .step-card { height: auto; margin-top: 24px; }
  .foot-cols { grid-template-columns: 1fr; }
  .foot-col { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .qa-a p { padding-right: 0; }
}

/* ---------- Small pieces of interface on a coloured panel (as on the home page) ----------
   Used where there is no screenshot of a real site to show; always tagged "Przykład". */
.ui { position: relative; width: min(100%, 440px); background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px rgba(18, 18, 22, .08), 0 30px 60px -30px rgba(18, 18, 22, .45); font-size: 14px; line-height: 1.4; }
.ui-top { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
.ui-top .st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--mid); font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .02em; }
.ui-top .st::before { content: ""; width: 7px; height: 7px; background: var(--leaf); }
.ui-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ui-row:last-child { border-bottom: 0; }
.ui-row b { font-weight: 500; }
.ui-row small { grid-column: 1; color: var(--mid); font-size: 12.5px; }
.ui-row .tag { grid-row: 1 / 3; grid-column: 2; padding: 3px 8px; background: var(--grey); font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .02em; color: var(--mid); }
.ui-row .tag.ok { background: var(--green-pale); color: #3F6B0E; }
.ui-bar { grid-column: 1 / -1; height: 4px; background: var(--grey); }
.ui-bar i { display: block; height: 100%; width: var(--w); background: var(--ink); }
.ui-img { height: 132px; background: linear-gradient(160deg, var(--green) 0 40%, var(--green-pale) 40% 70%, var(--grey-2) 70%); border-bottom: 1px solid var(--line); }
.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ui-chips span { padding: 5px 10px; border: 1px solid var(--line); font-size: 13px; }
.ui-chips span.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ui-quote { padding: 22px 18px 18px; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; }
.ui-quote footer { margin-top: 16px; color: var(--mid); font-size: 13px; }
.ui-foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--grey); color: var(--mid); font-size: 12.5px; }
.ui-foot b { color: var(--ink); font-weight: 500; }
.panel .ui + .ui { margin-top: -24px; margin-left: 48px; }

/* ---------- Proof from the trade: a real client's film next to a few facts ---------- */
.proof { --pl: color-mix(in srgb, var(--ink) 12%, var(--green-pale)); background: var(--green-pale); }
.proof .frame { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (min-width: 1601px) { .proof .frame { border-color: var(--pl); } }
.proof-film { position: relative; display: grid; place-items: center; padding: clamp(32px, 4vw, 64px); background: var(--ink); border-right: 1px solid var(--pl); }
.proof-film video { width: 100%; height: auto; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.proof-film .panel-tag { background: var(--green); }
.proof-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: var(--top) var(--pad) var(--pad); }
.proof-copy h2 { margin-top: 24px; max-width: 13em; }
.proof-copy .sub { margin-top: 20px; max-width: 30em; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.proof-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--pl); }
.proof-stats li { padding: 20px 0 4px; }
.proof-stats li + li { padding-left: 24px; border-left: 1px solid var(--pl); }
.proof-stats b { display: block; font-size: clamp(40px, 4.4vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.proof-stats span { display: block; margin-top: 10px; color: color-mix(in srgb, var(--ink) 70%, transparent); font-size: 15px; max-width: 16em; }
.proof-btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 860px) {
  .proof .frame { grid-template-columns: 1fr; }
  .proof-film { border-right: 0; border-bottom: 1px solid var(--pl); padding: 48px 16px 24px; }
  .proof-copy { padding-top: 56px; }
}
/* what was delivered, one link per row */
.done { border-top: 1px solid var(--pl, var(--line)); }
.done a { display: grid; grid-template-columns: 1fr auto 14px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--pl, var(--line)); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; transition: padding var(--d1) var(--ease); }
.done a small { color: color-mix(in srgb, var(--ink) 55%, transparent); font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.done a .chev { transition: transform var(--d1) var(--ease); }
.done a:hover .chev { transform: translateX(3px); }
@media (max-width: 600px) { .done a { grid-template-columns: 1fr 14px; } .done a small { display: none; } }

/* ---------- Whole printed pages side by side (karty lokali) ---------- */
.sheets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); align-items: start; }
.sheets img { width: 100%; height: auto; box-shadow: 0 0 0 1px rgba(18, 18, 22, .08), 0 30px 60px -30px rgba(18, 18, 22, .45); }
.sheets img:nth-child(even) { margin-top: clamp(16px, 3vw, 48px); }
@media (max-width: 860px) { .sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sheets img:nth-child(n + 3) { display: none; } }
/* a wide strip cut from a card: the panel hugs it instead of keeping the tall minimum */
.panel--strip { min-height: 0; padding-top: 56px; padding-bottom: 40px; }

/* ---------- A full-width film band (illustration, always tagged) ---------- */
.film-band { position: relative; background: var(--ink); border-top: 1px solid var(--line); }
.film-band .frame { position: relative; }
.film-band video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; max-height: 78svh; }
.film-band .panel-tag { position: absolute; left: 0; top: 0; z-index: 1; }
.film-band figcaption { position: absolute; left: var(--pad); bottom: var(--pad); max-width: 22em; color: var(--paper); font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
@media (max-width: 600px) {
  .film-band figcaption { position: static; padding: 20px 16px 28px; font-size: 22px; text-shadow: none; }
  .film-band video { max-height: none; }
}

/* ---------- Review page: the link field, the sample review ---------- */
.send { display: flex; width: min(100%, 540px); margin-top: 36px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--d1) var(--ease); }
.send:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.send input[type="text"] { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; }
.send input[type="text"]:focus { outline: none; }
.send input::placeholder { color: color-mix(in srgb, var(--mid) 80%, transparent); }
.send .btn { height: 52px; }
.send-note { margin-top: 14px; color: var(--mid); font-size: 14px; }
.send-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cta .send { margin-top: 0; box-shadow: none; }
.cta .send-note { color: color-mix(in srgb, var(--ink) 70%, transparent); }
.ui-row .tag.no { background: var(--ink); color: var(--paper); }
.review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: var(--paper); box-shadow: 0 0 0 1px rgba(18, 18, 22, .08), 0 30px 60px -30px rgba(18, 18, 22, .45); font-size: 14px; line-height: 1.4; }
.review-film { display: flex; flex-direction: column; background: var(--ink); color: var(--paper); }
.review-screen { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #2C2C33 0 45%, #1C1C21 45% 75%, #24242A 75%); }
.review-screen .play { width: 64px; height: 64px; background: var(--green); clip-path: polygon(30% 22%, 30% 78%, 76% 50%); }
.review-screen .mono { position: absolute; right: 14px; bottom: 12px; color: rgba(255, 255, 255, .7); }
.review-chapters li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 13px 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.review-chapters .mono { color: var(--green); line-height: 1.7; }
.review-list { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.review-list .ui-foot { margin-top: auto; }
.review-list .ui-row { padding: 14px 18px; }
@media (max-width: 860px) { .review { grid-template-columns: 1fr; } .review-list { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 600px) {
  .send { flex-direction: column; background: none; box-shadow: none; gap: 8px; }
  .send input[type="text"] { flex: none; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
  .send .btn { justify-content: space-between; }
  .review-chapters li { font-size: 14px; }
}

/* ---------- Hub: one situation, one service ---------- */
.panel video { width: 100%; height: auto; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.panel--film { padding: 0; overflow: hidden; }
.panel--film video { position: absolute; inset: 0; height: 100%; object-fit: cover; box-shadow: none; }
@media (max-width: 600px) { .panel--film { min-height: 0; aspect-ratio: 16 / 10; } }
/* a slider of coloured cards, moved with Motion springs (oferta.js); without the script it simply scrolls */
.pick-view { overflow-x: auto; scrollbar-width: none; }
.pick-view::-webkit-scrollbar { display: none; }
.pick-view.is-motion { overflow: hidden; touch-action: pan-y; cursor: grab; }
.pick-view.is-drag { cursor: grabbing; user-select: none; }
.pick-view.is-drag a { pointer-events: none; }
.pick { position: relative; display: flex; gap: 12px; padding: 0 var(--pad); will-change: transform; }
.pick li { flex: 0 0 min(460px, 36%); }
.pick a { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; height: 100%; min-height: 440px; padding: 24px 28px 0; background: var(--bg); color: var(--fg, var(--ink)); -webkit-user-drag: none; }
.pick .mono { color: color-mix(in srgb, currentColor 60%, transparent); }
.pick h3 { margin-top: 18px; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.06; letter-spacing: -0.028em; max-width: 11em; }
.pick-go { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0 22px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 16px; font-weight: 500; }
.pick-go .chev { transition: transform var(--d1) var(--ease); }
.pick a:hover .chev { transform: translateX(4px); }
.pick-bar { position: relative; height: 2px; margin: 32px var(--pad) clamp(56px, 6vw, 96px); background: var(--line); overflow: hidden; }
.pick-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 30%); background: var(--ink); transform: translateX(var(--x, 0)); }
.pick-nav { display: flex; gap: 8px; margin-top: 28px; }
.pick-nav button { display: grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: var(--paper); transition: background-color var(--d1) var(--ease), opacity var(--d1) var(--ease); }
.pick-nav button:hover:not(:disabled) { background: #2C2C33; }
.pick-nav button:disabled { opacity: .2; cursor: default; }
.pick-prev .chev { transform: rotate(180deg); }
@media (max-width: 1100px) { .pick li { flex-basis: 46%; } }
@media (max-width: 600px) { .pick { gap: 8px; } .pick li { flex-basis: 84%; } .pick a { min-height: 320px; padding: 20px 20px 0; } }

/* ---------- Why it sells: on the site · because the buyer · so ---------- */
.why-list { border-top: 1px solid var(--line); }
.why-list li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: baseline; padding: 28px var(--pad); border-bottom: 1px solid var(--line); transition: background-color var(--d1) var(--ease); }
.why-list li:not(.why-head):hover { background: var(--grey); }
.why-list .why-head { padding-top: 16px; padding-bottom: 16px; color: var(--mid); }
.why-list h3 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -0.02em; }
.why-list h3::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--leaf); transform: translateY(-3px); }
.why-list p { color: var(--mid); font-size: 17px; line-height: 1.45; }
.why-list p:last-child { color: var(--ink); }
.why-list p .mono { display: none; }
@media (max-width: 860px) {
  .why-list .why-head { display: none; }
  .why-list li { grid-template-columns: 1fr; gap: 10px; padding: 24px 16px; }
  .why-list p .mono { display: block; margin-bottom: 2px; font-size: 11px; color: var(--mid); }
}

/* ---------- Under the hood: four cells, each with a small drawn piece of interface ---------- */
.under-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.under-grid > li { display: flex; flex-direction: column; padding: 0 0 32px; background: var(--paper); }
.under-grid > li > .mono { display: inline-flex; align-items: center; gap: 10px; margin: 24px var(--pad) 0; color: var(--mid); }
.under-grid > li > .mono::before { content: ""; width: 8px; height: 8px; background: var(--ink); }
.under-grid > li:nth-child(even) > .mono::before { background: var(--leaf); }
.under-grid > li > h3 { margin: 12px var(--pad) 0; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -0.025em; }
.under-grid > li > p { margin: 8px var(--pad) 0; color: var(--mid); font-size: 16px; line-height: 1.45; }
.under-art { position: relative; display: grid; place-items: center; height: 260px; padding: 24px; overflow: hidden; background: var(--grey); border-bottom: 1px solid var(--line); }
.under-grid > li:nth-child(2) .under-art, .under-grid > li:nth-child(4) .under-art, .under-grid > li:nth-child(6) .under-art { background: var(--green-pale); }
.under-art small { display: block; color: var(--mid); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.under-art em { font-style: normal; }
/* 1 · a phone whose page loads in a blink */
.art-phone { position: relative; display: flex; flex-direction: column; gap: 7px; width: 104px; height: 186px; padding: 16px 10px 10px; border: 5px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 0 24px 40px -24px rgba(18, 18, 22, .5); }
.art-phone i { display: block; }
.art-phone .load { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--leaf); transform-origin: left; animation: art-load 3.2s var(--ease) infinite; }
.art-phone .pic { height: 74px; background: linear-gradient(160deg, var(--green) 0 45%, #B9DE7A 45% 70%, var(--grey-2) 70%); }
.art-phone .ln { height: 7px; background: var(--grey-2); }
.art-phone .ln--s { width: 60%; }
.art-phone .btn-s { height: 20px; margin-top: auto; background: var(--ink); }
@keyframes art-load { 0% { transform: scaleX(0); opacity: 1; } 18% { transform: scaleX(1); opacity: 1; } 30%, 100% { transform: scaleX(1); opacity: 0; } }
/* 2 · a search result */
.art-serp { width: min(100%, 270px); }
.art-serp .q { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px rgba(18, 18, 22, .08); font-size: 13px; }
.art-serp .q i { width: 10px; height: 10px; border: 2px solid var(--mid); border-radius: 50%; }
.art-serp .hit { margin-top: 12px; padding: 14px; background: var(--paper); box-shadow: 0 24px 40px -28px rgba(18, 18, 22, .45); }
.art-serp .hit small { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 11.5px; }
.art-serp .hit b { display: block; margin-top: 4px; color: #1A0DAB; font-size: 14.5px; font-weight: 500; line-height: 1.25; }
.art-serp .hit span { display: block; margin-top: 4px; color: var(--mid); font-size: 12px; line-height: 1.4; }
/* 3 · most viewed flats and where buyers come from */
.art-chart { width: min(100%, 250px); padding: 16px; background: var(--paper); box-shadow: 0 24px 40px -28px rgba(18, 18, 22, .45); }
.art-chart .cbar { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; margin-top: 12px; font-size: 12.5px; font-weight: 500; }
.art-chart .cbar i { display: block; height: 12px; width: var(--w); background: var(--ink); }
.art-chart .cbar:nth-of-type(2) i { background: var(--leaf); }
.art-chart .cbar:nth-of-type(3) i { background: var(--grey-2); }
.art-chart .src, .art-price .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.art-chart .src em, .art-price .chips em { padding: 3px 8px; border: 1px solid var(--line); font-size: 11.5px; }
/* 4 · a flat with its price, price per metre, price history and prospectus */
.art-price { width: min(100%, 230px); padding: 16px; background: var(--paper); box-shadow: 0 24px 40px -28px rgba(18, 18, 22, .45); }
.art-price b { display: block; margin-top: 6px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.art-price > span { display: block; color: var(--mid); font-size: 12.5px; }
.art-price svg { display: block; width: 100%; height: 32px; margin-top: 10px; fill: none; stroke: var(--leaf); stroke-width: 2; vector-effect: non-scaling-stroke; }
.art-price .chips em::before { content: "✓ "; color: #3F6B0E; }
@media (prefers-reduced-motion: reduce) { .art-phone .load { animation: none; opacity: 0; } }
.under-grid .tech { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px var(--pad) 0; }
.under-grid .tech li { padding: 4px 9px; border: 1px solid var(--line); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .01em; }
/* 1 · a real test result, labelled as one, with the full report one click away */
.art-real { margin: 0; }
.real-card { width: min(100%, 280px); background: var(--paper); box-shadow: 0 0 0 1px rgba(18, 18, 22, .06), 0 24px 40px -28px rgba(18, 18, 22, .45); }
.real-top, .real-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--mid); }
.real-top { border-bottom: 1px solid var(--line); }
.real-top span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.real-top i { width: 7px; height: 7px; border-radius: 50%; background: #0CCE6B; box-shadow: 0 0 0 3px rgba(12, 206, 107, .18); }
.real-card img { display: block; width: 100%; height: auto; }
.real-foot { border-top: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 12px; }
.real-foot a { flex: none; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
/* flat cards: a file, a grey print, a QR code */
.art-file { display: flex; align-items: center; gap: 14px; width: min(100%, 270px); padding: 16px; background: var(--paper); box-shadow: 0 24px 40px -28px rgba(18, 18, 22, .45); }
.art-file i { display: grid; place-items: center; flex: none; width: 44px; height: 56px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; font-style: normal; font-weight: 600; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.art-file b { display: block; font-size: 13.5px; font-weight: 500; }
.art-file small { margin-top: 4px; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 12px; }
.art-gray { filter: grayscale(1) contrast(1.15); }
.art-qr { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--paper); box-shadow: 0 24px 40px -28px rgba(18, 18, 22, .45); }
.art-qr svg { width: 92px; height: 92px; fill: var(--ink); }
.art-qr span { font-size: 13px; color: var(--mid); }
.art-qr b { display: block; color: var(--ink); font-size: 16px; font-weight: 500; }
/* 3 · an AI answer that cites the site */
.art-ai { width: min(100%, 280px); display: flex; flex-direction: column; gap: 10px; }
.art-ai .ask { align-self: flex-end; max-width: 100%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: var(--paper); font-size: 13px; }
.art-ai .say { padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--paper); box-shadow: 0 24px 40px -28px rgba(18, 18, 22, .45); font-size: 13px; line-height: 1.45; }
.art-ai .say b { font-weight: 600; }
.art-ai .say em { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 999px; background: var(--grey); color: var(--mid); font-size: 11px; }
/* 4 · an AI agent going through the offer for the buyer */
.art-agent { width: min(100%, 260px); padding: 14px; background: var(--paper); box-shadow: 0 24px 40px -28px rgba(18, 18, 22, .45); font-size: 12.5px; }
.art-agent .task { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-weight: 500; }
.art-agent .task i { width: 8px; height: 8px; background: var(--purple); }
.art-agent ol { margin-top: 8px; }
.art-agent li { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: var(--mid); }
.art-agent li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line); }
.art-agent li.done::before { border-color: var(--leaf); background: var(--leaf); }
.art-agent li.now { color: var(--ink); }
.art-agent li.now::before { border-color: var(--ink); border-top-color: transparent; animation: art-spin 1s linear infinite; }
@keyframes art-spin { to { transform: rotate(360deg); } }
/* 5 · an analytics panel: visits, enquiries, trend, sources */
.art-stats { width: min(100%, 260px); padding: 14px; background: var(--paper); box-shadow: 0 24px 40px -28px rgba(18, 18, 22, .45); }
.art-stats .kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.art-stats .kpi b { display: block; margin-top: 2px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.art-stats svg { display: block; width: 100%; height: 56px; margin-top: 10px; }
.art-stats svg polyline { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.art-stats svg .area { fill: var(--green); opacity: .7; }
.art-stats .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.art-stats .src em { padding: 3px 8px; border: 1px solid var(--line); font-size: 11.5px; }
@media (prefers-reduced-motion: reduce) { .art-agent li.now::before { animation: none; } }
@media (max-width: 1100px) { .under-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .under-grid { grid-template-columns: 1fr; } .under-art { height: 230px; } }

/* ---------- Service pages written by hand (services/pages/) ---------- */
/* the language cell that i18n/build.mjs puts in the bar reads these */
.bar { --bar-line: var(--line); --fg: var(--ink); --bg: var(--paper); }
/* the bar keeps to one row: the extra link goes first, then the links to sections */
@media (max-width: 1240px) { .bar-cell[data-wide] { display: none; } }
@media (max-width: 1000px) { .bar-nav .bar-link { display: none; } }
.hl { background: var(--green); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* before and after: two pieces of interface with an arrow between them */
.vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 48px); max-width: 1040px; margin: 0 auto; }
.vs .ui { width: 100%; }
.vs-to { display: grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: var(--paper); }
.ui--after { box-shadow: 0 0 0 1px var(--ink), 0 30px 60px -30px rgba(18, 18, 22, .45); }
.ui--after .ui-top { background: var(--green); border-bottom-color: var(--ink); }
.ui--after .ui-top .st { color: color-mix(in srgb, var(--ink) 60%, transparent); }
.ui--after .ui-top .st::before { background: var(--ink); }
.ui--after .ui-foot { background: var(--ink); color: rgba(255, 255, 255, .6); }
.ui--after .ui-foot b { color: var(--paper); }
@media (max-width: 860px) { .vs { grid-template-columns: 1fr; } .vs-to { justify-self: center; rotate: 90deg; } }
/* reasons: cells without pictures, a source line at the foot of a cell */
.under-grid--plain > li { min-height: clamp(240px, 22vw, 300px); padding-bottom: 32px; }
.under-grid--plain > li > p { max-width: 24em; }
/* three reasons stay in one row until the phone, so no cell is left empty */
@media (max-width: 1100px) { .under-grid--plain { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .under-grid--plain { grid-template-columns: 1fr; } .under-grid--plain > li { min-height: 0; } }
.under-grid .src { margin: auto var(--pad) 0; padding-top: 28px; color: var(--mid); font-size: 13px; line-height: 1.45; }
/* one line on when to pick something else */
.stay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; gap: 20px 40px; align-items: center; padding: clamp(28px, 3vw, 40px) var(--pad); background: var(--grey); }
.stay .mono { display: inline-flex; align-items: center; gap: 10px; color: var(--mid); }
.stay .mono::before { content: ""; width: 8px; height: 8px; background: var(--ink); }
.stay p { max-width: 30em; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
@media (max-width: 860px) { .stay { grid-template-columns: 1fr; } .stay .btn { justify-self: start; } }
