:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #101418;
  --muted: #5b636b;
  --line: #e2e9ed;
  --grid: rgba(16, 20, 24, 0.05);
  --blue: #1e9cf0;
  --blue-ink: #ffffff;
  --soft: #f4f8fa;
  /* one light design: white cards must not get light text on a system in dark mode */
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
/* the fallback font takes the same room as Onest, so text does not reflow when the web font arrives */
@font-face { font-family: "Onest Fallback"; src: local("Arial"); size-adjust: 105%; ascent-override: 101%; descent-override: 28%; line-gap-override: 0%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 17px/1.6 "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }

/* Glass material (white Liquid Glass): milky fill, bright rim, soft inner light */
.glass-pill, .glass-card, .btn.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.52));
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(20,60,110,.12), inset 0 2px 1px #fff, inset 0 -3px 8px rgba(255,255,255,.6);
}

/* Header sits right on the blue band, like the reference: white logo, a translucent pill with
   the sections (the current one in white), a thin outlined button on the right. No boxes. */
.top {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50; transition: padding .25s ease, background-color .25s ease, box-shadow .25s ease; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1320px; margin: 0 auto; padding: 24px 40px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.logo svg { width: 26px; height: 26px; stroke-width: 2.2; }
.top .logo { min-height: 44px; }
/* the bar appears behind the header; the header keeps its size so nothing shifts */
.top::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; opacity: 0; transition: opacity .25s ease;
  background: rgba(22,140,226,.86); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 10px 30px rgba(10,60,110,.22); pointer-events: none; }
