/* epik */

:root {
  --ink: #111318;
  --ink-2: #4A505E;
  --muted: #5B6170;
  --line: #E4E6EB;
  --chip-line: #DDE0E6;
  --soft: #F1F2F5;
  --soft-2: #F4F5F8;
  --bg: #FFFFFF;
  --acc: #2B44FF;
  --display: 'Manrope', system-ui, sans-serif;
  --hd-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

a { color: var(--ink); }
a:hover { color: var(--acc); }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--acc);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.btn:hover { color: #FFFFFF; filter: brightness(1.1); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 18px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.logo { flex: 0 0 auto; font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo b { font-weight: 800; }

/* Header: one sticky row, its side padding matching .wrap so the logo lines up with the page.
   Search (all screens) and the menu (phones) open as sheets under it. */

.hd { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--hd-h); padding: 0 max(24px, calc(50% - 596px)); border-bottom: 1px solid var(--line); background: var(--bg); }

.hd-nav { display: flex; align-items: center; gap: 8px; }
.hd-nav > a:not(.btn) { padding: 10px 14px; font-size: 17px; font-weight: 500; text-decoration: none; }
.hd-nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.hd-nav a svg { display: none; width: 24px; height: 24px; }

.hd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; }
.hd-btn:hover { background: #E6E8EE; }
.hd-btn svg { width: 22px; height: 22px; }
.hd-btn[aria-expanded="true"] .i-open, .hd-btn[aria-expanded="false"] .i-close { display: none; }
.hd-menu, .fab { display: none; }

/* Sheets */

.sheet { position: fixed; top: var(--hd-h); right: 0; left: 0; z-index: 11; max-height: calc(100dvh - var(--hd-h)); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); box-shadow: 0 100vmax 0 100vmax rgba(17, 19, 24, .35); }
.sheet-in { max-width: 760px; margin: 0 auto; padding: 24px 24px 32px; }
.sheet-h { margin: 28px 0 12px; font-size: 15px; font-weight: 600; color: var(--muted); }

