/* Palette et détails HUD repris de Web-GitOps/static/css/hud.css. */
:root {
  color-scheme: dark;
  --background: #17242b;
  --foreground: #dce6eb;
  --accent: #4de0b0;
  --muted: #83959f;
  --line: rgba(177, 203, 215, .17);
  --grid: rgba(159, 187, 204, .03);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 240px;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 6px 6px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 6px 6px,
    radial-gradient(ellipse at 65% 10%, rgba(42, 59, 64, .65), transparent 65%),
    linear-gradient(125deg, #17252d, #1d292f);
}

.welcome {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}

.identity {
  position: relative;
  width: min(100%, 42rem);
  padding: clamp(2.75rem, 9vw, 5rem) 1rem;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(28, 43, 51, .28);
}

.identity::before,
.identity::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  pointer-events: none;
  border-color: var(--accent);
  border-style: solid;
  opacity: .85;
}

.identity::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.identity::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }

.logo {
  display: block;
  width: clamp(4rem, 12vw, 5.5rem);
  height: auto;
  margin: 0 auto 1.75rem;
  overflow: visible;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 8.5vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .08em;
  white-space: nowrap;
}

.slash { margin: 0 .04em; color: var(--accent); }

.domain {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .75rem;
  line-height: 1.5;
  letter-spacing: .18em;
}

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