/* OlympIA Advisory Luxembourg — feuille de style du site */
/* Polices auto-hébergées (SIL Open Font License 1.1) */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/lexend-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lexend-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/lexend-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend Exa"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lexend-exa-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend Exa"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/lexend-exa-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
/* Layout: dark single-theme taken from the OlympIA deck. Content column 1180px; the deck's glowing
   horizon line separates the big movements; hero = statement left, emblem right. */
:root {
  color-scheme: dark;
  --night: #04070e;
  --deep: #070e1a;
  --panel: #0b1526;
  --panel-hi: #0f1c33;
  --rule: #18263d;
  --rule-hi: #24375a;
  --text: #e7edf6;
  --muted: #8f9db4;
  --faint: #5d6c85;
  --cyan: #2fc8f2;
  --blue: #2a74ff;
  --chrome-hi: #f5f7fa;
  --chrome-lo: #8e98a6;

  --f-display: "Lexend", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-wide: "Lexend Exa", "Lexend", "Avenir Next", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.35rem, 1.5rem + 3.6vw, 4.1rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

a { color: inherit; }
::selection { background: rgba(47, 200, 242, .35); color: var(--chrome-hi); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--f-wide);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0;
}
h1, h2, h3 { font-family: var(--f-display); font-weight: 300; text-wrap: balance; margin: 0; color: var(--chrome-hi); }
h2 { font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 400; line-height: 1.3; letter-spacing: 0; }
p { margin: 0; }
.muted { color: var(--muted); }

