/* MARK: Fonts */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* MARK: Tokens */
:root {
  --paper: #FFFFFF;
  --paper-2: #EEF1F4;
  --navy: #0B1F3A;
  --navy-hover: #14325A;
  --ink: #0B1F3A;
  --ink-soft: #4B5563;
  --ink-muted: #6B7280;
  --rule: #D3D8DE;
  --rule-soft: #E5E9EE;
  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: 64px;
  --section: 96px;
}

/* MARK: Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, table { margin: 0; }
h1, h2 { font-weight: 600; text-wrap: balance; color: var(--navy); }
h1 { font-size: 56px; line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: 44px; line-height: 1.06; letter-spacing: -0.025em; }
h3 { font-size: 16px; line-height: 1.3; font-weight: 600; }
p { max-width: 70ch; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 120ms; }
a:hover { color: var(--ink-soft); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 20px; top: 12px; z-index: 100; background: var(--paper); padding: 10px 14px; }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink-soft); }
.muted { color: var(--ink-muted); }
.soft { color: var(--ink-soft); }
.small { font-size: 15px; line-height: 1.5; }
.num { font-variant-numeric: tabular-nums; }
.pending { color: var(--navy); font-weight: 600; }

/* MARK: Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: 2px;
  font-family: var(--font); font-size: 16px; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; transition: background-color 120ms, color 120ms;
  border: 1px solid var(--navy);
}
.btn-primary { background: var(--navy); color: #FFFFFF; }
.btn-primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #FFFFFF; }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--paper-2); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* MARK: Navigation */
.site-nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand img { display: block; width: auto; height: 27px; }
.nav-links { display: flex; gap: 32px; list-style: none; padding: 0; }
.nav-links a { font-size: 15px; line-height: 1; text-decoration: none; color: var(--ink); }
.nav-links a:hover { color: var(--ink-soft); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.lang-switch { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.lang-switch strong { font-weight: 600; color: var(--ink); }
.nav-actions .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 2px; background: var(--paper); cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--navy); position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.mobile-menu { display: none; }

/* MARK: Sections */
main > section { padding: var(--section) 0; }
main > section.alt { background: var(--paper-2); }
.hero { padding-top: 80px !important; }
.hero-text { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 32px; padding-right: 24px; }
.hero-text .closing { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.hero-visual { grid-column: 6 / span 7; }
.page-hero { padding-bottom: 64px !important; }
.page-hero .inner { display: flex; flex-direction: column; gap: 24px; max-width: 880px; }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 40px; }
.section-head h2 { grid-column: 1 / span 6; }
.section-head p { grid-column: 8 / span 5; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.split > .side { grid-column: 1 / span 4; }
.split > .main { grid-column: 5 / span 8; }
.section-link { margin-top: 24px; font-size: 15px; }

/* MARK: Deployment plan */
.plan { border: 1px solid var(--rule); border-radius: 2px; background: var(--paper); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.plan-head .title { font-size: 15px; font-weight: 600; }
.plan-head .meta { font-size: 13px; color: var(--ink-soft); }
.plan-row { display: grid; grid-template-columns: 220px 1fr 180px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--rule); }
.plan-row.labels { padding: 12px 24px; font-size: 12px; color: var(--ink-soft); }
.plan-row .phase { display: flex; flex-direction: column; gap: 3px; }
.plan-row .phase b { font-size: 15px; font-weight: 600; }
.plan-row .phase span { font-size: 13px; color: var(--ink-soft); }
.plan-row .who { font-size: 13px; text-align: right; color: var(--ink-soft); }
.bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.bars .on { height: 14px; background: var(--navy); transform-origin: left center; }
.bars .end { text-align: right; }
.bars-m { display: none; }
.plan-foot { padding: 16px 24px; background: var(--paper-2); font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.plan-row:last-of-type { border-bottom: 1px solid var(--rule); }
.js .plan.animate .bars .on { transform: scaleX(0); }
.js .plan.animate.in-view .bars .on { transform: scaleX(1); transition: transform 300ms ease-out; }
@media (prefers-reduced-motion: reduce) { .js .plan.animate .bars .on { transform: none !important; transition: none !important; } }

/* MARK: Tables */
.data-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 22px 24px; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.data-table th:last-child, .data-table td:last-child { border-right: 0; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table thead th { padding: 16px 24px; font-size: 13px; font-weight: 600; background: var(--paper); }
.data-table thead th.label { font-weight: 400; color: var(--ink-soft); }
.data-table tbody th { font-size: 16px; font-weight: 600; line-height: 1.3; }
.data-table tbody td { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.data-table td.strong { color: var(--navy); font-weight: 600; }
.pair-table col.phase { width: 240px; }
.table-note { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; font-size: 14px; color: var(--ink-soft); }
.table-note .btn { height: 48px; padding: 0 22px; font-size: 15px; }

/* MARK: Ruled list */
.rule-list { list-style: none; padding: 0; border-top: 1px solid var(--navy); }
.rule-list li { display: grid; grid-template-columns: 240px 1fr; column-gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule-soft); }
.rule-list li .t { font-weight: 600; }
.rule-list li .d { color: var(--ink-soft); }
.rule-list li.note .d { grid-column: 1 / -1; color: var(--ink); }

/* MARK: Europe block */
.quote { font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--navy); text-wrap: balance; }
.facts th { white-space: nowrap; }
.facts th small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-soft); margin-bottom: 4px; }
.source { margin-top: 12px; font-size: 13px; color: var(--ink-muted); }

/* MARK: Final block */
.final { border-top: 1px solid var(--rule); }
.final .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* MARK: Contact */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.contact-grid .next { grid-column: 1 / span 4; }
.contact-grid form { grid-column: 6 / span 7; }
.next-list { list-style: none; padding: 0; border-top: 1px solid var(--navy); }
.next-list li { padding: 18px 0; border-bottom: 1px solid var(--rule-soft); color: var(--ink-soft); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 15px; }
.field label .opt { color: var(--ink-muted); }
.field input, .field textarea, .field select {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 2px;
  font-family: var(--font); font-size: 16px; color: var(--ink); background: var(--paper);
}
.field textarea { height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border: 1.5px solid var(--navy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 28px; font-size: 15px; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: 15px; min-height: 24px; }
.form-status.error { color: var(--navy); font-weight: 600; }

/* MARK: Legal */
.legal { max-width: 720px; }
.legal h2 { font-size: 24px; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin-top: 12px; }
.legal .updated { margin-top: 16px; font-size: 14px; color: var(--ink-muted); }

/* MARK: Footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-grid .brand { margin-bottom: 12px; }
.footer-grid p { font-size: 15px; color: var(--ink-soft); }
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-grid a { font-size: 15px; text-decoration: none; color: var(--ink); }
.footer-grid a:hover { color: var(--ink-soft); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-muted); }
.footer-bottom a { color: var(--ink-soft); text-decoration: none; }

/* MARK: Cookie banner */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--rule); }
.cookie-bar[hidden] { display: none; }
.cookie-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.cookie-bar p { font-size: 15px; color: var(--ink-soft); }
.cookie-bar .btn { height: 44px; padding: 0 20px; font-size: 15px; }

