/* creativeroll.live — the public site (docs/LANDING.md).
   The look is screenroll.live's: paper, ink and one signal, Onest for headings and Inter for
   reading, the same tokens as the dashboard (tokens.css is a copy of frontend/src/tokens.css).
   One page (1.25.0): the product is shown as it is — the gallery draws every template with the
   Studio's own engine, and the screens are photographs of the product, light or dark as the
   visitor's device is set (tokens.css). Colours come from the tokens only; shadows are black. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink-secondary); font: 400 17px/1.55 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--ink); margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.03; letter-spacing: var(--display-tracking); }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
p a:not(.btn), li a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
strong { color: var(--ink); font-weight: 650; }
em { font-style: normal; color: var(--ink); font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
section { scroll-margin-top: 72px; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.sec { padding: 104px 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-secondary); max-width: 58ch; }
.head { max-width: 760px; margin-bottom: 44px; }
.head p.lead { margin-top: 16px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--brand); color: var(--surface); padding: 8px 12px; border-radius: 6px; z-index: 1000; }
.skip:focus { top: 8px; }
/* One tick, drawn by a mask: no copy of the drawing in every list item. */
.tick { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--surface); }
.tick::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url(/assets/img/tick.svg) center / contain no-repeat; mask: url(/assets/img/tick.svg) center / contain no-repeat; }
.ink { fill: var(--ink); }
.sig { fill: var(--signal); }
/* something announced, not yet there */
.soon { display: inline-block; vertical-align: middle; margin-inline-start: 8px; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--warn-tint); color: var(--warn-text); font: 700 11px/1.2 var(--font-ui); letter-spacing: .04em; text-transform: none; }
.note { margin-top: 18px; font-size: 14px; color: var(--ink-muted); max-width: 80ch; }
.note.center { max-width: 62ch; margin-left: auto; margin-right: auto; }
.sub-note { margin-top: 22px; font-size: 14.5px; color: var(--ink-muted); max-width: 60ch; }

/* Things arrive as you reach them, once; nothing moves for someone who asked for less motion. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--radius-lg); font: 700 15px/1 var(--font-ui); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: var(--surface); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-muted); }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav: every link a section of the page; the one in view marked (site.js) */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex: none; display: block; }
.logo b { display: block; font: 700 15px/1.2 var(--font-display); letter-spacing: -0.02em; }
.logo small { display: block; font: 500 11px/1.2 var(--font-figures); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.logo-sm .logo-mark { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 18px; margin-inline-start: auto; }
.nav-links a { color: var(--ink-secondary); font: 600 14px/1 var(--font-ui); white-space: nowrap; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="true"]:not(.btn) { color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="true"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--signal); padding-bottom: 4px; }
.nav-links .btn, .nav-cta { min-height: 38px; padding: 0 16px; font-size: 14px; color: var(--surface); }
.nav-cta { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

/* hero: the words, then the product as it is, the whole width */
.hero { padding: 64px 0 72px; }
.hero-text { max-width: 880px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; font-size: 20px; max-width: 66ch; }
.reply { margin: 14px 0 44px; font-size: 15px; color: var(--ink-muted); }
.trust { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 40px; margin: 28px 0 36px; font-size: 15px; color: var(--ink-secondary); }
.trust li { display: flex; align-items: center; gap: 8px; }

/* a screen of the product: its own frame, the theme's picture; a crop of one (.shot-crop) at its own size */
.shot { min-width: 0; }
.shot picture { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .55); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 12px; font-size: 13.5px; color: var(--ink-muted); }
.shot-hero picture { border-radius: 18px; }
.shot-crop picture { border-radius: 12px; }

