/* Colours mirror Packages/DesignSystem Palette.swift. The app is dark only, and so is the site. */
:root {
  --bg: #101E26;
  --card: #1A2D35;
  --card-raised: #243B44;
  --divider: #2E4751;
  --text: #F4F1E8;
  --text-2: #B8C8C6;
  --accent: #B9DED0;
  --on-accent: #101E26;
  --z-waking: #7E95B2;
  --z-high: #FFB65C;
  --z-slump: #5B8DEF;
  --z-wind: #8E8ADC;
  --z-eepy: #C378C7;
  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.55 ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); text-underline-offset: 3px; }

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

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
header.site .brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 600;
}
header.site .brand img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav a { margin-left: 18px; color: var(--text-2); text-decoration: none; font-size: 15px; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--text); }

.hero { text-align: center; padding: 48px 0 32px; }
.hero img.icon { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 24px 0 12px; letter-spacing: -0.5px; }
.hero p.lede { font-size: 20px; color: var(--text-2); margin: 0 auto; max-width: 30em; }

.badge {
  display: inline-block; margin-top: 28px; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none;
}
.badge.soon { background: var(--card-raised); color: var(--text-2); }

.strip { display: flex; height: 14px; border-radius: 7px; overflow: hidden; margin: 40px 0 8px; }
.strip span { display: block; }
.strip-labels { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--text-2); }
.strip-labels i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 40px 0; }
.card { background: var(--card); border-radius: 20px; padding: 20px; }
.card h2 { font-size: 18px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }

.prose { padding: 16px 0 40px; }
.prose h1 { font-size: 34px; line-height: 1.15; margin: 16px 0 4px; }
.prose h2 { font-size: 20px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose .updated { font-size: 14px; color: var(--text-2); margin-top: 0; }
.prose .contact { background: var(--card); border-radius: 18px; padding: 18px 20px; margin: 24px 0; }
.prose .contact p { margin: 0; }
.prose .contact a { font-size: 19px; font-weight: 600; }

footer.site {
  border-top: 1px solid var(--divider); margin-top: 24px; padding: 24px 0 40px;
  font-size: 14px; color: var(--text-2);
}
footer.site a { color: var(--text-2); margin-right: 16px; }

@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
  .hero p.lede { font-size: 18px; }
  header.site nav a { margin-left: 12px; }
}
