/* JodoTax site styles.
   Layout idea: a ledger. Mono for anything a tax system would read (IDs, codes, statuses),
   a wide grotesque for claims, ruled lines instead of boxed cards wherever possible.
   Light by default; a visitor can switch to dark with the header button (html.dark). */
:root {
  --paper: #f7f9f5;
  --surface: #ffffff;
  --ink: #10292b;
  --muted: #4b6163;
  --line: #d3dcd4;
  --brand: #0b5d5e;
  --accent: #e3a511;
  --tint: #e5f0ea;
  --tint-line: #c9dbd0;
  --deep: #0d3b3c;
  --ok: #1d7a4c;
  --warn: #a8620a;
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1400px;
  color-scheme: light;
}
html.dark {
  --paper: #0b1b1d;
  --surface: #12282a;
  --ink: #e8efe9;
  --muted: #a5b8b4;
  --line: #27423f;
  --brand: #62cbc1;
  --accent: #f0b830;
  --tint: #10272a;
  --tint-line: #27423f;
  --deep: #062021;
  --ok: #58c990;
  --warn: #f0b830;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 700; font-stretch: 88%; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 650; font-stretch: 92%; }
h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; max-width: 65ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 2 * clamp(20px, 4vw, 64px)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0.02em; }
.label {
  font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); display: block; margin-bottom: 14px; font-weight: 500;
}
.lede { font-size: 1.22rem; color: var(--muted); }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 18px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 750; font-size: 1.45rem; letter-spacing: -0.03em; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo b { color: var(--brand); font-weight: inherit; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 1.02rem; font-weight: 500; }
.nav a:hover { background: color-mix(in srgb, var(--brand) 12%, transparent); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.theme-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; margin-left: 6px;
  font: 500 0.95rem var(--body); color: var(--ink); background: transparent;
  border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 12px;
}
.theme-btn:hover { border-color: var(--brand); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 600 1.02rem var(--body); text-decoration: none;
  padding: 13px 22px; border-radius: 8px; border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #1a1400; }
.btn-ghost { border-color: currentColor; color: var(--brand); background: transparent; }
.nav .btn { padding: 9px 16px; margin-left: 6px; color: #1a1400; }
.nav .btn:hover { background: var(--accent); }

/* Views: with JS, one view at a time; without it, every view is shown in order. */
.js .view { display: none; }
.js .view.active { display: block; }
section { padding-block: clamp(56px, 8vw, 104px); }
.band { background: var(--tint); }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 900px; }
.sec-head:last-child { margin-bottom: 0; }

/* Page openers on inner pages: label on top, headline left, mascot and intro right. */
.opener { padding-block: clamp(44px, 6vw, 80px); }
.opener .sec-head {
  max-width: none; margin-bottom: 0;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  column-gap: clamp(32px, 6vw, 96px); row-gap: 16px; align-items: end;
}
.opener .sec-head .label { grid-column: 1 / -1; margin-bottom: 0; }
.opener .sec-head h1 { grid-column: 1; grid-row: 2 / span 2; align-self: center; }
.opener .sec-head .jodo { grid-column: 2; grid-row: 2; justify-self: start; width: clamp(140px, 14vw, 200px); }
.opener .sec-head .lede { grid-column: 2; grid-row: 3; }

/* Mascot */
.jodo { display: block; overflow: visible; height: auto; }
.jodo .arm { fill: none; stroke: #c98c5e; stroke-width: 13; stroke-linecap: round; }
.jodo .hand { fill: #c98c5e; }
.wave { transform-box: view-box; transform-origin: 158px 128px; animation: wave 2.8s ease-in-out infinite; }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0deg); } 66% { transform: rotate(-16deg); } 77% { transform: rotate(8deg); } 88% { transform: rotate(-12deg); } }
.bob { animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.bubble {
  position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 18px; font-size: 1.05rem; box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.35); max-width: 32ch;
}
.bubble::after {
  content: ""; position: absolute; left: 56px; bottom: -9px; width: 16px; height: 16px; background: var(--surface);
  border-right: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); transform: rotate(45deg);
}
.bubble b { color: var(--brand); font-family: var(--mono); font-size: 0.95em; }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 70%, transparent) 62%); padding-inline: 2px; }
.hero .stack { gap: 24px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.standards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; padding: 6px 11px; border: 1px solid var(--tint-line); background: var(--surface); border-radius: 4px; color: var(--muted); }
.hero-art { display: grid; grid-template-columns: clamp(150px, 15vw, 220px) minmax(0, 1fr); align-items: end; min-width: 0; }
.hero-art .jodo { margin-right: -26px; position: relative; z-index: 2; margin-bottom: -14px; }

