/* pearl.camera: black and white like the app, with the pearl's sheen as its one color. */
:root {
  --bg: #0b0b0c;
  --surface: #161618;
  --text: #f6f4f2;
  --muted: #a3a1a6;
  --line: #2a2a2e;
  --sheen: linear-gradient(100deg, #fffefc, #ffbdd6, #c2baff, #b3dbff, #adf7e3, #ffe8b8, #fffefc);
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

a { color: inherit; text-underline-offset: 3px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

header.bar a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
}

header.bar img { width: 32px; height: 32px; border-radius: 8px; }

/* Home */

.hero { text-align: center; padding: 56px 0 40px; }

.hero img.icon {
  width: 128px;
  height: 128px;
  border-radius: 29px;
  box-shadow: 0 0 80px rgba(194, 186, 255, 0.25);
}

.hero h1 {
  margin: 28px 0 8px;
  font-size: clamp(40px, 9vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.sheen {
  background: var(--sheen);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead { margin: 0 auto; max-width: 520px; color: var(--muted); font-size: 20px; }

.store {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--sheen);
  color: #121214;
  font-weight: 600;
  text-decoration: none;
}

.store.soon { cursor: default; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  padding: 24px 0 56px;
}

.feature {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.feature h2 { margin: 0 0 6px; font-size: 18px; }

.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Legal pages */

article { padding: 24px 0 56px; }

article h1 { font-size: 36px; line-height: 1.15; margin: 16px 0 4px; letter-spacing: -0.01em; }

article .updated { color: var(--muted); margin: 0 0 32px; }

article h2 { font-size: 20px; margin: 36px 0 8px; }

article p, article li { color: #dcdad8; }

article ul { padding-left: 22px; }

article li { margin: 6px 0; }

article .caps { text-transform: uppercase; font-size: 15px; }

/* Footer */

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }

footer a { text-decoration: none; }

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