/* Devpool — me.devpool.su
   Telegram × Apple: iOS system colours and metrics (systemBlue #007AFF, grouped #F2F2F7, separators,
   switches, segmented controls, inset grouped lists), Telegram blue gradient for accents, Inter for text.
   Motion uses transform/opacity only. */

/* ============ Tokens ============ */
:root {
  --bg: #ffffff;
  --bg-grey: #f5f5f7;
  --bg-grouped: #f2f2f7;
  --label: #000000;
  --label-2: #1d1d1f;
  --label-sec: #6e6e73;
  --label-ter: #8e8e93;
  --sep: rgba(60, 60, 67, .14);
  --fill: rgba(118, 118, 128, .12);
  --fill-2: rgba(118, 118, 128, .08);
  --blue: #007aff;
  --blue-hover: #0a6cff;
  --tg: #2aabee;
  --green: #34c759;
  --red: #ff3b30;
  --grad: linear-gradient(100deg, #27b5f5 0%, #007aff 48%, #5856d6 100%);
  --tg-grad: linear-gradient(160deg, #37aee2 0%, #1e96c8 100%);

  --radius: 18px;
  --radius-l: 28px;
  --radius-xl: 34px;
  --shadow-card: 0 0 0 .5px rgba(0, 0, 0, .06), 0 10px 34px -14px rgba(0, 20, 60, .14);
  --shadow-float: 0 0 0 .5px rgba(0, 0, 0, .05), 0 30px 60px -28px rgba(0, 30, 80, .3);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  color-scheme: light;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--label-2);
  font: 400 17px/1.55 var(--font); font-optical-sizing: auto; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip; -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: rgba(0, 122, 255, .2); }
:focus-visible { outline: 3px solid rgba(0, 122, 255, .45); outline-offset: 2px; border-radius: 10px; }
.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; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 400; padding: 12px 18px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 600; transition: top .3s var(--ease); }
.skip-link:focus { top: 16px; }
.is-pixel { image-rendering: pixelated; }
.icon { width: 18px; height: 18px; flex: none; fill: currentColor; }
.icon--stroke { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ============ Type ============ */
.h2 { font: 700 clamp(40px, 6vw, 80px)/1.04 var(--font); letter-spacing: -.048em; color: var(--label); }
.h3 { font: 700 clamp(28px, 3vw, 40px)/1.08 var(--font); letter-spacing: -.04em; color: var(--label); }
.eyebrow { font: 600 clamp(15px, 1.25vw, 19px)/1.2 var(--font); letter-spacing: -.015em; color: var(--blue); }
.list-header { padding: 0 18px 8px; font: 400 13px/1.3 var(--font); letter-spacing: .01em; text-transform: uppercase; color: #6d6d72; }
/* Gradient text sits on the words themselves: split headings are inline-blocks, and the text of a
   transformed child is not part of its parent's background-clip. */
.grad { color: var(--blue); }
.grad .split-word > span, .h3 .grad, .rotator__word, .contact__title .grad:not([data-split] *) {
  background-image: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ============ Buttons (iOS / Telegram) ============ */
.btn {
  --h: 50px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 22px; border-radius: 14px;
  font: 600 16px/1 var(--font); letter-spacing: -.015em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .3s, color .25s, translate .5s var(--ease);
}
.btn > * { position: relative; z-index: 1; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -14px rgba(0, 122, 255, .85); }
.btn--primary:hover { background: var(--blue-hover); box-shadow: 0 16px 30px -14px rgba(0, 122, 255, .95); }
.btn--tinted { background: rgba(0, 122, 255, .1); color: var(--blue); }
.btn--tinted:hover { background: rgba(0, 122, 255, .16); }
.btn--pill { border-radius: 999px; }
.btn--sm { --h: 38px; padding: 0 16px; border-radius: 11px; font-size: 14.5px; }
.btn--lg { --h: 56px; padding: 0 28px; border-radius: 16px; font-size: 17px; }
.btn--xl { --h: 64px; padding: 0 34px; border-radius: 18px; font-size: 18px; }
.btn--sm.btn--pill, .btn--lg.btn--pill { border-radius: 999px; }
.btn--block { width: 100%; }
.btn--shine::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .42) 50%, transparent 68%);
  transform: translateX(-130%); animation: shine 3.6s var(--ease-in-out) infinite;
}
@keyframes shine { 0% { transform: translateX(-130%); } 45%, 100% { transform: translateX(130%); } }

/* ============ Intro ============ */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: #fff;
  clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-in-out); animation: intro-failsafe 0s 4s forwards;
}
.js .intro.is-done { clip-path: inset(0 0 100% 0); }
.js .intro.is-skip { display: none; }
.intro__word { display: flex; overflow: hidden; padding: 0 .06em .1em; font: 800 clamp(48px, 8vw, 96px)/1.1 var(--font); letter-spacing: -.06em; color: var(--label); }
.intro__word span { display: inline-block; transform: translateY(110%); }
.intro.is-go .intro__word span { animation: rise-in .9s var(--ease) forwards; }
.intro__word span:nth-child(2) { animation-delay: .04s; }
.intro__word span:nth-child(3) { animation-delay: .08s; }
.intro__word span:nth-child(4) { animation-delay: .12s; }
.intro__word span:nth-child(5) { animation-delay: .16s; }
.intro__word span:nth-child(6) { animation-delay: .2s; }
.intro__word span:nth-child(7) { animation-delay: .24s; }
.intro__word .intro__dot { color: var(--blue); animation-delay: .38s !important; }
.intro__line { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.intro.is-go .intro__line { animation: grow-x 1.1s var(--ease-in-out) .1s forwards; }
@keyframes rise-in { to { transform: none; } }
@keyframes grow-x { to { transform: scaleX(1); } }
@keyframes intro-failsafe { to { visibility: hidden; } }

/* ============ "Смотреть" bubble over work cards ============ */
.view-bubble {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
  margin: -21px 0 0 -48px; padding: 13px 20px; border-radius: 999px;
  background: rgba(0, 122, 255, .9); color: #fff; font: 600 14px/1 var(--font);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -12px rgba(0, 122, 255, .8);
  opacity: 0; scale: .5; transition: opacity .25s, scale .45s var(--ease-spring);
}
.view-bubble.is-visible { opacity: 1; scale: 1; }

/* ============ Scroll progress ============ */
.scroll-progress { position: fixed; left: 0; top: 0; right: 0; z-index: 70; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ============ Header (iOS navigation bar) ============ */
.header { position: fixed; inset: 0 0 auto; z-index: 60; transition: transform .6s var(--ease); }
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 .5px 0 rgba(0, 0, 0, .14);
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: baseline; font: 800 22px/1 var(--font); letter-spacing: -.06em; color: var(--label); }
.logo i { display: inline-block; font-style: normal; color: var(--blue); transition: transform .6s var(--ease-spring); }
.logo:hover i { transform: translateY(-6px); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav__link { padding: 9px 13px; border-radius: 10px; font: 500 14.5px/1 var(--font); letter-spacing: -.01em; color: rgba(0, 0, 0, .72); transition: color .2s, background-color .2s; }
.nav__link:hover { color: var(--label); background: var(--fill-2); }
.nav__link.is-active { color: var(--blue); }
.header__cta { margin-left: 6px; }

/* ============ Hero ============ */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--header-h) + clamp(44px, 7vw, 92px)); text-align: center; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--tg { width: 60vmax; height: 60vmax; left: -18vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(42, 171, 238, .3), rgba(42, 171, 238, 0)); animation: drift-a 24s ease-in-out infinite alternate; }
.blob--sky { width: 52vmax; height: 52vmax; right: -16vmax; top: -18vmax; background: radial-gradient(closest-side, rgba(88, 86, 214, .2), rgba(88, 86, 214, 0)); animation: drift-b 28s ease-in-out infinite alternate; }
.blob--indigo { width: 56vmax; height: 56vmax; left: 22%; top: 30%; background: radial-gradient(closest-side, rgba(0, 122, 255, .16), rgba(0, 122, 255, 0)); animation: drift-c 32s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(8vmax, 6vmax) scale(1.1); } }
@keyframes drift-b { to { transform: translate(-7vmax, 9vmax) scale(.92); } }
@keyframes drift-c { to { transform: translate(-9vmax, -5vmax) scale(1.08); } }
.hero__spot { position: absolute; left: 0; top: 0; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 122, 255, .12), rgba(0, 122, 255, 0)); opacity: 0; transition: opacity .8s; will-change: transform; }
.hero.is-pointer .hero__spot { opacity: 1; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 8px 24px -14px rgba(0, 30, 80, .3);
  font: 500 14px/1 var(--font); color: var(--label-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pill__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, .5); } 70% { box-shadow: 0 0 0 9px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }
