@font-face { font-family: Golos; font-weight: 400 900; font-display: swap; src: url('./assets/fonts/golos-text-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Golos; font-weight: 400 900; font-display: swap; src: url('./assets/fonts/golos-text-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f1f1f4;
  --sheet: #fff;
  --inset: #e4e4eb;
  --ink: #202126;
  --muted: #595b68;
  --lining: #55172a;
  --gut: clamp(18px, 4vw, 64px);
  --gap: clamp(88px, 11vw, 176px);
  --ease: cubic-bezier(.2, .75, .25, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 clamp(16px, 1.2vw, 18px)/1.5 Golos, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lining); outline-offset: 3px; }
h1, h2 { font-weight: 800; letter-spacing: -.045em; line-height: .94; text-wrap: balance; }
h1 { font-size: clamp(52px, 8vw, 128px); }
h2 { font-size: clamp(40px, 5.6vw, 88px); }
h3 { font-size: clamp(22px, 2.1vw, 32px); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 50; padding: 10px 16px; background: var(--sheet); translate: 0 -200%; }
.skip:focus { translate: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 26px; border-radius: 999px; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background .2s; }
.btn-main { background: var(--ink); color: #fff; }
.btn-main:hover { background: #3a3b46; }
.btn-alt { background: var(--sheet); }
.btn-alt:hover { background: var(--inset); }
.btn-small { min-height: 44px; padding: 0 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.split-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px 64px; align-items: end; }
.split-head p, .lead { color: var(--muted); max-width: 46ch; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.42; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 32px; padding: 12px var(--gut); background: rgb(241 241 244 / .86); backdrop-filter: blur(16px); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.mark { width: 22px; height: 28px; }
.mark-in { fill: var(--paper); }
.top nav { display: flex; gap: 28px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 72px); align-items: center; max-width: 1600px; min-height: min(900px, calc(100svh - 68px)); margin-inline: auto; padding: 12px var(--gut) 32px; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.nb { white-space: nowrap; }
.fine { color: var(--muted); font-size: 15px; }
.board { --heat: .55; position: relative; display: flex; flex-direction: column; padding: clamp(18px, 2vw, 30px); border-radius: 44px; background: #dfdcd6; transition: background .3s; }
@supports (background: color-mix(in oklab, red, blue)) {
  .board { background: color-mix(in oklab, #f0dfc4 calc(var(--heat) * 100%), #cfdcec); }
}
.board-head { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.deg { min-width: 2.35em; font-size: clamp(56px, 6vw, 92px); font-weight: 800; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.board-head p { display: grid; line-height: 1.25; }
.board-head b { font-weight: 700; }
.board-stage { position: relative; width: min(100%, 62svh); aspect-ratio: 1 / 1.02; margin-inline: auto; }
.board-stage { --fit: 1; }
.board-stage img { --size: 40%; position: absolute; left: 50%; top: 28%; width: calc(var(--size) * var(--fit)); transform: translate(-50%, -50%); filter: drop-shadow(0 8px 10px rgb(32 33 38 / .22)); transition: left .5s var(--ease), top .5s var(--ease), width .5s var(--ease), opacity .3s, transform .5s var(--ease); }
.board-stage img.out { opacity: 0; transform: translate(-50%, calc(-50% - 26px)); pointer-events: none; }
.temp { display: grid; gap: 10px; margin-top: 12px; font-size: 15px; text-align: center; }
.temp input { width: 100%; height: 44px; margin: 0; appearance: none; background: none; cursor: grab; touch-action: pan-y; }
.temp input::-webkit-slider-runnable-track { height: 10px; border-radius: 9px; background: linear-gradient(90deg, #5f86b8, #f3f3f6 48%, #d98b4a); }
.temp input::-moz-range-track { height: 10px; border-radius: 9px; background: linear-gradient(90deg, #5f86b8, #f3f3f6 48%, #d98b4a); }
.temp input::-webkit-slider-thumb { appearance: none; width: 38px; height: 38px; margin-top: -14px; border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px #fff; }
.temp input::-moz-range-thumb { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px #fff; }

.wardrobe { padding-block: var(--gap); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.wardrobe > .tabs { margin-top: 36px; }
.tabs button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--inset); cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.rail, .week, .scenes { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar, .week::-webkit-scrollbar, .scenes::-webkit-scrollbar { display: none; }
.rail { margin-top: 34px; }
.rail ul { position: relative; display: flex; width: max-content; min-width: 100%; padding: 0 var(--gut); }
.rail ul::before { content: ''; position: absolute; inset: 0 0 auto; height: 7px; background: var(--ink); }
.rail, .week, .scenes { scroll-padding-inline: var(--gut); scroll-snap-type: x proximity; }
.rail li, .week li, .scenes li { scroll-snap-align: start; }
.rail li { position: relative; flex: none; width: clamp(150px, 15vw, 232px); padding-top: 46px; }
.rail li::before { content: ''; position: absolute; top: 5px; left: 50%; width: 2px; height: 50px; background: var(--muted); }
.rail li img { position: relative; width: 100%; filter: drop-shadow(0 12px 14px rgb(32 33 38 / .16)); }
.rail li span { display: block; padding: 10px 14px 0; color: var(--muted); font-size: 14px; line-height: 1.25; text-align: center; }
.extract { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: center; margin-top: clamp(56px, 7vw, 112px); }
.extract figure img { width: min(100%, 520px); border-radius: 32px; }
.extract p { margin-top: 14px; max-width: 46ch; color: var(--muted); }
.extract ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 620px; margin-top: 28px; }
.extract li { text-align: center; font-size: 15px; }

.stylist { margin-top: clamp(48px, 6vw, 96px); padding-block: clamp(64px, 8vw, 128px); background: var(--sheet); }
.stylist > .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 104px); align-items: center; }
.stylist-copy > p { margin-top: 24px; max-width: 44ch; color: var(--muted); }
.asks { display: grid; gap: 8px; justify-items: start; margin-top: 32px; }
.asks button { min-height: 52px; padding: 10px 22px; border: 0; border-radius: 26px 26px 26px 6px; background: var(--paper); text-align: left; cursor: pointer; }
.asks button[aria-selected="true"] { background: var(--lining); color: #fff; }
.chat { min-height: 470px; padding: clamp(18px, 2.2vw, 32px); border-radius: 36px; background: var(--paper); }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; }
.chat-head span { display: grid; color: var(--muted); font-size: 14px; line-height: 1.3; }
.chat-head b { color: var(--ink); font-size: 16px; }
.dialog { display: grid; gap: 12px; }
.bubble { max-width: 88%; padding: 14px 20px; border-radius: 24px; }
.bubble.me { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.bubble.ai { background: var(--sheet); border-bottom-left-radius: 6px; }
.bubble-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 14px; }

.palette { --tone: #d9bcc4; padding-bottom: clamp(56px, 7vw, 112px); background: var(--tone); transition: background .4s; }
.palette[data-palette="1"] { --tone: #b4c2cf; }
.palette[data-palette="2"] { --tone: #c3a0ab; }
.palette-top { display: grid; grid-template-columns: 1.5fr 1fr; }
.palette-pic { position: relative; align-self: end; display: grid; grid-template-columns: repeat(3, 1fr); aspect-ratio: 3 / 2; }
.palette-pic img { position: absolute; width: 100%; height: 100%; }
.palette-pic i { position: relative; background: var(--tone); opacity: .42; transition: opacity .35s, background .4s; }
.palette[data-palette="0"] .palette-pic i:nth-of-type(1), .palette[data-palette="1"] .palette-pic i:nth-of-type(2), .palette[data-palette="2"] .palette-pic i:nth-of-type(3) { opacity: 0; }
.palette-copy { display: grid; align-content: center; gap: 24px; padding: 40px var(--gut); }
.palette-copy p { max-width: 42ch; }
.swatches { display: grid; gap: 8px; justify-items: start; }
.swatches button { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 22px 0 8px; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.swatches button[aria-pressed="true"] { background: rgb(255 255 255 / .66); }
.swatches button i { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #9c6a73; }
.swatches button:nth-child(2) i { background: #50616f; }
.swatches button:nth-child(3) i { background: #54303a; }
.week-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px 64px; align-items: end; margin-top: clamp(48px, 6vw, 88px); }
.week { margin-top: 32px; }
.week ol { display: grid; grid-template-columns: repeat(7, minmax(98px, 1fr)); min-width: max-content; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.week li { display: grid; justify-items: center; padding: 0 6px; }
.week li + li { border-left: 1px solid rgb(32 33 38 / .16); }
.week b { font-size: 20px; font-weight: 700; }
.stack { display: grid; justify-items: center; width: 100%; margin: 10px 0; }
.stack img { width: 78%; max-width: 150px; }
.stack img + img { margin-top: -10%; }
.stack img:last-child { width: 54%; }
.week small { font-size: 15px; }

.tryon { padding-block: clamp(64px, 8vw, 128px); background: #1d1e24; color: #fff; }
.tryon-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.tryon-copy { display: grid; gap: 26px; justify-items: start; }
.tryon-copy > p { max-width: 42ch; color: #c3c4cf; }
.tryon .btn { background: #fff; color: var(--ink); }
.tryon .btn-alt { background: #34353f; color: #fff; }
.tryon-pair { position: relative; display: flex; justify-content: flex-end; padding-left: 22%; }
.tryon-pair img { border-radius: 30px; }
.tryon-pair .after { width: min(100%, 420px); }
.tryon-pair .before { position: absolute; left: 0; bottom: -28px; z-index: 1; width: 40%; max-width: 230px; }
.tryon-pair .before img { outline: 8px solid #1d1e24; border-radius: 22px; }
.tryon-pair figcaption { position: absolute; left: 14px; bottom: 14px; padding: 5px 13px; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--ink); font-size: 14px; }
.tryon-pair figure { position: relative; }
.tryon-pair .after figcaption { right: 14px; left: auto; }
.tryon-pair figure.before { position: absolute; }
.scenes-head { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: clamp(72px, 8vw, 120px); }
.tryon .tabs button { background: #34353f; }
.tryon .tabs button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.scenes { margin-top: 24px; }
.scenes ul { display: flex; gap: 12px; width: max-content; padding-inline: var(--gut); }
.scenes li { width: clamp(180px, 18vw, 270px); }
.scenes img { border-radius: 20px; }
.scenes span { display: block; padding-top: 10px; color: #c3c4cf; font-size: 15px; }

.steps, .faq { padding-top: var(--gap); }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 52px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 14px; font-size: clamp(72px, 8vw, 128px); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--lining); }
.steps li p { margin-top: 10px; max-width: 34ch; color: var(--muted); }


.price { padding-top: var(--gap); }
.price > .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: end; }
.free h2 { font-size: clamp(36px, 4.6vw, 72px); }
.free ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; margin: 36px 0; }
.free li { padding-left: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355172a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.3 4.3L19 7'/%3E%3C/svg%3E") 0 2px / 21px no-repeat; }
.plans h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.plans dl { margin-top: 18px; }
.plans dl div { display: grid; grid-template-columns: 1fr 1.7fr 1fr; align-items: baseline; padding: 16px 0; border-top: 1px solid #d3d3dc; }
.plans dt { font-weight: 700; }
.plans dd:last-child { color: var(--muted); text-align: right; }

.faq > .wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: 32px 64px; align-items: start; }
.faq details { border-top: 1px solid #d3d3dc; }
.faq details:last-child { border-bottom: 1px solid #d3d3dc; }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; line-height: 1.25; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 11px; height: 11px; margin: 4px 6px 0; border: solid var(--lining); border-width: 0 2.5px 2.5px 0; rotate: 45deg; transition: rotate .25s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 6px; }
.faq details p { padding-bottom: 26px; max-width: 64ch; color: var(--muted); }

/* Лацканы: графитовый верх распахнут, видна подкладка. */
.final { position: relative; display: grid; place-items: center; min-height: min(820px, 92svh); margin-top: var(--gap); padding: 96px var(--gut); overflow: hidden; background: var(--lining); color: #fff; text-align: center; }
.lapels { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-in { position: relative; z-index: 1; display: grid; gap: 40px; justify-items: center; }
.final h2 { max-width: 9ch; font-size: clamp(56px, 8.6vw, 136px); }
.final .cta { justify-content: center; }
.final .btn { background: #fff; color: var(--ink); }
.foot { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; justify-content: space-between; padding: 32px var(--gut); background: #262630; color: #d6d6df; }
.foot .mark-in { fill: #262630; }
.foot p a { display: inline-block; padding: 12px 0; }
.foot p a + a { margin-left: 20px; }
.foot .logo { color: #fff; }
.dock { display: none; }

@media (max-width: 900px) {
  :root { --gap: 72px; }
  html { scroll-padding-top: 16px; }
  .top { position: static; padding-block: 14px 4px; background: none; backdrop-filter: none; }
  .top nav, .top .btn { display: none; }
  .hero, .split-head, .stylist > .wrap, .palette-top, .week-head, .tryon-top, .price > .wrap, .faq > .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; gap: 18px; padding-block: 6px 0; }
  .hero-copy { gap: 14px; }
  .fine { font-size: 14px; }
  .hero-copy .lead { font-size: 17px; line-height: 1.35; }
  h1 { font-size: clamp(34px, 10.2vw, 84px); }
  h2 { font-size: clamp(36px, 10vw, 64px); }
  .board { margin-inline: calc(8px - var(--gut)); padding: 14px 18px 8px; border-radius: 32px; }
  .board-head { min-height: 60px; }
  .board-stage { --fit: .78; width: min(100%, 520px); aspect-ratio: 1.28; }
  .temp { gap: 0; margin-top: 4px; }
  .stylist { padding-block: 64px; }
  .chat { min-height: 0; margin-inline: calc(8px - var(--gut)); }
  .wardrobe > .tabs { flex-wrap: nowrap; margin-top: 24px; overflow-x: auto; scrollbar-width: none; }
  .wardrobe > .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .rail { margin-top: 24px; }
  .extract { grid-template: auto 1fr auto / minmax(0, 2fr) minmax(0, 3fr); gap: 0 18px; align-items: start; margin-top: 48px; }
  .extract figure img { border-radius: 20px; }
  .extract h3 { font-size: 20px; }
  .extract p { margin-top: 8px; font-size: 15px; line-height: 1.4; }
  .extract ul { grid-column: 1 / -1; margin: 18px 0 0; }
  .extract > div { display: contents; }
  .extract > div > h3, .extract > div > p { grid-column: 2; }
  .extract figure { grid-row: 1 / span 2; }
  .extract > div > p { align-self: start; }
  .palette-copy { gap: 14px; padding-top: 28px; padding-bottom: 0; }
  .swatches { grid-auto-flow: column; justify-content: start; gap: 4px; margin-left: -6px; }
  .swatches button { flex-direction: column; gap: 4px; min-height: 76px; padding: 6px 12px 8px; border-radius: 22px; font-size: 14px; }
  .tryon { padding-block: 64px; }
  .tryon-pair { padding-left: 24%; }
  .tryon-pair .before { width: 44%; }
  .scenes-head { margin-top: 72px; }
  .steps ol { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 28px; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; }
  .steps li::before { grid-row: span 2; font-size: 68px; }
  .steps li p { grid-column: 2; margin-top: 4px; }
  .lapels { left: -18%; width: 136%; }
  .final { min-height: 560px; padding-block: 72px; }
  .foot { padding-bottom: 104px; }
  .dock { position: fixed; inset: auto 0 0; z-index: 30; display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgb(228 228 235 / .9); backdrop-filter: blur(14px); transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
  .dock.on { transform: none; visibility: visible; }
  .dock .btn { flex: 1; min-height: 52px; }
}
@media (max-width: 560px) {
  .cta { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .cta .btn { flex: 1; min-height: 54px; padding: 0 12px; }
  .wide { display: none; }
  .deg { font-size: 50px; }
  .board-head { gap: 12px; font-size: 14px; }
  .free ul { grid-template-columns: minmax(0, 1fr); margin-block: 28px; }
  .plans dl div { grid-template-columns: .8fr 1.6fr 1.1fr; }
  .extract ul { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { transition: none !important; }
}
