/* EuroRegistry — 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: #0A1A2F;
  --bg-2: #08131F;
  --bg-3: #0E2139;
  --ink: #EAF0F7;
  --muted: rgba(234, 240, 247, .68);
  --faint: rgba(234, 240, 247, .56);
  --line: rgba(234, 240, 247, .13);
  --line-2: rgba(234, 240, 247, .22);
  --accent: #7CA2D1;
  --accent-ink: #08131F;
  --good: #8FC9A8;
  --warn: #E2C27D;
  --bad: #E39A93;
  --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: dark;
}

*, *::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(234, 240, 247, .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(124, 162, 209, .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); }
.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(8, 19, 31, .88) 0%, rgba(8, 19, 31, .62) 40%, rgba(8, 19, 31, .12) 75%, rgba(8, 19, 31, 0) 100%),
  linear-gradient(0deg, rgba(10, 26, 47, 1) 0%, rgba(10, 26, 47, .55) 22%, rgba(10, 26, 47, 0) 50%),
  linear-gradient(180deg, rgba(8, 19, 31, .55) 0%, rgba(8, 19, 31, 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(4, 10, 18, .6), 0 1px 6px rgba(4, 10, 18, .4); }
.hero .lede { color: rgba(234, 240, 247, .9); text-shadow: 0 1px 18px rgba(4, 10, 18, .6); max-width: 54ch; }
.hero .label { color: rgba(234, 240, 247, .82); letter-spacing: .28em; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

.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; }
.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: #95B5DD; border-color: #95B5DD; }
.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(227, 154, 147, .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 { 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(143, 201, 168, .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; }

.examples { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.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)); }
  .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(10, 26, 47, 1) 0%, rgba(10, 26, 47, .78) 45%, rgba(8, 19, 31, .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; }
