* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #111;
  color: #fff;
}
body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  display: flex;
  justify-content: center;
  padding: 24px 16px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
main {
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 8px 0 10px;
  text-align: center;
}
.brand img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}
h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
a.card {
  display: block;
  background: #111;
  color: #fff;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 24px;
  padding: 18px 18px 16px;
  min-height: 88px;
}
a.card:hover,
a.card:focus-visible {
  background: #fff;
  color: #111;
  outline: none;
}
.title {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}
.sub {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
}
.note {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.45;
}

.logo { margin: 0 0 6px; background: #fff; border-radius: 18px; padding: 14px; text-align: center; }
.logo img { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto; }
