/* Copernix site: a dark, steel-graphite instrument look with light bands.
   Blue is for actions, cyan for signal data; red only marks errors (--bad). */
:root {
  color-scheme: dark;
  --bg: #0B1016;
  --bg-2: #0F151D;
  --bg-3: #080B10;
  --panel: #121A23;
  --panel-2: #19232E;
  --line: #222D3A;
  --line-2: #35424F;
  --text: #E9EDF2;
  --text-2: #C6CFDA;
  --muted: #A9B4C1;
  --faint: #7C8897;
  /* Product blue, from the Liberandum's lettering: actions and links. */
  --accent: #2A66D6;
  --accent-hover: #2358BF;
  --accent-text: #8AB4FF;
  /* Signal cyan, the operator screen's accent: readouts, bearings, labels. */
  --signal: #64D2FF;
  --bad: #F2796B;
  --light: #F1F4F7;
  --light-text: #0B1016;
  --light-muted: #45505E;
  --light-line: #CFD6DF;
  --light-accent: #1F55C4;
  --ok: #7FD19E;
  --info: #8DB6E8;
  --warn: #E8B865;
  --display: 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --body: 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
a:hover { color: #B8D0FF; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(64px, 9vw, 120px); }
.band--tight { padding-block: clamp(48px, 6vw, 88px); }
.band--alt { background: var(--bg-2); border-block: 1px solid #1E2733; }
.band--light { background: var(--light); color: var(--light-text); }
.band--light a { color: var(--light-accent); }

.eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase; color: var(--signal); margin: 0; }
.band--light .eyebrow { color: var(--light-accent); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.display { font-family: var(--display); font-weight: 600; line-height: 1.06; letter-spacing: -0.022em; }
h1.display { font-size: clamp(2.5rem, 5vw, 4.1rem); }
h2.display { font-size: clamp(1.9rem, 3.3vw, 2.8rem); line-height: 1.1; }
h3.card-title { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; }
h3.small-title { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; margin: 0; }
.band--light .lead, .band--light p { color: var(--light-muted); }
p { margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--lg { gap: 28px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > .stack { max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 4px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; font-family: var(--body); cursor: pointer; }
.btn--primary { background: var(--accent); color: #FFFFFF; }
.btn--primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); font-weight: 500; }
.btn--ghost:hover { border-color: var(--text-2); color: var(--text); }
.btn--dark { background: var(--bg); color: #FFFFFF; }
.btn--dark:hover { background: #000000; color: #FFFFFF; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(10, 14, 19, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid #1E2733; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: 0.3em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.3vw, 24px); font-size: 14.5px; font-weight: 500; margin-left: auto; }
.nav a:not(.btn) { color: var(--text-2); text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:not(.btn):hover { color: #FFFFFF; }
.nav a[aria-current="page"] { color: #FFFFFF; border-bottom-color: var(--signal); }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-2); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1279px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid #1E2733; }
  .nav a[aria-current="page"] { border-bottom-color: var(--signal); }
  .nav .btn { margin-top: 16px; }
  .site-header .wrap { gap: 12px; }
  .lang-switch { margin-left: auto; }
  .nav-toggle { order: 2; }
}

/* Language switch */
.lang-switch { display: flex; flex-shrink: 0; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; letter-spacing: 1px; }
.lang-switch > * { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 42px; padding: 0 10px; text-decoration: none; }
.lang-current { background: var(--text); color: var(--bg); }
.lang-switch a { color: var(--text-2); }
.lang-switch a:hover { color: #FFFFFF; background: var(--panel-2); }

/* Language gate: the site root, seen only when JavaScript is off */
.lang-gate { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); }
.lang-gate .stack { align-items: center; }
.lang-gate .gate-logo { width: 120px; height: 120px; border-radius: 50%; }
.lang-gate .btn-row { justify-content: center; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero figure { margin: 0; position: relative; border: 1px solid var(--line); }
/* Corner ticks, like a viewfinder */
.hero figure::before, .hero figure::after { content: ''; position: absolute; z-index: 1; width: 22px; height: 22px; border: 2px solid var(--signal); pointer-events: none; }
.hero figure::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero figure::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.hero figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 62% 55%; }
/* The 3D model in the hero frame: the whole model on its stage, not cropped like the photo. */
.hero figure.model-stage img { aspect-ratio: auto; object-fit: contain; }
.tag { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: var(--bg); font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--text-2); }
.tag--top { bottom: auto; top: 0; }
.motto-line { font-family: var(--mono); font-size: 13px; letter-spacing: 1px; color: var(--faint); }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero figure img { aspect-ratio: 4 / 3; } .hero figure.model-stage img { aspect-ratio: auto; } }

/* Proof strip */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.stat-value { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; color: #9AA6B4; margin-top: 8px; }
/* A strip whose middle item says more */
.stats--wide-mid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 760px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* Scanner vs Vestarax */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.compare-card { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.compare-card--scanner { background: #FFFFFF; border: 1px solid #D3D9E0; color: var(--light-text); }
.compare-card--scanner .eyebrow { color: #5A6573; }
.compare-card--vestarax { background: var(--bg); color: var(--text); }
.compare-card--vestarax .eyebrow { color: var(--signal); }
.compare-card--vestarax p { color: var(--muted); }
.quote-line { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -0.015em; }
.compare-card .quote-line { color: inherit; }
.compare-card svg { width: 100%; height: auto; }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* Platform cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-media { aspect-ratio: 16 / 11; position: relative; background: var(--panel-2); overflow: hidden; }
.card-media img, .card-media video { width: 100%; height: 100% !important; object-fit: cover; }
.card-media--qr { background: #FFFFFF; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--light-text); text-decoration: none; padding: 16px; }
.card-media--qr img { width: 58%; max-width: 160px; height: auto; aspect-ratio: 1; object-fit: contain; }
.card-media--qr span { font-family: var(--mono); font-size: 12px; line-height: 1.5; max-width: 7.5em; }
.card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card-body p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.chip { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; padding: 4px 8px; border: 1px solid; text-transform: uppercase; }
.chip--ok { border-color: #3F8F5F; color: var(--ok); }
.chip--info { border-color: #4F7FB8; color: var(--info); }
.chip--warn { border-color: #B8862F; color: var(--warn); }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Detect / Understand / Act */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillar { display: flex; flex-direction: column; gap: 16px; padding-inline: clamp(0px, 3vw, 44px); }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; }
.pillar .index { font-family: var(--mono); font-size: 14px; color: var(--signal); }
.pillar h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.2rem); overflow-wrap: anywhere; line-height: 1.1; letter-spacing: -0.02em; }
.pillar p { color: var(--muted); font-size: 17px; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pillar { padding-inline: 0; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
}

/* Markets */
.markets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.market { background: var(--bg); padding: 34px 28px; display: flex; flex-direction: column; gap: 14px; }
.market h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.market p { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .markets { grid-template-columns: minmax(0, 1fr); } }

/* Field record */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Media */
.media { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 20px; }
.video-tile { position: relative; display: block; color: #FFFFFF; text-decoration: none; min-height: 100%; }
.video-tile img { width: 100%; height: 100% !important; min-height: 320px; object-fit: cover; }
.play { position: absolute; left: 50%; top: 45%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.video-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; background: rgba(10, 14, 19, 0.9); display: flex; flex-direction: column; gap: 4px; }
.video-caption .mono { font-size: 12px; color: #9AA6B4; }
.video-caption strong { font-size: 1.1rem; }
.video-tile:hover .play { background: var(--accent-hover); }
.gallery { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery figure { margin: 0; position: relative; min-height: 150px; }
.gallery img { width: 100%; height: 100% !important; object-fit: cover; }
@media (max-width: 860px) {
  .media { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery figure { aspect-ratio: 1; min-height: 0; }
  .gallery .tag { font-size: 10px; padding: 5px 7px; letter-spacing: 0.5px; }
}
@media (max-width: 520px) { .gallery { grid-template-columns: minmax(0, 1fr); } .gallery figure { aspect-ratio: 16 / 10; } }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 2px solid var(--line); padding-top: 32px; }
.roadmap .status { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; }
.roadmap p { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .roadmap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .roadmap { grid-template-columns: minmax(0, 1fr); } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 96px); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 44px; }
.principle { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.principle p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* CTA band: dark, with the product blue as light, not as paint */
.cta { position: relative; overflow: hidden; color: var(--text); border-top: 1px solid var(--line); background: radial-gradient(900px 380px at 88% 0%, rgba(42, 102, 214, 0.32), transparent 65%), linear-gradient(180deg, #0F1826 0%, var(--bg) 100%); }
.cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(100, 210, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 210, 255, 0.06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 85%); mask-image: linear-gradient(90deg, transparent 20%, #000 85%); }
.cta .wrap { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-block: clamp(56px, 7vw, 96px); }
.cta h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.cta p:not(.eyebrow) { max-width: 38em; font-size: 18px; color: var(--text-2); }
.cta .contact { font-family: var(--mono); font-size: 15px; color: var(--signal); user-select: all; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* Footer */
.site-footer { background: var(--bg-3); padding-block: 64px 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 104px; height: 104px; border-radius: 50%; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .label { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 1px; }
.footer-col a { color: var(--text-2); text-decoration: none; }
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #1E2733; margin-top: 48px; padding-top: 22px; font-size: 13px; color: var(--faint); }

/* Technology page */
.spec-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 64px); }
.spec { padding: 22px 22px 0; display: flex; flex-direction: column; gap: 6px; }
.spec:first-child { padding-left: 0; }
.spec + .spec { border-left: 1px solid var(--line); }
.spec .mono { font-size: 12px; color: var(--faint); letter-spacing: 1px; }
.spec strong { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
@media (max-width: 860px) {
  .spec-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec { padding: 20px 16px 20px 0; }
  .spec + .spec { border-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.flow-diagram { width: 100%; overflow-x: auto; margin-block: 8px 40px; }
.flow-diagram svg { min-width: 720px; width: 100%; height: auto; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.steps .mono { font-size: 13px; color: var(--light-accent); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.ranges { display: flex; flex-direction: column; gap: 32px; }
.range-head { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.range-head .mono { font-variant-numeric: tabular-nums; }
.bar { height: 14px; background: var(--panel-2); margin-top: 10px; }
.bar span { display: block; height: 100%; background: var(--accent); }
.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; }
.compare-table th { text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; font-weight: 500; color: var(--faint); padding: 14px 24px; border-bottom: 1px solid var(--line-2); }
.compare-table th:first-child, .compare-table td:first-child { padding-left: 0; color: #9AA6B4; width: 26%; }
.compare-table td { color: var(--muted); }
.compare-table td:first-child { font-family: var(--mono); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); padding-top: 23px; }
.compare-table th.hl { color: var(--signal); }
.compare-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table td.hl { background: #141B24; color: var(--text); font-weight: 500; }
.compare-table .hl { box-shadow: inset 2px 0 0 var(--signal); }
.compare-table tr:last-child td { border-bottom: 0; }
.faq details { border-top: 1px solid var(--light-line); padding-block: 22px; }
.faq details:last-child { border-bottom: 1px solid var(--light-line); }
.faq summary { font-size: 1.15rem; font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 12px; color: var(--light-muted); }
.radar { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.radar svg { width: 100%; height: auto; max-width: 440px; }
@media (max-width: 860px) { .radar { grid-template-columns: minmax(0, 1fr); } }

/* Partners page */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.benefit { border-top: 2px solid var(--light-text); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.benefit .num { font-family: var(--display); font-weight: 500; font-size: 2.8rem; line-height: 1; letter-spacing: -0.03em; color: var(--light-accent); }
.benefit p { font-size: 15px; }
@media (max-width: 1000px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits { grid-template-columns: minmax(0, 1fr); } }
.programs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.program { background: var(--panel); border: 1px solid var(--line); padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; }
.program .mono { font-size: 12px; color: var(--signal); letter-spacing: 1px; }
.program p { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .programs { grid-template-columns: minmax(0, 1fr); } }
.partner-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner { background: var(--bg-2); padding: 22px; display: flex; flex-direction: column; gap: 6px; min-height: 110px; justify-content: flex-start; }
.partner strong { font-size: 17px; }
.partner span { font-size: 13px; color: #9AA6B4; }
.partner-logo { display: block; height: 54px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; margin-bottom: 4px; }
.partner-logo--tile { width: 54px; object-fit: contain; padding: 5px; background: #F4F6F8; border-radius: 6px; }
.partner-logo--wide { width: auto; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 480px) { .partner-grid { grid-template-columns: minmax(0, 1fr); } }
.apply { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(40px, 7vw, 96px); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-2); }
.field[hidden] { display: none; }
.form fieldset > .field { margin-top: 14px; }
.field--wide, .form fieldset, .form .consent, .form .form-actions { grid-column: 1 / -1; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea { min-height: 48px; background: var(--panel); border: 1px solid var(--line-2); color: var(--text); padding: 10px 14px; font-size: 16px; font-family: inherit; border-radius: 0; width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 14px; color: var(--text-2); margin-bottom: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); padding: 11px 15px; font-size: 15px; cursor: pointer; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #9AA6B4; }
.consent input { margin-top: 4px; }
.form-status { font-size: 15px; color: var(--text-2); border-left: 3px solid var(--signal); padding-left: 12px; }
@media (max-width: 900px) { .apply { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }
.partner-hero img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border: 1px solid var(--line); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Aerial pod section (Technology page) */
.pod-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pod-spec { background: var(--panel); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.pod-spec .mono { font-size: 11px; letter-spacing: 1px; color: var(--faint); }
.pod-spec strong { font-family: var(--display); font-size: 1.4rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pod-spec em { font-style: normal; font-size: 12px; color: var(--faint); }
.pod-sub { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-2); margin: 44px 0 14px; }
.pod-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.pod-toolbar button { font: 500 14px var(--body); color: var(--text); background: var(--panel); border: 1px solid var(--line-2); padding: 0 14px; min-height: 44px; min-width: 44px; cursor: pointer; }
.pod-toolbar button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pod-toolbar button:hover { border-color: var(--text-2); }
.pod-hint { font-size: 12px; color: var(--faint); margin-left: auto; }
@media (max-width: 700px) { .pod-hint { margin-left: 0; width: 100%; } }
.pod-stage { position: relative; height: clamp(340px, 55vw, 580px); background: radial-gradient(ellipse at 50% 40%, #1A222C 0%, #0F141B 70%); border: 1px solid var(--line); overflow: hidden; touch-action: pan-y; }
.pod-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.pod-loadmsg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--faint); }
.pod-tip { position: absolute; pointer-events: none; background: var(--text); color: var(--bg); font: 500 13px var(--body); padding: 4px 9px; white-space: nowrap; transform: translate(12px, -120%); }
.pod-sheet { overflow-x: auto; background: #F7F8F6; border: 1px solid var(--line);
  --ink: #162024; --muted: #5A676C; --shell: #DCE2E0; --red: #C4232E; --sheet: #F7F8F6; }
.pod-sheet svg { display: block; width: 100%; min-width: 860px; height: auto; }
.pod-sheet text { font-family: var(--mono); fill: var(--ink); }
.pod-sheet .ln { stroke: var(--ink); stroke-width: 1.6; fill: none; }
.pod-sheet .shell { fill: var(--shell); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.pod-sheet .thin { stroke: var(--ink); stroke-width: .8; fill: none; }
.pod-sheet .part { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.2; }
.pod-sheet .solid { fill: var(--ink); stroke: none; }
.pod-sheet .knob { fill: var(--red); stroke: var(--ink); stroke-width: .8; }
.pod-sheet .cl { stroke: var(--muted); stroke-width: .7; stroke-dasharray: 14 3 3 3; fill: none; }
.pod-sheet .ph { stroke: var(--muted); stroke-width: .9; stroke-dasharray: 10 3 2 3 2 3; fill: none; }
.pod-sheet .ext { stroke: var(--muted); stroke-width: .7; }
.pod-sheet .dimln { stroke: var(--ink); stroke-width: .8; }
.pod-sheet .arh { fill: var(--ink); }
.pod-sheet .arr { fill: var(--red); }
.pod-sheet .flt { stroke: var(--red); stroke-width: 2; fill: none; }
.pod-sheet .dt { font-size: 12.5px; }
.pod-sheet .vl { font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.pod-sheet .sm { font-size: 11px; fill: var(--muted); }
.pod-sheet .pt { font-size: 12px; }
.pod-sheet .lead { stroke: var(--ink); stroke-width: .8; fill: none; }
.pod-sheet .bal { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.1; }
.pod-sheet .bt { font-size: 11.5px; font-weight: 500; }
.pod-sheet .tb { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.pod-sheet .tbl { font-size: 9.5px; fill: var(--muted); letter-spacing: .08em; }
.pod-sheet .tbv { font-size: 13px; font-family: var(--body); font-weight: 600; }
.pod-sheet .red { fill: var(--red); }
.pod-note { font-size: 14px; color: var(--faint); margin-top: 12px; max-width: 70ch; }

/* ---------- Home: the Liberandum and its technology ---------- */

/* Spec readouts under the hero text */
.readouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.readout { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 0 0; min-width: 0; }
.readout + .readout { padding-left: 16px; border-left: 1px solid var(--line); }
.readout .mono { font-size: 11px; letter-spacing: 1.2px; color: var(--faint); text-transform: uppercase; }
.readout strong { font-size: 1.1rem; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .readouts { grid-template-columns: minmax(0, 1fr); } .readout + .readout { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-bottom: 12px; } }

/* The 3D model (js/liberandum3d.js upgrades the picture when WebGL is available) */
.render { width: 100%; height: auto; }
.render-wrap { position: relative; }
.render-wrap.is-3d > img { display: none !important; }
.render-wrap .lib3d-canvas { position: relative; display: block; width: 100%; cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.render-wrap .lib3d-canvas:active { cursor: grabbing; }
.lib3d-hint { position: relative; margin: 0; text-align: center; font: 11px var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); }
.model-stage { position: relative; border: 1px solid var(--line); padding: 20px 0 14px; background: radial-gradient(ellipse at 50% 58%, rgba(42, 102, 214, 0.24), transparent 62%), var(--bg-3); }
.model-stage .render { filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.55)); }
.model-stage .tag { bottom: auto; top: 0; }

/* Inside the Liberandum: the model beside the signal chain */
.inside { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.inside .model-stage, .inside > .product-media { position: sticky; top: 108px; }
/* The 3D model as a product's main picture: the whole model, not cropped to the photo's 4:3. */
.product-media.model-stage > img { aspect-ratio: auto; object-fit: contain; }
.chain { list-style: none; margin: 0; padding: 0; }
.chain li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.chain li:last-child { border-bottom: 1px solid var(--line); }
.chain .index { grid-row: span 3; font-family: var(--mono); font-size: 13px; color: var(--signal); padding-top: 3px; }
.chain .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.chain h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.chain p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 960px) { .inside { grid-template-columns: minmax(0, 1fr); } .inside .model-stage, .inside > .product-media { position: relative; top: 0; } }

/* The operator's screen: real captures of the Liberandum software */
.screens { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.screen-frame { position: relative; margin: 0; padding: 9px; border-radius: 16px; background: linear-gradient(160deg, #2b2f34 0%, #17191c 45%, #101113 100%); box-shadow: inset 0 0 0 1px #3a3f45, 0 24px 50px rgba(0, 0, 0, 0.5); }
.screen-frame img { width: 100%; aspect-ratio: 820 / 360; object-fit: cover; border-radius: 9px; background: #0D1219; }
.screen-frame img[hidden] { display: none; }
.modes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mode { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; text-align: left; font: inherit; color: var(--text); background: transparent; border: 1px solid var(--line); border-left: 2px solid var(--line); padding: 14px 16px; cursor: pointer; }
.mode:hover { border-color: var(--line-2); border-left-color: var(--line-2); }
.mode[aria-selected="true"] { background: var(--panel); border-color: var(--line-2); border-left-color: var(--signal); }
.mode .mono { font-size: 11px; letter-spacing: 1.2px; color: var(--signal); }
.mode strong { font-size: 1.05rem; font-weight: 600; }
.mode span:last-child { font-size: 14.5px; color: var(--muted); }
.screens-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
@media (max-width: 960px) { .screens { grid-template-columns: minmax(0, 1fr); } }


/* Technology page: what Vestarax can do */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cap { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; background: var(--bg-2); min-width: 0; }
.cap .index { font-family: var(--mono); font-size: 13px; color: var(--signal); }
.cap h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.cap p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 1000px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .caps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Products page ---------- */
.product-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(32px, 5vw, 56px); }
.product-index a { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; background: var(--bg); color: var(--text); text-decoration: none; }
.product-index a:hover { background: var(--panel); color: var(--text); }
.product-index .mono { font-size: 12px; letter-spacing: 1.2px; color: var(--signal); }
.product-index strong { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.product-index span:last-child { font-size: 15px; color: var(--muted); }
@media (max-width: 1100px) { .product-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-index--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-index--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .product-index--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .product-index { grid-template-columns: minmax(0, 1fr); } }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.product--flip > :first-child { order: 2; }
.product-media { margin: 0; position: relative; border: 1px solid var(--line); }
.product-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-media figcaption.note { padding: 10px 14px; font-size: 13px; color: var(--faint); border-top: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--bg); min-width: 0; }
.band--alt .fact { background: var(--bg-2); }
.fact .mono { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.fact strong { font-size: 1.02rem; font-weight: 500; }
@media (max-width: 900px) { .product { grid-template-columns: minmax(0, 1fr); } .product--flip > :first-child { order: 0; } }
@media (max-width: 480px) { .facts { grid-template-columns: minmax(0, 1fr); } }
/* Orion: the three traces of its training screen, drawn */
.traces { background: radial-gradient(ellipse at 50% 40%, rgba(42, 102, 214, 0.18), transparent 70%), var(--bg-3); }
.traces svg { display: block; width: 100%; height: auto; }

/* Vestarax on any platform, and the infrastructure it doesn't need */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.platform { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; background: var(--bg); min-width: 0; }
.platform svg { width: 40px; height: 40px; color: var(--signal); margin-bottom: 6px; }
.platform .mono { font-size: 12px; letter-spacing: 1.2px; color: var(--faint); }
.platform h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.platform p { font-size: 15.5px; color: var(--muted); }
.platform .more { margin-top: auto; padding-top: 6px; font-size: 15px; color: var(--accent-text); text-decoration: none; }
.platform .more::after { content: " →"; }
.platform .more:hover { text-decoration: underline; }
/* The last tile fills the rest of its row, so no empty cell shows */
.platform:last-child:nth-child(3n + 2) { grid-column: span 2; }
.platform:last-child:nth-child(3n + 1) { grid-column: span 3; }
@media (max-width: 1000px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .platform:last-child:nth-child(n) { grid-column: auto; } .platform:last-child:nth-child(odd) { grid-column: span 2; } }
@media (max-width: 640px) { .platforms { grid-template-columns: minmax(0, 1fr); } .platform:last-child:nth-child(n) { grid-column: auto; } }
.offgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(40px, 6vw, 64px); }
.offgrid h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.offgrid-icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.offgrid-icons > div { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 12px 22px; background: var(--bg-2); text-align: center; min-width: 0; }
.offgrid-icons svg { width: 48px; height: 48px; color: var(--faint); }
.offgrid-icons .x { stroke: var(--text-2); stroke-width: 2; }
.offgrid-icons .mono { font-size: 11.5px; letter-spacing: 1.2px; color: var(--text-2); }
@media (max-width: 900px) { .offgrid { grid-template-columns: minmax(0, 1fr); } }

/* Scanner or Vestarax: the same search, seen by each */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 56px); }
.versus figure { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 24px; background: var(--bg); min-width: 0; }
.versus figure > .mono { font-size: 12px; letter-spacing: 1.2px; color: var(--faint); }
.versus svg { display: block; width: 100%; height: auto; }
.versus figcaption { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.versus .is-vx { box-shadow: inset 0 2px 0 var(--signal); }
.versus .is-vx > .mono { color: var(--signal); }
.versus .is-vx figcaption { color: var(--text); font-weight: 600; }
@media (max-width: 720px) { .versus { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .compare-table { min-width: 0; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: auto; }
  .compare-table tr { padding-block: 18px; border-bottom: 1px solid var(--line); }
  .compare-table tr:last-child { border-bottom: 0; }
  .compare-table td { border-bottom: 0; padding: 6px 0 6px 14px; }
  .compare-table td:first-child { width: auto; padding: 0 0 8px; }
  .compare-table td.hl { margin-top: 6px; padding: 10px 14px; }
  .compare-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 1px; color: var(--faint); }
  .compare-table td.hl::before { color: var(--signal); }
}

/* Orion: why it matters, with and without */
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.6px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; flex: none; }
.versus--orion + .caps { margin-bottom: 0; }
.pull { margin-top: clamp(36px, 5vw, 56px); padding-left: 20px; border-left: 2px solid var(--signal); max-width: 34em; font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
.versus--orion figcaption { margin-top: auto; }

/* Simulator page: the guided mission (js/simulator-page.js ticks the steps) */
.mission { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); background: var(--bg); }
.mission-intro { gap: 16px; align-self: start; }
.mission h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.mission-story { color: var(--muted); }
.mission-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.mission-tips li { padding-left: 14px; border-left: 2px solid var(--line-2); }
.mission kbd { display: inline-block; min-width: 1.6em; padding: 0 5px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel); font-family: var(--mono); font-size: 0.82em; line-height: 1.5; text-align: center; color: var(--text); }
.mission-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mission-progress { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); }
.mission-progress b { color: var(--signal); font-weight: 500; }
.mission-done { padding: 14px 16px; border: 1px solid #3F8F5F; background: rgba(127, 209, 158, 0.08); color: var(--text); }
.mission-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mission-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mission-steps .n { font-family: var(--mono); font-size: 12.5px; color: var(--faint); padding-top: 3px; font-variant-numeric: tabular-nums; }
.mission-steps h3 { font-size: 1rem; font-weight: 600; line-height: 1.45; }
.mission-steps p { grid-column: 2; margin-top: 6px; font-size: 15px; color: var(--muted); }
.mission-steps .mission-live { font-family: var(--mono); font-size: 13px; color: var(--signal); }
.mission-steps .mission-live.is-warn { color: var(--warn); }
.mission.is-live .mission-steps li:not(.is-current) p { display: none; }
.mission-steps li.is-done .n { color: var(--ok); }
.mission-steps li.is-done h3 { color: var(--faint); font-weight: 500; }
.mission-steps li.is-current { margin-inline: -14px; padding-inline: 14px; background: var(--panel); box-shadow: inset 2px 0 0 var(--signal); }
@media (max-width: 900px) { .mission { grid-template-columns: minmax(0, 1fr); } }
/* The current step, beside the simulator's movement controls */
.mission-now { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); }
.mission-now .k { font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.mission-now strong { font-size: 14px; font-weight: 600; line-height: 1.35; }
.mission-now .h { font-family: var(--mono); font-size: 12px; color: var(--signal); }
.mission-now .h.is-warn { color: var(--warn); }
.mission-now.is-done { border-color: #3F8F5F; }
.mission-steps .mission-skip { grid-column: 2; justify-self: start; margin-top: 12px; min-height: 40px; padding: 8px 16px; font-size: 15px; }
.mission-now__skip { align-self: flex-start; margin-top: 6px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: transparent; color: var(--text); font: 500 13px var(--body); cursor: pointer; }
.mission-now__skip:hover { border-color: var(--text-2); }

/* Home: Copernix's disciplines (SIGINT, COMINT, RDF, AI) */
.disciplines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.discipline { display: flex; flex-direction: column; gap: 8px; padding: 28px 26px 30px; background: var(--bg-2); min-width: 0; }
.discipline .acro { font-family: var(--mono); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.1; letter-spacing: 0.04em; color: var(--signal); }
.discipline .full { font-family: var(--mono); font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.discipline p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
@media (max-width: 1000px) { .disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .disciplines { grid-template-columns: minmax(0, 1fr); } }
/* Home: what sets Copernix apart, on a light band */
.edges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 48px; }
.edge { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--light-line); min-width: 0; }
.edge .k { font-family: var(--mono); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--light-accent); }
.edge h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--light-text); }
.edge p { font-size: 15.5px; }
.edge a { margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 500; text-decoration: none; }
.edge a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .edges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .edges { grid-template-columns: minmax(0, 1fr); } }

/* Upcoming: the app's App Store QR code, on white so phones can scan it */
.product-media.app-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 320px; padding: 32px; background: #FFFFFF; color: var(--light-text); text-decoration: none; }
.product-media.app-qr > img { width: min(220px, 60%); aspect-ratio: 1; object-fit: contain; }
.product-media.app-qr span { font-family: var(--mono); font-size: 12.5px; letter-spacing: 1px; text-align: center; }

/* Vestarax page: SIGINT + COMINT = Vestarax */
.equation { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1.15fr); align-items: stretch; margin-bottom: clamp(36px, 5vw, 52px); }
.equation .op { display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 32px; font-weight: 400; color: var(--signal); }
.layer { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.layer > .mono { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.layer h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.layer svg { display: block; width: 100%; height: auto; }
.layer figcaption { margin-top: auto; padding-top: 4px; font-size: 14.5px; color: var(--muted); }
.layer--sum { background: var(--panel); box-shadow: inset 0 2px 0 var(--signal); }
.layer--sum > .mono { color: var(--signal); }
.decode { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 12px; }
.decode li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); color: var(--muted); }
.decode .p { color: var(--faint); }
.decode .id { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.decode .lv { font-variant-numeric: tabular-nums; }
.decode li.is-target { border-color: var(--signal); background: rgba(100, 210, 255, 0.07); color: var(--text); }
.decode li.is-target .id { color: var(--signal); }
.together-label { margin-bottom: 18px; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.together { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.together > div { display: flex; flex-direction: column; gap: 8px; }
.together .k { font-family: var(--mono); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--signal); }
.together p { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .equation { grid-template-columns: minmax(0, 1fr); } .equation .op { height: 48px; } .together { grid-template-columns: minmax(0, 1fr); } }

/* Home: the aerial pod's 3D model in its platform card (js/pod.js, compact mode) */
.pod-card { background: radial-gradient(ellipse at 50% 40%, #1A222C 0%, #0F141B 70%); touch-action: pan-y; }
.pod-card canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.pod-card canvas:active { cursor: grabbing; }

/* Footer: the legal pages' links, in the bottom line */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover, .footer-legal a[aria-current="page"] { color: #FFFFFF; }

/* Legal pages: terms & conditions, privacy policy */
.legal-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); }
.legal-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 18em; text-wrap: balance; }
.legal-date { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); }
.legal { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.legal-toc { position: sticky; top: 104px; }
.legal-toc > .mono { margin-bottom: 14px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--light-accent); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--light-line); }
.legal-toc a { display: block; padding: 5px 0 5px 14px; font-size: 14px; line-height: 1.4; color: var(--light-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--light-text); }
.legal-doc { max-width: 70ch; min-width: 0; color: var(--light-text); }
.legal-doc p, .legal-doc li, .legal-doc address { font-size: 16.5px; line-height: 1.65; color: #2B333D; }
.legal-doc p + p, .legal-doc p + ul, .legal-doc ul + p, .legal-doc p + address { margin-top: 12px; }
.legal-intro { padding-bottom: 28px; border-bottom: 1px solid var(--light-line); }
.legal-intro p:first-child { font-size: 19px; line-height: 1.55; color: var(--light-text); }
.legal-doc section { padding-top: 32px; scroll-margin-top: 96px; }
.legal-doc h2 { margin-bottom: 12px; font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--light-text); }
.legal-doc ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal-doc address { margin-top: 12px; padding: 14px 18px; border-left: 2px solid var(--light-accent); background: #FFFFFF; font-style: normal; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
  .legal-toc ol { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-left: 0; }
  .legal-toc a { padding-left: 0; }
}

/* Orion page: try the real Orion (js/orion-demo.js) */
.odemo { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.odemo-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; background: var(--bg-2); min-width: 0; }
.odemo-steps > li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 24px; border-bottom: 1px solid var(--line); opacity: 0.55; transition: opacity 0.2s; }
.odemo-steps > li.is-current { opacity: 1; box-shadow: inset 2px 0 0 var(--signal); }
.odemo-steps > li.is-done { opacity: 0.85; }
.odemo-steps > li.odemo-reset { opacity: 1; border-bottom: 0; padding-block: 14px 18px; }
.odemo-steps .index { font-family: var(--mono); font-size: 13px; color: var(--signal); }
.odemo-steps h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.odemo-steps p { font-size: 14.5px; color: var(--muted); }
.odemo-devices { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.odemo-device { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px; padding: 12px; border: 1px solid var(--line-2); background: var(--bg); }
.odemo-device__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.odemo-device__head strong { font-size: 14.5px; font-weight: 500; }
.odemo-device label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.odemo-device label span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); }
.odemo-device select { width: 100%; min-height: 36px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--panel); color: var(--text); font: inherit; font-size: 14px; }
.odemo-device select:disabled { opacity: 0.6; }
.odemo-link { padding: 4px 0; border: 0; background: none; color: var(--accent-text); font: inherit; font-size: 14px; cursor: pointer; }
.odemo-link:hover { color: #B8D0FF; text-decoration: underline; }
.odemo-link:disabled { color: var(--faint); cursor: default; text-decoration: none; }
.odemo-steps .btn:disabled { opacity: 0.45; cursor: default; }
.odemo-steps .btn:disabled:hover { background: var(--accent); }
.odemo-bar { align-self: stretch; height: 4px; background: var(--line); }
.odemo-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--signal); transition: width 0.4s; }
.odemo-status { font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.odemo-status:empty { display: none; }
.odemo-graphs { display: flex; flex-direction: column; gap: 1px; background: var(--line); min-width: 0; }
.odemo-graphs figure { flex: 1 1 auto; margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 22px 20px; background: var(--bg); min-width: 0; }
.odemo-graphs figure > .mono { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 1.2px; color: var(--faint); }
.odemo-graphs .is-vx { box-shadow: inset 0 2px 0 var(--signal); }
.odemo-graphs .is-vx > .mono { color: var(--signal); }
/* the graphs grow to the steps column's height; their pixel size follows (sizeCanvas) */
.odemo-graphs canvas { display: block; width: 100%; flex: 1 1 auto; height: 0; min-height: clamp(130px, 18vw, 220px); }
.odemo-canvas { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; }
.odemo-overlay { position: absolute; top: 6px; right: 0; padding: 3px 8px; background: rgba(11, 16, 22, 0.85); border: 1px solid var(--line-2); font-size: 11.5px; letter-spacing: 0.6px; color: var(--muted); }
.odemo-overlay:empty { display: none; }
.legend i.is-ghost { background: none; border: 1px dashed var(--line-2); }
.odemo-stats { border: 0; flex: none; }
.odemo-stats .fact { justify-content: center; padding: 14px 22px; }
.odemo-stats strong { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.odemo-note { margin-top: 20px; max-width: 80ch; font-size: 14px; }
@media (max-width: 900px) { .odemo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .odemo-stats { grid-template-columns: minmax(0, 1fr); } .odemo-graphs figure { padding-inline: 16px; } }
.odemo [hidden] { display: none !important; }
.odemo-steps .btn.is-next { box-shadow: 0 0 0 0 rgba(100, 210, 255, 0.55); animation: odemo-next 1.8s ease-out infinite; }
@keyframes odemo-next { 0% { box-shadow: 0 0 0 0 rgba(100, 210, 255, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(100, 210, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .odemo-steps .btn.is-next { animation: none; box-shadow: 0 0 0 2px var(--signal); } }
