/* hudsontech.dk — cold industrial sci-fi: near-black navy, gunmetal and steel
   surfaces, cold cyan as the only strong light, a touch of gold. Mood, colour
   and type only; no franchise marks, logos or creatures.
   No external fonts or scripts: nothing leaves the visitor's browser, so the
   thin, wide display face is a system stack (Avenir Next on Apple devices,
   Segoe UI on Windows, Roboto on Android). */

:root {
  color-scheme: dark;

  /* surfaces: near-black navy, gunmetal panels, steel edges */
  --bg: #03060b;
  --bg-2: #060c14;
  --panel: #0a121c;
  --panel-2: #101a26;
  --field: #050a11;
  --line: #172230;        /* gunmetal hairline */
  --line-2: #263544;      /* steel edge */
  --edge: #52667a;        /* form-field edge, 3:1 against the page */

  /* text */
  --text: #dce7ef;
  --text-2: #b3c0cc;      /* body copy */
  --muted: #8797a8;       /* notes, captions, nav */
  --steel: #93a1b1;
  --faint: #73849a;       /* placeholders, code comments */

  /* light: cold cyan is the only strong colour */
  --cyan: #6fd3f7;
  --cyan-hi: #c8f0ff;
  --cyan-dim: #7cbfdb;    /* small HUD labels */
  --cyan-d: #2c7fa6;
  --cyan-rgb: 111, 211, 247;
  --haze-rgb: 46, 112, 160;
  --on-light: #021019;    /* text on a cyan fill */

  /* the small warm accent, like a gold badge on a poster */
  --gold: #c9a44f;

  /* status */
  --ok: #5fe0bf;
  --err: #ff6b74;

  --sans: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --glow: 0 0 18px rgba(var(--cyan-rgb), 0.45), 0 0 2px rgba(var(--cyan-rgb), 0.5);
  --gutter: 16px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fog and light, fixed behind everything: a cold light source high on the
   right (behind the hero scene), haze pooling low on the left and along the
   bottom, the edges falling off into darkness. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 78% 6%, rgba(var(--cyan-rgb), 0.11), transparent 70%),
    radial-gradient(45% 40% at 6% 58%, rgba(var(--haze-rgb), 0.12), transparent 70%),
    radial-gradient(120% 60% at 50% 115%, rgba(var(--haze-rgb), 0.16), transparent 65%),
    radial-gradient(140% 110% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 70%);
}

a { color: var(--cyan); }
a:hover { color: var(--cyan-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
/* Thin, wide capitals with generous tracking and a faint cold glow. */
h1, h2 {
  font-family: var(--sans);
  font-weight: 300;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(var(--cyan-rgb), 0.16);
}
h1 { font-size: clamp(1.75rem, 4.2vw, 3.05rem); line-height: 1.14; letter-spacing: 0.12em; }
.nw { white-space: nowrap; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.3; letter-spacing: 0.16em; margin-bottom: 1.4rem; }
h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 0.5rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.sr-only, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--cyan); color: var(--on-light); padding: 8px 12px; z-index: 200;
}
.skip:focus { top: 8px; }

/* ---------- buttons & forms ---------- */

/* A lit panel: translucent cyan glass with a bright edge and a soft bloom. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px 0 calc(22px + 0.2em); /* tracking leaves a trailing gap */
  border: 1px solid rgba(var(--cyan-rgb), 0.75); border-radius: 2px;
  background: linear-gradient(180deg, rgba(var(--cyan-rgb), 0.24), rgba(var(--cyan-rgb), 0.08));
  color: var(--cyan-hi);
  font: 600 0.85rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.2em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  text-shadow: 0 0 10px rgba(var(--cyan-rgb), 0.55);
  box-shadow: 0 0 20px rgba(var(--cyan-rgb), 0.18), inset 0 0 14px rgba(var(--cyan-rgb), 0.12);
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover {
  color: #fff; border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(var(--cyan-rgb), 0.34), rgba(var(--cyan-rgb), 0.14));
  box-shadow: 0 0 30px rgba(var(--cyan-rgb), 0.32), inset 0 0 18px rgba(var(--cyan-rgb), 0.18);
}
.btn:active { background: rgba(var(--cyan-rgb), 0.12); box-shadow: 0 0 12px rgba(var(--cyan-rgb), 0.2); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-small { min-height: 36px; padding: 0 14px 0 calc(14px + 0.2em); font-size: 0.72rem; }

.waitlist { margin-top: 1.9rem; max-width: 520px; }
.field { display: flex; gap: 12px; flex-wrap: wrap; }
.field input {
  flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 14px;
  background: var(--field); color: var(--text);
  border: 1px solid var(--edge); border-radius: 2px;
  font: 1rem var(--sans);
}
.field input::placeholder { color: var(--faint); }
.field input:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(var(--cyan-rgb), 0.5), 0 0 18px rgba(var(--cyan-rgb), 0.18);
}
.form-note { margin: 0.75rem 0 0; font-size: 0.82rem; color: var(--muted); }
.form-status { margin: 0.5rem 0 0; min-height: 1.4em; font-size: 0.9rem; }
.form-status[data-kind="ok"] { color: var(--ok); }
.form-status[data-kind="error"] { color: var(--err); }
.form-status[data-kind="busy"] { color: var(--muted); }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 6, 11, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* A thin strip of light along the bottom edge, fading out at both ends. */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--cyan-rgb), 0.4) 50%, transparent);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.logo { height: 21px; width: auto; color: var(--text); filter: drop-shadow(0 0 6px rgba(var(--cyan-rgb), 0.3)); }
.brand-tag {
  font: 600 0.65rem/1.5 var(--sans); letter-spacing: 0.3em;
  color: var(--gold); border: 1px solid var(--gold); padding: 1px 3px 0 calc(3px + 0.3em);
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; transition: color 0.15s, text-shadow 0.15s; }
.nav a:not(.btn):hover { color: var(--text); text-shadow: 0 0 12px rgba(var(--cyan-rgb), 0.5); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

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

.hero {
  display: grid; gap: 40px; align-items: center;
  padding-top: 56px; padding-bottom: 40px;
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; padding-top: 88px; padding-bottom: 64px; }
}

