* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0f5fdc;
  --primary-soft: #e8f0fd;
  --fg: #1a1a1a;
  --muted: #5f5f5f;
  --border: #e6e6e6;
  --bg-soft: #f7f8fa;
}

html,
body {
  height: 100%;
}

body {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  color: var(--fg);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.brand {
  background: linear-gradient(160deg, #0b3f94 0%, #0f5fdc 60%, #3b82f6 100%);
  color: #fff;
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.brand .logo {
  height: 26px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.brand h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 460px;
}

.brand p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 440px;
}

.brand footer {
  font-size: 13px;
  opacity: 0.8;
}

.brand footer a {
  text-decoration: none;
}

.brand footer a:hover {
  text-decoration: underline;
}

.picker {
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.picker-inner {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.picker h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sub {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.existing {
  margin-top: 28px;
  padding: 20px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.existing h3 {
  font-size: 16px;
  font-weight: 650;
}

.existing p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.host {
  font:
    13px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: var(--fg);
}

.new {
  margin-top: 28px;
}

.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
}

.row.live {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.row.soon {
  background: var(--bg-soft);
  color: #767676;
}

.flag {
  display: block;
  width: 30px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08);
}

.row.soon .flag {
  opacity: 0.7;
}

.name {
  font-weight: 600;
  font-size: 16px;
}

.desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge.live {
  background: #e7f6ec;
  color: #1d7a3d;
}

.badge.live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #23a04f;
}

.badge.soon {
  background: #ececec;
  color: #5f5f5f;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 14px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
}

.btn:hover {
  background: #0b4fbb;
}

.btn.ghost {
  background: #fff;
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn.ghost:hover {
  border-color: #c9c9c9;
}

.btn:focus-visible,
.brand footer a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.new .btn {
  height: 48px;
}

@media (max-width: 860px) {
  .page {
    grid-template-columns: 1fr;
  }

  .brand {
    padding: 24px;
    gap: 20px;
  }

  .brand h1 {
    font-size: 28px;
  }

  .brand p {
    font-size: 15px;
  }

  .picker {
    padding: 28px 20px 40px;
    justify-content: flex-start;
  }
}
