/* 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; }
/* v20: these cards are not links, so no button-like inversion on hover, only a lighter border */
.feat:hover { border-color: rgba(255, 255, 255, 0.42); }
.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; }
.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; } }

/* ===== v15: single-language pages (EN at /, RU at /ru/) and motion ===== */
/* language switch: links instead of buttons */
.lang a { display: block; color: var(--mute); text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; line-height: 1.4; padding: 6px 10px; transition: color .2s; }
.lang a:hover { color: var(--paper); }
.lang a[aria-current="true"] { background: var(--paper); color: var(--ink); }

/* hint for Russian-speaking visitors on English pages */
.lang-hint { position: fixed; left: 16px; bottom: 16px; z-index: 30; display: flex; align-items: stretch; background: var(--ink); border: 1px solid var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; animation: hint-in .5s cubic-bezier(.2,.7,.1,1) .9s both; }
.lang-hint a { color: var(--paper); text-decoration: none; padding: 11px 14px; }
.lang-hint a:hover { background: var(--paper); color: var(--ink); }
.lang-hint button { background: none; border: 0; border-left: 1px solid var(--line); color: var(--mute); cursor: pointer; padding: 0 14px; font: inherit; font-size: 16px; line-height: 1; }
.lang-hint button:hover { color: var(--paper); }
@keyframes hint-in { from { opacity: 0; transform: translateY(10px); } }

/* page titles: words rise one after another */
h1.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0.03em 0.16em; margin: -0.08em -0.03em -0.16em; }
h1.words .w > span { display: inline-block; animation: w-rise 1s cubic-bezier(.2,.7,.1,1) both; animation-delay: calc(var(--i, 0) * 38ms + 60ms); }
@keyframes w-rise { from { transform: translateY(112%); } }

/* the symbol assembles: brackets slide in, the two halves of the X meet (the final state is the symbol as in the brand book) */
svg.sym-anim { overflow: visible; }
.sym-anim path { animation: 1.2s cubic-bezier(.2,.7,.1,1) both; }
.sym-anim .s-l { animation-name: s-l; animation-delay: .15s; }
.sym-anim .s-r { animation-name: s-r; animation-delay: .15s; }
.sym-anim .s-t { animation-name: s-t; animation-delay: .4s; }
.sym-anim .s-b { animation-name: s-b; animation-delay: .4s; }
@keyframes s-l { from { transform: translateX(-18px); opacity: 0; } }
@keyframes s-r { from { transform: translateX(18px); opacity: 0; } }
@keyframes s-t { from { transform: translateY(-14px); opacity: 0; } }
@keyframes s-b { from { transform: translateY(14px); opacity: 0; } }

/* ticker of jurisdictions under the home hero */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker ul { display: flex; flex-shrink: 0; gap: 56px; margin: 0; padding: 0 56px 0 0; list-style: none; }
.ticker li { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.ticker li b { color: var(--paper); font-weight: 500; margin-right: 12px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* arrows nudge on hover */
.btn .arr, .chan .arr { display: inline-block; transition: transform .25s cubic-bezier(.2,.7,.1,1); }
.btn:hover .arr { transform: translateX(4px); }
.btn.tg-link:hover .arr, .li-row a:hover .arr { transform: translate(3px, -3px); }

/* smooth cross-fade between pages (browsers that support view transitions); the header stays in place */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root) { animation: vt-out .2s ease both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2,.7,.1,1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
header.top { view-transition-name: top; }

/* phones: the country codes are already in the ticker on the first screen, so the row of codes at the top is hidden */
@media (max-width: 760px) { .hero-meta .codes { display: none; } }

/* very narrow phones (320 px): the five menu items fit in one line */
/* v17: six menu items fit in one row on phones */
@media (max-width: 760px) { nav.main { gap: 12px; } }
@media (max-width: 374px) { nav.main { gap: 10px; } nav.main a { font-size: 12px; } }
@media (max-width: 339px) { nav.main { gap: 8px; } nav.main a { font-size: 11px; } }

@media (prefers-reduced-motion: reduce) {
  h1.words .w > span, .sym-anim path, .ticker-track, .lang-hint { animation: none !important; }
}
@media print { h1.words .w > span, .sym-anim path { animation: none !important; } .ticker, .lang-hint { display: none !important; } }

/* ===== v16: blog ===== */
.post-list { border-top: 1px solid var(--paper); }
.post-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 32px; gap: 24px; align-items: baseline; padding: 26px 12px 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--paper); transition: background .2s, color .2s, padding .2s; }
.post-row:hover { background: var(--paper); color: var(--ink); padding-left: 12px; }
.post-date { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.post-title { display: block; font-family: var(--display); font-size: clamp(20px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.01em; }
.post-desc { display: block; margin-top: 8px; color: #bdbdbd; font-size: 15px; line-height: 1.5; max-width: 70ch; }
.post-row:hover .post-date, .post-row:hover .post-desc { color: #333; }
.post-go { font-family: var(--mono); justify-self: end; transition: transform .25s cubic-bezier(.2,.7,.1,1); }
.post-row:hover .post-go { transform: translateX(4px); }
@media (max-width: 640px) { .post-row { grid-template-columns: 1fr; gap: 8px; } .post-go { display: none; } }
.post-meta { margin-top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }

.prose { max-width: 720px; font-size: 18px; line-height: 1.7; color: #d6d6d6; }
.prose > div > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--display); font-weight: 400; color: var(--paper); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; margin-top: 2.1em; }
.prose h3 { color: var(--paper); font-weight: 500; font-size: 20px; margin-top: 1.8em; }
.prose strong { color: var(--paper); font-weight: 500; }
.prose a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--mute); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.prose th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); font-weight: 400; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--paper); }
.prose td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose td:last-child, .prose th:last-child { padding-right: 0; }
/* v21: only a column of amounts is right-aligned and kept on one line (gen.py marks such tables .num) */
.prose table.num td:last-child, .prose table.num th:last-child { text-align: right; white-space: nowrap; }
.prose blockquote { border-left: 2px solid var(--paper); padding-left: 18px; color: var(--paper); }
.prose p.src { margin-top: 2.4em; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--mute); }
@media (max-width: 640px) { .prose { font-size: 17px; } .prose table { font-size: 14px; } .prose table.num td:last-child { white-space: normal; } }

