/* sprite.dropb.app の共通スタイル。配色はアプリ（App/Sources/Theme/Theme.swift）に合わせる */
:root {
  --bg: #14171c;
  --surface: #1f2129;
  --surface-raised: #2b2e3a;
  --text: rgba(255, 255, 255, 0.92);
  --text-dim: rgba(255, 255, 255, 0.6);
  --accent: #5cc7f2;
  --separator: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

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

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

header.site {
  border-bottom: 1px solid var(--separator);
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header.site a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
header.site img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav { margin-left: auto; display: flex; gap: 16px; font-size: 0.95rem; }
header.site nav a { color: var(--text-dim); text-decoration: none; }
header.site nav a:hover { color: var(--text); }

main { padding: 40px 0 64px; }

h1 { font-size: 2rem; line-height: 1.3; margin: 0 0 8px; }
h2 { font-size: 1.3rem; margin: 40px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 4px; }
p, li { color: var(--text); }
.lead { color: var(--text-dim); font-size: 1.1rem; margin-top: 0; }
.updated { color: var(--text-dim); font-size: 0.9rem; }

.lang-switch { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 24px; }

section.lang + section.lang {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--separator);
}

.hero { text-align: center; }
.hero .icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); }
.hero h1 { margin-top: 20px; }

.badge {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text-dim);
  font-size: 0.95rem;
}

.screenshot {
  display: block;
  width: 100%;
  height: auto;
  margin: 40px 0 0;
  border-radius: 16px;
  border: 1px solid var(--separator);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}
.features li {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px;
}
.features strong { display: block; margin-bottom: 4px; }
.features span { color: var(--text-dim); font-size: 0.95rem; }

.contact {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
}

footer.site {
  border-top: 1px solid var(--separator);
  color: var(--text-dim);
  font-size: 0.85rem;
}
footer.site .wrap { padding-top: 20px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site a { color: var(--text-dim); }
