/* Light only by design: no prefers-color-scheme block anywhere. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-ext.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Onest (SIL OFL 1.1) has Cyrillic and Latin: the Ukrainian view uses it for headings and text, so no word mixes two faces. Loaded only there. */
@font-face { font-family: "Onest"; src: url("../fonts/onest-cyrillic-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --ink: #2b2140;
  --brand: #c2255c;
  --brand-dark: #a01a49;
  --deep: #2b2140;
  --sun: #ffd25a;
  --sun-soft: #fff3cf;
  --mist: #fff4ee;
  --line: #efddd5;
  --muted: #665a6c;
  --teal: #0a6557;
  --teal-soft: #e2f3ee;
  --err: #a8221b;
  --white: #fff;
  --display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-s: 10px;
  --r-m: 18px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 6.4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.lead { font-size: 1.15rem; line-height: 1.5; max-width: 34em; }
section { padding: 44px 0; }
.band { background: var(--mist); }
.sec-head { margin-bottom: 22px; max-width: 40em; }
.sec-head p { margin: 8px 0 0; color: var(--muted); }

/* demo ribbon + header */
.ribbon { background: var(--mist); color: var(--muted); font-size: 0.8rem; text-align: center; padding: 5px 12px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; align-items: center; gap: 10px; min-height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; min-height: 44px; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo-word { display: flex; flex-direction: column; font: 400 1.02rem/1.02 var(--body); letter-spacing: -0.01em; text-transform: lowercase; }
.logo-word b { font-weight: 800; }
@media (min-width: 760px) { .logo-word { flex-direction: row; gap: 0.28em; font-size: 1.32rem; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .nav-wide { display: none; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; margin-left: 4px; }
.lang button { border: 0; background: none; font: 700 0.8rem/1 var(--body); color: var(--muted); min-width: 44px; min-height: 44px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--brand); color: var(--white); }
@media (min-width: 760px) { .nav .nav-wide { display: inline-flex; } .nav a { padding: 0 14px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--brand); background: var(--brand); color: var(--white); font: 700 1.02rem/1.2 var(--body); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--brand); }
.btn-ghost:hover { background: var(--mist); color: var(--brand-dark); }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffc832; border-color: #ffc832; color: var(--ink); }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 22px; }
.cta-note { font-size: 0.95rem; line-height: 1.35; max-width: 17em; margin: 0; }
.cta-note strong { display: block; font: 700 1.2rem/1.2 var(--display); }

/* hero */
.hero { padding: 34px 0 40px; }
.hero-grid { display: grid; gap: 30px; }
.hero h1 { max-width: 13em; }
.hero .lead { margin-top: 16px; }
.hero-art { position: relative; max-width: 420px; }
.arch { border-radius: 999px 999px var(--r-m) var(--r-m); overflow: hidden; background: var(--mist); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .arch { aspect-ratio: 4 / 4.4; width: 78%; margin-left: auto; }
.hero-art .slot { position: absolute; left: 0; bottom: 18px; height: auto; width: min(300px, 86%); box-shadow: 0 18px 40px -18px rgba(43, 33, 64, 0.45); }
@media (min-width: 700px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 36px; }
  .hero-art { margin-left: auto; width: 100%; }
}
@media (min-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { gap: 56px; }
}
.price-line { font: 650 clamp(1.15rem, 3.4vw, 1.4rem)/1.3 var(--display); color: var(--brand); margin: 16px 0 0; max-width: 24em; }

/* steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; align-content: start; }
.steps li::before { content: counter(step); width: 46px; height: 52px; border-radius: 999px 999px 8px 8px; background: var(--sun); color: var(--ink); font: 700 1.3rem/1 var(--display); display: grid; place-items: center; padding-top: 4px; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } .steps li { grid-template-columns: 1fr; } }

/* filters */
.filters { display: grid; gap: 14px; margin-bottom: 20px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 3px 20px 6px; margin: 0 -20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: 600 0.95rem/1 var(--body); cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--white); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.count { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 760px) { .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }

/* form controls */
label, .label { display: block; font-weight: 650; font-size: 0.95rem; margin-bottom: 6px; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.88rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid #8a7a90; border-radius: var(--r-s); background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--body); }
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232b2140' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field { margin-bottom: 18px; }
.field-inline { width: auto; min-width: 210px; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-weight: 400; margin-bottom: 14px; min-height: 44px; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--brand); }
.error { color: var(--err); font-size: 0.9rem; font-weight: 600; margin: 6px 0 0; }
.error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
/* the sign-up form: the button keeps the same distance from the last question as the questions keep from each other,
   also when the chips wrap to two rows or an error line shows between them */
[data-poc]:not([data-poc="on"]) { display: none; } /* pieces of the POC only: hidden unless the POC's script switches them on */
.ads-foot a, #wl-privacy, .foot-links a, #foot-live a { display: inline-block; padding: 13px 0; } /* 44 px tap targets for the small links */
#wl-box { scroll-margin-top: 12px; }
#wl-next { margin-top: 22px; }
#wl-go { margin-top: 8px; }
#e-wl-ok:not(:empty) { margin-bottom: 14px; }
.nojs .seg { margin-bottom: 20px; }
.seg legend { font-weight: 650; font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
.seg label { margin: 0; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.seg span { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 48px; padding: 0 14px; border: 1.5px solid #8a7a90; border-radius: 999px; font-weight: 700; background: var(--white); }
.seg input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

/* slot card: the "okienko". The date block is an arched window. */
.slot-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .slot-list { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .slot-list { grid-template-columns: repeat(3, 1fr); } }
.slot { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 12px 14px 12px 12px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-m); color: var(--ink); text-decoration: none; height: 100%; }
a.slot:hover { border-color: var(--brand); color: var(--ink); }
.slot-when { background: var(--mist); border-radius: 42px 42px 12px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 4px 10px; text-align: center; min-height: 112px; align-self: stretch; }
.slot-dow { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.slot-date { font-size: 0.9rem; font-weight: 700; }
.slot-time { font: 700 1.42rem/1.1 var(--display); color: var(--brand); margin-top: 5px; font-variant-numeric: tabular-nums; }
.slot-body { min-width: 0; display: flex; flex-direction: column; }
.slot-service { font-size: 1.08rem; margin-bottom: 2px; }
.slot-studio { margin: 0 0 8px; color: var(--muted); font-size: 0.9rem; line-height: 1.35; }
.slot-price { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; }
.price-new { font: 700 1.3rem/1 var(--display); }
.price-old { color: var(--muted); font-size: 0.95rem; }
.disc { background: var(--sun); color: var(--ink); font-weight: 800; font-size: 0.85rem; padding: 3px 8px; border-radius: 999px; align-self: center; }
.slot-ask { margin: 7px 0 0; font-size: 0.82rem; color: var(--teal); font-weight: 600; line-height: 1.3; }
.empty { border: 1.5px dashed var(--line); border-radius: var(--r-m); padding: 26px 20px; text-align: center; color: var(--muted); }
.empty .btn { margin-top: 10px; }

/* opinion label + cards */
.olabel { display: inline-flex; align-items: center; gap: 7px; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 0.84rem; line-height: 1.25; padding: 6px 11px; border-radius: 999px; }
.olabel svg { width: 15px; height: 15px; flex: none; }
.opinion { border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 18px; background: var(--white); }
.opinion + .opinion { margin-top: 14px; }
.opinion-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 12px 0 10px; }
.opinion-who { font-weight: 700; }
.opinion-meta { color: var(--muted); font-size: 0.9rem; }
.opinion dl { margin: 0; }
.opinion dt { font-weight: 700; font-size: 0.9rem; margin-top: 10px; }
.opinion dd { margin: 2px 0 0; }
.opinion-photos { display: flex; gap: 8px; margin-top: 12px; }
.opinion-photos img { width: 104px; height: 104px; object-fit: cover; border-radius: var(--r-s); }
.back { margin: 12px 0 0; font-weight: 700; }
.reply { margin-top: 14px; background: var(--mist); border-radius: var(--r-s); padding: 12px 14px; }
.reply strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.reply p { margin: 0; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 18px; height: 18px; }
.star-on { fill: #e9a100; }
.star-off { fill: #c9bccd; }
details.how { border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 0 16px; background: var(--white); }
details.how + details.how { margin-top: 10px; }
details.how summary { cursor: pointer; font-weight: 700; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
details.how summary::-webkit-details-marker { display: none; }
details.how summary::after { content: "+"; font: 400 1.5rem/1 var(--display); color: var(--brand); }
details.how[open] summary::after { content: "\2212"; }
details.how > :not(summary) { margin-top: 0; }
details.how > :last-child { padding-bottom: 16px; margin-bottom: 0; }

/* detail / two-column pages */
.crumb { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.detail { display: grid; gap: 26px; padding: 8px 0 48px; }
@media (min-width: 900px) { .detail { grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; } .sticky { position: sticky; top: 20px; } }
.photo { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.panel { border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 20px; background: var(--white); }
.panel-mist { background: var(--mist); border-color: var(--mist); }
.panel h2 { font-size: 1.35rem; margin-bottom: 14px; }
.panel h3 { font-size: 1.2rem; }
.kv { margin: 0; }
.kv dt { color: var(--muted); font-size: 0.9rem; }
.kv dd { margin: 0 0 10px; font-weight: 650; }
@media (min-width: 600px) { .kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; } .kv dt { font-size: 1rem; } .kv dd { margin: 0; text-align: right; } }
.bigprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 12px 0 4px; }
.bigprice .price-new { font-size: 2.2rem; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.rules svg { width: 22px; height: 22px; margin-top: 2px; }
.rules strong { display: block; }
.rules span { color: var(--muted); }
.code { font: 700 1.7rem/1 var(--display); letter-spacing: 0.06em; background: var(--sun-soft); border-radius: var(--r-s); padding: 14px 18px; display: inline-block; }
.done-mark { width: 56px; height: 62px; border-radius: 999px 999px 10px 10px; background: var(--teal-soft); display: grid; place-items: center; margin-bottom: 16px; }
.done-mark svg { width: 28px; height: 28px; }
.next { list-style: none; counter-reset: n; padding: 0; margin: 0; display: grid; gap: 10px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.next li::before { content: counter(n); width: 28px; height: 28px; border-radius: 50%; background: var(--sun); font-weight: 800; font-size: 0.9rem; display: grid; place-items: center; }
.stack > * + * { margin-top: 18px; }

/* star input */
.rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; border: 0; padding: 0; margin: 0; }
.rate legend { float: left; width: 100%; font-weight: 650; font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; margin: 0; }
.rate label svg { width: 36px; height: 36px; fill: #fff; stroke: #8a7a90; stroke-width: 1.4; }
.rate input:checked ~ label svg, .rate label:hover svg, .rate label:hover ~ label svg { fill: #e9a100; stroke: #b97f00; }
.rate input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: -2px; border-radius: 8px; }
.upload { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drop { position: relative; border: 1.5px dashed #8a7a90; border-radius: var(--r-s); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; font-weight: 650; font-size: 0.92rem; color: var(--muted); cursor: pointer; overflow: hidden; margin: 0; padding: 8px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }

/* studio profile */
.studio-head { display: grid; gap: 18px; padding: 8px 0 8px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 16 / 9; max-height: 420px; width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-s); min-height: 0; }
.gallery img:first-child { grid-row: 1 / 3; border-radius: var(--r-m) var(--r-s) var(--r-s) var(--r-m); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.rating-num { font: 700 1.6rem/1 var(--display); }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.svc li:last-child { border-bottom: 0; }
.svc span:last-child { font-weight: 700; white-space: nowrap; }

/* comparison table: stacked cards on phones, a table on wide screens */
.cmp { width: 100%; border-collapse: collapse; }
.cmp caption { text-align: left; color: var(--muted); font-size: 0.9rem; padding-bottom: 12px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 14px; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.cmp thead th { font-size: 0.88rem; color: var(--muted); font-weight: 650; }
.cmp tbody th { font: 650 1.05rem/1.3 var(--display); }
.cmp .us th, .cmp .us td { background: var(--sun-soft); }
.cmp .src { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 4px; }
.cmp .src a { color: var(--muted); }
.cmp strong.big { font: 700 1.15rem/1.2 var(--display); display: block; }
@media (max-width: 859px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp tr { border: 1.5px solid var(--line); border-radius: var(--r-m); margin-bottom: 12px; overflow: hidden; background: var(--white); }
  .cmp tr.us { border-color: var(--sun); }
  .cmp th, .cmp td { border-bottom: 0; padding: 6px 16px; }
  .cmp tbody th { padding-top: 16px; }
  .cmp td:last-child { padding-bottom: 16px; }
  .cmp td::before { content: attr(data-label); display: block; font-size: 0.8rem; font-weight: 650; color: var(--muted); }
}
.never { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.never li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.never svg { width: 24px; height: 24px; margin-top: 2px; }
@media (min-width: 760px) { .never { grid-template-columns: repeat(3, 1fr); gap: 28px; } .two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
.contact { display: grid; gap: 6px; font-size: 1.1rem; }
.preview-note { margin: 12px 0 0; font-size: 0.95rem; }

/* dashboard */
.bill { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .bill { grid-template-columns: repeat(4, 1fr); } }
.bill div { background: var(--mist); border-radius: var(--r-s); padding: 14px 12px; }
.bill .due { background: var(--sun-soft); }
.bill b { display: block; font: 700 1.55rem/1.1 var(--display); }
.bill span { font-size: 0.85rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.rows > li:last-child { border-bottom: 0; }
.row-main { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.row-main b { font-weight: 700; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: var(--mist); color: var(--ink); white-space: nowrap; }
.tag-ok { background: var(--teal-soft); color: var(--teal); }
.tag-no { background: #fbe4e2; color: var(--err); }
.tag-new { background: var(--sun); }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; } }

/* long-form rules page */
.prose h2 { margin: 40px 0 12px; font-size: 1.45rem; scroll-margin-top: 20px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--mist); text-decoration: none; font-weight: 600; font-size: 0.92rem; }

/* footer: light, like the rest of the site */
.site-footer { background: var(--mist); color: var(--ink); border-top: 1px solid var(--line); padding: 34px 0 40px; font-size: 0.95rem; }
.site-footer .wrap { display: grid; gap: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-links a { display: inline-flex; min-height: 44px; align-items: center; }
.foot-note { margin: 0; color: var(--muted); font-size: 0.85rem; max-width: 52em; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } .foot-note { grid-column: 1 / -1; } }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.linklike:hover { color: var(--brand-dark); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 12px 16px; z-index: 10; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; color: var(--white); }

/* studio hero preview, fee table, sample opinion */
.hero-pv { background: var(--mist); border-radius: var(--r-m); padding: 18px; max-width: 460px; width: 100%; }
.hero-pv .opinion { padding: 14px; }
.hero-pv .label { color: var(--muted); font-weight: 650; }
@media (min-width: 900px) { .hero-pv { margin-left: auto; } }
.fees { width: 100%; border-collapse: collapse; }
.fees th { text-align: left; font-size: 0.88rem; color: var(--muted); font-weight: 650; padding: 0 0 8px; }
.fees td { padding: 12px 0; border-top: 1px solid var(--line); }
.fees td:last-child, .fees th:last-child { text-align: right; white-space: nowrap; }
.fees strong { font: 700 1.25rem/1 var(--display); }
.sample { margin-top: 30px; max-width: 520px; }
.contact a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; font-size: 1.2rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* slot detail: title, then price panel, then the rest on phones; price panel on the right on wide screens */
.detail3 { display: grid; gap: 22px; padding: 4px 0 48px; }
.detail3 > * { min-width: 0; }
@media (min-width: 900px) {
  .detail3 { grid-template-columns: 1.15fr 0.85fr; grid-template-areas: "head side" "rest side"; column-gap: 48px; align-items: start; }
  .d-head { grid-area: head; } .d-side { grid-area: side; position: sticky; top: 20px; } .d-rest { grid-area: rest; }
}
.d-head h1 { font-size: clamp(1.8rem, 5.4vw, 2.6rem); }
.d-head .where { margin: 8px 0 0; font-size: 1.05rem; }
.why { margin: 14px 0 0; padding: 10px 14px; background: var(--sun-soft); border-radius: var(--r-s); font-size: 0.95rem; display: inline-block; }
.demo-note { font-size: 0.85rem; color: var(--muted); margin: 12px 0 0; }
h2.sub { font-size: 1.3rem; margin: 26px 0 14px; }
@media (min-width: 900px) { aside.sticky { position: sticky; top: 20px; } }
.preview-empty { color: var(--muted); font-style: normal; }

/* studio page on phones: the 3 steps come right after the hero; the preview cards follow them */
.pv-after { margin: 26px 0 0; }
@media (max-width: 699px) { .hero .hero-pv { display: none; } }
@media (min-width: 700px) { .pv-after { display: none; } }
.chip-for { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 12px; border-radius: 999px; background: var(--sun); font-weight: 700; font-size: 0.85rem; }
.hello { font: 650 1.2rem/1.3 var(--display); margin: 10px 0 14px; }
/* home hero art: the photo stays visible, the card overlaps only its lower edge */
.hero-art .arch { aspect-ratio: 4 / 3.2; width: 100%; }
.hero-art .slot { position: relative; left: auto; bottom: auto; margin: -64px 0 0 12px; width: min(320px, calc(100% - 24px)); }

/* long studio names: two lines at most on a card, one line with an ellipsis in the chip */
.slot-studio { overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.chip-for { max-width: 100%; display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 24px; vertical-align: bottom; }
.hello { overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* grid children may shrink: a one-line chip or a long name must never widen the page */
.hero-grid > *, .grid-2 > *, .two > * { min-width: 0; }
.for-bar { background: var(--sun-soft); padding: 6px 0; }
.for-bar .chip-for { background: none; padding: 0; min-height: 0; display: block; }
.personal .hero { padding-top: 18px; }
.hello { margin: 0 0 8px; }
.only-narrow { display: inline-flex; }
@media (min-width: 900px) { .only-narrow { display: none; } }
.sign { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: n; }
.sign li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.sign li::before { content: counter(n); width: 28px; height: 28px; border-radius: 50%; background: var(--sun); font-weight: 800; font-size: 0.9rem; display: grid; place-items: center; }

/* details that hold a table or long notes */
details.how > table, details.how > div { margin-top: 4px; }
#cmp-more .cmp tr { background: var(--white); }
.cmp-sum .big { font-size: 1.05rem; }

/* compact fee bands under the hero price sentence; demo tools tucked away in the footer */
.bands { margin: 8px 0 0; font-size: 0.92rem; font-weight: 650; color: var(--ink); max-width: 34em; }
details.tools { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted); }
details.tools summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; list-style: none; }
details.tools summary::-webkit-details-marker { display: none; }
details.tools p { margin: 0; }
.personal .hero { padding-top: 14px; }

/* offer cards (codes, no slots): the discount stands in the arched window */
.offer .slot-when { justify-content: center; gap: 2px; }
.offer .slot-time { margin-top: 0; font-size: 1.5rem; }
.offer .slot-service { font-size: 1.05rem; }
.offer .ex { font-size: 0.9rem; color: var(--muted); flex-basis: 100%; }
.offer .slot-price { margin-top: 6px; }
.offer .slot-ask { color: var(--ink); font-weight: 500; }
/* the personal code */
.codebox { display: grid; gap: 16px; border: 2px solid var(--ink); border-radius: var(--r-m); padding: 18px; margin: 16px 0 10px; background: var(--white); }
.codebox .code { font-size: 2.3rem; padding: 10px 16px; margin-right: 10px; }
.codebox-qr { justify-self: start; }
.qr { display: block; border: 1px solid var(--line); border-radius: 6px; }
@media (min-width: 520px) { .codebox { grid-template-columns: 1fr auto; align-items: center; } }
.code-row { display: flex; gap: 8px; flex-wrap: wrap; }
.code-row > input, .code-row > select { flex: 1 1 140px; width: auto; }
#code-in { text-transform: uppercase; font: 700 1.2rem/1.2 var(--display); letter-spacing: 0.06em; }
.svc s { font-weight: 400; margin-left: 4px; }
.d-head .gallery { max-height: 320px; }

.offer .cov { margin: 0 0 6px; font-size: 0.88rem; line-height: 1.35; }
.offer .slot-studio { margin-bottom: 4px; }

/* cards stretch only inside the list grid; elsewhere they take their own height */
.slot { height: auto; }
.slot-list .slot { height: 100%; }

/* personalised bar: the studio name wraps, it is never cut */
.for-bar .chip-for { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; overflow-wrap: anywhere; font-size: 0.82rem; }
.personal .hero h1 { font-size: clamp(1.75rem, 5.6vw, 3.2rem); }

.nav a { min-width: 44px; justify-content: center; }

/* a pasted link or a very long word never widens the page */
.opinion, .opinion dd, .reply p, #preview { overflow-wrap: anywhere; min-width: 0; }

/* logo: the wordmark and, on wide screens and in the footer, the category line under it */
.logo-text { display: flex; flex-direction: column; }
.logo-line { display: none; font: 500 0.72rem/1.2 var(--body); color: var(--muted); letter-spacing: 0.01em; margin-top: 2px; }
.site-footer .logo-line { display: block; }
@media (min-width: 760px) { .logo-line { display: block; } }

.offer .junior { font-weight: 650; color: var(--teal); }

/* ---- Ukrainian view (?lang=uk): one face with Cyrillic for headings and text; the logo keeps the brand face ---- */
html[lang="uk"] { --display: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
html[lang="uk"] h1, html[lang="uk"] h2 { letter-spacing: -0.02em; }
html[lang="uk"] .logo-word { font-family: "Figtree", system-ui, sans-serif; }
/* the header stays compact: between 760 and 1100 px it shows only the Ukrainian line; the footer shows both */
@media (min-width: 760px) and (max-width: 1099px) { html[lang="uk"] .site-header .logo-line:not(.logo-uk) { display: none; } }

.junior-line .junior::first-letter { text-transform: uppercase; }
.junior-line .junior { display: inline-block; }
.codebox .junior, .d-head .junior { color: var(--teal, #0a6557); font-weight: 700; }

/* the line for a visitor who came from a letter or from a person */
.for-bar .from-line { display: block; font-weight: 650; margin-bottom: 4px; }
.for-bar a.small { display: inline-block; padding: 8px 0; }

.for-bar .from-line[hidden], .for-bar a.small[hidden] { display: none; }

/* the summary box of the remote order: a plain list */
.ord-list { margin: 10px 0 0; padding-left: 1.15em; }
.ord-list li { margin: 0 0 8px; }

/* ---- two kinds of offer on one list (MODEL.md Revision 8) ---- */
.kind { display: inline-block; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; font: 700 0.74rem/1.3 var(--body); letter-spacing: 0.01em; }
.kind-code { background: var(--brand); color: var(--white); }
.kind-salon { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); }
.listing { display: block; }
.listing .listing-text { margin: 8px 0 8px; padding: 0 0 0 12px; border-left: 3px solid var(--sun); font-size: 1.02rem; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.listing .listing-empty { border-left-style: dashed; color: var(--muted); }
.listing .listing-meta { color: var(--ink); font-weight: 600; }
.listing .listing-note { margin: 4px 0 0; }
.listing .listing-how { margin: 10px 0 0; }
.listing .book-how { font-weight: 700; }
.listing-preview { border-style: dashed; }

/* ---- studios page: two ways in, side by side (stacked on a phone) ---- */
.hero-ways h1 { max-width: 16em; }
.ways { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 760px) { .ways { grid-template-columns: 1fr 1fr; gap: 18px; } }
.way { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.way-h { font-size: 1.25rem; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.way-price { font: 700 0.95rem/1.3 var(--body); color: var(--brand); letter-spacing: 0; }
.way-text { margin: 0; font-size: 0.98rem; }
.way .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 759px) { .way .btn { order: 2; align-self: stretch; } .way-h { order: 1; } .way-text { order: 3; } }
.way-box > summary { font: 700 1.15rem/1.3 var(--display); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.way-box { margin-top: 16px; }
#prev-box h2 { font-size: 1.35rem; }

/* the hidden attribute always wins, also on buttons and flex boxes */
[hidden] { display: none !important; }

.kind { width: fit-content; justify-self: start; align-self: flex-start; }
.hero-ways .cta-note { max-width: none; display: block; }

.kind-own { background: var(--sun-soft); color: var(--ink); }
#demo-state [aria-pressed="true"] { font-weight: 700; text-decoration: none; }

.tag-pending { background: var(--sun-soft); color: var(--ink); border: 1px dashed var(--ink); font-weight: 600; white-space: nowrap; }
#demo-counts [aria-pressed="true"] { font-weight: 700; text-decoration: none; }

/* ---- Revision 9: one offer at a time on the studios page; the letter landing shows only the offer of her letter ---- */
.ways { grid-template-columns: 1fr !important; max-width: 46em; }
.way-second { background: var(--mist); }
.letter-mode main > section:not(#letter) { display: none; }
#letter h1 { font-size: clamp(1.7rem, 5.2vw, 2.4rem); }
#letter .lt-block { margin-top: 22px; }
#letter .lt-count { background: var(--sun-soft); border-radius: var(--r-m); padding: 14px 16px; }
#letter .lt-count b { font: 800 1.5rem/1.2 var(--display); }
#letter dl.qa dt { font-weight: 700; margin-top: 14px; }
#letter dl.qa dd, .start dl.qa dd { margin: 4px 0 0; }
.start dl.qa dt { font-weight: 700; margin-top: 14px; }
.start ol.rules10 { padding-left: 1.3em; margin: 10px 0 0; }
.start ol.rules10 li { margin: 0 0 8px; }

/* shared by the waiting-list form everywhere (js/wl.js) */
.hp { display: none; } /* a field no person sees or reaches: only a robot fills it in */
.ck-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r-m); padding: 14px 16px; box-shadow: 0 12px 30px -14px rgba(43, 33, 64, 0.45); max-width: 560px; margin: 0 auto; }
.ck-bar p { margin: 0 0 10px; font-size: 0.92rem; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* the two-step sign-up: a small progress hint */
.wl-prog { display: flex; gap: 6px; margin: 0 0 14px; }
.wl-prog span:not(.vh) { width: 28px; height: 6px; border-radius: 3px; background: var(--line); }
.wl-prog span.on { background: var(--brand); }
