:root {
  color-scheme: light;
  --bg: #f5f8fb;
  --text: #142033;
  --line: #d9e2ec;
  --shadow: 0 18px 55px rgba(21, 37, 58, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(10, 115, 217, 0.11), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #eef4f9 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.capsule-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: min(100%, 780px);
}

.capsule-btn {
  display: inline-grid;
  grid-template-columns: 66px 132px;
  align-items: center;
  justify-content: center;
  column-gap: 18px;
  width: 300px;
  height: 86px;
  padding: 0 28px;
  border: 1px solid rgba(217, 226, 236, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.capsule-btn:hover,
.capsule-btn:focus-visible {
  border-color: rgba(10, 115, 217, 0.38);
  box-shadow: 0 22px 60px rgba(10, 83, 154, 0.16);
  transform: translateY(-2px);
  outline: none;
}

.capsule-logo {
  display: block;
  width: 66px;
  height: 66px;
  justify-self: center;
  object-fit: contain;
}

.capsule-label {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .portal-shell {
    padding: 24px;
  }

  .capsule-grid {
    flex-direction: column;
    gap: 16px;
  }

  .capsule-btn {
    width: min(100%, 320px);
    height: 82px;
  }
}