/* facts, and who makes it */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 34px 28px; border-inline-start: 1px solid var(--line); }
.facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts b { display: block; font: 800 44px/1 var(--font-display); letter-spacing: -0.035em; color: var(--ink); margin-bottom: 10px; }
.facts b small { font-size: 20px; letter-spacing: -0.01em; margin-inline-start: 6px; }
.facts li p { font-size: 15px; line-height: 1.45; max-width: 28ch; }
.maker { display: flex; align-items: flex-start; gap: 12px; padding-block: 18px 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-secondary); }
.maker .logo-mark { width: 26px; height: 26px; }
.maker a { color: var(--ink); white-space: nowrap; }

/* split sections: words beside the product */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 16px; }
.split .lead { margin-bottom: 28px; }
.split-shot { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.plist { display: grid; gap: 18px; }
.plist li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.plist .tick { margin-top: 3px; }
.plist b { display: block; color: var(--ink); font-size: 17px; }
.plist p { font-size: 15px; }
.plist-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 36px; margin-top: 36px; }
/* a few templates of the gallery, live, beside the words (gallery.js fills [data-pick]) */
.picks { min-width: 0; }
.g-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.picks-cta { margin-top: 22px; }

/* the platform's screens: tabs over a screen and what it does */
.tabs-row { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.tabs button, .tabs-pause { flex: none; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-secondary); border-radius: var(--radius-pill); padding: 0 16px; min-height: 44px; font: 600 14px/1 var(--font-ui); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.tabs button:hover, .tabs-pause:hover { border-color: var(--ink-muted); color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--surface); }
.tabs-pause { margin-inline-start: auto; background: transparent; }
.tabs-pause[hidden] { display: none; }
/* turning by themselves (site.js): the active tab fills while its screen shows */
.tabs button { position: relative; overflow: hidden; }
.tabs.is-auto button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--signal); transform-origin: left; animation: tabfill var(--tab-ms, 6000ms) linear forwards; }
.tabs.is-paused button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.panel { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 40px; align-items: center; }
.panel[hidden] { display: none; }
.panel.enter { animation: enter .5s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel h3 { font-size: 24px; line-height: 1.15; margin-bottom: 20px; }
.points { display: grid; gap: 15px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.points .tick { margin-top: 2px; }

/* use cases: each with a picture in the same inset well — a crop of the product, or one of the gallery's ads */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cases > li { background: var(--ground); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.case-pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-sunken); border-bottom: 1px solid var(--line); }
.case-pic.is-ad img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.case-pic.is-shot picture { position: absolute; inset: 14px; display: flex; align-items: center; justify-content: center; }
.case-pic.is-shot img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); }
.case-text { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cases h3 { font-size: 18px; line-height: 1.25; }
.need { font-size: 15px; color: var(--ink-secondary); }
.cases .incl { font-size: 15px; gap: 8px; margin-top: 4px; }
.case-go { margin-top: auto; padding-top: 8px; font: 700 14.5px/1.3 var(--font-ui); color: var(--ink); }

/* post-click: the four steps from the ad to the visit */
.click-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-bottom: 44px; counter-reset: c; }
.click-steps li { position: relative; counter-increment: c; background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.click-steps li::before { content: counter(c); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--surface); font: 800 13px/1 var(--font-display); margin-bottom: 6px; }
.click-steps li:nth-child(3)::before { background: var(--signal); color: var(--dark); }
.click-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -23px; top: 50%; transform: translateY(-50%); font: 700 18px/1 var(--font-ui); color: var(--ink-muted); }
.click-steps b { font: 700 17px/1.25 var(--font-display); color: var(--ink); }
.click-steps span { font-size: 15px; line-height: 1.45; }
.post-split { margin-bottom: 8px; }

/* apps and games: the screen the whole width, the points in three columns under it */
.games-shot { margin-bottom: 4px; }

