/* Orteris website. Built from the Design canvas in site/design/ (Main.dc.html, Home-PL.dc.html, Brand.dc.html).
   Tokens from the brand sheet; layout values copied from the canvas so the pages match it. */
:root {
  --ink: #0F1311;          /* Ink */
  --film: #EEF0EB;         /* Plotting film */
  --film-shaded: #E2E5DF;  /* Film, shaded */
  --fix: #D4F53C;          /* Fix (accent): fill on dark ground, never thin text on light */
  --fix-text: #4F6600;     /* Fix, text on film */
  --spoof: #FF5A47;        /* Spoofed GPS only */
  --on-ink: #E9ECE6;
  --on-ink-2: #C9CFC8;
  --on-ink-3: #9CA59D;
  --text-2: #333A35;
  --label: #4A524C;
  --line: #C5CBC3;
  --line-ink: #2A302C;
  --ghost-border: #6C746D;
  --panel: #121714;
  --bar-off: #3A413C;
  --step-off: #A9B0A8;
  --gutter: clamp(16px, 5vw, 72px);
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--film);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fix); outline-offset: 3px; }
.page:not(.dark) :focus-visible, section:not(.dark) :focus-visible { outline-color: var(--ink); }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--fix); color: var(--ink); padding: 12px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* shared pieces */
.dark { background: var(--ink); color: var(--on-ink); }
.inner { max-width: 1296px; margin: 0 auto; }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 12px; color: var(--label); }
.dark .label { color: var(--on-ink-3); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fix-text); margin: 0;
}
.dark .eyebrow { color: var(--fix); }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
.h2 {
  font-weight: 600; font-stretch: 108%; font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance;
}
.h3 { font-size: 22px; font-weight: 600; font-stretch: 104%; }
.stack { display: flex; flex-direction: column; }
.head-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 48px;
}
.copy { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.dark .copy { color: var(--on-ink-2); }
.btn {
  display: inline-block; text-decoration: none; border-radius: 2px; font-size: 16px; padding: 15px 22px;
}
.btn-fix { background: var(--fix); color: var(--ink); font-weight: 600; }
.btn-fix:hover { background: #E1FB6A; }
.btn-ghost { border: 1px solid var(--ghost-border); color: var(--on-ink); padding: 14px 22px; }
.btn-ghost:hover { border-color: var(--on-ink); }

/* hero */
.hero {
  position: relative; min-height: 860px; display: flex; flex-direction: column; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%;
}
.nav {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding: 24px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-ink); text-decoration: none; }
.wordmark { font-weight: 600; font-stretch: 125%; letter-spacing: 0.16em; }
.brand .wordmark { font-size: 17px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav-links > a:not(.btn) { color: var(--on-ink); text-decoration: none; padding: 10px 0; }
.nav-links > a:not(.btn):hover { color: var(--fix); }
.nav-links .btn { font-size: 15px; padding: 12px 18px; }
.lang {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; display: flex; gap: 6px; align-items: center;
}
.lang a { color: var(--on-ink-3); text-decoration: none; padding: 10px 2px; }
.lang a:hover { color: var(--on-ink); }
.lang .sep { color: var(--label); }
.lang [aria-current] { color: var(--on-ink); border-bottom: 1px solid var(--fix); padding: 2px; }
.hero-body {
  position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 48px var(--gutter) 40px; max-width: 760px;
}
html[lang="pl"] .hero-body { max-width: 780px; }
.hero h1 {
  font-weight: 600; font-stretch: 112%; font-size: clamp(52px, 7.4vw, 112px); line-height: 0.94;
  letter-spacing: -0.02em; text-wrap: balance;
}
.hero-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--on-ink-2); max-width: 36ch; }
html[lang="pl"] .hero-lede { max-width: 38ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-strip {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding: 18px var(--gutter); border-top: 1px solid var(--line-ink); font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em; color: var(--on-ink-3); background: rgba(15, 19, 17, 0.55);
}
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.legend > span { display: flex; gap: 8px; align-items: center; }
.key-fix { width: 14px; height: 2px; background: var(--fix); }
.key-spoof { width: 14px; height: 0; border-top: 2px dashed var(--spoof); }
.key-drone { width: 10px; height: 10px; border: 1.5px solid var(--on-ink); border-radius: 50%; }

/* sections */
.section { padding: 104px var(--gutter); }

/* numbers */
.numbers { padding: 96px var(--gutter) 88px; }
.numbers .inner { gap: 48px; }
.numbers .head-row { gap: 16px 48px; }
.numbers .h2 { max-width: 18ch; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--ink); }
.stat { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 8px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat-value { font-weight: 500; font-stretch: 108%; font-size: clamp(48px, 5vw, 76px); line-height: 1; letter-spacing: -0.03em; }
.stat p { font-size: 16px; line-height: 1.5; color: var(--text-2); max-width: 32ch; }
.fineprint { font-size: 14px; line-height: 1.55; color: var(--label); max-width: 80ch; }

/* problem */
.problem { padding: 0 var(--gutter) 104px; }
.problem .inner {
  display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; border-top: 1px solid var(--line); padding-top: 88px;
}
.problem-text { flex: 1 1 420px; min-width: 0; gap: 20px; }
.problem-text .copy { max-width: 58ch; }
.jam { flex: 1 1 380px; min-width: 0; gap: 16px; padding: 36px; }
.jam-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--on-ink-3); }
.jam-value { font-weight: 500; font-stretch: 108%; font-size: clamp(72px, 8vw, 120px); line-height: 0.9; letter-spacing: -0.04em; }
.jam-sub { font-size: 17px; color: var(--on-ink-2); }
.jam-bar { display: flex; height: 14px; gap: 2px; margin-top: 8px; }
.jam-bar .on { flex: 70 1 0; background: var(--spoof); }
.jam-bar .off { flex: 30 1 0; background: var(--bar-off); }
.jam figcaption { font-size: 13px; line-height: 1.5; color: var(--on-ink-3); }