.top.stuck::before { opacity: 1; }
.top nav { display: flex; gap: 2px; padding: 4px; border-radius: 16px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top nav a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 500; color: #fff; padding: 8px 16px; border-radius: 12px; }
.top nav a:hover { background: rgba(255,255,255,.16); }
.top nav a.on { background: #fff; color: var(--blue); box-shadow: 0 4px 14px rgba(10,60,110,.18); }

/* Hero: one big glass screen with a blue band on top, like a product page of the look */
.hero { position: relative; padding: 0 24px 40px; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 620px; z-index: -1;
  background: radial-gradient(50% 60% at 20% 0%, #0b78d0 0%, transparent 70%), radial-gradient(45% 55% at 85% 0%, #2f8ff0 0%, transparent 70%),
    linear-gradient(180deg, #1e9cf0 0px, #1e9cf0 110px, #7cc7f8 230px, #e4f2fc 380px, #f6f9fc 520px); }
.hero-panel { max-width: 1320px; margin: 0 auto; padding: 112px 16px 20px; display: grid; grid-template-columns: 1.05fr 1.1fr .95fr; gap: 28px; align-items: center; }
.h-look { position: relative; align-self: stretch; min-height: 640px; }
.h-look::before { content: ""; position: absolute; left: 8%; right: 8%; top: 14%; bottom: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.h-look::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 142px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(16,50,90,.22), transparent); }
.h-copy { position: relative; z-index: 2; }
/* the studio backdrop of the photo melts into the band: multiply drops its white, soft edges hide the rest */
.model { position: absolute; left: 0; bottom: 116px; z-index: 1; width: 100%; height: calc(100% - 156px); object-fit: contain; filter: drop-shadow(0 24px 30px rgba(16,50,90,.18)); }
/* the green crystal floating over the head: bobs, turns slowly, glows */
.gem { position: absolute; left: 50%; top: -22px; width: 40px; height: 72px; margin-left: -20px; z-index: 3; animation: gem-bob 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(80,230,110,.75)) drop-shadow(0 6px 10px rgba(10,110,46,.35)); }
.gem svg, .fin-gem svg { width: 100%; height: 100%; display: block; }
@keyframes gem-bob { 50% { transform: translateY(-8px); } }
.orbit { position: absolute; left: 6%; right: 6%; top: auto; bottom: 104px; height: 70px; border: 1.5px solid rgba(255,255,255,.95); border-radius: 50%; border-top-color: transparent; filter: drop-shadow(0 2px 6px rgba(20,60,110,.2)); }
.orbit-pill { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: rgba(28,30,40,.72); color: #fff; font-size: 13px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.orbit i { position: absolute; left: 50%; bottom: -26px; width: 12px; height: 12px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(30,156,240,.35); }
/* item chips orbiting the person: crops of the same photo, so they always match the look */
.chips { position: absolute; left: 6%; right: 6%; top: auto; bottom: 8px; height: 140px; z-index: 2; }
.chip { position: absolute; left: var(--x); top: calc(var(--y) * 1px); width: 74px; height: 74px; transform: translateX(-50%); border-radius: 20px;
  background-color: #fff; background-image: url(/web/img/hero.webp); background-repeat: no-repeat; border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 12px 26px rgba(20,60,110,.18); animation: float 4s ease-in-out infinite; animation-delay: calc(var(--z) * -.7s); }
.chip.on { width: 88px; height: 88px; box-shadow: 0 0 0 3px var(--blue), 0 16px 30px rgba(30,156,240,.35); z-index: 2; }
@keyframes float { 50% { transform: translate(-50%, -8px); } }
.c-hat { background-position: 50% 2.2%; background-size: 1000%; }
.c-glasses { background-position: 50% 8.6%; background-size: 1100%; }
.c-jacket { background-position: 50% 26%; background-size: 260%; }
.c-pants { background-position: 50% 75%; background-size: 260%; }
.c-shoes { background-position: 50% 95.8%; background-size: 500%; }
.tryline { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52,199,89,.2); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52,199,89,.05); } }

.h-copy { text-align: left; }
.tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--blue) 45%, transparent); color: var(--blue); font-size: 13px; font-weight: 600; background: rgba(255,255,255,.6); }
h1 { font-size: clamp(42px, 4.6vw, 70px); line-height: 1.03; font-weight: 600; letter-spacing: -.04em; margin: 0 0 20px; }
/* the key word in white, lifted by a soft blue shadow so it reads on every shade of the band */
h1 em { font-style: normal; color: #fff; text-shadow: 0 2px 0 rgba(10,80,160,.18), 0 10px 30px rgba(10,80,160,.45); }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink); margin: 0 0 20px; opacity: .8; max-width: 520px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1;
  padding: 16px 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer;
}
.btn.primary { background: linear-gradient(180deg, #3fb0f5, var(--blue)); border-color: var(--blue); color: var(--blue-ink); box-shadow: 0 10px 24px rgba(30,156,240,.35), inset 0 1px 0 rgba(255,255,255,.45); }
.btn.primary:hover { filter: brightness(1.06); }
.btn:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.btn.small { padding: 12px 16px; font-size: 14px; border-radius: 14px; }
.btn:focus-visible, nav a:focus-visible, summary:focus-visible, .logo:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.h-card { border-radius: 28px; padding: 24px; background: #fff; box-shadow: 0 30px 70px rgba(16,50,90,.16), 0 2px 6px rgba(16,50,90,.06); border: 1px solid rgba(16,20,24,.04); }
.h-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 16px; }
.h-card h2 small { font-weight: 400; color: var(--muted); }
.look-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.look-list li { display: flex; align-items: center; gap: 12px; }
.look-list .th { width: 52px; height: 52px; border-radius: 14px; flex: none; background-color: #fff; background-image: url(/web/img/hero.webp); background-repeat: no-repeat; background-size: 330%; box-shadow: 0 0 0 1px rgba(16,20,24,.06); }
.look-list .c-hat { background-size: 1000%; } .look-list .c-glasses { background-size: 1100%; } .look-list .c-jacket { background-size: 260%; } .look-list .c-pants { background-size: 260%; } .look-list .c-shoes { background-size: 500%; }
.look-list li > span:nth-child(2) { flex: 1; display: grid; font-size: 14.5px; }
.look-list small { color: var(--muted); font-size: 13px; }
.look-list em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--blue); }
@media (max-width: 1100px) {
  .hero-panel { grid-template-columns: 1fr 1fr; }
  .h-card { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero-panel { grid-template-columns: 1fr; padding: 96px 20px 24px; }
  .h-look { min-height: 600px; }
}
@media (prefers-reduced-motion: reduce) { .chip, .dot, .gem { animation: none; } }

main { overflow-x: clip; }
/* Page: soft blue light behind the glass blocks */
body { background: radial-gradient(40% 30% at 0% 55%, rgba(30,156,240,.12), transparent 70%), radial-gradient(35% 28% at 100% 78%, rgba(90,168,255,.14), transparent 70%), #f6f9fc; }
.block { max-width: 1240px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 4px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--blue);
  border: 1px solid color-mix(in srgb, var(--blue) 40%, transparent); background: rgba(255,255,255,.7); }
.block > h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 16px; }
.block > h2 em { font-style: normal; color: var(--blue); }
.block > h2 + p, .block > .sub { color: var(--muted); max-width: 680px; margin: 0 auto 36px; }
h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -.01em; }
.glass-tile, .v-grid > li, .grid article, .split > div, .plan, #faq details {
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.62));
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255,255,255,.95); box-shadow: 0 14px 36px rgba(20,60,110,.09), inset 0 2px 1px #fff, inset 0 -3px 8px rgba(255,255,255,.6);
  transition: transform .35s cubic-bezier(.3,1.4,.5,1), box-shadow .3s ease;
}