.section { padding-block: clamp(72px, 9vw, 128px); scroll-margin-top: var(--header-h); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p.lede { color: var(--muted); font-size: var(--step-1); line-height: 1.55; max-width: 62ch; }

/* The deck's signature: a thin horizon line with a bright core */
.horizon { position: relative; height: 1px; max-width: var(--wrap); margin-inline: auto;
  background: linear-gradient(90deg, transparent, rgba(47,200,242,.22) 22%, rgba(150,230,255,.9) 50%, rgba(47,200,242,.22) 78%, transparent); }
.horizon::after { content: ""; position: absolute; left: 50%; top: -3px; width: 180px; height: 7px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(120,220,255,.75), rgba(47,200,242,0) 70%); filter: blur(2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(4, 7, 14, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(36, 55, 90, .55);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { height: 15px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.875rem; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--chrome-hi); }
.header-tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.lang { display: inline-flex; border: 1px solid var(--rule-hi); border-radius: 999px; padding: 2px; }
.lang button {
  font: 500 0.6875rem/1 var(--f-wide); letter-spacing: .14em; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; padding: 7px 10px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--panel-hi); color: var(--chrome-hi); box-shadow: inset 0 0 0 1px rgba(47,200,242,.35); }
.menu-btn { display: none; background: transparent; border: 1px solid var(--rule-hi); color: var(--text); border-radius: 10px; width: 40px; height: 36px; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; display: block; margin: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 500 0.9375rem/1 var(--f-body); letter-spacing: .01em;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: linear-gradient(180deg, #3fd0f6, #1aa9e0); color: #021019; box-shadow: 0 0 0 1px rgba(150,230,255,.35) inset, 0 8px 28px -10px rgba(47,200,242,.65); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(190,240,255,.5) inset, 0 12px 34px -10px rgba(47,200,242,.8); }
.btn-ghost { color: var(--chrome-hi); border-color: var(--rule-hi); background: rgba(15, 28, 51, .4); }
.btn-ghost:hover { border-color: rgba(47,200,242,.55); }
.btn-sm { padding: 10px 16px; font-size: 0.8125rem; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 74% 42%, rgba(42,116,255,.16), transparent 60%),
    radial-gradient(rgba(140,175,230,.09) 1px, transparent 1.2px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
          mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center;
  gap: clamp(24px, 5vw, 72px); padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px);
}
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 { font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: transparent;
  background: linear-gradient(100deg, var(--chrome-hi) 0%, #c9d1db 38%, var(--cyan) 72%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; }
.hero .lede { font-size: var(--step-1); color: var(--muted); max-width: 54ch; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; min-width: 0; display: grid; place-items: center; }
.hero-art img { width: 100%; max-width: 520px; height: auto; display: block;
  filter: drop-shadow(0 0 42px rgba(42,116,255,.28)); animation: emblemIn 1.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes emblemIn { from { opacity: .3; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

.hero .horizon { animation: horizonIn 1.6s cubic-bezier(.2,.7,.2,1) .15s both; transform-origin: center; }
@keyframes horizonIn { from { transform: scaleX(.15); opacity: .4; } to { transform: scaleX(1); opacity: 1; } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 32px 8px; }
.fact { display: grid; gap: 6px; padding: 8px clamp(16px, 3vw, 36px); border-left: 1px solid var(--rule); min-width: 0; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); color: var(--cyan); line-height: 1.1; letter-spacing: -0.01em; }
.fact span { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-text { display: grid; gap: 20px; min-width: 0; }
.about-text .strong { color: var(--chrome-hi); font-size: var(--step-1); line-height: 1.5; font-weight: 500; }
.about-text p:not(.eyebrow):not(.strong) { color: var(--muted); max-width: 60ch; }

.stack { position: relative; padding: 28px 24px 28px 52px; border: 1px solid var(--rule); border-radius: 18px;
  background: linear-gradient(180deg, rgba(15,28,51,.55), rgba(11,21,38,.25)); min-width: 0; }
.stack::before { /* the circuit trace */
  content: ""; position: absolute; left: 26px; top: 40px; bottom: 58px; width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(42,116,255,.55)); box-shadow: 0 0 10px rgba(47,200,242,.45); }
.stack-head { position: relative; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.stack-head::before { content: ""; position: absolute; left: -31px; top: 6px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 4px rgba(47,200,242,.15), 0 0 14px rgba(47,200,242,.8); }
.stack-head b { font-family: var(--f-wide); font-weight: 500; font-size: 0.75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--chrome-hi); }
.stack-head span { color: var(--muted); font-size: 0.875rem; }
.layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.layers li { position: relative; display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--rule-hi); border-radius: 12px; background: var(--panel); }
.layers li::before { content: ""; position: absolute; left: -27px; top: 50%; width: 26px; height: 1px; background: rgba(47,200,242,.6); }
.layers li::after { content: ""; position: absolute; left: -30px; top: calc(50% - 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--night); border: 1px solid var(--cyan); }
.layer-name { font-family: var(--f-display); font-weight: 400; color: var(--chrome-hi); font-size: 1.0625rem; }
.layer-items { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: .01em; }
.stack-foot { margin-top: 14px; font-family: var(--f-mono); font-size: 0.72rem; color: var(--faint); letter-spacing: .04em; }

/* ---------- Services ---------- */
.services { background: var(--deep); border-block: 1px solid var(--rule); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.svc { display: grid; grid-template-rows: auto auto 1fr; gap: 14px; padding: 30px 28px 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-width: 0; transition: background .25s; }
.svc:hover { background: rgba(15,28,51,.6); }
.ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--cyan);
  background: rgba(47,200,242,.08); border: 1px solid rgba(47,200,242,.22); }
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc p { color: var(--muted); font-size: 0.96875rem; }
.svc-extra { margin-top: 22px; display: flex; gap: 14px; align-items: baseline; color: var(--muted); font-size: 0.9375rem; }
.svc-extra b { font-family: var(--f-mono); color: var(--cyan); font-weight: 500; }

.diff { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 28px; align-items: center;
  padding: 28px clamp(20px, 3vw, 36px); border-radius: 18px; border: 1px solid rgba(47,200,242,.28);
  background: radial-gradient(ellipse 80% 140% at 0% 50%, rgba(42,116,255,.14), transparent 60%), var(--panel); }
.diff .ico { width: 52px; height: 52px; border-radius: 14px; }
.diff .ico svg { width: 26px; height: 26px; }
.diff-text { display: grid; gap: 8px; min-width: 0; }
.diff-text h3 { font-size: var(--step-2); font-weight: 300; }
.diff-text p:not(.eyebrow) { color: var(--muted); max-width: 70ch; }
.diff-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tag { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--rule-hi); color: var(--text); background: rgba(4,7,14,.5); white-space: nowrap; }

/* ---------- Vision ---------- */
.vision-statement { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.2rem); line-height: 1.35; color: var(--chrome-hi); max-width: 30em; text-wrap: pretty; letter-spacing: -0.005em; }
.vision-statement b { font-weight: 400; color: var(--cyan); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.value { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--rule-hi); position: relative; min-width: 0; }
.value::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--cyan); box-shadow: 0 0 10px rgba(47,200,242,.7); }
.value h3 { font-size: var(--step-2); font-weight: 300; }
.value p { color: var(--muted); }
.strategy { margin-top: clamp(36px, 4vw, 52px); display: flex; gap: 16px; align-items: baseline; padding: 20px 24px; border-radius: 14px; background: var(--panel); border: 1px solid var(--rule); }
.strategy .eyebrow { flex: 0 0 auto; }
.strategy p:not(.eyebrow) { color: var(--muted); min-width: 0; }

