:root {
  --hr-red: #c8102e;
  --hr-blue: #171796;
  --hr-blue-dark: #0f105f;
  --hr-blue-light: #e8ecf8;
  --text-primary: #1a1a3a;
  --text-muted: #4a4a6a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
  background: #f6f8fc;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-left));
}

.redirect-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.redirect-brand {
  display: block;
  margin-bottom: 24px;
}

.redirect-brand img {
  width: 140px;
  height: auto;
}

.redirect-card {
  background: #fff;
  border: 2px solid var(--hr-blue);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 8px 28px rgba(23, 23, 150, 0.1);
}

.redirect-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hr-red);
  margin-bottom: 12px;
}

.redirect-card h1 {
  font-size: 1.35rem;
  color: var(--hr-blue-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.redirect-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.destination-box {
  background: var(--hr-blue-light);
  border-left: 5px solid var(--hr-red);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.destination-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hr-blue);
  margin-bottom: 8px;
}

.destination-url {
  font-size: 0.88rem;
  word-break: break-all;
  margin-bottom: 10px;
}

.destination-url a {
  color: var(--hr-blue-dark);
  font-weight: 600;
  text-decoration: underline;
}

.destination-platform {
  font-size: 0.9rem;
}

.redirect-notice {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.redirect-notice strong {
  color: var(--text-primary);
}

.redirect-timer {
  font-size: 0.85rem;
  color: var(--hr-blue);
  margin-bottom: 22px;
}

.redirect-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-continue {
  display: block;
  text-align: center;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--hr-blue);
  border: 2px solid var(--hr-blue);
  border-radius: 100px;
  text-decoration: none;
}

.btn-continue:hover {
  background: var(--hr-blue-dark);
  border-color: var(--hr-blue-dark);
  color: #fff;
}

.btn-back {
  display: block;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hr-blue-dark);
  background: #fff;
  border: 2px solid rgba(23, 23, 150, 0.25);
  border-radius: 100px;
  text-decoration: none;
}

.btn-back:hover {
  border-color: var(--hr-red);
  color: var(--hr-red);
}

.redirect-legal {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.redirect-legal a {
  color: var(--hr-blue);
}