/* Features: bento of glass tiles with a blue icon */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 0; text-align: left; }
.grid article { border-radius: 26px; padding: 24px; }
.grid article.wide { grid-column: span 2; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }

/* Install: two glass cards; the code sits in a dark glass well */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 0; text-align: left; }
.split > div { border-radius: 28px; padding: 28px; }
.split h3 { font-size: 22px; margin: 0 0 12px; }
.split p { color: var(--muted); }
.muted { color: var(--muted); }
.code { background: rgba(16,24,36,.9); color: #dbeafe; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px; overflow-x: auto; font-size: 13px; margin: 0 0 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }

/* Pricing: glass plans; the featured one glows blue */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 0; text-align: left; align-items: stretch; }
.plan { position: relative; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.plan.featured { border: 2px solid var(--blue); box-shadow: 0 24px 50px rgba(30,156,240,.25), inset 0 2px 1px #fff; background: linear-gradient(180deg, rgba(232,245,254,.95), rgba(255,255,255,.75)); }
.plan-tag { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(180deg, #3fb0f5, var(--blue)); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 6px 14px rgba(30,156,240,.35); }
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 600; margin: 0; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 15px; flex: 1; display: grid; gap: 8px; align-content: start; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(30,156,240,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%231e9cf0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* FAQ: glass accordion with a turning plus */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
#faq details { margin: 0; border-radius: 22px; padding: 0; text-align: left; }
summary { cursor: pointer; font-weight: 600; list-style: none; padding: 20px 64px 20px 24px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(30,156,240,.12); color: var(--blue); font-size: 20px; font-weight: 600; transition: transform .3s ease; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); margin: 0; padding: 0 24px 20px; }

/* Section header like the reference: title on the left, a short line on the right */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; margin: 0; }
.sec-head h2 em { font-style: normal; color: var(--blue); }
.sec-head > p { max-width: 340px; margin: 0; color: var(--muted); font-size: 14.5px; text-align: right; }

/* "Где купить": copy left, product card right, a huge faded word under the copy */
.buy-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; text-align: left; border-radius: 36px; background: linear-gradient(180deg, #eef6fd, #f6f9fc); margin-top: 20px; padding: 64px; max-width: 1240px; }
.bs-copy { position: relative; }
.bs-copy .btn { position: relative; z-index: 1; }
.bs-copy h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 16px; }
.bs-copy h2 em { font-style: normal; color: var(--blue); }
.bs-copy > p:not(.eyebrow) { color: var(--muted); max-width: 520px; margin: 0 0 24px; }
.bs-card { position: relative; border-radius: 30px; padding: 16px; background: #fff; box-shadow: 0 30px 60px rgba(20,60,110,.14); }
.slide { display: none; margin: 0; }
.slide.on { display: block; animation: slide-in .5s cubic-bezier(.3,1.2,.5,1); }
@keyframes slide-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.slide img { display: block; width: 100%; height: auto; aspect-ratio: 880 / 1168; max-height: 620px; object-fit: cover; border-radius: 22px; background: #eef5fc; }
.slide figcaption { display: grid; padding: 16px 8px 4px; }
.slide figcaption small { color: var(--muted); }
.bs-dots { position: absolute; right: -22px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.bs-dots button { all: unset; cursor: pointer; width: 12px; height: 12px; border-radius: 50%; background: #c9dcec; transition: height .25s ease, background .25s ease; }
.bs-dots button.on { background: var(--ink); height: 28px; border-radius: 6px; }
.bs-dots button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* "Увидьте на себе": a browser with a shop page and our window floating over it */
.browser { margin: 0 auto; max-width: 980px; border-radius: 22px; background: #fff; box-shadow: 0 40px 80px rgba(20,60,110,.18); overflow: hidden; transform: perspective(1600px) rotateX(6deg); }
.br-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f3f6f9; border-bottom: 1px solid #e6edf3; }
.br-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.br-bar i:nth-child(2) { background: #febc2e; } .br-bar i:nth-child(3) { background: #28c840; }
.br-bar span { margin: 0 auto; padding: 4px 40px; border-radius: 10px; background: #fff; font-size: 12px; color: var(--muted); }
.br-body { position: relative; padding: 24px; min-height: 380px; }
/* the shop sells exactly what the man in the window is wearing */
.br-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 60%; }
.br-item { display: grid; gap: 2px; text-align: left; font-size: 12.5px; }
.br-item i { display: block; aspect-ratio: 4 / 3; border-radius: 14px; background: #eef5fc center / cover no-repeat; }
.br-item b { margin-top: 8px; }
.br-item em { font-style: normal; font-size: 11px; color: var(--blue); font-weight: 600; }
.br-mirror { position: absolute; right: 26px; top: 18px; bottom: 18px; width: 31%; border-radius: 26px; padding: 8px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,.95), rgba(240,243,248,.8)); box-shadow: 0 24px 50px rgba(20,60,110,.25), 0 0 50px rgba(150,180,255,.35); }
.brm-cam { position: absolute; inset: 6px 6px 18px; border-radius: 21px; background: #e3eef9 url(/web/img/hero.webp) center 20% / 125% no-repeat; }
.brm-pill { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap;
  background: rgba(255,255,255,.85); box-shadow: 0 4px 12px rgba(20,60,110,.12); }
.brm-card { position: absolute; left: 14px; right: 14px; bottom: 28px; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 16px; font-size: 11.5px; font-weight: 600;
  background: rgba(255,255,255,.88); box-shadow: 0 6px 16px rgba(20,60,110,.15); }
.brm-card i { width: 32px; height: 32px; border-radius: 10px; flex: none; background-color: #fff; background-image: url(/web/img/hero.webp); background-repeat: no-repeat; }
.brm-card em { margin-left: auto; font-style: normal; padding: 4px 8px; border-radius: 999px; background: rgba(28,28,30,.07); font-size: 10.5px; }

/* Final, like the reference: a compact blue CTA card (copy + button left, the cut-out person right,
   cropped by the card bottom), then a slim footer row on the page background. */
.final { max-width: 1240px; margin: 40px auto 0; padding: 0 24px 28px; }
.fin-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; min-height: 380px; border-radius: 32px; color: #fff;
  background: radial-gradient(60% 90% at 78% 40%, rgba(255,255,255,.38), transparent 60%), linear-gradient(135deg, #0b6fc7 0%, #1e9cf0 55%, #6cc3fb 100%); box-shadow: 0 30px 60px rgba(20,90,170,.25); }
.fin-left { position: relative; z-index: 2; padding: 48px 0 48px 56px; display: grid; gap: 16px; justify-items: start; max-width: 560px; }
.final h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.final h2 .fin-a { display: block; }
.final h2 .fin-b { color: #d6efff; }
.fin-left p { margin: 0; color: rgba(255,255,255,.92); font-size: 16px; max-width: 420px; }
.fin-left .btn.primary { background: #fff; color: var(--blue); border-color: #fff; box-shadow: 0 14px 30px rgba(0,50,110,.3); }
.fin-stage { position: relative; align-self: stretch; min-height: 380px; pointer-events: none; }
.fin-stage img { position: absolute; left: 50%; bottom: -150px; width: 330px; height: auto; translate: -50% 0; filter: drop-shadow(0 24px 30px rgba(0,40,100,.35)); }
.fin-gem { position: absolute; left: 50%; top: 14px; z-index: 2; width: 26px; height: 48px; margin-left: -12px; filter: drop-shadow(0 0 14px rgba(80,230,110,.85)); animation: gem-bob 3s ease-in-out infinite; }
.fin-chip { position: absolute; z-index: 2; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; white-space: nowrap;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 24px rgba(0,50,110,.2); }
.fin-chip.c1 { right: 6%; top: 34%; }
.fin-chip.c2 { left: 2%; top: 62%; }
.fin-foot { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 8px 0; font-size: 13px; color: var(--muted); }
.fin-foot .logo { color: var(--ink); font-size: 18px; min-height: 44px; }
.fin-foot .logo svg { width: 22px; height: 22px; color: var(--blue); }
.fin-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fin-foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.fin-foot nav a:hover { color: var(--blue); }
.fin-copy { flex-basis: 100%; padding-top: 12px; border-top: 1px solid rgba(16,20,24,.08); }
@media (min-width: 1200px) { .fin-foot { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 250px); } .fin-foot nav { justify-content: center; gap: 8px 16px; } .fin-copy { padding-top: 0; border-top: 0; font-size: 12px; line-height: 1.45; text-align: right; } }

@media (max-width: 960px) {
  .top nav { display: none; }
  .top { padding: 20px 20px; }
  .plans, .split, .buy-split { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; } .sec-head > p { text-align: left; }
}
@media (max-width: 560px) {
  .top { padding: 12px 16px; }
  .hero { padding: 0 12px 32px; }
  .buy-split, .see { padding: 32px 20px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .grid article, .plan { transition: none; } .fin-gem, .fin-gem svg, .fin-chip { animation: none; } }

/* Calls to action */
.top-actions { display: inline-flex; gap: 12px; align-items: center; }
.top-try { all: unset; cursor: pointer; padding: 12px 20px; border-radius: 14px; background: #fff; color: var(--blue); font-size: 14px; font-weight: 700; box-shadow: 0 8px 20px rgba(10,60,110,.2); }
.top-try:hover { transform: translateY(-1px); }
.top-try:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sec-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; padding: 16px 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 15px/1 inherit; font-family: inherit; color: #fff; background: linear-gradient(180deg, #3fb0f5, var(--blue)); box-shadow: 0 16px 34px rgba(30,156,240,.45), inset 0 1px 0 rgba(255,255,255,.45);
  animation: float-in .4s cubic-bezier(.3,1.4,.5,1); }
.float-cta[hidden] { display: none; }
@keyframes float-in { from { transform: translateY(20px); opacity: 0; } }
.brm-drag { position: absolute; left: -34px; top: 38%; width: 70px; height: 70px; border-radius: 16px; background-size: cover; background-color: #fff; z-index: 2;
  box-shadow: 0 16px 30px rgba(20,60,110,.28), 0 0 0 3px #fff; transform: rotate(-8deg); }
@media (max-width: 560px) { .top-try { display: none; } .float-cta { right: 16px; bottom: 16px; } }

/* "Цифровой гардероб", like the reference: short title, one line, a big picture in every tile */
.closet { grid-auto-rows: 300px; }
.closet .feat { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 24px 24px 0; }
.closet .feat h3 { font-size: 18px; margin: 0 0 4px; }
.closet .feat p { font-size: 14px; max-width: 30ch; }
.f-vis { position: relative; flex: 1; margin: 16px -24px 0; background-size: cover; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%); mask-image: linear-gradient(180deg, transparent, #000 22%); }
.f-stack, .f-acc, .f-gest, .f-modes, .f-lock { -webkit-mask-image: none; mask-image: none; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0 20px; }
.f-stack i, .f-acc i { width: 86px; height: 86px; border-radius: 22px; background: #fff center / cover no-repeat; box-shadow: 0 14px 28px rgba(20,60,110,.16); transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.f-stack i:nth-child(1) { transform: rotate(-8deg) translateY(8px); } .f-stack i:nth-child(3) { transform: rotate(8deg) translateY(8px); }
.f-acc i.c-glasses { background-image: url(/web/img/hero.webp); background-size: 1100%; background-position: 50% 8.6%; }
.f-gest { gap: 20px; }
.f-gest i { font-style: normal; flex: 1; max-width: 160px; display: grid; justify-items: center; gap: 2px; padding: 16px 12px 12px; border-radius: 22px; background: #fff; box-shadow: 0 14px 28px rgba(20,60,110,.12); text-align: center; }
.f-gest b { font-size: 40px; line-height: 1; animation: gest-bob 3.6s ease-in-out infinite; }
.f-gest em { font-style: normal; font-weight: 700; font-size: 14px; margin-top: 8px; }
@keyframes gest-bob { 50% { transform: translateY(-8px); } }
.f-gest i:nth-child(2) b { animation-delay: -1.2s; } .f-gest i:nth-child(3) b { animation-delay: -2.4s; }
.f-modes { flex-direction: column; gap: 8px; }
.f-modes b { padding: 12px 24px; border-radius: 999px; background: #eef4f9; color: var(--muted); font-size: 14px; }
.f-modes b.on { background: linear-gradient(180deg, #3fb0f5, var(--blue)); color: #fff; box-shadow: 0 10px 22px rgba(30,156,240,.35); }
.f-lock svg { width: 64px; height: 64px; padding: 20px; border-radius: 26px; color: #fff; background: linear-gradient(180deg, #3fb0f5, var(--blue)); box-shadow: 0 16px 32px rgba(30,156,240,.35); }
@media (max-width: 960px) { .closet { grid-auto-rows: 280px; } }
@media (max-width: 560px) { .closet { grid-auto-rows: auto; } .closet .feat { min-height: 260px; } }

/* Mobile header: a burger opens the sections as a glass sheet under the header */
.burger { all: unset; display: none; cursor: pointer; width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255,255,255,.55); place-content: center; gap: 4px; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.top.open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.top.open .burger i:nth-child(2) { opacity: 0; }
.top.open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.burger:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 960px) {
  .burger { display: grid; }
  .top.open nav { display: grid; position: absolute; top: 76px; left: 16px; right: 16px; gap: 4px; padding: 12px; border-radius: 22px;
    background: rgba(255,255,255,.96); border: 1px solid #fff; box-shadow: 0 24px 50px rgba(16,50,90,.25); animation: rise .3s ease; }
  .top.open nav a { color: var(--ink); padding: 16px 16px; font-size: 16px; }
  .top.open nav a.on { color: var(--blue); background: #eef7fe; box-shadow: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 760px) {
  /* headline first, right on the blue band; the person and the chips after it */
  .h-copy { order: -1; }
  .h-look { min-height: 610px; margin-top: 28px; }
  .hero-panel { padding-top: 92px; gap: 12px; }
}
@media (max-width: 420px) {
}
@media (max-width: 760px) { .bs-dots { right: 10px; } }

.top-login { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 8px; }
.top-login:hover { text-decoration: underline; }
@media (max-width: 420px) { .top-login { display: none; } }

/* RU / EN switch on the blue band */
.lang { all: unset; cursor: pointer; min-width: 38px; height: 38px; padding: 0 12px; box-sizing: border-box; border-radius: 12px; display: inline-grid; place-items: center;
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; border: 1px solid rgba(255,255,255,.55); }
.lang:hover { background: rgba(255,255,255,.16); }
.lang:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.cta-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.final .cta-note { color: rgba(255,255,255,.85); margin: 0; }
.top-try { white-space: nowrap; }

/* the header keeps one line: the extension link leaves it on mid-size screens (it is in the blocks below) */
@media (max-width: 1240px) { .top .ext-link { display: none; } }
.split > div, .site-grid > div { min-width: 0; }

@media (max-width: 860px) {
}

/* A picture in every block: rounded photo cards, lazy, cropped by object-fit */
.pic { margin: 0; overflow: hidden; border-radius: 26px; background: #e6f1fb; box-shadow: 0 18px 40px rgba(20,60,110,.12); }
.pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-head { position: relative; overflow: hidden; margin-bottom: 28px; border-radius: 32px; background: #e6f1fb; min-height: clamp(420px, 44vw, 600px); display: flex; align-items: center; box-shadow: 0 18px 40px rgba(20,60,110,.1); }
.pr-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 35%; }
/* A veil of light over the sky side keeps the heading readable on the photo. */
.pr-head::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.82) 0, rgba(255,255,255,.55) 30%, rgba(255,255,255,0) 52%); }
.pr-head .sec-head { position: relative; z-index: 2; flex-direction: column; align-items: flex-start; gap: 16px; margin: 0; padding: 40px 48px; max-width: 44%; }
.pr-head .sec-head > p { text-align: left; color: #3d4852; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
.faq-wrap .faq-list { grid-template-columns: 1fr; }
/* touch targets */
.btn { min-height: 46px; }
.btn.small { min-height: 44px; }
.bs-dots button { position: relative; }
.bs-dots button::after { content: ""; position: absolute; inset: -4px -16px; }
@media (max-width: 960px) {
  .pr-head { display: block; min-height: 0; background: #fff; }
  .pr-head::before { display: none; }
  .pr-pic { position: static; aspect-ratio: 16 / 9; height: auto; object-position: 100% 30%; }
  .pr-head .sec-head { max-width: none; padding: 24px 24px 28px; }
  .plans { max-width: 620px; margin: 0 auto; }
  .fin-card { grid-template-columns: minmax(0, 1fr) 220px; min-height: 0; }
  .fin-left { padding: 40px 0 40px 36px; }
  .fin-stage { min-height: 340px; }
  .fin-stage img { width: 250px; bottom: -120px; }
  .fin-chip { display: none; }
}
@media (max-width: 560px) {
  .final { padding: 0 16px 20px; margin-top: 20px; }
  .fin-card { grid-template-columns: minmax(0, 1fr); border-radius: 28px; }
  .fin-left { padding: 32px 24px 0; }
  .fin-left .btn { align-self: stretch; justify-self: stretch; }
  .fin-left { gap: 12px; }
  .fin-stage { min-height: 170px; }
  .fin-stage img { width: 190px; top: 40px; bottom: auto; }
  .fin-gem { top: 6px; }
  .fin-foot { justify-content: flex-start; padding-top: 16px; }
  .fin-foot nav { gap: 8px 16px; }
  .fin-foot nav a { font-size: 13px; }
  .install-foot { padding-bottom: 24px; }
  .lang, .burger { min-width: 44px; height: 44px; width: auto; }
  .burger { width: 44px; }
}
/* touch screens: 44px for every control in the header, the gender switch and the price note */
@media (pointer: coarse) {
  :root .logo, :root .top nav a, :root .top-actions > a, :root .top-actions > button { min-height: 44px; }
  :root .gender button, :root .show-tabs .gender button, :root .fd-moods .gender button { min-height: 44px; }
  :root .price-note select { min-height: 44px; }
  .price-note a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* long paragraphs stay readable: at most ~68 characters per line */
.cta-note, .cab-main p.muted, .cab-main details p, .shp-hero .lead { max-width: 68ch; }
.shp-hero .lead, .cab-main p.muted { margin-left: auto; margin-right: auto; }
@media (pointer: coarse) { :root .fd-moods button { min-height: 44px; } }
/* paragraphs without their own spacing: 16px, not the browser's 1em (17px text gave 17px gaps) */
:where(body) p { margin-block: 16px; }
/* `all: unset` also resets box-sizing: padding then adds to the 44px minimum (68px header button) */
.top-try, .burger { box-sizing: border-box; }
