:root {
  color-scheme: light;
  --ink: #16202a;
  --muted: #5c6875;
  --line: #d9e0e7;
  --accent: #0b6bcb;
  --accent-dark: #084f96;
  --surface: #ffffff;
  --bg: #eef3f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 520px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(22, 32, 42, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
}

h1 {
  margin: 0 0 5px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.status {
  min-height: 22px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 16px;
}

.launch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.launch-link:hover,
.launch-link:focus {
  background: var(--accent-dark);
}

.hint {
  margin-top: 18px;
  font-size: 14px;
}

.invalid .hint {
  display: none;
}

@media (max-width: 480px) {
  .shell {
    padding: 16px;
  }

  .panel {
    padding: 22px;
  }

  .brand {
    align-items: flex-start;
  }

  h1 {
    font-size: 20px;
  }
}