/* ---------- Why ---------- */
.why { background: var(--deep); border-block: 1px solid var(--rule); }
.why-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.why-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.reason { display: grid; gap: 10px; align-content: start; padding: 26px 24px 28px; border-radius: 16px; background: var(--panel); border: 1px solid var(--rule); min-width: 0; }
.reason .k { font-family: var(--f-mono); font-size: 0.72rem; color: var(--cyan); letter-spacing: .08em; }
.reason h3 { font-size: 1.3125rem; font-weight: 400; }
.reason p { color: var(--muted); font-size: 0.96875rem; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.profile { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 40px 28px 36px; border-radius: 20px; border: 1px solid var(--rule-hi);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(42,116,255,.16), transparent 70%), var(--panel); min-width: 0; }
.avatar { width: 168px; height: 168px; border-radius: 50%; padding: 4px; background: linear-gradient(160deg, var(--cyan), rgba(42,116,255,.4) 60%, rgba(47,200,242,.1));
  box-shadow: 0 0 40px -6px rgba(47,200,242,.55); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: var(--night); }
.profile h3 { font-size: 1.625rem; font-weight: 400; margin-top: 6px; }
.profile .role { font-family: var(--f-wide); font-size: 0.6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.profile .quote { color: var(--muted); font-size: 0.9375rem; max-width: 30ch; margin-top: 8px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; }
.points .ico { width: 44px; height: 44px; border-radius: 50%; }
.points h3 { margin-bottom: 6px; }
.points p { color: var(--muted); max-width: 62ch; }

/* ---------- Ecosystem ---------- */
.eco { background: var(--deep); border-block: 1px solid var(--rule); }
.eco-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.eco-grid li { background: var(--panel); display: grid; place-items: center; text-align: center; min-height: 96px; padding: 16px 10px; min-width: 0;
  font-family: var(--f-display); font-weight: 400; font-size: 1.125rem; color: #c5cfdc; letter-spacing: .005em; transition: color .2s, background .2s; overflow-wrap: anywhere; }
.eco-grid li:hover { color: var(--chrome-hi); background: var(--panel-hi); }
.eco-note { margin-top: 18px; font-size: 0.875rem; color: var(--faint); }

/* ---------- Sectors ---------- */
.partner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: 18px;
  border: 1px solid var(--rule-hi); background: linear-gradient(120deg, rgba(42,116,255,.12), transparent 55%), var(--panel); margin-bottom: clamp(40px, 5vw, 64px); }
.partner-name { display: grid; gap: 8px; }
.partner-name strong { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); color: var(--chrome-hi); }
.partner p:not(.eyebrow) { color: var(--muted); max-width: 72ch; }
.sub-eyebrow { margin-bottom: 20px; }
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sectors li { display: grid; gap: 18px; align-content: start; padding: 26px 22px; border-radius: 16px; border: 1px solid var(--rule); background: var(--panel); min-width: 0; }
.sectors .ico { width: 48px; height: 48px; border-radius: 50%; }
.sectors .ico svg { width: 22px; height: 22px; }
.sectors span { font-family: var(--f-display); font-weight: 400; color: var(--chrome-hi); font-size: 1.0625rem; line-height: 1.35; }

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 85% 100%, rgba(42,116,255,.18), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact h2 { font-size: var(--step-4); line-height: 1.05; }
.contact-intro { display: grid; gap: 22px; min-width: 0; }
.contact-intro p:not(.eyebrow) { color: var(--muted); font-size: var(--step-1); max-width: 44ch; }
.channels { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule-hi); }
.channels li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule-hi); }
.channels .ico { width: 40px; height: 40px; border-radius: 50%; }
.ch-label { display: block; font-family: var(--f-wide); font-size: 0.625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.ch-value { color: var(--chrome-hi); font-size: 1.0625rem; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.ch-value.addr { user-select: text; -webkit-user-select: text; }
.copy, .ext { font: 500 0.75rem/1 var(--f-body); color: var(--muted); background: transparent; border: 1px solid var(--rule-hi); border-radius: 999px; padding: 8px 12px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: color .2s, border-color .2s; }
.copy:hover, .ext:hover { color: var(--chrome-hi); border-color: rgba(47,200,242,.55); }
.copy.done { color: var(--cyan); border-color: rgba(47,200,242,.55); }
.legal-id { margin-top: 22px; font-family: var(--f-mono); font-size: 0.75rem; color: var(--faint); letter-spacing: .04em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: 36px 44px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.footer-row img { height: 13px; width: auto; display: block; opacity: .9; }
.footer-legal { color: var(--faint); font-size: 0.8125rem; line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.8125rem; }
.footer-nav a:hover { color: var(--chrome-hi); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { gap: 20px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .diff { grid-template-columns: auto minmax(0, 1fr); }
  .diff-tags { grid-column: 1 / -1; justify-content: flex-start; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid .section-head { position: static; margin-bottom: 8px; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: rgba(4,7,14,.97); border-bottom: 1px solid var(--rule-hi); padding: 8px var(--gutter) 16px; display: none; }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; color: var(--text); }
  .header-tools { margin-left: auto; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; }
  .hero-art img { max-width: 360px; }
  .about-grid, .founder-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .profile { max-width: 440px; }
  .values { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .brand img { height: 11px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 20px; }
  .fact { border-left: 0; padding: 16px 0; border-top: 1px solid var(--rule); }
  .fact:first-child { border-top: 0; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 26px 20px 28px; }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .diff { grid-template-columns: minmax(0, 1fr); }
  .partner { grid-template-columns: minmax(0, 1fr); }
  .strategy { flex-direction: column; gap: 8px; }
  .stack { padding: 22px 16px 22px 44px; }
  .stack::before { left: 20px; }
  .stack-head::before { left: -29px; }
  .layers li::before { left: -23px; width: 22px; }
  .layers li::after { left: -27px; }
  .eco-grid li { font-size: 0.9375rem; min-height: 78px; }
  .channels li { grid-template-columns: 36px minmax(0, 1fr); }
  .channels li > :last-child { grid-column: 2; justify-self: start; }
  .channels .ico { width: 36px; height: 36px; }
}
@media (max-width: 380px) {
  .sectors { grid-template-columns: minmax(0, 1fr); }
  .lang button { padding: 7px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art img, .hero .horizon { animation: none; }
  .btn, .svc, .eco-grid li { transition: none; }
}

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--cyan); color: #021019; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Hosted version additions ---------- */
.lang a {
  font: 500 0.6875rem/1 var(--f-wide); letter-spacing: .14em; color: var(--muted);
  border-radius: 999px; padding: 7px 10px; text-decoration: none; display: inline-block;
}
.lang a:hover { color: var(--chrome-hi); }
.lang a[aria-current="page"] { background: var(--panel-hi); color: var(--chrome-hi); box-shadow: inset 0 0 0 1px rgba(47,200,242,.35); }

a.ch-value { text-decoration: none; user-select: text; -webkit-user-select: text; }
a.ch-value:hover { color: var(--cyan); }

.footer-nav .sep { width: 1px; height: 12px; background: var(--rule-hi); align-self: center; }

/* Without JavaScript the mobile menu stays visible as a simple row of links */
@media (max-width: 860px) {
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .header-row { flex-wrap: wrap; }
  html:not(.js) .nav { display: flex; position: static; order: 3; width: 100%; flex-direction: row; flex-wrap: wrap;
    gap: 6px 18px; padding: 0 0 14px; background: none; border: 0; }
  html:not(.js) .nav a { border: 0; padding: 4px 0; font-size: 0.875rem; }
}

/* ---------- Legal pages ---------- */
.legal-page { padding-block: clamp(56px, 8vw, 96px) clamp(72px, 9vw, 120px); }
.legal-wrap { max-width: 860px; }
.legal-page h1 { font-size: var(--step-4); line-height: 1.05; letter-spacing: -0.02em; margin: 14px 0 18px; }
.legal-intro { color: var(--muted); font-size: var(--step-1); max-width: 60ch; }
.legal-page section { margin-top: clamp(44px, 6vw, 64px); scroll-margin-top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.legal-page h2 { font-size: var(--step-2); font-weight: 400; line-height: 1.25; }
.legal-page h3 { font-size: 1.0625rem; font-weight: 500; margin-top: 8px; }
.legal-page p:not(.eyebrow):not(.legal-updated), .legal-page li { color: var(--muted); max-width: 68ch; }
.legal-page ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal-page a { color: var(--cyan); text-underline-offset: 3px; }
.legal-list { margin: 0; border-top: 1px solid var(--rule-hi); }
.legal-list > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.legal-list dt { color: var(--faint); font-size: 0.875rem; }
.legal-list dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.legal-updated { margin-top: clamp(44px, 6vw, 64px); font-family: var(--f-mono); font-size: 0.75rem; color: var(--faint); letter-spacing: .04em; }
.todo { background: rgba(255, 196, 0, .14); color: #ffd666; border: 1px dashed rgba(255, 214, 102, .6); border-radius: 6px; padding: 1px 6px; font-family: var(--f-mono); font-size: .85em; }
@media (max-width: 640px) {
  .legal-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; gap: 22px; padding-block: 96px; }
.notfound h1 { font-size: var(--step-4); line-height: 1.05; }
.notfound p { color: var(--muted); max-width: 52ch; }
.notfound .hero-actions { margin-top: 6px; }
