:root {
  --brand: #ff004c;
  --bg: #ffffff;
  --surface: #eff2fd;
  --text: #1d1d1f;
  --muted: #3d3e68;
  --border: #dde2f2;
  --link: #d6003f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #2f2f38;
    --text: #f5f5f7;
    --muted: #b9bad3;
    --border: #3d3d48;
    --link: #ff4d7f;
  }
}

* { 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, Arial, sans-serif;
}

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

.site-header {
  background: var(--brand);
  color: #fff;
  padding: 20px 16px;
}

.site-header .inner,
main,
.site-footer .inner {
  max-width: 760px;
  margin: 0 auto;
}

.site-header a { color: #fff; text-decoration: none; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

nav {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 15px;
}

nav a { opacity: 0.85; }
nav a[aria-current="page"] { opacity: 1; font-weight: 600; text-decoration: underline; }

main { padding: 28px 16px 48px; }

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

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

.card {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0;
}

.card h2, .card h3 { margin-top: 0; }

.app-card {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.app-card img { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.app-card p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

.button {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap { overflow-x: auto; }

details { border-bottom: 1px solid var(--border); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p, details ul { margin: 8px 0 0; }

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  padding: 20px 16px 32px;
}

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