.hero__title { margin-top: 24px; font: 700 clamp(48px, 8.2vw, 124px)/.98 var(--font); letter-spacing: -.05em; color: var(--label); }
.hero__line { display: block; overflow: hidden; padding: 0 .1em .1em; margin-bottom: -.1em; }
.hero__line > span { display: inline-block; }
.hero__line > .rotator { display: inline-grid; justify-items: center; vertical-align: top; }
.js .hero__line > span { transform: translateY(108%); transition: transform 1.2s var(--ease); }
.is-ready .hero__line > span { transform: none; }
.is-ready .hero__line:nth-child(3) > span { transition-delay: .08s; }
.is-ready .hero__line:nth-child(4) > span { transition-delay: .16s; }
/* ±140%: descenders must clear the line mask while a word leaves. */
.rotator__word { grid-area: 1 / 1; white-space: nowrap; padding: 0 .04em; transform: translateY(140%); opacity: 0; transition: transform 1s var(--ease), opacity .5s; }
.rotator__word.is-active { transform: none; opacity: 1; }
.rotator__word.is-leaving { transform: translateY(-140%); opacity: 0; }
.hero__lead { max-width: 640px; margin-top: 26px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; letter-spacing: -.02em; color: var(--label-sec); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero__proof { display: flex; align-items: center; gap: 14px; max-width: 520px; margin-top: 34px; text-align: left; font-size: 14px; line-height: 1.45; color: var(--label-sec); }
.hero__proof b { color: var(--label); font-weight: 600; }
.proof__logos { display: flex; flex: none; }
.proof__logo {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: -10px; border-radius: 50%; overflow: hidden;
  border: 2.5px solid #fff; box-shadow: 0 6px 16px -8px rgba(0, 20, 60, .45); font: 800 12.5px/1 var(--font); letter-spacing: -.05em; white-space: nowrap;
}
.proof__logo:first-child { margin-left: 0; }
.proof__logo--tsar { background: radial-gradient(circle at 50% 35%, #3a2a1c, #120c08); }
.proof__logo--tsar img { width: 26px; }
.proof__logo--nova { background: linear-gradient(135deg, #1fe0d4, #b8f36a); color: #04312d; }
.proof__logo--vs { background: linear-gradient(135deg, #f472b6, #be185d); color: #fff; }
.proof__logo--dev { background: var(--label); color: #fff; font-size: 11px; }
.proof__logo--dev i { font-style: normal; color: #4aa8ff; }
.js .hero__pill, .js .hero__lead, .js .hero__actions, .js .hero__proof { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-ready .hero__pill { opacity: 1; transform: none; }
.is-ready .hero__lead { opacity: 1; transform: none; transition-delay: .3s; }
.is-ready .hero__actions { opacity: 1; transform: none; transition-delay: .4s; }
.is-ready .hero__proof { opacity: 1; transform: none; transition-delay: .5s; }

/* Hero stage: product shot of real screens; JS sets `translate` on layers for the parallax.
   The bottom fade is an overlay on the hero, not a mask, so phones drifting up are never clipped. */
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: clamp(140px, 16vw, 230px); background: linear-gradient(rgba(255, 255, 255, 0), #fff 88%); pointer-events: none; }
.hero__stage { position: relative; height: clamp(440px, 46vw, 640px); margin-top: clamp(44px, 6vw, 76px); }
.stage__layer { position: absolute; will-change: translate; }
.stage__layer--center { left: 50%; top: 0; --phone-w: clamp(200px, 19vw, 268px); margin-left: calc(var(--phone-w) / -2); animation: float 7s ease-in-out -2s infinite alternate; }
.stage__layer--left { left: 21%; top: 10%; --phone-w: clamp(160px, 15vw, 214px); animation: float 8s ease-in-out -4s infinite alternate; }
.stage__layer--right { right: 21%; top: 10%; --phone-w: clamp(160px, 15vw, 214px); animation: float 8.5s ease-in-out -1s infinite alternate; }
.stage__layer--badge1 { left: 4%; top: 24%; animation: float 6s ease-in-out -1s infinite alternate; }
.stage__layer--badge2 { right: 4%; top: 46%; animation: float 7s ease-in-out -3s infinite alternate; }
@keyframes float { from { transform: translateY(-7px); } to { transform: translateY(9px); } }
.stage__layer > * { --r: 0deg; transform: rotate(var(--r)); }
.stage__layer--left > * { --r: -7deg; }
.stage__layer--right > * { --r: 7deg; }
.stage__layer--badge1 > * { --r: -3deg; }
.stage__layer--badge2 > * { --r: 3deg; }
.js .stage__layer > * { opacity: 0; transform: translateY(120px) rotate(calc(var(--r) * 2)) scale(.94); transition: opacity 1s var(--ease), transform 1.5s var(--ease); }
.is-ready .stage__layer > * { opacity: 1; transform: rotate(var(--r)); }
.is-ready .stage__layer--left > * { transition-delay: .4s; }
.is-ready .stage__layer--right > * { transition-delay: .48s; }
.is-ready .stage__layer--center > * { transition-delay: .32s; }
.is-ready .stage__layer--badge1 > * { transition-delay: .85s; }
.is-ready .stage__layer--badge2 > * { transition-delay: .95s; }
.glass-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 17px 9px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .9), 0 0 0 .5px rgba(0, 0, 0, .06), 0 22px 44px -18px rgba(0, 30, 80, .35);
  font: 600 14px/1 var(--font); letter-spacing: -.01em; color: var(--label); white-space: nowrap;
}
.stage__layer--badge2 .glass-badge { padding-left: 15px; }
.glass-badge__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tg-grad); color: #fff; }
.glass-badge__icon svg { width: 16px; height: 16px; fill: currentColor; margin-left: -1px; }

/* ============ Devices ============ */
.phone { --pw: var(--phone-w, 240px); width: var(--pw); container-type: inline-size; }
.phone__body {
  position: relative; padding: 3.2cqw; border-radius: 15cqw;
  background: linear-gradient(150deg, #3d3d44 0%, #121215 26%, #0b0b0d 72%, #2d2d33 100%);
  box-shadow: inset 0 0 0 .55cqw #1b1b1f, inset 0 0 0 .95cqw rgba(255, 255, 255, .09), 0 50px 70px -34px rgba(0, 20, 60, .5), 0 18px 34px -20px rgba(0, 20, 60, .3);
}
.phone__body::before { content: ''; position: absolute; z-index: 2; top: 5.3cqw; left: 50%; width: 27cqw; height: 7.4cqw; translate: -50% 0; border-radius: 99px; background: #050506; }
.phone__body img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 11.8cqw; background: #111; }
.browser { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 50px 80px -36px rgba(0, 20, 60, .4), 0 18px 36px -22px rgba(0, 20, 60, .25); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: linear-gradient(#fbfbfd, #f2f2f5); border-bottom: .5px solid rgba(0, 0, 0, .12); }
.browser__bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__url { margin: 0 auto; translate: -16px 0; max-width: 60%; height: 20px; padding: 0 14px; border-radius: 6px; background: rgba(118, 118, 128, .1); font: 500 11px/20px var(--font); color: #6e6e73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser--game { background: #0b0b0d; }
.browser--game .browser__bar { background: #18181c; border-color: #26262c; }
.browser--game .browser__url { background: #0f0f12; color: #9b9ba6; }
.browser--game img { aspect-ratio: 1200 / 631; }

/* ============ Ticker ============ */
.ticker { overflow: hidden; padding: clamp(22px, 3vw, 36px) 0; border-block: .5px solid var(--sep); background: #fff; }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); padding-right: clamp(18px, 2.4vw, 34px); font: 700 clamp(30px, 4.4vw, 64px)/1.15 var(--font); letter-spacing: -.05em; color: var(--label); white-space: nowrap; }
.ticker__group .is-blue { background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ticker__group i { flex: none; width: .22em; height: .22em; border-radius: 50%; background: var(--blue); opacity: .85; }

/* ============ Sections ============ */
.section { padding: clamp(88px, 11vw, 150px) 0; }
.section--grey { background: var(--bg-grey); }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h2 { margin-top: 14px; }
.section-head__lead { max-width: 620px; margin-top: 18px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; letter-spacing: -.02em; color: var(--label-sec); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-head__lead { margin-inline: auto; }

/* Reveal: an animation on `translate`/`opacity`, so it never fights an element's own hover transitions. */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-in { animation: reveal 1.1s var(--ease) var(--d, 0s) both; }
@keyframes reveal { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.split-word > span { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.is-in .split-word > span { transform: none; }

/* ============ Segmented control (iOS) ============ */
.segmented { position: relative; display: inline-flex; padding: 3px; border-radius: 12px; background: var(--fill); }
.segmented__thumb {
  position: absolute; left: 0; top: 3px; bottom: 3px; width: 0; border-radius: 9px; background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04), 0 0 0 .5px rgba(0, 0, 0, .04);
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.segmented .chip, .segmented label > span {
  position: relative; z-index: 1; display: grid; place-items: center; height: 36px; padding: 0 17px; border-radius: 9px;
  font: 600 14.5px/1 var(--font); letter-spacing: -.01em; color: rgba(0, 0, 0, .55); white-space: nowrap; cursor: pointer; transition: color .3s;
}
.segmented .chip:hover, .segmented label > span:hover { color: var(--label); }
.segmented .chip.is-active, .segmented input:checked + span { color: var(--label); }
.segmented label { position: relative; z-index: 1; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.segmented input:focus-visible + span { outline: 3px solid rgba(0, 122, 255, .45); outline-offset: -2px; }
.segmented--block { display: flex; width: 100%; }
.segmented--block label { flex: 1 1 0; min-width: 0; }

/* ============ Works ============ */
.filters { margin: 0 calc(var(--gutter) * -1) clamp(26px, 3.6vw, 40px); padding: 2px var(--gutter) 4px; overflow-x: auto; scrollbar-width: none; text-align: center; }
.filters::-webkit-scrollbar { display: none; }
.works__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(34px, 4vw, 52px) clamp(16px, 2vw, 24px); }
.work { position: relative; display: flex; flex-direction: column; gap: 20px; }
.work--wide { grid-column: 1 / -1; }
.work--wide.is-narrow { grid-column: auto; }
.work--wide.is-narrow .work__media { aspect-ratio: 5 / 4; }
.work--wide.is-narrow .work__browser { width: 54%; }
.work.is-filtered { display: none; }
.work__open { position: absolute; inset: 0; z-index: 4; border-radius: var(--radius-l); }
.work__open:focus-visible { outline-offset: 6px; }
.work__media {
  --tint: var(--bg-grouped);
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--radius-l); background: var(--tint);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease), box-shadow .7s var(--ease);
}
.work--wide .work__media { aspect-ratio: 21 / 9; }
.work.is-tilting .work__media { transition: transform .15s linear, box-shadow .7s var(--ease); }
.work:hover .work__media { box-shadow: 0 46px 80px -46px rgba(0, 30, 80, .45); }
.work__art { position: absolute; inset: 0; transition: transform 1.3s var(--ease); }
.work:hover .work__art { transform: scale(1.035); }
.work__glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .6s; background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 45%); }
.work:hover .work__glare { opacity: 1; }
.work__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.work__title { font: 700 clamp(24px, 2.3vw, 32px)/1.1 var(--font); letter-spacing: -.04em; color: var(--label); }
.work__arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fill-2); color: var(--blue); transition: background-color .4s var(--ease), color .4s, transform .7s var(--ease); }
.work__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.work:hover .work__arrow { background: var(--blue); color: #fff; transform: rotate(45deg); }
.work__desc { margin-top: 5px; font-size: 16.5px; letter-spacing: -.015em; color: var(--label-sec); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li { padding: 6px 10px; border-radius: 8px; background: var(--fill-2); font: 500 13px/1.1 var(--font); letter-spacing: -.005em; color: #3c3c43; }
.tags--lg li { padding: 9px 13px; border-radius: 10px; font-size: 14px; }

/* Card art compositions (percentages of the media box) */
.work__phone, .work__browser { position: absolute; }
.work--tsar .work__media { --tint: linear-gradient(160deg, #eef2f8 0%, #d9e2ef 100%); }
.work--tsar .work__phone { --phone-w: 35%; left: 50%; top: 11%; translate: -50% 0; rotate: -4deg; }
.work__float--crown { position: absolute; right: 10%; top: 10%; width: 20%; filter: drop-shadow(0 18px 18px rgba(60, 40, 10, .35)); animation: bob 5s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(-6px) rotate(-6deg); } to { transform: translateY(8px) rotate(4deg); } }
.work--cuprum .work__media { --tint: linear-gradient(160deg, #eef7ef 0%, #d4ead9 100%); }
.work--cuprum .work__phone { --phone-w: 35%; left: 50%; top: 11%; translate: -50% 0; rotate: 4deg; }
.pixel-sun, .pixel-cloud { position: absolute; image-rendering: pixelated; background-repeat: no-repeat; background-size: 100% 100%; }
.pixel-sun { left: 10%; top: 12%; width: 12%; aspect-ratio: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Cpath fill='%23ffd23d' d='M3 0h4v1h2v2h1v4h-1v2H7v1H3V9H1V7H0V3h1V1h2z'/%3E%3Cpath fill='%23ffe9a0' d='M3 2h3v1H3zM2 3h2v2H2z'/%3E%3C/svg%3E"); animation: bob 6s ease-in-out infinite alternate; }
.pixel-cloud { width: 18%; aspect-ratio: 2 / 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 6' shape-rendering='crispEdges'%3E%3Cpath fill='%23ffffff' d='M4 0h3v1h1v1h2v1h1v1h1v2H0V4h1V2h2V1h1z'/%3E%3Cpath fill='%23e3eef7' d='M0 5h12v1H0z'/%3E%3C/svg%3E"); }
.pixel-cloud--a { right: 8%; top: 16%; animation: cloud 18s linear infinite alternate; }
.pixel-cloud--b { left: 4%; top: 46%; width: 13%; animation: cloud 22s linear -6s infinite alternate-reverse; }
@keyframes cloud { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
.work--nova .work__media { --tint: linear-gradient(160deg, #e9f7fa 0%, #cdebf2 100%); }
.work--nova .work__browser { left: 7%; top: 13%; width: 74%; rotate: -2deg; }
.work--nova .work__phone { --phone-w: 27%; right: 7%; top: 25%; rotate: 5deg; }
.work--devpool .work__media { --tint: linear-gradient(160deg, #f2f3f6 0%, #dfe1e8 100%); }
.work--devpool .work__browser { right: 7%; top: 13%; width: 74%; rotate: 2deg; }
.work--devpool .work__phone { --phone-w: 27%; left: 8%; top: 25%; rotate: -5deg; }
.work--ai .work__media { --tint: linear-gradient(160deg, #eff0ff 0%, #dcdcfa 100%); }
.work--vs .work__media { --tint: linear-gradient(160deg, #f6eff9 0%, #e9d9ef 100%); }
.work--vs .work__browser { left: 8%; top: 14%; width: 84%; rotate: -2deg; }
.vs-badge { position: absolute; right: 7%; top: 7%; display: grid; place-items: center; width: 15%; aspect-ratio: 1; border-radius: 24%; background: linear-gradient(140deg, #f472b6, #9d174d); color: #fff; font: 800 clamp(14px, 2vw, 26px)/1 var(--font); letter-spacing: -.06em; box-shadow: 0 20px 34px -16px rgba(157, 23, 77, .7); animation: bob 5.5s ease-in-out infinite alternate; }
.work--dierace .work__media { --tint: #eceef1; }
.work__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.work--dierace .work__browser { right: 4%; bottom: 8%; width: 34%; rotate: 2deg; }

/* AI demo (card and case dialog) */
.work--ai .ai-demo { position: absolute; left: 11%; right: 11%; top: 12%; bottom: -6%; }
.ai-demo { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06), 0 50px 80px -40px rgba(40, 40, 140, .45); font-family: var(--font); }
.ai-demo__head { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: .5px solid var(--sep); font: 700 14.5px/1 var(--font); letter-spacing: -.02em; color: var(--label); }
.ai-demo__logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: #fff; font: 800 10.5px/1 var(--font); }
.ai-demo__model { margin-left: auto; padding: 6px 10px; border-radius: 999px; background: rgba(88, 86, 214, .1); color: #5856d6; font-size: 11.5px; font-weight: 600; }
.ai-demo__body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--bg-grouped); }
.ai-demo__msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14px; font-weight: 500; line-height: 1.38; letter-spacing: -.01em; }
.ai-demo__msg--user { align-self: flex-end; min-height: 40px; border-bottom-right-radius: 6px; background: var(--blue); color: #fff; }
.ai-demo__caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -3px; background: currentColor; animation: blink 1s steps(1) infinite; }
.ai-demo:not(.is-typing) .ai-demo__caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.ai-demo__msg--bot { align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; border-bottom-left-radius: 6px; background: #fff; color: var(--label); opacity: 0; transform: translateY(10px) scale(.96); transform-origin: left bottom; transition: opacity .4s, transform .6s var(--ease-spring); }
.ai-demo.is-thinking .ai-demo__msg--bot, .ai-demo.is-done .ai-demo__msg--bot { opacity: 1; transform: none; }
.ai-demo__dots { display: inline-flex; gap: 4px; }
.ai-demo__dots i { width: 6px; height: 6px; border-radius: 50%; background: #aeaeb2; animation: dots 1.1s ease-in-out infinite; }
.ai-demo__dots i:nth-child(2) { animation-delay: .15s; }
.ai-demo__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.ai-demo__reply { display: none; color: #248a3d; }
.ai-demo.is-done .ai-demo__dots { display: none; }
.ai-demo.is-done .ai-demo__reply { display: inline; }
.ai-demo__site { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 20px 34px -24px rgba(40, 40, 140, .5); transition: box-shadow .6s, transform .8s var(--ease); }
.ai-demo.is-done .ai-demo__site { transform: translateY(-3px); }
.ai-demo__site-bar { flex: none; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; background: #f7f7f9; border-bottom: .5px solid var(--sep); font: 600 10.5px/1 var(--font); color: #8e8e93; }
.ai-demo__site-bar i { width: 7px; height: 7px; border-radius: 50%; background: #e1e1e6; }
.ai-demo__site-bar span { margin-left: 8px; }
.ai-demo__site-bar b { margin-left: auto; padding: 4px 6px; border-radius: 6px; background: #e3f9e7; color: #248a3d; font-size: 9.5px; scale: 0; transition: scale .6s var(--ease-spring); }
.ai-demo.is-done .ai-demo__site-bar b { scale: 1; transition-delay: .45s; }
.ai-demo__progress { position: absolute; left: 0; top: 27px; z-index: 1; width: 100%; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; opacity: 0; transition: opacity .4s; }
.ai-demo.is-thinking .ai-demo__progress { opacity: 1; animation: grow-x 1.5s var(--ease-in-out) forwards; }
.ai-demo.is-done .ai-demo__progress { transform: scaleX(1); }
.ai-demo__site-body { position: relative; flex: 1; display: grid; align-content: start; gap: 9px; padding: 18px 16px; min-height: 104px; background: #fafafc; }
.ai-demo__site-body::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, #f0f7ff, #f3efff 60%, #fdf0f7); opacity: 0; transition: opacity .9s; }
.ai-demo.is-done .ai-demo__site-body::before { opacity: 1; }
.ai-demo__site-body > * { position: relative; }
.sk { display: block; height: 9px; border-radius: 9px; background: #e9e9ee; transition: background-color .7s; }
.sk--title { width: 52%; height: 14px; }
.sk--line { width: 64%; }
.sk--short { width: 40%; }
.sk--btn { width: 74px; height: 24px; margin-top: 6px; border-radius: 8px; }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.sk-cards i { height: 64px; border-radius: 10px; background: #ededf2; transition: background-color .7s, box-shadow .7s; }
.ai-demo.is-thinking .sk, .ai-demo.is-thinking .sk-cards i { background: linear-gradient(90deg, #e9e9ee 0%, #f7f7fa 50%, #e9e9ee 100%) 0 0 / 200% 100%; animation: shimmer 1.1s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.ai-demo.is-done .sk--title { background: rgba(0, 0, 0, .82); }
.ai-demo.is-done .sk--line { background: rgba(0, 0, 0, .12); }
.ai-demo.is-done .sk--btn { background: var(--blue); }
.ai-demo.is-done .sk-cards i { background: rgba(255, 255, 255, .9); box-shadow: 0 8px 18px -12px rgba(40, 40, 140, .45); }
.ai-demo__flower {
  position: absolute; right: 16px; top: 16px; width: 72px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #ffd60a 0 18%, transparent 19%), conic-gradient(#ff2d55, #af52de, #5ac8fa, #ff2d55, #af52de, #5ac8fa, #ff2d55);
  -webkit-mask: radial-gradient(circle, #000 66%, transparent 67%); mask: radial-gradient(circle, #000 66%, transparent 67%);
  opacity: 0; transform: scale(.3); transition: opacity .5s, transform 1s var(--ease-spring); animation: spin 14s linear infinite;
}
.ai-demo.is-done .ai-demo__flower { opacity: 1; transform: none; transition-delay: .3s; }
@keyframes spin { to { rotate: 1turn; } }

/* ============ Icon tiles (iOS Settings style) ============ */
.tile { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; background: var(--c, var(--blue)); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .05); }
.tile svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tile--tg { --c: linear-gradient(180deg, #3cb4ec, #1e96c8); }
.tile--blue { --c: linear-gradient(180deg, #3d9bff, #007aff); }
.tile--indigo { --c: linear-gradient(180deg, #7a78ec, #5856d6); }
.tile--violet { --c: linear-gradient(180deg, #8f7cf8, #6e56e8); }
.tile--purple { --c: linear-gradient(180deg, #c57af0, #af52de); }
.tile--green { --c: linear-gradient(180deg, #5bd97c, #34c759); }
.tile--mint { --c: linear-gradient(180deg, #37dcd2, #00b8ad); }
.tile--teal { --c: linear-gradient(180deg, #5ccbf0, #30b0c7); }
.tile--ton { --c: linear-gradient(180deg, #33b5f2, #0098ea); }
.tile--pink { --c: linear-gradient(180deg, #ff5f80, #ff2d55); }
.tile--brown { --c: linear-gradient(180deg, #b99b76, #a2845e); }
.tile--gray { --c: linear-gradient(180deg, #a5a5ab, #8e8e93); }

/* ============ Why ============ */
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-card {
  position: relative; isolation: isolate; overflow: hidden; padding: 28px 26px 30px; border-radius: var(--radius-l); background: #fff;
  box-shadow: var(--shadow-card); transition: transform .8s var(--ease), box-shadow .6s var(--ease);
}
.why-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 122, 255, .08), rgba(0, 122, 255, 0) 60%); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }
.why-card:hover::before { opacity: 1; }
.why-card .tile { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 40px; transition: transform .8s var(--ease-spring); }
.why-card .tile svg { width: 26px; height: 26px; }
.why-card:hover .tile { transform: rotate(-8deg) scale(1.08); }
.why-card__title { margin-bottom: 8px; font: 700 21px/1.2 var(--font); letter-spacing: -.035em; color: var(--label); }
.why-card p { font-size: 15.5px; line-height: 1.5; color: var(--label-sec); }

/* ============ Inset grouped list (iOS) ============ */
.list { position: relative; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); }
.row { --sep-left: 18px; position: relative; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 18px; transition: background-color .2s; }
.row:has(> .tile) { --sep-left: 68px; }
.list > .row + .row::before, .list > details + details > .row::before {
  content: ''; position: absolute; left: var(--sep-left); right: 0; top: 0; height: 1px; background: var(--sep); transform: scaleY(.6); transform-origin: top;
}
.row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row__text b { font: 600 17px/1.3 var(--font); letter-spacing: -.025em; color: var(--label); }
.row__text small { font: 400 14px/1.35 var(--font); letter-spacing: -.01em; color: var(--label-ter); }
.row__chevron { flex: none; width: 18px; height: 18px; fill: none; stroke: #c4c4c7; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease), stroke .3s; }
summary.row { cursor: pointer; list-style: none; }
summary.row::-webkit-details-marker { display: none; }
details[open]:not(.is-closing) > summary .row__chevron { transform: rotate(90deg); stroke: var(--blue); }
@media (hover: hover) { summary.row:hover, .service:hover, .toggle:hover { background: rgba(0, 0, 0, .025); } }
summary.row:active { background: rgba(0, 0, 0, .05); }

/* ============ Services ============ */
.services__inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.services__aside { position: sticky; top: 120px; }
.services__aside .h2 { margin-top: 14px; }
.services__list .row { min-height: 68px; }
.service-preview {
  position: fixed; left: 0; top: 0; z-index: 30; width: 220px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 22px; pointer-events: none;
  opacity: 0; scale: .5; rotate: -10deg; translate: var(--x, -400px) var(--y, -400px); background: var(--bg-grouped); box-shadow: 0 40px 70px -30px rgba(0, 20, 60, .5);
  transition: opacity .35s, scale .7s var(--ease), rotate .9s var(--ease);
}
.service-preview.is-visible { opacity: 1; scale: 1; rotate: -4deg; }
.service-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ============ Prices ============ */
.price-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; align-items: start; }
.price__cost { flex: none; font: 500 14px/1 var(--font); color: var(--label-ter); white-space: nowrap; }
.price__cost b { font: 700 17px/1 var(--font); letter-spacing: -.03em; color: var(--label); font-variant-numeric: tabular-nums; }
.price__body { overflow: hidden; }
.price__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 2px 18px 22px 68px; }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.45; letter-spacing: -.015em; color: var(--label-2); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0, 122, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007aff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4 4L18.5 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 44px); margin-top: clamp(56px, 7vw, 88px); padding: clamp(20px, 3.4vw, 44px); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-card); }
.calc__head { margin-bottom: 26px; }
.calc__head .h3 { margin-top: 10px; }
.calc__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.calc__group + .calc__group { margin-top: 26px; }
.calc__group legend { padding-left: 4px; }
.calc__options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: var(--bg-grouped); font: 600 14.5px/1 var(--font); letter-spacing: -.015em; color: var(--label);
  transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease-spring);
}
.opt span:hover { background: #e8e8ed; }
.opt:active span { transform: scale(.95); }
.opt input:checked + span { background: var(--blue); color: #fff; box-shadow: 0 10px 20px -12px rgba(0, 122, 255, .9); }
.opt input:focus-visible + span { outline: 3px solid rgba(0, 122, 255, .45); outline-offset: 2px; }
.calc .list { background: var(--bg-grouped); box-shadow: none; }
.calc .list > .row + .row::before { background: rgba(60, 60, 67, .16); }
.toggle { cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.switch { position: relative; flex: none; width: 51px; height: 31px; border-radius: 99px; background: rgba(120, 120, 128, .16); transition: background-color .3s; }
.switch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 3px 1px rgba(0, 0, 0, .06); transition: transform .4s var(--ease-spring); }
.toggle input:checked + .switch { background: var(--green); }
.toggle input:checked + .switch::after { transform: translateX(20px); }
.toggle input:focus-visible + .switch { outline: 3px solid rgba(0, 122, 255, .45); outline-offset: 2px; }
.calc__result { position: relative; }
.calc__card { position: sticky; top: 96px; display: grid; gap: 10px; }
.calc__balance {
  position: relative; overflow: hidden; margin-bottom: 8px; padding: 26px 26px 28px; border-radius: 26px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #5e5ce6 0%, rgba(94, 92, 230, 0) 55%), linear-gradient(150deg, #2aabee 0%, #007aff 70%);
  box-shadow: 0 30px 60px -30px rgba(0, 90, 220, .7);
}
.calc__balance::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); }
.calc__label { font: 500 14px/1.2 var(--font); letter-spacing: -.01em; color: rgba(255, 255, 255, .78); }
.calc__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .22em; margin-top: 12px; font: 700 clamp(28px, 2.8vw, 40px)/1.12 var(--font); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc__price > span { white-space: nowrap; }
.calc__price.is-bump { animation: bump .55s var(--ease); }
@keyframes bump { 40% { transform: scale(1.035); } }
.calc__dash { opacity: .6; }
.calc__time { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.calc__time b { color: #fff; font-weight: 600; }
.calc__note { margin-top: 6px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--label-ter); }

/* ============ Process ============ */
.process__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.process__aside { position: sticky; top: 120px; }
.process__aside .h2 { margin-top: 14px; }
.steps { --pad: clamp(52px, 5.4vw, 72px); --rail: 21px; --p: 0; position: relative; display: grid; gap: 14px; padding-left: var(--pad); }
.steps::before, .steps::after { content: ''; position: absolute; left: var(--rail); top: 40px; bottom: 40px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--fill); }
.steps::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--p)); }
/* Each step becomes a stacking context while its reveal animation fills, so the step itself must sit
   above the rail for its number circle to cover the line. */
.step { position: relative; z-index: 1; display: block; padding: 24px 26px 26px; border-radius: 24px; background: var(--bg-grey); transition: background-color .5s, box-shadow .6s var(--ease); }
.step__num {
  position: absolute; z-index: 1; left: calc(var(--rail) - var(--pad) - 15px); top: 22px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 2px var(--fill); font: 700 14px/1 var(--font); color: var(--label-ter); transition: background-color .5s, color .5s, box-shadow .5s, transform .6s var(--ease-spring);
}
.step.is-active { background: #fff; box-shadow: var(--shadow-float); }
.step.is-active .step__num { background: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(0, 122, 255, .14); transform: scale(1.06); }
.step__title { margin-bottom: 6px; font: 700 21px/1.2 var(--font); letter-spacing: -.035em; color: var(--label); }
.step p { font-size: 15.5px; line-height: 1.5; color: var(--label-sec); }

/* ============ FAQ ============ */
.faq__inner { max-width: 860px; }
.qa .row__text b { font-size: 17px; }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 52px 20px 18px; font-size: 16px; line-height: 1.6; letter-spacing: -.015em; color: var(--label-sec); }

/* ============ Contact + Telegram chat ============ */
.contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 12vw, 170px) 0; }
.contact__glow { position: absolute; z-index: -1; right: -10%; top: 50%; width: min(980px, 130vw); aspect-ratio: 1; translate: 0 -50%; background: radial-gradient(closest-side, rgba(42, 171, 238, .22), rgba(0, 122, 255, .08) 55%, rgba(0, 122, 255, 0)); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.contact__title { margin-top: 14px; font: 700 clamp(44px, 6.6vw, 96px)/1 var(--font); letter-spacing: -.05em; color: var(--label); }
.contact__title .grad { display: inline; }
.contact__lead { max-width: 520px; margin-top: 22px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; letter-spacing: -.02em; color: var(--label-sec); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.handle { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 8px 12px; border-radius: 14px; transition: background-color .25s; }
.handle:hover { background: var(--fill-2); }
.handle__at { font: 700 22px/1 var(--font); letter-spacing: -.04em; color: var(--label); }
.handle__hint { font: 600 13px/1 var(--font); color: var(--blue); }
.chat {
  justify-self: center; width: min(400px, 100%); overflow: hidden; border-radius: 34px; background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06), 0 50px 90px -40px rgba(0, 40, 110, .45), 0 0 0 10px rgba(255, 255, 255, .6);
}
.chat__head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 14px 16px; background: rgba(247, 247, 247, .92); border-bottom: .5px solid rgba(0, 0, 0, .12); }
.chat__back svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transform: rotate(180deg); }
.chat__who { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.chat__who b { font: 600 16px/1.2 var(--font); letter-spacing: -.02em; color: var(--label); }
.chat__who small { font: 400 12.5px/1.2 var(--font); color: var(--label-ter); }
.chat__avatar { justify-self: end; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tg-grad); color: #fff; font: 800 13px/1 var(--font); letter-spacing: -.06em; }
.chat__avatar i { font-style: normal; }
.chat__body {
  display: flex; flex-direction: column; gap: 8px; min-height: 300px; padding: 20px 14px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .5) 0 2px, transparent 3px) 0 0 / 46px 46px,
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, .4) 0 1.5px, transparent 2.5px) 0 0 / 38px 38px,
    linear-gradient(160deg, #cfe6f9 0%, #dcedfa 45%, #e7f1e9 100%);
}
.bubble {
  position: relative; max-width: 80%; padding: 8px 12px 9px; border-radius: 18px; font-size: 15px; line-height: 1.38; letter-spacing: -.015em;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08); transform-origin: bottom right;
}
.bubble--out { align-self: flex-end; border-bottom-right-radius: 6px; background: linear-gradient(160deg, #3d9bf7, #2c84f2); color: #fff; }
.bubble--in { align-self: flex-start; border-bottom-left-radius: 6px; background: #fff; color: var(--label); transform-origin: bottom left; }
.bubble__time { display: inline-flex; align-items: center; gap: 3px; margin: 0 -2px -3px 8px; vertical-align: bottom; font-size: 11px; color: var(--label-ter); white-space: nowrap; }
.bubble--out .bubble__time { color: rgba(255, 255, 255, .78); }
.bubble__time svg { width: 15px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chat__typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 14px; border-radius: 18px; border-bottom-left-radius: 6px; background: #fff; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #aeaeb2; animation: dots 1.1s ease-in-out infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
/* Hidden messages take no space, so each new one lands right under the previous one. */
.js .chat .bubble:not(.is-shown), .chat__typing:not(.is-shown) { display: none; }
.js .chat .is-shown { animation: pop .55s var(--ease-spring) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.chat__input { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; background: rgba(247, 247, 247, .92); border-top: .5px solid rgba(0, 0, 0, .1); }
.chat__input span:first-child { flex: 1; height: 36px; padding: 0 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); font: 400 15px/36px var(--font); color: #aeaeb2; }
.chat__send { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; }
.chat__send svg { width: 17px; height: 17px; fill: currentColor; margin-left: -2px; }

/* ============ Footer ============ */
.footer { overflow: hidden; padding: 56px 0 26px; background: var(--bg-grey); border-top: .5px solid var(--sep); font-size: 14px; }
.footer__word { display: flex; justify-content: center; margin-bottom: 44px; user-select: none; font: 800 min(15vw, 200px)/.9 var(--font); letter-spacing: -.07em; color: #d9d9de; }
.footer__word span { display: inline-block; transition: transform .8s var(--ease-spring), color .4s; }
.footer__word span:hover { transform: translateY(-12%); color: var(--blue); }
.footer__word i { font-style: normal; color: var(--blue); }
.footer__top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 28px; padding-bottom: 28px; border-bottom: .5px solid var(--sep); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer__col a { color: var(--label-sec); transition: color .2s; }
.footer__col a:hover { color: var(--blue); }
.footer__label { margin-bottom: 4px; font: 600 13px/1 var(--font); color: var(--label); }
.footer__up { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); color: var(--blue); transition: transform .6s var(--ease), background-color .3s, color .3s; }
.footer__up:hover { transform: translateY(-4px); background: var(--blue); color: #fff; }
.footer__up svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-90deg); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; font-size: 12.5px; color: var(--label-ter); }

/* ============ Floating tab bar (phones) + toast ============ */
.tabbar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 320; padding: 13px 20px; border-radius: 999px;
  background: rgba(28, 28, 30, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; font: 600 14.5px/1 var(--font);
  white-space: nowrap; pointer-events: none; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); opacity: 0; transform: translate(-50%, 150%); transition: transform .6s var(--ease-spring), opacity .3s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============ Case sheet (iOS modal) ============ */
.case { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: var(--label-2); }
.case::backdrop { background: transparent; }
.case__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .32); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s; }
.case.is-open .case__overlay { opacity: 1; }
.case__sheet {
  position: absolute; left: 50%; bottom: 0; display: flex; flex-direction: column; width: min(1120px, 100%); height: calc(100% - 28px);
  translate: -50% 100%; border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .35); transition: translate .75s var(--ease);
}
.case.is-open .case__sheet { translate: -50% 0; }
.case__sheet:focus { outline: none; }
.case__grabber { position: absolute; left: 50%; top: 8px; z-index: 5; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: rgba(60, 60, 67, .3); }
.case__close { position: absolute; right: 18px; top: 18px; z-index: 5; width: 36px; height: 36px; border-radius: 50%; background: var(--fill); transition: background-color .25s, transform .6s var(--ease); }
.case__close span { position: absolute; left: 50%; top: 50%; width: 14px; height: 2.2px; margin: -1.1px 0 0 -7px; border-radius: 2px; background: #6e6e73; transform: rotate(45deg); }
.case__close span + span { transform: rotate(-45deg); }
.case__close:hover { background: rgba(118, 118, 128, .2); transform: rotate(90deg); }
.case__content { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(36px, 5vw, 60px) clamp(20px, 5vw, 68px) 64px; border-radius: inherit; }
.case__content > * { opacity: 0; transform: translateY(24px); }
.case.is-open .case__content.is-shown > * { animation: case-in .9s var(--ease) forwards; }
.case.is-open .case__content.is-shown > :nth-child(2) { animation-delay: .05s; }
.case.is-open .case__content.is-shown > :nth-child(3) { animation-delay: .1s; }
.case.is-open .case__content.is-shown > :nth-child(4) { animation-delay: .15s; }
.case.is-open .case__content.is-shown > :nth-child(5) { animation-delay: .2s; }
.case.is-open .case__content.is-shown > :nth-child(n+6) { animation-delay: .25s; }
@keyframes case-in { to { opacity: 1; transform: none; } }
.case__kicker { padding-right: 60px; font: 600 15px/1.3 var(--font); letter-spacing: -.01em; color: var(--blue); }
.case__title { margin-top: 10px; font: 700 clamp(40px, 6vw, 84px)/1 var(--font); letter-spacing: -.05em; color: var(--label); }
.case__lead { max-width: 760px; margin-top: 18px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; letter-spacing: -.02em; color: var(--label-sec); }
.case__visual { position: relative; overflow: hidden; height: clamp(340px, 44vw, 540px); margin-top: 36px; border-radius: 28px; background: var(--tint, var(--bg-grouped)); }
.case__visual .phone, .case__visual .browser { position: absolute; }
.case__visual--tsar { --tint: linear-gradient(160deg, #eef2f8, #d9e2ef); }
.case__visual--tsar .phone, .case__visual--cuprum .phone { --phone-w: clamp(190px, 21vw, 268px); left: 50%; top: 9%; translate: -50% 0; }
.case__crown { position: absolute; right: 16%; top: 12%; width: clamp(80px, 11vw, 150px); filter: drop-shadow(0 20px 20px rgba(60, 40, 10, .35)); animation: bob 5s ease-in-out infinite alternate; }
.case__visual--cuprum { --tint: linear-gradient(160deg, #eef7ef, #d4ead9); }
.case__visual--nova { --tint: linear-gradient(160deg, #e9f7fa, #cdebf2); }
.case__visual--devpool { --tint: linear-gradient(160deg, #f2f3f6, #dfe1e8); }
.case__visual--nova .browser, .case__visual--devpool .browser { left: 6%; top: 10%; width: 68%; }
.case__visual--nova .phone, .case__visual--devpool .phone { --phone-w: clamp(150px, 17vw, 226px); right: 8%; top: 15%; rotate: 4deg; }
.case__visual--ai { --tint: linear-gradient(160deg, #eff0ff, #dcdcfa); }
.case__visual--ai .ai-demo { position: absolute; left: 50%; top: 9%; bottom: -8%; width: min(560px, 84%); translate: -50% 0; }
.case__visual--vs { --tint: linear-gradient(160deg, #f6eff9, #e9d9ef); }
.case__visual--vs .browser { left: 50%; top: 9%; width: min(86%, 880px); translate: -50% 0; }
.case__visual--dierace { --tint: #eceef1; }
.case__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.case__visual--dierace .browser { right: 4%; bottom: 7%; width: 38%; }
.case__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.fact { padding: 22px 22px 24px; border-radius: 22px; background: var(--bg-grouped); }
.fact b { display: block; font: 800 clamp(26px, 2.6vw, 36px)/1 var(--font); letter-spacing: -.05em; background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.fact span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--label-sec); }
.case__cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 48px; }
.case__h { margin-bottom: 16px; font: 700 21px/1.2 var(--font); letter-spacing: -.035em; color: var(--label); }
.case__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.case__next {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; margin-top: 56px; padding: 22px 24px; border-radius: 22px;
  background: var(--bg-grouped); text-align: left; transition: background-color .3s;
}
.case__next small { display: block; margin-bottom: 6px; font: 500 14px/1 var(--font); color: var(--label-ter); }
.case__next strong { font: 700 clamp(22px, 2.6vw, 34px)/1.05 var(--font); letter-spacing: -.045em; color: var(--label); }
.case__next:hover { background: #e9e9ee; }
.case__next:hover .work__arrow { background: var(--blue); color: #fff; transform: rotate(45deg); }
html.has-modal { overflow: hidden; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --header-h: 56px; }
  .nav, .header__cta { display: none; }
  .tabbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 58;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px; border-radius: 30px;
    background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .7), 0 0 0 .5px rgba(0, 0, 0, .1), 0 14px 34px -12px rgba(0, 20, 60, .35);
    transition: transform .6s var(--ease);
  }
  .tabbar__item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 6px; border-radius: 24px; font: 600 10.5px/1.1 var(--font); letter-spacing: 0; color: #8e8e93; transition: color .25s, background-color .3s; }
  .tabbar__item svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar__item.is-active { color: var(--blue); background: rgba(0, 122, 255, .1); }
  .tabbar__item--tg { color: var(--blue); }
  .tabbar__item--tg svg { fill: currentColor; stroke: none; }
  html.has-modal .tabbar { transform: translateY(140%); }
  .footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero__stage { height: clamp(380px, 96vw, 560px); margin-top: 36px; }
  .stage__layer--center { --phone-w: clamp(176px, 42vw, 240px); }
  .stage__layer--left { left: 2%; top: 14%; --phone-w: clamp(130px, 31vw, 190px); }
  .stage__layer--right { right: 2%; top: 14%; --phone-w: clamp(130px, 31vw, 190px); }
  .stage__layer--badge1 { left: 0; top: 2%; }
  .stage__layer--badge2 { right: 0; top: 58%; }
  .services__inner, .process__inner, .contact__inner { grid-template-columns: 1fr; }
  .services__aside, .process__aside { position: static; }
  .calc { grid-template-columns: 1fr; }
  .calc__card { position: relative; top: 0; }
  .chat { justify-self: stretch; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  /* Sized so the widest rotating word («Telegram-ботов») fits a 320 px screen. */
  .hero__title { font-size: 11vw; }
  .works__grid { grid-template-columns: 1fr; }
  .work__media { aspect-ratio: 1 / 1.02; border-radius: 26px; }
  .work--wide .work__media { aspect-ratio: 4 / 3; }
  .work--tsar .work__phone, .work--cuprum .work__phone { --phone-w: 40%; }
  .work--nova .work__browser, .work--devpool .work__browser { width: 82%; top: 10%; }
  .work--nova .work__phone, .work--devpool .work__phone { --phone-w: 33%; top: 30%; }
  .work--vs .work__browser { top: 20%; }
  .work--ai .ai-demo { left: 7%; right: 7%; top: 9%; }
  .work--dierace .work__browser { width: 52%; right: 4%; bottom: 6%; }
  .price-groups { grid-template-columns: 1fr; gap: 28px; }
  .price__inner { padding-left: 18px; }
  .row { padding: 12px 16px; }
  .row:has(> .tile) { --sep-left: 64px; }
  .why__grid { grid-template-columns: 1fr; }
  .step { padding: 20px 20px 22px; }
  .qa__body p { padding-right: 18px; }
  .case__sheet { height: calc(100% - 12px); border-radius: 22px 22px 0 0; }
  .case__visual { height: 400px; border-radius: 22px; }
  .case__visual--nova .browser, .case__visual--devpool .browser { width: 86%; left: 5%; top: 7%; }
  .case__visual--nova .phone, .case__visual--devpool .phone { --phone-w: 150px; right: 6%; top: 30%; }
  .case__visual--dierace .browser { width: 56%; }
  .case__facts, .case__cols { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__up { grid-row: 1; grid-column: 2; justify-self: end; }
}
@media (max-width: 520px) {
  .stage__layer--badge1 { display: none; }
  .stage__layer--badge2 { top: auto; bottom: 26%; }
  .row { gap: 12px; }
  .tile { width: 32px; height: 32px; border-radius: 9px; }
  .tile svg { width: 18px; height: 18px; }
  .row:has(> .tile) { --sep-left: 60px; }
  .price__cost { font-size: 13px; }
  .price__cost b { font-size: 15.5px; }
  .row__text b { font-size: 16px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .glass-badge { padding: 7px 13px 7px 7px; font-size: 12.5px; }
  .glass-badge__icon { width: 26px; height: 26px; }
  .contact__actions .btn { width: 100%; }
  .segmented--block label > span { padding: 0 6px; font-size: 13.5px; }
}
@media (max-width: 360px) {
  .price__cost { font-size: 0; }
  .price__cost b { font-size: 15px; }
  .calc { padding: 16px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