.search {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 2px solid var(--ink);
  border-radius: 18px;
}
.search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  padding: 10px 12px;
  color: var(--ink);
}
.search input::placeholder { color: #6B7180; }
.search button {
  flex: 0 0 auto;
  width: 48px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  background: var(--acc);
  color: #FFFFFF;
  cursor: pointer;
}
.search button svg { width: 20px; height: 20px; stroke-width: 2.2; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px 8px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none; color: #3A3F4B; }
.cat svg { width: 24px; height: 24px; padding: 16px; box-sizing: content-box; border-radius: 50%; background: var(--soft); }
.cat:hover { color: var(--ink); }
.cat:hover svg { background: #E6E8EE; }
.cat.on { color: var(--ink); font-weight: 600; }
.cat.on svg { border-radius: 16px; background: var(--acc); color: #FFFFFF; }
.menu-nav { display: flex; flex-direction: column; }

/* Focus header: logo and a way out, nothing else. */
.fh { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 0 24px; border-bottom: 1px solid var(--line); background: var(--bg); }
.fh-x { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; font-size: 17px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.fh-x:hover { background: var(--soft); color: var(--ink); }
.fh-x svg { width: 20px; height: 20px; }
/* Feed */

.feed { padding-top: 32px; padding-bottom: 56px; }
.strap { margin: 0; color: var(--ink-2); }
.h1 { margin: 12px 0 0; font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }

.chips { margin-top: 20px; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

.empty { margin-top: 28px; padding: 56px 24px; border: 1px dashed var(--chip-line); border-radius: 24px; text-align: center; }
.empty p { margin: 0 0 20px; font-size: 20px; color: var(--ink-2); }

/* Footer */

.ft { border-top: 1px solid var(--line); }
.ft-in { max-width: 1240px; margin: 0 auto; padding: 40px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.ft .logo { font-size: 22px; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; }
.ft-nav a { color: var(--ink-2); text-decoration: none; }

/* Messages */

.flash { margin: 16px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--soft-2); }

/* Ad cards */

.grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.card:hover { color: var(--ink); }
.card:hover .card-title { color: var(--acc); }
.card img, .card .ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; border-radius: 18px; background: #ECEEF2; }
.card-price { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.card-title { font-size: 19px; font-weight: 500; line-height: 1.35; }
.card-meta { font-size: 16px; color: var(--muted); }

/* Post form */

.narrow { max-width: 760px; padding-top: 32px; padding-bottom: 72px; }
.form { margin-top: 28px; display: flex; flex-direction: column; gap: 24px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; }
.field input:not([type=file]), .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid #C9CDD6;
  border-radius: 14px;
  background: var(--bg);
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 180px; resize: vertical; }
.field input[type=file] { padding: 18px; border: 1.5px dashed #C9CDD6; border-radius: 14px; font: inherit; }
.field :is(input, select, textarea):focus { outline: 2px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
.field.bad :is(input, select, textarea) { border-color: #B42318; }
.money { position: relative; }
.money span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.field .money input { padding-left: 34px; }
.hint { margin: 0; font-size: 16px; color: var(--muted); }
.err { margin: 0; font-size: 16px; font-weight: 500; color: #B42318; }

/* Ad page */

.ad { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; padding-top: 32px; padding-bottom: 72px; }
.ad-media { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 24px; }
.ad-media img, .ad-media .ph { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; border-radius: 24px; background: #ECEEF2; }
.ad-media .ph { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.note { margin: 12px 0 0; font-size: 16px; color: var(--muted); }
.ad-price { margin: 0; font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.ad-title { margin: 4px 0 0; font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.15; }
.ad-meta { margin: 10px 0 0; color: var(--muted); }
.ad-desc { margin-top: 24px; }
.ad-seller { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); }

@media (max-width: 860px) {
  .ad { grid-template-columns: 1fr; gap: 24px; }
}

/* Auth and info pages */

.alt { margin: 28px 0 0; color: var(--ink-2); }
.page { max-width: 760px; margin: 0 auto; padding: 32px 24px 72px; }
.page h1 { margin: 0 0 16px; font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.025em; }

/* Messages */

.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--acc); color: #FFFFFF; font-size: 13px; font-weight: 600; line-height: 1; }

.ask { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.ask label { font-weight: 600; }
.ask textarea, .chat-send textarea { width: 100%; padding: 12px 16px; border: 1.5px solid #C9CDD6; border-radius: 14px; font: inherit; color: var(--ink); resize: vertical; }
.ask textarea:focus, .chat-send textarea:focus { outline: 2px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
.ask .btn { align-self: flex-start; }
.ask-login { margin-top: 28px; }

.convs { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.conv { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.conv:hover { color: var(--ink); }
.conv img, .conv .ph { flex: 0 0 72px; width: 72px; height: 72px; object-fit: cover; border-radius: 14px; background: #ECEEF2; }
.conv-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.conv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.conv-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv:hover .conv-title { color: var(--acc); }
.conv-meta { font-size: 15px; color: var(--muted); }
.conv-last { font-size: 16px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv.new .conv-last { color: var(--ink); font-weight: 500; }

.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }
.back svg { width: 20px; height: 20px; }
.chat-head { margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.chat-title { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1.2; }
.chat-title a { text-decoration: none; }
.chat-meta { margin: 6px 0 0; color: var(--muted); }

.msgs { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.msg { align-self: flex-start; max-width: 80%; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--soft); }
.msg.mine { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--acc); color: #FFFFFF; }
.msg p { margin: 0; overflow-wrap: anywhere; }
.msg time { display: block; margin-top: 4px; font-size: 13px; opacity: .75; }

.chat-send { position: sticky; bottom: 0; margin-top: 20px; padding: 12px 0 16px; display: flex; gap: 10px; align-items: flex-end; background: var(--bg); }
.chat-send textarea { flex: 1 1 auto; min-height: 52px; }
.chat-send .btn { flex: 0 0 auto; min-height: 52px; }

/* Account */

.h3 { margin: 40px 0 0; font-family: var(--display); font-size: 26px; font-weight: 700; }
button.chip { background: var(--bg); font-family: inherit; cursor: pointer; color: var(--ink); }
.acc-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.mine { margin: 16px 0 0; padding: 0; list-style: none; }
.mine-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mine-row img, .mine-row .ph { flex: 0 0 96px; width: 96px; height: 72px; object-fit: cover; border-radius: 14px; background: #ECEEF2; }
.mine-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mine-title { font-weight: 600; text-decoration: none; }
.mine-meta { font-size: 16px; color: var(--muted); }
.mine-acts { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.mine-acts .chip { min-height: 40px; font-size: 15px; }
.acc-out { margin-top: 40px; }

/* Language switcher */

.langs { display: flex; gap: 2px; margin-right: 4px; }
.langs a { padding: 8px 6px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.langs a:hover, .langs a[aria-current] { color: var(--ink); }

/* Photo picker */

.field .label { font-weight: 600; }
.up-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.up-tile, .up-add { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.up-tile img { display: block; width: 100%; height: 100%; object-fit: cover; background: #ECEEF2; }
.up-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; border: 1.5px dashed #C9CDD6; background: var(--soft-2); color: var(--ink-2); font-size: 15px; font-weight: 600; text-align: center; cursor: pointer; }
.up-add:hover { border-color: var(--acc); color: var(--acc); }
.up-add:focus-within { outline: 2px solid var(--acc); outline-offset: 2px; }
.up-add[hidden] { display: none; }
.up-add svg { width: 28px; height: 28px; }
.field.bad .up-add { border-color: #B42318; }
.up-x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(17, 19, 24, .72); color: #FFFFFF; cursor: pointer; }
.up-x svg { width: 16px; height: 16px; stroke-width: 2.4; }
.up-cover { position: absolute; left: 6px; bottom: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(17, 19, 24, .72); color: #FFFFFF; font-size: 12px; font-weight: 600; }

.ai-note { margin: 0; font-size: 16px; font-weight: 600; color: var(--acc); }
.ai-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.btn:disabled { opacity: .6; cursor: progress; }
.or { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 16px; color: var(--muted); }
.or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }

.menu-nav a { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; text-decoration: none; }
.menu-nav svg { width: 24px; height: 24px; }
.menu .langs { margin: 14px 0 0; }
.menu .langs a { padding: 8px 10px; font-size: 15px; }
.menu-info { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 8px 4px 0; font-size: 15px; }
.menu-info a { color: var(--ink-2); text-decoration: none; }
/* Phone: header icons, full-screen sheets, two-column feed. */

@media (max-width: 600px) {
  .wrap { padding-right: 16px; padding-left: 16px; }

  :root { --hd-h: 60px; }

  .hd { padding: 0 16px; }
  .hd .langs, .hd-nav .btn, .hd-nav .hd-acc { display: none; }
  .hd-nav { gap: 2px; }
  .hd-nav > a:not(.btn) { padding: 10px; }
  .hd-nav a svg { display: block; }
  .hd-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hd-nav .badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; }
  .hd-btn { width: 44px; padding: 0; background: transparent; }
  .hd-btn svg { width: 24px; height: 24px; }
  .hd-menu { display: inline-flex; }
  .fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 5; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--acc); color: #FFFFFF; box-shadow: 0 8px 24px rgba(43, 68, 255, .35); }
  .fab svg { width: 28px; height: 28px; stroke-width: 2.4; }

  .sheet { bottom: 0; max-height: none; box-shadow: none; }
  .sheet-in { padding: 16px 16px 28px; }
  .search { padding: 4px; border-width: 1.5px; border-radius: 14px; }
  .search input { padding: 8px 10px; font-size: 16px; }
  .search button { width: 42px; height: 40px; border-radius: 11px; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 4px; }
  .cat { font-size: 13px; }
  .cat svg { width: 22px; height: 22px; padding: 13px; }

  .feed { padding-top: 20px; }
  .h1 { margin-top: 0; font-size: 28px; }
  .chips { margin-top: 16px; gap: 8px; }
  .chip { min-height: 38px; padding: 0 14px; font-size: 15px; }

  .grid { margin-top: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .card img, .card .ph { aspect-ratio: 1; margin-bottom: 8px; border-radius: 14px; }
  .card-price { font-size: 18px; }
  .card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.3; }
  .card-meta { font-size: 13px; }

  .ad { padding-top: 16px; }
  .ad-media, .ad-media img, .ad-media .ph { border-radius: 16px; }
  .ad-price { font-size: 30px; }
  .ad-title { font-size: 24px; }

  .page { padding: 24px 16px 56px; }
  .page h1 { font-size: 30px; }
  .narrow { padding-top: 20px; }
  .fh { min-height: 58px; padding: 0 16px; }

  .ft-in { padding: 28px 16px 104px; gap: 16px; }
  .ft-nav { gap: 10px 20px; font-size: 15px; }
}

/* Studio front page */
html { scroll-behavior: smooth; scroll-padding-top: var(--hd-h); }

.st-nav { display: flex; gap: 8px; margin-left: auto; }
.st-nav a { padding: 10px 14px; font-size: 17px; font-weight: 500; text-decoration: none; }

.st-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; padding-top: clamp(48px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); }
.st-h1 { margin: 0; font-family: var(--display); font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.st-lead { margin: 24px 0 0; max-width: 34ch; font-size: 21px; line-height: 1.5; color: var(--ink-2); }
.st-cta { margin-top: 36px; }

.st-frame { display: grid; gap: 14px; padding-bottom: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--soft-2); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(17, 19, 24, .25); }
.st-bar { display: flex; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
.st-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--chip-line); }
.st-l { height: 14px; margin: 0 28px; border-radius: 7px; background: var(--chip-line); }
.st-l1 { width: 60%; height: 26px; margin-top: 18px; background: var(--ink); }
.st-l2 { width: 40%; }
.st-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 28px 0; }
.st-blocks b { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.st-blocks b:first-child { border-color: var(--acc); background: var(--acc); }

.st-sec { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.st-h2 { margin: 0 0 clamp(28px, 4vw, 48px); font-family: var(--display); font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }

.st-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.st-card { padding: 32px; border: 1px solid var(--line); border-radius: 24px; }
.st-card svg { width: 28px; height: 28px; padding: 14px; box-sizing: content-box; border-radius: 16px; background: var(--soft); color: var(--acc); }
.st-card h3 { margin: 24px 0 8px; font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.st-card p, .st-steps p, .st-faq p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }

.st-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.st-steps li { counter-increment: s; }
.st-steps li::before { content: "0" counter(s); display: block; font-family: var(--display); font-size: clamp(56px, 7vw, 96px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--acc); }
.st-steps h3 { margin: 16px 0 6px; font-family: var(--display); font-size: 22px; font-weight: 700; }

.st-faq { max-width: 780px; }
.st-faq details { border-bottom: 1px solid var(--line); }
.st-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; list-style: none; cursor: pointer; }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: "+"; font-weight: 400; color: var(--muted); }
.st-faq details[open] summary::after { content: "\2212"; }
.st-faq p { padding-bottom: 22px; }

.st-end { padding: 88px 24px; border-radius: 32px; background: var(--ink); color: #FFFFFF; text-align: center; }
.st-end .st-h2 { margin: 0 auto 32px; max-width: 20ch; }
.st-ft { padding-top: 32px; padding-bottom: 40px; font-size: 15px; color: var(--muted); }

.st-why { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.st-since strong { display: block; font-family: var(--display); font-size: clamp(56px, 8vw, 96px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--acc); }
.st-since p { margin: 16px 0 0; max-width: 26ch; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.st-points { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.st-points li { padding-left: 20px; border-left: 2px solid var(--line); }
.st-points h3 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.st-points p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 900px) {
  .st-hero { grid-template-columns: 1fr; }
  .st-cards, .st-why { grid-template-columns: 1fr; }
  .st-why { gap: 32px; }
  .st-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .st-nav, .st-nav + .btn, .st-frame { display: none; }
  .st-h1 { font-size: 36px; }
  .st-lead { font-size: 18px; }
  .st-steps { grid-template-columns: 1fr; }
  .st-end { padding: 64px 20px; }
}

@media (min-width: 901px) {
  html { scroll-snap-type: y mandatory; }
  .st-hero, .st-sec, #kontakti { min-height: calc(100svh - var(--hd-h)); scroll-snap-align: start; }
  .st-hero { align-content: center; padding-top: clamp(48px, 6vw, 80px); }
  .st-sec, #kontakti { display: flex; flex-direction: column; justify-content: center; }
  .st-ft { scroll-snap-align: end; }
}
