:root {
  color-scheme: light;

  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: rgba(31, 41, 55, 0.12);
  --primary: #2563eb;

  --space-10: 2.5rem;
  --space-8: 2rem;
  --space-4: 1rem;
  --space-3: .75rem;

  --text-xs: .8125rem;
  --text-sm: .9375rem;
  --text-xl: clamp(2rem, 5vw, 3.2rem);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #ffffff, var(--bg));
  color: var(--text);
  font-family: Arial, sans-serif;
}

.wrap {
  width: min(92vw, 560px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
}

p {
  color: var(--muted);
  line-height: 1.5;
}

button {
  appearance: none;
  border: 0;
  background: var(--accent);
  color: white;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 14px;
  font-size: 1rem;
  transition: background .2s ease, transform .2s ease;
}

button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.current {
  margin-top: 18px;
  word-break: break-word;
  color: var(--text);
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

/* ---------- Footer ---------- */
.footer {
  padding: var(--space-10) 0 var(--space-8);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--text-sm);
}

.footer .wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  text-align: center;
  margin-bottom: .15rem;
}

.footer-links a {
  text-decoration: none;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links .sep {
  width: 1px;
  height: .9rem;
  background: var(--border);
  display: inline-block;
  flex-shrink: 0;
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--muted);
  opacity: .85;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .hero-left {
    order: 1;
  }

  .hero-right {
    order: 2;
  }

  .topbar-inner {
    gap: 1rem;
  }

  .checker-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-links {
    gap: .4rem var(--space-3);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-8) 0 var(--space-8);
  }

  h1 {
    font-size: var(--text-xl);
  }

  .footer-links .sep {
    display: none;
  }
}