/* =========================
   Design tokens
   ========================= */
:root {
  --surface: #0b1020;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.14);

  --text: rgba(255, 255, 255, 0.95);
  --muted: rgba(255, 255, 255, 0.70);

  --accent: #6ee7ff;
  --accent2: #a78bfa;

  --radius: 18px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--surface);
}

/* =========================
   App-like layout (no scroll)
   ========================= */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);

  /* Midtstill ALT */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Ingen scrolling, ingen bounce */
  overflow: hidden;

  /* Litt luft, men aldri nok til å trigge scroll */
  padding: 24px;
}

/* =========================
   Content
   ========================= */
.wrap {
  width: 100%;
  max-width: 900px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

/* =========================
   Typography
   ========================= */
h1 {
  margin: 0 0 12px 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}

.actions {
  margin-top: 24px;
}

/* =========================
   Button
   ========================= */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  transition: transform 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: 3px solid rgba(110, 231, 255, 0.45);
  outline-offset: 3px;
}

/* =========================
   Reduced motion
   ========================= */
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}