/* self-hosted from Google Fonts (SIL Open Font License) */
/* cyrillic-ext */
@font-face {
  font-family: 'Pliant';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: optional;
  src: url(/fonts/pliant-normal-100-900-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Pliant';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: optional;
  src: url(/fonts/pliant-normal-100-900-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Pliant';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: optional;
  src: url(/fonts/pliant-normal-100-900-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;
}
/* latin */
@font-face {
  font-family: 'Pliant';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: optional;
  src: url(/fonts/pliant-normal-100-900-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;
}
/* Science Gothic — digits and figure symbols only (subset) */
@font-face {
  font-family: 'Science Gothic';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 50% 200%;
  font-display: swap;
  src: url(/fonts/science-gothic-digits.woff2) format('woff2');
}
/* Pliant ships a broken positive kern for capital + i (N i, K i, M i: up to +9.8 per 100 px). Serving «i» as its own face stops the pair being shaped; same file, no extra request. */
@font-face {
  font-family: 'Pliant';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: optional;
  src: url(/fonts/pliant-normal-100-900-latin.woff2) format('woff2');
  unicode-range: U+69;
}

/* Launching — a white studio, ink type and one lit switch: cobalt marks the main action and nothing else.
   App colours (--app) live only inside the phone. Rules: DESIGN.md, docs/DESIGN-VIDEO-VERDICT.md. */
@property --app { syntax: '<color>'; inherits: true; initial-value: #0B7A6B; }
@property --app-ink { syntax: '<color>'; inherits: true; initial-value: #FFFFFF; }

:root {
  --bg: #FFFFFF;
  --studio: #F3F3F1;
  --studio-2: #EAEAE6;
  --line: #E4E4E0;
  --line-2: #D5D5D0;
  --ink: #0E0F12;
  --ink-2: #474A52;
  --ink-3: #5F636C;
  --dark: #0E0F12;
  --dark-2: #191B20;
  --dark-line: #2A2D34;
  --on-dark: #F4F4F2;
  --on-dark-2: #B3B7BF;
  /* the one accent: on light grounds cobalt with white text (7.3:1), on dark grounds its light tone with ink text (7.5:1) */
  --accent: #2B3FE0;
  --accent-hover: #2232BD;
  --accent-ink: #FFFFFF;
  --accent-lit: #8A9BFF;
  --accent-lit-hover: #A5B3FF;
  --accent-lit-ink: #0E0F12;
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--accent-hover);
  --btn-fg: var(--accent-ink);
  --btn-glow: rgba(43, 63, 224, .55);
  --font: 'Pliant', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fig: 'Science Gothic', 'Pliant', ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --r-lg: 28px;
  --r-md: 18px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --sec: clamp(72px, 8.4vw, 132px);
  --hdr: 64px;
  --backdrop: linear-gradient(180deg, #F2F2EF 0%, #F6F6F3 58%, #ECECE7 100%);
}
@media (min-width: 1080px) { :root { --hdr: 76px; } }
/* dark grounds switch the accent to its light tone */
.proc, .cta, .dock.on-dark, .hdr.is-dark { --btn-bg: var(--accent-lit); --btn-bg-hover: var(--accent-lit-hover); --btn-fg: var(--accent-lit-ink); --btn-glow: rgba(138, 155, 255, .32); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: #C9C9C4 transparent; scroll-padding: 80px 0 96px; }
@media (min-width: 1080px) { html { scroll-padding: 92px 0 24px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55; font-weight: 420; word-spacing: .06em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
@media (min-width: 760px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--studio-2); color: var(--ink); }
.proc ::selection, .cta ::selection { background: #3A3D46; color: #fff; }
input { caret-color: var(--accent); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.proc :focus-visible, .cta :focus-visible, .dock.on-dark :focus-visible { outline-color: var(--on-dark); }
.nw { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.03; letter-spacing: -0.034em; font-weight: 640; text-wrap: balance; }
/* tight tracking needs an open word gap, or «Mobil ilova» reads as one word */
.hd, .ph-h1, .own-h, .cta h2, h2 { word-spacing: .07em; }
h3 { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.22; letter-spacing: -0.014em; font-weight: 600; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.fig { font-family: var(--fig); font-stretch: 72%; font-weight: 640; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 13px; font-weight: 560; letter-spacing: .01em; color: var(--ink-2); background: #fff; border: 1px dashed var(--line-2); white-space: nowrap; }

/* ---------- buttons: one accent for the main action, ink for the rest, quiet links for everything secondary ---------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 22px; border-radius: 99px; font-weight: 600; font-size: 16px; letter-spacing: -0.005em; border: 1.5px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-sm { --h: 44px; padding: 0 16px; font-size: 15px; }
.btn-xl { --h: 60px; padding: 0 28px; font-size: 17px; }
.btn-accent { background: var(--btn-bg); color: var(--btn-fg); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 26px -14px var(--btn-glow); }
@media (hover: hover) { .btn-accent:hover { background: var(--btn-bg-hover); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 32px -14px var(--btn-glow); } }
/* mostly under the sticky header: the dock or the header button holds the accent now */
.btn-accent.is-tucked { background: var(--ink); color: #fff; box-shadow: none; }
@media (hover: hover) { .btn-accent.is-tucked:hover { background: var(--ink); color: #fff; box-shadow: none; } }
.btn-accent .ico { transition: transform .35s var(--ease); }
@media (hover: hover) { .btn-accent:hover .ico { transform: translateX(3px); } }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 24px -12px rgba(14,15,18,.55); }
@media (hover: hover) { .btn-ink:hover { background: #24262c; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 16px 34px -14px rgba(14,15,18,.6); } }
.btn-soft { background: var(--studio); color: var(--ink); border-color: #8A8E96; }
@media (hover: hover) { .btn-soft:hover { background: var(--studio-2); border-color: var(--ink); } }
.btn .ico { width: 20px; height: 20px; }
/* long contextual labels (Uzbek Cyrillic) wrap instead of pushing the page wider on a phone */
@media (max-width: 479px) { .btn-xl { max-width: 100%; padding: 8px 20px; white-space: normal; text-align: center; line-height: 1.2; } }
@media (max-width: 374.98px) { .btn-xl { padding-inline: 12px; gap: 6px; font-size: 15.5px; letter-spacing: -.005em; } }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
/* the sticky header sits inside html's scroll-padding: without this, focusing its links makes the browser scroll the page up */
.hdr a, .hdr button { scroll-margin-top: -100px; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr.is-dark { background: rgba(14,15,18,.9); border-bottom-color: var(--dark-line); color: var(--on-dark); }
.hdr.is-dark .brand .logo { color: var(--on-dark); }
.hdr.is-dark .nav a { color: var(--on-dark-2); }
.hdr.is-dark .nav a[aria-current] { color: var(--on-dark); background: var(--dark-2); }
@media (hover: hover) { .hdr.is-dark .nav a:hover { color: var(--on-dark); background: var(--dark-2); } }
.hdr.is-dark .langs { background: var(--dark-2); }
.hdr.is-dark .langs a { color: var(--on-dark-2); }
.hdr.is-dark .langs a[aria-current] { background: #2E3138; color: #fff; box-shadow: none; }
.hdr.is-dark .btn-ink { background: #fff; color: var(--ink); box-shadow: none; }
.hdr.is-dark .menu-btn { background: var(--dark-2); border-color: var(--dark-line); }
.hdr.is-dark .menu-ico i { background: var(--on-dark); }
.hdr.is-dark :focus-visible { outline-color: var(--on-dark); }
@supports (backdrop-filter: blur(1px)) { .hdr { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); } .hdr.is-dark { background: rgba(14,15,18,.82); } }
/* the header dissolves into the studio backdrop of the first screen until the page moves */
@media (scripting: enabled) { .hdr:not(.is-scrolled):not(.is-dark) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; } }
/* desktop: once the hero's button has left the frame the header button takes over as the one accent */
.hdr.is-lit .hdr-tg { background: var(--btn-bg); color: var(--btn-fg); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 20px -12px var(--btn-glow); }
@media (hover: hover) { .hdr.is-lit .hdr-tg:hover { background: var(--btn-bg-hover); } }
.hdr-in { display: flex; align-items: center; gap: 24px; height: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: none; font-weight: 640; font-size: 21px; letter-spacing: -0.03em; }
.brand .logo { width: 30px; height: auto; flex: none; color: var(--ink); }
.logo-dot { fill: currentColor; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 14px; border-radius: 99px; font-weight: 520; color: var(--ink-2); transition: color .2s, background-color .2s; }
@media (hover: hover) { .nav a:hover { color: var(--ink); background: var(--studio); } }
.hdr-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* below the full language switch: one tap to the other main language, right in the header */
.hdr-lang { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 99px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
@media (hover: hover) { .hdr-lang:hover { color: var(--ink); background: var(--studio); } }
.hdr.is-dark .hdr-lang { color: var(--on-dark-2); }
@media (hover: hover) { .hdr.is-dark .hdr-lang:hover { color: var(--on-dark); background: var(--dark-2); } }
@media (max-width: 359.98px) { .hdr-in { gap: 8px; } .hdr-act { gap: 2px; } .hdr .brand { gap: 7px; font-size: 19px; } }
.langs { display: none; align-items: center; gap: 2px; padding: 3px; border-radius: 99px; background: var(--studio); }
.langs a { min-width: 38px; height: 34px; display: grid; place-items: center; padding: 0 8px; border-radius: 99px; font-size: 14px; font-weight: 560; color: var(--ink-3); transition: color .2s, background-color .2s, box-shadow .2s; }
@media (hover: hover) { .langs a:hover { color: var(--ink); } }
.langs a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14,15,18,.1), 0 0 0 1px rgba(14,15,18,.04); }
@media (scripting: enabled) { .hdr:not(.is-scrolled):not(.is-dark) .langs { background: rgba(14,15,18,.06); } }
.menu-btn { width: 44px; height: 44px; border-radius: 99px; border: 1px solid #8A8E96; background: #fff; display: grid; place-items: center; cursor: pointer; }
.menu-ico { width: 18px; height: 10px; position: relative; display: block; }
.menu-ico i { position: absolute; left: 0; right: 0; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-ico i:first-child { top: 0; } .menu-ico i:last-child { top: 8.4px; }
.menu-open .menu-ico i:first-child { top: 4.2px; transform: rotate(45deg); }
.menu-open .menu-ico i:last-child { top: 4.2px; transform: rotate(-45deg); }
.sheet-menu { display: none; }
.menu-open .sheet-menu { display: flex; flex-direction: column; position: fixed; inset: var(--hdr) 0 0; z-index: 39; background: #fff; padding: 16px var(--gutter) max(16px, env(safe-area-inset-bottom)); overflow: auto; overscroll-behavior: contain; animation: sheetIn .45s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } }
.sheet-menu-nav { list-style: none; margin: 0 0 16px; padding: 0; flex: none; }
.sheet-menu-nav a { display: block; padding: 14px 0; font-size: 34px; font-weight: 620; letter-spacing: -0.03em; border-bottom: 1px solid var(--line); }
/* the open menu has one accent: its main button stands at the bottom, the header's copy steps aside */
.sheet-menu-cta { flex: none; width: 100%; margin-top: auto; }
.menu-open .hdr-tg { visibility: hidden; }
/* a short screen: every link and the main button fit without scrolling */
@media (max-height: 820px) and (max-width: 1079.98px) {
  .sheet-menu-nav a { display: flex; align-items: center; min-height: 52px; padding-block: 8px; font-size: clamp(25px, 3.6vh, 30px); line-height: 1.2; }
}
.sheet-menu-langs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.sheet-menu-langs a { display: grid; place-items: center; min-height: 44px; padding: 0 2px; border-radius: 12px; background: var(--studio); font-size: 14px; font-weight: 560; white-space: nowrap; }
@media (max-width: 349.98px) { .sheet-menu-langs { grid-template-columns: 1fr 1fr; } }
.sheet-menu-langs a[aria-current] { background: var(--ink); color: #fff; }
.menu-open { overflow: hidden; }
.hdr .btn-sm { position: relative; width: 44px; padding: 0; }
.hdr .btn-sm span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 480px) { .hdr .btn-sm { width: auto; padding: 0 16px; } .hdr .btn-sm span { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
@media (min-width: 1080px) {
  .nav { display: block; }
  .hdr-act { margin-left: 8px; }
  .langs { display: flex; }
  .hdr-lang { display: none; }
  .menu-btn { display: none; }
}

/* ---------- hero: a seamless studio backdrop, the visitor's App stands on it ---------- */
.hero { position: relative; isolation: isolate; margin-top: calc(var(--hdr) * -1); padding: calc(var(--hdr) + 14px) 0 32px; overflow: clip;
  background: radial-gradient(130% 34% at 50% 66%, #FFFFFF 0%, rgba(255,255,255,0) 74%), linear-gradient(180deg, #F2F2EF 0%, #F6F6F3 52%, #ECECE7 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "sub" "comp" "stage" "spec" "trust"; --dw: 286px; }
.hero-head { grid-area: head; }
.hd { font-weight: 680; font-size: clamp(33px, 10.7vw, 62px); line-height: .98; letter-spacing: -0.04em; text-wrap: balance; }
.hd span { display: block; }
/* Russian is the widest: each half of the headline must stay on its two lines on a phone */
@media (max-width: 759.98px) { :lang(ru) .hd { font-size: clamp(33px, 9.8vw, 62px); } }
@media (max-width: 340px) { .hd, :lang(ru) .hd { font-size: 30.5px; } }
.hd-a { color: var(--ink); }
.hd-b { color: var(--ink-3); margin-top: .06em; }
.hero-sub { grid-area: sub; margin-top: 12px; max-width: 44ch; }
.hero-h1 { font: inherit; font-size: 16px; line-height: 1.42; letter-spacing: normal; color: var(--ink-2); text-wrap: pretty; }
.hero-h1 strong { color: var(--ink); font-weight: 620; white-space: nowrap; }
@media (max-width: 759.98px) { .hero-h1 strong { display: block; white-space: normal; text-wrap: balance; } } /* 320–412: nowrap cut «…boʻladi.» off the screen */
/* the separator lives in the gap: when an item wraps, its dot falls outside the box and is clipped, so no line starts with «·» */
.hero-proof { display: flex; flex-wrap: wrap; gap: 2px 23px; overflow: hidden; margin-top: 8px; font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.hero-proof span + span { position: relative; }
.hero-proof span + span::before { content: ""; position: absolute; left: -13px; top: .6em; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
/* the way into the portfolio, right under «30+ projects»: real App icons, the names a visitor may know, one tap */
.hero-work { display: flex; align-items: center; gap: 14px; width: max-content; max-width: 100%; margin-top: clamp(14px, 2.2vh, 22px); padding: 10px 10px 10px 12px; min-height: 60px; border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px rgba(14,15,18,.08), 0 16px 32px -24px rgba(14,15,18,.55); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.hw-icons { display: flex; flex: none; }
.hw-icons img { width: 36px; height: 36px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 2.5px #fff, 0 3px 8px -3px rgba(14,15,18,.4); }
.hw-icons img + img { margin-left: -11px; }
.hw-t { display: grid; gap: 2px; min-width: 0; }
.hw-t b { font-size: 16.5px; line-height: 1.2; font-weight: 660; letter-spacing: -0.012em; }
.hw-t small { font-size: 13.5px; line-height: 1.3; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border-radius: 50%; background: var(--studio); color: var(--ink); transition: background-color .25s, color .25s; }
.hw-go .ico { width: 18px; height: 18px; }
@media (hover: hover) { .hero-work:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(14,15,18,.14), 0 20px 36px -24px rgba(14,15,18,.6); } }
@media (hover: hover) { .hero-work:hover .hw-go { background: var(--ink); color: #fff; } }
.hero-work:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 759.98px) { .hero-work { width: 100%; } }
@media (max-width: 419.98px) { .hw-icons img:nth-child(n+3), .hw-3 { display: none; } .hw-t b { font-size: 15.5px; } }
@media (max-width: 359.98px) { .hw-go { display: none; } .hw-icons img { width: 32px; height: 32px; } }

/* composer: the prompt bar, and the one lit button of the first screen */
.composer { grid-area: comp; position: relative; z-index: 3; margin-top: 14px; display: grid; gap: 10px; padding: 12px; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px rgba(14,15,18,.07), 0 20px 40px -28px rgba(14,15,18,.45); }
.composer-label { display: block; font-size: 15px; line-height: 1.3; font-weight: 580; color: var(--ink); padding-inline: 4px; }
.composer-row { display: grid; gap: 8px; }
.composer-field { position: relative; min-width: 0; }
.composer-field input { width: 100%; height: 54px; padding: 0 16px; border-radius: 15px; border: 1.5px solid #8A8E96; background: #fff; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; text-overflow: ellipsis; transition: border-color .25s, box-shadow .3s var(--ease); }
.composer-field input::placeholder { color: var(--ink-3); }
@media (hover: hover) { .composer-field input:hover { border-color: var(--ink-3); } }
.composer-field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,15,18,.09); }
.composer.is-typing .composer-field input { border-color: var(--ink-3); }
.composer-send { width: 100%; --h: 54px; }
.chips { display: flex; gap: 6px; margin: 0 -12px; padding: 2px 12px; scroll-padding-inline: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 24px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; height: 44px; padding: 0 15px; border-radius: 99px; border: 1px solid #8A8E96; background: #fff; font-size: 15px; font-weight: 520; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .3s var(--ease); }
@media (hover: hover) { .chip:hover { border-color: var(--ink-3); } }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
/* phone: every option is in sight (CRM and AI too), nothing hides in a sideways scroll */
@media (max-width: 759.98px) {
  .chips { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .chips .chip { height: 44px; padding: 0 14px; font-size: 15px; } /* a thumb target: 44 px, the iOS minimum */
}
.composer-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); text-align: center; }
@media (min-width: 440px) {
  .composer-note span + span { position: relative; padding-left: 12px; }
  .composer-note span + span::before { content: ""; position: absolute; left: 0; top: .62em; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
}

/* stage + device */
.stage-wrap { grid-area: stage; min-width: 0; }
.stage-note { margin-top: 10px; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); text-align: center; text-wrap: balance; }
.stage { position: relative; margin: 24px calc(var(--gutter) * -1) 0; display: grid; justify-items: center; height: 396px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); transition: --app .9s var(--ease), --app-ink .9s var(--ease); }
.stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 240px; background: radial-gradient(closest-side, color-mix(in oklab, var(--glow, var(--app)) 34%, transparent), transparent); filter: blur(12px); opacity: .6; pointer-events: none; transition: background .9s var(--ease); }
.device { position: relative; width: var(--dw, 300px); aspect-ratio: 9 / 19.2; flex: none; border-radius: calc(var(--dw, 300px) * .165); padding: calc(var(--dw, 300px) * .032);
  background: linear-gradient(155deg, #4a4d55 0%, #17181c 22%, #0c0d10 55%, #24262c 82%, #0a0a0c 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 calc(var(--dw, 300px) * .012) #050506, 0 1px 1px rgba(14,15,18,.12), 0 24px 40px -18px rgba(14,15,18,.42), 0 60px 90px -40px rgba(14,15,18,.38);
  transform-style: preserve-3d; transition: transform .8s var(--ease); }
.device::before { content: ""; position: absolute; left: calc(var(--dw, 300px) * -.008); top: 22%; width: 3px; height: 12%; border-radius: 3px 0 0 3px; background: linear-gradient(#3a3c43, #15161a); box-shadow: 0 calc(var(--dw, 300px) * .2) 0 #2a2c32; }
.device::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(100deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 9%), linear-gradient(260deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 6%); }
.device-screen { position: relative; height: 100%; border-radius: calc(var(--dw, 300px) * .134); overflow: hidden; background: #fff; container-type: inline-size; isolation: isolate; }
.device-screen::before { content: ""; position: absolute; z-index: 5; top: 2.3%; left: 50%; translate: -50% 0; width: 31%; height: 3.6%; border-radius: 99px; background: #050506; }
.device-glare::after { content: ""; position: absolute; inset: 0; background: linear-gradient(128deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.06) 22%, rgba(255,255,255,0) 34%); pointer-events: none; }
.device-glare { position: absolute; inset: calc(var(--dw, 300px) * .032); border-radius: calc(var(--dw, 300px) * .134); pointer-events: none; overflow: hidden; z-index: 6; }
.device-glare::before { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.75) 50%, transparent 58%); transform: translateX(-75%); opacity: 0; }
.is-sweeping .device-glare::before { animation: sweep 1.1s var(--ease-in-out); }
@keyframes sweep { 0% { transform: translateX(-75%); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateX(75%); opacity: 0; } }
.stage-floor { position: absolute; bottom: 0; left: 50%; width: 76%; height: 26px; translate: -50% 50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(14,15,18,.32), transparent); filter: blur(4px); }
/* a real project in the phone: its screens are stacked and take turns with a slow crossfade */
.rp .rp-screen { background: #EEF0F2; transition: opacity .22s, transform .45s var(--ease), filter .3s; }
.rp-shot { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 1s var(--ease); }
.rp-shot.is-on { opacity: 1; }
.device-screen img.is-contain { object-fit: contain; object-position: center; background: #0B0B0F; }
.rp .rp-screen.is-swapping { opacity: 0; transform: translateY(4%) scale(.985); filter: blur(4px); }
.rp-shot.has-bar { display: flex; flex-direction: column; background: #fff; }
.rp-shot.has-bar .sb-status { background: #fff; }
.rp-shot.has-bar img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }
/* whose screens these are: icon, «We built», the name that opens the case */
.sc-cap { display: flex; align-items: center; gap: 10px; }
.sc-cap-t { display: grid; gap: 1px; min-width: 0; }
.sc-cap-t small { font-size: 13px; line-height: 1.3; color: var(--ink-3); font-weight: 500; }
.sc-cap-t a { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 640; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; min-height: 24px; }
.sc-cap-t a .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.sc-cap-t a:focus-visible .ico { transform: translateX(3px); }
@media (hover: hover) { .sc-cap-t a:hover .ico { transform: translateX(3px); } }
/* a screenshot that carries its own Dynamic Island: the frame does not draw a second one over it */
.device.has-own-island .device-screen::before { display: none; }
/* screens never paint in line by line: the frame already shows the App's colours (inline placeholder), the image fades in
   whole once it has loaded (site.js adds .is-in). Without JS every image is simply shown. */
.js :is(.device-screen, .shot-browser, .shot-promo, .device-land) img { transition: opacity .5s var(--ease); }
.js :is(.device-screen, .shot-browser, .shot-promo, .device-land) img:not(.is-in) { opacity: 0; }
/* the hero slideshow keeps its slow 1 s crossfade: the incoming screen fades in over the outgoing one, no wash */
.js .rp-screen .rp-shot { transition: opacity 0s linear 1s; }
.js .rp-screen .rp-shot.is-on { z-index: 1; transition: opacity 1s var(--ease); }
.sc-ico { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 22.5%; object-fit: cover; box-shadow: 0 0 0 1px rgba(14,15,18,.08), 0 4px 10px -6px rgba(14,15,18,.4); }
.sc-ico.is-letter { color: #fff; font-weight: 700; font-size: 17px; }

/* spec sheet: the App's passport, drawn off the phone with hairlines on desktop */
.spec { grid-area: spec; margin: 24px 0 0; border-top: 1px solid var(--line-2); }
.spec-row { position: relative; display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.spec dt { font-size: 14px; color: var(--ink-3); font-weight: 520; }
.spec dd { margin: 0; font-weight: 560; }
.spec-app dd { display: grid; gap: 8px; justify-items: start; }
.spec-proj { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: inherit; text-decoration: none; }
.spec-proj b { font-size: 20px; letter-spacing: -0.02em; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.spec-proj:focus-visible b { text-decoration-color: currentColor; }
@media (hover: hover) { .spec-proj:hover b { text-decoration-color: currentColor; } }
.spec-head { font-size: 14px; line-height: 1.45; font-weight: 450; color: var(--ink-3); max-width: 34ch; }
/* outside the phone an App is monochrome; only the device paints it */
.app-ico { width: 34px; height: 34px; border-radius: 10px; flex: none; display: inline-grid; place-items: center; font-weight: 700; font-size: 17px; color: #fff; background: linear-gradient(160deg, #33363E, var(--ink) 62%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 4px 10px -5px rgba(14,15,18,.35); }
.device .app-ico { color: var(--app-ink); background: linear-gradient(160deg, color-mix(in oklab, var(--app) 94%, #fff), var(--app) 50%, color-mix(in oklab, var(--app) 82%, #000)); }
.spec-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.spec-time dd { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.spec-time .fig { font-size: 60px; line-height: .9; }
.spec-time .fig-unit { font-size: 20px; font-weight: 600; }
.spec-time small { flex-basis: 100%; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); font-weight: 450; }
@media (max-width: 759px) {
  /* phone: name and timeline side by side, the full passport is on the phone screen itself */
  .spec { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; border-bottom: 1px solid var(--line-2); }
  .spec-row { display: block; border-bottom: 0; padding: 12px 0; }
  .spec-row:nth-child(2), .spec-row:nth-child(3) { display: none; }
  .spec dt { margin-bottom: 4px; }
  .spec-time small, .spec-head { display: none; }
  .spec-time .fig { font-size: 40px; }
  .spec-time .fig-unit { font-size: 16px; }
  .spec-time dd { flex-wrap: nowrap; }
}

/* proof strip: what is already true, before anyone scrolls */
.hero-trust { grid-area: trust; margin-top: 26px; display: grid; gap: 20px; }
.hero-stay { display: grid; gap: 8px; }
.stay { display: flex; align-items: center; gap: 8px; font-weight: 580; font-size: 15px; line-height: 1.35; }
.stay .ico { width: 18px; height: 18px; color: var(--ink); stroke-width: 2.2; }
.hero-who { font-size: 14px; line-height: 1.5; color: var(--ink-3); max-width: 46ch; }
.pay-t { font-size: 14px; font-weight: 580; color: var(--ink); margin-bottom: 8px; }
.pay-bar { display: flex; gap: 3px; height: 26px; }
.pay-bar i { font-style: normal; flex: var(--w) 1 0; position: relative; border-radius: 6px; background: rgba(14,15,18,.08); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: background-color .5s var(--ease); }
.pay-bar i:first-child { min-width: 40px; } /* same 1 : 2 : 3 : 4 weights as the rest; only a floor for its label */
.pay-bar i b { font-family: var(--fig); font-stretch: 80%; font-weight: 640; font-size: 12.5px; color: var(--ink-2); position: relative; letter-spacing: 0; transition: color .4s; }
.pay-bar i.on { background: var(--ink); }
.pay-bar i.on b { color: #fff; }
.pay-n { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink-3); max-width: 42ch; }

@media (min-width: 760px) {
  .hero-grid { --dw: 300px; }
  .hd { font-size: clamp(58px, 7.6vw, 72px); }
  .hero-h1 { font-size: 18px; }
  .stage { height: 460px; }
  .composer, .spec, .hero-trust { max-width: 640px; width: 100%; justify-self: center; }
  .hero-head, .hero-sub { max-width: 640px; width: 100%; justify-self: center; }
  .composer-row { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
  .composer-send { width: auto; }
  .composer-note { justify-content: flex-start; text-align: left; padding-inline: 4px; }
}

/* tablet: the hero starts at the page gutter like every other section; from 900 the phone stands beside the offer */
@media (min-width: 760px) and (max-width: 1079px) {
  .hero-head, .hero-sub, .composer, .spec, .hero-trust { max-width: none; justify-self: stretch; }
}
@media (min-width: 900px) and (max-width: 1079px) {
  .hero-grid { --dw: 280px; grid-template-columns: minmax(0, 1fr) var(--dw); column-gap: 40px; grid-template-rows: auto auto 1fr; grid-template-areas: "head stage" "sub stage" "comp stage" "spec spec" "trust trust"; }
  .hd { font-size: clamp(48px, 5.9vw, 60px); }
  .stage { margin: 0; height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0 0 20px; }
  .stage-note { display: none; }
  .chips { display: flex; flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; } /* one even gap, no column holes */
  .chip { padding: 0 13px; font-size: 14.5px; }
  .composer { align-self: start; } /* the card keeps its own height next to the phone */
  .spec { margin-top: 24px; }
}
/* tablet: the same short passport as on a phone, payment and promise side by side: the next block stays close */
@media (min-width: 760px) and (max-width: 1079px) {
  .spec { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; border-bottom: 1px solid var(--line-2); }
  .spec-row { display: block; border-bottom: 0; padding: 12px 0; }
  .spec-row:nth-child(2), .spec-row:nth-child(3) { display: none; }
  .spec dt { margin-bottom: 4px; }
  .spec-time small, .spec-head { display: none; }
  .spec-time .fig { font-size: 40px; }
  .spec-time .fig-unit { font-size: 16px; }
  .spec-time dd { flex-wrap: nowrap; }
  .hero-trust { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: center; }
}
@media (min-width: 760px) and (max-width: 899px) {
  .chips { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
}

@media (min-width: 1080px) {
  .hero { padding: calc(var(--hdr) + clamp(16px, 3.4vh, 40px)) 0 0; }
  .hero-grid {
    --dw: clamp(252px, min(21.5vw, calc((100svh - 292px) * .462)), 330px);
    --col: clamp(32px, 3.6vw, 64px);
    grid-template-columns: minmax(0, 1fr) var(--dw) clamp(204px, 20vw, 300px);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "head  stage spec"
      "sub   stage spec"
      "comp  stage spec"
      "trust trust trust";
    column-gap: var(--col);
  }
  .hero-head, .hero-sub, .composer, .spec, .hero-trust { max-width: none; justify-self: stretch; }
  .hd { font-size: clamp(46px, min(4.55vw, 8.6vh), 84px); }
  .hero-sub { margin-top: clamp(12px, 2vh, 20px); max-width: 50ch; }
  .composer { margin-top: clamp(16px, 2.8vh, 28px); align-self: start; padding: 14px; }
  .chips { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; mask-image: none; }
  .chip { height: 38px; padding: 0 13px; font-size: 14.5px; }
  .stage-wrap { align-self: start; }
  .stage { margin: 0; height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0 0 26px; }
  .stage::before { left: 50%; right: auto; width: 620px; height: 260px; bottom: -44px; translate: -50% 0; }
  .stage-note { display: none; }
  .spec { margin-top: clamp(20px, 7vh, 72px); align-self: start; }
  .spec-row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 13px 0; }
  /* hairline leaders from the phone to each line of the passport */
  .spec-row::before { content: ""; position: absolute; top: 25px; right: 100%; width: calc(var(--col) - 6px); height: 1px; background: var(--line-2); transform-origin: right; }
  .spec-row::after { content: ""; position: absolute; top: 22px; left: calc(var(--col) * -1 + 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--ink); }
  .spec-time .fig { font-size: clamp(56px, 5vw, 80px); }
  .hero-trust { margin-top: clamp(14px, 2.4vh, 24px); padding: clamp(14px, 2vh, 20px) 0; border-top: 1px solid var(--line-2); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); align-items: center; }
  .pay-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .pay-hero .pay-t { margin: 0; }
  .pay-hero .pay-n { grid-column: 1 / -1; margin-top: 4px; font-size: 13.5px; }
  .hero-who { font-size: 13.5px; }
}
@media (min-width: 1280px) { .hd { font-size: clamp(56px, min(5.05vw, 8.6vh), 84px); } .chips { display: flex; flex-wrap: wrap; } }
@media (min-width: 1080px) and (max-height: 760px) {
  .hero-who, .pay-hero .pay-n { display: none; }
  .hero-trust { padding: 10px 0; }
}

/* ---------- in-phone App preview (neutral, iOS-quality, fully populated) ---------- */
.pv { --u: 1cqw; position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; color: #111316; font-size: calc(var(--u) * 4); line-height: 1.3; letter-spacing: -0.01em; word-spacing: 0; }
.pv svg { display: block; width: 100%; height: 100%; }
.pv ul { list-style: none; margin: 0; padding: 0; }
.pv p { margin: 0; }
.pv-status { display: flex; justify-content: space-between; align-items: center; padding: calc(var(--u) * 5.4) calc(var(--u) * 8.5) calc(var(--u) * 1.4); font-size: calc(var(--u) * 4); font-weight: 650; }
.pv-sig { display: flex; gap: calc(var(--u) * .9); align-items: flex-end; }
.pv-sig i { width: calc(var(--u) * 1.1); background: #111316; border-radius: 2px; }
.pv-sig i:nth-child(1) { height: calc(var(--u) * 1.6); } .pv-sig i:nth-child(2) { height: calc(var(--u) * 2.4); } .pv-sig i:nth-child(3) { height: calc(var(--u) * 3.2); }
.pv-sig b { width: calc(var(--u) * 5.6); height: calc(var(--u) * 2.8); margin-left: calc(var(--u) * 1.4); border-radius: calc(var(--u) * .9); border: 1.2px solid #111316; box-shadow: inset 0 0 0 1px #fff, inset calc(var(--u) * 3.6) 0 0 0 #111316; }
.pv-head { display: flex; align-items: center; gap: calc(var(--u) * 3); padding: calc(var(--u) * 2.4) calc(var(--u) * 6) calc(var(--u) * 3); }
.pv-head b { display: block; font-size: calc(var(--u) * 6); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.pv-head small { display: block; font-size: calc(var(--u) * 3.3); color: #5E626A; margin-top: calc(var(--u) * .5); }
.pv-icon { width: calc(var(--u) * 11.5); height: calc(var(--u) * 11.5); border-radius: calc(var(--u) * 3.1); display: grid; place-items: center; font-weight: 720; font-size: calc(var(--u) * 5.8); color: var(--app-ink); background: linear-gradient(160deg, color-mix(in oklab, var(--app) 94%, #fff), var(--app) 50%, color-mix(in oklab, var(--app) 82%, #000)); flex: none; }
.pv-body { flex: 1; min-height: 0; padding: 0 calc(var(--u) * 6); overflow: hidden; display: flex; flex-direction: column; gap: calc(var(--u) * 3); }
.pv-foot { padding: calc(var(--u) * 2.4) calc(var(--u) * 6) calc(var(--u) * 2.4); }
.pv-k-booking .pv-body { gap: calc(var(--u) * 4); padding-bottom: calc(var(--u) * 1.6); }
.pv-k-booking .pv-label { margin-bottom: calc(var(--u) * -1.6); }
.pv-k-booking .pv-slots { row-gap: calc(var(--u) * 2.2); }
.pv-k-booking .pv-slots li { height: calc(var(--u) * 12.6); }
.pv-k-booking .pv-who { padding: calc(var(--u) * 3.6); }
.pv-k-booking .pv-note { padding: calc(var(--u) * 3.6); margin-top: auto; }
.pv-k-booking .pv-days li { padding: calc(var(--u) * 2.6) 0; }
.pv-k-chat .pv-foot { padding-bottom: calc(var(--u) * 8); }
.pv-tabs { display: flex; justify-content: space-around; padding: calc(var(--u) * 2.4) calc(var(--u) * 6) calc(var(--u) * 6.4); border-top: 1px solid #EFEFEC; }
.pv-tabs span { width: calc(var(--u) * 6.2); height: calc(var(--u) * 6.2); color: #A3A6AD; }
.pv-tabs span.on { color: color-mix(in oklab, var(--app) 78%, #000); }
.pv-search { display: flex; align-items: center; gap: calc(var(--u) * 2.4); height: calc(var(--u) * 10.4); padding: 0 calc(var(--u) * 3.6); border-radius: calc(var(--u) * 3.4); background: #F2F2EF; color: #5E626A; font-size: calc(var(--u) * 3.7); flex: none; }
.pv-search svg { width: calc(var(--u) * 4.4); height: calc(var(--u) * 4.4); flex: none; }
.pv-chips { display: flex; gap: calc(var(--u) * 1.8); flex: none; }
.pv-chips li { padding: calc(var(--u) * 1.5) calc(var(--u) * 3.4); border-radius: 99px; background: #F2F2EF; font-size: calc(var(--u) * 3.4); font-weight: 600; white-space: nowrap; }
.pv-chips li.on { background: #111316; color: #fff; }
.pv-t { display: grid; min-width: 0; }
.pv-t b { font-size: calc(var(--u) * 3.9); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-t small { font-size: calc(var(--u) * 3.1); color: #5E626A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-t em { font-style: normal; font-size: calc(var(--u) * 3.5); font-weight: 640; margin-top: calc(var(--u) * .5); font-variant-numeric: tabular-nums; }
.pv-promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: calc(var(--u) * 3.6) calc(var(--u) * 4.2); border-radius: calc(var(--u) * 5); background: color-mix(in oklab, var(--app) 11%, #FBF8F4); flex: none; }
.pv-promo small { display: block; font-size: calc(var(--u) * 3.1); color: color-mix(in oklab, var(--app) 82%, #222); font-weight: 650; }
.pv-promo b { display: block; font-size: calc(var(--u) * 6); font-weight: 720; letter-spacing: -0.03em; line-height: 1.05; margin-top: calc(var(--u) * .8); }
.pv-promo em { display: block; font-style: normal; font-size: calc(var(--u) * 3.6); font-weight: 640; margin-top: calc(var(--u) * 1.2); font-variant-numeric: tabular-nums; }
.pv-promo .pv-art { width: calc(var(--u) * 24); height: calc(var(--u) * 24); margin: calc(var(--u) * -1.5) calc(var(--u) * -1) calc(var(--u) * -1.5) 0; filter: drop-shadow(0 calc(var(--u) * 1.4) calc(var(--u) * 2.2) rgba(0, 0, 0, .18)); }
.pv-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: calc(var(--u) * 3); align-items: center; padding: calc(var(--u) * 2.1) 0; border-bottom: 1px solid #F0F0ED; }
.pv-list .pv-art { width: calc(var(--u) * 13); height: calc(var(--u) * 13); filter: drop-shadow(0 calc(var(--u) * .7) calc(var(--u) * 1.2) rgba(0, 0, 0, .14)); }
.pv-add { width: calc(var(--u) * 7.4); height: calc(var(--u) * 7.4); border-radius: 50%; background: var(--app); color: var(--app-ink); padding: calc(var(--u) * 1.6); }
.pv-bar { display: flex; align-items: center; gap: calc(var(--u) * 2.6); height: calc(var(--u) * 12); padding: 0 calc(var(--u) * 4); border-radius: calc(var(--u) * 4); background: var(--app); color: var(--app-ink); font-weight: 650; font-size: calc(var(--u) * 3.9); }
.pv-count { width: calc(var(--u) * 6.4); height: calc(var(--u) * 6.4); border-radius: 50%; background: rgba(0, 0, 0, .2); display: grid; place-items: center; font-size: calc(var(--u) * 3.3); }
.pv-bar b { margin-left: auto; font-variant-numeric: tabular-nums; }
.pv-cta { height: calc(var(--u) * 12); border-radius: calc(var(--u) * 4); background: var(--app); color: var(--app-ink); display: grid; place-items: center; font-weight: 650; font-size: calc(var(--u) * 4.2); }
.pv-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: calc(var(--u) * 1.2); flex: none; }
.pv-days li { display: grid; justify-items: center; gap: calc(var(--u) * .5); padding: calc(var(--u) * 1.8) 0; border-radius: calc(var(--u) * 3); }
.pv-days small { font-size: calc(var(--u) * 2.9); color: #5E626A; }
.pv-days b { font-size: calc(var(--u) * 4.2); font-weight: 650; font-variant-numeric: tabular-nums; }
.pv-days li.on { background: var(--app); color: var(--app-ink); }
.pv-days li.on small { color: inherit; }
.pv-who { display: flex; gap: calc(var(--u) * 3); align-items: center; padding: calc(var(--u) * 3); border-radius: calc(var(--u) * 4); background: #F6F6F3; flex: none; }
.pv-face { width: calc(var(--u) * 12); height: calc(var(--u) * 12); border-radius: 50%; overflow: hidden; flex: none; }
.pv-label { font-size: calc(var(--u) * 3.4); font-weight: 650; color: #5E626A; }
.pv-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 2); flex: none; }
.pv-slots li { height: calc(var(--u) * 10); border-radius: calc(var(--u) * 3); background: #F2F2EF; display: grid; place-items: center; font-weight: 620; font-size: calc(var(--u) * 3.6); font-variant-numeric: tabular-nums; }
.pv-slots li.on { background: var(--app); color: var(--app-ink); }
.pv-note { display: flex; gap: calc(var(--u) * 3); align-items: center; padding: calc(var(--u) * 3.2); border-radius: calc(var(--u) * 4); border: 1px solid #ECECE8; flex: none; }
.pv-note > svg { width: calc(var(--u) * 8); height: calc(var(--u) * 8); padding: calc(var(--u) * 1.7); border-radius: 50%; background: color-mix(in oklab, var(--app) 13%, #fff); color: color-mix(in oklab, var(--app) 85%, #000); flex: none; }
.pv-goods { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 3); }
.pv-goods li { display: grid; gap: calc(var(--u) * .4); min-width: 0; }
.pv-good { aspect-ratio: 1 / 1.02; border-radius: calc(var(--u) * 4); background: var(--bg); padding: calc(var(--u) * 3); display: grid; place-items: center; margin-bottom: calc(var(--u) * 1); }
.pv-good svg { width: 84%; height: 84%; }
.pv-goods b { font-size: calc(var(--u) * 3.6); font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-goods em { font-style: normal; font-size: calc(var(--u) * 3.3); color: #5B5F67; font-variant-numeric: tabular-nums; }
.pv-map { height: calc(var(--u) * 64); border-radius: calc(var(--u) * 4); overflow: hidden; flex: none; }
.pv-trip { margin: 0; display: grid; gap: calc(var(--u) * 1.8); flex: none; }
.pv-trip div { display: flex; gap: calc(var(--u) * 2.5); align-items: center; }
.pv-trip dt { width: calc(var(--u) * 6); height: calc(var(--u) * 6); border-radius: 50%; display: grid; place-items: center; font-size: calc(var(--u) * 3); font-weight: 700; background: #111316; color: #fff; }
.pv-trip div + div dt { background: var(--app); color: var(--app-ink); }
.pv-trip dd { margin: 0; font-weight: 600; }
.pv-opts { display: grid; gap: calc(var(--u) * 2); }
.pv-opts li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: calc(var(--u) * 3); align-items: center; padding: calc(var(--u) * 2.4) calc(var(--u) * 3); border-radius: calc(var(--u) * 3.6); border: 1.5px solid #ECECE8; }
.pv-opts li.on { border-color: #141414; }
.pv-car { width: calc(var(--u) * 9); height: calc(var(--u) * 9); padding: calc(var(--u) * 1.8); border-radius: calc(var(--u) * 2.6); background: #F2F2EF; }
.pv-opts em { font-style: normal; font-weight: 650; font-variant-numeric: tabular-nums; font-size: calc(var(--u) * 3.6); }
.pv-lesson { padding: calc(var(--u) * 4); border-radius: calc(var(--u) * 5); background: var(--app); color: var(--app-ink); display: grid; gap: calc(var(--u) * .6); flex: none; }
.pv-lesson small { font-size: calc(var(--u) * 3.2); }
.pv-lesson b { font-size: calc(var(--u) * 5.6); font-weight: 700; letter-spacing: -0.02em; }
.pv-lesson span { display: flex; gap: calc(var(--u) * 2); margin-top: calc(var(--u) * 1.6); font-size: calc(var(--u) * 3.3); }
.pv-lesson i { font-style: normal; display: inline-flex; align-items: center; gap: calc(var(--u) * 1.2); padding: calc(var(--u) * 1) calc(var(--u) * 2.6); border-radius: 99px; background: rgba(255, 255, 255, .2); }
.pv-lesson i svg { width: calc(var(--u) * 3.8); height: calc(var(--u) * 3.8); }
.pv-progress li { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: calc(var(--u) * 1.8); align-items: center; padding: calc(var(--u) * 3) 0; border-bottom: 1px solid #F0F0ED; }
.pv-pct { font-weight: 650; font-variant-numeric: tabular-nums; }
.pv-track { grid-column: 1 / -1; height: calc(var(--u) * 2); border-radius: 9px; background: #EFEFEC; overflow: hidden; }
.pv-track i { display: block; height: 100%; background: var(--app); border-radius: inherit; }
.pv-chat { display: flex; flex-direction: column; gap: calc(var(--u) * 2.2); padding-top: calc(var(--u) * 1); }
.pv-chat li { max-width: 80%; padding: calc(var(--u) * 2.5) calc(var(--u) * 3.6); border-radius: calc(var(--u) * 4.4); font-size: calc(var(--u) * 3.7); line-height: 1.32; }
.pv-chat li.in { align-self: flex-end; background: #111316; color: #fff; border-bottom-right-radius: calc(var(--u) * 1.2); }
.pv-chat li.out { align-self: flex-start; background: var(--app); color: var(--app-ink); border-bottom-left-radius: calc(var(--u) * 1.2); }
.pv-chat li.typing { display: flex; gap: calc(var(--u) * 1.2); padding: calc(var(--u) * 3.2) calc(var(--u) * 3.8); }
.pv-chat li.typing i { width: calc(var(--u) * 1.8); height: calc(var(--u) * 1.8); border-radius: 50%; background: var(--app-ink); }
.pv-input { display: flex; align-items: center; gap: calc(var(--u) * 2.4); height: calc(var(--u) * 12); padding: 0 calc(var(--u) * 1.6) 0 calc(var(--u) * 4); border-radius: 99px; background: #F2F2EF; color: #5E626A; font-size: calc(var(--u) * 3.7); }
.pv-input > span:first-child { flex: 1; }
.pv-input > svg { width: calc(var(--u) * 5.4); height: calc(var(--u) * 5.4); }
.pv-send { width: calc(var(--u) * 9); height: calc(var(--u) * 9); border-radius: 50%; background: var(--app); color: var(--app-ink); padding: calc(var(--u) * 2.2); display: grid; place-items: center; }
.pv-homes { display: grid; gap: calc(var(--u) * 3); }
.pv-homes li { border-radius: calc(var(--u) * 4.4); overflow: hidden; border: 1px solid #ECECE8; }
.pv-house { display: block; aspect-ratio: 96 / 64; }
.pv-k-homes .pv-house { aspect-ratio: 96 / 50; }
.pv-homes .pv-t { padding: calc(var(--u) * 2.6) calc(var(--u) * 3.4) calc(var(--u) * 3); }
.pv-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 2.6); flex: none; }
.pv-kpis div { padding: calc(var(--u) * 3.2); border-radius: calc(var(--u) * 3.6); background: #F4F4F1; }
.pv-kpis small { display: block; font-size: calc(var(--u) * 3.2); color: #5E626A; }
.pv-kpis b { display: block; font-size: calc(var(--u) * 6.2); font-weight: 700; letter-spacing: -0.03em; margin-top: calc(var(--u) * .6); font-variant-numeric: tabular-nums; }
.pv-chart { display: flex; align-items: flex-end; gap: calc(var(--u) * 1.8); height: calc(var(--u) * 28); padding: calc(var(--u) * 3); border-radius: calc(var(--u) * 3.6); background: #F7F7F5; flex: none; }
.pv-chart i { flex: 1; border-radius: calc(var(--u) * 1) calc(var(--u) * 1) 2px 2px; background: color-mix(in oklab, var(--app) 30%, #E7E7E3); }
.pv-chart i:nth-child(6) { background: var(--app); }
.pv-rows li { display: flex; justify-content: space-between; gap: 8px; padding: calc(var(--u) * 2.6) 0; border-bottom: 1px solid #EFEFEC; font-weight: 560; }
.pv-rows small { color: #5E626A; font-weight: 450; font-size: 1em; white-space: nowrap; }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.sec-h { display: grid; gap: 16px; margin-bottom: clamp(32px, 4.4vw, 64px); }
@media (min-width: 1080px) { .sec-h { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; column-gap: 72px; } .sec-h .lead { justify-self: end; } }
.sample-note { display: inline-flex; margin: -24px 0 28px; padding: 8px 14px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-2); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 11px; border-radius: 99px; background: var(--studio); font-size: 14px; font-weight: 520; color: var(--ink-2); }

/* situations: pick the sentence that is about you, the answer opens (exclusive native <details>) */
.sit-board { --sit-gap: clamp(40px, 5vw, 80px); position: relative; border-top: 1px solid var(--line); }
.sit { border-bottom: 1px solid var(--line); }
.sit summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; }
.sit summary::-webkit-details-marker { display: none; }
.sit-say { font-size: clamp(21px, 5.6vw, 26px); line-height: 1.18; letter-spacing: -0.024em; font-weight: 600; color: var(--ink-2); text-wrap: balance; transition: color .25s; }
.sit[open] .sit-say { color: var(--ink); }
@media (hover: hover) { .sit summary:hover .sit-say { color: var(--ink); } }
.sit .pm { flex: none; }
.sit-ans { display: grid; gap: 14px; justify-items: start; padding: 0 0 22px; }
.sit-ans p { color: var(--ink-2); max-width: 48ch; }
.sit-ans .link { min-height: 40px; }
@media (prefers-reduced-motion: no-preference) { .sit[open] .sit-ans { animation: sitIn .55s var(--ease); } }
@keyframes sitIn { from { opacity: 0; transform: translateY(8px); } }
@media (min-width: 1080px) {
  /* the top rule runs over the list only, never across the answer card and its rounded corners */
  .sit-board { padding-right: calc((100% - var(--sit-gap)) * .42 + var(--sit-gap)); min-height: 0; border-top: 0; }
  .sit-board > .sit:first-of-type { border-top: 1px solid var(--line); }
  .sit summary { min-height: 70px; padding: 14px 0; }
  .sit-say { font-size: clamp(22px, 1.95vw, 28px); color: var(--ink-3); }
  .sit .pm { display: none; }
  .sit summary::after { content: ""; flex: none; width: 10px; height: 10px; border-top: 1.8px solid var(--ink); border-right: 1.8px solid var(--ink); transform: rotate(45deg) translate(-6px, 6px); opacity: 0; transition: opacity .25s, transform .4s var(--ease); }
  .sit[open] summary::after { opacity: 1; transform: rotate(45deg); }
  .sit[open] summary { cursor: default; }
  .sit-ans { position: absolute; top: 0; right: 0; bottom: 0; width: calc((100% - var(--sit-gap)) * .42); padding: clamp(28px, 2.8vw, 40px); grid-template-rows: 1fr auto auto; gap: 16px; border-radius: var(--r-lg); background: var(--studio); }
  .sit-ans p { font-size: clamp(23px, 2.15vw, 31px); line-height: 1.24; letter-spacing: -0.02em; font-weight: 540; color: var(--ink); text-wrap: pretty; }
  .sit-ans .tags li { background: #fff; }
}

/* what we build: a calm index */
.caps-sec { background: var(--studio); }
.caps { display: grid; gap: 22px; }
.caps-head { display: grid; gap: 10px; align-content: start; }
.caps-extra { color: var(--ink-2); max-width: 34ch; }
.caps-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.caps-list li { border-bottom: 1px solid var(--line-2); }
.caps-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 72px; padding: 14px 0; }
.cap-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--ink); transition: background-color .25s, color .25s; }
.cap-ico .ico { width: 22px; height: 22px; }
.cap-t { display: grid; gap: 2px; min-width: 0; transition: transform .4s var(--ease); }
.cap-t b { font-size: 18px; line-height: 1.25; font-weight: 620; letter-spacing: -0.012em; }
.cap-t small { font-size: 15px; line-height: 1.4; color: var(--ink-2); font-weight: 420; }
.cap-go { width: 22px; height: 22px; color: var(--ink-3); transition: transform .4s var(--ease), color .25s; }
.cap-go .ico { width: 100%; height: 100%; }
@media (hover: hover) { .caps-list a:hover .cap-ico { background: var(--ink); color: #fff; } }
@media (hover: hover) { .caps-list a:hover .cap-t { transform: translateX(4px); } }
@media (hover: hover) { .caps-list a:hover .cap-go { transform: translateX(4px); color: var(--ink); } }
@media (min-width: 760px) {
  .caps-list a { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.15fr) auto; column-gap: 18px; min-height: 80px; }
  .cap-t { display: contents; }
  .cap-t b { font-size: clamp(19px, 1.6vw, 23px); transition: transform .4s var(--ease); }
  .cap-t small { font-size: 16px; }
  @media (hover: hover) { .caps-list a:hover .cap-t b { transform: translateX(4px); } }
}
@media (min-width: 1080px) {
  .caps { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .caps-head { position: sticky; top: 112px; }
}

/* ownership: the sentence the whole site is built on */
.own { padding-bottom: calc(var(--sec) * .8); }
.own-h { font-size: clamp(42px, 5.2vw, 76px); line-height: .98; letter-spacing: -0.042em; font-weight: 680; max-width: 13ch; }
.own-grid { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 56px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.own-lead { font-size: clamp(21px, 2.2vw, 30px); line-height: 1.28; letter-spacing: -0.018em; font-weight: 540; max-width: 28ch; text-wrap: pretty; }
.own-side { display: grid; gap: 16px; align-content: start; }
.own-stat { display: flex; align-items: center; gap: 16px; font-weight: 560; line-height: 1.3; }
.own-stat b { flex: none; font-size: clamp(64px, 7vw, 104px); line-height: .9; }
.own-stat span { max-width: 22ch; }
.own-note { color: var(--ink-2); max-width: 50ch; }
@media (min-width: 900px) { .own-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; } }

/* work on the home page: a shelf of App icons, screenshots live in the portfolio */
.work { background: var(--studio); }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.shelf-item { display: grid; justify-items: start; align-content: start; gap: 2px; }
.shelf-ico { width: 68px; height: 68px; margin-bottom: 12px; border-radius: 19px; display: grid; place-items: center; font-size: 32px; font-weight: 700; color: var(--app-ink); background: linear-gradient(160deg, color-mix(in oklab, var(--app) 94%, #fff), var(--app) 50%, color-mix(in oklab, var(--app) 82%, #000)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 14px 24px -14px rgba(14,15,18,.55); }
.shelf-item h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.024em; font-weight: 640; }
.shelf-item h3 a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.shelf-item p { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.shelf-item .badge { margin-top: 8px; }
@media (min-width: 900px) { .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } .shelf-ico { width: 88px; height: 88px; border-radius: 24px; font-size: 42px; margin-bottom: 16px; } }

/* portfolio / case pages: work cards with a phone on a stage */
.work-item { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 2px rgba(14,15,18,.05); }
.work-stage { position: relative; height: 300px; display: grid; place-items: start center; padding-top: 34px; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, color-mix(in oklab, var(--app) 22%, #fff) 0%, color-mix(in oklab, var(--app) 6%, #FAFAF8) 55%, #FAFAF8 100%); }
.device-sm { --dw: 210px; }
.work-stage .device { transition: transform .9s var(--ease); }
@media (hover: hover) { .work-item:not(.is-sample):hover .work-stage .device { transform: translateY(-8px); } }
.work-meta { padding: 22px 22px 24px; display: grid; gap: 14px; align-content: start; }
.work-id { display: flex; align-items: center; gap: 12px; }
.work-id .app-ico { width: 46px; height: 46px; border-radius: 13px; font-size: 21px; }
.work-id h3 { font-size: 22px; }
.work-id p { font-size: 14px; color: var(--ink-3); }
.work-id .badge { margin-left: auto; }
.work-plat { font-size: 14px; font-weight: 560; color: var(--ink-3); }
.work-links { display: flex; flex-wrap: wrap; gap: 8px; }
.store { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 560; font-size: 15px; }
.store .ico { width: 16px; height: 16px; }
@media (hover: hover) { .store:hover { border-color: var(--ink); } }

/* NDA — one row per confidential case, each with its own system diagram */
.nda { background: var(--studio); }
.nda-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.nda-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line-2); }
.nda-txt { display: grid; gap: 12px; align-content: start; min-width: 0; }
.nda-txt h3 { font-size: clamp(21px, 2vw, 28px); letter-spacing: -0.022em; }
.nda-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; font-weight: 560; color: var(--ink-2); }
.nda-meta .ico { width: 17px; height: 17px; }
.nda-dg { min-width: 0; padding: 20px; border-radius: var(--r-md); background: #fff; box-shadow: 0 1px 2px rgba(14,15,18,.06); }
.dg { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.nd { display: block; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 600; line-height: 1.25; text-align: center; overflow-wrap: break-word; hyphens: auto; }
.nd-core { background: var(--ink); color: #fff; box-shadow: none; }
.nd-end { box-shadow: 0 0 0 1.5px var(--ink); }
.nd-alt { box-shadow: 0 0 0 1px var(--line-2); border: 1px dashed var(--ink-3); background: transparent; }
.ar { position: relative; display: block; align-self: center; width: 1.5px; height: 22px; background: var(--ink); }
.ar::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateX(-50%) rotate(45deg); }
.ar-2::before { content: ""; position: absolute; left: 50%; top: -1px; width: 7px; height: 7px; border-left: 1.5px solid var(--ink); border-top: 1.5px solid var(--ink); transform: translateX(-50%) rotate(45deg); }
.ar-down { background: none; border-left: 1.5px dashed var(--ink-3); width: 0; }
.ar-down::after { border-color: var(--ink-3); }
.dg-hub { align-items: center; }
.dg-hub .nd-core { align-self: center; min-width: 50%; }
.hub-legs { position: relative; display: block; width: 100%; height: 26px; }
.hub-legs i { position: absolute; top: 0; height: 100%; width: 1.5px; background: var(--ink); }
.hub-legs i:nth-child(1) { left: 16.6%; } .hub-legs i:nth-child(2) { left: 50%; } .hub-legs i:nth-child(3) { left: 83.3%; }
.hub-legs::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 0; height: 1.5px; background: var(--ink); }
.hub-legs::after { content: ""; position: absolute; left: 50%; top: -12px; width: 1.5px; height: 12px; background: var(--ink); }
.hub-kids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.hub-kids .nd { font-size: 13px; padding: 9px 6px; }
@media (min-width: 720px) {
  .dg-line, .dg-branch { flex-direction: row; align-items: center; }
  .dg-line .nd, .dg-branch .nd { flex: 1 1 0; min-width: 0; }
  .dg-line .ar, .dg-branch .ar { width: 28px; height: 1.5px; flex: none; align-self: center; }
  .dg-line .ar::after, .dg-branch .ar::after { left: auto; right: -1px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
  .dg-line .ar-2::before { left: -1px; top: 50%; transform: translateY(-50%) rotate(-45deg); }
  .dg-branch { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); grid-template-rows: auto 26px auto; align-items: center; }
  .dg-branch > :nth-child(1) { grid-area: 1 / 1; } .dg-branch > :nth-child(2) { grid-area: 1 / 2; } .dg-branch > :nth-child(3) { grid-area: 1 / 3; }
  .dg-branch > :nth-child(4) { grid-area: 1 / 4; } .dg-branch > :nth-child(5) { grid-area: 1 / 5; }
  .dg-branch .ar-down { grid-area: 2 / 3; justify-self: center; width: 0; height: 26px; }
  .dg-branch .ar-down::after { left: 50%; right: auto; top: auto; bottom: -1px; transform: translateX(-50%) rotate(45deg); }
  .dg-branch .nd-alt { grid-area: 3 / 3; }
}
@media (min-width: 1080px) {
  .nda-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 64px; padding: 36px 0; align-items: center; }
  .nda-dg { padding: 24px; }
}

/* process (dark studio) */
.proc { background: var(--dark); color: var(--on-dark); }
.proc .lead { color: var(--on-dark-2); }
.proc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.proc-stage { display: grid; justify-items: center; gap: 24px; }
@media (max-width: 1079.98px) { .proc-stage { display: none; } }
.device-md { --dw: 214px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 3px #050506, 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.04); }
.pay-proc { width: min(100%, 340px); }
.pay-proc .pay-bar i { background: var(--dark-line); }
.pay-proc .pay-bar i b { color: var(--on-dark-2); }
.pay-proc[data-on="0"] .pay-bar i:nth-child(-n+1), .pay-proc[data-on="1"] .pay-bar i:nth-child(-n+1), .pay-proc[data-on="2"] .pay-bar i:nth-child(-n+2), .pay-proc[data-on="3"] .pay-bar i:nth-child(-n+3), .pay-proc[data-on="4"] .pay-bar i:nth-child(-n+4) { background: var(--on-dark); }
.pay-proc[data-on="0"] .pay-bar i:nth-child(-n+1) b, .pay-proc[data-on="1"] .pay-bar i:nth-child(-n+1) b, .pay-proc[data-on="2"] .pay-bar i:nth-child(-n+2) b, .pay-proc[data-on="3"] .pay-bar i:nth-child(-n+3) b, .pay-proc[data-on="4"] .pay-bar i:nth-child(-n+4) b { color: var(--ink); }
.ps { position: absolute; inset: 0; padding: 22% 9% 9%; display: flex; flex-direction: column; gap: 4.5cqw; font-size: 4.4cqw; color: #111316; background: #fff; opacity: 0; transform: scale(.97); transition: opacity .5s var(--ease), transform .7s var(--ease); }
[data-on="0"] > .ps[data-ps="0"], [data-on="1"] > .ps[data-ps="1"], [data-on="2"] > .ps[data-ps="2"], [data-on="3"] > .ps[data-ps="3"], [data-on="4"] > .ps[data-ps="4"] { opacity: 1; transform: none; z-index: 2; }
.ps-idea, .ps-strategy { justify-content: center; padding-top: 9%; }
.ps-t { font-size: 7.6cqw; font-weight: 680; letter-spacing: -0.03em; }
.ps-date { font-size: 3.6cqw; color: #5E626A; margin-top: -3cqw; }
.ps-note { font-size: 5.6cqw; line-height: 1.35; font-weight: 520; }
.ps-q { list-style: none; margin: 2cqw 0 0; padding: 4cqw 0 0; border-top: 1px solid #EFEFEC; display: grid; gap: 3.6cqw; font-size: 4.4cqw; font-weight: 560; }
.ps-q li { display: flex; align-items: center; gap: 3cqw; }
.ps-q span { width: 5cqw; height: 5cqw; border-radius: 50%; border: 1.5px solid #B9BCC3; flex: none; }
.ps-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 3.4cqw; }
.ps-check li { display: flex; align-items: center; gap: 3cqw; font-weight: 600; }
.ps-check .ico { width: 6.4cqw; height: 6.4cqw; padding: 1cqw; border-radius: 50%; background: var(--app); color: var(--app-ink); stroke-width: 2.6; }
.ps-boards { position: relative; flex: 1; }
.ps-wire { position: absolute; left: 0; top: 0; width: 58%; height: 78%; padding: 4cqw; border-radius: 5cqw; background: #F4F4F1; display: grid; grid-template-rows: auto 1fr 1fr auto; gap: 3cqw; transform: rotate(-4deg); box-shadow: 0 2cqw 5cqw -2cqw rgba(0,0,0,.2); }
.ps-wire i { border-radius: 2.6cqw; background: #E4E4E0; }
.ps-wire i.h { height: 9cqw; }
.ps-wire i.s { height: 9cqw; border-radius: 99px; background: #CFCFC9; }
.ps-mini { position: absolute; right: 0; bottom: 0; width: 64%; aspect-ratio: 9 / 16; border-radius: 6cqw; overflow: hidden; container-type: inline-size; box-shadow: 0 3cqw 8cqw -3cqw rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); transform: rotate(3deg); background: #fff; }
.ps-dev { padding: 0; }
.ps-app { position: absolute; inset: 0; }
.ps-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ps-badge { position: absolute; z-index: 3; left: 50%; bottom: 25%; translate: -50% 0; padding: 1.6cqw 3.6cqw; border-radius: 99px; background: #111316; color: #fff; font-size: 3.6cqw; font-weight: 600; white-space: nowrap; }
.ps-live { padding: 20% 7% 7%; background: linear-gradient(180deg, color-mix(in oklab, var(--app) 30%, #DDE3EA), color-mix(in oklab, var(--app) 10%, #C9D3DC)); justify-content: space-between; }
.ps-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5.5cqw 4cqw; justify-items: center; }
.ps-home > i, .ps-dock > i { width: 14cqw; height: 14cqw; border-radius: 3.8cqw; display: grid; place-items: center; color: #fff; padding: 3.4cqw; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.ps-home > i svg, .ps-dock > i svg { width: 100%; height: 100%; }
.ps-dock { display: flex; justify-content: space-around; padding: 3cqw; border-radius: 6cqw; background: rgba(255,255,255,.55); }
.ps-home-app { display: grid; justify-items: center; gap: 1.4cqw; }
.ps-home-app .sc-ico { width: 14cqw; height: 14cqw; font-size: 7cqw; }
.ps-home-app small { font-size: 3cqw; font-weight: 600; }
.ps-live-t { display: flex; align-items: center; justify-content: center; gap: 2cqw; padding: 3cqw; border-radius: 99px; background: #fff; font-size: 3.5cqw; font-weight: 600; text-align: center; }
.proc-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { position: relative; padding: 24px 0 26px 52px; border-top: 1px solid var(--dark-line); transition: opacity .5s var(--ease); }
.step-sum { display: block; list-style: none; cursor: default; }
.step-sum::-webkit-details-marker { display: none; }
.step-pct, .step-sum .pm { display: none; }
.step-n { position: absolute; left: 0; top: 24px; font-family: var(--fig); font-stretch: 72%; font-weight: 600; font-size: 28px; color: var(--on-dark-2); transition: color .4s; }
.step h3 { font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.03em; }
.step p { margin-top: 8px; color: var(--on-dark-2); max-width: 44ch; }
.step-dl { margin: 16px 0 0; display: grid; gap: 8px; }
.step-dl div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; font-size: 15px; }
.step-dl dt { color: var(--on-dark-2); }
.step-dl dd { margin: 0; font-weight: 560; }
@media (max-width: 359px) { .step-dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.step.is-on .step-n { color: var(--on-dark); }
.js .proc.is-live .step:not(.is-on) { opacity: .7; }
/* phone: five short rows instead of a wall; the open one shows what you get */
@media (max-width: 759.98px) {
  .step { padding: 0; }
  .step:last-child { border-bottom: 1px solid var(--dark-line); }
  .step-sum { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 12px 0; cursor: pointer; }
  .step-n { position: static; flex: none; width: 40px; font-size: 24px; }
  .step-sum h3 { flex: 1; min-width: 0; font-size: 23px; }
  .step-pct { display: block; flex: none; font-size: 17px; letter-spacing: 0; color: var(--on-dark-2); }
  .step-sum .pm { display: block; background: var(--dark-2); }
  .step-sum .pm::before, .step-sum .pm::after { background: var(--on-dark); }
  @media (hover: hover) { .step-sum:hover .pm { background: var(--dark-line); } }
  .step-d[open] > .step-sum .pm { background: var(--on-dark); }
@media (hover: hover) { .step-d[open] > .step-sum:hover .pm { background: var(--on-dark); } }
  .step-d[open] > .step-sum .pm::before { background: var(--ink); }
  .step-d > p { margin: 0 0 0 50px; }
  .step-d > .step-dl { margin: 12px 0 0 50px; padding-bottom: 20px; }
  .step-d .step-dl div { grid-template-columns: 6.8em minmax(0, 1fr); gap: 8px; }
  .step-d > p:last-child { padding-bottom: 20px; }
}
@media (min-width: 1080px) {
  .proc-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 96px; align-items: start; }
  .proc-stage { position: sticky; top: max(96px, calc(50vh - 330px)); }
  .device-md { --dw: 280px; }
  .step { padding: 44px 0 calc(44px + 12vh) 72px; min-height: 46vh; }
  .step:last-child { min-height: 0; padding-bottom: 44px; }
  .step-n { top: 48px; font-size: 32px; }
}

/* principles */
.prin-list { list-style: none; margin: clamp(32px, 4.4vw, 56px) 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.prin-list li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.prin-list h3 { font-size: clamp(23px, 2.5vw, 34px); line-height: 1.12; letter-spacing: -0.028em; }
.prin-list p { color: var(--ink-2); max-width: 42ch; }
@media (min-width: 900px) { .prin-list { grid-template-columns: 1fr 1fr; column-gap: 72px; } .prin-list li { padding: 36px 0; } }

/* industries on the home page: a plain index of links */
.inds { background: var(--studio); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.inds .cards-compact { grid-template-columns: minmax(0, 1fr); gap: 0 clamp(16px, 2vw, 32px); border-top: 1px solid var(--line-2); }
@media (min-width: 760px) { .inds .cards-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.inds .cards-compact .card { border-bottom: 1px solid var(--line-2); }
.inds .cards-compact .card-a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding: 12px 0; border-radius: 0; background: transparent; }
@media (hover: hover) { .inds .cards-compact .card-a:hover { background: transparent; } }
.inds .cards-compact .card-a h3 { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.25; font-weight: 580; transition: transform .4s var(--ease); }
@media (hover: hover) { .inds .cards-compact .card-a:hover h3 { transform: translateX(3px); } }
.inds .cards-compact .card-go { position: static; width: 20px; height: 20px; background: transparent; color: var(--ink-3); }
@media (hover: hover) { .inds .cards-compact .card-a:hover .card-go { color: var(--ink); } }

/* instagram: the quiet way out for those not ready yet */
.social { padding-top: 0; padding-bottom: clamp(48px, 5vw, 72px); }
.social-grid { display: grid; gap: 24px; padding-top: clamp(48px, 5vw, 72px); }
.social .sec-h { margin-bottom: 0; }
.social h2 { font-size: clamp(26px, 2.8vw, 40px); }
.ig-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ig { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ig-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; flex: none; box-shadow: 0 0 0 1px var(--line-2); }
.ig-av .ico { width: 22px; height: 22px; }
.ig-txt { display: grid; gap: 1px; min-width: 0; }
.ig-txt b { font-size: 18px; font-weight: 620; letter-spacing: -0.015em; }
.ig-txt small { font-size: 15px; color: var(--ink-3); }
.ig-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.ig-go .ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
@media (hover: hover) { .ig:hover .ig-go .ico { transform: translate(2px, -2px); } }
@media (max-width: 520px) { .ig-go { font-size: 0; gap: 0; } .ig-go .ico { width: 22px; height: 22px; } }
@media (min-width: 900px) { .ig-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } .ig-list > li { display: flex; } .ig-list .ig { flex: 1; } } /* both cards one height: the rules and «Follow» line up */

/* FAQ */
.faq { padding-top: 0; }
.faq-grid { display: grid; gap: 24px; padding-top: var(--sec); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; cursor: pointer; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--studio); flex: none; transition: background-color .3s, transform .4s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--ink); translate: -50% -50%; border-radius: 2px; }
.pm::after { width: 1.6px; height: 12px; transition: opacity .3s; }
details[open] > summary .pm { transform: rotate(180deg); background: var(--ink); }
details[open] > summary .pm::before { background: #fff; }
details[open] > summary .pm::after { opacity: 0; }
.faq details p { padding: 0 48px 22px 0; color: var(--ink-2); max-width: 60ch; }
@media (hover: hover) { summary:hover .pm { background: var(--studio-2); } }
@media (hover: hover) { details[open] > summary:hover .pm { background: var(--ink); } }
@media (min-width: 1080px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 96px; align-items: start; } .faq-grid h2 { position: sticky; top: 120px; } }

/* final CTA: the room goes dark, one button stays lit */
.cta { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); padding: clamp(76px, 10vw, 148px) 0 clamp(56px, 7vw, 96px); }
/* the single pool of light the button stands in */
.cta::before { content: ""; position: absolute; left: 50%; bottom: -46%; width: min(1400px, 150vw); height: 90%; translate: -50% 0; background: radial-gradient(closest-side, rgba(255,255,255,.075), rgba(255,255,255,0)); pointer-events: none; }
.cta-grid { position: relative; z-index: 1; display: grid; gap: 22px; }
.cta h2 { font-size: clamp(50px, 10.6vw, 148px); line-height: .92; letter-spacing: -0.046em; font-weight: 680; }
.cta h2 span { display: block; }
.cta h2 span + span { color: var(--on-dark-2); }
.cta-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--on-dark-2); max-width: 44ch; text-wrap: pretty; }
.cta-app { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 20px; background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--dark-line); justify-self: start; max-width: 100%; }
.cta-app[hidden] { display: none; }
.cta-app .app-ico { width: 42px; height: 42px; border-radius: 12px; font-size: 19px; color: var(--ink); background: var(--on-dark); box-shadow: none; }
.cta-app-t { display: grid; min-width: 0; }
.cta-app-t small { font-size: 13.5px; color: var(--on-dark-2); }
.cta-app-t b { font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta-time { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--dark-line); font-weight: 600; white-space: nowrap; }
.cta-time .fig { font-size: 28px; }
.cta-actions { display: grid; gap: 8px; justify-items: stretch; margin-top: 6px; }
.cta-actions .link { justify-self: center; }
.cta-links { list-style: none; margin: 10px 0 0; padding: 14px 0 0; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 2px 22px; }
.cta-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 540; color: var(--on-dark); text-decoration: underline; text-decoration-color: #555963; text-underline-offset: 5px; }
@media (hover: hover) { .cta-links a:hover { text-decoration-color: currentColor; } }
.cta-links .ico { width: 18px; height: 18px; color: var(--on-dark-2); }
@media (max-width: 559px) { .cta-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; } .cta-links a { font-size: 15px; gap: 6px; } .cta-links .ico { width: 16px; height: 16px; } }
.tel-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cta-note { font-size: 15px; color: var(--on-dark-2); }
.link-on-dark { color: var(--on-dark); text-decoration-color: #555963; }
@media (min-width: 760px) { .cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; } .cta-actions .link { justify-self: auto; } }
@media (min-width: 1080px) {
  .cta-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 72px; }
  .cta h2 { grid-column: 1 / -1; }
  .cta-lead { grid-column: 1; }
  .cta-app { grid-column: 2; grid-row: 2; align-self: end; justify-self: end; }
  .cta-actions, .cta-links, .cta-note { grid-column: 1 / -1; }
}

/* footer */
.ftr { padding: 48px 0 28px; }
.ftr-grid { display: grid; gap: 28px; }
.ftr-brand p { margin-top: 10px; color: var(--ink-3); font-size: 15px; }
.ftr-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr-nav a, .ftr-langs a { color: var(--ink-2); font-weight: 520; }
@media (hover: hover) { .ftr-nav a:hover, .ftr-langs a:hover { color: var(--ink); } }
.ftr-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr-langs a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 389.98px) { .ftr-langs { gap: 6px 12px; } .ftr-langs a { font-size: 15px; } }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.ftr-bot a { display: inline-flex; align-items: center; min-height: 44px; }
.ftr-bot { align-items: center; }
@media (hover: hover) { .ftr-bot a:hover { color: var(--ink); } }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.2fr 1fr auto; align-items: start; } }

/* phone dock: the main action under the thumb, the frame's only accent */
.dock { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; transform: translateY(140%); transition: transform .55s var(--ease); pointer-events: none; }
.dock.is-on { transform: none; pointer-events: auto; }
.dock-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 58px; padding: 0 20px 0 22px; border-radius: 20px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 620; font-size: 17px; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 34px -14px var(--btn-glow), 0 8px 18px -10px rgba(14,15,18,.4); transition: background-color .3s, color .3s; }
.dock-btn .ico { width: 22px; height: 22px; }
@media (min-width: 760px) { .dock { display: none; } }
/* the dock never covers the last line of the page */
@media (max-width: 759.98px) { .ftr { padding-bottom: calc(58px + max(12px, env(safe-area-inset-bottom)) + 20px); } }

/* 404 */
.nf-main h1 { font-family: var(--fig); font-stretch: 72%; font-size: clamp(120px, 22vw, 260px); line-height: .85; font-weight: 640; }
.nf-t { font-size: 28px; font-weight: 620; letter-spacing: -0.02em; }

/* ---------- motion: one entrance for the first screen, then the page stays calm ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hd, .hero-sub, .composer { animation: heroUp .9s var(--ease) both; }
  .hd-b { animation-delay: .07s; }
  .hero-sub { animation-delay: .14s; }
  .composer { animation-delay: .2s; }
  .stage .device { animation: phoneUp 1.1s var(--ease) .12s both; }
  .spec, .hero-trust { animation: heroFade .9s ease-out .42s both; }
  @media (min-width: 1080px) {
    .spec-row::before { animation: leader .8s var(--ease) both; animation-delay: calc(.55s + var(--i, 0) * .09s); }
    .spec-row::after { animation: heroFade .4s ease-out both; animation-delay: calc(.7s + var(--i, 0) * .09s); }
    .spec-row:nth-child(2) { --i: 1; } .spec-row:nth-child(3) { --i: 2; } .spec-row:nth-child(4) { --i: 3; }
  }
}
/* .01, not 0: Chrome does not count a fully transparent first paint, and LCP would wait for the demo's later repaint */
@keyframes heroUp { from { opacity: .01; transform: translateY(14px); } }
@keyframes phoneUp { from { opacity: 0; transform: translateY(34px) scale(.975); } }
@keyframes heroFade { from { opacity: .01; } }
@keyframes leader { from { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.nda .tags li { background: #fff; }

/* ---------- inner pages: same studio, same tokens ---------- */

.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
@media (hover: hover) { .link:hover { text-decoration-color: currentColor; } }
.link .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
@media (hover: hover) { .link:hover .ico { transform: translateX(3px); } }
.muted { color: var(--ink-3); }
.sec-more { margin-top: 28px; }

/* page head: the same studio backdrop as the home hero; the header dissolves into it */
.ph { position: relative; isolation: isolate; margin-top: calc(var(--hdr) * -1); padding: calc(var(--hdr) + clamp(14px, 2.4vw, 32px)) 0 clamp(36px, 4.6vw, 68px); overflow: clip; background: var(--backdrop); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.ph-main { min-width: 0; }
.crumbs ol { list-style: none; margin: 0 0 clamp(14px, 2vw, 24px); padding: 0; display: flex; flex-wrap: wrap; gap: 0; font-size: 14px; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 9px; color: var(--line-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
@media (hover: hover) { .crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; } }
.crumbs [aria-current] { color: var(--ink-3); overflow-wrap: anywhere; }
.nb { white-space: nowrap; }
.ph-h1 { font-size: clamp(32px, 8.9vw, 58px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 670; text-wrap: balance; overflow-wrap: break-word; }
.ph-answer { margin-top: clamp(14px, 1.6vw, 22px); font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.ph-a1 { display: block; margin-bottom: 8px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.34; letter-spacing: -0.012em; font-weight: 520; color: var(--ink); }
.ph-a2 { display: block; }
.ph-extra { margin-top: 18px; }
/* the starting price: one big honest number, what it depends on, and three reassurances */
.pcard { max-width: 520px; padding: 22px 24px 20px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 26px 50px -36px rgba(14,15,18,.55); }
.pcard-l { font-size: 14px; font-weight: 560; color: var(--ink-3); }
.pcard-fig { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; margin-top: 4px; }
.pcard-fig .fig { font-size: clamp(60px, 15vw, 88px); line-height: .9; color: var(--ink); }
.pcard-fig span { font-size: clamp(20px, 4.6vw, 26px); font-weight: 620; color: var(--ink); }
.pcard-n { margin-top: 12px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.pcard-pts { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 9px; }
.pcard-pts li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 560; line-height: 1.4; color: var(--ink); }
.pcard-pts .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; stroke-width: 2.2; }
/* the payment stages in money: what a $2 500 project costs at each step */
.pay-ex { margin: 0 0 14px; font-size: 15px; font-weight: 560; color: var(--ink-2); }
.pay-amt { display: block; margin-top: 4px; font-style: normal; font-size: 20px; line-height: 1.1; color: var(--ink); }
@media (min-width: 760px) { .pay-amt { font-size: 22px; } }
.ph-actions { margin-top: clamp(18px, 2vw, 28px); display: flex; flex-wrap: wrap; gap: 12px; }
.ph-updated { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
/* the visible update date: a quiet caption at the end of the content, away from the decision point */
.page-updated { padding-bottom: clamp(20px, 2vw, 28px); font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
.in-next.in-grey + .page-updated { background: var(--studio); }
.inner .faq:has(+ .page-updated) { padding-bottom: clamp(28px, 3vw, 40px); }
.ph-cta-note { margin-top: 6px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.ph-stat { display: flex; align-items: center; gap: 14px; font-weight: 560; font-size: 15px; line-height: 1.3; max-width: 34ch; }
.ph-stat b { flex: none; font-size: 46px; line-height: .9; font-weight: 640; }
.ph-actions.has-after { flex-direction: column; align-items: flex-start; gap: 4px; }
@media (max-width: 479px) { .ph-actions .btn { width: 100%; } }

/* phone in the head: it rises out of the section's lower edge */
.ph-device { padding-bottom: 0; }
.ph-stage { position: relative; margin: 26px calc(var(--gutter) * -1) 0; height: 286px; display: grid; justify-items: center; overflow: hidden; }
.ph-stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: -30px; height: 220px; background: radial-gradient(closest-side, color-mix(in oklab, var(--app) 30%, transparent), transparent); filter: blur(12px); opacity: .55; pointer-events: none; }
.ph-stage .device { --dw: 244px; }
.ph-stage .stage-floor { display: none; }
@media (max-width: 1079.98px) { .ph-stage { -webkit-mask-image: linear-gradient(#000 68%, transparent 97%); mask-image: linear-gradient(#000 68%, transparent 97%); } } /* the phone fades out at the cut, it is never sliced through a line of text */
/* the phone is a sample until real App Store links arrive: the label sits on its island */
.ph-sample { position: absolute; top: 17px; height: 22px; left: 50%; translate: -50% 0; z-index: 7; min-width: 92px; justify-content: center; }
.ph-stage:has(.ph-sample) .device-screen::before { display: none; }
/* a real project in the head: its name and link sit above the phone on a phone/tablet, under it on desktop */
.ph-stage:has(.ph-cap) { height: 340px; align-content: start; }
.ph-cap { order: -1; position: relative; z-index: 2; margin-bottom: 14px; }
@media (min-width: 760px) { .ph-stage:has(.ph-cap) { height: 400px; } }
@media (min-width: 1080px) {
  .ph-stage:has(.ph-cap) { height: 100%; }
  .ph-cap { order: 0; justify-content: center; margin: calc(clamp(32px, 4vw, 56px) * -1 + 18px) 0 clamp(32px, 4vw, 56px); }
}

/* passport: the App's facts, drawn off the phone with hairlines on desktop */
.pass { order: 2; margin: 22px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-2); }
.ph-stage { order: 3; }
.pass-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--line-2); min-width: 0; }
.pass-time { align-items: baseline; }
.pass-pay dd { flex: 1 1 210px; max-width: 250px; min-width: 150px; }
.pass dt { font-size: 13.5px; line-height: 1.3; font-weight: 520; color: var(--ink-3); }
.pass dd { margin: 0; font-weight: 580; }
.pass-time dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; column-gap: 6px; text-align: right; }
.pass .fig { font-size: 40px; line-height: .9; }
.pass .fig-unit { font-size: 16px; font-weight: 600; }
.pass small { flex-basis: 100%; margin-top: 4px; font-size: 13.5px; line-height: 1.3; font-weight: 450; color: var(--ink-3); }
.pass-v { font-size: 17px; font-weight: 600; letter-spacing: -0.012em; }
.pass .pay-bar { height: 24px; gap: 2px; }
.pass .pay-bar i, .pass .pay-bar i:first-child { flex: var(--w) 1 0; min-width: 25px; padding: 0; }
.pass .pay-bar i:first-child { min-width: 31px; } /* «10%» gets a little air inside its dark segment */ /* strictly 1 : 2 : 3 : 4 down to the label width */
.pass .pay-bar i { border-radius: 4px; }
.pass .pay-bar i b { font-size: 11px; }

@media (min-width: 760px) {
  .ph-h1 { font-size: clamp(50px, 6.2vw, 64px); }
  .ph-answer { font-size: 17px; }
  .ph-stage { height: 340px; }
  .ph-stage .device { --dw: 290px; }
  .ph-sample { top: 24px; }
  .pass { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 32px; }
  .pass-row { display: block; padding: 12px 0; }
  .pass-row dd { margin-top: 6px; }
  .pass-pay dd { min-width: 0; }
  .pass-time dd { justify-content: flex-start; text-align: left; }
}
@media (min-width: 1080px) {
  /* no phone: the H1 and the answer stand side by side */
  .ph-wide .ph-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 96px); align-items: start; }
  .ph-wide .crumbs { grid-column: 1 / -1; }
  .ph-wide .ph-h1 { grid-column: 1; grid-row: 2 / span 4; font-size: clamp(52px, 5vw, 72px); }
  .ph-wide .ph-answer, .ph-wide .ph-extra, .ph-wide .ph-actions { grid-column: 2; }
  .ph-wide .ph-answer { margin-top: 6px; }
  .ph-device { padding-top: calc(var(--hdr) + 20px); }
  .ph-device .ph-grid { --dw: clamp(250px, min(21vw, calc((100svh - 150px) * .46)), 310px); --col: clamp(32px, 3.6vw, 60px); grid-template-columns: minmax(0, 1fr) var(--dw) clamp(204px, 19vw, 280px); grid-template-areas: "main stage pass"; column-gap: var(--col); align-items: start; }
  .ph-device .ph-main { grid-area: main; padding-bottom: clamp(40px, 5vw, 72px); }
  .ph-device .ph-h1 { font-size: clamp(44px, min(4.2vw, 8vh), 66px); }
  .ph-stage { grid-area: stage; margin: 0; height: 100%; min-height: min(620px, calc(100svh - 130px)); overflow: visible; display: block; }
  .ph-stage .device { --dw: inherit; width: var(--dw); }
  .ph-device .ph-stage .device { margin-bottom: clamp(32px, 4vw, 56px); }
  .ph-sample { top: calc(var(--dw) * .12 - 11px); }
  .ph-stage::before { left: 50%; right: auto; width: 560px; height: 240px; translate: -50% 0; bottom: -60px; }
  .pass { grid-area: pass; display: block; margin: clamp(24px, 8vh, 80px) 0 0; }
  .pass-row { position: relative; padding: 14px 0; }
  .pass .fig { font-size: clamp(52px, 4.6vw, 72px); }
  .pass-row::before { content: ""; position: absolute; top: 25px; right: 100%; width: calc(var(--col) - 6px); height: 1px; background: var(--line-2); }
  .pass-row::after { content: ""; position: absolute; top: 22px; left: calc(var(--col) * -1 + 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--ink); }
}
@media (min-width: 1080px) and (prefers-reduced-motion: no-preference) {
  .pass-row::before { animation: leader .8s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * .09s); transform-origin: right; }
  .pass-row::after { animation: heroFade .4s ease-out both; animation-delay: calc(.36s + var(--i, 0) * .09s); }
  .pass-row:nth-child(2) { --i: 1; } .pass-row:nth-child(3) { --i: 2; }
}

/* sections of inner pages: white and grey rooms, a heading on the left, the content on the right */
.in { padding: clamp(56px, 7vw, 108px) 0; overflow-x: clip; }
.in-grey { background: var(--studio); }
.in-tight { padding: clamp(28px, 3.4vw, 48px) 0; }
/* a one-line note belongs to the block above it */
.in:has(+ .in-tight .cases-none) { padding-bottom: clamp(20px, 2vw, 28px); }
.in-tight:has(.cases-none) { padding-top: 0; }
.in-h { display: grid; gap: 12px; margin-bottom: clamp(22px, 3vw, 36px); align-content: start; }
.in-h h2, .ledger h2, .deal h2 { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.05; letter-spacing: -0.032em; font-weight: 640; }
.in-lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 42ch; text-wrap: pretty; }
.in-b { min-width: 0; }
@media (min-width: 1080px) {
  .split { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .split > .in-h { position: sticky; top: 112px; margin-bottom: 0; }
}

/* hairline lines: one thought per row */
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lines li { display: flex; gap: 12px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.4; font-weight: 520; letter-spacing: -0.006em; text-wrap: pretty; }
.lines .ico { width: 22px; height: 22px; margin-top: 1px; color: var(--ink); stroke-width: 2.2; }
.lines-quiet li { color: var(--ink-2); font-weight: 450; }
.in-grey .lines, .in-grey .lines li { border-color: var(--line-2); }
.lines-big li { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.22; letter-spacing: -0.02em; font-weight: 580; padding: clamp(16px, 1.6vw, 22px) 0; }
.ledger { display: grid; gap: clamp(36px, 4vw, 56px); }
.ledger h2 { margin-bottom: clamp(16px, 2vw, 26px); }
@media (min-width: 900px) { .ledger { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 96px); } .lines li { font-size: 18px; } }

/* board on inner pages: same mechanics as the home page, a calmer answer */
.sit-board-in .sit-say { font-size: clamp(19px, 5vw, 22px); line-height: 1.22; letter-spacing: -0.018em; }
.in-grey .sit-board, .in-grey .sit { border-color: var(--line-2); }
.in-grey .sit .pm { background: #fff; }
.in-grey details[open] > summary .pm { background: var(--ink); }
@media (min-width: 1080px) {
  .sit-board-in .sit-say { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.2; }
  .sit-board-in .sit summary { min-height: 62px; padding: 12px 0; }
  .sit-board-in .sit-ans { bottom: auto; grid-template-rows: auto; align-items: start; padding: clamp(24px, 2.4vw, 36px); }
  .sit-board-in .sit-ans p { font-size: clamp(18px, 1.32vw, 20px); line-height: 1.34; }
  .sit-board-in { min-height: 0; }
  .in-grey .sit-board-in .sit-ans { background: #fff; }
}

/* a narrow desktop: the heading goes above the board, so its answer panel keeps a readable width */
@media (min-width: 1080px) and (max-width: 1279px) { .split:has(.sit-board-in) { display: block; } .split:has(.sit-board-in) > .in-h { position: static; margin-bottom: 28px; } }

/* timeline + staged payment */
.deal { display: grid; gap: clamp(36px, 4vw, 56px); }
.deal-time, .deal-pay { display: grid; gap: 14px; align-content: start; min-width: 0; }
.deal-figs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 28px; }
.deal-fig .fig { font-size: clamp(64px, 8vw, 112px); line-height: .9; }
.deal-fig .fig-unit { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; }
.deal-fig.is-2 { color: var(--ink-3); }
.deal-fig.is-2 .fig { font-size: clamp(36px, 4vw, 56px); }
.deal-note { color: var(--ink-2); max-width: 50ch; text-wrap: pretty; }
.deal-h2 { margin-bottom: 4px; }
.deal-local { display: grid; gap: 14px; padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.deal-local h3 { font-size: clamp(18px, 1.4vw, 21px); font-weight: 600; color: var(--ink); }
@media (min-width: 1080px) { .deal { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 96px; } .deal-local { grid-column: 1 / -1; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 96px; align-items: start; } }

/* payment track: each stage sits under its own segment (phone: a vertical ledger) */
.pay-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.pay-track li { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; column-gap: 8px; min-height: 58px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.pay-line { display: none; }
.pay-track b { font-size: 34px; line-height: 1; font-weight: 640; color: var(--ink); }
.pay-track span { color: var(--ink-2); font-size: 16px; line-height: 1.35; text-wrap: pretty; }
.pay-track li.on span { color: var(--ink); font-weight: 560; }
@media (min-width: 760px) {
  /* the line is exactly 1 : 2 : 3 : 4; the stages sit under it in four equal columns, each with its own percentage */
  .pay-line { display: flex; gap: 6px; margin-bottom: 20px; }
  .pay-line i { flex: var(--w) 1 0; height: 36px; border-radius: 8px; background: rgba(14,15,18,.1); }
  .in-grey .pay-line i { background: rgba(14,15,18,.12); }
  .pay-line i.on { background: var(--ink); }
  .pay-track { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; border-top: 0; }
  .pay-track li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0; border-bottom: 0; min-height: 0; }
  .pay-track b { font-size: clamp(30px, 2.8vw, 42px); }
  .pay-track span { font-size: 15px; }
}

/* index with a sticky phone: pointing at a row shows that App */
.caps-list.ix-list { border-top-color: var(--line); }
.ix-list li { border-bottom-color: var(--line); }
.ix-list .cap-ico { background: var(--studio); }
.ix-stage { display: none; }
@media (min-width: 1080px) {
  .ix { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: clamp(48px, 6vw, 96px); align-items: start; }
  .ix-list a { min-height: 92px; }
  .ix-list .cap-t b { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.022em; }
  .ix-stage { position: sticky; top: 104px; display: grid; justify-items: center; padding-bottom: 24px; }
  .ix-stage::before { content: ""; position: absolute; left: 50%; width: 520px; height: 240px; bottom: -40px; translate: -50% 0; background: radial-gradient(closest-side, color-mix(in oklab, var(--app) 30%, transparent), transparent); filter: blur(12px); opacity: .55; pointer-events: none; }
  .ix-stage .device { --dw: 300px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 3px #050506, 0 1px 1px rgba(14,15,18,.12), 0 24px 40px -18px rgba(14,15,18,.42), 0 60px 90px -40px rgba(14,15,18,.38); }
  .ix-stage [data-ix-screen] { transition: opacity .18s; }
  .ix-stage [data-ix-screen].is-swapping { opacity: 0; }
  .ix-list li.is-on .cap-ico { background: var(--ink); color: #fff; }
  .ix-list li.is-on .cap-go { color: var(--ink); transform: translateX(4px); }
}

/* the way on: quiet lists of links */
.next-grid { display: grid; gap: 36px; }
.next-col { min-width: 0; }
.next-col h3 { font-size: clamp(20px, 1.7vw, 25px); margin-bottom: 12px; }
.go-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.go-list li { border-bottom: 1px solid var(--line-2); }
.go-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 7px 0; font-weight: 540; line-height: 1.25; }
.go-list .ico { width: 18px; height: 18px; color: var(--ink-3); transition: transform .35s var(--ease), color .2s; }
@media (hover: hover) { .go-list a:hover .ico { transform: translateX(4px); color: var(--ink); } }
@media (hover: hover) { .go-list a:hover span { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; } }
.in-next:not(.in-grey) .go-list, .in-next:not(.in-grey) .go-list li { border-color: var(--line); }
@media (min-width: 900px) { .next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 96px); } .next-col:only-child { grid-column: 1 / -1; } }

.go-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.go-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; font-weight: 540; line-height: 1.25; transition: box-shadow .2s; }
@media (hover: hover) { .go-chips a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
/* phone: secondary links stay one row, so they never push the final action down */
@media (max-width: 759px) {
  .go-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-block: -6px; padding-block: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .go-chips::-webkit-scrollbar { display: none; }
  .go-chips li { flex: none; }
}
.in-next { padding-block: clamp(40px, 4.6vw, 68px); }

/* definition rows */
.defs { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.defs li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.defs h3 { font-size: clamp(19px, 1.5vw, 22px); }
.defs p { color: var(--ink-2); font-size: 16px; line-height: 1.45; max-width: 52ch; text-wrap: pretty; }
@media (min-width: 760px) { .defs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } .defs li { padding: 20px 0; align-content: start; } }

.feats { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line-2); }
.feats li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-weight: 520; line-height: 1.35; }
.feats .ico { width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.2; color: var(--ink); }
@media (min-width: 620px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1280px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.local { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.local li { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 13px 6px 10px; border-radius: 99px; background: var(--studio); font-weight: 540; font-size: 14.5px; line-height: 1.25; }
.in-grey .local li { background: #fff; }
.local .ico { width: 16px; height: 16px; color: var(--ink); stroke-width: 2.2; }
.tags-lg li { padding: 7px 14px; font-size: 15px; }
.in-grey .tags-lg li { background: #fff; }
.cases-none { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 16px; color: var(--ink-3); font-size: 16px; }

/* FAQ head with link */
.faq-head { display: grid; gap: 14px; align-content: start; }
.faq-more { display: flex; flex-wrap: wrap; gap: 6px 24px; }
@media (min-width: 1080px) { .faq-grid .faq-head { position: sticky; top: 120px; } .faq-grid .faq-head h2 { position: static; } }
.inner .faq { padding-bottom: clamp(56px, 7vw, 108px); }
.inner .faq-grid { padding-top: clamp(56px, 7vw, 108px); }
.inner .faq-grid h2 { font-size: clamp(28px, 3.3vw, 46px); }

/* FAQ page: questions by topic */
.inner .faq-topics { padding-top: clamp(24px, 3vw, 48px); padding-bottom: clamp(56px, 7vw, 108px); }
.faq-layout { display: grid; gap: 8px; }
.faq-nav { position: sticky; top: var(--hdr); z-index: 5; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter); background: rgba(255,255,255,.94); overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.faq-nav::-webkit-scrollbar { display: none; }
.faq-nav ul { list-style: none; margin: 0; padding: 0 28px 0 0; display: flex; gap: 6px; width: max-content; }
.faq-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 99px; background: var(--studio); font-size: 14.5px; font-weight: 560; white-space: nowrap; transition: background-color .2s; }
@media (hover: hover) { .faq-nav a:hover { background: var(--studio-2); } }
.faq-nav .fig { font-size: 15px; color: var(--ink-3); font-stretch: 80%; letter-spacing: 0; }
.faq-groups { display: grid; gap: clamp(36px, 4vw, 56px); padding-top: 18px; min-width: 0; }
/* adds up with html's scroll-padding: only the sticky topic row is counted here */
.faq-group { scroll-margin-top: 52px; }
.faq-group h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -0.028em; margin-bottom: 14px; }
@media (min-width: 1080px) {
  .faq-layout { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .faq-nav { top: 112px; margin: 0; padding: 0; background: transparent; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .faq-nav ul { display: grid; gap: 0; width: auto; padding: 0; border-top: 1px solid var(--line); }
  .faq-nav li { border-bottom: 1px solid var(--line); }
  .faq-nav a { display: flex; justify-content: space-between; min-height: 56px; padding: 0; border-radius: 0; background: transparent; font-size: 19px; font-weight: 580; letter-spacing: -0.012em; white-space: normal; }
  @media (hover: hover) { .faq-nav a:hover { background: transparent; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; } }
  .faq-groups { padding-top: 0; }
  .faq-group { scroll-margin-top: 12px; }
}

/* work grid: the portfolio. A stage per App, ready for real screenshots and store links */
.in-work { padding-top: clamp(28px, 3.4vw, 48px); }
.filters { display: grid; gap: 8px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.filter-row { display: flex; gap: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row .chip { height: 44px; padding: 0 14px; font-size: 14.5px; }
.filter-plat .chip { font-size: 14px; }
.filter-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 16px; padding: 24px 0; color: var(--ink-2); }
.filter-empty[hidden] { display: none; }
button.link { padding: 0; border: 0; background: none; cursor: pointer; }
.js .filters[hidden] { display: grid; }
.work-item[hidden] { display: none !important; }
@media (min-width: 900px) { .filters { grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: start; } .filter-row { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; } }

.work-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.work-grid .work-item { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--studio); box-shadow: none; scroll-snap-align: none; }
.work-grid .work-stage { position: relative; height: clamp(270px, 74vw, 340px); padding-top: 28px; display: grid; justify-items: center; align-items: start; overflow: hidden; background: radial-gradient(90% 74% at 50% 100%, color-mix(in oklab, var(--app) 20%, #fff) 0%, rgba(255,255,255,0) 72%), linear-gradient(180deg, #F2F2EF, #F7F7F4); }
.work-grid .device-sm { --dw: clamp(186px, 54vw, 232px); grid-area: 1 / 1; }
.work-grid .work-meta { padding: 18px 20px 20px; gap: 10px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.work-grid .work-id h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.024em; }
.work-grid .work-id p { font-size: 15px; }
.work-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.work-link:focus-visible { outline: none; }
.work-link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: -2px; }
.work-links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.store { background: var(--studio); border-color: #8A8E96; color: var(--ink); transition: background-color .2s, border-color .2s; }
@media (hover: hover) { .store:hover { background: var(--studio-2); border-color: var(--ink); } }
.work-links-lg .store { height: 48px; padding: 0 18px; font-size: 16px; background: #fff; }
.work-item.is-real .work-stage .device { transition: transform .9s var(--ease); }
@media (hover: hover) { .work-item.is-real:hover .work-stage .device:not(.is-side) { transform: translateY(-8px); } }
/* three real screenshots: the first in front, two at its sides */
.work-stage.has-three .device { z-index: 2; }
.work-stage.has-three .is-side { z-index: 1; filter: saturate(.92); }
.work-stage.has-three .is-side-1 { transform: translate(-58%, 26px) rotate(-5deg) scale(.86); }
.work-stage.has-three .is-side-2 { transform: translate(58%, 26px) rotate(5deg) scale(.86); }
@media (hover: hover) { .work-item.is-real:hover .work-stage.has-three .is-side-1 { transform: translate(-63%, 20px) rotate(-6deg) scale(.86); } }
@media (hover: hover) { .work-item.is-real:hover .work-stage.has-three .is-side-2 { transform: translate(63%, 20px) rotate(6deg) scale(.86); } }
.work-stage img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .work-grid { gap: 20px; }
  .work-grid .work-stage { height: clamp(420px, 36vw, 540px); padding-top: 48px; }
  .work-grid .device-sm { --dw: clamp(240px, 21vw, 300px); }
  .work-grid .work-meta { padding: 22px 26px 24px; }
}
.work-grid-sm .work-stage { height: 280px !important; padding-top: 28px !important; }
.work-grid-sm .device-sm { --dw: 200px !important; }
.nda .in-h { margin-bottom: clamp(18px, 2.4vw, 28px); }
@media (min-width: 1080px) { .nda .in-h { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; column-gap: 72px; } .nda .in-lead { justify-self: end; } }

/* case page */
.case-ico { width: 72px; height: 72px; margin-bottom: 18px; border-radius: 20px; font-size: 34px; }
@media (min-width: 1080px) { .ph-wide .case-ico { grid-column: 1; grid-row: 2; } .ph-wide .ph-main:has(.case-ico) .ph-h1 { grid-row: 3 / span 4; } }
.ph .work-links { margin-top: 4px; }
.in-shots { padding: clamp(32px, 4vw, 56px) 0; overflow: hidden; }
.shots { --dw: min(62vw, 250px); list-style: none; margin: 0; padding: 12px max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter))) 28px; display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots li { flex: none; scroll-snap-align: start; }
.shots:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 12px; }
.device-shot { width: var(--dw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 2px #050506, 0 1px 1px rgba(14,15,18,.12), 0 20px 34px -18px rgba(14,15,18,.42); }
.device-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 1080px) { .shots { --dw: clamp(220px, 18vw, 264px); justify-content: safe center; } }
/* a web or tablet screenshot: its own proportions, no phone around it */
.shot-plain { aspect-ratio: var(--ar); overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 20px 34px -18px rgba(14,15,18,.32); }
.shot-plain img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shots .shot-plain { width: min(86vw, 720px); }
.work-stage .shot-plain { grid-area: 1 / 1; width: min(84%, 420px); }
.case-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; border-top: 1px solid var(--line); }
.case-facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.case-facts dt { font-size: 13.5px; color: var(--ink-3); }
.case-facts dd { margin: 4px 0 0; font-weight: 580; line-height: 1.3; overflow-wrap: anywhere; }
.case-facts a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
@media (min-width: 760px) { .case-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); column-gap: 28px; } }
.story { display: grid; border-top: 1px solid var(--line); }
.story-row { display: grid; gap: 8px; padding: clamp(20px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--line); }
.story-row h3 { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.024em; }
.story-row p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
@media (min-width: 900px) { .story-row { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); column-gap: 64px; } }

/* pricing: types of project as a table of rows */
.ptable { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ptype { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ptype h3 { font-size: clamp(21px, 1.9vw, 28px); letter-spacing: -0.022em; font-weight: 620; }
.ptype-time { font-size: 15px; font-weight: 600; text-align: right; line-height: 1.2; }
.ptype-time .fig { font-size: 26px; }
.ptime { white-space: nowrap; }
.ptime-l { display: block; }
.ptype-d { grid-column: 1 / -1; color: var(--ink-2); font-size: 16px; line-height: 1.45; max-width: 58ch; text-wrap: pretty; }
.ptype-price { grid-column: 1 / -1; font-weight: 600; }
@media (max-width: 459px) { .ptype { grid-template-columns: minmax(0, 1fr); } .ptype-time { text-align: left; } }
@media (min-width: 900px) {
  .ptype { grid-template-columns: minmax(0, .72fr) minmax(0, .8fr) minmax(0, 1fr); column-gap: 24px; align-items: center; padding: 22px 0; }
  .ptype-time { text-align: left; font-size: 16px; line-height: 1.3; }
  .ptype-time .fig { font-size: clamp(26px, 2.2vw, 32px); }
  .ptype-d { grid-column: auto; }
}

/* about */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stats li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stats b { font-size: clamp(58px, 16vw, 72px); line-height: .9; min-width: 2.1ch; }
.stats span { color: var(--ink-2); font-size: 16px; line-height: 1.35; text-wrap: pretty; }
.stats .is-main span { color: var(--ink); font-weight: 560; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } .stats li { padding: 22px 0; } .stats b { font-size: clamp(72px, 7.4vw, 112px); } .stats span { font-size: 17px; } }
.prin-in { margin-top: 0; }
.prin-in li { padding: 18px 0; }
.prin-in h3 { font-size: clamp(21px, 2vw, 28px); line-height: 1.16; letter-spacing: -0.024em; }
@media (min-width: 900px) { .prin-in { column-gap: 40px; } .prin-in li { padding: 22px 0; align-content: start; } }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line-2); }
.team li { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.team p { color: var(--ink-2); font-size: 16px; }
.in-geo { margin-top: 20px; color: var(--ink-2); max-width: 54ch; }
.in-geo b { display: block; font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.ig-list-1 { grid-template-columns: minmax(0, 1fr) !important; border-top-color: var(--line-2); }
.ig-list-1 .ig { border-bottom-color: var(--line-2); }

/* about: the five stages as one journey in the dark room */
.proc-plain .sec-h { margin-bottom: clamp(24px, 3.4vw, 48px); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; }
.journey li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; padding: 16px 0; border-top: 1px solid var(--dark-line); }
.jr-n { grid-row: 1 / span 3; font-size: 28px; line-height: 1; color: var(--on-dark-2); }
.journey h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.024em; }
.journey p { margin-top: 4px; color: var(--on-dark-2); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.journey dl { margin: 10px 0 0; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.35; }
.journey dl div { display: grid; grid-template-columns: minmax(84px, auto) minmax(0, 1fr); gap: 10px; }
.journey dt { color: var(--on-dark-2); }
.journey dd { margin: 0; font-weight: 560; color: var(--on-dark); }
@media (min-width: 1080px) {
  .journey { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 20px; }
  .journey { grid-template-rows: repeat(4, auto); }
  .journey li { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; padding: 18px 0 0; }
  .journey li > * { grid-column: 1; grid-row: auto; }
  .jr-n { font-size: 40px; margin-bottom: 18px; }
  .journey dl { margin-top: 0; padding-top: 16px; align-content: start; }
  .journey dl div { grid-template-columns: minmax(0, 1fr); gap: 1px; }
}

/* contacts: the chat first, the numbers beside it */
/* the chat is this page's main action: a compact head brings its first question onto the first screen */
.in-contact { padding-top: 16px; }
.ph:has(+ .in-contact) { padding-bottom: 18px; }
.ph:has(+ .in-contact) .ph-h1 { font-size: clamp(25px, 6.9vw, 34px); letter-spacing: -.03em; }
@media (min-width: 1080px) { .ph.ph-wide:has(+ .in-contact) .ph-h1 { font-size: clamp(34px, 3.1vw, 44px); line-height: 1.04; } }
.ph:has(+ .in-contact) .ph-a1 { font-size: 16px; line-height: 1.4; margin-bottom: 0; }
.ph:has(+ .in-contact) .ph-a2 { display: none; }
@media (min-width: 1080px) { .ph:has(+ .in-contact) { padding-bottom: 44px; } .in-contact { padding-top: 36px; } } /* desktop: the H1 gets air before the chat card */
.contact-grid { display: grid; gap: 36px; }
.contact-chat { min-width: 0; }
.contact-side { display: grid; gap: 22px; align-content: start; min-width: 0; }
.ch-group h3 { font-size: 14px; font-weight: 560; letter-spacing: 0; color: var(--ink-3); margin-bottom: 6px; }
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.channels a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.channels .ico { width: 22px; height: 22px; flex: none; }
.channels b + .ico { width: 18px; height: 18px; margin-left: auto; color: var(--ink-3); transition: transform .3s var(--ease), color .2s; }
@media (hover: hover) { .channels a:hover b + .ico { transform: translate(2px, -2px); color: var(--ink); } }
.channels b { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -0.014em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (hover: hover) { .channels a:hover b { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: clamp(48px, 6vw, 96px); align-items: start; } .contact-side { position: sticky; top: 104px; } }
form.lead, section.lead { display: grid; gap: 14px; padding: 28px 24px; border-radius: var(--r-lg); background: var(--studio); }

/* blog */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.posts a { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.posts p { color: var(--ink-2); max-width: 70ch; }
.posts time { font-size: 14px; color: var(--ink-3); }
.h-sm { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.024em; font-weight: 620; }
.article { max-width: 760px; font-size: 18px; line-height: 1.65; }
.article h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 48px 0 14px; }
.article h3 { margin: 32px 0 10px; }
.article p, .article ul, .article ol, .article .table-wrap { margin: 0 0 18px; }
.article a { text-decoration: underline; text-underline-offset: 4px; }
.table-wrap { overflow-x: auto; }
.article table { border-collapse: collapse; width: 100%; font-size: 16px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.byline { margin-top: 22px; color: var(--ink-2); }

/* inner-page CTA: the same dark room with one lit button */
.cta-page { padding: clamp(72px, 9vw, 128px) 0; }
.cta-page h2 { font-size: clamp(44px, 7vw, 104px); }
@media (hover: hover) { .link-on-dark:hover { text-decoration-color: currentColor; } }
.cta-page .cta-actions { margin-top: 6px; }
@media (min-width: 1080px) { .cta-page .cta-lead { grid-column: 1 / -1; } }

.inds .sec-h { margin-bottom: clamp(28px, 4vw, 52px); }

/* footer with columns */
.ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.ftr-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); align-items: start; } .ftr-brand { grid-column: auto; } }
.ftr-t { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.ftr-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ftr-col a { display: inline-flex; align-items: center; min-height: 40px; padding-block: 5px; line-height: 1.3; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
/* a finger needs 44 px: footer links, FAQ topics and answer links grow on touch screens only */
@media (pointer: coarse) { .ftr-col a, .faq-nav a, .sit-ans .link { min-height: 44px; } }
@media (hover: hover) { .ftr-col a:hover { color: var(--ink); } }
@media (max-width: 759px) { .ftr-col a { display: block; min-height: 0; padding-block: 11px; } }
.ftr-langs { margin-top: 28px; }
.ftr-langs a { display: inline-flex; align-items: center; min-height: 44px; }

/* nav: current page */
.nav a[aria-current] { color: var(--ink); background: var(--studio); }
.sheet-menu-nav a[aria-current] { color: var(--ink); }
@media (min-width: 1080px) and (max-width: 1279px) { .nav a { padding: 8px 10px; font-size: 15px; } .hdr-in { gap: 16px; } }

/* root: language choice, the first thing on the studio backdrop */
.root { min-height: 100svh; background: var(--backdrop); }
.root-main { display: grid; align-content: start; gap: clamp(28px, 5vh, 56px); min-height: 100svh; padding-top: clamp(16px, 3vh, 32px); padding-bottom: 40px; }
.root-brand { justify-self: start; }
.root-grid { display: grid; gap: 24px; align-self: center; }
.root-h1 { font-size: clamp(46px, 13vw, 124px); line-height: .92; letter-spacing: -0.046em; font-weight: 680; word-spacing: .07em; }
.root-loc { margin-top: 14px; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; max-width: 30ch; }
.root-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.root-list li { border-bottom: 1px solid var(--line-2); }
.root-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; min-height: 76px; padding: 12px 0; }
.root-card b { font-size: clamp(25px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 640; transition: transform .4s var(--ease); }
.root-card span { grid-column: 1; margin-top: 2px; color: var(--ink-2); font-size: 15px; line-height: 1.35; }
.root-card .ico { grid-column: 2; grid-row: 1 / span 2; width: 24px; height: 24px; color: var(--ink-3); transition: transform .4s var(--ease), color .2s; }
@media (hover: hover) { .root-card:hover b { transform: translateX(4px); } }
@media (hover: hover) { .root-card:hover .ico { transform: translateX(4px); color: var(--ink); } }
.root-about { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.root-lead { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); max-width: 64ch; }
.root-tel { grid-column: 1 / -1; font-size: 15px; font-weight: 560; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.root-tel a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
@media (hover: hover) { .root-tel a:hover { color: var(--ink); text-decoration-color: currentColor; } }
@media (min-width: 1000px) {
  .root-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 96px); align-items: center; }
  .root-h1 { font-size: clamp(72px, 7.8vw, 124px); }
  .root-about { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; align-self: end; }
}

/* 404: a screen that has not been built yet */
.nf { background: var(--backdrop); }
.nf-main { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; gap: 20px; padding-top: 16px; padding-bottom: 28px; }
.nf-main > .brand { justify-self: start; }
.nf-grid { display: grid; gap: 28px; align-items: center; min-width: 0; }
.nf-copy { display: grid; gap: 12px; justify-items: start; }
.nf-copy .btn { margin-top: 8px; }
.nf-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 20px; }
.nf-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 560; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
@media (hover: hover) { .nf-links a:hover { text-decoration-color: currentColor; } }
.nf-stage { display: none; }
.nf-screen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 4cqw; padding: 24cqw 8cqw 8cqw; background: #fff; }
.nf-sk { display: block; height: 4.4cqw; width: 78%; border-radius: 99px; background: var(--studio-2); }
.nf-sk-t { height: 7cqw; width: 58%; background: var(--line-2); }
.nf-sk-s { width: 46%; }
.nf-sk-b { margin-top: auto; height: 13cqw; width: 100%; border-radius: 4cqw; }
.nf-frame { flex: 1; min-height: 0; margin-block: 3cqw; border-radius: 6cqw; border: 1.5px dashed var(--line-2); background: var(--studio); }
.nf-langs { color: var(--ink-3); font-size: 15px; }
.nf-langs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.nf-langs a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
@media (min-width: 900px) {
  .nf-grid { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(48px, 7vw, 120px); }
  .nf-stage { display: block; --dw: clamp(240px, min(24vw, calc((100svh - 190px) * .46)), 320px); }
}

/* ---------- portfolio (docs/PORTFOLIO-SPEC.md): real icons and screens; client colours only in icons, phones and the floor glow ---------- */
.pf-bar { position: sticky; top: var(--hdr); z-index: 20; padding: 10px 0; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pf-bar:has(.pf-filter[hidden]) { display: none; }
.js .pf-bar:has(.pf-filter[hidden]) { display: block; }
.pf-filter { margin-block: 0; } /* only block: the inline margin is the full-bleed scroller from .filter-row */
.js .pf-filter[hidden] { display: flex; }
.pf [data-work-item][hidden], .pf [data-soon-item][hidden], .pf[hidden] { display: none !important; }
.pf-sec-h { display: grid; gap: 10px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.pf-sec-h h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
@media (min-width: 1080px) { .pf-sec-h { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; column-gap: 72px; } .pf-sec-h .in-lead { justify-self: end; } }

/* the App icon: our own copy, the store's rounded square */
.pf-ico { flex: none; width: 60px; height: 60px; border-radius: 22.4%; object-fit: cover; box-shadow: 0 0 0 1px rgba(14,15,18,.08), 0 6px 14px -8px rgba(14,15,18,.35); background: #fff; }
.pf-ico.is-letter, .pf-ico.is-lock { display: grid; place-items: center; font-size: 26px; font-weight: 680; color: #fff; background: var(--ink); }
.pf-ico.is-lock { color: var(--ink-2); background: var(--studio-2); box-shadow: none; }
.pf-ico.is-lock .ico { width: 24px; height: 24px; }
.pf-ico.is-xl { width: 104px; height: 104px; font-size: 44px; }

/* text block shared by flagships, rows and soon cards */
.pf-txt { display: grid; gap: 6px; min-width: 0; align-content: start; }
.pf-txt h3 { font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -0.022em; line-height: 1.15; }
.pf-parts { margin-left: 6px; font-size: 13px; font-weight: 560; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.pf-head { font-size: 15.5px; line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }
.pf-facts { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; font-weight: 560; color: var(--ink-3); }
.pf-facts span + span::before { content: "·"; margin: 0 7px; }
.pf-plat { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; font-size: 13.5px; font-weight: 560; color: var(--ink-3); }
.pf-plat .badge { border-style: solid; }
.pf-note { color: var(--ink-3); }
.pf-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pf-link:focus-visible { outline: none; }
.pf-link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: -2px; }

/* store marks: icon-only in lists (44px tap area), a labelled button on a project page */
.pf-stores { position: relative; z-index: 2; display: inline-flex; flex-wrap: wrap; gap: 2px; margin: -10px -10px -10px 0; }
.pf-store { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink-2); transition: background-color .2s, color .2s; }
@media (hover: hover) { .pf-store:hover { background: var(--studio); color: var(--ink); } }
.pf-store .ico { width: 20px; height: 20px; }
.pf-stores.is-big { margin: 0; gap: 8px; }
.pf-stores.is-big .pf-store { display: inline-flex; gap: 8px; width: auto; height: 48px; padding: 0 16px; border: 1px solid #8A8E96; border-radius: 99px; background: var(--studio); color: var(--ink); font-size: 15.5px; font-weight: 560; }
@media (hover: hover) { .pf-stores.is-big .pf-store:hover { border-color: var(--ink); background: var(--studio-2); } }
.pf-stores.is-big .ico + span + .ico { width: 16px; height: 16px; }

/* stage: a studio floor, the client's colour only as a soft glow under the phones */
.pf-stage { position: relative; height: 320px; overflow: hidden; display: grid; justify-items: center; align-items: start; padding-top: 30px; background: radial-gradient(80% 70% at 50% 100%, color-mix(in oklab, var(--glow, #D9D9D4) 24%, #fff) 0%, rgba(255,255,255,0) 72%), linear-gradient(180deg, #F2F2EF, #F7F7F4); }
.pf-stage > * { grid-area: 1 / 1; }
.pf-stage .stage-floor { top: auto; }
.pf-stage .device-shot, .pf-stage .shot-promo { --dw: 140px; }
.pf-stage .is-front { z-index: 2; transition: transform .9s var(--ease); }
.pf-stage .is-side { z-index: 1; --dw: 112px; margin-top: 34px; }
.pf-stage .is-side-1 { transform: translateX(-82%) rotate(-5deg); }
.pf-stage .is-side-2 { transform: translateX(82%) rotate(5deg); }
.shot-promo { width: var(--dw); aspect-ratio: var(--ar, 9 / 19.5); overflow: hidden; border-radius: calc(var(--dw) * .12); background: #fff; box-shadow: 0 0 0 1px rgba(14,15,18,.08), 0 20px 34px -18px rgba(14,15,18,.42); }
.shot-promo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-browser { width: 100%; overflow: hidden; border-radius: 12px; background: var(--ph, #fff); box-shadow: 0 0 0 1px var(--line), 0 22px 40px -22px rgba(14,15,18,.4); }
.sb-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #F4F4F1; border-bottom: 1px solid var(--line); }
.sb-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.sb-bar b { margin-left: 10px; font-size: 11.5px; font-weight: 560; color: var(--ink-3); letter-spacing: .01em; }
.shot-browser img { display: block; width: 100%; height: auto; }
.pf-stage.is-combo { justify-items: start; padding: 26px 18px 0; }
.pf-stage.is-combo .shot-browser { width: 290px; max-width: 86%; }
.pf-stage.is-combo .is-front { --dw: 104px; justify-self: end; margin: 58px 6px 0 0; }
.pf-stage.is-empty { align-items: center; padding-top: 0; }

/* flagships: four wide cards with real screens */
.pf-flags { list-style: none; margin: 0 0 clamp(20px, 3vw, 36px); padding: 0; display: grid; gap: 16px; }
.pf-flag { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pf-meta { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 18px 20px 20px; }
@media (hover: hover) { .pf-flag:hover .is-front { transform: translateY(-8px); } }
@media (min-width: 760px) {
  .pf-flags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .pf-stage { height: 440px; padding-top: 40px; }
  .pf-stage .device-shot, .pf-stage .shot-promo { --dw: 196px; }
  .pf-stage .is-side { --dw: 160px; margin-top: 44px; }
  .pf-stage.is-combo { padding: 34px 28px 0; }
  .pf-stage.is-combo .shot-browser { width: 520px; max-width: 84%; }
  .pf-stage.is-combo .is-front { --dw: 150px; margin: 96px 10px 0 0; }
  .pf-meta { padding: 22px 26px 26px; gap: 18px; }
}

/* index rows: icon, name, one line; two columns on wide screens */
.pf-rows { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.pf-row { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.pf-go { align-self: center; color: var(--ink-3); transition: transform .3s var(--ease), color .2s; }
@media (hover: hover) { .pf-row:not(.is-static):hover .pf-go { color: var(--ink); transform: translateX(4px); } }
@media (hover: hover) { .pf-row:not(.is-static):hover h3 a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; } }
@media (min-width: 1080px) { .pf-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 0; } .pf-row { padding: 22px 0; } .pf-rows > .pf-row:nth-child(-n+2) { border-top: 1px solid var(--line); } }

/* NDA rows reuse .nda-row; the meta line carries sector, market and the lock */
.nda-sol { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.nda-rows .nda-row[hidden] { display: none; }
/* whose screens stand in the services/industries index phone */
.ix-cap { position: relative; z-index: 2; margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.ix-cap b { font-weight: 640; color: var(--ink); }
/* NDA screens stand in the same phones as every other project, on a white card in the grey section */
.nda-stage { margin-top: 18px; border-radius: var(--r-lg); height: 300px; background: linear-gradient(180deg, #fff, #F8F8F6); box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 760px) { .nda-stage { height: 380px; } }
@media (min-width: 1080px) { .nda-stage { margin-top: 0; } }
@media (min-width: 1080px) { .pf .nda-row { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: 48px; align-items: center; } }

/* coming soon: design mockups, plainly labelled */
.pf-soons { list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.pf-soons::-webkit-scrollbar { display: none; }
.pf-soon { position: relative; scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pf-soon .pf-stage { height: 300px; }
.pf-soon .pf-stage .device-shot, .pf-soon .pf-stage .shot-promo { --dw: 128px; }
.pf-soon .pf-stage .is-side { --dw: 108px; }
.pf-soon .pf-stage .is-side-1 { transform: translateX(-62%) rotate(-5deg); }
.pf-soon .pf-stage .is-front { transform: translateX(26%); }
.pf-soon .pf-meta { padding: 18px 18px 20px; }
@media (min-width: 900px) { .pf-soons { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; overflow: visible; } .pf-soon .pf-stage { height: 380px; } .pf-soon .pf-stage .device-shot, .pf-soon .pf-stage .shot-promo { --dw: 160px; } .pf-soon .pf-stage .is-side { --dw: 130px; } }

/* project page: facts line under the answer, screens by part, what we built, next project */
.case-ico { width: 72px; height: 72px; margin-bottom: 18px; }
.case-line { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.case-line div { display: grid; gap: 2px; min-width: 0; }
.case-line dt { font-size: 13px; color: var(--ink-3); }
.case-line dd { margin: 0; font-size: 15.5px; font-weight: 580; line-height: 1.3; }
.case-line a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
/* short text links get a 44 px tall touch area without moving the text around them */
.case-line a, .hs-nda a, .sc-cap-t a { position: relative; }
.case-line a::after, .hs-nda a::after, .sc-cap-t a::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; translate: 0 -50%; }
.ph-extra .pf-stores.is-big { margin-top: 18px; }
.in-shots .wrap { display: grid; gap: clamp(28px, 4vw, 48px); }
.shots-group { display: grid; gap: 16px; min-width: 0; }
.shots-h { display: grid; gap: 4px; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; }
.shots-h small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.in-shots .shots { margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 24px; }
.in-shots .shots .shot-promo, .in-shots .shots .device-shot { --dw: min(62vw, 242px); }
.shots-web { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.shots-web li { max-width: 1080px; }
@media (max-width: 1079.98px) { .shots-group.has-web .shots { justify-content: center; } } /* a lone phone under the browser windows stands in the middle */
@media (min-width: 1080px) {
  .in-shots .shots { margin: 0; padding: 4px 0 12px; flex-wrap: wrap; justify-content: flex-start; overflow: visible; scroll-snap-type: none; }
  .in-shots .shots .shot-promo, .in-shots .shots .device-shot { --dw: 228px; }
}
.case-parts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; border-top: 1px solid var(--line); }
.case-parts li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cp-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--studio); color: var(--ink-2); }
.case-parts b { display: block; font-size: 17px; }
.case-parts li > div > span { display: block; font-size: 15px; color: var(--ink-2); } /* only the role line: the store marks and the icon keep their own layout */
.case-parts small { display: block; margin-top: 2px; font-size: 13px; font-weight: 560; color: var(--ink-3); }
.case-parts .pf-stores { margin: 0; }
.case-scope h3 { margin-bottom: 12px; font-size: 17px; }
.case-next .cn-link { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 16px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cn-link small { grid-column: 1 / -1; margin-bottom: 12px; font-size: 13.5px; font-weight: 560; color: var(--ink-3); }
.cn-link .pf-ico { grid-row: 2 / 4; }
.cn-link b { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.024em; }
.cn-link span { grid-column: 2; font-size: 15px; color: var(--ink-2); }
.cn-link .ico { grid-column: 3; grid-row: 2 / 4; transition: transform .3s var(--ease); }
@media (hover: hover) { .cn-link:hover .ico { transform: translateX(4px); } }

/* home: a phone home screen of our real App icons */
.hs-grid { display: grid; gap: 36px; align-items: center; }
.hs-txt { display: grid; gap: 14px; align-content: start; }
.hs-txt h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.032em; line-height: 1.04; text-wrap: balance; }
.hs-nda { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 560; color: var(--ink-2); }
.hs-nda .ico { width: 18px; height: 18px; }
.hs-nda a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.hs-stage { position: relative; display: grid; justify-items: center; padding-bottom: 18px; }
.hs-phone { --dw: min(76vw, 300px); }
.hs-screen { display: grid; grid-template-rows: auto 1fr auto; padding: 0 6% 5%; background: radial-gradient(120% 70% at 20% 0%, #E9EBEF 0%, rgba(233,235,239,0) 60%), linear-gradient(170deg, #F4F4F1 0%, #E6E7E3 100%); }
.hs-bar { display: flex; justify-content: space-between; align-items: center; height: 14cqw; padding: 1cqw 7% 0 10%; font-size: 4.4cqw; font-weight: 640; }
.hs-bar i { width: 7cqw; height: 3.2cqw; border-radius: 1cqw; border: 1px solid currentColor; opacity: .7; }
.hs-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 7cqw 7cqw; padding: 5cqw 3cqw 0; }
.hs-app { display: grid; justify-items: center; gap: 1.6cqw; min-width: 0; }
.hs-app img { width: 100%; aspect-ratio: 1; height: auto; border-radius: 22.4%; box-shadow: 0 0 0 1px rgba(14,15,18,.06), 0 2cqw 4cqw -2cqw rgba(14,15,18,.4); transition: transform .3s var(--ease); }
.hs-app span { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 3.9cqw; font-weight: 560; color: var(--ink-2); }
@media (hover: hover) { .hs-app:hover img { transform: translateY(-2px) scale(1.04); } }
.hs-app:focus-visible { outline: none; }
.hs-app:focus-visible img { outline: 2px solid var(--ink); outline-offset: 2px; }
.hs-dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4cqw; padding: 3.4cqw; border-radius: 9cqw; background: rgba(255,255,255,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
@media (min-width: 900px) { .hs-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } .hs-phone { --dw: 312px; } }
/* iOS-style medium widget across the top row: the project count, in the site's ink, no accent */
.hs-widget { grid-column: 1 / -1; position: relative; display: grid; align-content: end; gap: 1.2cqw; aspect-ratio: 2.15 / 1; padding: 5cqw 5.5cqw; border-radius: 7cqw; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 2cqw 5cqw -3cqw rgba(14,15,18,.25); }
.hs-widget b { font-size: 15cqw; line-height: .9; font-weight: 680; color: var(--ink); }
.hs-widget span { max-width: 32ch; font-size: 3.7cqw; line-height: 1.25; font-weight: 560; color: var(--ink-2); text-wrap: balance; }
.hs-widget i { position: absolute; top: 4.6cqw; left: 5.5cqw; font-style: normal; font-size: 3.2cqw; font-weight: 640; letter-spacing: .01em; color: var(--ink-3); }
/* a label may use half of the gap on each side (two neighbours never meet); long names tighten a little */
.hs-app span { max-width: none; width: calc(100% + 4.4cqw); text-align: center; }
.hs-app span.is-long { letter-spacing: -0.03em; }


/* ---------- portfolio: fixes after the acceptance review (25.11.2026) ---------- */
/* grids never grow wider than their card: long words and badges wrap inside */
.pf-txt { grid-template-columns: minmax(0, 1fr); }
.pf-flag, .pf-soon { grid-template-columns: minmax(0, 1fr); }
.pf-stage { grid-template-columns: minmax(0, 1fr); }
.pf-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pf-badges .badge, .pf-plat .badge { white-space: normal; height: auto; min-height: 24px; padding-block: 3px; border-style: solid; text-align: left; }
.pf-stage.is-combo .shot-browser { width: min(290px, 86%); max-width: none; }
@media (min-width: 760px) { .pf-stage.is-combo .shot-browser { width: min(520px, 84%); } }

/* store marks at the end of the platforms line, in cards and in rows alike; the line sits at the bottom of its text,
   so two rows side by side keep their platforms on one level. When the line is short of room the marks wrap below,
   the platform text never breaks into a column */
.pf-plat { flex-wrap: wrap; }
.pf-plat > span:first-child { min-width: 0; }
.pf-plat .pf-stores { margin-left: auto; flex: none; flex-wrap: nowrap; }
.pf-flag .pf-txt, .pf-row .pf-txt { display: flex; flex-direction: column; }
.pf-row .pf-txt { align-self: stretch; }
.pf-flag .pf-plat, .pf-row .pf-plat { margin-top: auto; padding-top: 6px; }
.pf-side { display: flex; flex-direction: column; align-items: flex-end; align-self: stretch; }
.pf-side .pf-go { align-self: flex-end; margin-top: 2px; }
/* a fact keeps its «·» with the next word: the dot never starts a line */
.pf-facts span { white-space: nowrap; }
@media (min-width: 900px) { .pf-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 0; } .pf-rows > .pf-row:nth-child(-n+2) { border-top: 1px solid var(--line); } }

/* a promo fan: three store frames side by side, nothing hides another one's headline */
.pf-stage.is-promo .is-side { --dw: 96px; margin-top: 30px; }
.pf-stage.is-promo .is-side-1 { transform: translateX(calc(-50% - 70px - 6px)); }
.pf-stage.is-promo .is-side-2 { transform: translateX(calc(50% + 70px + 6px)); }
@media (min-width: 760px) {
  .pf-stage.is-promo .is-side { --dw: 150px; margin-top: 40px; }
  .pf-stage.is-promo .is-side-1 { transform: translateX(calc(-50% - 98px - 10px)); }
  .pf-stage.is-promo .is-side-2 { transform: translateX(calc(50% + 98px + 10px)); }
}

/* a mobile website shot gets a status bar of its own under the Dynamic Island */
.device-shot.has-bar .device-screen { display: flex; flex-direction: column; background: #fff; }
.device-shot.has-bar .device-screen[style*="gradient"] { background-size: 100% 100%; } /* the tones under the drawn status bar while the shot loads */
.device-shot.has-bar .sb-status { background: #fff; }
.sb-status { flex: none; display: flex; justify-content: space-between; align-items: center; height: 10.5%; padding: 2.4% 9% 0 11%; font-size: 4.2cqw; font-weight: 640; color: #0E0F12; }
.sb-status i { width: 7cqw; height: 3.2cqw; border-radius: 1cqw; border: 1px solid currentColor; opacity: .7; }
.device-shot.has-bar img { flex: 1; min-height: 0; height: auto; }

/* NDA rows: tags visible on the grey ground; the lock stays with its line */
.in-grey .tags li { background: #fff; }
.nda-meta { flex-wrap: nowrap; align-items: flex-start; }
.nda-meta .ico { flex: none; margin-top: 2px; }

/* next project: the letter icon stays in the first column */
.cn-link > span:not(.pf-ico) { grid-column: 2; }
.cn-link .pf-ico { grid-column: 1; grid-row: 2 / 4; }

/* project page: facts in an even grid; the icon sits right above the title on wide screens */
.case-line { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
@media (min-width: 760px) { .case-line { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); } } /* five facts fit one row from 760 */
@media (min-width: 1080px) { .ph-wide .case-ico { align-self: end; margin-bottom: 18px; } }
.cp-app { width: 40px; height: 40px; border-radius: 11px; }

/* screens on wide screens: an even grid across the page; a website and its phone version in one row */
@media (min-width: 1080px) {
  .in-shots .shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .in-shots .shots.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .in-shots .shots li { container-type: inline-size; }
  .in-shots .shots li .shot-promo, .in-shots .shots li .device-shot { --dw: 100cqw; }
  .shots-group.has-web { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); column-gap: 28px; align-items: end; }
  .shots-group.has-web .shots-h { grid-column: 1 / -1; }
  .shots-group.has-web .shots { grid-template-columns: minmax(0, 1fr); }
  .shots-web li { max-width: none; }
}

/* sticky market filter: a fade hints that the row scrolls; chips fit 390 */
/* the fade covers only the gutter: when all chips fit nothing fades, when they overflow the one sliding under the edge does */
.pf-bar .filter-row { gap: 5px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--gutter)), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - var(--gutter)), transparent); scroll-padding-inline: var(--gutter); }
@media (max-width: 759.98px) { .pf-bar .chip { height: 44px; padding: 0 12px; font-size: 14.5px; } }
@media (min-width: 900px) { .pf-bar .filter-row { -webkit-mask-image: none; mask-image: none; } }

/* home: a real iOS grid (4 columns), dock icons the size of the grid ones, page dots above the dock */
.hs-apps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5.5cqw 4.6cqw; padding: 4cqw 2.4cqw 0; }
.hs-app span { font-size: 3.2cqw; }
.hs-screen { grid-template-rows: auto 1fr auto auto; }
.hs-dots { display: flex; justify-content: center; gap: 1.8cqw; padding-bottom: 3cqw; }
.hs-dots i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: rgba(14,15,18,.35); }
.hs-dots i + i { background: rgba(14,15,18,.15); }
.hs-dock { gap: 4.6cqw; padding: 3cqw 4.4cqw; }
.hs-more-m { display: none; }
@media (max-width: 899.98px) { .hs-txt .sec-more { display: none; } .hs-more-m { display: block; margin-top: 8px; } }

/* a landscape game: a phone turned on its side, a second frame peeking from behind */
.pf-stage.is-land { align-items: center; padding-top: 34px; }
.device-land { position: relative; width: min(84%, 250px); aspect-ratio: var(--ar, 16 / 9); padding: 6px; border-radius: 22px; background: linear-gradient(155deg, #4a4d55 0%, #17181c 22%, #0c0d10 55%, #24262c 82%, #0a0a0c 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 24px 40px -18px rgba(14,15,18,.5); }
.device-land img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.device-land::after { content: ""; position: absolute; left: 12px; top: 50%; width: 5px; height: 22%; translate: 0 -50%; border-radius: 99px; background: #050506; }
.device-land.is-front { z-index: 2; transform: translate(6%, 14%); }
.device-land.is-back { z-index: 1; transform: translate(-14%, -30%) scale(.86); filter: saturate(.9); }
@media (min-width: 900px) { .device-land { width: min(86%, 330px); } }
/* landscape phones in a card: a little smaller, the back one peeks from the top left */
.device-land { width: min(76%, 236px); }
.device-land.is-front { transform: translate(9%, 20%); }
.device-land.is-back { transform: translate(-13%, -24%) scale(.84); }
@media (min-width: 900px) { .device-land { width: min(74%, 300px); } }.pf-soon .pf-stage .device-land.is-front { transform: translate(9%, 20%); }
.pf-soon .pf-stage .device-land.is-back { transform: translate(-13%, -24%) scale(.84); }
/* ---------- fixes after the second review (25.11.2026) ---------- */
/* crumbs: the slash travels with the next crumb, it never hangs at the end of a line */
.crumbs li:not(:last-child)::after { content: none; }
.crumbs li + li::before { content: "/"; margin: 0 9px; color: var(--line-2); }
/* facts line: when a fact wraps, the dot stays at the end of the first line */
.pf-facts span + span::before { content: none; }
.pf-facts span:not(:last-child)::after { content: "·"; margin: 0 7px; }
/* project facts under the H1: the values of one row start at one height; five fit a row from 760 */
.case-line div { align-content: start; }
@media (min-width: 760px) { .case-line { display: flex; flex-wrap: wrap; gap: 12px 32px; } } /* facts take their natural width: no lone fact on a second row, no long word squeezed */
/* a two-line tag stays a rounded rectangle; a one-line tag still reads as a pill */
.tags li { border-radius: 16px; }
/* one related project spans the row instead of leaving half of it empty */
@media (min-width: 900px) { .pf-rows:has(> .pf-row:only-child) { grid-template-columns: minmax(0, 1fr); } }
/* phone: store marks always on their own line under the platforms, lined up with the text */
@media (max-width: 759.98px) {
  .pf-row .pf-plat .pf-stores, .pf-flag .pf-plat .pf-stores { flex-basis: 100%; margin-left: -10px; }
  .case-parts li { grid-template-columns: 40px minmax(0, 1fr); }
  .case-parts li > .pf-stores { grid-column: 2; margin-left: -10px; }
}
/* the narrowest phones: four market chips fit without a cut */
@media (max-width: 374.98px) { .pf-bar .filter-row { gap: 4px; } .pf-bar .chip { padding: 0 9px; font-size: 14px; } }
/* NDA rows: the scheme gets its own column only where it has room for whole words */
@media (min-width: 1080px) and (max-width: 1279.98px) { .pf .nda-row { grid-template-columns: minmax(0, 1fr); } }
/* home phone: labels readable on a desktop */
@media (min-width: 900px) { .hs-app span { font-size: 3.6cqw; } .hs-app span.is-long { font-size: 3.3cqw; } }
/* footer 900–1199: the brand on its own row, four link columns under it */
@media (min-width: 900px) and (max-width: 1199.98px) { .ftr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; } }
/* tablet: the first screen breathes under the header as on a desktop */
@media (min-width: 760px) and (max-width: 1079.98px) { .ph { padding-top: calc(var(--hdr) + 36px); } .hero { padding-top: calc(var(--hdr) + 32px); } }
/* the second timeline figure says what it is for («Simple app»), aligned on the figures' baseline */
.deal-figs { align-items: last baseline; }
.deal-fig.is-2 { display: inline-block; }
.deal-lbl { display: block; margin: 12px 0 6px; font-size: 14px; line-height: 1.3; font-weight: 560; color: var(--ink-3); }

/* 320 px phones: the four market chips still fit */
@media (max-width: 339.98px) { .pf-bar .filter-row { gap: 3px; } .pf-bar .chip { padding: 0 7px; font-size: 12.5px; } }

/* Lead chat (src/lead/shell.mjs + src/js/lead-chat.js). Tokens from site.css; the company stays ink/white/grey.
   The send button is the only accent in the open chat; Telegram is the second door and stays ink. */
.lc { --lc-main: var(--accent); --lc-main-hover: var(--accent-hover); --lc-main-ink: var(--accent-ink); color: var(--ink); font-family: var(--font); }
html.lc-open { overflow: hidden; }

/* ---------- dialog: bottom sheet on phones, right panel on desktop ---------- */
dialog.lc { position: fixed; inset: auto 0 var(--lc-kb, 0px) 0; width: 100%; max-width: none; height: 92vh; height: min(92dvh, calc(100dvh - var(--lc-kb, 0px) - 8px)); max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; }
dialog.lc:not([open]) { display: none; }
dialog.lc::backdrop { background: rgba(14, 15, 18, .38); }
dialog.lc .lc-panel { height: 100%; border-radius: 24px 24px 0 0; box-shadow: 0 -18px 40px -24px rgba(14, 15, 18, .28), 0 0 0 1px var(--line); }
@media (min-width: 760px) {
  dialog.lc { inset: 12px 12px 12px auto; width: min(420px, calc(100% - 24px)); height: auto; }
  dialog.lc .lc-panel { border-radius: var(--r-lg); box-shadow: 0 24px 60px -24px rgba(14, 15, 18, .45), 0 0 0 1px var(--line); }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.lc[open] .lc-panel { animation: lcUp .5s var(--ease); }
  dialog.lc[open]::backdrop { animation: lcFade .3s ease-out; }
  @media (min-width: 760px) { dialog.lc[open] .lc-panel { animation-name: lcIn; } }
}
@keyframes lcUp { from { transform: translateY(100%); } }
@keyframes lcIn { from { transform: translateX(28px); opacity: 0; } }
@keyframes lcFade { from { opacity: 0; } }

.lc-panel { display: flex; flex-direction: column; min-height: 0; background: var(--bg); overflow: hidden; }

/* ---------- header ---------- */
.lc-hd { position: relative; display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 10px 8px 6px 16px; flex: none; }
@media (min-width: 760px) { dialog.lc .lc-hd { padding-top: 8px; } }
.lc-brand { display: flex; align-items: center; gap: 9px; min-width: 0; margin-right: auto; font-weight: 640; font-size: 17px; letter-spacing: -0.02em; }
.lc-brand .lc-logo { width: 24px; height: auto; flex: none; color: var(--ink); }
.lc-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the name never fits next to the 4 language pills (it was cut to «Launching Ap…»): the logo alone is the brand */
.lc-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lc-h2 { margin-right: auto; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 640; }
.lc-langs { display: flex; flex: none; padding: 2px; border-radius: 99px; background: var(--studio); }
.lc-langs button { min-width: 44px; height: 44px; padding: 0 8px; border: 0; border-radius: 99px; background: transparent; font-size: 14px; font-weight: 560; color: var(--ink-3); cursor: pointer; }
@media (hover: hover) { .lc-langs button:hover { color: var(--ink); } }
.lc-langs button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 15, 18, .1), 0 0 0 1px rgba(14, 15, 18, .04); }
.lc-x { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 99px; background: transparent; color: var(--ink); cursor: pointer; }
@media (hover: hover) { .lc-x:hover { background: var(--studio); } }
.lc-x .ico { width: 22px; height: 22px; }

/* ---------- hot row: always above the questions ---------- */
.lc-hot { flex: none; padding: 10px 16px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--studio); }
.lc-hot-t { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.lc-hot-acts { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 8px; }
.lc-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 99px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; transition: border-color .2s, background-color .2s; }
@media (hover: hover) { .lc-pill:hover { border-color: var(--ink); } }
.lc-pill .ico { width: 18px; height: 18px; }
.lc-pill-main { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) { .lc-pill-main:hover { background: #24262c; border-color: #24262c; } }
/* two team numbers, one under the other: the row stays about as tall as the Telegram pill, so the questions keep their room */
.lc-tels { display: grid; flex: none; justify-items: start; }
.lc-tel { display: inline-flex; align-items: center; min-width: 0; }
.lc-tel-a { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 4px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
@media (max-width: 429px), (pointer: coarse) { .lc-tel-a { min-height: 40px; } }
@media (hover: hover) { .lc-tel-a:hover .lc-num { text-decoration: underline; text-underline-offset: 4px; } }
.lc-tel-a .ico { width: 18px; height: 18px; }
.lc-tel-copy { min-width: 32px; height: 30px; padding: 0 7px; display: grid; place-items: center; border: 0; border-radius: 99px; background: transparent; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 560; white-space: nowrap; cursor: pointer; }
@media (hover: hover) { .lc-tel-copy:hover { color: var(--ink); background: #fff; } }
.lc-tel-copy .ico { width: 16px; height: 16px; }
.lc-num { font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
.lc-copy-phone { display: none; }
@media (pointer: fine) and (min-width: 1024px) { .lc-live .lc-copy-phone { display: grid; } }
@media (max-width: 429px) {
  .lc-hot { padding: 8px 12px; }
  .lc-hot-t { display: none; }
  .lc-hot-acts { margin-top: 0; gap: 6px; }
  .lc-tel-a .ico { display: none; }
  .lc-pill { padding: 0 12px; }
}
.lc:is([data-lc-step="contact"], [data-lc-step^="tg_"], [data-lc-step="sent"], [data-lc-step="status"], [data-lc-step="error"]) .lc-hot .lc-pill-main { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
@media (hover: hover) { .lc:is([data-lc-step="contact"], [data-lc-step^="tg_"], [data-lc-step="sent"], [data-lc-step="status"], [data-lc-step="error"]) .lc-hot .lc-pill-main:hover { background: #fff; border-color: var(--ink); } }
/* on-screen keyboard open (visualViewport): the form gets the room, «Send» stays above the keyboard */
dialog.lc.lc-kb .lc-hot, dialog.lc.lc-kb .lc-prog { display: none; }

/* narrow phones: the two numbers never run past the panel */
@media (max-width: 359.98px) {
  .lc-hot-acts { flex-wrap: wrap; }
  .lc-tels { display: flex; flex-wrap: wrap; gap: 0 12px; }
}
/* ---------- progress ---------- */
.lc-prog { display: flex; align-items: center; gap: 6px; flex: none; padding: 12px 20px 0; }
.lc-prog[hidden] { display: none; }
.lc-prog i { flex: 1; height: 4px; border-radius: 4px; background: var(--studio-2); transition: background-color .3s; }
.lc-prog i.on { background: var(--ink); }
.lc-prog i.half { background: linear-gradient(90deg, var(--ink) 50%, var(--studio-2) 50%); }
.lc-prog span { min-width: 2.6em; text-align: right; font-family: var(--fig); font-stretch: 72%; font-weight: 640; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.lc-prog span.txt { font-family: var(--font); font-stretch: normal; font-weight: 600; font-size: 13.5px; white-space: nowrap; }

/* ---------- conversation ---------- */
.lc-body { position: relative; flex: 1; min-height: 0; overflow-y: auto; overflow-anchor: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px); mask-image: linear-gradient(to bottom, transparent 0, #000 14px); }
.lc-feed { display: grid; gap: 12px; align-content: start; transition: none; }
.lc-blk { display: grid; gap: 10px; min-width: 0; }
#lc-emw:not([hidden]) { display: grid; gap: 10px; }
.lc-feed p { margin: 0; }
.lc-msg { justify-self: start; max-width: 94%; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--studio); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.lc-msg p + p { margin-top: 6px; }
.lc-good { background: #EAF4EE; }
.lc-bad { background: #FBEDEC; }
.lc-ok-t { display: flex; align-items: flex-start; gap: 8px; font-weight: 620; }
.lc-ok-t .ico { width: 20px; height: 20px; margin-top: 2px; color: #1E7A43; }
.lc-ok-t > span { min-width: 0; }
.lc-sent-c { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin-top: 6px; }
.lc-sent-c .lc-chg { min-height: 36px; padding: 0 2px; }
.lc-msg [data-lc-code] { font-family: var(--fig); font-stretch: 72%; font-weight: 640; font-size: 1.1em; letter-spacing: .02em; }
.lc-qa { display: grid; justify-items: end; gap: 4px; }
.lc-qa-q { justify-self: start; font-size: 13.5px; color: var(--ink-3); }
.lc-qa-a { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 2px 8px; }
.lc-ans { padding: 9px 16px; border-radius: 18px 18px 6px 18px; background: var(--ink); color: #fff; font-weight: 560; font-size: 15.5px; }
.lc-chg, .lc-link { min-height: 44px; padding: 0 6px; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 560; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; cursor: pointer; }
@media (hover: hover) { .lc-chg:hover, .lc-link:hover { color: var(--ink); text-decoration-color: currentColor; } }
.lc-link { justify-self: start; padding: 0; }
.lc-q { display: grid; gap: 10px; margin-top: 4px; }
.lc-q-t { font-size: 20px; line-height: 1.25; letter-spacing: -0.014em; font-weight: 620; text-wrap: balance; }
.lc-hint, .lc-note, .lc-privacy { font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }
.lc-c { text-align: center; }
.lc-opts { display: grid; gap: 8px; }
.lc-opt { display: flex; align-items: center; min-height: 52px; width: 100%; padding: 12px 18px; border: 1px solid #8A8E96; border-radius: 16px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 560; line-height: 1.3; text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .25s var(--ease); }
@media (hover: hover) { .lc-opt:hover { border-color: var(--ink); } }
.lc-opt:active { transform: scale(.985); }
.lc-opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.lc-back { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 44px; padding: 0 10px 0 2px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 560; color: var(--ink-2); cursor: pointer; }
@media (hover: hover) { .lc-back:hover { color: var(--ink); } }
.lc-back .ico { width: 18px; height: 18px; }

/* ---------- actions, fields ---------- */
.lc-contact, .lc-form { display: grid; gap: 10px; }
.lc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; width: 100%; padding: 0 20px; border: 1.5px solid transparent; border-radius: 99px; font: inherit; font-size: 16.5px; font-weight: 600; letter-spacing: -0.005em; text-align: center; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease); }
.lc-btn:active { transform: scale(.985); }
.lc-btn .ico { width: 20px; height: 20px; }
.lc-btn-main { background: var(--lc-main); color: var(--lc-main-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 22px -14px rgba(43, 63, 224, .6); }
@media (hover: hover) { .lc-btn-main:hover { background: var(--lc-main-hover); } }
.lc-btn-main[data-lc-tg] { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 10px 24px -12px rgba(14, 15, 18, .55); }
@media (hover: hover) { .lc-btn-main[data-lc-tg]:hover { background: #24262c; } }
.lc-btn-line { border-color: #8A8E96; background: var(--studio); color: var(--ink); }
@media (hover: hover) { .lc-btn-line:hover { border-color: var(--ink); background: var(--studio-2); } }
/* the request button is the one accent of the open chat, from the moment it appears */
.lc-btn[data-lc-send] { background: var(--lc-main); color: var(--lc-main-ink); border-color: transparent; }
@media (hover: hover) { .lc-btn[data-lc-send]:hover { background: var(--lc-main-hover); border-color: transparent; } }
.lc-btn:disabled { opacity: .55; cursor: progress; }
.lc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-row > .lc-btn { flex: 1 1 180px; width: auto; }
/* error screen: Telegram on its own line, the two numbers share the next one */
.lc-row > .lc-btn[data-lc-hot-tg] { flex-basis: 100%; }
.lc-row > .lc-btn-tel { flex: 1 1 140px; min-height: 48px; padding: 0 10px; font-size: 15px; }
@media (max-width: 429px) { .lc-row > .lc-btn-tel .ico { display: none; } }
.lc-or { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); }
.lc-or::before, .lc-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lc-lab { font-size: 14.5px; font-weight: 560; color: var(--ink-2); }
.lc-in { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid #8A8E96; border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 17px; line-height: 1.4; }
textarea.lc-in { resize: vertical; min-height: 96px; }
.lc-in::placeholder { color: var(--ink-3); opacity: 1; }
.lc-in:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14, 15, 18, .14); }
.lc .lc-in:focus-visible { outline: none; }
.lc-in[aria-invalid="true"] { border-color: #B4261E; }
.lc-in[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 38, 30, .16); }
.lc-tel-in { position: relative; display: block; }
.lc-pre { position: absolute; left: 17.5px; top: 50%; transform: translateY(-50%); font-size: 17px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; pointer-events: none; }
.lc-tel-in .lc-in { padding-left: 64px; font-variant-numeric: tabular-nums; }
.lc-tel-in.lc-intl .lc-pre { display: none; }
.lc-tel-in.lc-intl .lc-in { padding-left: 16px; }
.lc-ferr { font-size: 14.5px; font-weight: 560; color: #B4261E; }
.lc-ferr:empty { display: none; }
.lc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lc-privacy { margin-top: 2px; font-size: 13.5px; }
.lc-wait { padding: 16px 18px; }
.lc-dots { display: inline-flex; gap: 5px; }
.lc-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .lc-dots i { animation: lcDot 1s infinite ease-in-out; }
  .lc-dots i:nth-child(2) { animation-delay: .15s; }
  .lc-dots i:nth-child(3) { animation-delay: .3s; }
  .lc-blk:last-child { animation: lcPop .3s var(--ease); }
}
@keyframes lcDot { 50% { opacity: .25; transform: translateY(-2px); } }
@keyframes lcPop { from { opacity: 0; transform: translateY(6px); } }
.lc :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.lc [tabindex="-1"]:focus, .lc [tabindex="-1"]:focus-visible { outline: none; }
.lc-hot .lc-pill-main:focus-visible, .lc-btn-main:focus-visible { outline-offset: 3px; }

/* ---------- inline chat on /contacts/ ---------- */
/* beside the chat the page already lists Telegram and both phones */
.lc-inline .lc-hot { display: none; }
.lc-inline .lc-panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.lc-inline .lc-hd { padding: 14px 12px 12px 20px; flex-wrap: wrap; }
.lc-inline .lc-body { overflow: visible; padding-bottom: 24px; -webkit-mask-image: none; mask-image: none; }
.lc-inline:not(.lc-live) .lc-js, .lc-inline:not(.lc-live) .lc-langs { display: none; }
.lc-nojs { display: grid; gap: 12px; padding: 16px 20px 24px; }
.lc-fs { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.lc-fs legend { margin-bottom: 6px; padding: 0; font-size: 18px; font-weight: 620; }
.lc-radio { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 14px; font-weight: 520; cursor: pointer; }
.lc-radio input { width: 20px; height: 20px; accent-color: var(--ink); }
.lc-nojs-msg { display: none; margin: 0; padding: 12px 16px; border-radius: 14px; background: #FBEDEC; font-weight: 600; line-height: 1.45; }
.lc-nojs-msg.lc-nojs-ok { background: #EAF4EE; }
.lc-nojs-msg:target { display: block; }

/* short phones (the Instagram browser): the whole first question, «not sure» included, fits without scrolling */
@media (max-width: 759.98px) and (max-height: 720px) {
  dialog.lc { height: calc(100dvh - var(--lc-kb, 0px)); }
  .lc-opt { min-height: 44px; padding-block: 8px; }
  .lc-tel-a { min-height: 30px; }
}
/* very short screens: the plain greeting gives way to the answers (a greeting that carries the visitor's idea stays) */
@media (max-height: 650px) { dialog.lc .lc-blk[data-k="hello"]:not(:has(p + p)) { display: none; } }
