* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #d9f4f8;
  --white: #ffffff;
  --blue: #0500ff;
  --blue-soft: #eef4ff;
  --blue-disabled: #b4b8f5;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --radius-card: 22px;
  --radius-pill: 999px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  min-height: 100vh;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 16px 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.hero-card {
  text-align: center;
  padding-top: 16px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-illustration {
  width: min(220px, 100%);
  height: auto;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.btn {
  display: block;
  width: 100%;
  padding: 15px 24px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background 0.15s;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover:not(:disabled) {
  background: #0400d9;
}

.btn-primary:disabled {
  background: var(--blue-disabled);
  color: var(--white);
  cursor: not-allowed;
  opacity: 1;
}

.btn-outline {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-connected {
  background: var(--blue-soft);
  color: var(--blue);
  cursor: default;
}

.message {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
  min-height: 1rem;
  line-height: 1.45;
}

.message.error { color: #b91c1c; }
.message.success { color: #047857; }

.info-card {
  padding: 22px 20px;
}

.info-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--blue);
}

.info-icon svg {
  width: 18px;
  height: 18px;
}

.info-list strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.info-list p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.footer {
  text-align: center;
  padding: 18px 0 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hidden {
  display: none;
}
