/* LigaHosting Dev — shared tokens and components (landing + app).
   Palette follows the LigaHosting wordmark: lavender on deep navy, with one
   warm signal colour (amber, the "compiled" status) kept for the main action. */
:root {
  color-scheme: dark;
  --ink: #0E1024;        /* page */
  --ink-2: #12152D;      /* side bars, headers */
  --panel: #161A36;      /* raised surfaces */
  --panel-2: #1C2044;    /* hover / inputs */
  --line: #2A2F5A;
  --line-soft: #20244A;
  --lav: #BEC5F9;        /* brand lavender */
  --lav-soft: rgba(190, 197, 249, .12);
  --amber: #FFB547;      /* primary action, success of a build */
  --amber-deep: #C9861F;
  --text: #E9EBFB;
  --text-2: #C4C8EC;
  --muted: #9AA0C8;
  --dim: #6B7199;
  --ok: #7BE0A7;
  --bad: #FF8A8A;
  --warn: #FFD27A;

  --display: "Unbounded", "IBM Plex Sans", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-s: 6px;
  --r: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--sans); }
a { color: var(--lav); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
code { font: .9em var(--mono); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Scrollbars in the palette */
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #3A4080; background-clip: padding-box; border: 3px solid transparent; }

.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--amber); color: var(--ink); z-index: 100; border-radius: var(--r-s); }
.skip:focus { left: 8px; }

/* The primary action is a physical key: flat amber cap, darker edge below
   that shortens when pressed. */
.key {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px 2px;
  border: 0; border-radius: 8px; border-bottom: 4px solid var(--amber-deep);
  background: var(--amber); color: #1B1405;
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .06s ease, border-bottom-width .06s ease, filter .15s;
}
.key:hover { filter: brightness(1.06); }
.key:active { transform: translateY(2px); border-bottom-width: 2px; }
.key:disabled { opacity: .5; cursor: default; transform: none; }
.key-sm { min-height: 36px; padding: 0 14px 1px; font-size: .88rem; border-bottom-width: 3px; }
.key kbd {
  font: 500 .72rem/1 var(--mono); padding: 3px 6px; border-radius: 4px;
  background: rgba(27, 20, 5, .14); color: #3B2A08;
}

/* Project type tags: a short code, coloured by family. */
.tag {
  display: inline-grid; place-items: center; min-width: 38px; height: 22px; padding: 0 6px;
  border-radius: 5px; font: 600 .7rem/1 var(--sans); letter-spacing: .02em; white-space: nowrap;
}
.tag-game { background: rgba(255, 181, 71, .14); color: var(--amber); }
.tag-web { background: var(--lav-soft); color: var(--lav); }
.tag-other { background: rgba(154, 160, 200, .14); color: var(--muted); }

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