:root {
  color-scheme: dark;
  --bg: #0d0c12; --surface: #18161f; --inset: #211e2a; --line: #37333f;
  --ink: #f8f7fb; --muted: #b9b5c5; --lilac: #c3a9ff; --acid: #ddfb65;
  font: 100%/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg); color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: var(--lilac); text-underline-offset: .22em; }
a:hover { color: white; }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3,figcaption,.mark { line-height: 1.04; letter-spacing: -.045em; }
h2,figcaption { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 760; text-wrap: balance; }
.wrap { width: min(1280px, calc(100% - clamp(32px, 7vw, 112px))); margin-inline: auto; }
.skip { position: fixed; top: 0; left: 12px; z-index: 4; transform: translateY(-140%); padding: 12px; background: var(--bg); }
.skip:focus { transform: none; }
.masthead,.masthead nav,.mark,.languages,.hero-actions,.scope,.register-head,.finder,.foot,.foot nav { display: flex; align-items: center; }
.masthead { justify-content: space-between; gap: 16px; min-height: 82px; }
.mark { gap: .42rem; font-size: 1.32rem; font-weight: 820; text-decoration: none; color: var(--ink); }
.mark-icon { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 10px 4px 10px 4px; background: var(--acid); color: #171912; font-size: 1.3rem; transform: skew(-8deg); }
.mark strong { color: var(--acid); }
.mark-tld { color: var(--muted); font-weight: 500; }
.masthead nav { gap: clamp(8px, 1.6vw, 25px); }
.masthead nav a,.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .91rem; text-decoration: none; font-weight: 600; }
.masthead nav a:hover,.masthead nav a[aria-current] { color: white; }
.masthead .languages { gap: 0; border: 1px solid var(--line); border-radius: 30px; padding: 3px; }
.masthead .languages a { min-height: 32px; min-width: 36px; justify-content: center; font-size: .75rem; }
.masthead .languages a[aria-current] { border-radius: 30px; background: #35313f; }
.cover { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(420px,39vw,520px); background: #120d1c; border: 1px solid #403547; border-radius: 26px; overflow: hidden; }
.cover-art { position: absolute; z-index: -2; inset: 0 0 0 35%; }
.cover-art img { height: 100%; width: 100%; object-fit: cover; object-position: 61% 51%; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#15111c 0%,#15111c 30%,rgba(21,17,28,.97) 35%,rgba(21,17,28,.65) 47%,transparent 64%); }
.cover-copy { padding: clamp(24px,4vw,62px); width: 58%; }
.scope { gap: .65rem; font-size: .76rem; font-weight: 680; color: #e4deef; }
.indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px #ddfb6550; }
.scope-year { border-left: 1px solid #655d71; padding-left: .65rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.cover h1 { margin: 1.5rem 0 1rem; font-size: clamp(2.65rem,5.2vw,5.2rem); line-height: .98; letter-spacing: -.065em; font-weight: 830; }
.cover h1 em { color: var(--lilac); font-style: normal; }
.cover-copy > p:not(.scope) { color: #d2ccda; max-width: 42ch; font-size: clamp(.98rem,1.3vw,1.15rem); }
.hero-actions { gap: 1.3rem; margin-top: 1.6rem; flex-wrap: wrap; }
.button,.text-button { min-height: 48px; display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 700; }
.button { background: var(--acid); color: #15180b; border-radius: 99px; padding: .65rem 1.3rem; }
.button:hover { background: #efffa6; color: #161a09; }
.text-button { color: var(--ink); }
.hero-actions span { font-size: 1.15em; }
.comparison,.ledger,.proof,.handbook { margin-block: clamp(40px,6vw,80px); scroll-margin-top: 20px; }
.comparison { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items: start; gap: clamp(26px,4vw,72px); }
.compare-copy { padding-top: .5rem; }
.compare-copy h2::before,.handbook h2::before,.register-head h2::before { content: ""; display: block; width: 34px; height: 5px; background: var(--acid); transform: skewX(-32deg); margin: 0 0 15px 2px; }
.compare-copy p,.intro,.basis,.proof p,.proof small,.card-summary,.foot,.breadcrumbs { color: var(--muted); }
.compare-copy p { margin-top: .9rem; max-width: 38ch; }
.matchup { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: clamp(14px,2vw,28px); }
.matchup fieldset { padding: 0; margin: 0 0 16px; border: 0; min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.matchup legend,.ledger thead { position: absolute; clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; }
.matchup label { color: var(--muted); font-size: .78rem; display: grid; gap: 6px; }
select,input { font: inherit; }
.matchup select { width: 100%; min-height: 46px; border-radius: 9px; background: #2e263c; color: #f0e6ff; border: 1px solid #726083; padding: 0 .65rem; font-weight: 750; font-size: 1rem; }
.matchup label:last-child select { background: #2c3022; color: #ecf1dc; border-color: #606842; }
.matchup table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; font-size: .93rem; }
.matchup td,.matchup th { padding: .6rem .45rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.matchup thead th { color: var(--lilac); }
.matchup thead th:last-child { color: var(--acid); }
.matchup tbody th { font-size: .82rem; font-weight: 530; color: var(--muted); }
.matchup tbody tr:last-child > * { border: 0; }
.register-head { flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.register-head p { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.ledger .intro { max-width: 92ch; margin: .8rem 0 1rem; }
.finder { justify-content: space-between; gap: 12px; padding: .8rem 1rem; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; margin-bottom: 1rem; }
.finder label { flex: 1; display: flex; align-items: center; gap: 14px; }
.lens { flex: none; position: relative; height: 15px; width: 15px; border: 2px solid var(--lilac); border-radius: 50%; }
.lens::after { content: ""; position: absolute; top: 10px; left: 10px; width: 7px; height: 2px; background: var(--lilac); transform: rotate(45deg); }
.finder input { min-width: 0; width: 100%; min-height: 32px; border: 0; background: transparent; color: var(--ink); }
.finder input::placeholder { color: var(--muted); }
.finder output { font: 700 .85rem ui-monospace, monospace; color: var(--acid); white-space: nowrap; }
.ledger table { width: 100%; display: block; }
.ledger tbody { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.ledger tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .62rem .9rem; align-content: start; border-radius: 15px; border: 1px solid var(--line); padding: clamp(15px,1.7vw,24px); background: var(--surface); }
.ledger tbody th { grid-column: 1/-1; text-align: left; color: var(--ink); font-size: 1.4rem; letter-spacing: -.045em; }
.ledger td { display: grid; align-content: start; overflow-wrap: anywhere; font-size: .85rem; }
.ledger td::before { content: attr(data-label); display: block; margin-bottom: 1px; color: var(--muted); font-size: .72rem; }
.ledger td:first-of-type { grid-column: 1/-1; margin-top: -.6rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); color: var(--lilac); font-family: ui-monospace,monospace; }
.ledger td:first-of-type::before { display:none; }
.ledger td:last-child { align-content:end; }
.ledger td a { justify-self:start; text-decoration:none; border-bottom: 1px solid #78628d; }
.basis { font-size: .85rem; margin-top: 1rem; }
.basis a,.references a,.sitemap a { display: inline-flex; align-items:center; min-height:44px; }
.proof { padding: clamp(20px,3vw,40px); border: 1px solid #4a3a64; background: linear-gradient(115deg,#2a203e,#1e1a26 75%); border-radius: 22px; }
.proof figcaption { font-size: clamp(1.7rem,3vw,2.6rem); }
.proof ol,.cards { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 1.35rem 0; }
.proof li { padding: .8rem 0; display: grid; align-content: start; grid-template-columns: auto 1fr; align-items: center; gap: .5rem .7rem; }
.step-number { font: bold .87rem ui-monospace,monospace; color: var(--acid); }
.proof li p,.proof code { grid-column: 1/-1; }
.proof code { color: #e0cfff; font-size: .85rem; overflow-wrap: anywhere; }
.proof small { display:block; margin-top:.5rem; }
.cards { margin-bottom: 0; }
.cards a { height: 100%; overflow: hidden; display: block; color: var(--ink); background: var(--surface); text-decoration: none; border: 1px solid var(--line); border-radius: 17px; }
.cards a:hover { border-color: #9781b3; }
.cards img { width: 100%; height: auto; aspect-ratio: 1.95; object-fit: cover; }
.card-copy { position: relative; display: grid; gap: .6rem; padding: 1.2rem; }
.card-copy strong { padding-right: 2rem; font-size: 1.16rem; }
.card-copy i { position: absolute; right: 1rem; top: 1rem; color: var(--lilac); font-style: normal; }
.card-summary { font-size: .91rem; }
.breadcrumbs,.paper { max-width: 850px; margin-inline: auto; }
.breadcrumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin-block: 1rem; font-size: .88rem; }
.paper { padding: clamp(20px,5vw,64px); border: 1px solid var(--line); background: var(--surface); border-radius: 22px; margin-bottom: 4rem; }
.paper .scope { color: var(--acid); }
.paper h1 { font-size: clamp(2.2rem,5.2vw,4rem); margin: .6rem 0 1rem; }
.paper h2 { font-size: clamp(1.45rem,3vw,2rem); }
.paper :is(section,aside) { margin-top: 2rem; }
.steps,.references,.sitemap ul { padding-left: 1.5rem; }
.steps li { padding: .55rem 0; }
.steps li::marker { color: var(--acid); }
.steps h3 { margin-bottom: .45rem; font-size: 1.15rem; }
.example { background: #271f33; border-left: 3px solid var(--lilac); padding: 1.15rem; }
.example p { margin-top: .6rem; }
.foot { justify-content: space-between; flex-wrap: wrap; gap: 8px 30px; border-top: 1px solid var(--line); padding-block: 1.1rem; font-size: .85rem; }
.foot nav { gap: 1rem; }
@media (prefers-reduced-motion:no-preference) {
  .button,.cards a { transition: background-color .18s ease,border-color .18s ease,transform .18s ease; }
  @media(hover:hover){ .cards a:hover { transform: translateY(-3px); } }
}
@media(max-width:900px) {
  .ledger tbody { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cover-copy { width: 65%; }
  .comparison { grid-template-columns: minmax(0,.6fr) minmax(0,1fr); gap: 20px; }
}
@media(max-width:700px) {
  .masthead { min-height: 0; display: grid; grid-template-columns: 1fr auto; gap: 0; padding-top: 9px; }
  .masthead .languages { grid-area: 1 / 2; }
  .masthead > nav:not(.languages) { grid-column: 1/-1; justify-content: space-between; }
  .masthead nav a { font-size: .83rem; }
  .cover { display: flex; flex-direction: column; align-items: stretch; min-height: 0; border-radius: 19px; }
  .cover-art { position: relative; order: -1; inset: auto; height: clamp(160px, 48vw, 255px); }
  .cover-art img { object-position: 60% 44%; }
  .cover::before { display: none; }
  .cover-copy { width: 100%; padding: 22px; background: linear-gradient(130deg,#21192c,#15121c); }
  .cover h1 { font-size: clamp(2.55rem,8vw,3.7rem); margin: .85rem 0 .7rem; }
  .cover h1 br::after { content:" "; }
  .hero-actions { gap: .6rem 1rem; margin-top: 1rem; }
  .button,.text-button { min-height: 44px; font-size: .87rem; gap: .4rem; }
  .button { padding-inline: .95rem; }
  .comparison { grid-template-columns: 1fr; gap: 1rem; }
  .compare-copy p { max-width: 65ch; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .proof ol { grid-template-columns: 1fr; gap: 0; }
  .proof li+li { border-top: 1px solid var(--line); }
}
@media(max-width:470px) {
  .wrap { width: calc(100% - 26px); }
  .mark { font-size: 1.12rem; }
  .cover-copy { padding: 18px; }
  .matchup { padding: 12px; }
  .matchup th,.matchup td { padding: .55rem .25rem; font-size: .78rem; }
  .matchup select { font-size: .89rem; }
  .ledger tbody,.cards { grid-template-columns: 1fr; }
  .finder { padding: .45rem .7rem; gap: 5px; }
  .finder input { font-size: .86rem; }
  .finder label { gap: 9px; }
  .paper h1 { overflow-wrap: anywhere; }
}

/* Оригинальный знак и точный домен образуют заголовок карточки. */
.ledger tbody tr[data-operator] {
  --edge: #8b8a94; --plate: #222329; --flare: #40404b;
  --motif: repeating-linear-gradient(130deg, transparent 0 23px, #ffffff0b 24px, transparent 25px 36px);
  padding: 0 20px 18px; overflow: hidden; border-radius: 16px;
  border-color: color-mix(in srgb, var(--edge) 24%, var(--line));
}
.ledger tbody th .brand-plate {
  position: relative; isolation: isolate; height: 108px; margin: 0 -20px 14px; overflow: hidden;
  display: grid; place-items: center; border-bottom: 1px solid color-mix(in srgb, var(--edge) 32%, transparent);
  background: radial-gradient(ellipse at 100% 0%,var(--flare),transparent 72%),var(--plate);
}
.brand-plate::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--motif);
  mask-image: linear-gradient(95deg,black,transparent 42%,transparent 62%,black);
}
.brand-plate img { width: auto; max-width: 66%; height: auto; max-height: 67px; object-fit: contain; }
.brand-name { display: block; font-size: 1.07rem; letter-spacing: -.025em; }
.ledger td:first-of-type { margin-top: -.34rem; }
.ledger tbody tr[data-operator="46359553"] { --edge: #ff274d; --plate: #1e0c13; --flare: #6c112a; }
.ledger tbody tr[data-operator="43846231"] { --edge: #f20045; --plate: #d9003d; --flare: #a50032; --motif: repeating-linear-gradient(45deg,transparent 0 14px,#0002 14px 23px); }
.ledger tbody tr[data-operator="45789186"] { --edge: #ff9038; --plate: #151519; --flare: #454047; --motif: radial-gradient(circle,#ffffff36 1.5px,transparent 2px); }
.ledger tbody tr[data-operator="45789186"] .brand-plate::before { background-size: 11px 11px; }
.ledger tbody tr[data-operator="45331170"] { --edge: #52b9ff; --plate: #111e2f; --flare: #153f61; }
.ledger tbody tr[data-operator="45331170"] .brand-plate img { border-radius: 5px; max-width: 76%; }
.ledger tbody tr[data-operator="44137382"] { --edge: #9ba6ff; --plate: #201d38; --flare: #47356c; }
.ledger tbody tr[data-operator="45300713"] { --edge: #d0ff00; --plate: #090909; --flare: #333922; --motif: repeating-linear-gradient(-53deg,transparent 0 12px,#c2ed0026 13px 16px); }
.ledger tbody tr[data-operator="44064681"] { --edge: #e7aa1e; --plate: #fff; --flare: #fff2ce; --motif: repeating-linear-gradient(115deg,transparent 0 22px,#ecaf1e22 23px 25px); }
.ledger tbody tr[data-operator="45898145"] { --edge: #ffc925; --plate: #211c19; --flare: #544123; --motif: repeating-radial-gradient(circle at 90% 140%,transparent 0 17px,#ffd55937 18px 19px); }
.ledger tbody tr[data-operator="46230244"] { --edge: #d0dce2; --plate: #fff; --flare: #e4e8eb; --motif: repeating-linear-gradient(90deg,transparent 0 14px,#49566612 15px 16px); }
.ledger tbody tr[data-operator="43904440"] { --edge: #eb128d; --plate: #ad0065; --flare: #e41990; --motif: repeating-radial-gradient(circle at 0% 130%,transparent 0 18px,#ffffff26 19px 20px); }
.ledger :is([data-operator="43846231"],[data-operator="45300713"],[data-operator="43904440"]) .brand-plate img { border-radius: 12px; }
.ledger tbody tr[data-operator="44064681"] td:nth-child(5) { color: #f7cf8e; }
.ledger .decision-link { margin-top: .4em; }