/* how it works */
.how .inner { gap: 56px; }
.how .head-row > .stack { gap: 20px; max-width: 680px; }
.how .head-row > p { font-size: 17px; line-height: 1.6; color: var(--on-ink-2); max-width: 44ch; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.step img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.step-tag { font-family: var(--mono); font-size: 12px; color: var(--fix); }
.step p { font-size: 16px; line-height: 1.6; color: var(--on-ink-2); }
.traits {
  display: flex; flex-wrap: wrap; gap: 10px 0; border-top: 1px solid var(--line-ink); padding-top: 24px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--on-ink-3); list-style: none; padding-left: 0;
}
.traits li:not(:last-child) { padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--line-ink); }

/* proof: maps age */
.proof .inner { gap: 40px; }
.proof .head-row > .stack { gap: 20px; max-width: 640px; }
.proof .head-row > p { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 46ch; }
.proof strong { font-weight: 600; }
.compare-fig { gap: 14px; }
.compare { --split: 50%; position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--split)); }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--fix); }
.tag { position: absolute; top: 16px; font-family: var(--mono); font-size: 12px; padding: 6px 10px; }
.tag-map { left: 16px; background: var(--ink); color: var(--on-ink); }
.tag-cam { right: 16px; background: var(--fix); color: var(--ink); }
.slider { display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 12px; color: var(--label); }
.slider input { flex: 1 1 auto; accent-color: var(--ink); height: 44px; margin: 0; }
.compare-fig figcaption { font-size: 13px; color: var(--label); }

/* swarm */
.swarm .inner { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: center; }
.swarm-text { flex: 1 1 440px; min-width: 0; gap: 22px; }
.swarm-text .copy { max-width: 52ch; }
.swarm dl { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--line-ink); }
.swarm dl > div { padding: 20px 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.swarm dt { font-family: var(--mono); font-size: 12px; color: var(--on-ink-3); }
.swarm dd { font-size: 34px; font-weight: 500; font-stretch: 108%; }
.swarm dd.bad { color: var(--spoof); }
.swarm-note { font-size: 13px; color: var(--on-ink-3); }
.formation {
  flex: 1 1 400px; min-width: 0; position: relative; height: 420px; border: 1px solid var(--line-ink); background: var(--panel);
}
.formation svg { position: absolute; inset: 0; }
.formation .at { position: absolute; transform: translate(-50%, -50%); }
.formation .txt { position: absolute; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.lead { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--fix); background: var(--ink); display: flex; align-items: center; justify-content: center; }
.lead::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--fix); }
.follower { display: block; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--on-ink); background: var(--ink); }
.formation .report { font-size: 11px; color: var(--on-ink-3); background: var(--panel); padding: 2px 6px; }
.formation .radio { position: absolute; left: 16px; bottom: 14px; font-family: var(--mono); font-size: 11px; color: var(--on-ink-3); }

