/* uncloth.app — image-led vendor site.
   Near-black ground, one accent, imagery carries the page.
   Display: Inter variable at weight 900, uppercase, skewed for the oblique cut. */

@font-face {
  font-family: "InterVar";
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:      #08090C;
  --bg-2:    #0D0F14;
  --line:    rgba(255, 255, 255, .10);
  --line-2:  rgba(255, 255, 255, .05);
  --fg:      #FFFFFF;
  --dim:     #A2A7B4;
  --dim-2:   #6B7180;
  --accent:  #FF2D6F;
  --accent-2: #FF6B99;

  --f: "InterVar", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --gut: clamp(20px, 4.5vw, 64px);
  --w: 1320px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
::-moz-selection { background: var(--accent); color: #fff; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(var(--w), 100% - var(--gut) * 2); margin-inline: auto; }

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 12px 18px; font-weight: 700;
}
.skip:focus { inset-inline-start: 0; }

/* ---------- display type ---------- */
.display {
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: -.028em;
  margin: 0;
  transform: skewX(-9deg);
  transform-origin: left bottom;
}
html[dir="rtl"] .display { transform: skewX(9deg); transform-origin: right bottom; }
/* Arabic and Devanagari: no uppercase, no skew — both damage the script. */
html[lang="ar"] .display, html[lang="hi"] .display {
  text-transform: none; transform: none; letter-spacing: normal; line-height: 1.15; font-weight: 800;
}
html[lang="zh"] .display, html[lang="ja"] .display {
  transform: none; letter-spacing: normal; line-height: 1.15;
}

h1.display { font-size: clamp(34px, 7.2vw, 96px); }
/* h2 must never outgrow h1: on a phone the old clamps put h2 at 32px against
   an h1 of 30px, which inverted the hierarchy. */
h2.display { font-size: clamp(27px, 5.4vw, 68px); }
@media (min-width: 700px) { .display { line-height: 1.0; } }
@media (min-width: 1100px) { .display { line-height: .95; } }
h2.display { line-height: 1.18; }
@media (min-width: 1100px) { h2.display { line-height: 1.1; } }

p { margin: 0 0 1em; }
.lede { color: var(--dim); font-size: clamp(16px, 1.3vw, 19px); max-width: 60ch; }

.sec { padding-block: clamp(72px, 10vw, 150px); }
.sec-head { margin-bottom: clamp(28px, 3.4vw, 52px); }

/* ---------- header ---------- */
.top { position: absolute; top: 0; inset-inline: 0; z-index: 60; }
.top-in { display: flex; align-items: center; gap: 16px; padding-block: clamp(18px, 2.4vw, 30px); }
/* The forced break puts "Photo" alone on a line; on a phone the rest wraps
   anyway, so letting it flow gives a tighter two-line block. */
@media (max-width: 560px) { .hero h1 br { display: none; } }
.brand {
  font-weight: 900; text-transform: lowercase; letter-spacing: -.045em;
  font-size: clamp(23px, 2.2vw, 31px); line-height: 1; text-decoration: none;
  transform: skewX(-9deg); flex: none;
  display: inline-flex; align-items: center; min-height: 44px;
  color: #fff; transition: color .18s;
}
.brand-tld { color: var(--accent); transition: color .18s, text-shadow .18s; }
.brand:hover .brand-tld { color: var(--accent-2); text-shadow: 0 0 18px rgba(255,45,111,.5); }
html[dir="rtl"] .brand { transform: skewX(9deg); }

.top-guides { color: rgba(255,255,255,.72); text-decoration: none; font-size: 13px; font-weight: 700; margin-inline-start: 22px; display: inline-flex; align-items: center; min-height: 40px; }
.top-guides:hover { color: #fff; }
.langs {
  margin-inline-start: auto; display: flex; flex-wrap: wrap; gap: 0 14px; align-items: center;
  font-size: 13px; font-weight: 700; justify-content: flex-end;
}
.langs a {
  color: rgba(255,255,255,.6); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 40px; padding-inline: 2px;
}
.langs a:hover { color: #fff; }
.langs a[aria-current="true"] { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  padding: 15px 30px; border-radius: 2px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: background .18s, border-color .18s, color .18s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-block: 0 clamp(52px, 8vw, 110px); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 18%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,12,.80) 0%, rgba(8,9,12,.24) 30%, rgba(8,9,12,.74) 74%, var(--bg) 100%),
    linear-gradient(90deg, rgba(8,9,12,.94) 0%, rgba(8,9,12,.58) 44%, rgba(8,9,12,0) 74%);
}
html[dir="rtl"] .hero-media::after {
  background:
    linear-gradient(180deg, rgba(8,9,12,.80) 0%, rgba(8,9,12,.24) 30%, rgba(8,9,12,.74) 74%, var(--bg) 100%),
    linear-gradient(270deg, rgba(8,9,12,.94) 0%, rgba(8,9,12,.58) 44%, rgba(8,9,12,0) 74%);
}
.hero-in { position: relative; z-index: 1; }
.hero h1 { max-width: none; }
.hero .lede { margin-top: clamp(20px, 2.4vw, 30px); max-width: 46ch; color: #D6D9E0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 38px); }

/* ---------- what ---------- */
.what-grid { display: grid; gap: clamp(24px, 3vw, 54px); }
@media (min-width: 900px) { .what-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.what-body p { color: var(--dim); font-size: clamp(15px, 1.15vw, 17px); }
.what-body p:last-child { margin-bottom: 0; }

/* ---------- samples ---------- */
.gallery { display: grid; gap: clamp(10px, 1.1vw, 18px); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1150px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
.shot { position: relative; overflow: hidden; background: var(--bg-2); border-radius: 2px; margin: 0; }
.shot img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.shot figcaption {
  position: absolute; inset-inline-start: 0; bottom: 0; z-index: 2;
  padding: 34px 14px 13px; width: 100%;
  background: linear-gradient(180deg, transparent, rgba(8,9,12,.88));
  font-weight: 800; text-transform: uppercase; font-size: 12.5px; letter-spacing: .01em;
}
html[lang="ar"] .shot figcaption, html[lang="hi"] .shot figcaption { text-transform: none; }
.shot-id {
  display: block; font-family: var(--f-mono); font-size: 10px; font-weight: 400;
  text-transform: none; letter-spacing: .03em; color: var(--accent-2); margin-top: 3px;
  word-break: break-all;
}

/* ---------- presets ---------- */
.presets { display: grid; border-top: 1px solid var(--line-2); }
@media (min-width: 560px) { .presets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .presets { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .presets { grid-template-columns: repeat(4, 1fr); } }
.preset {
  background: var(--bg); padding: 22px 20px; display: flex; align-items: baseline; gap: 12px;
  border-bottom: 1px solid var(--line-2); border-inline-end: 1px solid var(--line-2);
  transition: background .18s;
}
.preset:hover { background: var(--bg-2); }
.preset-n { font-family: var(--f-mono); font-size: 11px; color: var(--dim-2); flex: none; }
.preset-name { font-weight: 700; font-size: 16px; }
.preset-id { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--dim-2); margin-top: 3px; word-break: break-all; }
.preset[data-default="1"] .preset-id { color: var(--accent); }
.tag {
  display: inline-block; margin-inline-start: 7px; font-size: 9px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(255,45,111,.45); padding: 1px 5px; vertical-align: 1px;
}

/* ---------- steps ---------- */
.steps { display: grid; gap: clamp(22px, 2.6vw, 40px); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step-n {
  display: block; font-weight: 900; font-size: 13px; color: var(--accent);
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 2px solid var(--accent);
}
.step h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.step p { color: var(--dim); font-size: 14.5px; margin: 0; }

/* ---------- api ---------- */
.api-grid { display: grid; gap: clamp(22px, 2.6vw, 44px); align-items: start; }
.api-grid > * { min-width: 0; }
@media (min-width: 980px) { .api-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ep { display: grid; gap: 3px 16px; padding: 15px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
@media (min-width: 620px) { .ep { grid-template-columns: 54px minmax(0, 190px) 1fr; } }
.ep:first-child { border-top: 1px solid var(--line-2); }
.ep-m { font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--accent); }
.ep-p { font-family: var(--f-mono); font-size: 13px; word-break: break-all; direction: ltr; }
.ep-d { font-size: 13.5px; color: var(--dim); }

.code { border: 1px solid var(--line); background: var(--bg-2); border-radius: 2px; overflow: hidden; }
.code + .code { margin-top: 16px; }
.code-head {
  padding: 12px 16px; border-bottom: 1px solid var(--line-2);
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
html[lang="ar"] .code-head, html[lang="hi"] .code-head { text-transform: none; letter-spacing: normal; }
.code pre {
  margin: 0; padding: 18px; overflow-x: auto; direction: ltr; text-align: left;
  font-family: var(--f-mono); font-size: 12.5px; line-height: 1.75; color: #CDD2DC;
}
.code pre b { color: var(--accent-2); font-weight: 400; }
.code pre i { color: var(--dim-2); font-style: normal; }
.base-note { font-size: 13px; color: var(--dim-2); margin: 16px 0 0; }

/* ---------- reliability ---------- */
.rel { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
@media (min-width: 640px) { .rel { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rel { grid-template-columns: repeat(4, 1fr); } }
.rel-i { background: var(--bg); padding: 28px 24px; }
.rel-i h3 { margin: 0 0 10px; font-size: 16px; font-weight: 800; letter-spacing: -.015em; }
.rel-i p { color: var(--dim); font-size: 14px; margin: 0; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; letter-spacing: -.015em;
}
html[dir="rtl"] .faq summary { padding: 24px 0 24px 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 8px; top: 21px;
  color: var(--accent); font-size: 22px; line-height: 1; font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--accent-2); }
.faq-a { color: var(--dim); font-size: 15px; max-width: 78ch; padding-bottom: 26px; margin: 0; }

/* ---------- cta ---------- */
.cta { position: relative; border-top: 1px solid var(--line-2); }
.cta-in { text-align: center; display: grid; justify-items: center; gap: 22px; }
.cta .lede { max-width: 56ch; margin: 0; }
.cta-note { font-size: 13px; color: var(--dim-2); margin: 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line-2); padding-block: clamp(40px, 5vw, 66px); }
.foot-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 60px; } }
.foot h2 { font-size: 15px; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.foot ol { margin: 0; padding-inline-start: 0; list-style: none; counter-reset: l; display: grid; gap: 11px; }
.foot li {
  counter-increment: l; display: grid; grid-template-columns: 26px 1fr; gap: 10px;
  font-size: 13px; color: var(--dim); line-height: 1.55;
}
.foot li::before {
  content: counter(l, decimal-leading-zero); font-family: var(--f-mono);
  font-size: 11px; color: var(--accent); padding-top: 2px;
}
.foot-brand { font-size: 13px; color: var(--dim-2); }
.foot-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 15px; font-size: 13px; margin: 10px 0; }
.foot-langs a {
  color: var(--dim); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 40px;
}
.foot-langs a:hover { color: #fff; }
.foot-langs a[aria-current="true"] { color: var(--accent); }
.badge-18 {
  display: inline-block; font-size: 11px; font-weight: 800; color: var(--accent);
  border: 1px solid rgba(255,45,111,.45); padding: 3px 8px; margin-bottom: 14px;
}

/* ---------- возрастной гейт на примерах ---------- */
.gallery { position: relative; }
.gallery.is-veiled .shot img { filter: saturate(.85); }
.veil {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 12px;
  justify-items: center; border: 0; cursor: pointer; color: #fff; font: inherit;
  background: radial-gradient(120% 90% at 50% 45%, rgba(8,9,12,.42) 0%, rgba(8,9,12,.78) 100%);
  backdrop-filter: blur(2px);
}
.veil-badge {
  font-weight: 900; font-size: 13px; letter-spacing: .06em;
  border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 6px 14px;
}
.veil-label { font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; letter-spacing: -.01em; }
.veil:hover .veil-label { text-decoration: underline; text-underline-offset: 4px; }
.gallery-toggle {
  margin-top: 16px; background: none; border: 0; padding: 10px 0; cursor: pointer;
  color: var(--dim); font: inherit; font-size: 13px; text-decoration: underline;
  text-underline-offset: 4px; min-height: 40px;
}
.gallery-toggle:hover { color: #fff; }
.agecheck {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  padding: 24px; background: rgba(6,7,9,.82);
}
.agecheck[hidden] { display: none; }
.agecheck-box {
  width: min(430px, 100%); background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 3px; padding: clamp(22px, 3vw, 32px);
}
.agecheck-box h3 { margin: 0 0 10px; font-size: clamp(18px, 2vw, 22px); letter-spacing: -.02em; }
.agecheck-box p { margin: 0 0 22px; color: var(--dim); font-size: 14px; line-height: 1.6; }
.agecheck-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.agecheck-actions .btn { flex: 1 1 auto; }

/* ---------- просмотр примера ---------- */
.shot { cursor: zoom-in; }
.gallery.is-veiled .shot { cursor: pointer; }
.shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.viewer {
  position: fixed; inset: 0; z-index: 60; display: grid; align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(4px, 2vw, 20px);
  padding: clamp(14px, 3vw, 34px); background: rgba(5,6,8,.93);
}
.viewer-figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.viewer-figure img {
  max-width: min(100%, 780px); max-height: 78vh; object-fit: contain;
  border-radius: 2px; background: var(--bg-2);
}
.viewer-figure figcaption {
  color: var(--dim); font-size: 13px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  justify-content: center; text-align: center;
}
.viewer-close {
  position: absolute; top: clamp(10px, 2vw, 22px); right: clamp(10px, 2vw, 22px);
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: 2px;
  background: rgba(255,255,255,.05); color: #fff; font-size: 15px; cursor: pointer;
}
.viewer-close:hover { background: rgba(255,255,255,.12); }
.viewer-nav {
  width: 44px; height: 72px; border: 1px solid rgba(255,255,255,.16); border-radius: 2px;
  background: rgba(255,255,255,.04); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.viewer-nav:hover { background: rgba(255,255,255,.12); }
@media (max-width: 560px) {
  .viewer { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .viewer-figure img { max-height: 66vh; }
  .viewer-prev { grid-row: 2; justify-self: start; }
  .viewer-next { grid-row: 2; justify-self: end; }
  .viewer-nav { width: 64px; height: 48px; }
}

/* ---------- статьи ---------- */
.crumbs { font-size: 12px; color: var(--dim-2); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.art-head { padding-top: clamp(40px, 6vw, 88px); }
.art-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.art-card {
  display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line); border-radius: 3px; background: var(--bg-2);
  text-decoration: none; color: inherit; transition: border-color .18s, background .18s;
}
.art-card:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.035); }
.art-card h2 { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.25; letter-spacing: -.02em; }
.art-card p { margin: 0; color: var(--dim); font-size: 14px; line-height: 1.6; }
.art-more { color: var(--accent-2); font-size: 12px; font-weight: 700; }
.art-card-sm { padding: 16px 18px; }
.art-card-sm h2 { font-size: 15px; }
.art { padding-top: clamp(34px, 5vw, 76px); max-width: 760px; }
h1.display.art-title {
  margin-bottom: clamp(22px, 3vw, 34px);
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -.03em;
  transform: none;
  text-transform: none;
}
.art-head h1.display {
  font-size: clamp(30px, 4.6vw, 60px); line-height: 1.08; transform: none; text-transform: none;
}
.art-body { font-size: clamp(15.5px, 1.2vw, 17px); line-height: 1.75; color: #C9CDD6; }
.art-body p { margin: 0 0 20px; }
.art-body .art-h2 {
  margin: clamp(34px, 4vw, 52px) 0 16px; font-size: clamp(20px, 2vw, 27px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.2; color: #fff; text-transform: none;
}
.art-body ul, .art-body ol { margin: 0 0 22px; padding-inline-start: 22px; }
.art-body li { margin-bottom: 9px; }
.art-body .code { margin: 0 0 24px; }
.art-body .qa { margin-bottom: 18px; }
.art-body .qa h3 { margin: 0 0 6px; font-size: 16px; color: #fff; letter-spacing: -.01em; }
.art-body .qa p { margin: 0; }
.art-cta {
  margin: clamp(36px, 5vw, 60px) 0 34px; padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line); border-radius: 3px; background: var(--bg-2);
}
.art-cta h2 { margin: 0 0 10px; font-size: clamp(18px, 1.8vw, 23px); letter-spacing: -.02em; }
.art-cta p { margin: 0 0 20px; color: var(--dim); font-size: 14.5px; line-height: 1.65; }
.art-related { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 26px; }
.art-back { color: var(--dim); font-size: 13px; }

/* ---------- полоса-разделитель и схема пайплайна ---------- */
.band { position: relative; margin: clamp(30px, 5vw, 64px) 0; overflow: hidden; }
.band img { display: block; width: 100%; height: clamp(150px, 20vw, 260px); object-fit: cover; object-position: 50% 32%; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(8,9,12,0) 18%, rgba(8,9,12,0) 82%, var(--bg) 100%),
              linear-gradient(180deg, var(--bg) 0%, rgba(8,9,12,.1) 26%, rgba(8,9,12,.1) 74%, var(--bg) 100%);
}
.flow {
  list-style: none; margin: 0 0 clamp(26px, 3vw, 40px); padding: 0;
  display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.flow-node {
  position: relative; display: grid; gap: 8px; padding: 16px 16px 18px;
  border: 1px solid var(--line); border-radius: 3px; background: var(--bg-2);
}
.flow-node::after {
  content: ""; position: absolute; top: 50%; inset-inline-end: -11px; width: 12px; height: 1px;
  background: rgba(255,255,255,.22);
}
.flow-node:last-child::after { display: none; }
@media (max-width: 700px) { .flow-node::after { display: none; } }
.flow-n { font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent); letter-spacing: .08em; }
.flow-t { font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; color: #E7E9EE; line-height: 1.35; }

/* ---------- форма заявки ---------- */
.access-form { display: grid; gap: 14px; margin: clamp(24px, 3vw, 34px) auto 0; max-width: 620px; text-align: start; }
.af-row { display: grid; gap: 14px; }
@media (min-width: 620px) { .af-row { grid-template-columns: 1fr 1fr; } }
.af-field { display: grid; gap: 7px; min-width: 0; }
.af-field > span { font-size: 12px; font-weight: 650; color: #C9CBD2; }
.af-field input, .af-field textarea {
  width: 100%; min-width: 0; padding: 12px 13px; color: #fff; font: inherit; font-size: 15px;
  background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 2px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.af-field textarea { resize: vertical; min-height: 104px; line-height: 1.55; }
.af-field input:focus, .af-field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,45,111,.12);
}
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.access-form .btn { justify-self: start; margin-top: 4px; }
.access-form .btn:disabled { opacity: .6; cursor: wait; }
.af-status { margin: 0; font-size: 14px; line-height: 1.5; }
.af-status.is-ok { color: #73EFB2; }
.af-status.is-err { color: #FF8A9B; }

/* Header link into the customer cabinet, and the paired call-to-action buttons
   that replaced the access-request form. */
.top-account { margin-left: auto; margin-right: 14px; font-weight: 600; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 10px; }
@media (max-width: 560px) { .cta-actions .btn { flex: 1 1 100%; text-align: center; } }
