/* binaryoptionsdesk.com
   Архетипы: Ethereal Glass + Asymmetrical Bento.
   Акцент синий. Зелёный и красный — только там, где означают рост и падение.
   Двойной кант на контейнерах, плавающая навигация-пилюля, кнопки со
   вложенной иконкой, кривые cubic-bezier(.32,.72,0,1). */

@font-face { font-family:"Bricolage"; src:url("/fonts/bricolage-var.woff2") format("woff2-variations");
  font-weight:200 800; font-display:swap; }
@font-face { font-family:"Geist"; src:url("/fonts/geist-var.woff2") format("woff2-variations");
  font-weight:100 900; font-display:swap; }
@font-face { font-family:"JBMono"; src:url("/fonts/jetbrains-mono-var.woff2") format("woff2-variations");
  font-weight:100 800; font-display:swap; }

:root {
  color-scheme: dark;

  --void:      #050608;
  --shell:     rgba(255,255,255,.045);
  --shell-line:rgba(255,255,255,.075);
  --core:      #0a0c11;
  --core-2:    #0e1118;
  --core-line: rgba(255,255,255,.055);
  --inner-lit: inset 0 1px 0 rgba(255,255,255,.09);

  --text:      #f3f5f9;
  --text-2:    #9aa3b4;
  --text-3:    #626b7c;

  --ac:        #4d8bf0;
  --ac-hi:     #6ba1f5;
  --ac-ink:    #05101f;
  --ac-wash:   rgba(77,139,240,.10);
  --ac-line:   rgba(77,139,240,.24);

  /* только для роста и падения */
  --up:        #34d399;
  --down:      #f87171;

  --ease:      cubic-bezier(.32,.72,0,1);
  --rad-shell: 30px;
  --rad-core:  22px;
  --rad-pill:  999px;

  --wrap: 1240px;
  --display: "Bricolage", "Geist", sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JBMono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--void); color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content:""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(72rem 54rem at 78% -14%, rgba(77,139,240,.30), transparent 66%),
    radial-gradient(60rem 50rem at -6% 34%, rgba(77,139,240,.17), transparent 64%),
    radial-gradient(64rem 56rem at 98% 78%, rgba(77,139,240,.17), transparent 66%),
    radial-gradient(52rem 42rem at 26% 112%, rgba(96,150,245,.13), transparent 62%);
}
body::after {
  content:""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .04; mix-blend-mode: overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

h1,h2,h3 { margin: 0 0 18px; font-family: var(--display); letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(40px, 4.6vw, 62px); font-variation-settings:"wght" 620; }
h2 { font-size: clamp(30px, 3.8vw, 48px); font-variation-settings:"wght" 600; }
h3 { font-size: 19px; font-variation-settings:"wght" 600; letter-spacing:-.025em; margin-bottom: 8px; }
p  { margin: 0 0 20px; color: var(--text-2); text-wrap: pretty; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-2); }
a { color: var(--ac); text-underline-offset: 4px; }
::selection { background: rgba(77,139,240,.3); }

:focus-visible { outline: 2px solid var(--ac); outline-offset: 4px; border-radius: 10px; }
.skip { position:absolute; left:20px; top:-70px; z-index:120; background:var(--ac); color:var(--ac-ink);
  padding:12px 22px; border-radius:var(--rad-pill); text-decoration:none; font-weight:600; transition: top .3s var(--ease); }
.skip:focus { top: 20px; }

/* ---------- двойной кант ---------- */
.bezel { padding: 7px; border-radius: var(--rad-shell); background: var(--shell); border: 1px solid var(--shell-line); }
.bezel > .core { border-radius: var(--rad-core); background: var(--core); border: 1px solid var(--core-line);
  box-shadow: var(--inner-lit); height: 100%; }