/* MARK: Responsive */
@media (max-width: 1200px) {
  .nav-links { gap: 22px; }
  .hero-text { grid-column: 1 / -1; padding-right: 0; max-width: 760px; }
  .hero-visual { grid-column: 1 / -1; margin-top: 56px; }
}
@media (max-width: 1180px) {
  .nav-links, .nav-actions .lang-switch, .nav-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu[data-open="true"] { display: flex; flex-direction: column; position: fixed; inset: 84px 0 0 0; background: var(--paper); padding: 32px var(--gutter); gap: 28px; z-index: 49; overflow-y: auto; }
  .mobile-menu a.link { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; color: var(--navy); }
  .mobile-menu .btn { width: 100%; margin-top: 8px; }
  .mobile-menu .lang-switch { font-size: 16px; }
}
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .section-head h2, .section-head p { grid-column: 1 / -1; }
  .section-head p { margin-top: 20px; }
  .split > .side, .split > .main { grid-column: 1 / -1; }
  .split > .side { margin-bottom: 32px; }
  .contact-grid .next, .contact-grid form { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --section: 64px; }
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  .lead { font-size: 16px; }
  .quote { font-size: 24px; }
  .site-nav .container { height: 60px; }
  .mobile-menu[data-open="true"] { inset: 60px 0 0 0; }
  .hero { padding-top: 48px !important; }
  .hero-text { gap: 24px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .hero-visual { margin-top: 40px; }
  .plan-row { grid-template-columns: 1fr 1fr; column-gap: 16px; padding: 16px; }
  .plan-row .who, .plan-row.labels .who-label { display: none; }
  .plan-row.labels { padding: 12px 16px; }
  .plan-head, .plan-foot { padding: 14px 16px; }
  .bars-d { display: none; }
  .bars-m { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rule-list li { grid-template-columns: 1fr; row-gap: 6px; }
  .data-table, .data-table thead, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tr { border-bottom: 1px solid var(--rule); }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table th, .data-table td { border-right: 0; border-bottom: 0; padding: 6px 16px; }
  .data-table tbody th { padding-top: 18px; }
  .data-table tbody td:last-child { padding-bottom: 18px; }
  .data-table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--ink-muted); margin-bottom: 2px; }
  .table-note { flex-direction: column; align-items: stretch; }
  .table-note .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .final .container .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cookie-bar .container { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-bar .btn-row { flex-direction: row; }
  .cookie-bar .btn-row .btn { flex: 1; width: auto; }
  .plan-row { grid-template-columns: 1fr; row-gap: 12px; }
  .plan-row.labels > span:first-child { display: none; }
  .facts-table td[data-label]::before { display: none; }
  .facts-table td:first-of-type { color: var(--ink); font-weight: 600; padding-top: 4px; }
  #contact-form .btn { width: 100%; }
  .footer-grid ul { gap: 4px; }
  .footer-grid ul a { display: inline-block; padding: 6px 0; }
}

