/* musclr.app: the app's colours (lib/theme/musclr_theme.dart) and Inter. */
:root {
  --coral: #ff6b4a;
  --petrol: #0894b9;
  --bg: #f4f5f8;
  --card: #ffffff;
  --text: #15161a;
  --muted: #5d6170;
  --line: #e3e5ec;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0d12;
    --card: #17181f;
    --text: #f2f3f7;
    --muted: #9ea2b2;
    --line: #262833;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

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

header.site {
  padding: 22px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-left: 18px;
}

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

.hero {
  text-align: center;
  padding: 48px 0 24px;
}

.hero img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(255, 107, 74, 0.28);
}

.hero h1 {
  font-size: clamp(36px, 7vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 26px 0 12px;
}

.hero h1 em {
  color: var(--coral);
  font-style: normal;
}

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

.soon {
  display: inline-block;
  margin-top: 26px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 40px 0 56px;
}

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

.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

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

article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  margin: 12px 0 48px;
}

article h1 {
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 4px;
}

article .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

article h2 {
  font-size: 20px;
  margin: 30px 0 6px;
}

article ul {
  padding-left: 20px;
}

article li {
  margin: 4px 0;
}

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

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}

footer.site a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 16px;
}

@media (max-width: 520px) {
  nav a {
    margin-left: 12px;
    font-size: 14px;
  }

  article {
    padding: 22px 18px;
  }
}
