*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: #1C1C1C;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header — white, black logo ─────────────────────────────────── */
header {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

header img { height: 36px; width: 191px; flex-shrink: 0; }

/* ── Page title area — white background ─────────────────────────── */
.page-title {
  background: #fff;
  padding: 40px 40px 48px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.page-title p {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4B5563;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.page-title h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0A1628;
  line-height: 1.15;
}

/* ── Gradient band ───────────────────────────────────────────────── */
.gradient-band {
  background: linear-gradient(135deg, #0d2d3e 0%, #0e4060 40%, #1a6080 100%);
  flex: 1;
  padding: 48px 24px 64px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ── Card ───────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 48px 44px;
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0A1628;
}

.card p.subtitle {
  color: #4B5563;
  font-size: 0.975rem;
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ── Primary button ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: #0A1628;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 18px 52px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.18s;
}
.btn-primary:hover { background: #0e4d8a; }

/* ── Outline / retry button ─────────────────────────────────────── */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: #0A1628;
  border: 2px solid #0A1628;
  border-radius: 3px;
  padding: 11px 34px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-top: 28px;
  transition: background 0.18s, color 0.18s;
}
.btn-outline:hover { background: #0A1628; color: #fff; }

/* ── Result icon ────────────────────────────────────────────────── */
.result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  font-weight: 700;
}
.result-icon.success { background: #DCFCE7; color: #166534; }
.result-icon.failure { background: #FEE2E2; color: #991B1B; }

.result-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.result-title.success { color: #166534; }
.result-title.failure { color: #991B1B; }

.result-message {
  font-size: 0.975rem;
  line-height: 1.7;
  color: #4B5563;
}

.divider {
  border: none;
  border-top: 1px solid #E5E7EB;
  margin: 28px 0 0;
}

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  background: #0A1628;
  color: #9CA3AF;
  text-align: center;
  padding: 20px 24px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ── Hidden ─────────────────────────────────────────────────────── */
.hidden { display: none !important; }