.prompt { font: 0.85rem/1.5 var(--mono); color: var(--muted); letter-spacing: 0.04em; margin-bottom: 1.5rem; }
.prompt-sign { color: var(--cyan); }
.slogan { color: var(--text); font-weight: 700; }
.cursor { color: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.accent { color: var(--cyan); text-shadow: var(--glow); }
.lede { margin-top: 1.5rem; color: var(--text-2); font-size: 1.06rem; max-width: 34em; }

.hero-scene { margin: 0; }
/* The scene sits in a steel bezel and throws a little cold light around it. */
.crt {
  position: relative;
  padding: 10px;
  background: linear-gradient(180deg, #121c27, #070d14);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(200, 230, 255, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(var(--cyan-rgb), 0.1);
}
.crt::before, .crt::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--cyan-dim);
}
.crt::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.crt::after { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }
.crt canvas { display: block; width: 100%; aspect-ratio: 3 / 2; image-rendering: pixelated; border-radius: 1px; }
.replay {
  position: absolute; right: 18px; bottom: 18px;
  padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 2px;
  background: rgba(3, 6, 11, 0.9); color: var(--text);
  font: 700 0.75rem var(--mono); letter-spacing: 0.05em; cursor: pointer;
}
.replay:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-scene figcaption { margin-top: 14px; min-height: 3em; font: 0.78rem/1.55 var(--mono); color: var(--muted); letter-spacing: 0.02em; }
.case-no { color: var(--gold); letter-spacing: 0.08em; }

.scene-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.scene-tabs [role="tab"] {
  position: relative; padding: 7px 10px 8px;
  border: 1px solid var(--line-2); border-radius: 2px;
  background: rgba(10, 18, 28, 0.8); color: var(--muted);
  font: 600 0.7rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
}
.scene-tabs [role="tab"]:hover { color: var(--text); border-color: var(--steel); }
.scene-tabs [role="tab"][aria-selected="true"] {
  color: var(--cyan-hi); border-color: rgba(var(--cyan-rgb), 0.7);
  background: rgba(var(--cyan-rgb), 0.08);
  box-shadow: 0 0 14px rgba(var(--cyan-rgb), 0.15);
  text-shadow: 0 0 8px rgba(var(--cyan-rgb), 0.5);
}
.scene-tabs [role="tab"][aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px;
  width: calc(var(--p, 0) * 100%); background: var(--cyan);
  box-shadow: 0 0 6px rgba(var(--cyan-rgb), 0.8);
}
.rec { color: var(--err); animation: blink 1.4s steps(1) infinite; }

.checks {
  list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 8px;
  display: flex; flex-wrap: wrap; gap: 10px 12px;
}
.checks li {
  font: 0.74rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--steel); border: 1px solid var(--line); border-radius: 2px;
  background: rgba(10, 18, 28, 0.7); padding: 4px 11px;
}
.checks li::before { content: "✓ "; color: var(--cyan); text-shadow: 0 0 8px rgba(var(--cyan-rgb), 0.6); }

/* ---------- sections ---------- */

.section { padding-top: 72px; padding-bottom: 24px; }
@media (min-width: 960px) { .section { padding-top: 120px; } }
.label { font: 0.74rem/1.5 var(--mono); color: var(--cyan-dim); text-transform: uppercase; letter-spacing: 0.24em; margin-bottom: 0.9rem; }

.card {
  position: relative;
  padding: 22px;
  background: linear-gradient(180deg, rgba(20, 31, 44, 0.6), rgba(8, 14, 22, 0.6));
  border: 1px solid var(--line); border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(200, 230, 255, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
/* Light catching the top edge of the panel. */
.card::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--cyan-rgb), 0.35), transparent);
}
.card p { color: var(--text-2); font-size: 0.95rem; margin: 0; }
.card:hover { border-color: var(--line-2); box-shadow: inset 0 1px 0 rgba(200, 230, 255, 0.06), 0 0 30px rgba(var(--cyan-rgb), 0.05); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-no { display: block; font: 600 0.8rem var(--mono); color: var(--cyan); letter-spacing: 0.18em; margin-bottom: 14px; text-shadow: 0 0 10px rgba(var(--cyan-rgb), 0.4); }

.grid-3 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.intro { color: var(--text-2); max-width: 44em; margin-bottom: 2rem; }
.case { display: block; margin-bottom: 12px; font: 0.7rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--steel); }
.case::before {
  content: ""; display: inline-block; width: 12px; height: 1px; margin-right: 8px; vertical-align: middle;
  background: var(--cyan); box-shadow: 0 0 6px rgba(var(--cyan-rgb), 0.8);
}