/* measurement: the report's row of figures, the four families under it, then the played steps */
.kpi-row { margin-bottom: 24px; }
.fams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.fam { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.fam h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 12px; }
.fam h3 svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--brand-tint); color: var(--ink); flex: none; }
.fam dl { margin: 0; display: grid; gap: 10px; }
.fam dt { font: 700 15px/1.3 var(--font-ui); color: var(--ink); }
.fam dd { margin: 2px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-secondary); }
.played { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 24px; }
.played h3 { font-size: 18px; margin-bottom: 14px; }
.played p { font-size: 15px; color: var(--ink-secondary); max-width: 90ch; margin-top: 14px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; counter-reset: f; }
.flow li { position: relative; counter-increment: f; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: var(--radius-pill); background: var(--ground); border: 1px solid var(--line-strong); font: 700 15px/1 var(--font-ui); color: var(--ink); }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--surface); font: 800 11.5px/1 var(--font-ui); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -22px; color: var(--ink-muted); font-weight: 600; }

/* what you get: six short lists, dots instead of ticks */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why > div { background: var(--ground); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.why h3 { font-size: 18px; margin-bottom: 12px; }
.dots { display: grid; gap: 8px; font-size: 15px; }
.dots li { position: relative; padding-inline-start: 16px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-muted); }
.tag-t { display: inline-block; vertical-align: 1px; margin-inline-start: 4px; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--signal-tint); color: var(--ink); font: 700 11px/1.3 var(--font-ui); letter-spacing: .02em; white-space: nowrap; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.band .cards li { background: var(--ground); }
.cards svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-tint); color: var(--ink); margin-bottom: 14px; }
.cards h3 { font-size: 18px; margin-bottom: 6px; }
.cards p { font-size: 15px; line-height: 1.5; }

/* pricing: the two names the account uses */
.incl { display: grid; gap: 11px; font-size: 15px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; }
.incl .tick { margin-top: 2px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 48px; align-items: start; }
.faq-grid .head { margin-bottom: 0; position: sticky; top: 96px; }
.faq-grid .head .lead { font-size: 17px; margin-bottom: 22px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding-block: 18px; padding-inline: 0 40px; font: 700 17px/1.35 var(--font-ui); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 14px; font: 500 26px/1 var(--font-ui); color: var(--ink); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 20px; font-size: 15.5px; max-width: 68ch; }

