@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --ew-yellow: #e0ff4f;
  --ew-orange: #fc6128;
  --ew-purple: #6729e4;
  --ew-pink: #c2a9f4;
  --ew-white: #ffffff;
  --ew-blue: #032e74;
  --ew-navy: #063171;
  --ew-ink: #091f44;
  --ew-gradient: linear-gradient(90deg, #e0ff4f 0%, #fc6128 33%, #6729e4 66%, #c2a9f4 100%);
  --ew-font-display: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ew-font-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bg: var(--ew-ink);
  --panel: rgba(6, 49, 113, 0.92);
  --border: rgba(255, 255, 255, 0.14);
  --text: var(--ew-white);
  --muted: rgba(255, 255, 255, 0.72);
  --accent: var(--ew-yellow);
  --accent-strong: var(--ew-orange);
  --feedback: var(--ew-orange);
  --sim: var(--ew-yellow);
  --hero-lights:
    radial-gradient(circle at 8% 42%, rgba(252, 97, 40, 0.45), transparent 46%),
    radial-gradient(circle at 92% 68%, rgba(194, 169, 244, 0.42), transparent 44%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--ew-font-body);
  color: var(--text);
  background: var(--hero-lights), linear-gradient(165deg, var(--ew-ink) 0%, var(--ew-blue) 55%, var(--ew-navy) 100%);
}

button,
input,
select {
  font: inherit;
}

.ew-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.ew-brand img {
  height: 22px;
  width: auto;
}

.ew-brand__title {
  font-family: var(--ew-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.ew-gradient-bar {
  height: 3px;
  background: var(--ew-gradient);
}

button.ew-btn,
.ew-btn {
  border: 0;
  border-radius: 8px;
  background: var(--ew-orange);
  color: var(--ew-white);
  font-family: var(--ew-font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

button.ew-btn:hover,
.ew-btn:hover {
  background: #ff7a4d;
  box-shadow: 0 4px 16px rgba(252, 97, 40, 0.4);
  transform: translateY(-1px);
}

button.ew-btn:active,
.ew-btn:active {
  background: var(--ew-orange);
  box-shadow: 0 2px 8px rgba(252, 97, 40, 0.3);
  transform: translateY(0);
}

button.ew-btn:disabled,
.ew-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

button.ew-btn:disabled:hover,
.ew-btn:disabled:hover {
  background: var(--ew-orange);
}

select,
.ew-input {
  background: rgba(9, 31, 68, 0.85);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
}

select:focus,
.ew-input:focus {
  outline: 2px solid rgba(224, 255, 79, 0.35);
  outline-offset: 1px;
}
