/* Fonts are served from this site (no Google Fonts): see assets/fonts/README.txt */
@font-face { font-family: "Onest"; src: url("fonts/onest-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IX Mono"; src: url("fonts/ix-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IX Mono"; src: url("fonts/ix-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Brandbook: pure black and white only. Layout idea: a company registry extract —
     hairline rules, mono labels "Inconyx / Section", numbered rows, one oversized wordmark. */
  --ink: #000000;
  --paper: #ffffff;
  --mute: #8a8a8a;
  --dim: #5c5c5c;
  --line: rgba(255, 255, 255, 0.16);
  --raise: #0c0c0c;
  --display: "Onest", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Onest", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IX Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  background: var(--ink); color: var(--paper);
  font-family: var(--body); font-weight: 300; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 1px solid var(--paper); outline-offset: 4px; }

/* language switch: show only the active language */
html[data-lang="en"] [lang="ru"] { display: none !important; }
html[data-lang="ru"] [lang="en"] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute);
}
.rule { border: 0; border-top: 1px solid var(--line); }

/* header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 60px; }
.mini-mark { display: flex; align-items: center; height: 16px; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.mini-mark svg { height: 14px; width: auto; fill: currentColor; }
.scrolled .mini-mark { opacity: 1; transform: none; }
.top-left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.top-left .label { white-space: nowrap; transition: opacity .3s ease; }
.scrolled .top-left .label { opacity: 0; }
nav.main { display: flex; align-items: center; gap: 28px; }
nav.main a { text-decoration: none; font-size: 14px; font-weight: 400; color: var(--mute); transition: color .2s; }
nav.main a:hover { color: var(--paper); }
.lang { display: flex; border: 1px solid var(--line); }
.lang button {
  background: none; border: 0; color: var(--mute); cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; padding: 6px 10px;
}
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

/* hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.wordmark { display: block; width: 100%; height: auto; fill: var(--paper); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); margin-top: clamp(36px, 5vw, 64px); align-items: start;
}
.thesis {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.02em;
  text-wrap: balance;
}
.thesis em { font-style: normal; color: var(--mute); }
.lede { margin-top: 24px; max-width: 58ch; color: #cfcfcf; }
.tagline { margin-top: 28px; font-family: var(--mono); font-size: 12px; line-height: 1.9; color: var(--mute); letter-spacing: 0.04em; max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-size: 15px; font-weight: 500; padding: 14px 22px;
  border: 1px solid var(--paper); background: var(--paper); color: var(--ink);
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--paper); }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--paper); }
.btn .arr { font-family: var(--mono); font-weight: 400; }

/* registry card */
.card { border: 1px solid var(--line); background: var(--raise); }
.card-head { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.card dl { display: grid; grid-template-columns: auto 1fr; }
.card dt, .card dd { padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.card dt { color: var(--mute); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 15px; }
.card dd { font-variant-numeric: tabular-nums; text-align: right; }
.card dl > :nth-last-child(-n+2) { border-bottom: 0; }
.card .ent { font-weight: 500; }

/* sections */
section.block { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(36px, 5vw, 64px); align-items: end; }
.sec-head h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance;
}
.sec-head p { color: #bdbdbd; max-width: 62ch; }
.sec-num { display: block; margin-bottom: 18px; }

/* services index */
.services { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: clamp(16px, 3vw, 40px); padding: 32px 0; border-bottom: 1px solid var(--line);
  transition: background .25s ease, color .25s ease, padding .25s ease;
}
.svc:hover { background: var(--paper); color: var(--ink); padding-left: 20px; padding-right: 20px; }
.svc:hover .label, .svc:hover .svc-items, .svc:hover .svc-desc { color: var(--ink); }
.svc h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -0.015em; }
.svc-desc { color: #bdbdbd; font-size: 16px; }
.svc-items { list-style: none; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: var(--mute); }
.svc-items li::before { content: "— "; }
.note { margin-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--mute); }

/* industries strip */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.strip > div { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip h4 { font-weight: 500; font-size: 18px; margin: 14px 0 8px; }
.strip p { font-size: 15px; color: #bdbdbd; }

/* jurisdictions table */
.tbl-wrap { overflow-x: auto; }
table.juris { width: 100%; border-collapse: collapse; min-width: 640px; }
table.juris th { text-align: left; padding: 0 16px 14px 0; border-bottom: 1px solid var(--paper); }
table.juris td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.juris td.code { font-family: var(--mono); font-size: 28px; font-weight: 500; letter-spacing: 0.02em; width: 92px; line-height: 1; }
table.juris td.country { font-weight: 500; font-size: 18px; width: 22%; }
table.juris td.form { font-family: var(--mono); font-size: 13px; color: var(--mute); width: 14%; padding-top: 24px; }
table.juris td.what { color: #cfcfcf; font-size: 15.5px; }
table.juris tr:hover td.code { color: var(--ink); background: var(--paper); }
table.juris td.code { transition: background .2s, color .2s; padding-left: 8px; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.pgroup { margin-bottom: 40px; }
.pgroup h3 { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--paper); font-weight: 500; font-size: 18px; }
.prow { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prow span:first-child { color: #d6d6d6; font-size: 15.5px; }
.prow .amt { font-family: var(--mono); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-foot { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--mute); line-height: 1.8; max-width: 90ch; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 24px; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--mono); font-size: 40px; font-weight: 400; line-height: 1; color: var(--paper); }
.step h4 { font-weight: 500; font-size: 18px; margin: 22px 0 10px; }
.step p { font-size: 15px; color: #bdbdbd; }

/* contact */
.contact { background: var(--paper); color: var(--ink); padding: clamp(56px, 8vw, 112px) 0; }
.contact .label { color: var(--dim); }
.contact h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; margin: 20px 0 28px; max-width: 16ch; text-wrap: balance; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.contact p { max-width: 52ch; color: #333; }
.chan { border-top: 1px solid #000; }
.chan-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,0.18); }
.chan-row a.val { font-size: clamp(18px, 2vw, 24px); font-weight: 500; text-decoration: none; word-break: break-all; }
.chan-row a.val:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy {
  background: none; border: 1px solid #000; cursor: pointer; color: #000;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 12px; white-space: nowrap;
}
.copy:hover { background: #000; color: #fff; }

/* footer */
footer { padding: 48px 0 56px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot-mark svg { height: 16px; width: auto; fill: var(--paper); }
footer p { font-family: var(--mono); font-size: 12px; line-height: 1.8; color: var(--mute); }
footer .label { display: block; margin-bottom: 10px; }

@media (max-width: 960px) {
  .hero-grid, .sec-head, .contact-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 48px minmax(0, 1fr); }
  .svc-desc, .svc-items { grid-column: 2; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { border-bottom: 1px solid var(--line); padding: 24px 16px 20px 0 !important; }
  .step:nth-child(2n) { border-right: 0; padding-left: 16px !important; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top-left .label { display: none; }
  .strip, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; padding-left: 0 !important; }
  .svc:hover { padding-left: 12px; padding-right: 12px; }
  .chan-row { flex-wrap: wrap; }
}

/* v2: logo, hero, pricing cards */
header.top .wrap { height: 64px; }
.logo { display: flex; align-items: center; color: var(--paper); }
.logo svg { height: 18px; width: auto; fill: currentColor; display: block; }
.codes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.codes li { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--mute); border: 1px solid var(--line); padding: 3px 7px; }
.hero-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; margin-top: clamp(8px, 2vw, 24px); }
.hero .thesis { font-size: clamp(36px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -0.03em; }
.hero-symbol { display: flex; justify-content: flex-end; }
.hero-symbol svg { width: clamp(200px, 28vw, 420px); height: auto; fill: var(--paper); }
.reg-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reg-strip > div { padding: 16px 16px 16px 0; }
.reg-strip > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.reg-strip dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.reg-strip dd { font-size: 15px; font-variant-numeric: tabular-nums; }

.pblock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 64px); padding: 40px 0; border-top: 1px solid var(--line); }
.pblock-head { position: sticky; top: 88px; align-self: start; }
.pcode { display: block; font-family: var(--mono); font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: 0.02em; }
.pblock-head h3 { font-family: var(--display); font-weight: 500; font-size: 22px; margin: 16px 0 8px; }
.pblock-head p { font-size: 15px; color: #bdbdbd; max-width: 28ch; }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pcard { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); background: var(--raise); min-height: 250px; transition: background .25s, color .25s, border-color .25s; }
.pcard h4 { font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.25; }
.pcard h4 { min-height: 2.5em; }
.pcard .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.pcard p { margin-top: auto; }
.pcard .from { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--mute); text-transform: uppercase; }
.pcard .num { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pcard .unit { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.pcard p { font-size: 14.5px; color: #bdbdbd; line-height: 1.5; }
.pcard-ask .num { font-size: 28px; }
.pcard:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pcard:hover .label, .pcard:hover p, .pcard:hover .from, .pcard:hover .unit { color: #333; }
.price-foot { margin-top: 32px; }

@media (max-width: 1100px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reg-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .reg-strip > div:nth-child(4) { border-left: 0; padding-left: 0; } .reg-strip > div:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 960px) { .hero-main { grid-template-columns: 1fr; } .hero-symbol { justify-content: flex-start; order: -1; } .hero-symbol svg { width: 120px; } .pblock { grid-template-columns: 1fr; } .pblock-head { position: static; } }
@media (max-width: 560px) { .pcards { grid-template-columns: 1fr; } .reg-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reg-strip > div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); } .pcard { min-height: 0; } }

/* v3: inner pages */
.more { display: block; margin-top: 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc:hover .more { color: var(--ink); }
.page-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 6vw, 88px); }
.crumbs { text-decoration: none; display: inline-block; margin-bottom: clamp(24px, 3vw, 40px); }
.crumbs:hover { color: var(--paper); }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; text-wrap: balance; }
.page-hero .lede { margin-top: 28px; font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feat { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); background: var(--raise); min-height: 230px; transition: background .25s, color .25s, border-color .25s; }
.feat h3 { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.2; }
.feat p { font-size: 15px; color: #bdbdbd; line-height: 1.55; }
.feat .tag { margin-top: auto; align-self: flex-start; font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); padding: 6px 10px; }
.feat:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.feat:hover p, .feat:hover .label { color: #333; }
.feat:hover .tag { border-color: var(--ink); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line); padding: 12px 18px; font-size: 16px; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.qa { padding: 26px 0; border-top: 1px solid var(--line); }
.qa h4 { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.qa p { color: #bdbdbd; font-size: 15.5px; max-width: 60ch; }
.entities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.entity { border: 1px solid var(--line); background: var(--raise); }
.entity > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.entity > div:last-child { border-bottom: 0; }
.entity dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.entity dd { font-size: 15.5px; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .feats, .faq, .entities { grid-template-columns: 1fr; } .feat { min-height: 0; } .entity > div { grid-template-columns: 1fr; gap: 4px; } }

/* v4: jurisdictions, pricing page, services hub */
.jlink { text-decoration: none; border-bottom: 1px solid var(--line); }
.jlink:hover { border-color: var(--paper); }
.jhead { display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 48px); flex-wrap: wrap; }
.jcode { font-family: var(--mono); font-weight: 500; font-size: clamp(72px, 11vw, 168px); line-height: 0.82; letter-spacing: -0.02em; }
.facts-block { padding: 0 0 clamp(48px, 6vw, 88px); border-top: 0; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--paper); }
.facts > div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.facts dd { font-family: var(--display); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; }
.ptable { border-top: 1px solid var(--paper); }
.ptr { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ptr h4 { font-weight: 500; font-size: 17px; }
.ptr p { font-size: 14.5px; color: #a8a8a8; margin-top: 2px; }
.ptr .amt { font-family: var(--mono); font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pblock-head .more { margin-top: 18px; }
.sgroup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); padding: 40px 0; border-top: 1px solid var(--line); }
.sgroup:first-child { border-top: 0; padding-top: 0; }
.sgroup-head h3 { font-family: var(--display); font-weight: 500; font-size: 26px; margin: 12px 0 8px; }
.sgroup-head p { color: #bdbdbd; font-size: 15px; max-width: 32ch; }
.slist { border-top: 1px solid var(--paper); }
.srow { display: flex; justify-content: space-between; gap: 20px; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, color .2s, padding .2s; }
.srow:hover { background: var(--paper); color: var(--ink); padding-left: 12px; }
.srow .amt { font-family: var(--mono); font-size: 14px; color: var(--mute); white-space: nowrap; }
.srow:hover .amt { color: var(--ink); }
.jlinks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jlinks a { display: flex; align-items: baseline; gap: 16px; padding: 22px; border: 1px solid var(--line); background: var(--raise); text-decoration: none; font-size: 17px; transition: background .2s, color .2s; }
.jlinks a:hover { background: var(--paper); color: var(--ink); }
.jlinks .jc { font-family: var(--mono); font-size: 28px; font-weight: 500; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > div:nth-child(3) { border-left: 0; padding-left: 0; } .sgroup { grid-template-columns: 1fr; } .jlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts, .jlinks { grid-template-columns: 1fr; } .facts > div { border-left: 0 !important; padding-left: 0 !important; } .ptr { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* v5: every menu item is its own page, the menu is visible at any width, the current page is underlined */
header.top .wrap { justify-content: flex-start; }
nav.main { margin-left: auto; }
nav.main a { white-space: nowrap; }
nav.main a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.crumbs:hover { color: var(--mute); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--paper); }
.crumbs .here { color: var(--paper); }
@media (max-width: 760px) {
  header.top .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; row-gap: 4px; }
  .lang { margin-left: auto; }
  nav.main { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 12px; }
  nav.main::-webkit-scrollbar { display: none; }
  nav.main a { font-size: 13px; }
}
/* jurisdictions hub */
.jcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; min-height: 280px; border: 1px solid var(--line); background: var(--raise); text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.jcard .jc { font-family: var(--mono); font-weight: 500; font-size: 44px; line-height: 1; margin-bottom: 12px; }
.jcard h3 { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.2; }
.jcard .jform { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--mute); }
.jcard p { font-size: 15px; line-height: 1.5; color: #bdbdbd; }
.jcard .tag { margin-top: auto; align-self: flex-start; font-family: var(--mono); font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); }
.jcard:hover, .jcard.ask { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.jcard:hover p, .jcard:hover .jform, .jcard.ask p, .jcard.ask .jform { color: #333; }
.jcard:hover .tag, .jcard.ask .tag { border-color: var(--ink); }
.jcard.ask:hover { background: var(--ink); color: var(--paper); border-color: var(--line); }
.jcard.ask:hover p, .jcard.ask:hover .jform { color: #bdbdbd; }
.jcard.ask:hover .tag { border-color: var(--line); }
@media (max-width: 1100px) { .jcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .jcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .jcards { grid-template-columns: 1fr; } .jcard { min-height: 0; } }

/* v7: anchors to catalog rows land below the sticky header */
.svc[id] { scroll-margin-top: 110px; }

/* v8: contents list in the page header; compact header on phones so the list is on the first screen */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; max-width: 1000px; }
.toc a { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; transition: background .2s, color .2s; }
.toc a .n { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.toc a:hover { background: var(--paper); color: var(--ink); }
.toc a:hover .n { color: var(--ink); }
.sgroup[id] { scroll-margin-top: 110px; }
@media (max-width: 560px) {
  .page-hero { padding: 28px 0 36px; }
  .crumbs { margin-bottom: 16px; }
  .page-hero .lede { margin-top: 14px; font-size: 16px; }
  .toc { margin-top: 18px; gap: 6px; }
  .toc a { padding: 8px 11px; font-size: 14px; gap: 8px; }
  .cta-row { margin-top: 22px; }
  section.block { padding: 44px 0; }
}

/* v9: Telegram and LinkedIn show only once their address is set in site.js */
html:not(.has-tg) .tg-link, html:not(.has-tg) .tg-row { display: none !important; }
html:not(.has-li) .li-line { display: none !important; }
.li-line { margin-top: 12px; }
.li-line a { color: var(--paper); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.li-line a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* four or eight cards: four columns instead of three, no orphan card */
.feats.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .feats.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .feats.n4 { grid-template-columns: 1fr; } }
/* home jurisdictions table on phones: one block per country, no sideways scrolling */
@media (max-width: 640px) {
  .tbl-wrap { overflow: visible; }
  table.juris { min-width: 0; }
  table.juris thead { display: none; }
  table.juris, table.juris tbody { display: block; width: 100%; }
  table.juris tr { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  table.juris td { display: block; padding: 0 !important; border: 0; width: auto !important; }
  table.juris td.code { font-size: 22px; }
  table.juris td.country, table.juris td.form { align-self: center; }
  table.juris td.what { grid-column: 2 / -1; font-size: 14.5px; }
}

/* v10: end-to-end band (home services section, services hub) */
.allin { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 28px; align-items: center; margin-top: 36px; padding: 28px 32px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.allin.top { margin: 0 0 48px; }
.allin .label { color: var(--dim); }
.allin-t { font-family: var(--display); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.3; }
.allin-go { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.allin:hover { background: var(--ink); color: var(--paper); }
.allin:hover .label { color: var(--mute); }
@media (max-width: 760px) { .allin { grid-template-columns: 1fr; gap: 12px; padding: 22px; } }

/* v12: legal pages and footer links */
.legal { max-width: 780px; }
.legal h3 { font-family: var(--display); font-weight: 500; font-size: 21px; margin: 40px 0 12px; }
.legal h3:first-child { margin-top: 0; }
.legal p, .legal li { color: #c4c4c4; font-size: 16px; line-height: 1.65; }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: none; padding: 0; margin: 0; }
.legal li { position: relative; padding-left: 22px; margin: 8px 0; }
.legal li::before { content: "—"; position: absolute; left: 0; color: var(--mute); }
.legal-links { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--mute); }
.legal-links a { color: var(--mute); text-decoration: none; }
.legal-links a:hover { color: var(--paper); }

/* v13: single legal entity card; legal links in the footer column */
.entities.one { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.foot-legal a { color: var(--mute); text-decoration: none; }
.foot-legal a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }

/* v14: symbol in key heroes and on the "end to end" band; giant wordmark and local times in the footer; reveal on scroll */
::selection { background: var(--paper); color: var(--ink); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(48px, 7vw, 120px); align-items: center; }
.ph-mark svg { display: block; width: clamp(130px, 15vw, 220px); height: auto; fill: var(--paper); }
@media (max-width: 760px) { .ph-grid { grid-template-columns: 1fr; } .ph-mark { display: none; } }

.allin-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.allin-sym svg { display: block; width: 54px; height: auto; fill: var(--ink); transition: fill .2s; }
.allin:hover .allin-sym svg { fill: var(--paper); }
@media (max-width: 760px) { .allin-head { flex-direction: row; align-items: center; gap: 16px; } .allin-sym svg { width: 40px; } }

.foot-times { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; margin-top: clamp(40px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--line); }
.foot-times .label { margin: 0 8px 0 0; }
.foot-times ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--mute); }
.foot-times li { display: flex; gap: 8px; align-items: baseline; white-space: nowrap; }
.foot-times .tc { color: var(--dim); }
.foot-times b { font-weight: 400; color: var(--paper); font-variant-numeric: tabular-nums; }
html:not(.js) .foot-times { display: none; }
.foot-big svg { display: block; width: 76%; height: auto; margin: clamp(40px, 10vw, 140px) auto clamp(8px, 4vw, 48px); fill: var(--paper); }

html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), background-color .2s, color .2s, border-color .2s, padding .2s; }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .rv { opacity: 1; transform: none; } }
@media print { html.js .rv { opacity: 1; transform: none; } }
@media (max-width: 560px) { .step:nth-child(2n) { padding-left: 0 !important; } }
