/* Bechtle Secure Operations — landing page
   Spec: docs/superpowers/specs/2026-11-17-landing-page-design.md
   Palette = real Linux console (VGA). Each colour has exactly one meaning. */

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-var.woff2") format("woff2");
}

:root {
  --black: #000000;   /* background */
  --grey: #aaaaaa;    /* console + body text, 9:1 on black */
  --white: #ffffff;   /* unit names ("bold"), headline, countdown */
  --line: #555555;    /* link underline */
  --green: #55ff55;   /* [  OK  ] only */
  --red: #ff5555;     /* start-job asterisks only */
  --red-dim: #aa0000;
  --cyan: #55ffff;    /* company name in the Welcome line, focus ring */
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--black); }
body {
  background: var(--black);
  color: var(--grey);
  font: 15px/1.6 var(--mono);
  font-variant-ligatures: none;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.screen {
  flex: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 32px 0;
  display: flex;
  flex-direction: column;
}

/* console */
.welcome { font: inherit; color: var(--grey); margin-bottom: 1.6em; }
.welcome b { color: var(--cyan); font-weight: 600; }
.log { list-style: none; }
.log li { display: grid; grid-template-columns: 8ch 1fr; column-gap: 1ch; }
.log li.plain { display: block; }
.st { white-space: pre; }
.st.ok { color: var(--green); }
.st .s1 { color: var(--red-dim); }
.st .s2 { color: var(--red); }
.log b { color: var(--white); font-weight: 600; }
.cursor {
  display: inline-block;
  width: .6em;
  height: 1.15em;
  vertical-align: -.22em;
  background: var(--grey);
  animation: blink 1.06s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* plain-language block: bottom left, same edge as the console */
.status { margin-top: auto; padding: 72px 0 8px; font-family: var(--sans); }
.status h2 { color: var(--white); font-weight: 600; font-size: 48px; line-height: 1.05; letter-spacing: -.02em; }
.status p { margin-top: 14px; font-size: 18px; line-height: 1.5; max-width: 36em; }
.status .cd { font-family: var(--mono); font-size: .92em; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* footer */
.foot { padding: 40px 16px calc(32px + env(safe-area-inset-bottom)); text-align: center; font-family: var(--sans); }
.foot a {
  color: var(--grey);
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}
.foot a:hover { color: var(--white); text-decoration-color: currentColor; }
.foot a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 2px; }

/* intro: boot.js (in <head>) sets html.intro before first paint, then reveals elements one by one.
   If the script never loads, nothing is hidden. */
.intro :is(.welcome, .log li, .status):not(.shown) { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}

@media (max-width: 640px) {
  body { font-size: 12px; }
  .screen { padding: 24px 16px 0; }
  .status { padding-top: 48px; }
  .status h2 { font-size: 34px; }
  .status p { font-size: 16px; }
}
