@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/golos-text-cyrillic.024646dc00da.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/golos-text-latin.3ba0fde64bcf.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; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/golos-text-cyrillic.024646dc00da.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/golos-text-latin.3ba0fde64bcf.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; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/golos-text-cyrillic.024646dc00da.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/golos-text-latin.3ba0fde64bcf.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; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jost-cyrillic.dcb081b72429.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jost-latin.41a72a3a0ae3.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; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/jost-cyrillic.dcb081b72429.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/jost-latin.41a72a3a0ae3.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; }
@font-face { font-family: "Prata"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/prata-cyrillic.2b50a9f200b8.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Prata"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/prata-latin.b4419348ab41.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; }

/* Brand «Запятая» (28.10.2026): cobalt cover, lemon comma, Prata for the magazine voice. */
:root {
  --paper: #faf7f2;
  --ink: #171513;
  --cobalt: #4a63d3;
  --lemon: #f2e27a;
  --coral: #f2937b;
  --bg: var(--paper);
  --surface: #f1ece4;
  --text: var(--ink);
  --muted: #5e5a55;
  --line: #e4ddd3;
  --accent: var(--cobalt);
  --sale: #c0262d;
  --serif: "Prata", Georgia, "Times New Roman", serif;
  --ui: "Jost", "Golos Text", -apple-system, "Segoe UI", sans-serif;
  --radius: 0;
  --gutter: 16px;
  --max: 1240px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
/* A long word («конфиденциальности») must not push the page wider than a phone. */
h1, h2, h3 { overflow-wrap: break-word; }
h2 { font-size: 1.5rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Header: the comma and the name, sections, the quiz as the one action */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 60px; }
.logo {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; white-space: nowrap;
  font-family: var(--ui); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
}
.logo .comma { flex: none; width: 11px; height: 22px; color: var(--coral); }
.nav { display: none; align-items: center; gap: 26px; margin-left: auto; font-family: var(--ui); font-weight: 500; font-size: 14px; }
.nav a { text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--cobalt); }
.nav .nav-cta {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px;
  background: var(--ink); color: #fff; font-weight: 600;
}
.nav .nav-cta:hover { color: #fff; background: var(--cobalt); }
.menu { position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; margin-right: -10px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: -6px; top: 48px; z-index: 30; min-width: 260px; padding: 8px 0;
  display: flex; flex-direction: column; background: var(--paper); color: var(--ink); box-shadow: 0 14px 34px rgba(23, 21, 19, .2);
}
.menu-panel a { padding: 12px 20px; text-decoration: none; font-family: var(--ui); font-weight: 500; font-size: 16px; }
.menu-panel a:hover { background: var(--surface); }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } }

/* Instagram, our main channel (the owner, 29.10.2026): an icon in the header of every page, the
   handle on the cover, a spread on the home, the footer and the quiz card that goes to stories. */
.ig-glyph { display: block; flex: none; width: 22px; height: 22px; }
.ig-link { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 -14px 0 auto; color: var(--ink); }
.ig-link:hover, .tg-link:hover { color: var(--cobalt); }
.tg-link { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 -14px 0 0; color: var(--ink); }
@media (min-width: 900px) { .tg-link { margin: 0 -10px 0 -8px; } }
@media (min-width: 900px) { .ig-link { margin: 0 -10px 0 -8px; } }
/* «Скачать» on a phone: straight to the store of its system (web.views.legal_context). One button
   is all the header holds next to the name below 900px; below 350px not even that. */
.get-app {
  display: inline-flex; align-items: center; height: 32px; margin-left: auto; padding: 0 12px;
  background: var(--ink); color: #fff; text-decoration: none; white-space: nowrap;
  font-family: var(--ui); font-weight: 600; font-size: 13px;
}
.get-app + .ig-link { margin-left: -8px; }
@media (max-width: 899px) { .site-header .wrap { gap: 12px; } }
@media (max-width: 349px), (min-width: 900px) { .get-app { display: none; } .get-app + .ig-link { margin-left: auto; } }
@media (min-width: 900px) { .get-app + .ig-link { margin: 0 -10px 0 -8px; } }
.menu-panel .menu-ig { display: flex; align-items: center; gap: 10px; margin-top: 4px; border-top: 1px solid var(--line); padding-top: 16px; }
.menu-ig .ig-glyph { width: 20px; height: 20px; }
.menu-panel .menu-tg { margin-top: 0; border-top: 0; padding-top: 0; }

main { padding: 28px 0 72px; min-height: 60vh; }
@media (min-width: 900px) { main { padding-top: 48px; } }

