:root {
  --text: #051441;
  --muted: #677294;
  --accent: #5e2ced;
  --line: #e6e4f5;
  --bg: #ffffff;
  --bg-soft: #f7f6fd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .3em;
}
.brand img { width: 40px; height: 40px; }
.site-nav { display: flex; gap: 24px; }
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover { color: var(--accent); }

/* App card */
.app-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 40px 0 8px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: 14px;
}
.app-card img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex-shrink: 0;
}
.app-card h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.app-card p { margin: 4px 0 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.app-card a { font-size: 14px; font-weight: 500; text-decoration: none; }
.app-card a:hover { text-decoration: underline; }
.app-card + .app-card { margin-top: 16px; }
.app-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* Content */
main { flex: 1 0 auto; width: 100%; }
main.container { padding-bottom: 48px; }
main h1 { font-size: 34px; line-height: 1.2; margin: 32px 0 4px; }
main h2.section { font-size: 21px; margin: 36px 0 8px; }
.updated { color: var(--muted); margin-top: 0; }
main ul { padding-left: 22px; }
main li { margin-bottom: 6px; }
code {
  font-size: 13px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
address { font-style: normal; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  main h1 { font-size: 27px; }
  .app-card { align-items: flex-start; }
  .app-card img { width: 56px; height: 56px; border-radius: 12px; }
}
