:root {
  font-family: system-ui, -apple-system, "Microsoft JhengHei", sans-serif;
  color: #172c26;
  background: #f3f7f5;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
  min-height: 100svh;
  margin: 0;
  padding: 28px 20px;
  display: grid;
  place-items: center;
}
main {
  width: min(100%, 344px);
  display: grid;
  grid-template-columns: max-content;
  justify-content: center;
  padding: 36px 30px 32px;
  border: 1px solid #dce6e0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(28, 59, 43, .055);
}
.branding {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 28px;
}
.brand {
  display: block;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 14px;
}
.branding small {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .2em;
  color: #71837b;
  font-weight: 500;
}
.branding h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 600;
  white-space: nowrap;
}
a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fd4b2d;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  transition: background .15s, box-shadow .15s;
}
a:hover {
  background: #e94328;
  box-shadow: 0 4px 12px rgba(233, 67, 40, .16);
}
a:focus-visible {
  outline: 3px solid #ffb7a8;
  outline-offset: 4px;
}
@media (max-width: 380px) {
  body { padding: 24px 16px; }
  main { padding: 32px 24px 28px; border-radius: 18px; }
  .branding { gap: 14px; margin-bottom: 28px; }
  .brand { width: 50px; height: 50px; border-radius: 13px; }
  .branding h1 { font-size: 24px; }
}
