:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.66);
  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --accent: #2563eb;
  --accent-ink: #ffffff;
  --focus: rgba(37, 99, 235, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(800px 380px at 100% 20%, rgba(14, 165, 233, 0.10), transparent 55%),
    radial-gradient(700px 320px at 60% 100%, rgba(99, 102, 241, 0.08), transparent 55%);
  pointer-events: none;
}

.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.card {
  width: min(680px, 100%);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background:
    radial-gradient(12px 12px at 30% 30%, rgba(255, 255, 255, 0.95), transparent 55%),
    linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: var(--shadow-soft);
}

.brand-name {
  font-weight: 720;
  letter-spacing: -0.03em;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.hero {
  padding: 18px 22px 4px;
}

.headline {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.subheadline {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--muted);
}

.support {
  margin: 14px 0 0;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.64);
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px 22px 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease,
    border-color 140ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--focus), var(--shadow-soft);
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.30);
}

.btn-primary:active {
  transform: translateY(0px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.26);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.70);
  color: rgba(15, 23, 42, 0.86);
  border-color: var(--border);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
}

.btn-ghost:active {
  transform: translateY(0px);
}

.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  padding: 14px 22px 18px;
  color: rgba(15, 23, 42, 0.58);
}

.footer small {
  font-size: 12px;
}

@media (max-width: 520px) {
  .header,
  .hero,
  .actions,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .pill {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

