/* AkkuPass public site. Tokens follow the DPP design tokens (web/packages/design-tokens). */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/archivo-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; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/archivo-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: "Open Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/opensans-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/opensans-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/opensans-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; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/opensans-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; }

:root {
  --ink: #0f172a;
  --ink-muted: #5b6670;
  --primary: #0470b9;
  --primary-hover: #035a95;
  --brand: #009cea;
  --housing: #0b2d4a;        /* battery housing: hero panel, dark band, footer */
  --housing-2: #123e63;
  --plate: #f5f7f9;
  --line: #e2e8f0;
  --field: #9aa8b8;
  --deadline: #f5b301;       /* only for the 18 February 2027 deadline */
  --ok: #15803d;
  --error: #c62828;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  /* Archivo has no Cyrillic or Greek; those glyphs fall back to Open Sans. */
  --display: "Archivo", "Open Sans", system-ui, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--display); font-stretch: 87%; letter-spacing: -0.01em; line-height: 1.08; margin: 0; hyphens: auto; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; hyphenate-limit-chars: 13 6 6; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 750; max-width: 22ch; }
h3 { font-size: 21px; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: 19px; color: var(--ink-muted); max-width: 60ch; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.flush-top { padding-top: 0; }
.section-head { display: grid; gap: 16px; margin-bottom: 48px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 16px/1.2 var(--body); padding: 14px 22px; border-radius: var(--radius-sm); text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-ghost:hover { background: #eef6fc; }
.btn .icon { width: 20px; height: 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); }
.site-header .btn { padding: 10px 16px; font-size: 15px; white-space: nowrap; }
/* Greek menu labels leave no room for the header button; the pilot link stays in the menu. */
.site-header:lang(el) .wrap > .btn { display: none; }

/* Menus built on <details> work without JavaScript */
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.lang-menu { position: relative; }
.lang-menu > summary { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; background: #fff; }
.lang-menu > summary .icon { width: 18px; height: 18px; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 32px rgb(15 23 42 / 0.12); display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px; max-height: 70vh; overflow-y: auto; z-index: 30; }
.lang-menu a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang-menu a:hover { background: var(--plate); }
.lang-menu a[aria-current="true"] { font-weight: 700; color: var(--primary); }
.mobile-nav { display: none; margin-left: auto; }
.mobile-nav > summary { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px; }
.mobile-nav .close { display: none; }
.mobile-nav[open] .open { display: none; }
.mobile-nav[open] .close { display: inline; }
.mobile-nav .panel { position: fixed; left: 0; right: 0; top: 68px; bottom: 0; background: #fff; padding: 24px var(--gutter); overflow-y: auto; display: grid; align-content: start; gap: 4px; border-top: 1px solid var(--line); }
.mobile-nav .panel > a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .panel .btn { margin-top: 20px; }
.mobile-nav .langs-inline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.mobile-nav .langs-inline a { font-size: 14px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.mobile-nav .langs-inline a[aria-current="true"] { border-color: var(--primary); color: var(--primary); font-weight: 700; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; font-stretch: 82%; letter-spacing: -0.02em; }
.hero h1 .date { display: block; color: var(--primary); }
.hero .lead { margin-top: 24px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 28px; font-size: 15px; color: var(--ink-muted); }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts .icon { color: var(--primary); width: 20px; height: 20px; }

/* Hero visual: a label on the battery housing and a phone with the passport */
.stage { position: relative; aspect-ratio: 1.02; border-radius: 28px; container-type: inline-size; background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.025) 0 2px, transparent 2px 7px),
    radial-gradient(120% 90% at 20% 10%, var(--housing-2), var(--housing) 70%);
  overflow: hidden; isolation: isolate; }
.stage::after { content: ""; position: absolute; right: -1px; top: 50%; width: 14px; height: 22%; transform: translateY(-50%); background: #fff; border-radius: 10px 0 0 10px; }
.stage-note { position: absolute; left: 6%; bottom: 7%; color: rgb(255 255 255 / 0.78); font-size: 13px; max-width: 30ch; line-height: 1.45; }
.stage-note a { color: #fff; }
.label { position: absolute; left: 6%; top: 10%; width: 54%; aspect-ratio: 2 / 1; background: #fff; border-radius: 6px; box-shadow: 0 18px 40px rgb(0 0 0 / 0.35); transform: rotate(-3deg); display: grid; grid-template-columns: 38% 1fr; align-items: center; gap: 4%; padding: 4.5%; color: #000; text-decoration: none; }
.label .qr { position: relative; }
.label .qr svg { width: 100%; height: auto; display: block; }
.scanline { position: absolute; left: -6%; right: -6%; height: 3px; top: 0; background: var(--brand); box-shadow: 0 0 14px 3px rgb(0 156 234 / 0.75); opacity: 0; }
.label .txt { font-family: var(--display); font-stretch: 80%; line-height: 1.22; font-size: 2.25cqw; }
.label .txt b { display: block; font-size: 1.22em; font-weight: 800; margin-bottom: 0.25em; }
.label .txt .ai { font-variant-numeric: tabular-nums; margin-top: 0.35em; display: block; }

.phone { position: absolute; right: 6%; top: 24%; width: 37%; aspect-ratio: 9 / 18.5; background: #0b0f17; border-radius: 34px; padding: 9px; box-shadow: 0 24px 60px rgb(0 0 0 / 0.45); }
.screen { width: 100%; height: 100%; border-radius: 26px; background: var(--plate); overflow: hidden; font-size: 10.5px; line-height: 1.35; display: flex; flex-direction: column; }
.screen .bar { background: #fff; padding: 12px 12px 9px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); }
.screen .bar .mark { width: 22px; height: 22px; border-radius: 6px; background: #1f6f43; color: #fff; display: grid; place-items: center; font: 800 10px/1 var(--display); }
.screen .bar span { font-weight: 700; font-size: 11px; }
.screen .bar .lng { margin-left: auto; font-weight: 600; color: var(--ink-muted); display: inline-flex; gap: 3px; align-items: center; }
.screen .bar .lng .icon { width: 12px; height: 12px; }
.screen .body { padding: 11px; display: grid; gap: 8px; }
.screen .title { margin: 0; font: 800 15px/1.15 var(--display); font-stretch: 85%; }
.screen .uid { font-variant-numeric: tabular-nums; color: var(--ink-muted); font-size: 9.5px; }
.verified { display: inline-flex; align-items: center; gap: 5px; background: #e8f5ec; color: #166534; font-weight: 700; padding: 4px 8px; border-radius: 999px; width: max-content; }
.verified .icon { width: 13px; height: 13px; }
.tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.tile, .group { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px; }
.tile small { display: block; color: var(--ink-muted); font-size: 9px; }
.tile strong { font-size: 11.5px; }
.tile .icon { width: 14px; height: 14px; color: var(--primary); margin-bottom: 3px; display: block; }
.group { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.group b { display: flex; gap: 5px; align-items: center; font-size: 10.5px; }
.group b .icon { width: 13px; height: 13px; color: var(--primary); }
.group p { color: var(--ink-muted); font-size: 9.5px; margin-top: 3px; }

/* The one orchestrated moment: the label is scanned, then the passport appears */
@media (prefers-reduced-motion: no-preference) {
  .scanline { animation: scan 1.5s 0.5s cubic-bezier(0.4, 0, 0.2, 1) 1 both; }
  .hero .screen-content { animation: appear 0.6s 1.85s ease-out both; }
  @keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  @keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Deadline */
.deadline { background: var(--plate); padding: 56px 0; }
.deadline .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cell { position: relative; width: 250px; height: 116px; border: 4px solid var(--ink); border-radius: 18px; padding: 8px; }
.cell::after { content: ""; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 10px; height: 38px; background: var(--ink); border-radius: 0 6px 6px 0; }
.charge { height: 100%; min-width: 14px; border-radius: 10px; background: var(--deadline); }
.cell strong { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; font: 800 50px/1 var(--display); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.cell small { font: 700 13px/1.1 var(--body); letter-spacing: 0; }
.deadline h2 { font-size: clamp(24px, 2.6vw, 32px); max-width: none; }
.deadline p { margin-top: 10px; color: var(--ink-muted); max-width: 68ch; }
.cats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; padding: 0; list-style: none; font-weight: 600; }
.cats li { display: flex; align-items: center; gap: 8px; }
.cats .icon { color: var(--primary); }

/* How it works */
.steps, .features-list { list-style: none; padding: 0; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; justify-items: start; }
.step .ui { justify-self: stretch; margin-top: 8px; }
.step-num { font: 800 15px/1 var(--display); color: #fff; background: var(--primary); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.step p { color: var(--ink-muted); }
.ui { background: var(--plate); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; font-size: 14px; display: grid; gap: 10px; align-content: start; }
.ui .row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.ui .row .icon { width: 18px; height: 18px; color: var(--primary); }
.ui .row .sub { color: var(--ink-muted); font-size: 12.5px; display: block; }
.ui .err { border-color: #f3c3c3; background: #fff6f6; }
.ui .err .icon { color: var(--error); }
.ui .ref { margin-left: auto; font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.ui .count { font-size: 13px; font-weight: 600; }
.bar-progress { height: 8px; background: #dbe4ec; border-radius: 99px; overflow: hidden; }
.bar-progress i { display: block; height: 100%; width: 100%; background: var(--ok); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; }

/* Who sees what */
.access .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.access .lead { margin-top: 16px; }
.layers { list-style: none; padding: 0; margin: 32px 0 0; display: grid; border-top: 1px solid var(--line); }
.layers li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.layers .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e8f3fb; color: var(--primary); }
.layers p { color: var(--ink-muted); margin-top: 4px; font-size: 16px; }
.soon { font-family: var(--body); font-size: 12.5px; font-weight: 700; color: #8a5a00; background: #fff3cd; padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; letter-spacing: 0; }
.access-visual { background: var(--plate); border-radius: 24px; padding: clamp(20px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.access-visual .phone { position: static; width: 100%; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; align-self: center; }
.langs p { flex-basis: 100%; font-size: 14px; color: var(--ink-muted); margin-top: 4px; }

/* Why AkkuPass */
.why { background: var(--housing); color: #fff; }
.why h2 { color: #fff; }
.claims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 56px; }
.claim h3 { font-size: clamp(24px, 2.4vw, 30px); font-stretch: 85%; color: #fff; margin: 16px 0 12px; }
.claim p { color: rgb(255 255 255 / 0.8); }
.claim .icon { width: 34px; height: 34px; color: var(--brand); }
.claim .proof { margin-top: 14px; font-size: 14px; color: rgb(255 255 255 / 0.68); }

/* Features: a list, not cards */
.features-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 80px); border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature .icon { color: var(--primary); width: 24px; height: 24px; margin-top: 2px; }
.feature h3 { font-size: 19px; }
.feature p { color: var(--ink-muted); font-size: 16px; margin-top: 4px; }

/* Developers */
.dev { background: var(--plate); }
.dev .wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.dev .lead { margin-top: 16px; }
.dev ul { padding-left: 20px; margin: 24px 0 0; color: var(--ink-muted); display: grid; gap: 6px; }
pre { margin: 0; background: #0b1424; color: #d7e3f4; border-radius: var(--radius-lg); padding: 24px; overflow-x: auto; font: 14px/1.6 ui-monospace, "Cascadia Code", Consolas, monospace; }
pre .k { color: #7cc7ff; } pre .s { color: #ffd479; } pre .c { color: #9aaac0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding: 40px 18px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--dot, var(--field)); }
.timeline .when { font: 800 22px/1.1 var(--display); font-stretch: 85%; display: block; }
.timeline h3 { font-size: 17px; margin: 8px 0 6px; }
.timeline p { font-size: 15px; color: var(--ink-muted); }
.timeline .now { --dot: var(--primary); }
.timeline .key { --dot: var(--ink); }
.timeline .key::before { background: var(--deadline); width: 22px; height: 22px; top: 1px; left: -3px; }
.timeline .pending .when { color: var(--ink-muted); }

/* Pilot */
.pilot .box { border: 2px solid var(--ink); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); }
.pilot .lead { margin-top: 16px; }
.pilot ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.pilot li { display: flex; gap: 12px; }
.pilot li .icon { color: var(--ok); }
.pilot .side { background: var(--plate); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 14px; align-content: start; justify-items: start; }
.pilot .side .big { font: 800 56px/1 var(--display); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.pilot .side p { color: var(--ink-muted); }
.pilot .side .small { font-size: 14px; }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 80px); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/0.9 var(--body); color: var(--primary); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 12px; color: var(--ink-muted); max-width: 64ch; }

/* Contact */
.contact { background: var(--plate); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.contact .lead { margin-top: 16px; }
.contact-info { margin-top: 28px; display: grid; gap: 10px; color: var(--ink-muted); }
.contact-info div { display: flex; gap: 10px; align-items: center; }
.contact-info .icon { color: var(--primary); }
.contact-form { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; align-content: start; }
.field input, .field select, .field textarea, .newsletter input { font: 16px var(--body); padding: 12px; border: 1px solid var(--field); border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { font-weight: 600; font-size: 14px; color: var(--error); }
.full { grid-column: 1 / -1; }
.consent { font-size: 13.5px; color: var(--ink-muted); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--radius-md); padding: 16px 18px; font-weight: 600; }
.notice .icon { margin-top: 1px; }
.notice-ok { background: #e8f5ec; color: #14532d; }
.notice-error { background: #fff6f6; color: #8e1c1c; }

/* Footer */
.site-footer { background: var(--housing); color: rgb(255 255 255 / 0.8); padding: 56px 0 32px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.2fr; gap: 32px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .links a { display: block; padding: 3px 0; }
.site-footer h2 { color: #fff; font-family: var(--body); font-stretch: 100%; font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; max-width: none; line-height: 1.4; }
.site-footer .brand img { height: 34px; width: auto; margin-bottom: 14px; }
.site-footer address { font-style: normal; margin-top: 14px; font-size: 14px; line-height: 1.55; }
.site-footer .linkbtn { display: block; background: none; border: 0; padding: 3px 0; font: inherit; color: #fff; cursor: pointer; text-align: left; }
.site-footer .linkbtn:hover { text-decoration: underline; }
.newsletter { display: grid; gap: 10px; margin-top: 10px; }
.newsletter .row { display: flex; gap: 8px; }
.newsletter input { padding: 10px 12px; border-color: transparent; }
.newsletter .btn { padding: 10px 16px; font-size: 15px; }
.newsletter .msg { font-size: 14px; color: #fff; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / 0.15); padding-top: 20px; font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.social { display: inline-flex; align-items: center; gap: 8px; }

/* Cookie consent */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 640px; margin-left: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 16px 48px rgb(15 23 42 / 0.2); padding: 20px 22px; display: grid; gap: 14px; font-size: 15px; }
.consent-banner[hidden] { display: none; }
.consent-banner h2 { font-size: 18px; max-width: none; }
.consent-banner .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-banner .btn { padding: 10px 18px; font-size: 15px; }

/* Inner pages: blog, legal, not found */
.page-head { background: var(--plate); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.page-head h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; font-stretch: 84%; max-width: 24ch; }
.page-head .lead { margin-top: 16px; }
.crumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--field); }
.crumbs a { color: var(--ink-muted); }
.narrow { max-width: 760px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.blog-search { display: flex; gap: 8px; margin-top: 28px; max-width: 560px; }
.blog-search input { flex: 1; min-width: 0; font: 16px var(--body); padding: 12px; border: 1px solid var(--field); border-radius: var(--radius-sm); }
.posts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.post { display: grid; gap: 12px; align-content: start; }
.post .cover { aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--plate); }
.post .cover img { width: 100%; height: 100%; object-fit: cover; }
.post time { font-size: 14px; color: var(--ink-muted); }
.post h2, .post h3 { font-size: 22px; font-weight: 700; font-stretch: 90%; line-height: 1.2; max-width: none; }
.post h2 a, .post h3 a { color: var(--ink); text-decoration: none; }
.post h2 a:hover, .post h3 a:hover { color: var(--primary); }
.post p { color: var(--ink-muted); font-size: 16px; }
/* Guides on the home page and related articles under a post */
.related { background: var(--plate); }
.related h2 { margin-bottom: 32px; }
.guides-all { margin-top: 40px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; }
.empty { color: var(--ink-muted); }

.prose { font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-top: 0.4em; }
.prose h2 { font-size: clamp(25px, 2.6vw, 32px); font-weight: 750; max-width: none; margin-top: 1.8em; }
.prose h3 { font-size: 21px; margin-top: 1.5em; }
.prose h4 { font-size: 18px; margin-top: 1.4em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose img { border-radius: var(--radius-md); margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); color: var(--ink-muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--plate); font-weight: 700; }
.prose code { background: var(--plate); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.prose header, .prose section { display: block; }
.prose > header > * + *, .prose > section > * + * { margin-top: 1.1em; }
.article-meta { margin-top: 18px; color: var(--ink-muted); font-size: 15px; display: flex; gap: 8px; align-items: center; }
.article-meta .icon { width: 18px; height: 18px; }
.article-end { margin-top: 56px; padding: 28px; border-radius: var(--radius-lg); background: var(--plate); display: grid; gap: 14px; justify-items: start; }
.article-end h2 { font-size: 24px; max-width: none; }

/* Responsive */
/* Between the mobile menu and wide screens the header button gives way to the menu (the pilot link stays). */
@media (max-width: 1279px) {
  .site-header .wrap > .btn { display: none; }
}
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 980px) {
  .nav, .site-header .lang-menu, .site-header .wrap > .btn { display: none; }
  .mobile-nav { display: block; }
  .hero .wrap, .access .wrap, .dev .wrap, .faq .wrap, .contact .wrap, .pilot .box { grid-template-columns: 1fr; }
  .steps, .claims, .posts { grid-template-columns: 1fr; }
  .step { grid-row: auto; grid-template-rows: none; margin-bottom: 24px; }
  .features-list { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding: 0 0 26px 40px; }
  .deadline .wrap { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) and (max-width: 980px) {
  .posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .lead { font-size: 17.5px; }
  .stage { aspect-ratio: 0.82; }
  .label { width: 66%; left: 5%; top: 6%; }
  .label .txt { font-size: 2.9cqw; }
  .phone { width: 57%; right: 5%; top: 33%; }
  .stage-note { display: none; }
  .facts { grid-template-columns: 1fr; }
  .access-visual { grid-template-columns: 1fr; }
  .access-visual .phone { width: 70%; justify-self: center; }
  .contact-form { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .cell { width: 200px; height: 96px; }
  .cell strong { font-size: 40px; }
  .cell small { font-size: 12px; }
  .prose { font-size: 17px; }
  .lang-menu ul { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .consent-banner { display: none; }
}
