/* EUCompanyCheck — site styles. Deep navy, one cool accent, hairlines, square corners. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #FFFFFF;
  --bg-2: #F4F5F7;
  --bg-3: #EEF2F7;
  --ink: #0E1114;
  --muted: #4C5761;
  --faint: #69737D;
  --line: #DDE2E7;
  --line-2: #C3CAD2;
  --accent: #1B64B0;
  --accent-ink: #FFFFFF;
  --good: #13804A;
  --warn: #9A6200;
  --bad: #C2361F;
  --max: 1080px;
  --gutter: clamp(20px, 5vw, 60px);
  --pad: clamp(52px, 6vw, 88px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .2s ease, color .2s ease; }
a:hover { text-decoration-color: var(--accent); }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 20px; }
li { margin: 4px 0; }
strong { font-weight: 600; }
code { font-family: var(--mono); font-size: .9em; background: rgba(14, 17, 20, .07); padding: 1px 5px; }
h1, h2, h3, h4 { font-weight: 600; margin: 0; }
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.07; letter-spacing: -.012em; max-width: 22ch; margin-bottom: 22px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.14; letter-spacing: -.01em; max-width: 26ch; margin-bottom: 28px; }
h3 { font-size: 19px; line-height: 1.35; margin-bottom: 8px; }
h4 { font-size: 16px; margin-bottom: 6px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(27, 100, 176, .35); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ── layout ─────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.home-link { margin-top: 0; margin-bottom: 0; padding-top: 24px; padding-bottom: 32px; font-size: 13px; }
.home-link a { color: var(--muted); }
.section { padding: var(--pad) 0; }
.section + .section > .container { border-top: 1px solid var(--line); padding-top: var(--pad); }
.section + .section { padding-top: 0; }
.section-narrow .container { max-width: 820px; }
.section-dark { background: var(--bg-2); }
.section-dark + .section, .section + .section-dark { padding-top: var(--pad); }
.section-dark + .section > .container, .section + .section-dark > .container { border-top: 0; padding-top: 0; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 14px; }
.measure { max-width: 68ch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 42px; }
.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cells-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cell { background: var(--bg); padding: 28px clamp(20px, 2.4vw, 36px); }
.cell h3 { margin-bottom: 6px; }
.cell p { color: var(--muted); font-size: 15px; margin: 0; }
.pillar h3 { padding-top: 16px; border-top: 2px solid var(--accent); }
.pillar p { color: var(--muted); font-size: 15.5px; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px minmax(170px, 280px) minmax(0, 1fr); gap: 8px 40px; padding: 26px 4px; border-bottom: 1px solid var(--line); transition: padding-left .25s ease; }
.row:hover { padding-left: 12px; }
.row-num { color: var(--accent); font-weight: 600; letter-spacing: .12em; padding-top: 3px; }
.row h3 { font-size: clamp(18px, 1.9vw, 22px); margin: 0; }
.row h3 code { font-size: .8em; }
.row p { color: var(--muted); margin: 0; font-size: 15.5px; }
.row .row-meta { grid-column: 3; color: var(--faint); font-size: 14px; }

.link-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; background: var(--accent); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0; }

/* ── header and footer ──────────────────────────────── */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px var(--gutter); }
body:not(.page-home) .site-header { position: relative; border-bottom: 1px solid var(--line); background: var(--bg); }
.wordmark { font-size: 15px; font-weight: 600; letter-spacing: .34em; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.wordmark img { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 14px; letter-spacing: .04em; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-account { color: var(--ink); border: 1px solid var(--line-2); padding: 8px 16px; }
.nav .nav-account:hover { border-color: var(--accent); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 8px 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--accent); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg-2); border: 1px solid var(--line-2); min-width: 220px; padding: 8px 0; display: flex; flex-direction: column; }
.menu nav a { padding: 10px 18px; text-decoration: none; color: var(--ink); }
.menu nav a:hover { background: var(--bg-3); }

.site-footer { background: var(--bg-2); color: var(--faint); padding: 56px var(--gutter) 32px; font-size: 14px; margin-top: 0; }
.footer-cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px 48px; }
.footer-cols p { max-width: 42ch; }
.footer-cols nav { display: flex; flex-direction: column; gap: 8px; }
.footer-cols nav a { color: var(--muted); text-decoration: none; }
.footer-cols nav a:hover { color: var(--ink); }
.footer-brand { color: var(--ink); font-weight: 600; letter-spacing: .34em; font-size: 14px; }
.footer-legal { max-width: var(--max); margin: 40px auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }

/* ── hero ───────────────────────────────────────────── */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-2); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: cover; object-position: 62% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .62) 40%, rgba(255, 255, 255, .12) 75%, rgba(255, 255, 255, 0) 100%),
  linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .55) 22%, rgba(255, 255, 255, 0) 50%),
  linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 22%); }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 160px var(--gutter) clamp(64px, 9vw, 120px); }
.hero h1 { text-shadow: 0 2px 34px rgba(14, 17, 20, .21), 0 1px 6px rgba(14, 17, 20, .14); }
.hero .lede { color: rgba(14, 17, 20, .9); text-shadow: 0 1px 18px rgba(14, 17, 20, .21); max-width: 54ch; }
.hero .label { color: rgba(14, 17, 20, .82); letter-spacing: .28em; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-visuals { display: grid; gap: 14px; margin: 26px 0 30px; }
.flag-row, .works-with { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flag-row { max-width: 560px; }
.flag-row a { display: block; transition: transform .15s ease; }
.flag-row a:hover, .flag-row a:focus-visible { transform: translateY(-2px); }
.flag-row img { display: block; width: 28px; height: 21px; box-shadow: 0 0 0 1px var(--line-2), 0 2px 10px rgba(14, 17, 20, .122); }
.works-with li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .5); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.2; }
.works-with img { display: block; width: 18px; height: 18px; }