/* start: the account, or a call */
.signup { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.signup h2 { margin-bottom: 18px; }
.signup .lead { margin-bottom: 24px; }
.next-h { font-size: 18px; margin: 32px 0 14px; }
.next { display: grid; gap: 14px; margin: 0 0 26px; }
.next li { display: flex; gap: 12px; align-items: center; font-size: 17px; color: var(--ink); }
.next b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--surface); font: 800 14px/1 var(--font-display); }
.mailto { font-size: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .35); }
.band .card { background: var(--ground); }
form { padding: 18px 18px 14px; }
.req-note { font-size: 13px; color: var(--ink-muted); margin-bottom: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font: 700 11.5px/1 var(--font-ui); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field select, .field textarea { height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); font: 400 16px/1 var(--font-ui); width: 100%; }
.field textarea { height: 96px; padding: 12px; line-height: 1.45; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fine { margin-top: 12px; font-size: 13.5px; color: var(--ink-muted); }
.field .hint { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.msg { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.msg:empty { display: none; }
.msg.err { color: var(--danger-text); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 32px; font-size: 14px; color: var(--ink-muted); }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 30px; }
footer h2 { font: 700 11.5px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 6px; }
footer li a:not(.btn) { display: inline-block; padding-block: 6px; color: var(--ink-secondary); text-decoration: none; }
footer li a:hover { text-decoration: underline; }
.ftag { margin-top: 12px; max-width: 30ch; }
.fbot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; }

/* sections that follow each other on the same ground are parted by a hairline */
.sec:not(.band) + .sec:not(.band) { border-top: 1px solid var(--line); }
/* the dark theme's surfaces sit closer together: the bands and card edges a step stronger */
@media (prefers-color-scheme: dark) {
  .band { background: #2A2926; }
  .cases > li, .fam, .cards li, .why > div, .click-steps li, .played, .g-open, .case-pic { border-color: var(--line-strong); }
}

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1100px) {
  /* the menu folds before it runs out of room */
  .nav-cta { display: inline-flex; margin-inline-start: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: -16px; right: -16px; top: 64px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 6px; font-size: 16px; min-height: 44px; display: flex; align-items: center; }
  .nav-links a[aria-current="true"]:not(.btn) { box-shadow: inset 3px 0 0 var(--signal); padding-inline-start: 12px; padding-bottom: 12px; }
  .nav-links .btn { display: none; }
  .nav .wrap { gap: 12px; }
  .panel { grid-template-columns: 1fr; gap: 24px; }
  .fams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero { padding: 40px 0 56px; }
  .split, .split-shot, .signup, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid .head { position: static; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li { padding: 24px 18px; }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards, .cases, .why, .plist-3 { grid-template-columns: 1fr 1fr; }
  .click-steps { grid-template-columns: 1fr 1fr; }
  .click-steps li:nth-child(2)::after { display: none; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 72px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .lead, .hero .lead { font-size: 17px; }
  .trust { grid-template-columns: 1fr; }
  .facts b { font-size: 34px; }
  .facts p { font-size: 14px; }
  .maker { font-size: 14px; }
  /* the tabs on one line, scrolled sideways, whole labels, a fade where the row goes on */
  .tabs-row { margin-inline: -16px; padding-inline: 16px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-inline-end: 24px; }
  .tabs::-webkit-scrollbar { display: none; }
  .cards, .cases, .why, .fams, .click-steps, .plist-3 { grid-template-columns: 1fr; }
  .click-steps { gap: 12px; }
  .click-steps li::after { display: none; }
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  .cta-row .btn { width: 100%; }
  .fgrid { grid-template-columns: 1fr; }
  .head.center, .note.center { text-align: start; }
  .shot picture { border-radius: 10px; }
  /* a whole screen at a phone's width reads as nothing: the part that matters, cropped */
  .shot:not(.shot-crop) picture { aspect-ratio: 4 / 3; }
  .shot.shot-hero picture { aspect-ratio: 4 / 5; }
  .shot:not(.shot-crop) img { height: 100%; object-fit: cover; object-position: var(--mp, 50% 50%); }
}

/* ------------------------------------------------------------------ a page of text (how we measure) */
.doc { padding: 64px 0 96px; }
.doc-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; align-items: start; }
.doc-grid > * { min-width: 0; }
.toc { position: sticky; top: 96px; }
.toc ul { display: grid; gap: 4px; }
.toc li a:not(.btn) { display: block; padding: 6px 0; font-size: 14.5px; color: var(--ink-secondary); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.doc h1 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 18px; }
.doc h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 52px 0 14px; scroll-margin-top: 88px; }
.doc article > p { margin-bottom: 14px; font-size: 16.5px; max-width: 68ch; }
.doc article > p.lead { font-size: 19px; margin-bottom: 22px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-inline-start: 3px solid var(--ink); border-radius: 10px; padding: 14px 18px; font-size: 15px; }
.doc-list { display: grid; gap: 12px; padding-inline-start: 0; }
.doc-list li { position: relative; padding-inline-start: 20px; font-size: 16px; }
.doc-list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-muted); }
.doc-list b { color: var(--ink); }
.defs { display: grid; grid-template-columns: 180px 1fr; gap: 0; margin: 8px 0 18px; border-top: 1px solid var(--line); }
.defs dt, .defs dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.defs dt { font: 700 15.5px/1.4 var(--font-ui); color: var(--ink); padding-inline-end: 16px; }
.defs dd { font-size: 15.5px; }
.doc-cta { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.doc-cta p { max-width: 52ch; font-size: 16px; }
.doc-meta { margin: -6px 0 14px; font: 600 13.5px/1.4 var(--font-ui); color: var(--ink-muted); letter-spacing: .02em; }
/* a formula on the method page (1.26.0): set apart from the sentence, wraps on a phone */
.formula { display: block; width: fit-content; max-width: 100%; margin: 6px 0; padding: 6px 10px; background: var(--surface-sunken); border-radius: 8px; font: 500 14.5px/1.5 var(--font-ui); color: var(--ink); overflow-wrap: anywhere; }
.formula-block { padding: 10px 14px; font-size: 15.5px; }
.doc code { font: 600 .92em/1 var(--font-ui); color: var(--ink); background: var(--surface-sunken); border-radius: 5px; padding: 2px 5px; }
.defs dd .doc-list { gap: 8px; margin: 0; }
.defs dd .doc-list li { font-size: 15.5px; }
.table-wrap { overflow-x: auto; margin: 8px 0 18px; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.doc-table th, .doc-table td { text-align: start; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.doc-table th { font: 700 14px/1.4 var(--font-ui); color: var(--ink); border-bottom-color: var(--line-strong); }
.doc-table td:last-child, .doc-table th:last-child { padding-inline-end: 0; white-space: nowrap; }
.lost { padding: 120px 0; text-align: center; }
.lost h1 { margin-bottom: 16px; }
.lost .lead { margin: 0 auto 28px; }
.lost .cta-row { justify-content: center; }
@media (max-width: 960px) {
  .doc-grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc li a:not(.btn) { padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface); font-size: 13.5px; }
}
@media (max-width: 600px) {
  .defs { grid-template-columns: 1fr; }
  .defs dt { padding-bottom: 2px; border-bottom: 0; }
  .defs dd { padding-top: 2px; }
}

/* ── 1.26.2: the lighter page — three columns of what it does, four definitions, old anchors kept ── */
.anchor { display: block; position: relative; top: -88px; visibility: hidden; height: 0; }
.does > li { display: flex; flex-direction: column; padding: 28px; }
.does p { color: var(--ink-secondary); margin-bottom: 14px; }
.does .dots { color: var(--ink); margin-bottom: 20px; }
.does .go { margin-top: auto; align-self: flex-start; padding: 0; border: 0; background: none; font: 600 15px/1.4 var(--font-ui); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.defs4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 8px; }
.defs4 dt { font: 700 16px/1.3 var(--font-display); color: var(--ink); margin-bottom: 6px; }
.defs4 dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-secondary); }
.more { margin-top: 32px; font-weight: 600; }
.more a { color: var(--ink); text-underline-offset: 4px; }
@media (max-width: 900px) {
  .defs4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cards.does { grid-template-columns: 1fr; }
  .defs4 { grid-template-columns: 1fr; gap: 18px; }
}
.does .dots li, .band .does .dots li { display: block; background: none; border: 0; border-radius: 0; padding: 0 0 0 16px; }
@media (max-width: 600px) { .kpi-row { display: none; } }
.signup .mailto { margin-top: 16px; }
details[id] { scroll-margin-top: 88px; }
/* The figures as cards drawn in the page (1.26.3), not a screenshot of the report: no frame in a frame, no selected card. */
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 8px 0 36px; }
.kpis li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.kpis .k { display: block; font: 600 11.5px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.kpis b { display: block; font: 800 30px/1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.kpis small { font-size: 13.5px; line-height: 1.4; color: var(--ink-secondary); }
@media (max-width: 960px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .kpis { grid-template-columns: repeat(2, 1fr); } .kpis li:last-child { grid-column: 1 / -1; } }

/* ── 2.3.0: the Studio first — four live templates under the hero's words, a link that opens one ── */
.hero-picks { margin-top: 8px; }
.hero-picks .g-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-picks .g-note { margin-top: 14px; }
.go-link { padding: 0; border: 0; background: none; font: 600 16px/1.4 var(--font-ui); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
#studio .plist-3 { margin-top: 0; }
@media (max-width: 960px) { .hero-picks .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.studio-start { margin-top: 44px; }

/* ── 2.4.0: one screen until the full site (Sergiu, 18.11.2026): the line, the form, a footer line ── */
.one { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.one-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.one-signin { min-height: 40px; padding: 0 16px; font-size: 14px; }
.one-main { flex: 1; display: flex; align-items: center; padding: 16px 0 28px; }
.one-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 440px); gap: 72px; align-items: center; }
.one-text h1 { margin: 18px 0 20px; }
.one-text .lead { max-width: 46ch; }
.one-by { margin-top: 22px; font-size: 15px; color: var(--ink-muted); }
.one-form { padding: 26px 26px 20px; }
.one-form h2 { font-size: 24px; margin-bottom: 18px; }
.one-form .field { margin-bottom: 12px; }
.one-form .btn { margin-top: 6px; }
.one-foot { border-top: 1px solid var(--line); padding: 16px 0; font-size: 13.5px; color: var(--ink-muted); }
.one-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.one-foot a { color: var(--ink-secondary); }
.one-foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
@media (max-width: 900px) {
  .one-grid { grid-template-columns: 1fr; gap: 28px; }
  .one-main { align-items: flex-start; }
}
@media (max-width: 600px) {
  .one-top .wrap { height: 60px; }
  .one-text h1 { margin: 12px 0 14px; }
  .one-by { margin-top: 14px; font-size: 14px; }
  .one-form { padding: 20px 16px 16px; }
  .one-foot .wrap, .one-foot nav { flex-direction: column; gap: 6px; }
}
.one-text h1 span { display: block; }
@media (max-height: 780px) and (min-width: 901px) {
  .one-top .wrap { height: 60px; }
  .one-main { padding: 4px 0 16px; }
  .one-text h1 { font-size: 52px; }
  .one-form { padding: 20px 24px 14px; }
  .one-form h2 { font-size: 22px; margin-bottom: 12px; }
  .one-form .field { margin-bottom: 9px; }
  .one-form .field input, .one-form .field select { height: 40px; }
  .one-foot { padding: 12px 0; }
}
@media (max-width: 600px) {
  .one-text h1 { font-size: 34px; }
  .one-text .lead { font-size: 16px; }
  .one-text .eyebrow { font-size: 11px; letter-spacing: .08em; }
  .one-grid { gap: 20px; }
  .one-form h2 { font-size: 21px; margin-bottom: 12px; }
  .one-form .field { margin-bottom: 9px; }
}
.one-tz { margin: -4px 0 12px; }
.field[hidden] { display: none; }
.one-tz { margin: -4px 0 12px; font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.one-form form { padding: 0; }
.fgrid-3 { grid-template-columns: 1.4fr 1fr 1fr; }

/* The language menu (frontend/scripts/site-languages.mjs writes it in every page): each language named in itself, as
   links, so it works without script and every language's address is found by search engines. */
.langs { position: relative; margin-inline-start: auto; }
.nav-links ~ .langs { margin-inline-start: 0; }
.one-top .langs { margin-inline-end: 12px; }
.langs > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink-secondary); font: 600 14px/1 var(--font-ui); white-space: nowrap; cursor: pointer; }
.langs > summary::-webkit-details-marker { display: none; }
.langs > summary:hover, .langs[open] > summary { color: var(--ink); }
.langs > summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 60; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop); }
.langs li a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--radius-sm); color: var(--ink-secondary); font: 500 15px/1.2 var(--font-ui); white-space: nowrap; }
.langs li a:hover { background: var(--surface-hover); color: var(--ink); text-decoration: none; }
.langs li a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--signal); }
@media (max-width: 560px) {
  .langs > summary { padding: 0 11px; }
  .langs > summary span { display: none; }
  .one-top .langs { margin-inline-end: 8px; }
}
@media (max-width: 360px) {
  .nav-cta { display: none; }
}