/* v18: typical combinations of jurisdictions (home and jurisdictions page) */
.subhead { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; margin: clamp(48px, 6vw, 80px) 0 clamp(20px, 3vw, 32px); }
.jcards.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .jcards.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .jcards.n3 { grid-template-columns: 1fr; } }

/* v19: request form on the contact page (posts to the Google Apps Script web app, see docs/form-apps-script.gs) */
.rform { max-width: 940px; }
.rf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.rf { display: flex; flex-direction: column; gap: 9px; }
.rf.wide { grid-column: 1 / -1; }
.rf-l { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.rf-h { font-size: 14px; color: var(--mute); margin-top: -3px; }
.rform input, .rform select, .rform textarea {
  width: 100%; font-family: var(--body); font-weight: 300; font-size: 16px; line-height: 1.4; color: var(--paper);
  background: var(--raise); border: 1px solid var(--line); border-radius: 0; padding: 14px 16px;
  transition: border-color .2s;
}
.rform textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.rform select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.rform select option { background: var(--raise); color: var(--paper); }
.rform input:hover, .rform select:hover, .rform textarea:hover { border-color: rgba(255, 255, 255, 0.4); }
.rform input:focus, .rform select:focus, .rform textarea:focus { outline: none; border-color: var(--paper); }
.rf-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; margin-top: 30px; }
.rf-note { font-size: 14px; color: var(--mute); max-width: 52ch; }
.rf-note a { color: var(--paper); text-underline-offset: 3px; }
.rform .btn { font-size: 16px; }
.rform .btn[disabled] { opacity: .55; cursor: progress; }
.form-status { margin-top: 18px; font-size: 17px; }
.form-status:empty { display: none; }
.form-status.ok, .form-status.err { border-left: 2px solid var(--paper); padding: 4px 0 4px 16px; }
.rform.sent .rf-grid, .rform.sent .rf-foot { display: none; }
.rform.sent .form-status { margin-top: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .rf-grid { grid-template-columns: 1fr; } .rf-foot { flex-direction: column; align-items: flex-start; } }

/* v19b: channel rows on a grid, so the values (e-mail, form, LinkedIn) start at the same point in every row (R, 15.11) */
.chan-row { display: grid; grid-template-columns: 6rem minmax(max-content, 1fr) auto; column-gap: 20px; row-gap: 8px; }
.chan-row a.val { white-space: nowrap; word-break: normal; }
.chan-row > .label:first-child { grid-column: 1; }
.chan-row > .val { grid-column: 2; justify-self: start; }
.chan-row > :last-child:not(.val) { grid-column: 3; justify-self: end; text-align: right; }
.chan-row > span.label:last-child { line-height: 1.6; }
@media (min-width: 961px) and (max-width: 1200px), (max-width: 560px) {
  .chan-row { grid-template-columns: minmax(0, 1fr) auto; }
  .chan-row > .label:first-child { grid-column: 1; grid-row: 1; }
  .chan-row > :last-child:not(.val) { grid-column: 2; grid-row: 1; }
  .chan-row > .val { grid-column: 1 / -1; grid-row: 2; }
}

