/* Base of the landing: fonts of the coins (IBM Plex Sans, SIL OFL 1.1; IBM Plex Mono only for data and sources), reset, focus. */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-cyrillic-wght.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: 'IBM Plex Sans', system-ui, sans-serif; line-height: 1.55; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 16px; background: #CBA65E; color: #181c1f; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--focus, #CBA65E); outline-offset: 3px; }
details summary { cursor: pointer; }

/* The landing in the direction 1 «Грани» (Story story-go-to-market-lucr-cindralite-landing-concept): a diptych of two minerals,
   facet shards around the unchanged marks, chamfered cards, cinematic motion once. The CSP allows no inline style: every value is a class. */
:root {
  --bg: #101315; --surface: #181c1f; --surface2: #1f2528; --line: #2d3539; --text: #EEF0EC; --muted: #A9B0AE;
  --gold: #CBA65E; --bronze: #9C7E44; --fire: #E2683C; --fire-t: #EE8A63; --gold-t: #CBA65E;
  --deep: #0E3B2B; --emerald: #1E7A55; --jade: #3FBF86; --jade-t: #3FBF86; --mint: #C9F2DC;
  --btn: #CBA65E; --btn-t: #181c1f; --btn-edge: #CBA65E; --focus: #CBA65E;
  --ch: 14px; --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F2F4F2; --surface: #FFFFFF; --surface2: #E7EBE8; --line: #CCD3CF; --text: #121618; --muted: #4C5658;
  --fire-t: #A6401A; --gold-t: #7A5C1F; --jade-t: #17694A; --btn-edge: #7A5C1F; --focus: #7A5C1F;
  color-scheme: light;
}
body { background: var(--bg); color: var(--text); font-size: 17px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }

/* header */
.hd { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-marks { display: flex; gap: 4px; align-items: center; }
.brand-marks img { height: 24px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-weight: 600; font-size: 15px; }
.brand-txt small { font-size: 12px; color: var(--muted); }
.menu { display: flex; gap: 2px; margin-left: auto; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.menu a:hover { color: var(--text); }
.hd-tools { display: flex; align-items: center; gap: 8px; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 6px; padding: 1px; }
.seg a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 4px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.seg a[aria-current="true"] { background: var(--surface2); color: var(--text); }
.icon-btn { cursor: pointer; display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 6px; color: var(--text); }
.menu-btn { display: none; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--btn); color: var(--btn-t);
  border: 1px solid var(--btn-edge); border-radius: 3px; font-weight: 600; text-decoration: none; transition: transform .16s var(--ease), background-color .16s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold-t); }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 600; text-underline-offset: 5px; }

