/* Orbit: royal-blue lobby layout. Palette, type and spacing tokens first. */
:root {
  --navy: #161d52;
  --navy-2: #10163f;
  --floor: #3554d6;
  --floor-2: #2c47c4;
  --rail: #4262e6;
  --card: #141a49;
  --card-2: #1c2462;
  --line: rgba(255, 255, 255, .12);
  --ink: #eef1ff;
  --ink-2: #b9c3f2;
  --lime: #c6f432;
  --lime-ink: #10163f;
  --gold: #f7c948;
  --r: 18px;
  --head: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: linear-gradient(180deg, var(--floor) 0, var(--floor-2) 100%) fixed; color: var(--ink); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: #fff; }
.ob-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ob-skip { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: var(--lime-ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.ob-skip:focus { left: 8px; }

/* Buttons: pills like the lobby's Log in / Sign up */
.ob-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border-radius: 999px; font: 600 16px/1 var(--head); text-decoration: none; white-space: nowrap; transition: transform .15s, filter .15s; }
.ob-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.ob-btn--lime { background: var(--lime); color: var(--lime-ink); }
.ob-btn--lime:hover { color: var(--lime-ink); }
.ob-btn--blue { background: var(--floor); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.ob-btn--blue:hover { color: #fff; }

/* Top bar */
.ob-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px; height: 68px; padding: 0 20px; background: var(--navy); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.ob-bar__logo { flex: none; display: flex; }
.ob-bar__logo img { height: 40px; width: auto; }
.ob-word { font: 800 26px/1 var(--head); color: #fff; letter-spacing: .5px; }
.ob-bar__nav { flex: 1; display: flex; justify-content: center; }
.ob-bar__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ob-bar__list a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font: 500 16px/1 var(--head); text-decoration: none; }
.ob-bar__list a:hover, .ob-bar__list .is-on a { background: rgba(255,255,255,.08); color: #fff; }
.ob-bar__list li:first-child { display: none; }
.ob-bar__acts { display: flex; gap: 10px; margin-left: auto; }
.ob-bar__burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; padding: 0; }
.ob-bar__burger i, .ob-bar__burger i::before, .ob-bar__burger i::after { display: block; width: 22px; height: 2px; margin: 0 auto; background: #fff; border-radius: 2px; position: relative; content: ""; }
.ob-bar__burger i::before { position: absolute; top: -7px; }
.ob-bar__burger i::after { position: absolute; top: 7px; }

/* Floor: rail + stage */
.ob-floor { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.ob-rail { position: sticky; top: 68px; align-self: start; height: calc(100vh - 68px); overflow-y: auto; background: var(--rail); padding: 14px 0 28px; scrollbar-width: thin; }
.ob-rail__h { margin: 14px 22px 6px; font: 600 12px/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.ob-rail__menu { margin: 0; padding: 0; list-style: none; }
.ob-rail__menu a { display: block; padding: 13px 22px; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; font: 500 17px/1.2 var(--head); text-decoration: none; }
.ob-rail__menu a:hover, .ob-rail__menu .is-on a { background: rgba(16,22,63,.28); }
.ob-rail__menu .is-on a { box-shadow: inset 4px 0 0 var(--lime); }
.ob-toc__list { margin: 0; padding: 0 14px 0 22px; list-style: none; counter-reset: ob; }
.ob-toc__list li { counter-increment: ob; }
.ob-toc__list a { display: flex; gap: 10px; padding: 7px 0; color: var(--ink); font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.ob-toc__list a::before { content: counter(ob); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(16,22,63,.35); font: 600 12px/1 var(--head); color: var(--lime); }
.ob-toc__list a:hover { color: #fff; text-decoration: underline; }
.ob-toc--fold { display: none; }
.ob-stage { min-width: 0; padding: 24px clamp(16px, 3vw, 44px) 60px; }
.ob-head, .ob-text { max-width: 900px; margin: 0 auto; }
.ob-head { padding: 6px 0 18px; }
.ob-path { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.ob-path a { color: var(--ink-2); }
.ob-h1 { margin: 6px 0 0; font: 700 clamp(28px, 3.6vw, 42px)/1.15 var(--head); color: #fff; }
.ob-cover { margin-top: 18px; }
.ob-cover img, .ob-cover figure { margin: 0; border-radius: var(--r); width: 100%; }

/* Front page: banners + round shortcuts */
.ob-head--home { max-width: 1100px; }
.ob-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.ob-banners__card { display: block; border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 30px rgba(10,15,60,.35); }
.ob-banners__card img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
.ob-dots { display: none; }
.ob-orbs ul { display: flex; gap: 14px; margin: 0 0 26px; padding: 0 0 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.ob-orbs a { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; color: #fff; font: 500 14px/1.25 var(--head); text-align: center; text-decoration: none; }
.ob-orbs__dot { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--rail); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 6px 16px rgba(10,15,60,.3); font: 700 24px/1 var(--head); color: var(--lime); transition: transform .15s; }
.ob-orbs__dot img { width: 48px; height: 48px; object-fit: contain; }
.ob-orbs a:hover .ob-orbs__dot { transform: translateY(-3px); }

/* Article card */
.ob-text { background: var(--card); border-radius: 24px; padding: clamp(20px, 3.4vw, 44px); box-shadow: 0 18px 50px rgba(8,12,48,.35); }
.ob-text > :first-child { margin-top: 0; }
.ob-text p, .ob-text li { color: var(--ink); }
.ob-text h2 { margin: 2.1em 0 .6em; font: 700 clamp(23px, 2.4vw, 29px)/1.25 var(--head); color: #fff; }
.ob-text h2::after { content: ""; display: block; width: 46px; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--lime); }
.ob-text h3 { margin: 1.6em 0 .4em; font: 600 20px/1.3 var(--head); color: var(--lime); }
.ob-text h4 { margin: 1.4em 0 .3em; font: 600 17px/1.3 var(--head); color: #fff; }
.ob-text ul, .ob-text ol { padding-left: 1.3em; }
.ob-text li { margin: .3em 0; }
.ob-text ul li::marker { color: var(--lime); }
.ob-text strong { color: #fff; }
.ob-text hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* Tables */
.ob-tab { margin: 1.4em 0; }
.ob-tab__box { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.ob-tab table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ob-tab th { background: var(--floor-2); color: #fff; font: 600 14.5px/1.3 var(--head); text-align: left; padding: 12px 14px; }
.ob-tab td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.ob-tab tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.ob-tab figcaption { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* Components */
.ob-hint { margin: 1.5em 0; padding: 16px 18px 16px 20px; border-radius: 14px; background: var(--card-2); border-left: 4px solid var(--lime); }
.ob-hint p { margin: .3em 0; }
.ob-hint__tag { font: 600 15px/1.3 var(--head); color: var(--lime); }
.ob-card { margin: 1.5em 0; border-radius: 16px; background: var(--card-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.ob-card table { width: 100%; border-collapse: collapse; }
.ob-card th, .ob-card td { padding: 11px 16px; text-align: left; border-top: 1px solid var(--line); font-size: 15.5px; }
.ob-card thead th { background: var(--navy); border-top: 0; font: 600 13px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ob-card td:last-child { color: #fff; font-weight: 600; }
.ob-steps { margin: 1.5em 0; padding: 0; list-style: none; counter-reset: st; }
.ob-steps li, .ob-steps > * { position: relative; counter-increment: st; margin: 0; padding: 4px 0 16px 52px; }
.ob-steps li::before, .ob-steps > *::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font: 700 15px/1 var(--head); }
.ob-steps li::after, .ob-steps > *::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 2px; width: 2px; background: rgba(198,244,50,.3); }
.ob-steps li:last-child::after, .ob-steps > *:last-child::after { display: none; }
.ob-myth { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.5em 0; }
.ob-myth__side { padding: 16px 18px; border-radius: 14px; background: var(--card-2); }
.ob-myth__said { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.ob-myth__real { box-shadow: inset 0 0 0 2px var(--lime); }
.ob-myth__tag { display: block; margin-bottom: 4px; font: 600 13px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ob-myth__real .ob-myth__tag { color: var(--lime); }
.ob-pic, .ob-fig { margin: 1.6em 0; }
.ob-pic img, .ob-fig img { border-radius: 14px; width: 100%; }
.ob-pic--side, .ob-pic--l, .ob-pic--r { max-width: 46%; }
.ob-pic--r { float: right; margin: .4em 0 1em 1.4em; }
.ob-pic--l { float: left; margin: .4em 1.4em 1em 0; }
.ob-fig__cap, .ob-pic figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.ob-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; margin: 1.6em 0; }
.ob-duo--rev .ob-duo__pic { order: 2; }
.ob-go { display: flex; justify-content: center; margin: 2em 0; }
.ob-go .ob-btn { min-height: 52px; padding: 0 30px; font-size: 18px; }

/* FAQ */
.ob-qa { margin-top: 2.4em; }
.ob-qa__row { border-radius: 14px; background: var(--card-2); margin: 10px 0; }
.ob-qa__row summary { cursor: pointer; list-style: none; padding: 15px 52px 15px 18px; position: relative; font: 600 17px/1.35 var(--head); color: #fff; }
.ob-qa__row summary::-webkit-details-marker { display: none; }
.ob-qa__row summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--floor); color: #fff; font-size: 18px; }
.ob-qa__row[open] summary::after { content: "−"; background: var(--lime); color: var(--lime-ink); }
.ob-qa__a { padding: 0 18px 14px; }
.ob-qa__a p { margin: .3em 0 .6em; }

/* Footer */
.ob-foot { background: var(--navy-2); color: var(--ink-2); font-size: 15px; }
.ob-foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; max-width: 1200px; margin: 0 auto; padding: 40px 20px 26px; }
.ob-foot__brand img { height: 36px; width: auto; margin-bottom: 12px; }
.ob-foot__h { margin: 0 0 10px; font: 600 13px/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.ob-foot__list { margin: 0; padding: 0; list-style: none; }
.ob-foot__list a { display: inline-block; padding: 4px 0; color: var(--ink-2); text-decoration: none; }
.ob-foot__list a:hover { color: var(--lime); }
.ob-foot__law { max-width: 1200px; margin: 0 auto; padding: 16px 20px 28px; border-top: 1px solid var(--line); font-size: 14px; }
.ob-foot__law p { margin: 6px 0; }
.ob-18 { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font: 700 11px/1 var(--head); vertical-align: middle; }

/* 404 */
.ob-lost { text-align: center; padding: 50px 0 10px; }
.ob-lost__n { margin: 0; font: 800 90px/1 var(--head); color: var(--lime); }
.ob-lost + .ob-text { text-align: center; }

/* Wide screens without rail space */
@media (max-width: 1240px) {
  .ob-bar__nav { display: none; }
}
@media (max-width: 960px) {
  .ob-floor { display: block; }
  .ob-bar__burger { display: block; }
  .ob-rail { position: fixed; top: 68px; left: 0; z-index: 35; width: min(320px, 86vw); height: calc(100vh - 68px); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 10px 0 30px rgba(0,0,0,.3); }
  .ob-rail .ob-toc--rail { display: none; }
  body.ob-drawer .ob-rail { transform: none; }
  .ob-toc--fold { display: block; max-width: 900px; margin: 0 auto 14px; border-radius: 16px; background: var(--card); }
  .ob-toc--fold summary { cursor: pointer; padding: 14px 18px; font: 600 16px/1.2 var(--head); color: #fff; }
  .ob-toc--fold .ob-toc__list { padding: 0 18px 12px; }
  .ob-foot__in { grid-template-columns: 1fr 1fr; }
  .ob-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .ob-bar { gap: 10px; padding: 0 12px; height: 60px; }
  .ob-rail { top: 60px; height: calc(100vh - 60px); }
  .ob-bar__logo img { height: 32px; }
  .ob-bar__acts .ob-btn { min-height: 38px; padding: 0 14px; font-size: 15px; }
  .ob-bar__acts .ob-btn--blue { display: none; }
  .ob-stage { padding: 14px 12px 40px; }
  .ob-text { border-radius: 18px; padding: 20px 16px; }
  .ob-banners { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 100%; gap: 12px; margin-bottom: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ob-banners::-webkit-scrollbar { display: none; }
  .ob-dots { display: flex; justify-content: center; gap: 8px; margin: 0 0 18px; }
  .ob-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.4); transition: width .2s, background .2s; }
  .ob-dots button[aria-current="true"] { width: 22px; background: var(--lime); }
  .ob-banners__card { scroll-snap-align: start; }
  .ob-banners__card img { aspect-ratio: 9 / 10; }
  .ob-orbs a { width: 70px; font-size: 13px; }
  .ob-orbs__dot { width: 60px; height: 60px; border-radius: 18px; }
  .ob-tab--stack thead { display: none; }
  .ob-tab--stack tr { display: block; padding: 8px 0; border-top: 1px solid var(--line); }
  .ob-tab--stack td { display: grid; grid-template-columns: 40% 1fr; gap: 10px; border: 0; padding: 5px 14px; }
  .ob-tab--stack td::before { content: attr(data-h); font: 600 13px/1.4 var(--head); color: var(--ink-2); }
  .ob-myth, .ob-duo { grid-template-columns: 1fr; }
  .ob-pic--side, .ob-pic--l, .ob-pic--r { float: none; max-width: 100%; margin: 1.2em 0; }
  .ob-foot__in { grid-template-columns: 1fr; }
}