.page-head { padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 16px; }
.page-head .lede { margin: 0; }
.head-check { margin: 20px 0 0; font-weight: 600; }
.head-check a { color: var(--accent); }
.head-check a::after { content: " →"; }
.breadcrumbs { font-size: 13px; color: var(--faint); margin-bottom: 22px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { margin: 0 8px; }

/* ── buttons and forms ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .04em; line-height: 1.2; color: var(--ink); background: transparent; border: 1px solid var(--line-2); padding: 13px 22px; text-decoration: none; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #14508F; border-color: #14508F; }
.btn-ghost { border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); border-color: var(--line-2); }
.btn-small { padding: 7px 12px; font-size: 13px; }
.btn-danger { border-color: rgba(194, 54, 31, .45); color: var(--bad); }
.btn-danger:hover { border-color: var(--bad); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.form { margin: 18px 0; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; max-width: 460px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 1px var(--accent); }
.hint { font-size: 13px; color: var(--faint); margin: 0; }
.inline-form { display: inline-flex; gap: 8px; margin: 4px 8px 4px 0; vertical-align: middle; }
.inline-form .field { margin: 0; }

.notice { border: 1px solid var(--line-2); border-left: 3px solid var(--accent); background: var(--bg-3); padding: 16px 20px; margin: 0 0 22px; }
.notice > :last-child { margin-bottom: 0; }
.notice-success { border-left-color: var(--good); }
.notice-error { border-left-color: var(--bad); }
.notice-warning { border-left-color: var(--warn); }

/* ── data display ───────────────────────────────────── */
.table-wrap { position: relative; overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap .table { margin: 0; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.table td { color: var(--muted); }
.table td strong, .table td a { color: var(--ink); }
.table tbody tr:last-child td { border-bottom: 0; }
.table-matrix th, .table-matrix td { text-align: center; }
.table-matrix th:first-child, .table-matrix td:first-child { text-align: left; }
.kv { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); border-top: 1px solid var(--line); margin: 0 0 24px; }
.kv dt, .kv dd { margin: 0; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--faint); font-size: 14px; }
.kv dd { color: var(--ink); overflow-wrap: anywhere; }
meter { width: min(260px, 100%); height: 10px; vertical-align: middle; margin-right: 10px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 3px 9px; border: 1px solid var(--line-2); white-space: nowrap; }
.tag-yes { color: var(--good); border-color: rgba(19, 128, 74, .4); }
.tag-no { color: var(--faint); }
.yes { color: var(--good); font-weight: 600; }
.no { color: var(--faint); }

pre.code { font-family: var(--mono); font-size: 13.5px; line-height: 1.55; background: var(--bg-2); border: 1px solid var(--line); padding: 16px 18px; overflow-x: auto; white-space: pre; margin: 0 0 10px; color: var(--ink); }
pre.code.wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
button.copy { font: inherit; font-size: 13px; color: var(--muted); background: transparent; border: 1px solid var(--line-2); padding: 6px 12px; cursor: pointer; margin-bottom: 16px; }
button.copy:hover { color: var(--ink); border-color: var(--accent); }
button.copy.copied { color: var(--good); border-color: var(--good); }

.tabs { margin: 0 0 28px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab-list button { font: inherit; font-size: 14px; color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px 16px; cursor: pointer; margin-bottom: -1px; }
.tab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tab-panel[hidden] { display: none; }
.no-js .tab-panel[hidden] { display: block; }

/* ── page sections ──────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 28px; }
.plan { background: var(--bg); padding: 32px clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; }
.plan-featured { background: var(--bg-3); }
.plan h3 { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.plan .price { font-size: 44px; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin-bottom: 6px; }
.plan .price span { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.plan li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.plan li strong { color: var(--ink); }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--accent); margin: 0; }
.steps li::before { content: "0" counter(step); display: block; color: var(--accent); font-weight: 600; letter-spacing: .12em; margin-bottom: 8px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15.5px; }

.country-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.country-strip a { background: var(--bg); padding: 20px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: background .2s ease; }
.country-strip a:hover { background: var(--bg-3); }
.country-strip .cc { color: var(--accent); font-weight: 600; letter-spacing: .14em; font-size: 13px; }
.country-strip .cn { font-weight: 600; }
.country-strip .cr { color: var(--faint); font-size: 13px; }
.az-strip { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.az-strip a { padding: 16px 14px; }
.az-strip .cc { font-size: 20px; letter-spacing: 0; }
.az-letters { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 22px; font-size: 15px; }
.az-letters a { text-decoration: none; }
.az-letters a:hover { text-decoration: underline; }
.az-letters span[aria-current] { color: var(--accent); font-weight: 600; }
.table-own td { font-size: 14px; vertical-align: top; }
.table-own td:first-child { min-width: 220px; }
h3.layer { margin: 34px 0 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h3.layer:first-of-type { margin-top: 8px; }
.layer-of { margin: 14px 0 8px; font-weight: 600; }
.more-rows { margin: -12px 0 24px; }
.more-rows summary { cursor: pointer; color: var(--accent); padding: 8px 0; }
.more-rows[open] summary { margin-bottom: 12px; }

.examples { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.grid-3 + .examples { margin-top: 44px; }
.examples li { margin: 0; padding: 16px 4px 16px 36px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.examples li::before { content: "“"; position: absolute; left: 6px; top: 8px; font-size: 30px; line-height: 1; color: var(--accent); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 4px; font-weight: 600; font-size: 17px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font-size: 24px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 4px 22px; color: var(--muted); max-width: 72ch; }

.cta-band { background: var(--bg-2); padding: var(--pad) 0; text-align: left; }
.cta-band h2 { margin-bottom: 14px; }
.pagination { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-top: 28px; font-size: 15px; }
.company-list { columns: 2; column-gap: 44px; list-style: none; padding: 0; }
.company-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); margin: 0; }
.company-list a { text-decoration: none; }
.company-list a:hover { text-decoration: underline; }
.company-list .num { color: var(--faint); font-size: 13px; margin-left: 6px; }

.auth-card { max-width: 560px; margin: clamp(16px, 4vw, 48px) auto; border: 1px solid var(--line); background: var(--bg-3); padding: clamp(24px, 4vw, 44px); }
.auth-card h1 { font-size: clamp(28px, 3.6vw, 36px); max-width: none; }
.auth-card .form .field { max-width: none; }
.account-section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.account-section:first-of-type { padding-top: 8px; }
.account-section h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 18px; }
.account-section h3 { margin-top: 26px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 14px; max-width: none; }
.legal h3 { margin-top: 22px; }
.legal p, .legal li { color: var(--muted); max-width: 72ch; }
.prose p, .prose li { max-width: 70ch; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; margin: 0 0 8px; }
.anchor-nav a { color: var(--muted); text-decoration: none; }
.anchor-nav a:hover { color: var(--ink); }

/* ── responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .country-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; }
  .grid-2, .grid-3, .cells, .cells-3, .steps { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 4px; padding: 22px 4px; }
  .row:hover { padding-left: 4px; }
  .row .row-meta { grid-column: 1; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { border-bottom: 0; padding-bottom: 0; }
  .company-list { columns: 1; }
  .hero { min-height: 640px; }
  .hero picture img { object-position: 60% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .78) 45%, rgba(255, 255, 255, .35) 100%); }
  .hero-inner { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .site-footer, .hero picture { display: none; }
  body { background: #fff; color: #000; }
}

/* ── additions ──────────────────────────────────────── */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tool-ref { padding: 28px 0 8px; border-top: 1px solid var(--line); }
.tool-ref h3 { font-size: 20px; margin-bottom: 10px; }
.tool-ref > p { color: var(--muted); max-width: 72ch; }
.company-list-single { columns: 1; }

/* ── ownership chart (site.js adds fit, zoom, drag, full screen) ── */
.og { margin: 28px 0 0; border: 1px solid var(--line-2); background: var(--bg-2); }
.og-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.og-bar button { font: inherit; font-size: 13px; line-height: 1; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); padding: 8px 12px; min-width: 36px; cursor: pointer; }
.og-bar button:hover, .og-bar button:focus-visible { border-color: var(--accent); outline: none; }
.og-hint { margin-left: auto; font-size: 12px; color: var(--faint); }
.no-js .og-bar { display: none; }
.og-view { overflow: auto; }
.og-view svg { display: block; width: 100%; height: auto; }
.og-live .og-view { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.og-live .og-view.dragging { cursor: grabbing; }
.og-live .og-view svg { height: 100%; }
.og:fullscreen { display: flex; flex-direction: column; margin: 0; border: 0; width: 100%; height: 100%; }
.og.og-max { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; margin: 0; border: 0; }
.og:fullscreen .og-view, .og.og-max .og-view { flex: 1 1 auto; min-height: 0; touch-action: none; }
.og:fullscreen .og-key, .og.og-max .og-key, .og:fullscreen .og-note, .og.og-max .og-note { display: none; }
.og-key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.og-key span { display: inline-flex; align-items: center; gap: 8px; }
.og-key .k { display: inline-block; width: 18px; height: 12px; background: var(--bg-3); border: 1px solid var(--line-2); }
.og-key .k-root { background: var(--accent); border-color: var(--accent); }
.og-key .k-page { border-color: var(--accent); }
.og-key .k-other { background: var(--bg); border-style: dashed; }
.og-key .k-stake { font-size: 10.5px; font-weight: 600; color: var(--ink); padding: 1px 7px; border: 1px solid var(--line-2); border-radius: 9px; }
.og-note { margin: 0; padding: 0 14px 12px; font-size: 12.5px; color: var(--faint); }
.og svg text { font-family: var(--font); fill: var(--ink); }
.og .n { fill: var(--bg-3); stroke: var(--line-2); stroke-width: 1; }
.og .n-page { stroke: var(--accent); }
.og .n-root { fill: var(--accent); stroke: var(--accent); }
.og .n-other { fill: var(--bg); stroke-dasharray: 4 3; }
.og .n-card { fill: var(--bg-3); }
.og .t-root { fill: var(--accent-ink); }
.og .nm { font-size: 12.5px; font-weight: 600; }
.og .mt { font-size: 11px; fill: var(--muted); }
.og .mt.t-root { fill: rgba(255, 255, 255, .72); }
.og .go { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.og a.node:hover .n, .og a.node:focus .n { fill: #E1EBF7; stroke-width: 1.6; }
.og a.node:focus { outline: none; }
.og .e { fill: none; stroke: rgba(14, 17, 20, .32); stroke-width: 1.2; }
.og .rule { stroke: var(--line); stroke-width: 1; }
.og .pill { fill: var(--bg-2); stroke: var(--line-2); }
.og .pt { font-size: 10.5px; font-weight: 600; text-anchor: middle; }
.og .folded .pill { stroke: var(--accent); }
.og .folded .pt { fill: var(--accent); }
.og .zero { opacity: .5; }
.og .rl { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; fill: var(--accent); }
.og .card-h { font-size: 10px; font-weight: 600; letter-spacing: .12em; fill: var(--muted); }
.og .cr { font-size: 11.5px; }
.og .cr-link { fill: #1B64B0; }
.og a.crow:hover .cr, .og a.crow:hover .more { text-decoration: underline; }
.og .cs { font-size: 11px; fill: var(--muted); text-anchor: end; }
.og .more { font-size: 11px; font-weight: 600; fill: var(--accent); }
.lists > summary { cursor: pointer; color: var(--accent); padding: 10px 0; font-weight: 600; }
.lists[open] > summary { margin-bottom: 16px; }
@media (max-width: 760px) {
  .og-hint { display: none; }
  .og-partial .og-hint { display: block; flex-basis: 100%; margin-left: 0; }
  .og-bar button { padding: 9px 12px; }
}

/* Company (SEO) pages use the whole window width; text keeps its measure. */
.page-wide .container { max-width: none; padding: 0 clamp(14px, 2.2vw, 28px); }

/* Holders hidden in the free chart, and the company report offer. */
.og .n-hidden { fill: #EEF3FA; stroke: var(--accent); stroke-dasharray: 5 3; }
.og .lock { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.og .mt-hidden, .og .cr-hidden { fill: var(--accent); }
.og a.node.hidden:hover .n-hidden { fill: #E1EBF7; }
.og a.crow.hidden:hover .cr-hidden { text-decoration: underline; }
.og-key .k-hidden { background: #EEF3FA; border: 1px dashed var(--accent); }
.og-report { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--accent-ink); background: var(--accent); border: 1px solid var(--accent); padding: 8px 12px; text-decoration: none; }
.og-report:hover { filter: brightness(1.08); }
.hidden-link { color: var(--accent); }
.report-cta { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px 32px; margin: 18px 0 0; padding: 22px 24px; border: 1px solid var(--accent); background: var(--bg-3); scroll-margin-top: 90px; }
.report-cta h3 { margin: 0 0 8px; font-size: 21px; }
.report-cta p { margin: 0; max-width: 70ch; color: var(--muted); }
.report-cta .label { margin-bottom: 8px; }
.report-cta-text { flex: 1 1 360px; }
.report-cta .report-check { margin-top: 12px; font-size: 14px; }
.report-check a { color: var(--accent); }
.report-buy { flex: 0 1 420px; min-width: min(100%, 300px); }
.og .stake.masked .pill { stroke: var(--accent); stroke-dasharray: 3 2; }
.og .stake.masked .pt { fill: var(--accent); }
.og a.masked-stake:hover .pill { fill: #E1EBF7; }
.og .cs-masked { fill: var(--accent); font-weight: 600; }
/* Above a top shareholder that is a company: its owners, in the company report. */
.og .n-beyond { fill: #F1F5FB; stroke: var(--accent); stroke-dasharray: 5 3; }
.og a.beyond:hover .n-beyond, .og a.beyond:focus .n-beyond { fill: #E1EBF7; stroke-width: 1.6; }
.og a.beyond:focus { outline: none; }
.og .e-beyond { stroke: var(--accent); stroke-dasharray: 4 3; }
.og-key .k-beyond { background: #F1F5FB; border: 1px dashed var(--accent); }

/* ── company check, search and reports ── */
.search { display: flex; max-width: 640px; margin: 24px 0 0; }
.search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-right: 0; border-radius: 0; padding: 14px 16px; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.search .btn { padding: 14px 26px; font-size: 15px; flex: none; }
.search-hero { max-width: 600px; margin: 26px 0 0; }
.search-hero input { background: rgba(255, 255, 255, .86); border-color: rgba(14, 17, 20, .3); }
.search-wide { max-width: 760px; }
.hero .search + .hero-note { margin-top: 14px; }
.hero-note a { color: var(--ink); }
.section-search { padding: 36px 0 clamp(36px, 4vw, 52px); }
.section-search .hint { margin-top: 10px; }
.page-head-search .search { margin-top: 26px; }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 24px; }
.offer { background: var(--bg); padding: 30px clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; }
.offer-featured { background: var(--bg-3); }
.offer h3 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; min-height: 2.7em; }
.offer .price { font-size: 44px; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin-bottom: 16px; color: var(--ink); }
.offer .price span { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.offer p { color: var(--muted); font-size: 15px; }
.offer .ticks li { font-size: 14.5px; color: var(--muted); }
.offer .offer-plus { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.offer .offer-time { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink); }

.buy fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.buy-opt { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.buy-opt:hover { border-color: var(--accent); }
.buy-opt input { accent-color: var(--accent); width: 16px; height: 16px; margin: 3px 0 0; flex: none; }
.buy-opt:has(input:checked) { border-color: var(--accent); background: #E8F0FA; box-shadow: inset 3px 0 0 var(--accent); }
.buy-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.buy-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.buy-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.buy-price { font-weight: 700; font-size: 18px; white-space: nowrap; }
.buy-text { font-size: 13px; line-height: 1.45; color: var(--muted); }
.btn-block { display: flex; width: 100%; margin-top: 14px; padding: 15px 22px; font-size: 15px; }
.buy-note { margin: 10px 0 0; font-size: 12.5px; color: var(--faint); }
.buy-note a { color: var(--muted); }

.check-head { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 3vw, 40px); }
.check-head h1 { max-width: none; font-size: clamp(30px, 4.4vw, 50px); overflow-wrap: anywhere; margin-bottom: 16px; }
.check-head .lede { max-width: 90ch; }
.check-head .button-row { margin-bottom: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.badge { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; line-height: 1.3; padding: 4px 10px; border: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; }
.badge-good, .badge-warn, .badge-bad { gap: 7px; }
.badge-good::before, .badge-warn::before, .badge-bad::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-good { color: var(--good); border-color: rgba(19, 128, 74, .45); background: rgba(19, 128, 74, .08); }
.badge-warn { color: var(--warn); border-color: rgba(154, 98, 0, .45); background: rgba(154, 98, 0, .08); }
.badge-bad { color: var(--bad); border-color: rgba(194, 54, 31, .45); background: rgba(194, 54, 31, .08); }
.check-body { padding-top: clamp(28px, 4vw, 48px); }
.check-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 44px; align-items: start; }
.check-main { min-width: 0; }
.check-block { padding: 0 0 36px; margin: 0 0 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.check-block h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; max-width: none; }
.check-block .og { margin-top: 18px; }
.check-aside { display: grid; gap: 16px; scroll-margin-top: 20px; }
.buy-card { border: 1px solid var(--accent); background: var(--bg-3); padding: 24px; }
.buy-card h2 { font-size: 22px; line-height: 1.25; margin-bottom: 8px; max-width: none; overflow-wrap: anywhere; }
.buy-card > .muted { font-size: 14.5px; }
.aside-note { border: 1px solid var(--line); padding: 16px 18px; font-size: 14px; color: var(--muted); }
.aside-note p { margin: 0; }
.aside-note strong { color: var(--ink); }
.read-at { margin: 0; }
.signals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.signal { margin: 0; background: var(--bg); padding: 14px 16px 14px 40px; position: relative; display: flex; flex-direction: column; gap: 2px; }
.signal::before { content: ""; position: absolute; left: 16px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.signal-good::before { background: var(--good); }
.signal-warn::before { background: var(--warn); }
.signal-bad::before { background: var(--bad); }
.signal-label { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.signal-value { font-size: 15px; color: var(--ink); }
.signal-bad .signal-value { color: var(--bad); }
.signal:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sic { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-right: 6px; }
.people { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.person { margin: 0; background: var(--bg); border: 1px solid var(--line); padding: 16px 18px; }
.person-name { font-weight: 600; margin: 0 0 2px; overflow-wrap: anywhere; }
.person-role { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.person-meta { margin: 0; font-size: 13.5px; color: var(--muted); }
.table-compact th, .table-compact td { padding: 9px 12px; font-size: 14px; }
.table-filings td:nth-child(2) { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.table-compare td:first-child { min-width: 240px; }
.locked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px 22px; border: 1px dashed var(--accent); background: #F1F5FB; }
.locked p { margin: 0; max-width: 62ch; color: var(--muted); }
.locked strong { color: var(--ink); }
.hits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 900px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 18px; }
.filters a { font-size: 13px; line-height: 1.2; padding: 7px 11px; border: 1px solid var(--line-2); color: var(--muted); text-decoration: none; }
.filters a:hover { border-color: var(--accent); color: var(--ink); }
.filters a[aria-current] { border-color: var(--accent); background: #E8F0FA; color: var(--ink); }
.hit { margin: 0; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.hit-name { font-weight: 600; font-size: 17px; text-decoration: none; }
.hit-name:hover { text-decoration: underline; }
.hit .badge { margin-left: 10px; vertical-align: 2px; }
.hit-meta { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.hit-address { margin: 2px 0 0; font-size: 14px; color: var(--faint); }
.order-done h1 { margin-bottom: 14px; }
@media (min-width: 1001px) and (min-height: 760px) {
  .check-aside { position: sticky; top: 20px; }
}
@media (max-width: 1000px) {
  .check-layout { grid-template-columns: 1fr; gap: 0; }
  .offers { grid-template-columns: 1fr; }
  .offer h3 { min-height: 0; }
}
@media (max-width: 760px) {
  .signals { grid-template-columns: 1fr; }
  /* Filings as stacked entries: date and type, then the filing. */
  .table-filings thead { display: none; }
  .table-filings, .table-filings tbody, .table-filings tr, .table-filings td { display: block; width: 100%; }
  .table-filings tr { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .table-filings tbody tr:last-child { border-bottom: 0; }
  .table-filings td { padding: 0; border: 0; }
  .table-filings td:nth-child(1), .table-filings td:nth-child(2) { display: inline; width: auto; font-size: 13px; color: var(--faint); white-space: nowrap; }
  .table-filings td:nth-child(2)::before { content: " · "; }
  .table-filings td:nth-child(3) { margin-top: 3px; color: var(--ink); }
  /* Account reports as stacked entries; the other account tables scroll in place. */
  .table-orders thead { display: none; }
  .table-orders, .table-orders tbody, .table-orders tr, .table-orders td { display: block; width: 100%; }
  .table-orders tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .table-orders tbody tr:last-child { border-bottom: 0; }
  .table-orders td { padding: 2px 0; border: 0; }
  .table-orders td:nth-child(2) { color: var(--ink); font-weight: 600; }
  .table-orders td[data-label]::before { content: attr(data-label) ": "; color: var(--faint); }
  .account-section .table:not(.table-orders) { display: block; position: relative; overflow-x: auto; }
  /* The comparison fits the screen: narrow first column, wrapped headings. */
  .table-compare th, .table-compare td { padding: 8px 5px; font-size: 13px; }
  .table-compare th { white-space: normal; font-size: 10px; letter-spacing: .06em; }
  .table-compare td:first-child { min-width: 0; padding-left: 8px; }
  .search .btn { padding: 14px 16px; }
  .hit .badge { margin: 6px 0 0; display: table; }
}

/* ── home page ──────────────────────────────────────── */
.page-home { background: #FFFFFF; }
.ap-hero { position: relative; overflow: hidden; padding: 136px var(--gutter) 72px; background:
  radial-gradient(820px 620px at 80% 42%, rgba(27, 100, 176, .22), rgba(27, 100, 176, 0) 62%),
  radial-gradient(680px 460px at 6% 0%, rgba(27, 100, 176, .1), rgba(27, 100, 176, 0) 64%),
  linear-gradient(180deg, #F4F5F7 0%, #FFFFFF 100%); }
.ap-hero-inner { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ap-eyebrow { font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: var(--accent); margin: 0 0 14px; }
.ap-hero h1 { font-size: clamp(44px, 5vw, 72px); line-height: 1.02; letter-spacing: -.038em; font-weight: 700; max-width: none; text-wrap: balance; margin: 0 0 24px; color: var(--ink); }
.ap-lede { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; letter-spacing: -.008em; color: rgba(14, 17, 20, .72); max-width: 33em; margin: 0 0 30px; }
.ap-lede a { color: var(--ink); }
.search.ap-search { max-width: 560px; margin: 0; padding: 6px; border-radius: 999px; background: rgba(14, 17, 20, .06); border: 1px solid rgba(14, 17, 20, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .2s ease, box-shadow .2s ease; }
.search.ap-search:focus-within { border-color: rgba(27, 100, 176, .8); box-shadow: 0 0 0 5px rgba(27, 100, 176, .16); }
.search.ap-search input { background: transparent; border: 0; padding: 12px 20px; font-size: 17px; }
.search.ap-search input:focus { box-shadow: none; }
.search.ap-search .btn { border-radius: 999px; padding: 12px 28px; font-size: 15px; letter-spacing: 0; }
.ap-search-center { margin: 0 auto; }
.ap-note { margin: 16px 0 0; font-size: 14px; color: rgba(14, 17, 20, .58); }
.ap-note a { color: var(--ink); }
/* The hero graph: an intelligence-screen trace on the page's own background
   (monospace, corner marks, traces running up the lines, names typed in). */
.ap-hero-graph { margin: 0; position: relative; }
.ap-hud { justify-self: center; width: 100%; max-width: 520px; }
.ap-hud-bar { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; padding: 0 2px 10px; border-bottom: 1px solid rgba(27, 100, 176, .16); font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(27, 100, 176, .85); }
.ap-hud-live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #13804A; box-shadow: 0 0 0 3px rgba(19, 128, 74, .15); vertical-align: 1px; animation: apBlink 1.6s steps(2, start) infinite; }
.ap-graph { display: block; width: 100%; height: auto; overflow: visible; }
.ap-graph text { font-family: var(--mono); }
.ap-g-name { font-size: 14px; font-weight: 600; fill: #0E1114; }
.ap-g-cap { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; fill: rgba(27, 100, 176, .8); }
.ap-target .ap-g-name { fill: #FFFFFF; font-size: 15px; }
.ap-target .ap-g-cap { fill: rgba(255, 255, 255, .78); }
.ap-box { fill: #FFFFFF; stroke: rgba(27, 100, 176, .26); stroke-width: 1; }
.ap-ticks { fill: none; stroke: #1B64B0; stroke-width: 1.6; }
.ap-target .ap-box { fill: #1B64B0; stroke: none; }
.ap-target .ap-ticks { stroke: #0B3A66; }
.ap-lit .ap-box { stroke: rgba(154, 98, 0, .6); }
.ap-lit .ap-ticks { stroke: #9A6200; }
.ap-avatar { fill: #E3ECF7; stroke: rgba(27, 100, 176, .4); }
.ap-avatar-t { font-size: 13px; font-weight: 700; fill: #1B64B0; text-anchor: middle; }
.ap-edge { fill: none; stroke: url(#apEdge); stroke-width: 1.4; stroke-linecap: round; }
.ap-flow { fill: none; stroke: #1B64B0; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 2 15; opacity: 0; }
.ap-graph .ap-flow { animation: apFlow 1.4s linear 2.1s infinite; }
.ap-stake rect { fill: #FFFFFF; stroke: rgba(27, 100, 176, .5); }
.ap-stake text { font-size: 10.5px; font-weight: 700; fill: #0E1114; text-anchor: middle; }
.ap-row { font-size: 9.5px; font-weight: 600; letter-spacing: .12em; fill: rgba(14, 17, 20, .42); }
.ap-border path { fill: none; stroke: rgba(14, 17, 20, .2); stroke-dasharray: 3 6; }
.ap-border text { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; fill: rgba(14, 17, 20, .45); }
.ap-litigation rect { fill: #FFF4DC; stroke: #B07A12; }
.ap-litigation text { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; fill: #7A4E00; }
.ap-scales { fill: none; stroke: #7A4E00; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ap-lit-pulse { fill: rgba(154, 98, 0, .3); transform-box: fill-box; transform-origin: center; animation: apPulse 2.8s ease-out 1.8s infinite; }
.ap-node { animation: apFade .8s ease both; }
.ap-target { animation-delay: .05s; }
.ap-l1 { animation-delay: .25s; }
.ap-l2 { animation-delay: .45s; }
.ap-l3 { animation-delay: .65s; }
.ap-l4 { animation-delay: .85s; }
.ap-l5 { animation-delay: 1.05s; }
.ap-edge { stroke-dasharray: 260; animation: apDraw 1.1s ease both; }
.ap-stake { animation: apFade .6s ease both; }
.ap-d1 { animation-delay: .35s; }
.ap-d2 { animation-delay: .6s; }
.ap-d3 { animation-delay: .85s; }
.ap-d4 { animation-delay: 1.1s; }
.ap-d5 { animation-delay: 1.35s; }
.ap-stake.ap-d1 { animation-delay: .9s; }
.ap-stake.ap-d2 { animation-delay: 1.1s; }
.ap-stake.ap-d3 { animation-delay: 1.3s; }
.ap-stake.ap-d4 { animation-delay: 1.5s; }
.ap-stake.ap-d5 { animation-delay: 1.7s; }
.ap-litigation { animation: apFade .7s ease 1.4s both; }
@keyframes apDraw { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
@keyframes apFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes apPulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes apFlow { from { stroke-dashoffset: 0; opacity: .85; } to { stroke-dashoffset: 34; opacity: .85; } }
@keyframes apBlink { to { visibility: hidden; } }

.ap-flags { list-style: none; margin: 32px 0 0; padding: 0; max-width: 548px; display: flex; flex-wrap: wrap; gap: 12px; }
.ap-flags li { margin: 0; }
.ap-flags a { display: block; }
.ap-flags img { width: 32px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(14, 17, 20, .12), 0 6px 16px rgba(14, 17, 20, .14); transition: transform .2s ease; }
.ap-flags a:hover img, .ap-flags a:focus-visible img { transform: translateY(-3px); }

.ap-section { max-width: 1260px; margin: 0 auto; padding: clamp(80px, 9vw, 132px) var(--gutter) 0; }
.ap-head { text-align: center; max-width: 840px; margin: 0 auto clamp(36px, 4vw, 56px); }
.ap-head h2 { text-wrap: balance; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -.032em; font-weight: 700; max-width: none; margin: 0 0 18px; }
.ap-head .ap-lede { margin: 0 auto; }
.ap-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.ap-card { display: flex; flex-direction: column; padding: 34px 30px; border-radius: 26px; background: linear-gradient(180deg, rgba(14, 17, 20, .065), rgba(14, 17, 20, .02)); border: 1px solid rgba(14, 17, 20, .1); }
.ap-card-featured { background: linear-gradient(180deg, rgba(27, 100, 176, .24), rgba(27, 100, 176, .06)); border-color: rgba(27, 100, 176, .5); box-shadow: 0 40px 90px -40px rgba(27, 100, 176, .55); }
.ap-card h3 { font-size: 22px; letter-spacing: -.018em; margin: 0 0 16px; }
.ap-price { font-size: 52px; font-weight: 700; letter-spacing: -.035em; line-height: 1; margin: 0 0 18px; color: var(--ink); }
.ap-price span { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.ap-price-sm { font-size: 38px; }
.ap-card p { color: rgba(14, 17, 20, .72); font-size: 15.5px; }
.ap-card p.ap-price, .ap-tile p.ap-price { font-size: 52px; font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--ink); margin: 0 0 18px; }
.ap-tile p.ap-price-sm { font-size: 38px; margin-bottom: 14px; }
.ap-card .ap-card-foot { margin: auto 0 0; padding-top: 18px; font-size: 13.5px; color: var(--ink); }
.ap-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 34px 0 0; }
.ap-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--accent); border: 1px solid rgba(27, 100, 176, .5); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ap-btn:hover { background: rgba(27, 100, 176, .12); border-color: var(--accent); }
.ap-btn-primary { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.ap-btn-primary:hover { background: #14508F; border-color: #14508F; }
.ap-tiles { display: grid; gap: 20px; }
.ap-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ap-tiles-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ap-tiles-5 .ap-tile { padding: 24px 22px; }
.ap-tile { padding: 28px 26px; border-radius: 22px; background: rgba(14, 17, 20, .035); border: 1px solid rgba(14, 17, 20, .08); }
.ap-tile h3 { font-size: 19px; letter-spacing: -.012em; margin: 0 0 10px; }
.ap-tile p { color: rgba(14, 17, 20, .68); font-size: 15px; margin: 0 0 10px; }
.ap-tile p:last-child { margin-bottom: 0; }
.ap-tile .ap-tile-foot { color: var(--accent); font-size: 13px; font-weight: 600; }
.ap-tile .ap-price { margin-bottom: 12px; }
.ap-code code { font-size: 12.5px; }
.ap-quotes { list-style: none; padding: 0; margin: 28px auto 0; max-width: 920px; display: grid; gap: 12px; }
.ap-quotes li { position: relative; margin: 0; padding: 18px 22px 18px 52px; border-radius: 18px; background: rgba(14, 17, 20, .035); border: 1px solid rgba(14, 17, 20, .07); font-size: 16px; }
.ap-quotes li::before { content: "\201C"; position: absolute; left: 20px; top: 8px; font-size: 34px; line-height: 1; color: var(--accent); }
.ap-quotes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; margin-top: 0; }
.ap-band { max-width: none; margin-top: clamp(80px, 9vw, 132px); padding-bottom: clamp(80px, 9vw, 120px); background: radial-gradient(900px 420px at 50% 0%, rgba(27, 100, 176, .16), rgba(27, 100, 176, 0) 70%), #F4F5F7; }
.ap-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; }
.ap-chips li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 16px; border-radius: 999px; background: rgba(14, 17, 20, .06); border: 1px solid rgba(14, 17, 20, .12); font-size: 15px; font-weight: 500; }
.ap-chips img { width: 18px; height: 18px; }
.ap-fine { text-align: center; color: var(--faint); font-size: 14px; margin: 20px 0 0; }
.ap-fine a { color: var(--muted); }
.ap-countries { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.ap-countries li { margin: 0; }
.ap-country { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; height: 100%; padding: 18px 20px; border-radius: 20px; background: rgba(14, 17, 20, .035); border: 1px solid rgba(14, 17, 20, .08); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.ap-country:hover, .ap-country:focus-visible { border-color: rgba(27, 100, 176, .5); transform: translateY(-2px); }
.ap-country img { align-self: center; width: 32px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(14, 17, 20, .12); }
.ap-country-name { align-self: center; font-size: 16px; font-weight: 600; }
.ap-country-reg { grid-column: 1 / -1; margin-top: 8px; font-size: 13px; color: var(--faint); }
.ap-country-depth { grid-column: 1 / -1; margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: rgba(14, 17, 20, .66); }
.ap-country-tools { grid-column: 1 / -1; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.ap-steps { list-style: none; counter-reset: apstep; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ap-steps li { counter-increment: apstep; margin: 0; padding: 28px 26px; border-radius: 22px; background: rgba(14, 17, 20, .035); border: 1px solid rgba(14, 17, 20, .08); }
.ap-steps li::before { content: counter(apstep); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--accent); color: #FFFFFF; font-weight: 700; }
.ap-steps h3 { font-size: 19px; margin: 0 0 8px; }
.ap-steps p { color: rgba(14, 17, 20, .68); font-size: 15px; margin: 0; }
.ap-faq { max-width: 880px; margin: 0 auto; }
.ap-final { padding-bottom: clamp(88px, 10vw, 140px); }
@media (min-width: 981px) {
  .ap-card h3 { min-height: 2.6em; }
}
@media (max-width: 1180px) {
  .ap-tiles-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ap-hero { padding-top: 112px; }
  .ap-tiles-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .ap-hero-copy, .ap-hero-graph { min-width: 0; }
  .ap-hero h1 { max-width: none; }
  .ap-hero-graph { max-width: 520px; width: 100%; margin: 8px auto 0; }
  .ap-cards, .ap-tiles-3, .ap-steps, .ap-quotes-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ap-hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .search.ap-search input { padding: 10px 12px 10px 16px; font-size: 16px; }
  .ap-tiles-5 { grid-template-columns: 1fr; }
  .search.ap-search .btn { padding: 12px 18px; }
  .ap-card { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-node, .ap-edge, .ap-stake, .ap-litigation, .ap-lit-pulse, .ap-graph .ap-flow, .ap-hud-live::before { animation: none; }
}
.ap-plan { list-style: none; margin: 0; padding: 0; }
.ap-plan li { margin: 0; padding: 9px 0; border-top: 1px solid rgba(14, 17, 20, .08); font-size: 14.5px; color: rgba(14, 17, 20, .72); }

/* ── light theme (Companies House-like, not the same) ── */
.site-header, body:not(.page-home) .site-header { position: relative; background: #101418; border-bottom: 5px solid var(--accent); }
.site-header .wordmark { color: #FFFFFF; }
.nav a { color: rgba(255, 255, 255, .8); }
.nav a:hover, .nav a[aria-current="page"] { color: #FFFFFF; }
.nav .nav-account { color: #FFFFFF; border-color: rgba(255, 255, 255, .45); }
.nav .nav-account:hover { border-color: #FFFFFF; }
.menu summary { color: #FFFFFF; border-color: rgba(255, 255, 255, .45); }
.menu[open] summary { border-color: #FFFFFF; }
.menu nav { background: #101418; border-color: rgba(255, 255, 255, .2); }
.menu nav a { color: #FFFFFF; }
.menu nav a:hover { background: #1C232B; }
.site-footer { border-top: 1px solid var(--line); }
p a, li a, dd a, td a { color: var(--accent); }
.table td a { color: var(--accent); }
.ap-country, .company-list a { color: var(--ink); }
.company-list a { color: var(--accent); }
.ap-hero { padding-top: 72px; background: radial-gradient(820px 620px at 82% 40%, rgba(27, 100, 176, .09), rgba(27, 100, 176, 0) 62%), linear-gradient(180deg, #F6F8FA 0%, #FFFFFF 100%); }
.search.ap-search { background: #FFFFFF; border-color: var(--line-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ap-card { background: #FFFFFF; border-color: var(--line); }
.ap-card-featured { background: #F1F6FC; border-color: rgba(27, 100, 176, .45); box-shadow: none; }
.ap-tile, .ap-steps li, .ap-quotes li, .ap-country { background: var(--bg-2); border-color: var(--line); }
.ap-chips li { background: #FFFFFF; border-color: var(--line-2); }
.ap-chips img { filter: brightness(0); opacity: .8; }
.ap-band { background: radial-gradient(900px 420px at 50% 0%, rgba(27, 100, 176, .08), rgba(27, 100, 176, 0) 70%), var(--bg-2); }
.ap-flags img, .ap-country img { box-shadow: 0 0 0 1px rgba(14, 17, 20, .14); }
.og { background: #FFFFFF; }
.og a, .ap-graph a { text-decoration: none; }
@media (max-width: 980px) {
  .ap-hero { padding-top: 48px; }
}
