/* Монохромная «модная» подача: чёрное и белое, заглавные с разрядкой, прямые углы, тонкие линии. */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/montserrat-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2212, U+2215;
}

:root {
  --ink: #0a0a0a; --paper: #ffffff; --mist: #f1f1f0; --muted: #6b6b6b; --line: #0a0a0a;
  --font: "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Микро-подписи: мелко, заглавными, с разрядкой */
.label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* Шапка */
header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .mark { width: 32px; height: 32px; background: var(--ink); display: grid; place-items: center; }
.logo .mark svg { width: 22px; height: 22px; }
.logo .word { font-size: 13px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
nav { display: flex; gap: 28px; }
nav a { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 480px) { nav .secondary { display: none; } }

/* Кнопки — прямоугольные, заглавные */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  font: 600 12px/1 var(--font); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }
.on-ink .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.on-ink .btn-primary:hover { background: transparent; color: var(--paper); }

/* Первый экран */
.hero { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 64px; align-items: center; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); line-height: 0.92; font-weight: 800; letter-spacing: -0.01em;
  text-transform: uppercase; margin: 18px 0 24px; }
.hero p { font-size: 17px; color: var(--muted); max-width: 30em; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; padding-top: 72px; padding-bottom: 96px; } }

/* Лук на первом экране: вещи без фона на светло-сером поле */
.look { position: relative; margin: 0; background: var(--mist); aspect-ratio: 4 / 5; padding: 56px 24px 64px;
  display: grid; gap: 12px;
  /* minmax(0, …): иначе высокая картинка растягивает свою строку и ломает композицию */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(4, minmax(0, 1fr));
  /* тренч — три четверти высоты, туфли под ним; блузка и брюки делят правую колонку */
  grid-template-areas: "outer top" "outer top" "outer bottom" "shoes bottom"; }
.look img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.look .outer { grid-area: outer; } .look .top { grid-area: top; }
.look .bottom { grid-area: bottom; } .look .shoes { grid-area: shoes; }
.look .tag { position: absolute; top: 18px; left: 20px; right: 20px; display: flex; justify-content: space-between; }
.look .temp { font-size: 22px; font-weight: 800; letter-spacing: 0; }
.look .caption { position: absolute; left: 20px; right: 20px; bottom: 18px; border-top: 1px solid var(--line); padding-top: 12px; }

/* Разделы */
section { border-top: 1px solid var(--line); padding: 72px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 40px; }
h2 { font-size: clamp(28px, 4.5vw, 48px); line-height: 1; font-weight: 800; text-transform: uppercase; margin: 0; letter-spacing: -0.005em; }

/* Лента гардероба */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip .tile { background: var(--mist); aspect-ratio: 3 / 4; padding: 18px; }
.strip img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.strip figcaption { margin-top: 10px; }

/* Шаги */
.steps { display: grid; gap: 0; }
.step { border-top: 1px solid var(--line); padding: 24px 0 8px; }
.step .num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.step h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Возможности — сетка с тонкими линиями */
.features { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 24px; }
.feature h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 12px 0 8px; }
.feature p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }

/* Тарифы: бесплатный — белый, премиум — чёрный */
.plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { background: var(--ink); color: var(--paper); }
.plan.featured .muted, .plan.featured .note { color: #b5b5b5; }
.plan h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin: 0; }
.price { font-size: 44px; font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; }
.price small { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: inherit; opacity: 0.6; }
.old { font-size: 0.55em; font-weight: 600; opacity: 0.45; }
.note { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; margin: 4px 0 8px; padding: 0; }
.plan li { padding: 10px 0; border-top: 1px solid currentColor; border-color: rgba(128, 128, 128, 0.35); }
.plan .btn { margin-top: auto; }
.early { align-self: flex-start; border: 1px solid currentColor; padding: 7px 12px; }
.early[hidden] { display: none; }

/* Вопросы */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 22px; color: var(--muted); max-width: 46em; }

/* Страница премиума */
.banner { background: var(--mist); padding: 16px 20px; margin-bottom: 24px; }

/* Подвал */
footer { background: var(--ink); color: var(--paper); padding: 56px 0 64px; font-size: 14px; }
footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
footer .links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
footer a { text-decoration: none; color: #cfcfcf; }
footer a:hover { color: var(--paper); }
footer .fine { color: #8a8a8a; display: grid; gap: 6px; }

/* Страница авторства фото */
.credits { list-style: none; padding: 0; margin: 0; }
.credits li { border-top: 1px solid var(--line); padding: 16px 0; display: grid; gap: 4px; }
