:root {
  --bg: #fbf7ef;
  --surface: #ffffff;
  --text: #2a2226;
  --muted: #6b6166;
  --line: #e7dfd2;
  --accent: #0f7a6c;
  --accent-soft: #d8eef6;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17191c;
    --surface: #202328;
    --text: #ece8e1;
    --muted: #a7a19a;
    --line: #33373d;
    --accent: #5cc8b6;
    --accent-soft: #1f3a40;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

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

header.site {
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}

header.site a.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

main {
  padding: 40px 0 64px;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

h2 {
  font-size: 1.25rem;
  margin: 32px 0 8px;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 32px;
}

.apps {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.app {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}

.app:hover {
  border-color: var(--accent);
}

.app img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex: none;
}

.app strong {
  display: block;
}

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

.hero {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.hero img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  flex: none;
}

.banner {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin: 8px 0 24px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

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

.button.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.note {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 12px 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.table-scroll {
  overflow-x: auto;
}

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 24px 0;
}
