* { box-sizing: border-box; }
html, body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  position: relative;
}

.lang-switcher {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 13px;
  user-select: none;
}
.lang-switcher > summary {
  list-style: none;
  cursor: pointer;
  padding: 6px 10px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-switcher > summary::-webkit-details-marker { display: none; }
.lang-switcher > summary:hover { border-color: #c8c8c8; }
.lang-switcher[open] > summary { border-color: #c8c8c8; }
.lang-switcher .caret {
  font-size: 10px;
  color: #888;
  transition: transform 0.15s;
}
.lang-switcher[open] .caret { transform: rotate(180deg); }
.lang-switcher .flag { font-size: 14px; line-height: 1; }
.lang-switcher ul {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  min-width: 80px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.lang-switcher ul a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  text-decoration: none;
  border-radius: 6px;
  color: #1a1a1a;
}
.lang-switcher ul a:hover { background: #f5f5f5; }
h1 {
  font-size: 40px;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.tag {
  color: #666;
  margin: 0 0 40px;
  font-size: 16px;
}
h2 {
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 600;
}
h3 {
  font-size: 15px;
  margin-top: 24px;
  margin-bottom: 8px;
  font-weight: 600;
}
p, ul, ol { margin-top: 0; margin-bottom: 16px; font-size: 15px; }
ul, ol { padding-left: 20px; }
li { margin-bottom: 6px; }
a { color: #0a0a0a; text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: none; }
section { margin-bottom: 24px; }
.soft-cta {
  margin-top: 56px;
  padding: 20px 22px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
}
.soft-cta h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.soft-cta p { margin: 0; color: #555; font-size: 14px; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  background: #f3f3f3;
  padding: 1px 5px;
  border-radius: 4px;
}
.download { margin: 0 0 40px; }
.download img { display: block; height: 70px; width: auto; }
.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 48px;
}
.screenshots img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
  background: #f5f5f5;
}
@media (max-width: 600px) {
  .screenshots {
    grid-template-columns: repeat(3, 70%);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .screenshots img {
    scroll-snap-align: start;
    border-radius: 20px;
  }
}
footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  color: #888;
  font-size: 13px;
}
.meta { color: #888; font-size: 13px; margin-bottom: 32px; }
.back { font-size: 13px; color: #888; }
@media (max-width: 480px) {
  main { padding: 40px 20px 60px; }
  h1 { font-size: 32px; }
}