/* type */
h1 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.04; font-weight: 600; letter-spacing: -.02em; max-width: 22ch; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -.015em; max-width: 22ch; }
.h3 { font-size: 18px; font-weight: 600; margin-top: 28px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 60ch; margin-top: 16px; }
.kicker { font-size: 15px; font-weight: 500; color: var(--gold-t); margin-bottom: 16px; }
.src { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* hero: the diptych */
.hero { padding: 56px 0 40px; overflow: hidden; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
.mineral { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; padding: 28px; background: var(--surface); min-height: 260px; overflow: hidden; }
.mineral-art { position: relative; display: block; height: 200px; overflow: hidden; }
.shards { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.shards .c1 { fill: var(--gold); } .shards .c2 { fill: var(--bronze); } .shards .c3 { fill: var(--fire); }
.shards .l1 { fill: var(--deep); } .shards .l2 { fill: var(--emerald); } .shards .l3 { fill: var(--jade); } .shards .l4 { fill: var(--mint); }
:root[data-theme="light"] .shards .l1 { fill: #0E3B2B; }
.shards polygon { opacity: .9; transform-box: fill-box; transform-origin: center; }
.mark-slot { z-index: 1; }
.mark-slot { position: absolute; left: 50%; top: 50%; width: 110px; height: 120px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.mark-slot .mark { height: 120px; width: auto; max-width: none; }
.sweep { position: absolute; inset: -20%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
.m-name { font-size: 26px; font-weight: 600; line-height: 1.15; }
.tick { font-size: 14px; font-weight: 600; letter-spacing: .04em; margin-left: 6px; vertical-align: 3px; padding: 2px 6px; border: 1px solid currentColor; border-radius: 3px; }
.m-cndt .tick { color: var(--gold-t); } .m-lucr .tick { color: var(--jade-t); }
.m-cndt { box-shadow: inset 0 3px 0 var(--fire); } .m-lucr { box-shadow: inset 0 3px 0 var(--jade); }
.m-kind { color: var(--muted); margin-top: 6px; }
.m-st { margin-top: 14px; display: grid; gap: 8px; font-size: 15px; }
.m-st li, .status { display: flex; gap: 10px; align-items: flex-start; }
.fi { flex: none; width: 12px; height: 12px; margin-top: 6px; }
.fi-cndt { fill: var(--fire); } .fi-lucr { fill: var(--jade); } .fi-warn { fill: var(--gold); }
.fi-hollow { flex: none; width: 14px; height: 14px; margin-top: 5px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.hero-foot { margin-top: 20px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hero-foot > span:first-child { font-weight: 600; }

/* sections */
.sec { padding: 96px 0; border-top: 1px solid var(--line); }
.chamfer { clip-path: polygon(var(--ch) 0, 100% 0, 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%, 0 100%, 0 var(--ch)); }

/* the spine table: CNDT mirrored against LUCR */
.spine { margin-top: 40px; border-top: 1px solid var(--line); }
.spine-row { display: grid; grid-template-columns: 1fr 200px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spine-row .k { text-align: center; color: var(--muted); font-size: 15px; }
.spine-row .v-c { text-align: right; } .spine-row .v-l { text-align: left; }
.spine-head { font-weight: 600; }
.spine-head .v { display: flex; gap: 8px; align-items: center; }
.spine-head .v-c { justify-content: flex-end; color: var(--gold-t); } .spine-head .v-l { color: var(--jade-t); }
.mk { height: 22px; width: auto; }
.lead-c { max-width: 70ch; }

/* split sections */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 64px; align-items: start; }
.split > .note-card, .split > .status, .split > .build { grid-column: 1 / -1; }
.split-rev .split-txt { order: 2; } .split-rev .nets { order: 1; } .split-rev > .build, .split-rev > .status { order: 3; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.num { padding-top: 14px; border-top: 2px solid var(--fire); }
.num b { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.1; }
.num span { display: block; margin-top: 4px; font-weight: 500; }
.num small { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.chain { padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.chain figcaption { font-size: 15px; color: var(--muted); }
.chain-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 22px; }
.chain-row li { position: relative; display: grid; place-items: center; }
.chain-row svg { width: 100%; max-width: 52px; height: auto; fill: var(--surface2); stroke: var(--bronze); stroke-width: 1.5; transition: fill .3s; }
.chain-row li span { position: absolute; font-size: 13px; font-weight: 600; }
.chain.in .chain-row svg { fill: color-mix(in srgb, var(--fire) 70%, var(--surface)); transition-delay: calc(var(--i) * 60ms); }
.chain.in .chain-row li:last-child svg { fill: var(--gold); }
.chain.in .chain-row li span { color: #181c1f; }
.chain-final { margin-top: 18px; font-size: 15px; }
.chain-final b { color: var(--gold-t); }
.note-card { padding: 28px 32px; background: var(--surface); }
.note-card h3 { font-size: 18px; margin-bottom: 8px; }
.status { font-size: 16px; padding: 16px 20px; background: var(--surface2); }
.absent { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 14px; }
.absent li { display: flex; gap: 10px; }
.nets { padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.nets figcaption b { display: block; font-size: 18px; }
.nets figcaption span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
.net { margin-top: 22px; }
.net-top { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.net-n { font-weight: 600; color: var(--jade-t); }
.bar { height: 14px; margin: 8px 0; background: var(--surface2); clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.bar i { display: block; height: 100%; width: calc(var(--w) * 2.5); background: linear-gradient(90deg, var(--emerald), var(--jade)); transform-origin: left; }
.net small { font-size: 14px; color: var(--muted); }
.build { color: var(--muted); font-size: 15px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); font-size: 15px; }
.two .status { margin-bottom: 24px; }
.steps, .flow { display: grid; gap: 10px; }
.steps li, .flow li { display: flex; gap: 16px; align-items: center; padding: 22px 24px; background: var(--surface); font-weight: 500; }
.step-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; font-weight: 600; color: #181c1f; background: var(--gold); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.flow { grid-template-columns: repeat(4, 1fr); margin: 36px 0 20px; }
.flow li { flex-direction: column; align-items: flex-start; min-height: 150px; }
#hub .status { margin-bottom: 24px; }

.decks { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-top: 36px; }
.deck { padding: 28px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.deck h3 { font-size: 20px; }
.deck p { color: var(--muted); font-size: 15px; flex: 1; }
.deck-main { box-shadow: inset 0 3px 0 var(--gold); }
.deck-marks { display: flex; gap: 8px; } .deck-marks img { height: 40px; width: auto; }
.deck-act { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 8px; }
.tag { font-size: 13px; font-weight: 600; color: var(--gold-t); margin-left: 6px; }

.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 32px; }
.limits li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 56px; display: flex; align-items: center; font-weight: 600; font-size: 18px; padding: 12px 0; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

.sec-next { text-align: center; position: relative; overflow: hidden; }
.next { display: flex; flex-direction: column; align-items: center; }
.next .h2, .next .lead { margin-left: auto; margin-right: auto; }
.next-act { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 28px; }
.next-note { margin-top: 12px; font-size: 15px; }
.next-art { display: flex; gap: 28px; justify-content: center; margin-bottom: 28px; }
.mini { position: relative; display: block; width: 140px; height: 140px; flex: none; }
.mini .mark-slot { width: 76px; height: 84px; }
.mini .mark-slot .mark { height: 84px; }
.next-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; width: 100%; }
.next-links a { display: flex; flex-direction: column; gap: 4px; min-height: 88px; padding: 18px 20px; text-align: left; text-decoration: none; background: var(--surface); border: 1px solid var(--line); }
.next-links a:hover { border-color: var(--gold-t); }
.next-links span { color: var(--muted); font-size: 15px; }
.ft { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 15px; }
.ft-in { display: grid; gap: 8px; }

/* motion: cinematic, once. Only the shards and the sections move; a mark is never hidden, so a cluster can not show empty space.
   Without a script (no .js on the page) nothing is hidden at all. */
.js [data-cluster] .shards polygon { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; }
.js [data-cluster].go .shards polygon { transform: none; opacity: .9; transition: transform .9s var(--ease) calc(var(--i) * 70ms), opacity .6s ease-out calc(var(--i) * 70ms); }
.js [data-cluster].go .sweep { animation: sweep 1.5s ease-in-out .6s 1 backwards; }
.cl-lucr .sweep { animation-delay: .85s; }
@keyframes sweep { from { transform: translateX(-120%); } to { transform: translateX(140%); } }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .7s ease-out, transform .8s var(--ease); }
.js .bar i { transform: scaleX(0); transition: transform .6s var(--ease); }
.js .nets.in .bar i { transform: scaleX(1); }
.rm [data-cluster] .shards polygon, .rm [data-reveal], .rm .bar i { opacity: 1; transform: none; transition: none; animation: none; }
.rm .sweep { display: none; }
.rm .chain-row svg { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-cluster] .shards polygon, .js [data-reveal], .js .bar i { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sweep { display: none; } html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1100px) {
  .menu { display: none; }
  .menu-btn { display: inline-grid; }
  .menu-open .menu { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .hd-tools { margin-left: auto; }
}
@media (max-width: 900px) {
  .diptych { grid-template-columns: 1fr; }
  .split, .two { grid-template-columns: 1fr; }
  .split-rev .split-txt, .split-rev .nets { order: 0; }
  .flow { grid-template-columns: 1fr 1fr; }
  .decks { grid-template-columns: 1fr; }
  .limits { grid-template-columns: 1fr; }
  .next-links { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .hd-in { padding: 0 16px; }
  .hd-in { gap: 8px; }
  .brand-txt small, .hd-cta { display: none; }
  .hero { padding: 32px 0 32px; }
  .diptych { margin-top: 32px; }
  .mineral { grid-template-columns: 96px 1fr; gap: 16px; padding: 20px 16px; min-height: 0; align-items: start; }
  .mineral-art { height: 120px; }
  .mark-slot { width: 64px; height: 76px; }
  .mark-slot .mark { height: 76px; }
  .m-name { font-size: 22px; }
  .sec { padding: 64px 0; }
  .spine-row { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .spine-row .k { grid-column: 1 / -1; grid-row: 1; text-align: left; font-size: 14px; }
  .spine-row .v-c { text-align: left; }
  .spine-head .k { display: none; }
  .spine-head .v-c { justify-content: flex-start; }
  .nums { grid-template-columns: 1fr; }
  .absent { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow li { min-height: 0; flex-direction: row; align-items: center; }
  .chain { padding: 20px 16px; }
  .note-card { padding: 22px 18px; }
}
@media (max-width: 360px) {
  .seg a { min-width: 40px; }
  .brand-txt b { font-size: 14px; }
}

/* footer links, legal pages, 404 */
.ft-in a { text-underline-offset: 4px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.ft-links a { display: inline-flex; align-items: center; min-height: 44px; }
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); max-width: none; }
.legal-date { margin-top: 10px; color: var(--muted); font-size: 15px; }
.legal section { margin-top: 32px; }
.legal h2 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.legal p { color: var(--muted); max-width: 68ch; }
.legal p + p { margin-top: 10px; }
.legal-back { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 0 24px; }
.hd-plain .hd-in { justify-content: space-between; }
.notfound { padding: 96px 0 120px; }
.notfound h1 { font-size: clamp(28px, 4vw, 40px); max-width: none; }
.notfound p { margin-top: 12px; color: var(--muted); }
.notfound .btn { margin-top: 28px; }
.nf-sep { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.faq-date { margin-top: 10px; font-size: 15px; }

/* generated: the assembly offsets of the shards, the block row, the share bars */
.shards polygon:nth-child(1) { --dx: -40px; --dy: 30px; --r: -18deg; --i: 0; }
.shards polygon:nth-child(2) { --dx: -30px; --dy: -30px; --r: 16deg; --i: 1; }
.shards polygon:nth-child(3) { --dx: 40px; --dy: -30px; --r: -10deg; --i: 2; }
.shards polygon:nth-child(4) { --dx: 40px; --dy: 0px; --r: -14deg; --i: 3; }
.shards polygon:nth-child(5) { --dx: 30px; --dy: 40px; --r: 20deg; --i: 4; }
.shards polygon:nth-child(6) { --dx: -24px; --dy: 40px; --r: 10deg; --i: 5; }
.shards polygon:nth-child(7) { --dx: 0px; --dy: -30px; --r: 12deg; --i: 6; }
.chain-row li:nth-child(1) { --i: 0; }
.chain-row li:nth-child(2) { --i: 1; }
.chain-row li:nth-child(3) { --i: 2; }
.chain-row li:nth-child(4) { --i: 3; }
.chain-row li:nth-child(5) { --i: 4; }
.chain-row li:nth-child(6) { --i: 5; }
.chain-row li:nth-child(7) { --i: 6; }
.chain-row li:nth-child(8) { --i: 7; }
.chain-row li:nth-child(9) { --i: 8; }
.chain-row li:nth-child(10) { --i: 9; }
.chain-row li:nth-child(11) { --i: 10; }
.chain-row li:nth-child(12) { --i: 11; }
.bar i.w-40 { --w: 40%; }
.bar i.w-30 { --w: 30%; }
