/* ------------------------------------------------------------------
   nexblais.com public page.
   Same material family as the Launchpad app behind it (graphite panel,
   amber accent, Archivo + Space Mono, both self hosted) so signing in
   feels like walking further into the same building. The page's one
   signature element is the pipeline board: a status screen that lights
   BUILD, TEST, REVIEW, SHIP one at a time.
   ------------------------------------------------------------------ */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/archivo-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/archivo-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/archivo-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/space-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-mono-latin-700-normal.woff2') format('woff2');
}

:root {
  --ui:   'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --bg:        #0F1319;
  --bg-2:      #131923;
  --surface:   #171D26;
  --surface-2: #1E2531;
  --edge:      #262E3A;
  --edge-2:    #354052;
  --text:      #E6EAF0;
  --text-dim:  #98A2B2;
  --text-faint:#697485;
  --accent:    #F5A524;
  --accent-2:  #FFC15E;
  --accent-ink:#1A1206;
  --live:      #3FD07F;

  --pad: clamp(20px, 5vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background:
    radial-gradient(1100px 520px at 85% -10%, #F5A5240d, transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---- header -------------------------------------------------------- */

.site__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px var(--pad);
  padding-top: calc(20px + env(safe-area-inset-top));
}

.site__word {
  display: inline-flex; align-items: center; gap: 11px;
  font: 800 19px/1 var(--ui);
  letter-spacing: -.02em;
  color: var(--text);
}
.site__word:hover { color: var(--text); }

.site__mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5px;
  width: 28px; height: 28px;
  padding: 3.5px;
  border: 1px solid var(--edge-2);
  border-radius: 6px;
  background: var(--surface-2);
}
.site__mark i { background: var(--edge-2); border-radius: 1.5px; }
.site__mark i:first-child { background: var(--accent); }

.site__signin {
  font: 600 13px/1 var(--ui);
  color: var(--text-dim);
  border: 1px solid var(--edge-2);
  border-radius: 999px;
  padding: 9px 16px;
  transition: color .15s, border-color .15s, background .15s;
}
.site__signin:hover { color: var(--text); border-color: var(--accent); background: var(--surface); }

/* ---- layout -------------------------------------------------------- */

.site {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 7vh, 72px) var(--pad) 40px;
  flex: 1 0 auto;
}

/* ---- hero ---------------------------------------------------------- */

.hero { max-width: 620px; }

.hero__eyebrow {
  margin: 0 0 14px;
  font: 400 11.5px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 7vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.hero__sub {
  margin: 0;
  max-width: 54ch;
  color: var(--text-dim);
  font-size: clamp(15px, 2.2vw, 17px);
}

/* ---- pipeline board (signature) ------------------------------------ */

.bench { margin: clamp(36px, 7vh, 64px) 0; }

.bench__screen {
  border: 1px solid var(--edge-2);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(8, 11, 16, .8);
}

.bench__bar {
  display: flex; gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--edge);
  background: var(--surface-2);
}
.bench__bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--edge-2);
}
.bench__bar span:first-child { background: var(--accent); opacity: .8; }

.bench__lines {
  list-style: none;
  margin: 0; padding: 10px 0;
  font-family: var(--mono);
  font-size: clamp(12px, 1.9vw, 13.5px);
}
.bench__lines li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 18px;
  color: var(--text-faint);
  transition: color .4s, background .4s;
}
.bench__lines b {
  font-weight: 700;
  letter-spacing: .14em;
  width: 5.5em; flex: none;
}
.bench__lines span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.bench__lines em {
  font-style: normal;
  flex: none;
  color: var(--edge-2);
  transition: color .4s;
}
.bench__lines li.is-live { color: var(--text-dim); background: #F5A52408; }
.bench__lines li.is-live b { color: var(--accent); }
.bench__lines li.is-live em { color: var(--live); }

/* ---- three columns -------------------------------------------------- */

.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--edge);
  padding-top: clamp(28px, 5vh, 40px);
}
@media (max-width: 680px) {
  .cols { grid-template-columns: 1fr; gap: 22px; }
}

.col h2 {
  margin: 0 0 8px;
  font: 700 12px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.col p { margin: 0; color: var(--text-dim); font-size: 14.5px; max-width: 40ch; }

/* ---- footer --------------------------------------------------------- */

.site__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px var(--pad);
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--edge);
  font: 400 12px/1 var(--mono);
  color: var(--text-faint);
}
.site__foot a { color: var(--text-faint); }
.site__foot a:hover { color: var(--accent); }

/* ---- motion preferences --------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
