:root {
  color-scheme: dark;
  --bg: #090a0f;
  --surface: #10151d;
  --surface-strong: #111a2d;
  --line: #263142;
  --text: #f5f7fb;
  --muted: #aab2c2;
  --soft: #d9def0;
  --primary: #2f5bff;
  --primary-strong: #244be0;
  --success: #25d6a2;
  --danger: #ff4d64;
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(47, 91, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, #090a0f 0%, #0b1018 50%, #090a0f 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.invite-panel {
  width: min(100%, 460px);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.brand-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px var(--shadow);
}

.eyebrow {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
}

.status-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(47, 91, 255, 0.1), transparent 42%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 70px var(--shadow);
}

.shield-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 2px auto 18px;
  border-radius: 24px;
  background: rgba(37, 214, 162, 0.14);
  border: 1px solid rgba(37, 214, 162, 0.25);
}

.shield-mark svg {
  width: 42px;
  height: 42px;
  fill: var(--success);
}

.status-kicker {
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

h2 {
  margin-top: 8px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.14;
  text-align: center;
  font-weight: 900;
}

.support-copy {
  max-width: 360px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.invite-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 91, 255, 0.28);
  border-radius: 10px;
  background: rgba(47, 91, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.invite-meta strong {
  color: var(--soft);
  font-weight: 900;
}

.action-stack {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 900;
}

.primary-action {
  color: white;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 40px rgba(47, 91, 255, 0.28);
}

.secondary-action {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
}

.primary-action:active,
.secondary-action:active {
  transform: translateY(1px);
}

.quiet-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.quiet-note.error {
  color: var(--danger);
}

.trust-strip {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
}

.trust-strip div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(37, 214, 162, 0.12);
}

@media (max-width: 380px) {
  .page-shell {
    padding: 18px 12px;
  }

  .status-card {
    padding: 20px 16px;
  }

  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 22px;
  }
}
