/* Self-hosted fonts (latin subset): Archivo and JetBrains Mono, both SIL Open Font License. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/Archivo.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800 900;
  font-stretch: 112%;
  font-display: swap;
  src: url('/fonts/Archivo.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/JetBrainsMono.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/JetBrainsMono.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* UnlockIR site. Dark, thermal-image led. Colours are sampled from our own palette tables (site/src/palettes.json). */
:root {
  --bg: #0B0B0E;
  --surface: #141418;
  --surface-2: #1B1B21;
  --border: #2B2B33;
  --border-strong: #3C3C46;
  --text: #F2F1EE;
  --text-soft: #D4D4DA;
  --muted: #A5A5B0;
  --dim: #7C7C88;
  --accent: #55DDF0;          /* Arctic cyan: buttons, highlights, links */
  --accent-ink: #06222A;
  --accent-soft: #A1ECF7;
  --warn: #F2D58A;
  --amber: #EBA60B;           /* "being verified" marks, staff tools */
  --magenta: #AC1F91;
  --iso: linear-gradient(90deg, #1a1066 0 14.28%, #700e9f 0 28.56%, #ac1f91 0 42.84%, #d3455b 0 57.12%, #eb7422 0 71.4%, #eba60b 0 85.68%, #e3ebb8 0 100%);
  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.6;
  padding-left: max(0px, env(safe-area-inset-left, 0px)); padding-right: max(0px, env(safe-area-inset-right, 0px));
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* Heavy display type */
h1, h2, h3 { font-family: var(--font); }
.display, .page-head h1, .block h2, .prose h2 { font-stretch: 112%; letter-spacing: -.03em; }

/* Header */
.site-bar { border-bottom: 1px solid var(--border); }
.site-header { display: flex; align-items: center; gap: 12px 36px; min-height: 68px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; flex: 0 0 auto; }
.brand:hover { color: var(--text); }
.brand-name { font-weight: 800; font-size: 20px; line-height: 1.1; font-stretch: 112%; letter-spacing: -.01em; }
.brand-name .ir { color: var(--accent); }
.brand-tag { display: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; font-weight: 500; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a.nav-cta { background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 0 18px; min-height: 42px; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }

/* Home hero: full-width thermal image fading to solid black under the text */
.hero-full { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-full .shot { position: absolute; inset: 0; background: #000 url("/img/hero.jpg") center/cover no-repeat; }
.hero-full .shot::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0B0B0E 0%, #0B0B0E 30%, rgba(11,11,14,.82) 44%, rgba(11,11,14,.35) 62%, rgba(11,11,14,0) 82%); }
.hero-full .shot::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 10px;
  background: linear-gradient(to top, #1a1066 0 14.28%, #700e9f 0 28.56%, #ac1f91 0 42.84%, #d3455b 0 57.12%, #eb7422 0 71.4%, #eba60b 0 85.68%, #e3ebb8 0 100%); }
.hero-full .shot span { position: absolute; right: 26px; font: 500 12px/1 var(--mono); color: #fff; background: rgba(0,0,0,.7); padding: 5px 7px; }
.hero-full .shot .max { top: 16px; } .hero-full .shot .min { bottom: 16px; } .hero-full .shot .cap { bottom: 44px; }
.hero-full .copy { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 72px 28px; }
.hero-full .copy > * { max-width: min(580px, 100%); }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.kicker::before { content: ""; width: 28px; height: 8px; background: var(--iso); }
.hero-full h1 { font: 900 clamp(40px, 5.2vw, 72px)/.98 var(--font); font-stretch: 112%; letter-spacing: -.035em; margin: 0 0 24px; text-wrap: balance; }
.hero-full h1 em { font-style: normal; color: var(--accent); }
.hero-full .lede { font-size: 19px; line-height: 1.55; color: #C4C4CC; max-width: 30em; margin: 0 0 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-full .fine { color: var(--muted); }

/* Buttons and forms: square, flat */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 0; background: var(--accent);
  color: var(--accent-ink); font: 700 15px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--accent-soft); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-ghost:hover { background: var(--text); color: #101012; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.panel { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 0; padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 48px; }
.panel h2 { margin: 0; font-size: 22px; font-weight: 800; }
.panel p { margin: 0; color: var(--text-soft); max-width: 34em; }
.waitlist { display: flex; gap: 0; width: 100%; max-width: 460px; }
.waitlist label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.waitlist input[type=email] { flex: 1 1 200px; min-width: 0; min-height: 50px; padding: 0 16px; border-radius: 0; border: 1px solid var(--border-strong); border-right: 0; background: var(--surface); color: var(--text); font: 16px var(--font); }
.waitlist input[type=email]::placeholder { color: var(--dim); }
.waitlist .hp { position: absolute; left: -9999px; }
.fine { font-size: 14px; line-height: 1.5; color: var(--muted); }
.hero-full .fine { font: 400 13px/1.5 var(--mono); }
.fine a { color: var(--text-soft); }
#waitlist-msg { min-height: 1.5em; font-size: 14px; color: var(--text-soft); margin-top: 10px; }

/* Decoration: a short scale-bar tick, each in a different palette (set with --g) */
.scale-tick { display: block; width: 64px; height: 8px; margin-bottom: 18px; background: var(--g, var(--iso)); }

/* Sections */
section.block { padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--border); }
.block h2 { margin: 0 0 14px; font: 900 clamp(30px, 3.6vw, 46px)/1 var(--font); font-stretch: 112%; letter-spacing: -.03em; text-wrap: balance; }
.block .head { margin-bottom: 36px; }
.block .head h2 { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.steps > div { padding: 28px 32px 8px 0; }
.steps > div + div { padding-left: 32px; border-left: 1px solid var(--border); }
.steps .n { display: block; font: 900 88px/.9 var(--font); font-stretch: 112%; letter-spacing: -.05em; margin-bottom: 18px; }
.steps > div:nth-child(1) .n { color: var(--magenta); }
.steps > div:nth-child(2) .n { color: var(--accent); }
.steps > div:nth-child(3) .n { color: var(--amber); }
.steps h3 { font: 800 22px/1.2 var(--font); margin: 0 0 8px; }
.steps p { color: var(--muted); margin: 0 0 18px; font-size: 16px; }
.cams { border-top: 1px solid var(--border); }
.cam-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.cam-row a { font: 800 24px/1.1 var(--font); font-stretch: 106%; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.cam-row a:hover { color: var(--accent); }
.cam-row .px { font: 400 14px/1 var(--mono); color: var(--muted); }
.note-line { color: var(--muted); margin: 0 0 24px; max-width: 38em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.facts > div { padding: 24px 32px 24px 0; border-bottom: 1px solid var(--border); }
.facts > div:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--border); }
.facts h3 { font: 800 18px/1.2 var(--font); margin: 0 0 6px; }
.facts p { margin: 0; color: var(--muted); font-size: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 0; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card h3 { margin: 0; font-size: 17px; font-weight: 800; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
.step { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.center { text-align: center; }
.tick { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tick li { padding-left: 28px; position: relative; color: var(--text-soft); }
.tick li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Status marks: a short bar, cyan when tested, amber while being verified */
.status { display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1 var(--mono); color: var(--text); white-space: nowrap; }
.status::before { content: ""; width: 34px; height: 12px; background: var(--amber); }
.status.ok::before { background: var(--accent); }

/* Closing band: nine palettes as hard-edged segments above a solid block */
.ribbon { height: 20px; display: grid; grid-template-columns: repeat(9, 1fr); }
.ribbon i { display: block; }
.close { padding: 64px 0 72px; }
.close .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.close h2 { font: 900 clamp(32px, 4.2vw, 56px)/1 var(--font); font-stretch: 112%; letter-spacing: -.035em; margin: 0; }
.close p { margin: 0 0 18px; color: var(--muted); }
.close .waitlist { max-width: 460px; }

/* Article pages */
.page-head { padding-top: 56px; padding-bottom: 8px; }
.page-head::before { content: ""; display: block; width: 64px; height: 8px; margin-bottom: 22px; background: var(--g, var(--iso)); }
.crumbs { font: 400 13px/1.5 var(--mono); color: var(--dim); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.page-head h1 { margin: 0 0 14px; font: 900 clamp(32px, 4.4vw, 52px)/1.02 var(--font); font-stretch: 112%; letter-spacing: -.03em; text-wrap: balance; }
.lede { font-size: 19px; color: var(--text-soft); margin: 0; }
.prose { padding-top: 16px; padding-bottom: 24px; }
.prose h2 { margin: 44px 0 12px; font: 900 28px/1.1 var(--font); font-stretch: 112%; letter-spacing: -.025em; }
.prose h3 { margin: 26px 0 6px; font: 800 19px/1.25 var(--font); }
.prose p, .prose li { color: var(--text-soft); max-width: 68ch; }
.prose ol, .prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: 2px 6px; border-radius: 0; }
.note { border: 1px solid var(--border-strong); border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0; padding: 14px 16px; color: var(--text-soft); }
.note strong { color: var(--text); }
.note.warn { border-color: #6B5316; border-left-color: var(--amber); background: #17140B; color: var(--warn); }
.tablebox { overflow-x: auto; border: 1px solid var(--border); border-radius: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 13px 14px; border-top: 1px solid var(--border); vertical-align: top; }
thead th { border-top: 0; font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.cta { margin: 48px 0 16px; padding: 28px 24px; border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); background: transparent; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta p { margin: 0; color: var(--text-soft); max-width: 36em; }
.cta strong { color: var(--text); display: block; font: 800 22px/1.2 var(--font); margin-bottom: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 0; padding-top: 28px; padding-bottom: 40px; font-size: 14px; color: var(--dim); display: grid; gap: 12px; }
.site-footer a { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; }
.site-footer p { max-width: 60em; }

@media (max-width: 900px) {
  .hero-full { min-height: 0; display: block; }
  .hero-full .shot { bottom: auto; height: 380px; }
  .hero-full .shot::before { background: linear-gradient(180deg, rgba(11,11,14,.1) 0%, rgba(11,11,14,.78) 52%, #0B0B0E 92%); }
  .hero-full .shot .cap, .hero-full .shot .min { display: none; }
  .hero-full .copy { padding: 236px 28px 40px; }
  .steps, .grid3, .grid2, .facts, .close .wrap { grid-template-columns: minmax(0, 1fr); }
  .steps > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .facts > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .close .wrap { gap: 28px; }
  section.block { padding-top: 48px; padding-bottom: 48px; }
  .cam-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 18px 0; }
  .cam-row .px { grid-column: 1; } .cam-row .status { grid-column: 2; grid-row: 1 / 3; }
  .site-header { gap: 0 20px; padding-top: 10px; padding-bottom: 4px; }
  .brand { min-height: 48px; flex-basis: 100%; }
  .nav { margin-left: 0; gap: 0 16px; flex-basis: 100%; }
  .nav a.nav-cta { display: none; }   /* phones: every page has its own waitlist call to action */
}
}
@media (max-width: 560px) { .brand-name { font-size: 17px; } .brand svg { width: 30px; height: 30px; } .nav a:not(.nav-cta):not(.nav-staff) { font-size: 14px; min-height: 40px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Admin tools in the top bar: amber pills after a divider, so they read as a separate staff-only group */
.nav-staff-group { display: inline-flex; align-items: center; gap: 8px; padding-left: 20px; margin-left: 4px; border-left: 1px solid var(--border-strong); }
.nav-staff-group[hidden] { display: none; }
.nav-staff-label { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.nav a.nav-staff { background: var(--amber); color: #1A1204; font-size: 14px; font-weight: 700; padding: 0 12px; border-radius: 0; min-height: 34px; border: 2px solid var(--amber); }
.nav a.nav-staff:hover, .nav a.nav-staff:focus-visible { background: #F5C54A; border-color: #F5C54A; color: #1A1204; }
.nav a.nav-staff[aria-current="page"] { background: transparent; color: var(--amber); border-color: var(--amber); }
@media (max-width: 720px) { .nav-staff-group { padding-left: 0; margin-left: 0; border-left: 0; flex-basis: 100%; } }