/* Hero */
.hero { padding: 16px 0 28px; }
.hero p { color: var(--muted); max-width: 640px; margin: 0; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips a, .chip {
  display: inline-block; padding: 7px 13px; border: 1px solid var(--line);
  text-decoration: none; font-size: .9rem; background: #fff; cursor: pointer;
}
.chips a:hover, .chip:hover { border-color: var(--text); }
.chip.on, .chip:has(input:checked) { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 0 14px; }
.section-head a { color: var(--muted); font-size: .95rem; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { text-decoration: none; display: block; min-width: 0; }
.card .pic { position: relative; aspect-ratio: 3 / 4; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
/* Hover: the whole thing sits on a plate (its edge beyond the card, the layout stays), the photo
   leans in and the name is underlined. Only with a pointer: a tap on a phone opens the card. */
@media (hover: hover) {
  .card { transition: background-color .15s, box-shadow .15s; }
  .card:hover { background: #ece4d8; box-shadow: 0 0 0 10px #ece4d8; }
  .card:hover .pic img { transform: scale(1.03); }
  .card:hover .name { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
}
.badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 6px; }
.badge { background: var(--bg); padding: 2px 8px; font-family: var(--ui); font-size: .78rem; font-weight: 600; }
.badge.sale { background: var(--sale); color: #fff; }
.card .brand { margin-top: 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card .name { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 700; margin-top: 4px; }
.price .old { font-weight: 400; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.price.is-sale .now { color: var(--sale); }
.cheaper { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 600; color: #1d7a46; background: #e6f4ec; padding: 1px 6px; }

/* Catalog filters */
.filters { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 16px 0 18px; margin: 0 0 22px; display: grid; gap: 14px; }
.filters .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters label.title { font-size: .85rem; color: var(--muted); width: 100%; }
.filters select, .filters input[type=number] {
  font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 0; background: #fff; min-width: 0;
}
.filters input[type=number] { width: 120px; }
.filters details summary { cursor: pointer; color: var(--muted); }
.filters details .row { margin-top: 10px; }
/* On a phone every row of filters is one line to swipe, so the things start on the first screen. */
@media (max-width: 719px) {
  .filters > .row { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .filters > .row::-webkit-scrollbar { display: none; }
  .filters > .row > * { flex: none; }
  .filters > .row > label.title { width: auto; margin-right: 4px; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  font-family: var(--ui); font-weight: 600; font-size: 15px; letter-spacing: .02em; text-align: center; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--ink); }
.btn.on-dark { background: var(--lemon); border-color: var(--lemon); color: var(--ink); }
@media (hover: hover) {
  .btn { transition: background-color .15s, border-color .15s, color .15s; }
  .btn:not([aria-disabled=true]):hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
  .btn.ghost:not([aria-disabled=true]):hover { background: var(--ink); border-color: var(--ink); color: #fff; }
  .btn.on-dark:not([aria-disabled=true]):hover { background: #fff; border-color: #fff; color: var(--ink); }
}
.count { color: var(--muted); margin: 0 0 14px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 10px 16px; border: 1px solid var(--line); font-family: var(--ui); font-weight: 500; text-decoration: none; }
.pagination .current { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Product page */
.product { display: grid; gap: 28px; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; } }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--surface); scroll-snap-align: start; }
@media (min-width: 900px) { .gallery { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; } }
.info .brand-link { text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--muted); text-decoration: none; }
.info h1 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-top: 6px; }
.info .price { font-size: 1.5rem; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.sizes li { min-width: 44px; border: 1px solid var(--line); padding: 7px 12px; background: #fff; font-family: var(--ui); font-weight: 500; font-size: .9rem; text-align: center; }
.sizes li.out { color: var(--muted); text-decoration: line-through; background: var(--surface); }
.store { width: 100%; margin: 8px 0 6px; }
@media (min-width: 900px) { .store { width: auto; } }
/* Ad label under «В магазин»: always visible; one tap selects the whole erid to copy it. */
.ad-label { margin: 0 0 6px; color: var(--muted); }
.ad-label .erid { user-select: all; -webkit-user-select: all; color: var(--ink); }
.facts { margin: 24px 0 0; display: grid; gap: 14px; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; white-space: pre-line; }

/* Brands */
.brand-index { display: grid; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.brand-index li { border-bottom: 1px solid var(--line); }
.brand-index a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; text-decoration: none; }
.brand-index-name { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; }
.brand-index-count { flex: none; font-family: var(--ui); font-weight: 500; font-size: 14px; color: var(--muted); }
.brand-index a:hover .brand-index-name { color: var(--cobalt); }
@media (min-width: 900px) { .brand-index { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* Inner pages: a magazine column in the middle of the page */
.page-head { max-width: 760px; margin-bottom: 30px; }
.page-head h1 { margin: 0 0 12px; }
.page-head p { margin: 0; max-width: 34em; font-size: 18px; color: var(--muted); }
.not-found { padding: 24px 0 40px; }
.not-found .spread-links { margin-top: 26px; }

/* Text pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(28px, 7.4vw, 3rem); }
.prose h2 { margin-top: 2em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose .box { background: var(--surface); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; }

/* Stylist services: /typing/, /subscription/, /account/ */
.promo {
  display: grid; gap: 4px; margin: 4px 0 8px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); text-decoration: none;
}
.promo-title { font-weight: 700; font-size: 1.1rem; }
.promo-text { color: var(--muted); }
.promo-go { color: var(--accent); font-weight: 600; }
.service { max-width: 720px; margin: 0 auto; }
.service.narrow { max-width: 520px; }
.service .lead { font-size: 1.1rem; color: var(--muted); }
.service ul, .service ol { padding-left: 1.2em; }
.service li { margin-bottom: .4em; }
.price-tag { font-size: 1.6rem; font-weight: 800; margin: 8px 0 18px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 18px 0; background: var(--bg); }
.panel h2 { margin-top: 0; }
.form { display: grid; gap: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfc7bb; border-radius: 0; background: #fff; }
.field input:focus { outline: 2px solid var(--text); outline-offset: 1px; }
.field .help { color: var(--muted); font-size: .875rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.errors, .errorlist { color: var(--sale); font-size: .9rem; margin: 0; padding: 0; list-style: none; }
.notice { background: var(--surface); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; }
.notice .btn { margin: 4px 8px 4px 0; }
.plans { display: grid; gap: 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.btn.wide { width: 100%; }
@media (min-width: 720px) { .btn.wide { width: auto; } }
.btn[aria-disabled=true] { opacity: .45; cursor: default; }
.btn.on-dark[aria-disabled=true] { opacity: 1; background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.stores-note { margin: 0; font-family: var(--ui); font-size: 14px; color: var(--muted); }
.stores-note span { display: block; }
.inline-form { display: inline-block; margin: 4px 0; }

/* The quiz «Пять линий»: /quiz/ (quiz.site, quiz.js). The first screen is the home's lemon spread
   with the five lines on Elena; the steps are a centred column of square tiles; the card is cobalt
   over the lemon offer, one block, with the brand on it for a screenshot. */
.quiz { --tile-line: #d8cfc3; }
.quiz [hidden] { display: none !important; }
.quiz-intro { padding: 32px 0 48px; }
.quiz-intro h1 { margin: 0 0 16px; font-size: clamp(48px, 7vw, 80px); line-height: 1; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.spread-lemon .quiz-actions .btn { margin-top: 0; }
.quiz-intro .quiz-actions .btn { flex: 1 1 100%; }
.quiz-intro .spread-note { margin-top: 12px; }

.quiz-page { max-width: 672px; padding-top: 8px; padding-bottom: 72px; }
.quiz-page-wide { max-width: 1072px; }
.quiz-page h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); line-height: 1.05; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.quiz-back { font-family: var(--ui); font-weight: 500; font-size: 15px; color: var(--ink); background: none; border: 0; padding: 12px 12px 12px 0; cursor: pointer; }
.quiz-count { margin: 0; font-family: var(--ui); font-weight: 500; font-size: 14px; color: var(--muted); }
.quiz-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 0 0 28px; }
.quiz-progress span { height: 3px; background: var(--line); }
.quiz-progress .is-done { background: var(--cobalt); }
.quiz-body { display: grid; gap: 30px; }
.quiz-text { margin: -18px 0 0; font-size: 17px; color: var(--muted); }
.quiz-diagram { width: 100%; max-width: 330px; margin: 0 auto; }
.quiz-diagram svg { display: block; width: 100%; height: auto; }

.quiz-field { display: grid; gap: 6px; }
.quiz-row { display: flex; align-items: center; gap: 16px; }
.quiz-label { flex: 1; font-family: var(--ui); font-weight: 500; font-size: 18px; line-height: 1.3; }
.quiz-label .muted { font-weight: 400; font-size: 15px; }
.quiz-question { margin: 0 0 12px; font-family: var(--ui); font-weight: 500; font-size: 18px; line-height: 1.3; }
.quiz-hint { display: block; margin-top: 4px; font-family: "Golos Text", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.quiz-box { flex: none; width: 132px; display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--tile-line); background: #fff; }
.quiz-box:focus-within { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.quiz-box.is-wrong { border-color: var(--sale); }
.quiz-box input { flex: 1; min-width: 0; width: 100%; padding: 11px 0; border: 0; background: none; outline: none; font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--ink); text-align: right; }
.quiz-unit { margin-left: 8px; font-family: var(--ui); font-weight: 500; color: var(--muted); }
.quiz-error { margin: 0; font-size: 14px; color: var(--sale); }

/* Sizes: six to a row, each centred in its tile; longer answers: two to a row. */
.quiz-pills { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.quiz-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.quiz-pill, .quiz-choice {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--tile-line); border-radius: 0; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.quiz-pill { height: 50px; padding: 0; display: flex; align-items: center; justify-content: center; font-family: var(--ui); font-weight: 500; font-size: 16px; }
.quiz-pill .quiz-option { justify-content: center; }
.quiz-choice { min-height: 64px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 10px; text-align: left; font-size: 15px; line-height: 1.3; }
.quiz-choice.has-picture { align-items: center; padding: 18px 10px 14px; text-align: center; }
.quiz-choice.has-picture .quiz-option { justify-content: center; }
.quiz-pill:hover, .quiz-choice:hover { border-color: var(--ink); }
.quiz-pill[aria-pressed=true], .quiz-choice[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.quiz-option { display: flex; align-items: center; gap: 12px; }
.quiz-swatch { flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(23, 21, 19, .14); }
[aria-pressed=true] .quiz-swatch { box-shadow: 0 0 0 2px var(--paper); }
.quiz-figure { display: flex; justify-content: center; color: var(--cobalt); }
[aria-pressed=true] .quiz-figure { color: var(--lemon); }
.quiz-image { width: 100%; aspect-ratio: 1; object-fit: contain; }
@media (min-width: 600px) { .quiz-choices:has(.has-picture) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.quiz-switch { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); cursor: pointer; font-family: var(--ui); font-weight: 500; font-size: 16px; line-height: 1.35; }
.quiz-switch span { flex: 1; }
.quiz-toggle { flex: none; position: relative; width: 50px; height: 30px; margin: 0; border-radius: 15px; background: var(--line); -webkit-appearance: none; appearance: none; cursor: pointer; transition: background .2s; }
.quiz-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.quiz-toggle:checked { background: var(--cobalt); }
.quiz-toggle:checked::after { transform: translateX(20px); }
.quiz-toggle:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.quiz-bar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 8px; margin-top: 36px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.quiz-bar .btn { flex: 2; padding: 0 16px; }
.quiz-bar .btn.ghost { flex: 1; }

/* The card and what it means */
.quiz-status { display: grid; gap: 12px; margin: 16px 0; }
.quiz-status p { margin: 0; }
.quiz-status .btn { justify-self: start; }
.quiz-result { display: grid; gap: 44px; margin-top: 22px; }
.quiz-formula { display: grid; gap: 18px; padding: 22px 22px 26px; background: var(--cobalt); color: #fff; }
.quiz-formula p { margin: 0; }
.quiz-brand { display: flex; align-items: center; gap: 8px; font-family: var(--ui); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.quiz-brand .comma { flex: none; width: 9px; height: 18px; color: var(--lemon); }
.quiz-brand-ig { margin-left: auto; letter-spacing: .04em; text-transform: none; font-size: 13px; }
.quiz-share { margin: 12px 0 22px; font-family: var(--ui); font-weight: 500; font-size: 14px; color: var(--muted); text-align: center; }
.quiz-lines { display: grid; margin: 0; }
.quiz-lines div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .24); }
.quiz-lines div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .24); }
.quiz-lines dt { font-family: var(--ui); font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, .78); }
.quiz-lines dd { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.quiz-formula .is-locked, .quiz-formula .is-missing { font-family: var(--ui); font-weight: 500; font-size: 14px; color: rgba(255, 255, 255, .66); }
.quiz-formula .lock { display: inline; margin-right: 6px; vertical-align: -1px; }
.quiz-atmosphere { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--lemon); }
.quiz-words { font-family: var(--ui); font-weight: 500; font-size: 13px; color: rgba(255, 255, 255, .78); }
.quiz-styles { display: flex; flex-wrap: wrap; gap: 6px; }
.quiz-styles span { padding: 5px 10px; border: 1px solid rgba(242, 226, 122, .7); color: var(--lemon); font-family: var(--ui); font-weight: 500; font-size: 13px; }
.quiz-offer { padding: 24px 22px 26px; background: var(--lemon); }
.quiz-offer h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.1; }
.quiz-offer p { margin: 0 0 16px; }
.quiz-offer .typing-price.on-lemon { margin: 6px 0 20px; }
.quiz-offer .btn { width: 100%; }
.quiz-code { font-family: var(--ui); font-weight: 500; font-size: 15px; }

.quiz-line { display: grid; gap: 14px; padding: 26px 0; border-top: 1px solid var(--line); }
.quiz-line:first-child { padding-top: 18px; border-top: 2px solid var(--ink); }
.quiz-line h3 { margin: 0; font-size: 30px; line-height: 1.1; }
.quiz-line p { margin: 0; }
.quiz-summary { font-family: var(--ui); font-weight: 500; font-size: 18px; }
.quiz-pick { display: grid; gap: 10px; }
.quiz-rules-pair { display: grid; gap: 18px; }
.quiz-rules-title { margin: 0 0 6px !important; font-family: var(--ui); font-weight: 600; font-size: 15px; }
.quiz-rules ul { margin: 0; padding: 0; list-style: none; }
.quiz-rules li { position: relative; padding: 4px 0 4px 22px; font-size: 15px; line-height: 1.45; }
.quiz-rules li::before { position: absolute; left: 2px; top: 3px; font-family: var(--ui); font-weight: 600; font-size: 16px; }
.quiz-rules.is-wear li::before { content: "+"; color: var(--cobalt); }
.quiz-rules.is-avoid li::before { content: "−"; color: var(--sale); }
.quiz-locked { display: grid; gap: 6px; padding: 14px 16px; background: var(--surface); font-size: 15px; }
.quiz-locked .lock { display: inline; margin-right: 8px; vertical-align: -1px; color: var(--muted); }
.quiz-locked a { justify-self: start; font-family: var(--ui); font-weight: 600; }
.quiz-actions-row { margin-top: 30px; }
/* After the lines: the app, the stylist, Instagram, in this order (03.11.2026). */
.quiz-result-more > .quiz-next, .quiz-result-more > .quiz-offer { margin-top: 28px; }
.quiz-next { padding-top: 22px; border-top: 2px solid var(--ink); }
.quiz-next h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.1; }
.quiz-next p { margin: 0 0 16px; }
.quiz-next .stores { margin: 0 0 6px; }
.quiz-next > .btn { width: 100%; }
@media (min-width: 720px) { .quiz-next > .btn { width: auto; } }
.quiz-to-app { justify-self: start; font-family: var(--ui); font-weight: 600; }
/* «Сохранить результат»: the email, the code when the email has an account, then the stores. */
.quiz-save { display: grid; gap: 12px; margin: 0 0 18px; max-width: 420px; }
.quiz-save .field { margin: 0; }
.quiz-save .field[hidden], .quiz-save .errors[hidden] { display: none; }
.quiz-save .btn { width: 100%; }
.quiz-next .quiz-save p.small { margin: 0; }
.quiz-next p.quiz-saved { margin: 0 0 16px; padding: 12px 14px; background: var(--lemon); font-weight: 600; }
.socials { margin: 14px 0 0; font-family: var(--ui); font-size: 15px; color: var(--muted); }
.socials a { color: inherit; font-weight: 600; }
.spread-coral .socials { color: var(--ink); }
.follow { display: flex; flex-wrap: wrap; gap: 10px; }
.follow .btn { display: inline-flex; align-items: center; gap: 10px; }
.follow .ig-glyph { width: 20px; height: 20px; }
@media (max-width: 599px) { .follow .btn { flex: 1 1 140px; justify-content: center; } }
.follow + .socials { margin-top: 16px; }
.quiz-actions-row .btn { flex: 1 1 200px; }
@media (min-width: 600px) {
  .quiz-rules-pair { grid-template-columns: 1fr 1fr; gap: 28px; }
  .quiz-intro .quiz-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  .quiz-intro { padding: 72px 0 88px; }
  .quiz-page { padding-top: 24px; }
  .quiz-result { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
  .quiz-result-main { position: sticky; top: 84px; }
}

/* /app/: the app's own screens (the store screenshots, in the bucket under site/) in a phone, the
   feed peeking out of the cobalt hero, then one spread per thing it does on the brand's colours. */
.phone { margin: 0; border: 7px solid var(--ink); border-radius: 38px; overflow: hidden; background: var(--ink); box-shadow: 0 24px 48px rgba(23, 21, 19, .22); }
.phone img { width: 100%; height: auto; border-radius: 31px; }
.app-hero { overflow: hidden; background: var(--cobalt); color: #fff; }
.app-hero-inner { display: grid; gap: 36px; padding-top: 44px; }
.app-hero h1 { margin: 0 0 18px; font-size: clamp(42px, 7vw, 84px); line-height: 1.02; }
.app-hero p { max-width: 27em; margin: 0 0 26px; font-size: 18px; color: rgba(255, 255, 255, .86); }
.app-hero .stores { margin: 0; }
.app-hero p.stores-note { margin: 14px 0 0; font-size: 14px; color: #fff; }
.app-hero-shot { justify-self: center; width: min(72vw, 280px); height: 340px; }
.app-screen { display: grid; gap: 28px; padding-top: 44px; }
.app-screen h2 { margin: 0 0 14px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; }
.app-screen p { margin: 0; max-width: 30em; font-size: 17px; color: var(--muted); }
.app-screen-pic { display: flex; justify-content: center; margin: 0 calc(-1 * var(--gutter)); padding: 40px 0; background: var(--surface); }
.app-screen-pic .phone { width: 236px; }
.app-screen-pic.is-lemon { background: var(--lemon); }
.app-screen-pic.is-coral { background: var(--coral); }
.app-screen-pic.is-cobalt { background: var(--cobalt); }
@media (min-width: 900px) {
  .app-hero-inner { grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 64px; padding-top: 0; }
  .app-hero-text { padding: 72px 0; }
  .app-hero-shot { align-self: end; width: 320px; height: 520px; margin-top: 64px; }
  .app-screen { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 72px; padding: 72px 0; border-top: 1px solid var(--line); }
  .app-screen:first-child { border-top: 0; }
  .app-screen:nth-child(even) .app-screen-pic { order: -1; }
  .app-screen-pic { margin: 0; padding: 56px 0; }
  .app-screen-pic .phone { width: 290px; }
}

/* Footer */
.site-footer { background: var(--ink); color: #cfc9c0; padding: 48px 0 56px; font-size: .875rem; }
.site-footer .logo { color: var(--paper); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.footer-ig { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--paper); font-family: var(--ui); font-weight: 600; font-size: 16px; text-decoration: none; }
.footer-ig:hover { color: var(--lemon); }
.site-footer .socials { margin: 0; color: #cfc9c0; }
.site-footer .socials a:hover { color: var(--lemon); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 20px; }
.site-footer .links a { color: var(--paper); text-decoration: none; }
.site-footer .links a:hover { text-decoration: underline; }
.site-footer p { margin: 6px 0; max-width: 60em; }

/* Consent for Yandex Metrica (web/metrika.js): pinned to the bottom until she chooses. */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 16px 0; background: var(--paper); border-top: 1px solid var(--ink); box-shadow: 0 -8px 24px rgba(23, 21, 19, .08); }
.cookie-banner[hidden] { display: none; }
.cookie-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cookie-banner p { flex: 1 1 320px; margin: 0; font-size: .9375rem; }
.cookie-banner a { color: var(--cobalt); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { min-height: 44px; padding: 0 20px; }

.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* Home: the cover (variant A3 of 28.10.2026) and its spreads. The cover is drawn on a 390 × 844
   phone board and a 1280 × 800 desktop one; cqw keeps every piece where the board put it. */
.is-home main, .is-wide main { padding: 0; }
.cover { background: var(--cobalt); color: #fff; }
.cover-inner { position: relative; max-width: 560px; margin: 0 auto; container-type: inline-size; }
.cover-art { position: relative; height: 153.85cqw; overflow: hidden; }
.cover-top {
  position: absolute; inset: 0 0 auto 0; z-index: 5; height: 48px; margin: 0; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--ui); font-weight: 600; font-size: 10px; letter-spacing: .32em; text-transform: uppercase;
}
.cover a:focus-visible { outline-color: var(--lemon); }
.cover-mast {
  position: absolute; left: 3.33cqw; top: 9.23cqw; z-index: 1; margin: 0;
  font-family: var(--serif); font-size: 19.49cqw; line-height: 1; white-space: nowrap;
}
.cover-mast span { color: var(--lemon); }
.cover-photo { position: absolute; left: 12.82cqw; top: 12.82cqw; z-index: 2; width: 103.85cqw; height: 138.46cqw; max-width: none; }
.cover-card {
  position: absolute; left: 2.56cqw; top: 81.54cqw; z-index: 3; width: 46.67cqw; padding: 11px 12px 6px;
  display: flex; flex-direction: column; background: var(--paper); color: var(--ink); text-decoration: none; transform: rotate(-2deg);
}
.cover-card-kicker { font-family: var(--ui); font-weight: 500; font-size: 10px; color: var(--muted); }
.cover-card-title { margin-top: 1px; font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.cover-card-sub { margin-top: 2px; font-family: var(--ui); font-weight: 500; font-size: 11px; line-height: 1.25; color: var(--muted); }
.cover-card-lines { margin-top: 6px; display: grid; grid-template-columns: 56px minmax(0, 1fr); font-size: 12px; line-height: 1.25; }
.cover-card-lines > span { padding: 5px 0; border-top: 1px solid rgba(23, 21, 19, .14); }
.cover-card-lines > span:nth-child(odd) { font-family: var(--ui); font-weight: 600; font-size: 11px; }
.cover-card-lines .is-locked { color: #8f8a83; }
.cover-card-lines .lock { display: inline; margin-right: 5px; vertical-align: -1px; }
.cover-card-cta { margin: 6px -12px -6px; padding: 11px 12px; background: var(--lemon); color: var(--ink); font-family: var(--ui); font-weight: 600; font-size: 13px; line-height: 1.2; text-align: center; }
.cover-credit {
  position: absolute; right: 8px; top: 97.4cqw; z-index: 3; margin: 0; transform: rotate(90deg); transform-origin: right top;
  font-family: var(--ui); font-weight: 500; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.cover-text { display: flex; flex-direction: column; gap: 14px; padding: 20px 16px 28px; background: var(--paper); color: var(--ink); }
.cover-text h1 { margin: 0; font-size: 27px; line-height: 1.14; }
.cover-lead { margin: 0; font-size: 16px; line-height: 1.45; }
/* One button a screen (the owner, 03.11.2026): the card's on a phone, this one on a computer. */
.cover-cta { display: none; width: 100%; margin-top: 4px; }
.cover-note { margin: 0; font-family: var(--ui); font-weight: 500; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .cover-inner { max-width: 1280px; }
  .cover-art { height: 62.5cqw; }
  .cover-top { height: 56px; padding: 0 3.75cqw; font-size: 11px; }
  .cover-mast { left: 3.75cqw; top: 3.9cqw; font-size: 19.22cqw; letter-spacing: -.008em; }
  .cover-photo { left: 28.28cqw; top: 7.34cqw; width: 43.36cqw; height: 57.81cqw; }
  .cover-card { left: 73.75cqw; top: 31.56cqw; width: 20.63cqw; padding: 1.4cqw 1.56cqw 1.1cqw; }
  .cover-card-kicker { font-size: max(11px, .94cqw); }
  .cover-card-title { font-size: max(18px, 1.95cqw); }
  .cover-card-sub { font-size: max(12px, 1.02cqw); }
  .cover-card-lines { margin-top: .94cqw; grid-template-columns: max(60px, 5.6cqw) minmax(0, 1fr); font-size: max(12px, 1.09cqw); }
  .cover-card-lines > span { padding: max(6px, .625cqw) 0; }
  .cover-card-lines > span:nth-child(odd) { font-size: max(11px, 1.02cqw); }
  .cover-card-cta { display: none; }
  .cover-credit { left: 4.375cqw; right: auto; top: auto; bottom: 1.9cqw; transform: none; font-size: 10px; }
  .cover-text { position: absolute; left: 4.375cqw; top: 29.5cqw; z-index: 3; width: 25.8cqw; gap: 10px; padding: 0; background: none; color: #fff; }
  .cover-text h1 { margin-bottom: 6px; font-size: max(26px, 2.8125cqw); line-height: 1.1; }
  .cover-lead { margin-bottom: 14px; font-size: max(15px, 1.17cqw); }
  .cover-cta { display: inline-flex; align-self: flex-start; width: auto; margin: 0; background: var(--lemon); border-color: var(--lemon); color: var(--ink); }
  .cover .btn.cover-cta:hover { background: #fff; border-color: #fff; color: var(--ink); }
  .cover-note { color: #fff; text-align: left; }
}

.spread { padding: 56px 0; border-top: 1px solid var(--line); }
.cover + .spread { border-top: 0; }
.spread-head { max-width: 640px; margin-bottom: 28px; }
.spread-head h2 { margin: 0 0 14px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; }
.spread-head p { margin: 0; max-width: 34em; font-size: 17px; color: var(--muted); }
.spread-cols .spread-head { margin-bottom: 0; }
.spread-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
@media (max-width: 599px) { .spread-links .btn, .stores .btn { flex: 1 1 auto; } }
.spread-note { margin: 10px 0 0; font-family: var(--ui); font-weight: 500; font-size: 13px; }
.spread-cols { display: grid; gap: 32px; }
.spread-lemon { border-top: 0; background: var(--lemon); }
.spread-lemon .spread-head p { color: var(--ink); }
.spread-lemon .btn { margin-top: 24px; }
.spread-ink { border-top: 0; background: var(--ink); color: var(--paper); }
.spread-coral { border-top: 0; background: var(--coral); }
.spread-ink .spread-head p { color: #cfc9c0; }
@media (min-width: 900px) {
  .spread { padding: 88px 0; }
  .spread-cols { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 64px; }
}

/* Home: our Instagram on coral, the handle as big as a masthead and Elena at the edge. */
.ig { display: grid; gap: 8px; }
.spread-coral:has(.ig-photo) { padding-bottom: 0; }
.ig h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; }
.ig-handle {
  display: block; margin: 2px 0 18px; font-family: var(--serif); font-size: clamp(44px, 11.4vw, 104px); line-height: 1.02;
  letter-spacing: -.01em; color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
}
.ig-handle:hover { color: #fff; }
.ig p { margin: 0 0 24px; max-width: 30em; font-size: 17px; }
/* On a phone she stands cut by the spread's edge, as on the cover: the top of the picture, large. */
.ig-photo { justify-self: center; width: min(100%, 360px); height: auto; aspect-ratio: 6 / 5; margin-top: 8px; object-fit: cover; object-position: 50% 0; }
@media (min-width: 900px) {
  .ig { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 48px; }
  .ig-text { padding-bottom: 88px; }
  .ig-photo { width: 100%; max-width: 380px; aspect-ratio: auto; margin-top: 0; }
}

/* Looks (/looks/, the home, a look's page): a card is its items as a flat lay on white (the
   cut-outs, as in the app), its name, what it costs and its budget. */
.looks { display: grid; gap: 28px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .looks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; } }
@media (min-width: 1040px) { .looks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.look { display: flex; flex-direction: column; gap: 3px; min-width: 0; text-decoration: none; }
.look-pics { display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 2px; aspect-ratio: 1; overflow: hidden; margin-bottom: 10px; padding: 8px; background: #fff; border: 1px solid var(--line); transition: border-color .15s; }
.look-pics img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.look-title { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.look-total { font-size: 14px; color: var(--muted); }
.look-budget { align-self: flex-start; margin-top: 6px; padding: 2px 8px; background: var(--lemon); font-family: var(--ui); font-weight: 600; font-size: 12px; }
@media (hover: hover) {
  .look:hover .look-pics { border-color: var(--ink); }
  .look:hover .look-title { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
}
.crumbs { margin: 0 0 14px; font-family: var(--ui); font-weight: 500; font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a::before { content: "‹ "; }
.crumbs a:hover { color: var(--ink); }
.looks-filters { gap: 10px; }
.looks-filters .chips { margin-top: 0; margin-bottom: 0; }
.looks-filters li { flex: none; }
.looks-filters .chip { white-space: nowrap; }
.looks-empty { padding: 40px 0; text-align: center; color: var(--muted); }
.looks-empty .btn { margin-top: 8px; }
.looks-empty.is-first { padding: 32px 24px; text-align: left; color: var(--ink); background: var(--surface); }
.looks-empty.is-first h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; }
.looks-empty.is-first p { max-width: 34em; margin: 0; font-size: 17px; }
.looks-empty.is-first .spread-links, .styles-cta .spread-links { margin-top: 24px; }
.looks-guide { margin-top: 56px; padding-top: 24px; border-top: 2px solid var(--ink); }
.looks-guide h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); }
.looks-guide p { max-width: 34em; margin: 0 0 18px; font-size: 17px; color: var(--muted); }

.look-page { display: grid; gap: 28px; }
.look-board { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-content: start; padding: 12px; background: #fff; border: 1px solid var(--line); }
.look-board a { display: block; aspect-ratio: 1; }
.look-board img { width: 100%; height: 100%; object-fit: contain; }
.look-side h1 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.look-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; }
.look-tags li { padding: 4px 10px; border: 1px solid var(--line); background: #fff; font-family: var(--ui); font-weight: 500; font-size: 13px; }
.look-tags a { color: var(--cobalt); text-decoration: none; }
.look-sum { margin: 0 0 18px; font-family: var(--ui); font-weight: 500; font-size: 15px; color: var(--muted); }
.look-sum span { display: block; font-family: var(--serif); font-size: 42px; line-height: 1.1; color: var(--ink); }
.look-items { margin: 0 0 14px; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.look-items a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.look-items img { width: 64px; height: 64px; object-fit: contain; background: #fff; }
.look-item-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.look-item-role { font-family: var(--ui); font-weight: 600; font-size: 12px; color: var(--muted); }
.look-item-name { font-size: 15px; line-height: 1.3; }
.look-item-brand { font-size: 13px; color: var(--muted); }
.look-item-price { font-weight: 700; white-space: nowrap; }
@media (hover: hover) { .look-items a:hover .look-item-name { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; } }
.look-style { margin-top: 28px; padding: 20px 22px 22px; background: var(--lemon); }
.look-style h2 { margin: 0 0 8px; font-size: 24px; }
.look-style p { margin: 0 0 10px; }
.look-style a { font-family: var(--ui); font-weight: 600; }
.look-more { margin-top: 56px; }
@media (min-width: 900px) {
  .look-page { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: start; }
  .look-board { position: sticky; top: 84px; padding: 20px; }
}

/* /looks/styles/: a contents page of style names, then a family per section and a style per row,
   its name on the left like a magazine's running head. */
.styles-index { display: grid; gap: 22px 32px; padding: 22px 0 26px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.styles-index-family { margin: 0 0 8px; font-family: var(--ui); font-weight: 600; font-size: 13px; color: var(--muted); }
.styles-index ul { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.styles-index a { font-family: var(--serif); font-size: 20px; line-height: 1.35; text-decoration: none; }
.styles-index a:hover { color: var(--cobalt); }
@media (min-width: 720px) { .styles-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .styles-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.styles-family { padding-top: 56px; }
.styles-family-head h2 { margin: 0 0 8px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; }
.styles-family-head p { max-width: 34em; margin: 0 0 6px; font-size: 17px; color: var(--muted); }
.style { display: grid; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.style h3 { margin: 0; font-size: 30px; line-height: 1.1; }
.style-lead { max-width: 40em; margin: 0 0 14px; font-size: 17px; }
.style-cols { display: grid; gap: 4px; }
.style-label { margin: 0 0 4px; font-family: var(--ui); font-weight: 600; font-size: 13px; color: var(--muted); }
.style-cols ul { margin: 0 0 14px; padding-left: 18px; }
.style-cols li { margin: 2px 0; }
.style-cols p:not(.style-label) { margin: 0 0 14px; }
.style-looks { display: inline-block; font-family: var(--ui); font-weight: 600; }
@media (min-width: 900px) {
  .style { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: 34px 0; }
  .style-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.styles-colors { max-width: 760px; margin-top: 64px; padding-top: 26px; border-top: 2px solid var(--ink); }
.styles-colors h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; }
.styles-colors p { font-size: 17px; }
.styles-colors ul { padding-left: 18px; font-size: 17px; }
.styles-colors li { margin: 4px 0; }
.styles-cta { margin-top: 56px; padding: 30px 22px 32px; background: var(--lemon); }
.styles-cta .spread-head { margin: 0; }
.styles-cta .spread-head p { color: var(--ink); }
@media (min-width: 900px) { .styles-cta { padding: 48px 56px; } }

/* «Пять линий» on the figure: solid lines are on the free card, dashed ones the stylist opens.
   The halo has the spread's colour, so a line stays visible over the black jacket. */
.lines-figure { margin: 0; }
.lines-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.lines-figure text { font-family: var(--serif); font-size: 56px; fill: var(--ink); }
.lines-figure line { stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.lines-figure line.halo { stroke: var(--lemon); stroke-width: 5; }
.lines-figure circle { fill: var(--ink); }
.lines-figure circle.halo { fill: var(--lemon); }
.lines-figure .is-stylist line:not(.halo) { stroke-dasharray: 6 5; }
.lines-figure .is-stylist text { fill-opacity: .55; }
.lines-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-family: var(--ui); font-weight: 500; font-size: 13px; }
.lines-legend span::before { content: ""; display: inline-block; width: 24px; margin-right: 8px; vertical-align: middle; border-top: 2px solid var(--ink); }
.lines-legend .is-stylist::before { border-top-style: dashed; }

.journal-list { margin: 0 0 28px; padding: 0; list-style: none; }
.journal-list li { padding: 14px 0; border-top: 1px solid rgba(250, 247, 242, .18); font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.journal-list li:last-child { border-bottom: 1px solid rgba(250, 247, 242, .18); }
.typing-price { display: flex; flex-direction: column; gap: 4px; margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.typing-price span { font-family: var(--serif); font-size: 40px; line-height: 1.1; color: var(--ink); }
.spread-ink .typing-price { color: #cfc9c0; }
.spread-ink .typing-price span { color: var(--paper); }
.typing-price.on-lemon { margin: 18px 0 0; color: var(--ink); }

/* /typing/: the sales page of the stylists' typing (28.10.2026). The first screen is the spread B2:
   Elena and the lemon comma on cobalt, drawn on 390 × 430 and 640 × 800 boards. */
.typing-hero { display: grid; background: var(--paper); }
.typing-hero-art { position: relative; overflow: hidden; aspect-ratio: 390 / 430; background: var(--cobalt); container-type: inline-size; }
.typing-hero-art .comma { position: absolute; left: 64.6cqw; top: 17.9cqw; width: 31.8cqw; height: 63.1cqw; color: var(--lemon); }
.typing-hero-art img { position: absolute; left: 0; top: 11.8cqw; width: 92.3cqw; height: 123cqw; max-width: none; }
.typing-hero-text { padding: 28px var(--gutter) 44px; }
.typing-hero-text h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
.typing-lead { max-width: 24em; margin: 0 0 26px; font-size: 19px; line-height: 1.45; }
.typing-code { margin: -10px 0 22px; font-size: 15px; }
@media (min-width: 900px) {
  .typing-hero { grid-template-columns: 1fr 1fr; }
  .typing-hero-art { aspect-ratio: 640 / 800; }
  .typing-hero-art .comma { left: 61.25cqw; top: 10.94cqw; width: 33.44cqw; height: 66.4cqw; }
  .typing-hero-art img { left: -3.75cqw; top: 12.5cqw; width: 84.38cqw; height: 112.5cqw; }
  .typing-hero-text { align-self: center; max-width: 620px; padding: 48px 56px; }
}

/* The journal sells the typing (03.11.2026): two demo covers on lemon, each in her own colours. */
.typing-covers { background: var(--lemon); }
.typing-covers img { position: absolute; width: 50cqw; height: auto; max-width: none; box-shadow: 0 18px 40px rgba(23, 21, 19, .24); }
.typing-covers .cover-back { left: 9cqw; top: 9cqw; transform: rotate(-5deg); }
.typing-covers .cover-front { left: 41cqw; top: 27cqw; transform: rotate(4deg); }
@media (min-width: 900px) {
  .typing-covers img { width: 50cqw; }
  .typing-covers .cover-back { left: 8cqw; top: 14cqw; }
  .typing-covers .cover-front { left: 40cqw; top: 40cqw; }
}
.typing-quiz { max-width: 26em; margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.typing-quiz a { color: var(--ink); font-weight: 600; }

/* Pages of the demo journals: a strip to swipe on a phone, three columns on a computer. */
.journal-pages {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 300px); gap: 16px;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
}
.journal-pages li { scroll-snap-align: start; }
.journal-pages figure { margin: 0; }
.journal-pages img { display: block; width: 100%; height: auto; box-shadow: 0 0 0 1px var(--line), 0 10px 28px rgba(23, 21, 19, .1); }
.journal-pages figcaption { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.journal-pages figcaption b { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--ink); }
@media (min-width: 900px) {
  .journal-pages { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; margin: 0; padding: 0; overflow: visible; }
}

/* The stylist by name, on cobalt as on the cover. */
.stylist { display: grid; gap: 22px; }
.stylist-photo { width: min(100%, 340px); height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0; background: var(--cobalt); }
.stylist-text h2 { margin: 0 0 18px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; }
.stylist-text p:last-child { max-width: 30em; margin: 0; font-size: 17px; color: var(--muted); }
@media (min-width: 900px) {
  .stylist { grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: center; }
}

.code-field summary { display: inline-block; padding: 4px 0; list-style: none; cursor: pointer; font-family: var(--ui); font-weight: 600; color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.code-field summary::-webkit-details-marker { display: none; }
.code-field[open] summary { margin-bottom: 10px; color: var(--ink); text-decoration: none; }

.contents { margin: 0; padding: 0; list-style: none; counter-reset: part; }
.contents li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: baseline; padding: 16px 0;
  border-top: 1px solid var(--line); font-family: var(--serif); font-size: 22px; line-height: 1.25; counter-increment: part;
}
.contents li::before { content: counter(part, decimal-leading-zero); font-size: 18px; color: var(--cobalt); }
.contents li:last-child { border-bottom: 1px solid var(--line); }

.steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 8px; row-gap: 4px; padding-top: 14px;
  border-top: 2px solid var(--ink); counter-increment: step;
}
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--cobalt); }
.steps b { font-family: var(--ui); font-weight: 600; font-size: 17px; line-height: 1.3; }
.steps span { font-size: 15px; color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .steps li { display: flex; flex-direction: column; gap: 6px; }
  .steps li::before { margin-bottom: 4px; font-size: 40px; }
}

.spread-lemon .panel { border: 0; border-radius: 0; padding: 24px; background: var(--paper); }
.spread-lemon .notice { background: var(--paper); border-radius: 0; }

.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 40px 18px 0; list-style: none; cursor: pointer; font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--ui); font-size: 26px; }
.faq details[open] summary::after { content: "−"; }
.faq p { max-width: 40em; margin: 0 0 20px; color: var(--muted); }