/* ---------- плавающая навигация ---------- */
.island {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  z-index: 100; display: flex; align-items: center; gap: 26px;
  padding: 8px 8px 8px 24px; border-radius: var(--rad-pill);
  background: rgba(10,12,17,.66); border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,.07) inset, 0 20px 50px -24px rgba(0,0,0,.9);
  max-width: calc(100vw - 32px);
}
@media (prefers-reduced-transparency: reduce) { .island { background: #0b0d12; backdrop-filter: none; } }
/* Без flex и gap: иначе <i>Desk</i> становится флекс-элементом и отрывается
   от слова пробелом в размер gap. */
.island .mark { font-family: var(--display); font-size: 15.5px; font-variation-settings:"wght" 640;
  letter-spacing:-.03em; color: var(--text); text-decoration: none; white-space: nowrap; }
.island .mark i { font-style: normal; color: var(--ac); }
.island nav { display: flex; gap: 22px; }
.island nav a { font-size: 14px; color: var(--text-2); text-decoration: none; white-space: nowrap; transition: color .4s var(--ease); }
.island nav a:hover { color: var(--text); }
.island .go-pill { display:inline-flex; align-items:center; gap:9px; padding:9px 9px 9px 18px;
  border-radius: var(--rad-pill); background: var(--ac); color: var(--ac-ink); text-decoration:none;
  font-size:14px; font-weight:620; white-space:nowrap; transition: transform .4s var(--ease), background .4s var(--ease); }
.island .go-pill .knob { width:26px; height:26px; border-radius:50%; background: rgba(5,16,31,.18);
  display:grid; place-items:center; font-size:12px; transition: transform .4s var(--ease); }
.island .go-pill:hover { background: var(--ac-hi); }
.island .go-pill:hover .knob { transform: translate(2px,-2px); }
.island .go-pill:active { transform: scale(.975); }

/* ---------- кнопки ---------- */
.pill { display:inline-flex; align-items:center; gap:12px; padding:11px 11px 11px 26px;
  border-radius: var(--rad-pill); text-decoration:none; font-size:16px; font-weight:600; white-space:nowrap;
  transition: transform .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease); }
.pill .knob { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-size:14px;
  transition: transform .45s var(--ease), background .45s var(--ease); }
.pill-solid { background: var(--ac); color: var(--ac-ink);
  box-shadow: 0 0 0 1px rgba(77,139,240,.4), 0 26px 60px -28px rgba(77,139,240,.75); }
.pill-solid .knob { background: rgba(5,16,31,.16); }
.pill-solid:hover { background: var(--ac-hi); color: var(--ac-ink); }
.pill-solid:hover .knob { transform: translate(3px,-3px) scale(1.06); background: rgba(5,16,31,.28); }
.pill-solid:active { transform: scale(.975); }
.pill-quiet { color: var(--text); border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); }
.pill-quiet .knob { background: rgba(255,255,255,.07); }
.pill-quiet:hover { border-color: rgba(255,255,255,.28); }
.pill-quiet:hover .knob { transform: translate(3px,-3px); }

.tagpill { display:inline-block; padding:6px 14px; border-radius: var(--rad-pill);
  background: var(--ac-wash); border: 1px solid var(--ac-line);
  font-family: var(--mono); font-size:10.5px; letter-spacing:.2em; text-transform:uppercase;
  color: var(--ac); margin-bottom: 26px; }

section { padding: 84px 0; position: relative; }
.sec-head { max-width: 40rem; margin-bottom: 52px; }
.sec-head p { margin-bottom: 0; }

/* ---------- герой ---------- */
.hero { padding: 172px 0 104px; position: relative; overflow: hidden; }
/* Сюжет картинки (ноутбук с интерфейсом) сидит в правой трети исходника.
   Прежние right:-12% и object-position:62% выталкивали его за край экрана,
   и в кадре оставались случайные свечи. Контейнер прижат к правому краю,
   кадр взят по правой кромке источника, маска сдвинута туда же. */
