/* Let them go: the app's website. Dusk is the app's default color (LetThemGo/Views/Theme.swift). */
:root {
  color-scheme: light dark;
  --accent: #3c6e94;
  --text: #1c1d21;
  --muted: #5b5f68;
  --bg: #f6f5f3;
  --card: #ffffff;
  --rule: #e3e1dc;
  --sky-top: #1d3270;
  --sky-mid: #5b80c2;
  --sky-low: #f4b79a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #5b8db8;
    --text: #ecebe8;
    --muted: #a5a8ae;
    --bg: #111215;
    --card: #1b1c20;
    --rule: #2c2e33;
  }
}

* { 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", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }

.hero {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 60%, var(--sky-low) 100%);
  color: #fff;
  padding: 56px 16px 64px;
  text-align: center;
}

.hero a { color: #fff; }

.hero img {
  width: 112px;
  height: 112px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  margin: 20px 0 8px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero p {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 19px;
  opacity: 0.95;
}

header.bar {
  border-bottom: 1px solid var(--rule);
  padding: 12px 16px;
}

header.bar a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

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

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 4px; }
h2 { font-size: 21px; line-height: 1.3; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }

p, ul { margin: 0 0 12px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }

.muted { color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px;
}

.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }

.note {
  background: var(--card);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
}

footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 15px;
  padding: 20px 16px 32px;
  text-align: center;
}

footer a { color: var(--muted); }
footer nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