/* uses + why Poland */
.uses .inner { gap: 48px; }
.uses .inner > .stack:first-child { gap: 20px; max-width: 720px; }
html[lang="pl"] .uses .inner > .stack:first-child { max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--film-shaded); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.poland { display: flex; flex-wrap: wrap; gap: 32px 72px; border-top: 1px solid var(--line); padding-top: 40px; }
.poland h3 { flex: 1 1 300px; font-size: 28px; line-height: 1.15; font-weight: 600; font-stretch: 108%; }
.poland ul { padding: 0; list-style: none; flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; }
.poland li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.poland li .num { font-family: var(--mono); font-size: 12px; color: var(--fix-text); padding-top: 4px; }

/* roadmap */
.roadmap { background: var(--film-shaded); padding: 96px var(--gutter); }
.roadmap .inner { gap: 44px; }
.roadmap .inner > .stack { gap: 20px; max-width: 720px; }
html[lang="pl"] .roadmap .inner > .stack { max-width: 760px; }
.plan { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan li { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 24px 0; border-top: 3px solid var(--ink); }
.plan li:last-child { padding-right: 0; }
.plan li.later { border-top-color: var(--step-off); }
.plan .when { font-family: var(--mono); font-size: 12px; color: var(--label); padding: 3px 0; align-self: flex-start; }
.plan .when.done { color: var(--ink); background: var(--fix); padding: 3px 8px; }
.plan h3 { font-size: 20px; font-weight: 600; }
.plan p { font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* FAQ */
.faq .inner { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.faq .h2 { flex: 1 1 280px; text-wrap: initial; }
.faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 600; min-height: 28px; }
.faq details p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 62ch; }

/* contact + footer */
.contact { padding: 104px var(--gutter) 88px; }
.contact .inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 40px 72px; }
.contact-text { flex: 1 1 520px; min-width: 0; gap: 22px; }
.contact h2 { font-weight: 600; font-stretch: 112%; font-size: clamp(40px, 5vw, 76px); line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.contact-text .copy { max-width: 52ch; }
.contact-actions { flex: 0 1 380px; display: flex; flex-direction: column; gap: 14px; }
.contact-actions .btn { text-align: center; padding: 16px 22px; }
.contact-actions .btn-ghost { padding: 15px 22px; }
.email { font-family: var(--mono); font-size: 20px; color: var(--on-ink); user-select: all; }
.footer { color: var(--on-ink-3); padding: 0 var(--gutter) 40px; }
.footer .inner {
  border-top: 1px solid var(--line-ink); padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 16px 40px; font-size: 13px; line-height: 1.6;
}
.footer .mark { display: flex; align-items: center; gap: 10px; color: var(--on-ink); }
.footer .mark .etym { color: var(--on-ink-3); }
.p-lead { left: 50%; top: 120px; }
.p-f2 { left: 24%; top: 300px; }
.p-f3 { left: 76%; top: 300px; }
.t-lead { left: 50%; top: 40px; color: var(--fix); }
.t-f2 { left: 24%; top: 340px; color: var(--on-ink-2); }
.t-f3 { left: 76%; top: 340px; color: var(--on-ink-2); }
.formation .report { left: 50%; top: 200px; }
.gap-24 { gap: 24px; }
body.dark { min-height: 100vh; }

/* phone: when the three stats stack, drop the column dividers and side padding */
@media (max-width: 860px) {
  .stat, .stat:first-child, .stat:last-child { padding: 24px 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}
.swarm dd { white-space: nowrap; }
@media (max-width: 480px) { .swarm dd { font-size: 28px; } }
a.email { text-decoration: none; border-bottom: 1px solid var(--line-ink); align-self: flex-start; }
a.email:hover { border-bottom-color: var(--fix); }
