* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  margin: 0;
  padding: 1.5rem 1rem 4rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 680px; margin: 0 auto; }

header.site {
  max-width: 980px;
  margin: 0 auto 1rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
a.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 1.05rem;
  color: inherit; text-decoration: none;
}
.mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: #1d1d1f; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}
header.site nav { display: flex; gap: 1.1rem; }
header.site nav a { color: #1d1d1f; text-decoration: none; font-size: 0.92rem; opacity: 0.75; }
header.site nav a:hover { opacity: 1; }

.hero { text-align: left; margin: 3rem 0 2rem; }
.hero h1 { font-size: 2.3rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.4rem; }
.hero .subtitle { color: #6e6e73; margin: 0; font-size: 1rem; }

section.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  padding: 1.6rem 1.75rem;
  margin: 1.1rem 0;
}
section.card > :first-child { margin-top: 0; }
section.card > :last-child { margin-bottom: 0; }
h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 0.8rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.2rem 0 0.2rem; }
p, li { font-size: 0.95rem; color: #333336; }
a { color: #0a66c2; }
ul { padding-left: 1.2rem; }

footer.legal {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: #6e6e73;
}
footer.legal a { color: #6e6e73; margin: 0 0.6rem; }

@media (prefers-color-scheme: dark) {
  body { background: #000; color: #f5f5f7; }
  header.site { background: #1c1c1e; box-shadow: none; }
  header.site nav a { color: #f5f5f7; }
  .mark { background: #f5f5f7; color: #1d1d1f; }
  .hero .subtitle { color: #98989d; }
  section.card { background: #1c1c1e; border-color: rgba(255,255,255,0.08); box-shadow: none; }
  p, li { color: #d1d1d6; }
  a { color: #6cb2ff; }
  footer.legal, footer.legal a { color: #98989d; }
}
