/* Ranky — joinranky.com static site
   Plain CSS, no framework. Dark, brand-forward (accent #8f0afb). */

:root {
  --bg: #000000;
  --surface: #0d0d0f;
  --border: #232327;
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --brand: #8f0afb;
  --brand-light: #b67fea;
  --radius: 16px;
  --maxw: 720px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter,
    Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand-light);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* ── Header / brand ── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px 2px rgba(143, 10, 251, 0.6);
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 72px 0 48px;
}

.hero h1 {
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 24px 0 12px;
  background: linear-gradient(180deg, #ffffff, #c7c7cf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
  max-width: 30ch;
  margin: 0 auto 32px;
}

/* ── Store buttons ── */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
}

.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ── Content pages (privacy / terms) ── */
.doc h1 {
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}

.doc h2 {
  font-size: 20px;
  margin: 32px 0 8px;
  letter-spacing: -0.01em;
}

.doc .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.doc p,
.doc li {
  color: #d4d4d8;
}

.notice {
  border: 1px dashed #7a3fce;
  background: rgba(143, 10, 251, 0.08);
  color: var(--brand-light);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  margin: 20px 0 28px;
}

/* ── Footer ── */
.footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
}

.footer nav {
  display: flex;
  gap: 20px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

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

/* ── 404 / open-in-app ── */
.center {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
