/*
 * Kaysson Project Design Core
 * Single source of truth for the shared KVN visual language.
 * Served centrally from https://kaysson.de/assets/css/kvn-core.css.
 */
:root {
  --bg: #07101a;
  --surface: #101d2b;
  --surface-strong: #13283a;
  --surface-dark: #091521;
  --line: #25415a;
  --line-soft: rgba(94, 137, 169, .24);
  --text: #edf6ff;
  --muted: #a9bfce;
  --accent: #ff3049;
  --accent-hover: #ed213b;
  --blue: #39baf6;
  --green: #73dfae;
  --warning: #f4c95d;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 0, rgba(21, 68, 99, .54), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button {
  border: 1px solid #315d7d;
  border-radius: 9px;
  background: #0d1f2e;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

button:hover { border-color: #66bce9; background: #17354b; }
button:active { transform: translateY(1px); }

:focus-visible {
  outline: 2px solid #7bd6ff;
  outline-offset: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #315b76;
  border-radius: 9px;
  background: #102234;
  color: #edf6ff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover {
  border-color: #4e88ae;
  background: #17354b;
}

.button.primary,
.button.danger {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover,
.button.danger:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  border: 1px solid #31516a;
  border-radius: 9px;
  background: #071522;
  color: #edf6ff;
}

input:not([type="checkbox"]):not([type="radio"]):hover,
select:hover,
textarea:hover { border-color: #4e88ae; }

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(57, 186, 246, .15);
}

.topbar {
  background: rgba(7, 16, 26, .78);
  backdrop-filter: blur(18px);
}

.eyebrow,
.type {
  letter-spacing: .16em;
  font-weight: 800;
}

@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .button { min-height: 42px; }
}
