/* Prink's landing: the canvas's «D2», each section's ground the studio grey of its photo
   (design/landing/project/D2-Page.dc.html), its first screen «I · Рука и телефон» (I-Page.dc.html) and «Эскиз из любой
   картинки» its «K» (K-Page.dc.html). The drawn phones' screens are at the iPhone's 390×844 under `.screen`, scaled by `--k`. */

@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(fonts/Onest_400Regular.woff2) format('woff2'); }
@font-face { font-family: Onest; font-weight: 500; font-display: swap; src: url(fonts/Onest_500Medium.woff2) format('woff2'); }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(fonts/Onest_600SemiBold.woff2) format('woff2'); }
@font-face { font-family: Onest; font-weight: 700; font-display: swap; src: url(fonts/Onest_700Bold.woff2) format('woff2'); }
@font-face { font-family: Unbounded; font-weight: 700; font-display: swap; src: url(fonts/Unbounded_700Bold.woff2) format('woff2'); }
/* The faces «Надпись» shows in K's phone, each cut to the words it shows there (images.sh). */
@font-face { font-family: 'Great Vibes'; font-display: swap; src: url(fonts/GreatVibes.woff2) format('woff2'); }
@font-face { font-family: 'Marck Script'; font-display: swap; src: url(fonts/MarckScript.woff2) format('woff2'); }
@font-face { font-family: 'Bad Script'; font-display: swap; src: url(fonts/BadScript.woff2) format('woff2'); }
@font-face { font-family: Lobster; font-display: swap; src: url(fonts/Lobster.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url(fonts/CormorantGaramond.woff2) format('woff2'); }
@font-face { font-family: Jost; font-weight: 300; font-display: swap; src: url(fonts/Jost.woff2) format('woff2'); }
@font-face { font-family: UnifrakturMaguntia; font-display: swap; src: url(fonts/UnifrakturMaguntia.woff2) format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-display: swap; src: url(fonts/CourierPrime.woff2) format('woff2'); }
@font-face { font-family: 'Mrs Saint Delafield'; font-display: swap; src: url(fonts/MrsSaintDelafield.woff2) format('woff2'); }
@font-face { font-family: Sacramento; font-display: swap; src: url(fonts/Sacramento.woff2) format('woff2'); }
@font-face { font-family: Allura; font-display: swap; src: url(fonts/Allura.woff2) format('woff2'); }

:root {
  --ink: #141414;
  --ground: #A6A8A9;
  --plain: #A3A5A6;
  --text-2: #26292A;
  --text-3: #2E3133;
  --dark: #131211;
  --paper: #F2EDE6;
  --muted: #B5ADA4;
  --muted-2: #D9D2C9;
  --accent: #EB5E45;
  --wordmark: #B8331C;
  --rule: rgba(20, 20, 20, 0.18);
  --gutter: clamp(16px, 3.4vw, 48px);
  --gap-y: clamp(56px, 7vw, 104px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.5 Onest, system-ui, sans-serif;
  overflow-x: clip;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.is-dark :focus-visible { outline-color: var(--paper); }

h1, h2 { margin: 0; font-family: Unbounded, sans-serif; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(34px, 4vw, 58px); line-height: 1.06; }
h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.3vw, 19px); color: #1F2223; }
.small { font-size: 14px; color: var(--text-2); }

.band.is-hero { background: radial-gradient(ellipse 80% 90% at 70% 45%, #AAACAD, #96989A 90%); }
.band.is-plain { background: var(--plain); }
.band.is-studio { background: radial-gradient(ellipse 70% 90% at 60% 40%, #C4CCD0, #A9B3B8 85%); }
.band.is-dark { background: var(--dark); color: var(--paper); }
.band.is-get { background: radial-gradient(ellipse 70% 90% at 50% 20%, #B0B2B3, #9A9C9D 85%); }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }

/* The bar along the top. */
.bar { max-width: 1240px; margin: 0 auto; padding: 20px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.wordmark { font-family: Unbounded, sans-serif; font-weight: 700; font-size: 20px; }
.wordmark span { color: var(--wordmark); }
.wordmark.is-small { font-size: 16px; color: var(--ink); }
.bar-end { display: flex; align-items: center; gap: 8px; }
.pill {
  height: 44px; padding: 0 18px; border-radius: 22px; border: 0; background: var(--ink); color: #FFFFFF;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer;
}
.pill.is-outline { padding: 0 16px; border: 1px solid rgba(20, 20, 20, 0.3); background: none; color: var(--ink); font-size: 14px; }
.pill[hidden] { display: none; }

.lang { position: relative; }
.lang summary {
  height: 44px; padding: 0 12px; border-radius: 22px; border: 1px solid rgba(20, 20, 20, 0.3); display: flex; align-items: center;
  font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang ul {
  position: absolute; right: 0; top: 52px; z-index: 10; min-width: 170px; margin: 0; padding: 6px; list-style: none;
  border-radius: 14px; background: #F4F3F1; box-shadow: 0 12px 40px rgba(20, 22, 24, 0.25);
}
.lang a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.lang a:hover { background: rgba(20, 20, 20, 0.06); }
.lang a[aria-current] { font-weight: 600; }
.lang a[aria-current]::after { content: ' ✓'; color: var(--wordmark); }

.store {
  height: 56px; padding: 0 26px; border-radius: 28px; background: var(--ink); color: #FFFFFF; text-decoration: none;
  font-weight: 600; font-size: 17px; display: inline-flex; align-items: center; gap: 10px;
}
.store.is-soon { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* The first screen: the words and the beats of the demo, and the forearm large with the phone over its corner. */
.hero {
  padding-top: clamp(4px, 1vw, 16px); padding-bottom: clamp(40px, 4vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px clamp(32px, 4vw, 64px);
}
.hero-text { flex: 1 1 360px; min-width: 0; max-width: 500px; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { margin-bottom: -8px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.hero-text .lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--text-2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.devices { font-size: 14px; color: var(--text-3); }
.beats { margin-top: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.beats button {
  position: relative; min-height: 44px; padding: 14px 0; margin: 0; border: 0; border-top: 1px solid rgba(20, 20, 20, 0.2);
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 3px; opacity: 0.5; transition: opacity 300ms;
}
.beats button[aria-selected='true'] { opacity: 1; }
.beats .n { font-family: Unbounded, sans-serif; font-size: 12px; font-weight: 700; }
.beats b { font-size: 16px; font-weight: 700; line-height: 1.3; }
.beats b + span { font-size: 14px; line-height: 1.4; color: var(--text-3); }
.beats .progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.live { flex: 1 1 520px; min-width: 0; max-width: 680px; margin: 0; position: relative; }
.arm {
  position: relative; width: 84%; aspect-ratio: 696 / 928; overflow: hidden; isolation: isolate; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 84%, transparent); mask-image: radial-gradient(closest-side, #000 84%, transparent);
}
.arm > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.arm > .arm-old { opacity: 0; }
/* Each sketch's frames: what its ink takes from the photo, so the photo less it is the try-on. */
.ink { position: absolute; background-repeat: no-repeat; mix-blend-mode: difference; pointer-events: none; }
.arm-note {
  position: absolute; left: 50%; top: 14%; transform: translateX(-50%); white-space: nowrap; height: 30px; padding: 0 12px;
  border-radius: 15px; background: rgba(19, 18, 17, 0.74); color: var(--paper); font-size: 14px; font-weight: 600; line-height: 30px;
  opacity: 0; transition: opacity 250ms;
}
.arm-note.is-on { opacity: 1; }
.live figcaption { position: absolute; left: 0; bottom: 0; }
.round {
  width: 44px; height: 44px; padding: 0; border-radius: 22px; border: 1px solid rgba(20, 20, 20, 0.3); background: none; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.round[hidden] { display: none; }
.round .if-playing, .round.is-playing .if-paused { display: none; }
.round.is-playing .if-playing { display: block; }

/* The phones. */
.phone {
  --k: 0.6103;
  flex: none; width: 250px; height: 541px; padding: 6px; border-radius: 44px;
  background: #0A0908; box-shadow: inset 0 0 0 1.5px #3A3633;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: var(--dark); isolation: isolate; }
.phone.is-live {
  --k: 0.5897;
  position: absolute; right: 0; bottom: 0; width: 244px; height: 512px; padding: 7px;
  background: #0E0D0C; box-shadow: 0 34px 80px rgba(20, 22, 24, 0.5), inset 0 0 0 1.5px #3A3633;
}
.phone.is-live .phone-screen { border-radius: 37px; }
.phone.is-live .island { top: 6px; width: 56px; height: 16px; margin-left: -28px; border-radius: 8px; }
.phone.is-floating { background: #0E0D0C; box-shadow: 0 30px 70px rgba(20, 22, 24, 0.35); }
.island { position: absolute; top: 9px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 13px; background: #000000; }

.stack { padding-block: var(--gap-y); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.stack.is-wide { gap: clamp(32px, 4vw, 56px); }
.heading-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.heading-row h2 { flex: 1 1 380px; }
.heading-row p { flex: 1 1 380px; max-width: 520px; font-size: clamp(17px, 1.3vw, 19px); color: #1F2223; }
.is-dark .heading-row h2 { flex: 0 1 auto; }
.is-dark .heading-row p { flex: 0 1 460px; color: var(--muted); font-size: 17px; }

.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.pair figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pair img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; display: block; }
.pair figcaption { font-size: 15px; color: #1F2223; }

/* «Под одеждой». */
.clothes { padding-top: var(--gap-y); display: flex; flex-wrap: wrap-reverse; align-items: flex-end; gap: 32px clamp(32px, 5vw, 80px); }
.clothes-text { flex: 1 1 340px; min-width: 0; padding-bottom: clamp(32px, 6vw, 96px); display: flex; flex-direction: column; gap: 20px; }
.clothes-text .lead { color: #1F2326; }
.clothes-text .small { font-size: 15px; color: #2E3336; }
.clothes-figure { flex: 1 1 420px; min-width: 0; max-width: 600px; margin: 0; position: relative; }
.fade-edges {
  position: relative; width: 100%; aspect-ratio: 960 / 1200;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 10%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 10%);
  mask-composite: intersect;
}
.fade-edges img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fade-edges .was { opacity: 0; }
.clothes-figure.is-before .was { opacity: 1; }
.before {
  position: absolute; right: 12%; bottom: 20px; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 26px;
  background: rgba(19, 18, 17, 0.74); display: flex; align-items: center; justify-content: center; cursor: pointer;
  touch-action: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}

/* «В приложении»: four phones, scrolled sideways where they do not fit. */
.steps {
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(250px, 1fr)); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin;
}
.steps li { display: flex; flex-direction: column; gap: 16px; scroll-snap-align: start; }
.step { display: flex; flex-direction: column; gap: 4px; max-width: 250px; }
.step b { font-family: Unbounded, sans-serif; font-size: 13px; font-weight: 700; color: var(--accent); }
.step span { color: var(--muted-2); }

/* «Через месяц и через десять лет». */
.ages { padding-block: var(--gap-y); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px clamp(32px, 4vw, 64px); }
.ages-text { flex: 1 1 320px; min-width: 0; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.age-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; padding-top: 8px; }
.ages input { width: 100%; height: 32px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.ages-photo { flex: 1 1 320px; min-width: 0; max-width: 420px; position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; }
.ages-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 42%;
  transform: scale(1.9); transform-origin: 53% 45%; display: block;
}
.ages .phone { margin: 0 auto; }

.facts { padding-block: var(--gap-y); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 48px; }
.facts div { display: flex; flex-direction: column; gap: 10px; }
.facts h3 { margin: 0; font-size: 19px; font-weight: 700; }
.facts p { color: var(--muted); }

/* «Вопросы и ответы»: the heading and what Prink is on the left, staying in sight, the questions opening under each other
   on the right. Light after the dark facts, a hairline parting it from the grey of the end. */
.faq { padding-block: var(--gap-y); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 32px clamp(32px, 5vw, 80px); }
.faq-head { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 20px; }
.faq-head p { max-width: 460px; font-size: clamp(17px, 1.3vw, 19px); color: #1F2223; }
.faq-list { border-bottom: 1px solid var(--rule); }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item summary { min-height: 44px; padding: 18px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.35; }
.faq-mark { flex: none; position: relative; width: 24px; height: 24px; margin-top: 1px; }
.faq-mark::before, .faq-mark::after { content: ''; position: absolute; left: 5px; right: 5px; top: 11px; height: 2px; border-radius: 1px; background: currentColor; transition: transform 200ms; }
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }
.faq-item p { max-width: 640px; padding: 0 48px 22px 0; color: var(--text-2); }
.band.is-plain + .band.is-get { border-top: 1px solid var(--rule); }

.get { padding-block: clamp(64px, 8vw, 120px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.get h2 { font-size: clamp(30px, 3.6vw, 52px); }
.foot { border-top: 1px solid rgba(20, 20, 20, 0.15); }
.foot-row { padding-block: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* «Эскиз из любой картинки»: the canvas's «K · Телефон делает сам» (K-Page.dc.html), the phone playing its
   own loop (Cut-Phone.dc.html, `cut` in screens.mjs) with where the picture came from on its left and it on skin on its right. */
.band.is-dark + .band.is-dark { border-top: 1px solid rgba(242, 237, 230, 0.1); }
.any { padding-block: var(--gap-y); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px clamp(32px, 4vw, 64px); }
.any-text { flex: 1 1 360px; min-width: 0; max-width: 470px; display: flex; flex-direction: column; gap: 20px; }
.any-text .lead { color: var(--muted); }
.any-beats { margin-top: 8px; display: flex; flex-direction: column; }
.any-beats button {
  position: relative; min-height: 44px; padding: 14px 0; margin: 0; border: 0; border-top: 1px solid rgba(242, 237, 230, 0.16);
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 8px; opacity: 0.45; transition: opacity 300ms;
}
.any-beats button[aria-selected='true'] { opacity: 1; }
.any-beats .n { grid-row: span 2; font-family: Unbounded, sans-serif; font-size: 12px; font-weight: 700; line-height: 24px; color: var(--accent); }
.any-beats b { font-size: 17px; font-weight: 700; line-height: 1.4; }
.any-beats b + span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.any-beats .progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.is-dark .round { border-color: rgba(242, 237, 230, 0.3); color: var(--paper); }
.any-text .round { align-self: flex-start; }
.any-figure { flex: 1 1 520px; min-width: 0; max-width: 700px; height: 640px; margin: 0; position: relative; }
.phone.is-any {
  --k: 0.65641;
  position: absolute; left: 0; right: 0; top: 20px; margin: 0 auto; width: 270px; height: 568px; padding: 7px;
  background: #0E0D0C; box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px #3A3633;
}
.phone.is-any .phone-screen { border-radius: 39px; }
.phone.is-any .island { top: 7px; width: 62px; height: 18px; margin-left: -31px; border-radius: 9px; }
.any-src { position: absolute; left: 0; top: 70px; width: 200px; transform: rotate(-4deg); }
.any-skin { position: absolute; right: -20px; top: 250px; width: 210px; transform: rotate(3deg); }
.any-card { padding: 8px 8px 10px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.any-card.is-dark { padding: 8px; background: #2A2826; color: var(--paper); }
.any-card.is-dark > p { margin: 8px 4px 2px; font-size: 13px; font-weight: 600; }
.any-pic { position: relative; aspect-ratio: 1; border-radius: 11px; overflow: hidden; background: #FFFFFF; }
.any-pic.is-skin { aspect-ratio: 3 / 4; background: #C9C8C4; }
.any-pic > * { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 400ms; }
.any-pic > img { object-fit: cover; display: block; }
.any-pic > .is-whole { object-fit: contain; }
.any-pic > .is-on { opacity: 1; }
.any-ttf { background: #E7E2DA; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.any-ttf span {
  width: 58px; height: 72px; border-radius: 6px; background: #FFFFFF; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex; align-items: center; justify-content: center; font: 36px/1 Allura, cursive;
}
.any-ttf b { font-size: 13px; font-weight: 700; }
.any-cap { display: grid; margin: 8px 4px 0; }
.any-cap p { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: opacity 400ms, visibility 400ms; }
.any-cap p.is-on { opacity: 1; visibility: visible; }
.any-cap b { font-size: 13px; font-weight: 600; line-height: 1.3; }
.any-cap span { font-size: 12px; line-height: 1.3; color: #5C5F61; }

/* The privacy page. */
.band.is-page { min-height: 100vh; }
.prose { max-width: 760px; padding-top: clamp(16px, 4vw, 56px); padding-bottom: 96px; display: flex; flex-direction: column; gap: 18px; }
/* «Конфиденциальность» is one long word: on a phone it is set no larger than fits across. */
.prose h1 { margin-bottom: 8px; font-size: min(clamp(34px, 4vw, 58px), 6.2vw); overflow-wrap: break-word; }
.prose p { color: var(--text-2); }

/* The app's screens, at 390×844. */
.screen {
  position: absolute; left: 0; top: 0; width: 390px; height: 844px; overflow: hidden;
  transform: scale(var(--k)); transform-origin: 0 0;
  background: var(--dark); color: var(--paper); font: 400 15px/1.3 Onest, system-ui, sans-serif; text-align: left;
}
.screen svg { display: block; flex: none; }
.screen img { max-width: none; }
.s-header { position: absolute; left: 0; right: 0; top: 58px; height: 44px; padding: 0 12px 0 6px; display: flex; align-items: center; }
.s-header.is-result { top: 56px; height: 48px; padding: 0 8px 0 6px; gap: 4px; }
.s-header.is-list { left: 16px; right: 8px; top: 62px; padding: 0; justify-content: space-between; }
.s-header h3 { margin: 0; font-family: Unbounded, sans-serif; font-weight: 700; font-size: 28px; line-height: 34px; }
.s-icon { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.s-icon.is-dim { opacity: 0.35; }
.s-icon.is-red { color: #F28B78; }
.s-grow { flex: 1; }
.s-done { height: 36px; margin-left: 6px; padding: 0 16px; border-radius: 18px; background: var(--accent); color: #170D0A; font-size: 15px; font-weight: 600; line-height: 36px; }
.s-photo { position: absolute; left: 0; top: 138px; width: 390px; height: 520px; }
/* With «Цвет» up the glass is taller, and the photo fitted whole above it, 8 over it. */
.s-tryon.is-color .s-photo { left: 39px; top: 106px; width: 312px; height: 416px; }
.s-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; }
.s-photo img.is-on { opacity: 1; }
.s-box { position: absolute; pointer-events: none; }
.s-dash { position: absolute; inset: 0; border: 1.5px dashed var(--paper); border-radius: 6px; }
.s-grip { position: absolute; right: -14px; bottom: -14px; width: 28px; height: 28px; border-radius: 14px; background: var(--paper); display: flex; align-items: center; justify-content: center; }
.s-before { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 22px; background: rgba(19, 18, 17, 0.74); display: flex; align-items: center; justify-content: center; }
.s-glass { position: absolute; left: 16px; right: 16px; bottom: 26px; border-radius: 32px; overflow: hidden; background: rgba(30, 28, 27, 0.92); border: 1px solid #3A3633; display: flex; flex-direction: column; }
.s-layers { height: 62px; padding: 0 9px 0 10px; display: flex; align-items: center; gap: 10px; }
.s-tile { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #ECE6DC; display: flex; align-items: center; justify-content: center; }
.s-tile img { width: 34px; height: 34px; object-fit: contain; display: block; }
.s-tile.is-photo { overflow: hidden; background: none; }
.s-tile.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.s-tile.is-picked { box-shadow: 0 0 0 2px #1E1C1B, 0 0 0 4px var(--accent); }
.s-rule { width: 1px; height: 28px; flex: none; margin: 0 2px; background: #3A3633; }
.s-plus { width: 44px; height: 44px; flex: none; border-radius: 22px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.s-plus.is-tab { width: 48px; height: 48px; flex: none !important; border-radius: 24px; }
.s-hairline { height: 1px; background: #3A3633; }
.s-verbs { position: relative; height: 60px; }
.s-verbs-row { height: 60px; padding: 0 4px; display: flex; align-items: center; overflow: hidden; }
.s-verb { width: 60px; height: 52px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 500; line-height: 1.1; text-align: center; white-space: nowrap; }
.s-verb.is-tool { width: 64px; height: 56px; }
.s-fade { position: absolute; right: 0; top: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(30, 28, 27, 0), #1E1C1B); }
.s-panel { padding: 10px 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.s-panel-head { display: flex; align-items: center; justify-content: space-between; height: 28px; font-size: 15px; font-weight: 600; }
.s-swatches { display: flex; justify-content: space-between; }
.s-swatches span { width: 34px; height: 34px; border-radius: 17px; }
.s-swatches .is-picked { box-shadow: 0 0 0 2px #1E1C1B, 0 0 0 4px var(--accent); }
.s-setting { display: flex; flex-direction: column; gap: 6px; }
.s-setting-head { display: flex; justify-content: space-between; font-size: 13px; }
.s-setting-head b { font-weight: 600; }
.s-setting-head span { color: var(--muted); }
.s-setting-head .is-value { color: var(--paper); }
.s-track { position: relative; height: 22px; }
.s-track::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 2px; background: #3A3633; }
.s-fill { position: absolute; left: 0; top: 10px; height: 3px; border-radius: 2px; background: var(--accent); width: calc(11px + (100% - 22px) * var(--p)); }
.s-knob { position: absolute; top: 0; width: 22px; height: 22px; margin-left: -11px; border-radius: 11px; background: var(--paper); left: calc(11px + (100% - 22px) * var(--p)); }
.s-title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.s-title b { font-size: 16px; font-weight: 600; line-height: 20px; }
.s-title span { font-size: 12px; line-height: 16px; color: var(--muted); }
.s-shot { position: absolute; left: 0; top: 112px; width: 390px; height: 488px; }
.s-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.s-shot .s-was { opacity: 0; }
.s-result.is-before .s-was { opacity: 1; }
.s-strip { position: absolute; left: 0; right: 0; top: 628px; height: 64px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.s-strip img { width: 38px; height: 48px; object-fit: cover; border-radius: 6px; opacity: 0.8; }
.s-strip .is-here { width: 48px; height: 60px; border-radius: 8px; margin: 0 4px; opacity: 1; box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px var(--accent); }
.s-pill { position: absolute; left: 16px; right: 16px; bottom: 26px; height: 64px; padding: 0 10px; border-radius: 32px; background: rgba(30, 28, 27, 0.92); border: 1px solid #3A3633; display: flex; align-items: center; justify-content: space-between; }
.s-pill .s-icon { width: 52px; height: 48px; }
.s-lists { position: absolute; left: 16px; right: 16px; top: 120px; display: flex; flex-direction: column; gap: 12px; }
.s-lists h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.s-lists h4 + .s-grid + h4 { margin-top: 8px; }
.s-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.s-grid.is-loose { gap: 14px 10px; }
.s-sketch { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted-2); }
.s-sketch span { aspect-ratio: 1 / 1; min-height: 0; overflow: hidden; border-radius: 12px; background: #ECE6DC; display: flex; align-items: center; justify-content: center; }
.s-sketch img { width: 78%; height: 78%; object-fit: contain; }
.s-sketch.is-picked { color: var(--paper); font-weight: 600; }
.s-sketch.is-picked span { box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px var(--accent); }
.s-tabs { position: absolute; left: 16px; right: 16px; bottom: 26px; height: 64px; padding: 0 8px 0 14px; border-radius: 32px; background: rgba(30, 28, 27, 0.92); border: 1px solid #3A3633; display: flex; align-items: center; gap: 4px; }
.s-tabs > span { flex: 1; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--muted-2); }
.s-tabs > .is-here { font-weight: 600; color: var(--accent); }
.s-chequer {
  position: absolute; left: 30px; top: 120px; width: 330px; height: 495px; border-radius: 4px; overflow: hidden;
  background-color: #E7E2DA; background-image: conic-gradient(#D3CDC4 25%, transparent 0 50%, #D3CDC4 0 75%, transparent 0); background-size: 24px 24px;
  display: flex; align-items: center; justify-content: center;
}
.s-chequer > img { width: 64%; height: 84%; object-fit: contain; display: block; }
.s-note { position: absolute; left: 28px; right: 28px; top: 632px; margin: 0; font-size: 13px; line-height: 18px; color: var(--muted); text-align: center; }
.s-note b { color: var(--paper); font-weight: 600; }
/* The first screen's phone: the try-on and Результат over it, both played by main.js, and the finger. */
.s-layer { position: absolute; inset: 0; }
.s-live .screen { transform: none; }
.s-photo.is-live { overflow: hidden; isolation: isolate; }
.s-was-label { position: absolute; right: 64px; bottom: 20px; height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(19, 18, 17, 0.74); color: var(--paper); font-size: 14px; font-weight: 600; line-height: 28px; opacity: 0; }
.s-before.is-pressed { background: rgba(235, 94, 69, 0.92); }
.s-glass.is-live { height: 123px; }
.s-lower { position: relative; flex: none; height: 228px; }
.s-lower > * { position: absolute; left: 0; right: 0; top: 0; }
.s-live .s-setting-head { height: 20px; align-items: center; }
.s-saved { position: absolute; left: 98px; top: 762px; width: 52px; height: 48px; border-radius: 16px; background: #1E1C1B; display: flex; align-items: center; justify-content: center; opacity: 0; }
.s-finger, .s-ring { position: absolute; left: 0; top: 0; border-radius: 50%; opacity: 0; pointer-events: none; }
.s-finger {
  width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(255, 255, 255, 0.34); border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(255, 255, 255, 0.35);
}
.s-ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 2px solid #FFFFFF; }
.s-glass.is-tools { height: 72px; padding: 0 6px; border-radius: 36px; flex-direction: row; align-items: center; justify-content: space-between; }
/* K's phone: «Убираем фон» on the paper, the lion and «Чётче», and «Надпись» in a sheet over it all, played by main.js. */
.s-board {
  position: absolute; left: 30px; top: 120px; width: 330px; height: 495px; border-radius: 4px; overflow: hidden;
  background-color: #E7E2DA; background-image: conic-gradient(#D3CDC4 25%, transparent 0 50%, #D3CDC4 0 75%, transparent 0); background-size: 24px 24px;
}
.s-tropics { position: absolute; left: 0; top: 82px; width: 330px; height: 330px; }
.s-tropics img, .s-lion img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.s-tropics [data-sig] { clip-path: inset(0 0 0 69%); }
.s-scan { position: absolute; left: 0; top: 82px; width: 100%; height: 0; opacity: 0; }
.s-scan::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(235, 94, 69, 0), rgba(235, 94, 69, 0.16)); }
.s-scan::after { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); box-shadow: 0 0 10px rgba(235, 94, 69, 0.8); }
.s-lion { position: absolute; left: 3px; top: 32px; width: 324px; height: 430px; opacity: 0; }
.s-lion > img { mix-blend-mode: multiply; }
.s-sharp {
  position: absolute; inset: 0; clip-path: inset(0 100% 0 0);
  background-color: #E7E2DA; background-image: conic-gradient(#D3CDC4 25%, transparent 0 50%, #D3CDC4 0 75%, transparent 0); background-size: 24px 24px; background-position: -3px -32px;
}
.s-brush { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 13px; border: 2px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5); opacity: 0; }
.s-hints { position: absolute; left: 24px; right: 24px; top: 632px; }
.s-hints p { position: absolute; left: 0; right: 0; top: 0; margin: 0; font-size: 13px; line-height: 18px; color: var(--muted); text-align: center; opacity: 0; transition: opacity 200ms; }
.s-hints b { color: var(--paper); font-weight: 600; }
.s-hints .is-on { opacity: 1; }
.s-glass.is-cut { height: 72px; border-radius: 36px; }
.s-row { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; opacity: 0; transition: opacity 200ms; }
.s-row.is-on { opacity: 1; }
.s-row.is-tools { padding: 0 6px; gap: 0; justify-content: space-between; }
.s-row.is-brush { padding: 0 10px 0 12px; }
.s-row.is-sharp { padding: 0 10px 0 16px; }
.s-row.is-sharp > span:not([class]) { flex: none; font-size: 12px; color: var(--muted); }
.s-verb.is-tool { border-radius: 16px; }
.s-verb.is-pressed { background: rgba(242, 237, 230, 0.14); }
.s-seg { height: 40px; padding: 3px; border-radius: 20px; background: var(--dark); display: flex; font-size: 14px; font-weight: 600; }
.s-seg span { padding: 0 16px; border-radius: 17px; line-height: 34px; color: var(--muted); }
.s-seg .is-on { background: var(--paper); color: var(--dark); }
.s-tick { width: 44px; height: 44px; flex: none; border-radius: 22px; background: var(--paper); color: var(--dark); display: flex; align-items: center; justify-content: center; }
.s-thin { position: relative; flex: 1; height: 4px; border-radius: 2px; background: #3A3633; }
.s-thin::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); border-radius: 2px; background: var(--paper); }
.s-thin::after { content: ''; position: absolute; left: calc(var(--p) * 100%); top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 12px; background: var(--paper); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.s-dim { position: absolute; inset: 0; background: #000000; opacity: 0; }
.s-sheet { position: absolute; left: 0; right: 0; top: 54px; bottom: 0; border-radius: 12px 12px 0 0; background: #1E1C1B; transform: translateY(800px); overflow: hidden; }
.s-sheet-head { height: 52px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font-size: 16px; }
.s-sheet-head span { color: var(--muted); }
.s-sheet-head .is-accent { color: var(--accent); font-weight: 700; }
.s-words { position: absolute; left: 16px; right: 16px; top: 64px; height: 116px; display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; }
.s-words [data-typed] { line-height: 1; }
.s-caret { display: inline-block; flex: none; width: 2px; height: 44px; margin-left: 3px; background: var(--accent); animation: s-blink 1s steps(1) infinite; }
@keyframes s-blink { 50% { opacity: 0; } }
.s-own { position: absolute; left: 16px; right: 16px; top: 198px; height: 46px; border-radius: 14px; border: 1.5px dashed #6E6862; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; }
.s-face {
  position: absolute; width: 171px; height: 60px; border-radius: 14px; background: var(--dark); border: 1px solid #3A3633;
  display: flex; flex-direction: column; align-items: center; justify-content: center; transition: left 400ms, top 400ms, opacity 400ms;
}
.s-face.is-picked { border: 2px solid var(--accent); }
.s-face > span { line-height: 1.1; white-space: nowrap; }
.s-face small { font-size: 10px; line-height: 1.3; color: var(--muted); }
.s-sheet-fade { position: absolute; left: 0; right: 0; top: 440px; height: 70px; background: linear-gradient(rgba(30, 28, 27, 0), #1E1C1B); }
.s-keys { position: absolute; left: 0; right: 0; top: 494px; bottom: 0; padding: 8px 3px 0; background: #2A2826; display: flex; flex-direction: column; gap: 11px; }
.s-keys div { display: flex; justify-content: center; gap: 6px; }
.s-keys span { width: 32px; height: 42px; border-radius: 5px; background: #4A4744; box-shadow: 0 1px 0 #0D0C0B; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.s-keys .is-wide { width: 86px; background: #363431; font-size: 16px; }
.s-keys .is-space { width: 186px; }
.s-toast { position: absolute; left: 50%; top: 446px; transform: translateX(-50%); height: 32px; padding: 0 14px; border-radius: 16px; background: var(--paper); color: var(--dark); font-size: 13px; font-weight: 600; line-height: 32px; white-space: nowrap; opacity: 0; transition: opacity 200ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beats button, .arm-note, .any-beats button, .any-pic > *, .any-cap p, .s-hints p, .s-row, .s-face, .s-toast, .faq-mark::after { transition: none; }
  .s-caret { animation: none; }
}

/* One column: the forearm and the phone straight after the button, the beats under them, and room under the
   forearm for the phone's foot, so it stands on the background and not on the band at the wrist. */
@media (max-width: 1000px) {
  .hero { flex-direction: column; align-items: stretch; gap: 22px; }
  .hero-text { display: contents; }
  .hero .lead { max-width: 560px; }
  .live { order: 1; flex: none; width: 100%; margin: 10px auto 0; padding-bottom: 200px; }
  .beats { order: 2; margin-top: 0; }
  .phone.is-live { zoom: 0.85; }
  .any { flex-direction: column; align-items: stretch; gap: 22px; }
  .any-text { display: contents; }
  .any-text .lead { max-width: 560px; }
  .any-figure { order: 1; flex: none; width: 100%; margin: 10px auto 0; }
  .any-beats { order: 2; margin-top: 0; }
  .any-text .round { order: 3; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
}
/* On a phone the slider and the photo are the section; the phone beside them would be a screen further down. */
@media (max-width: 720px) {
  .ages .phone { display: none; }
}
/* K's phone smaller on the left and the two cards in a column on its right, none over another: overlapping as on the
   canvas, they hid the card's words and the phone's notes. Scaled, not zoomed, as zoom scales the phone's 50 % too. */
@media (max-width: 640px) {
  .any-figure { height: 520px; }
  .phone.is-any { top: 10px; right: auto; left: calc(50% - 179px); margin: 0; transform: scale(0.86); transform-origin: 0 0; }
  .any-src, .any-skin { width: 124px; left: calc(50% + 56px); right: auto; }
  .any-src { top: 0; transform: rotate(3deg); }
  .any-skin { top: 250px; transform: rotate(-3deg); }
}
@media (max-width: 560px) {
  .live { padding-bottom: 150px; }
  .phone.is-live { zoom: 0.62; }
  .faq-item h3 { font-size: 17px; }
  .faq-item p { padding-right: 0; }
}