/* MARK: Team */
.team-text { color: var(--ink); max-width: 64ch; }
.team-text + .team-text { margin-top: 20px; }
.team { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.team li { border-top: 1px solid var(--navy); padding-top: 24px; }
.team img { width: 112px; height: 112px; object-fit: cover; border-radius: 2px; filter: grayscale(1); background: var(--rule-soft); }
.team h3 { margin-top: 20px; font-size: 16px; line-height: 1.3; }
.team .role { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
@media (max-width: 767px) { .team { grid-template-columns: 1fr 1fr; gap: 32px 16px; margin-top: 40px; } .team img { width: 96px; height: 96px; } }

/* MARK: Step number */
.step-n { display: block; font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.field select { appearance: none; -webkit-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='%230B1F3A' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.rule-list li .d p + p { margin-top: 0; }
[id] { scroll-margin-top: 104px; }
.menu-toggle span::before, .menu-toggle span::after { transition: transform 150ms ease-out, top 150ms ease-out; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* MARK: Insights */
.article-list { list-style: none; padding: 0; border-top: 1px solid var(--navy); }
.article-list li { border-bottom: 1px solid var(--rule); }
.article-list a { display: grid; grid-template-columns: 1fr; row-gap: 6px; padding: 24px 0; text-decoration: none; color: var(--ink); }
.article-list .t { font-size: 19px; font-weight: 600; line-height: 1.35; }
.article-list .d { color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.article-list a:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.article-kicker { font-size: 15px; }
.article-kicker a { color: var(--ink-soft); }
.article-meta { font-size: 15px; color: var(--ink-muted); }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; line-height: 1.25; letter-spacing: -0.01em; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; line-height: 1.3; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.prose p + p { margin-top: 16px; }
.prose ul { padding-left: 20px; margin: 16px 0; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 767px) {
  .article-list a { grid-template-columns: 1fr; padding: 20px 0; }
  .article-list .t { font-size: 18px; }
  .prose h2 { font-size: 23px; margin-top: 40px; }
  .prose p, .prose li { font-size: 16px; }
}
