:root {
  --bg: #0f172a;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.14);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --button: #f8fafc;
  --button-text: #0f172a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.24), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.16), transparent 28rem),
    linear-gradient(135deg, #020617 0%, #0f172a 48%, #111827 100%);
}

a { color: inherit; }

.page {
  width: min(100% - 32px, 980px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0 28px;
  display: grid;
  place-items: center;
}

.card {
  width: min(100%, 720px);
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 9vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 750;
}

.headline {
  width: min(100%, 560px);
  margin: 28px auto 0;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.subtext {
  width: min(100%, 520px);
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.actions {
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button, .copy {
  appearance: none;
  border: 0;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button {
  background: var(--button);
  color: var(--button-text);
}

.copy {
  gap: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.copyHint {
  color: var(--muted-2);
  font-size: 13px;
}

.button:focus-visible, .copy:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
}

footer {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 22px, 980px);
    padding-top: 22px;
  }

  .card { border-radius: 24px; }

  .actions { display: grid; }

  .button, .copy { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .card { animation: enter 700ms ease both; }

  @keyframes enter {
    from { opacity: 0; transform: translateY(14px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}