.hero-shot {
  position:absolute; top:-8%; right:0; width:58%; height:116%;
  object-fit:cover; object-position:100% 46%; opacity:.44; z-index:0; pointer-events:none;
  -webkit-mask-image: radial-gradient(74% 82% at 72% 48%, #000 20%, transparent 80%);
  mask-image: radial-gradient(74% 82% at 72% 48%, #000 20%, transparent 80%);
}
@media (max-width: 999px) {
  .hero-shot { width:100%; right:0; top:-4%; height:62%; opacity:.3;
    object-position:100% 38%;
    -webkit-mask-image: radial-gradient(90% 86% at 74% 40%, #000 16%, transparent 82%);
    mask-image: radial-gradient(90% 86% at 74% 40%, #000 16%, transparent 82%); }
}
.hero-col { max-width: 46rem; }
.hero h1 em { font-style: normal; color: var(--ac); }
.hero .lead { max-width: 36rem; }
.hero-cta { display:flex; gap:14px; flex-wrap:wrap; margin-top: 36px; }
.disclose { margin-top: 22px; font-size: 13.5px; color: var(--text-3); }
.disclose a { color: var(--text-2); }

/* ---------- строки площадок ---------- */
.rows { display: grid; gap: 14px; }
.row { transition: transform .5s var(--ease); }
.row:hover { transform: translateY(-4px); }
.row .core { padding: 24px 28px; display: grid; gap: 22px; align-items: center;
  grid-template-columns: 1fr; transition: border-color .5s var(--ease), background .5s var(--ease); }
.row:hover .core { border-color: var(--ac-line); background: var(--core-2); }
@media (min-width: 720px) { .row .core { grid-template-columns: 212px 1fr auto; gap: 30px; } }

/* Плитка — сам баннер: фон и скругления у него свои, поэтому у контейнера
   ни фона, ни рамки, только обрезка по радиусу. Пропорция 920:239 с листа. */
.logo-plate {
  width: 100%; max-width: 212px; aspect-ratio: 920 / 239;
  border-radius: 12px; overflow: hidden; display: block;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 10px 26px -16px rgba(0,0,0,.9);
}
.logo-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }

.row-body h3 { margin-bottom: 6px; }
.row-body p { margin: 0 0 10px; font-size: 15.5px; }
.row-body .calls { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin: 0; }
.row-body .calls b { color: var(--text-2); font-weight: 500; }
.row-go { display:inline-flex; align-items:center; gap:10px; font-size:14.5px; font-weight:600;
  color: var(--ac); text-decoration:none; white-space:nowrap; }
.row-go .knob { width:30px; height:30px; border-radius:50%; background: var(--ac-wash);
  border: 1px solid var(--ac-line); display:grid; place-items:center; font-size:12px;
  transition: transform .45s var(--ease); }
.row:hover .row-go .knob { transform: translate(3px,-3px); }
.row-no { font-family: var(--mono); font-size: 11px; color: var(--text-3); }

/* ---------- компактный механизм сделки ---------- */
.mech { display: grid; gap: 14px; }
@media (min-width: 720px) { .mech { grid-template-columns: 1fr 1fr; } }
.mech .core { padding: 22px 24px; display: flex; align-items: baseline; gap: 16px; }
.mech .v { font-family: var(--mono); font-size: 27px; line-height: 1; font-variation-settings:"wght" 520;
  letter-spacing:-.04em; white-space: nowrap; }
.mech .up .v { color: var(--up); }
.mech .down .v { color: var(--down); }
.mech .t { font-size: 14.5px; color: var(--text-2); }

/* ---------- ступени ---------- */
.cascade { display: grid; gap: 14px; }
@media (min-width: 700px) { .cascade { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .cascade { grid-template-columns: repeat(5, 1fr); } }
.step .core { padding: 24px 22px 26px; }
.step { transition: transform .5s var(--ease); }
@media (min-width: 1060px) {
  .cascade > *:nth-child(2) { margin-top: 20px; }
  .cascade > *:nth-child(3) { margin-top: 40px; }
  .cascade > *:nth-child(4) { margin-top: 60px; }
  .cascade > *:nth-child(5) { margin-top: 80px; }
}
.step:hover { transform: translateY(-5px); }
.step .n { font-family: var(--mono); font-size: 11px; color: var(--ac); display:block; margin-bottom: 16px; }
.step b { display:block; font-family: var(--display); font-size: 17px; font-variation-settings:"wght" 600;
  letter-spacing:-.025em; margin-bottom: 8px; }
.step span { font-size: 14.5px; color: var(--text-3); line-height: 1.55; }

/* ---------- два столбца ---------- */
.duo { display: grid; gap: 44px; }
@media (min-width: 960px) { .duo { grid-template-columns: 1.05fr .95fr; gap: 78px; align-items: start; } }

.audit { list-style:none; padding:0; margin:0; }
.audit li { display:flex; gap:16px; padding:18px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.audit li:last-child { border-bottom:none; }
.audit .mk { flex:0 0 auto; width:22px; height:22px; border-radius:50%; margin-top:3px;
  background: var(--ac-wash); border:1px solid var(--ac-line); display:grid; place-items:center;
  font-size:11px; color: var(--ac); }
.audit b { display:block; font-size:16px; font-weight:600; color: var(--text); margin-bottom:4px; }
.audit .d { font-size:14.5px; color: var(--text-3); }

/* ---------- автор ---------- */
.sig { display:flex; align-items:center; gap:16px; margin-top: 52px; }
.sig img { border-radius: 50%; display:block; }
.sig b { display:block; font-size:15px; color: var(--text); font-weight:600; }
.sig .r { font-size:14px; color: var(--text-3); }

/* ---------- подвал ---------- */
footer.end { padding: 96px 0 56px; border-top: 1px solid rgba(255,255,255,.055); position:relative; z-index:1; }
.end-grid { display:grid; gap:40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .end-grid { grid-template-columns: repeat(3, 1fr); } }
.end h4 { font-family: var(--mono); font-size:10.5px; letter-spacing:.2em; text-transform:uppercase;
  color: var(--text-3); margin:0 0 16px; font-weight:500; }
.end ul { list-style:none; margin:0; padding:0; }
.end li { padding:5px 0; }
.end a { color: var(--text-2); text-decoration:none; font-size:14.5px; transition: color .4s var(--ease); }
.end a:hover { color: var(--text); }
.end-legal { margin-top:60px; padding-top:26px; border-top:1px solid rgba(255,255,255,.055);
  font-size:13.5px; color: var(--text-3); max-width:76ch; line-height:1.65; }
.badge18 { display:inline-block; font-family: var(--mono); font-size:10.5px;
  border:1px solid rgba(255,255,255,.14); border-radius: var(--rad-pill); padding:3px 9px; margin-right:12px; }

/* ---------- вход по скроллу ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 2% cover 22%; }
  }
}
@keyframes rise { from { opacity:0; transform: translateY(42px); filter: blur(6px); } to { opacity:1; transform:none; filter:blur(0); } }

/* nav больше не прячется целиком: внутри него живёт кнопка меню. */
@media (max-width: 999px) { .island { gap:12px; padding:7px 7px 7px 16px; } }
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  section { padding: 76px 0; }
  .hero { padding: 128px 0 72px; }
  .sec-head { margin-bottom: 36px; }
  .cascade > * { margin-top: 0 !important; }
  .row .core { padding: 22px 22px 24px; }
  .logo-plate { max-width: 196px; justify-self: start; }
  .sig { margin-top: 40px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--core); border: 1px solid var(--core-line);
  border-radius: var(--rad-core); overflow: hidden;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.faq details[open] { border-color: var(--ac-line); background: var(--core-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 26px; position: relative;
  font-family: var(--display); font-size: 17px; font-variation-settings:"wght" 590;
  letter-spacing: -.02em; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 26px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--ac); border-bottom: 2px solid var(--ac);
  transform: rotate(45deg); transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: #fff; }
.faq details p { margin: 0; padding: 0 26px 24px; font-size: 15.5px; max-width: 74ch; }
@media (max-width: 760px) {
  .faq summary { padding: 17px 46px 17px 20px; font-size: 16px; }
  .faq summary::after { right: 20px; }
  .faq details p { padding: 0 20px 20px; }
}


/* ---------- поток сделки: что входит и что выходит ---------- */
.flow .core { padding: 26px 26px 28px; }
.flow-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 14px; }
.flow-in { display: grid; gap: 1px; background: var(--core-line);
  border: 1px solid var(--core-line); border-radius: 14px; overflow: hidden; }
.flow-in > div { background: var(--core); padding: 12px 16px; display: flex;
  justify-content: space-between; align-items: baseline; gap: 14px; }
.flow-in b { font-size: 14.5px; font-weight: 580; color: var(--text); }
.flow-in span { font-family: var(--mono); font-size: 12px; color: var(--text-3); text-align: right; }
.flow-arrow { display: flex; justify-content: center; padding: 18px 0 16px;
  color: var(--text-3); font-size: 15px; }
.flow-out { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.flow-out > div { border-radius: 14px; padding: 16px 18px 18px; border: 1px solid; }
.flow-out .o-up { border-color: rgba(52,211,153,.26); background: rgba(52,211,153,.05); }
.flow-out .o-down { border-color: rgba(248,113,113,.26); background: rgba(248,113,113,.05); }
.flow-out .val { font-family: var(--mono); font-size: 30px; line-height: 1;
  font-variation-settings: "wght" 540; letter-spacing: -.04em; display: block; margin-bottom: 10px; }
.o-up .val { color: var(--up); }
.o-down .val { color: var(--down); }
.flow-out .cap { font-size: 13px; color: var(--text-3); line-height: 1.45; display: block; }

/* ---------- как площадки называют продукт ---------- */
.naming { display: grid; gap: 1px; background: var(--core-line);
  border: 1px solid var(--core-line); border-radius: var(--rad-core); overflow: hidden; align-self: start; }
.naming > div { background: var(--core); padding: 15px 22px; display: flex;
  justify-content: space-between; align-items: baseline; gap: 18px;
  transition: background .4s var(--ease); }
.naming > div:hover { background: var(--core-2); }
.naming b { font-size: 15.5px; font-weight: 580; color: var(--text); white-space: nowrap; }
.naming span { font-family: var(--mono); font-size: 12px; color: var(--ac); text-align: right; }

/* ---------- полоса безубыточности ---------- */
.beven { display: grid; gap: 1px; background: var(--core-line);
  border: 1px solid var(--core-line); border-radius: var(--rad-core); overflow: hidden;
  grid-template-columns: 1fr; margin-bottom: 44px; }
@media (min-width: 560px) { .beven { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .beven { grid-template-columns: repeat(5, 1fr); } }
.beven > div { background: var(--core); padding: 20px 18px 22px; }
.beven .p { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 14px; }
.beven .r { font-family: var(--mono); font-size: 26px; line-height: 1;
  font-variation-settings: "wght" 540; letter-spacing: -.04em; color: var(--text); display: block; }
.beven .n { display: block; margin-top: 9px; font-size: 12.5px; color: var(--text-3); }
.beven .hot { background: var(--ac-wash); }
.beven .hot .r { color: var(--ac); }
.beven-note p { margin-bottom: 0; }

@media (max-width: 760px) {
  .flow .core { padding: 22px 20px 24px; }
  .flow-out { grid-template-columns: 1fr; }
  .naming > div { padding: 14px 18px; flex-direction: column; gap: 4px; align-items: flex-start; }
  .naming span { text-align: left; }
}


/* ---------- заголовок сверху, текст под ним во всю ширину ----------
   Двухколоночную раскладку владелец забраковал дважды: сначала прозу в две
   колонки, потом вариант «заголовок слева, текст справа». Правило одно:
   заголовок сверху, текст одной колонкой во всю ширину обёртки. */
.lede > h2 { margin: 0 0 22px; }
.lede > div > p:last-child { margin-bottom: 0; }
.lede > div > p { max-width: none; }
.lede + .beven, .lede + .rows, .lede + .cascade { margin-top: 52px; }

/* ---------- короткая линия над заголовком секции ---------- */
section .lede > h2::before,
section .sec-head > h2::before,
section .duo > div > h2::before {
  content: ""; display: block; width: 34px; height: 2px; border-radius: 2px;
  background: var(--ac); margin-bottom: 20px;
}

/* ---------- что обещают подсказки ---------- */
.claims { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 8px; }
.claims li {
  font-family: var(--mono); font-size: 13px; color: var(--text-3);
  background: var(--core); border: 1px solid var(--core-line);
  border-radius: 10px; padding: 11px 16px; position: relative; padding-left: 38px;
}
.claims li::before {
  content: "\201C"; position: absolute; left: 15px; top: 9px;
  font-family: var(--display); font-size: 19px; line-height: 1; color: var(--ac);
}
.claims b { color: var(--text); font-weight: 500; }

/* ---------- подвал компактнее ---------- */
footer.end { padding: 58px 0 34px; }
.end-grid { gap: 28px; }
.end h4 { margin: 0 0 11px; }
.end li { padding: 2px 0; }
.end a { font-size: 14px; }
.end-legal { margin-top: 34px; padding-top: 20px; font-size: 13px; line-height: 1.55; }


/* ---------- навигация на шесть площадок ---------- */
.island { gap: 20px; }
.island nav { gap: 17px; }
.island nav a { font-size: 13.5px; }
.island nav .only-narrow { display: none; }
@media (max-width: 1180px) {
  .island nav .wide-only { display: none; }
  .island nav .only-narrow { display: inline; }
}

/* ---------- длинная правая колонка не должна оставлять дыру слева ----------
   Заголовок едет вместе с прокруткой: пустота читается как приём,
   а не как незаполненное место. */



/* Вертикальный ритм подтянут: на пустоты владелец жаловался дважды. */
.sec-head { margin-bottom: 40px; }
.lede + .beven, .lede + .rows, .lede + .cascade { margin-top: 42px; }


/* Текст под заголовком идёт во всю ширину одной колонкой.
   Строка получается длинной, поэтому межстрочный интервал чуть больше —
   так длинная строка не теряется при переходе на следующую. */
.lede > div > p { line-height: 1.72; }
.lede > div > p.lead { line-height: 1.66; }


/* ==========================================================================
   ШАБЛОН СТРАНИЦЫ ПЛОЩАДКИ
   ========================================================================== */

/* ---------- чередование секций ----------
   Класс .tint стоял в разметке главной, но правила под него не было.
   На длинной странице площадки разделение секций нужно: пятнадцать
   заголовков подряд на одном фоне сливаются в один свиток. */
section.tint {
  background: rgba(77,139,240,.022);
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

/* ---------- герой страницы площадки ----------
   Без фоновой картинки: она есть только на главной. */
.hero-page { padding: 150px 0 76px; overflow: visible; }
.hero-page .hero-col { max-width: 50rem; }
.hero-page h1 { font-size: clamp(34px, 3.5vw, 50px); }

.crumbs { font-family: var(--mono); font-size: 11.5px; color: var(--text-3);
  margin-bottom: 26px; display: flex; gap: 9px; align-items: center; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { color: var(--text-3); }

.hero-plate { margin-bottom: 24px; max-width: 232px; }

/* ---------- таблица характеристик ----------
   Та же .naming, но подписи длиннее, поэтому колонки не жмутся в одну строку. */
.naming.spec > div { padding: 13px 22px; }
.naming.spec b { white-space: normal; }
.naming.spec span { color: var(--text-2); }

/* ---------- отрицательная метка в .audit ---------- */
.audit .mk-no { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.26);
  color: var(--down); font-weight: 600; }

/* ---------- где площадка не работает ---------- */
.geo-no { list-style: none; padding: 0; margin: 0 0 44px;
  display: flex; flex-wrap: wrap; gap: 10px; }
.geo-no li {
  font-family: var(--mono); font-size: 13px; color: var(--text-2);
  background: var(--core); border: 1px solid rgba(248,113,113,.22);
  border-radius: var(--rad-pill); padding: 9px 17px 9px 34px; position: relative;
}
.geo-no li::before {
  content: "\00D7"; position: absolute; left: 15px; top: 50%; margin-top: -9px;
  font-size: 14px; line-height: 1; color: var(--down);
}

/* ---------- продолжение текста без нового заголовка ----------
   Линия над заголовком секции уже нарисована выше, поэтому .lede-tight
   несёт только текст и не начинает раздел заново. */
.lede-tight { margin-top: 8px; }
.lede > div > h3 {
  font-size: 21px; font-variation-settings: "wght" 600;
  margin: 38px 0 12px; letter-spacing: -.028em;
}
.lede > div > h3:first-child { margin-top: 0; }

/* ---------- карточка-справка рядом с текстом ---------- */
.core.kyc { padding: 26px 26px 24px; }
.kyc-note { margin: 18px 0 0; font-size: 13.5px; color: var(--text-3); line-height: 1.55; }

/* ---------- арифметика бонуса ----------
   Подписи длиннее, чем в полосе безубыточности на главной. */
.beven.bonus-math .p { white-space: normal; line-height: 1.4; }
.beven.bonus-math .r { font-size: 23px; }

/* ---------- плюсы и ограничения ---------- */
@media (min-width: 960px) { .duo.pl { grid-template-columns: 1fr 1fr; gap: 56px; } }
.pl-h {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; margin: 0 0 6px; font-weight: 500;
}
.pl-up { color: var(--up); }
.pl-down { color: var(--down); }
/* Линия над h2 не должна появляться у этих подзаголовков. */
.pl .pl-h::before { content: none; }

/* ---------- источники ---------- */
.srcs { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px;
  background: var(--core-line); border: 1px solid var(--core-line);
  border-radius: var(--rad-core); overflow: hidden; }
.srcs li { background: var(--core); padding: 15px 22px; display: grid; gap: 4px; }
.srcs b { font-size: 15px; font-weight: 580; color: var(--text); }
.srcs span { font-family: var(--mono); font-size: 12px; color: var(--text-3);
  word-break: break-word; }

/* ---------- финальный блок ---------- */
.cta .core { padding: 44px 44px 38px; }
.cta h2 { margin-bottom: 14px; }
.cta h2::before { content: none; }
.cta p { max-width: 68ch; }
.cta .hero-cta { margin-top: 28px; }
.cta .disclose { margin-top: 26px; max-width: 76ch; }
@media (max-width: 760px) { .cta .core { padding: 30px 24px 26px; } }

/* ---------- вертикальный ритм новых блоков ---------- */
.lede + .audit, .lede + .geo-no, .lede + .faq,
.lede + .bezel, .lede + .duo, .lede + .srcs { margin-top: 42px; }
.audit + .lede-tight, .geo-no + .lede-tight, .bezel + .lede-tight { margin-top: 34px; }
.srcs + .sig { margin-top: 38px; }

@media (max-width: 760px) {
  .hero-page { padding: 118px 0 58px; }
  .naming.spec > div { padding: 13px 18px; }
  .core.kyc { padding: 22px 20px 20px; }
}

/* ---------- широкий .audit: строка не должна уходить за 100 знаков ----------
   На главной .audit жил внутри .duo и был узким сам собой. На странице
   площадки он идёт во всю ширину, и пояснения растягивались до 130 знаков. */
section > .wrap > .audit li > div { max-width: 94ch; }
.audit .d { color: var(--text-2); }


/* ==========================================================================
   СКРИНШОТЫ И БАННЕРЫ
   ========================================================================== */

/* ---------- оправа кадра ---------- */
.shot { margin: 0; }
.shot-frame {
  display: block; padding: 8px; border-radius: 22px; position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.022) 42%, rgba(77,139,240,.07));
  border: 1px solid rgba(255,255,255,.085);
  box-shadow: 0 1px 0 rgba(255,255,255,.10) inset,
              0 30px 70px -34px rgba(0,0,0,.95),
              0 0 60px -28px rgba(77,139,240,.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.shot-frame img {
  display: block; width: 100%; height: auto; border-radius: 15px;
  border: 1px solid rgba(255,255,255,.055);
}
.shot figcaption {
  margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: var(--text-3);
  max-width: 62ch; padding-left: 2px;
}
.shot-wide { margin: 0 0 8px; }
.shot-wide figcaption { max-width: 78ch; }

/* Кадр и текст рядом: кадр не должен растягиваться на всю высоту колонки. */
.duo.shot-duo { align-items: start; }
.duo.shot-duo .shot { position: sticky; top: 104px; }
@media (max-width: 959px) { .duo.shot-duo .shot { position: static; } }
/* Вертикальный кадр формы регистрации уже остальных. */
.shot-tall .shot-frame { max-width: 420px; }

.lede + .shot, .lede + .shot-wide { margin-top: 40px; }
.shot-wide + .lede-tight { margin-top: 38px; }

/* ---------- баннер в герое ---------- */
/* Горизонтальный баннер: в узкой колонке телефон на нём нечитаем,
   поэтому правая колонка шире, а текстовая сжимается. */
@media (min-width: 1040px) {
  .hero-wrap { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 52px; align-items: center; }
  .hero-page .hero-col { max-width: none; }
}
@media (min-width: 1200px) {
  .hero-wrap { grid-template-columns: minmax(0,1fr) 500px; gap: 56px; }
}
/* Кегль и ширина колонки настраиваются вместе: на 50px заголовок ломался
   на три строки с разрывом посреди фразы. */
@media (min-width: 1040px) { .hero-page h1 { font-size: clamp(32px, 3.15vw, 46px); } }
.hero-art {
  display: block; position: relative; text-decoration: none;
  transition: transform .55s var(--ease);
}
@media (max-width: 1039px) { .hero-art { max-width: 560px; margin-top: 48px; } }
.hero-art:hover { transform: translateY(-6px); }
.hero-art-glow {
  position: absolute; inset: -22% -8% -26%; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 64% at 52% 48%, rgba(77,139,240,.40), transparent 74%);
  filter: blur(30px);
}
.hero-art img {
  position: relative; z-index: 1; display: block; width: 100%; height: auto;
  border-radius: 20px; border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset,
              0 26px 60px -28px rgba(0,0,0,.95);
}
.hero-art-cap {
  position: relative; z-index: 1; display: block; margin-top: 16px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.5;
  color: var(--text-3); text-align: center;
}
.hero-art-cap b { color: var(--ac); font-weight: 500; letter-spacing: .04em; }

/* ---------- широкий баннер в тексте ---------- */
.promo-band {
  display: grid; gap: 0; margin-top: 44px; text-decoration: none;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(120deg, rgba(77,139,240,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 26px 60px -34px rgba(0,0,0,.9);
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
@media (min-width: 760px) { .promo-band { grid-template-columns: 380px 1fr; align-items: center; } }
.promo-band:hover { border-color: var(--ac-line); transform: translateY(-4px); }
.promo-band img { display: block; width: 100%; height: auto; }
.promo-band-body { display: block; padding: 26px 32px 28px; }
.promo-band-body b {
  display: block; font-family: var(--display); font-size: 19px;
  font-variation-settings:"wght" 600; letter-spacing: -.025em;
  color: var(--text); margin-bottom: 8px;
}
.promo-band-body > span { display: block; font-size: 14.5px; color: var(--text-3); line-height: 1.55; }
.promo-band-go {
  margin-top: 16px; color: var(--ac) !important; font-weight: 600; font-size: 14.5px;
  display: inline-flex !important; align-items: center; gap: 10px;
}
.promo-band-go .knob {
  width: 28px; height: 28px; border-radius: 50%; background: var(--ac-wash);
  border: 1px solid var(--ac-line); display: grid; place-items: center; font-size: 11px;
  transition: transform .45s var(--ease);
}
.promo-band:hover .promo-band-go .knob { transform: translate(3px,-3px); }

/* ---------- плюшки после регистрации ---------- */
.perks { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.perks li {
  font-family: var(--mono); font-size: 12.5px; color: var(--text-2);
  background: var(--core); border: 1px solid var(--core-line);
  border-radius: var(--rad-pill); padding: 9px 18px;
}

/* ---------- промокод в тексте ---------- */
.code {
  font-family: var(--mono); font-size: .92em; letter-spacing: .06em;
  color: var(--ac); background: var(--ac-wash); border: 1px solid var(--ac-line);
  border-radius: 7px; padding: 2px 8px; font-weight: 500; white-space: nowrap;
}
.beven .r .code, .bonus-math .r { letter-spacing: -.02em; }

/* ---------- короткая правовая справка в конце ---------- */
.legal-min .core { padding: 38px 42px 32px; }
.legal-min h2 { margin-bottom: 14px; }
.legal-min h2::before { content: none; }
.legal-min p { max-width: 82ch; font-size: 16px; color: var(--text-2); }
.legal-min .hero-cta { margin-top: 26px; }
.legal-min .disclose { margin-top: 22px; }
@media (max-width: 760px) { .legal-min .core { padding: 26px 22px 24px; } }


/* ---------- кнопка «наверх» ----------
   Пока не прокрутили — кнопка скрыта и не ловит клики, поэтому visibility,
   а не только opacity. */
.totop {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background: rgba(10,12,17,.72); border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  color: var(--text-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.09) inset, 0 16px 34px -18px rgba(0,0,0,.95);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.92);
  transition: opacity .45s var(--ease), transform .45s var(--ease),
              visibility .45s, color .4s var(--ease),
              border-color .4s var(--ease), background .4s var(--ease);
}
html.scrolled .totop { opacity: 1; visibility: visible; transform: none; }
.totop::before {
  content: ""; width: 10px; height: 10px; margin-top: 3px;
  border-left: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.totop:hover { color: var(--text); border-color: var(--ac-line); background: rgba(14,17,24,.9); }
.totop:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }

/* Класс вешает крошечный скрипт в конце страницы.
   Через scroll-таймлайн не вышло: `body { overflow-x: hidden }` уезжает на
   вьюпорт, и `scroll(root)` отдаёт currentTime: null — кнопка не появлялась
   вовсе. Переключение класса работает везде и стоит одну строку. */
@media (prefers-reduced-motion: reduce) {
  .totop { transition: none; }
}

@media (max-width: 760px) {
  .totop { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}


/* ---------- кнопка внутри текстового раздела ----------
   Не финальный призыв, а действие ровно там, где о нём читают:
   раскрытие идёт рядом, потому что ссылка платная. */
.inline-cta { margin-top: 30px; }
.inline-cta .disclose { margin-top: 14px; }

/* ---------- в герое не баннер, а скриншот ----------
   У Deriv партнёрских креативов нет, поэтому в правой колонке героя стоит
   кадр из терминала. Оправа берётся от .shot-frame, собственные рамка и тень
   .hero-art отключаются, чтобы не накладывались две. */
.hero-art-shot { cursor: default; }
.hero-art-shot:hover { transform: none; }
.hero-art-shot .shot-frame { position: relative; z-index: 1; }
.hero-art-shot img {
  border-radius: 14px; box-shadow: none;
  border: 1px solid rgba(255,255,255,.055);
}

/* ---------- служебные страницы ----------
   Герой у них без правой колонки и заметно короче: читать там нечего,
   кроме заголовка и подводки. */
.hero-doc { padding: 140px 0 56px; }
.hero-doc .hero-col { max-width: 46rem; }
.hero-doc h1 { font-size: clamp(32px, 3.4vw, 48px); }
.hero-doc .lead { max-width: 40rem; }
@media (max-width: 760px) { .hero-doc { padding: 112px 0 44px; } }

/* ---------- список на странице 404 ---------- */
.lost-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px;
  background: var(--core-line); border: 1px solid var(--core-line);
  border-radius: var(--rad-core); overflow: hidden; }
.lost-list li { background: var(--core); transition: background .4s var(--ease); }
.lost-list li:hover { background: var(--core-2); }
.lost-list a { display: block; padding: 16px 24px; font-size: 15.5px;
  color: var(--text-2); text-decoration: none; }
.lost-list li:hover a { color: var(--text); }
.lost-cta { margin-top: 36px; }

/* ---------- свечение за баннером не должно раздвигать страницу ----------
   У .hero-art-glow отрицательный горизонтальный inset, и на 390px он
   вылезал за вьюпорт: scrollWidth 400 против 390 на всех шести страницах
   площадок. clip по горизонтали убирает вылет и сохраняет вертикальный
   разлив свечения, в отличие от hidden. */
.hero-page { overflow-x: clip; overflow-y: visible; }

/* ---------- раскрывающееся меню на узком экране ----------
   До этого на мобильном навигации не было вообще: шесть ссылок прятались,
   вместо них стояла одна «Platforms» на главную. */
.menu { position: relative; display: none; }
.menu > summary {
  list-style: none; cursor: pointer; width: 38px; height: 38px;
  border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.045);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { border-color: var(--ac-line); background: var(--ac-wash); }
.menu > summary:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }

.burger { position: relative; width: 16px; height: 1.6px; border-radius: 2px;
  background: var(--text-2); transition: background .2s var(--ease); }
.burger::before, .burger::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.6px;
  border-radius: 2px; background: var(--text-2);
  transition: transform .4s var(--ease);
}
.burger::before { transform: translateY(-5px); }
.burger::after { transform: translateY(5px); }
.menu[open] .burger { background: transparent; }
.menu[open] .burger::before { transform: rotate(45deg); }
.menu[open] .burger::after { transform: rotate(-45deg); }

.menu-panel {
  position: absolute; right: -4px; top: calc(100% + 16px);
  min-width: 236px; padding: 8px; z-index: 5;
  background: rgba(9,11,16,.92); border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px; display: grid; gap: 2px;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset,
              0 26px 60px -24px rgba(0,0,0,.95);
  animation: menu-in .32s var(--ease) both;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .menu-panel { animation: none; } }

.menu-panel a { display: block; padding: 11px 16px; border-radius: 13px;
  font-size: 15px; color: var(--text-2); text-decoration: none;
  transition: background .3s var(--ease), color .3s var(--ease); }
.menu-panel a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.menu-panel a[aria-current] { background: var(--ac-wash); color: var(--text); }
.menu-label { font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-3); padding: 8px 16px 6px; }
.menu-sep { height: 1px; background: rgba(255,255,255,.07); margin: 7px 12px; }

/* Меню появляется ровно там, где прячутся ссылки площадок. */
@media (max-width: 1180px) { .menu { display: block; } }

/* ---------- шапка на телефоне ---------- */
.go-short { display: none; }

@media (max-width: 1180px) {
  /* Панель растягивается по ширине острова, а не висит на кнопке: кнопка
     стоит в середине шапки, и панель от неё уезжала за левый край экрана.
     position: fixed здесь не годится — у .island есть backdrop-filter, а он
     создаёт содержащий блок для фиксированных потомков, и fixed начинает
     вести себя как absolute. Поэтому .menu делается static, и панель
     считается от самого острова. */
  .menu { position: static; }
  .menu-panel {
    left: 0; right: 0; top: calc(100% + 14px);
    min-width: 0; width: auto;
  }
}

@media (max-width: 560px) {
  /* Остров кончался на 374px, а кнопка — на 397: подпись не помещалась. */
  .island { gap: 10px; padding: 6px 6px 6px 14px; }
  .island .mark { font-size: 14px; }
  .island .go-pill { font-size: 13px; padding: 8px 6px 8px 15px; }
  .island .go-label { display: none; }
  .island .go-short { display: inline; }
  .menu > summary { width: 34px; height: 34px; }
  .menu-panel { top: calc(100% + 12px); }
}
