*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 20px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  background: linear-gradient(200deg, #255b8f 0%, #143266 45%, #05113b 100%) fixed;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.brand img { width: 88px; height: 88px; }

.brand .name {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0;
  max-width: 22em;
  color: #c9d8ee;
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(2, 8, 32, 0.35);
}

.card h1 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
}

.code-box {
  margin: 18px 0 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f4f7fc;
  text-align: center;
}

.code-box .label {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-box .code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
  user-select: all;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn + .btn { margin-top: 10px; }

.btn-primary { background: #ff6b35; color: #fff; }
.btn-primary:active { background: #e85a27; }

.btn-soft { background: #eef3fb; color: #2563eb; }

.btn[aria-disabled="true"] {
  background: #eef2f7;
  color: #64748b;
  cursor: default;
}

.steps {
  margin: 18px 0 0;
  padding: 0 0 0 20px;
  color: #334155;
  font-size: 15px;
  line-height: 1.55;
}

.steps li + li { margin-top: 4px; }

.note {
  margin-top: 14px !important;
  font-size: 13px !important;
}

footer {
  color: #8fa6c8;
  font-size: 13px;
  text-align: center;
}

footer a { color: inherit; }

[hidden] { display: none !important; }