/* ---------- product ---------- */

.product { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; } }
.photo-frame {
  position: relative; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 80px rgba(var(--cyan-rgb), 0.06);
}
.photo-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
/* Side by side, the picture fills the height of the text next to it. The
   render (10:9) keeps the kit in the middle 85% x 50%, so crops from about
   0.95:1 to 1.6:1 show all of it; below 1060px the frame would get narrower
   than that, so it keeps its own 4:3 there. */
@media (min-width: 1060px) {
  .product { align-items: stretch; }
  .product-shot { display: flex; flex-direction: column; }
  .photo-frame { flex: 1; min-height: 320px; }
  .photo-frame img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
.photo-frame::before, .photo-frame::after {
  content: ""; position: absolute; z-index: 1; width: 14px; height: 14px; border: 1px solid var(--cyan-dim);
}
.photo-frame::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.photo-frame::after { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }
.fig { margin-top: 12px; font: 0.7rem var(--mono); color: var(--muted); letter-spacing: 0.14em; }
.product-copy > p { color: var(--text-2); }
.manifest { list-style: none; margin: 1.5rem 0; padding: 0; border-top: 1px solid var(--line-2); }
.manifest li { display: flex; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--text); }
.manifest span { flex: 0 0 2.6em; font-family: var(--mono); color: var(--cyan); font-weight: 600; }
.price { font-size: 0.95rem; color: var(--text-2); }
.price span {
  display: inline-block; margin-right: 10px; padding: 1px 6px 0 calc(6px + 0.16em);
  border: 1px solid var(--gold); color: var(--gold);
  font: 600 0.68rem/1.6 var(--sans); text-transform: uppercase; letter-spacing: 0.16em;
}

/* ---------- security ---------- */

.security { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .security { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rules li { padding-left: 26px; position: relative; color: var(--text-2); }
.rules li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px;
  border: 1px solid var(--cyan); box-shadow: 0 0 8px rgba(var(--cyan-rgb), 0.6);
  transform: rotate(45deg);
}
.policy {
  margin: 0; padding: 22px; overflow-x: auto;
  background: linear-gradient(180deg, rgba(16, 26, 38, 0.85), rgba(5, 10, 17, 0.85));
  border: 1px solid var(--line-2); border-left: 2px solid var(--cyan); border-radius: 2px;
  box-shadow: -8px 0 24px -12px rgba(var(--cyan-rgb), 0.5);
  font: 0.9rem/1.9 var(--mono); color: var(--text);
}
.policy .c { color: var(--faint); }
.policy .k { color: var(--cyan); }

/* ---------- CTA & footer ---------- */

.cta { text-align: left; padding-bottom: 96px; }
.cta > p { color: var(--text-2); max-width: 36em; }

.site-footer { border-top: 1px solid var(--line); }
.footer-row {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-top: 24px; padding-bottom: 32px;
  font: 0.74rem/1.6 var(--mono); letter-spacing: 0.08em; color: var(--muted);
}

/* ---------- sticky waitlist bar ---------- */

.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(5, 10, 17, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(var(--cyan-rgb), 0.45);
  box-shadow: 0 -18px 50px rgba(var(--cyan-rgb), 0.1), 0 -1px 12px rgba(var(--cyan-rgb), 0.25);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.cta-bar.show { transform: none; }
.cta-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 14px; padding-bottom: 14px; }
.cta-bar-text { flex: 1 1 auto; margin: 0; font-size: 1rem; font-weight: 500; color: var(--text); }
.cta-bar-text .slogan { color: var(--cyan); margin-right: 8px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; text-shadow: 0 0 12px rgba(var(--cyan-rgb), 0.5); }
.cta-bar .field { flex: 0 1 500px; min-width: 0; gap: 10px; flex-wrap: nowrap; }
.cta-bar .field input { min-height: 50px; }
.cta-bar .btn { min-height: 50px; }
.cta-bar .form-status { flex-basis: 100%; margin: 0; min-height: 0; font-size: 0.85rem; }
.cta-bar .form-status:empty { display: none; }
@media (max-width: 640px) {
  .cta-bar-inner { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .cta-bar-text { flex-basis: 100%; font-size: 0.9rem; }
  .cta-bar .field { flex: 1 1 100%; }
  .cta-bar .btn { padding: 0 14px 0 calc(14px + 0.2em); font-size: 0.78rem; letter-spacing: 0.16em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor, .rec { animation: none; }
  .btn, .card, .nav a { transition: none; }
  .cta-bar { transition: none; }
}