.invoice {
  background: var(--surface); color: var(--ink); border-radius: 10px; padding: 24px 24px 20px;
  font-family: var(--mono); font-size: 0.9rem; line-height: 1.55;
  box-shadow: 0 30px 60px -30px rgba(13, 59, 60, 0.45); border: 1px solid var(--tint-line); position: relative; min-width: 0;
}
.invoice::before { /* perforated edge */
  content: ""; position: absolute; left: 14px; right: 14px; top: -5px; height: 10px;
  background: radial-gradient(circle at 5px 5px, var(--tint) 4px, transparent 4.5px) 0 0 / 16px 10px repeat-x;
}
.inv-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.inv-top strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0; }
.inv-grid { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 4px 12px; padding-block: 12px; border-bottom: 1px dashed var(--line); margin: 0; }
.inv-grid dt { color: var(--muted); }
.inv-grid dd { margin: 0; overflow-wrap: anywhere; }
.checks { padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; }
.checks .tick { color: var(--ok); font-weight: 700; }
.checks .fix .tick { color: var(--warn); }
.checks small { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.checks .fix em { font-style: normal; background: color-mix(in srgb, var(--accent) 28%, transparent); padding: 0 4px; border-radius: 3px; }
.stamp {
  position: absolute; right: 16px; bottom: 10px; transform: rotate(-9deg);
  border: 2.5px solid var(--ok); color: var(--ok); border-radius: 6px; padding: 4px 10px; background: var(--surface);
  font-weight: 700; letter-spacing: 0.14em; font-size: 0.85rem;
  animation: stamp 0.5s 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) backwards;
}
@keyframes stamp { from { transform: rotate(-9deg) scale(1.7); opacity: 0.2; } }
.sample-note { margin-top: 12px; font-size: 0.8rem; color: var(--muted); }

/* Feature icons */
.ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.ico svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Diagrams (inline SVG, coloured from tokens) */
.diagram { width: 100%; height: auto; display: block; font-family: var(--body); }
.diagram-scroll { overflow-x: auto; margin-bottom: 28px; }
.diagram-scroll .diagram { min-width: 760px; }
.diagram .card { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.diagram .card-us { fill: var(--surface); stroke: var(--accent); stroke-width: 3; }
.diagram .t { fill: var(--ink); font-size: 19px; font-weight: 600; }
.diagram .s { fill: var(--muted); font-size: 15px; }
.diagram .m { fill: var(--brand); font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; }
.diagram .pipe { stroke: var(--brand); stroke-width: 3; fill: none; }
.diagram .pipe-net { stroke: var(--accent); stroke-width: 5; fill: none; }
.diagram .dash { stroke: var(--brand); stroke-width: 2.5; fill: none; stroke-dasharray: 7 7; animation: flow 1.2s linear infinite; }
.diagram .dot { fill: var(--accent); }
.diagram .tag { fill: var(--accent); }
.diagram .tag-t { fill: #1a1400; font-size: 13px; font-weight: 700; font-family: var(--mono); letter-spacing: 0.06em; }
.diagram .hub { fill: #0b5d5e; }
.diagram .on-hub { fill: #ffffff; font-size: 22px; font-weight: 700; font-family: var(--display); }
@keyframes flow { to { stroke-dashoffset: -28; } }

/* Five-corner route as text list */
.route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 8px; position: relative; }
.route li { padding: 18px 16px 18px 0; border-top: 2px solid var(--line); position: relative; }
.route li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); }
.route li.us { border-top-color: var(--accent); }
.route li.us::before { background: var(--accent); border-color: var(--accent); }
.route .mono { color: var(--brand); display: block; margin-bottom: 4px; }
.route h3 { font-size: 1.15rem; margin-bottom: 4px; }
.route p { font-size: 1rem; color: var(--muted); }
.c5 { margin-top: 20px; border: 1.5px dashed var(--brand); border-radius: 8px; padding: 16px 18px; display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; }
.c5 p { font-size: 1rem; }

/* Ruled feature grid */
.grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); border-top: 1px solid var(--line); }
.grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > * { padding: 26px 24px 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.grid p, .grid li { font-size: 1.02rem; color: var(--muted); }
.grid .mono { color: var(--brand); }
.band .grid, .band .grid > * { border-color: var(--tint-line); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg) translateY(-3px); }

/* Product mock-ups (dashboard, ERP screen) */
.dash { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 50px -32px rgba(13, 59, 60, 0.5); min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dash-top strong { font-family: var(--display); font-size: 1.2rem; }
.dash-top .mono { color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-width: 0; }
.kpi span { display: block; font-size: 0.88rem; color: var(--muted); }
.kpi b { font-family: var(--display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.kpi i { display: block; font-style: normal; font-size: 0.85rem; color: var(--ok); }
.ask { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--brand); border-radius: 10px; padding: 10px 14px; font-size: 1rem; }
.ask svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; }
.chart-title { font-size: 0.95rem; font-weight: 600; }
.chart { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--brand); }
.chart .bar.now { fill: var(--accent); }
.chart .gl { stroke: var(--line); stroke-width: 1; }
.chart .ax { fill: var(--muted); font-size: 13px; font-family: var(--mono); }
.chart .val { fill: var(--ink); font-size: 13px; font-family: var(--mono); font-weight: 700; }
.rows { display: flex; flex-direction: column; }
.rows li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding-block: 11px; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.rows li:last-child { border-bottom: 0; }
.rows .mono { color: var(--muted); }
.rows .amt { font-variant-numeric: tabular-nums; text-align: right; }

