:root {
  --bg: #0a0a0c;
  --panel: #1a1a1e;
  --panel-2: #141418;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --cyan: #22d3ee;
  --purple: #a855f7;
  --pink: #f472b6;
  --red: #ef4444;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #67e8f9;
}

/* Blurred office-style backdrop */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(8, 8, 12, 0.82), rgba(8, 8, 12, 0.92)),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=60") center / cover no-repeat;
  filter: blur(0px);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.35);
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  width: min(320px, 48vw);
  height: 48px;
}

.logo:hover {
  opacity: 0.9;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.top-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
}

.top-nav a:hover {
  color: #fff;
}

/* Main modal */
.page {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 180px);
  padding: 1.5rem 1.25rem 2rem;
}

.modal {
  position: relative;
  width: min(920px, 100%);
  background: var(--panel);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 2rem 2rem 1.75rem;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.modal-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #a855f7, #6366f1, #22d3ee);
}

.modal-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.alert-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin-top: 0.55rem;
  filter: none;
}

.alert-doodle {
  display: block;
  transform: rotate(-4deg);
}

.modal-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #df0000, #c084fc, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modal-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 36rem;
  line-height: 1.55;
}

.modal-sub a {
  color: #e9d5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-card {
  display: block;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(34, 211, 238, 0.55);
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-left-color: var(--cyan);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(34, 211, 238, 0.08);
  color: inherit;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
}

.feature-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Download panel */
.download-panel {
  text-align: center;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 14px;
  background: #111115;
  border: 1px solid var(--line);
}

.download-panel h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.download-panel > p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  min-width: 220px;
  margin: 0 auto;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #6366f1, #a855f7);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 12px 40px rgba(99, 102, 241, 0.35);
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 16px 48px rgba(168, 85, 247, 0.4);
}

.download-btn:active {
  transform: translateY(0);
}

.verifier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  margin: 1.1rem auto 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.08);
  color: #a1a1aa;
  font-size: 0.82rem;
}

.verifier-seal {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #fff;
  flex-shrink: 0;
}

.verifier-seal svg {
  display: block;
}

.verifier-text strong {
  color: #e9d5ff;
  font-weight: 700;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 1.25rem 2rem 2rem;
  text-align: center;
}

.disclaimer {
  max-width: 720px;
  margin: 0 auto 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.disclaimer strong {
  color: #e4e4e7;
}

.disclaimer code {
  font-size: 0.78rem;
  color: #c4b5fd;
}

.footer-meta {
  margin: 0;
  font-size: 0.78rem;
  color: #71717a;
}

.footer-meta a {
  color: #a1a1aa;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
  }

  .top-nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .modal-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