/* v19c: cards in one row share their rows (subgrid), so headings, subtitles, texts and tags start on the same line in every card of the row (R, 15.11).
   FAQ is left as is on purpose: each answer stays right under its question. */
@supports (grid-template-rows: subgrid) and selector(:has(*)) {
  .feat, .jcard, .pcard, .step, .facts > div, .strip > div, .foot-grid > div { display: grid; grid-template-rows: subgrid; align-content: start; }
  .feat { grid-row: span 3; row-gap: 14px; }
  .feats:has(> .feat > .tag) > .feat { grid-row: span 4; }
  .jcard { grid-row: span 5; row-gap: 10px; }
  .pcard { grid-row: span 4; row-gap: 14px; }
  .step, .strip > div { grid-row: span 3; }
  .facts > div { grid-row: span 2; }
  .pcard p { margin-top: 0; }
  .feat .tag, .jcard .tag { margin-top: 0; justify-self: start; align-self: start; }
  /* the step number and the strip letter used to sit in a line box as tall as the body text: keep the same spacing */
  .step h4 { margin-top: 25.3px; }
  .strip > div > .label { line-height: calc(17px * 1.55); }
  /* a subgrid ignores its own min-height, so the text row keeps the card minimums (230 / 280 / 250 px) */
  .feats > .feat > p { min-height: 107px; }
  .feats:has(> .feat > .tag) > .feat > p { min-height: 59px; }
  .jcard > p:not(.jform) { min-height: 57px; }
  .pcard > p { min-height: 56px; }
  @media (max-width: 760px) { .feats > .feat > p, .feats:has(> .feat > .tag) > .feat > p { min-height: 0; } }
  @media (max-width: 560px) { .pcard > p { min-height: 0; } }
  @media (max-width: 480px) { .jcard > p:not(.jform) { min-height: 0; } }
  /* footer: the tagline and the labels share the first row; LinkedIn and the details start together on the second */
  .foot-grid > div { grid-row: span 2; row-gap: 10px; }
  .foot-grid > div > .label { margin-bottom: 0; line-height: 21.6px; }
  .foot-grid .li-line { margin-top: 0; }
}
/* baselines: the price on the line of the service name, the channel label on the line of the value, the section intro on the heading's last line */
.srow, .chan-row { align-items: baseline; }
.sec-head { align-items: last baseline; }


/* v20: QA pass (R, 15.11) */
/* price cards on the home page are links now */
a.pcard { text-decoration: none; color: inherit; }
/* quote button under the services of a country */
.sec-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; }
/* phone menu: tap area at least 24 px high */
@media (max-width: 960px) { nav.main a { display: inline-flex; align-items: center; min-height: 24px; } }
/* article tables: a wrapper scrolls if a table is ever wider than the screen; the table itself keeps full width and normal columns (v21) */
.prose .tscroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .tscroll > table { min-width: 100%; }
.prose td:first-child { min-width: 8em; }
/* long one-word headings (RU privacy) on the narrowest phones */
@media (max-width: 380px) { h1.words { font-size: min(36px, 9.2vw); } }
/* service rows: a long name wraps, the price stays whole */
.srow > span:first-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 360px) { .srow { gap: 12px; } .srow .amt { font-size: 13px; } }
/* country codes next to the clocks: readable contrast */
.foot-times .tc { color: #7d7d7d; }
/* home prices on phones: compact rows (name, price) instead of thirteen tall cards */
@media (max-width: 560px) {
  .pcards { gap: 0; border-top: 1px solid var(--line); }
  .pcard, .pcard:hover { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: none; grid-row: auto; align-items: baseline; column-gap: 16px; row-gap: 0;
    min-height: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--paper); }
  .pcard > .label, .pcard > p { display: none; }
  .pcard h4 { min-height: 0; font-size: 16px; font-weight: 400; }
  .pcard .price { flex-wrap: nowrap; gap: 6px; justify-content: flex-end; }
  .pcard .num, .pcard-ask .num { font-family: var(--mono); font-size: 15px; letter-spacing: 0; white-space: nowrap; }
  .pcard .from, .pcard .unit { font-size: 12px; white-space: nowrap; }
  .pcard:hover .from, .pcard:hover .unit { color: var(--mute); }
}
/* v20: logo and breadcrumb links also get a 24 px tap area, without moving anything */
.logo { min-height: 24px; }
.crumbs a { display: inline-block; padding: 5px 0; margin: -5px 0; }
/* v21: on phones long words in article tables are hyphenated, so a three-column table fits the screen */
@media (max-width: 640px) { .prose td, .prose th { hyphens: auto; -webkit-hyphens: auto; } .prose td:first-child { min-width: 6em; } }