/* Tables */
.table-scroll { color: var(--ink); overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 1rem; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; }
td.yes { color: var(--ok); font-weight: 600; }
td.no { color: var(--muted); }
.pill { display: inline-block; font-family: var(--mono); font-size: 0.8rem; padding: 3px 10px; border-radius: 99px; border: 1px solid currentColor; white-space: nowrap; }
.pill.live { color: var(--ok); }
.pill.soon { color: var(--warn); }
.pill.watch { color: var(--muted); }
td.hl, th.hl { background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan.pick { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.plan .for { font-size: 1rem; color: var(--muted); min-height: 3.2em; }
.plan .price { font-family: var(--display); font-size: 1.35rem; font-weight: 650; padding-block: 12px; border-block: 1px dashed var(--line); }
.plan .price small { display: block; font: 400 0.92rem var(--body); color: var(--muted); margin-top: 2px; }
.plan .ticks { font-size: 1rem; flex: 1; }
.plan .btn { justify-content: center; }

/* Forms */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 3vw, 34px); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label, legend { font-size: 0.95rem; font-weight: 600; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
.result { margin-top: 20px; padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--paper); border-radius: 0 8px 8px 0; display: flex; flex-direction: column; gap: 6px; }
.result strong { font-family: var(--display); font-size: 1.35rem; }
.form-status { margin-top: 14px; font-size: 1rem; min-height: 1.5em; }
.form-status.err { color: #b3261e; }
details { border-bottom: 1px solid var(--line); padding-block: 16px; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; }
details p { margin-top: 10px; color: var(--muted); }

/* Peppol countries */
.countries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.c-col { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.c-col:first-child { border-top: 4px solid var(--brand); }
.c-col:nth-child(2) { border-top: 4px solid var(--accent); }
.c-col:nth-child(3) { border-top: 4px dashed var(--muted); }
.c-col p { font-size: 0.98rem; }
.c-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.c-list li { font-size: 0.95rem; padding: 4px 11px; border-radius: 99px; background: var(--tint); border: 1px solid var(--tint-line); }
.dates { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.src { font-size: 0.92rem; color: var(--muted); }

/* Partner pricing */
.legend { display: flex; gap: 8px; flex-wrap: wrap; }
.pill.once { color: var(--brand); }
.pill.month { color: var(--ok); }
.pill.usage { color: var(--warn); }
.pill.incl { color: var(--muted); }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 50px -32px rgba(13, 59, 60, 0.5); min-width: 0; }
.q-group { display: flex; flex-direction: column; gap: 6px; }
.q-group > .mono { color: var(--muted); }
.q-group li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 9px; border-bottom: 1px dashed var(--line); }
.elements { display: flex; flex-direction: column; }
.el-group { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 64px); padding-block: 30px; border-top: 1px solid var(--tint-line); }
.el-head { display: flex; flex-direction: column; gap: 8px; }
.el-head .mono { color: var(--brand); font-weight: 700; }
.el-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.el-list article { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.el-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.el-top h4 { font-family: var(--display); font-size: 1.2rem; font-weight: 650; margin: 0 auto 0 0; letter-spacing: -0.01em; }
.el-list p { color: var(--muted); font-size: 1.02rem; }
.el-list .driver { color: var(--ink); font-size: 0.98rem; padding-top: 10px; border-top: 1px dashed var(--line); margin-top: auto; }

/* Meet Jodo */
.meet { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.meet-art { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.meet-art .jodo { width: clamp(190px, 20vw, 270px); margin-left: 12px; }
.meet .grid > * { padding-block: 18px 20px; }
.meet .grid.g3 > * { padding-right: 18px; }

/* Security */
.sec-art { display: flex; justify-content: center; }
.sec-art .jodo { width: clamp(170px, 18vw, 240px); }

/* Closing call and footer */
.close { background: var(--deep); color: #eef3ee; }
.close .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.close h2 { max-width: 20ch; }
.close .btn-ghost { color: #ffffff; }
.close-art { display: flex; align-items: center; gap: 24px; }
.close-art .jodo { width: 104px; flex: none; }
footer { border-top: 1px solid var(--line); padding-block: 36px; font-size: 0.95rem; color: var(--muted); }
footer .wrap { display: flex; gap: 24px 48px; flex-wrap: wrap; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer p { max-width: 70ch; }

@media (max-width: 900px) {
  .hero .wrap, .meet { grid-template-columns: minmax(0, 1fr); }
  .grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .el-group { grid-template-columns: minmax(0, 1fr); }
  .countries { grid-template-columns: minmax(0, 1fr); }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { margin-left: 0; width: 100%; }
  .opener .sec-head { grid-template-columns: minmax(0, 1fr); }
  .opener .sec-head h1, .opener .sec-head .jodo, .opener .sec-head .lede { grid-column: 1; grid-row: auto; }
  .opener .sec-head .jodo { width: 130px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .route, .grid.g3, .el-list { grid-template-columns: minmax(0, 1fr); }
  .nav a { padding: 6px 8px; }
  .hero-art { grid-template-columns: 90px minmax(0, 1fr); }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .rows li .cust { display: none; }
  .close-art .jodo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
