/* Shared styles for clipickapp.com's tiny static site (the root "get the app"
   page and the /c/<id> share-link redirect page). Deliberately the same
   design tokens as the in-app Privacy Policy and Support pages (dark-only,
   Archivo Black + Hanken Grotesk + JetBrains Mono, --win green accent) so a
   shared link feels like it came from the same product as the app it opens.
   See lib/theme.ts in the app repo for the source of truth on these colors. */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Hanken+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg0: #070f0a;
  --panel: #0f1c16;
  --raised: #122720;
  --line: #1c3229;
  --ink: #eaf3ec;
  --ink-dim: #8ea89a;
  --ink-faint: #5b7368;
  --win: #33f08b;
  --win-ink: #0a2016;
  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg0);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(51, 240, 139, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(255, 201, 60, 0.05), transparent 55%);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.mark {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--win); color: var(--win-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px;
  margin: 0 auto 20px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 32px);
  line-height: 1.15;
  margin: 0 0 10px;
  text-wrap: balance;
}

p.lede {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin: 0 0 28px;
}

.btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  margin-bottom: 12px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--win);
  color: var(--win-ink);
}

.btn-secondary {
  background: var(--raised);
  color: var(--ink);
  border-color: var(--line);
}

.status {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 22px;
}

.spinner {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  border-top-color: var(--win);
  margin: 0 auto 18px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
