:root {
  --bg: #0d1117;
  --bg-raised: #161b22;
  --border: #2d333b;
  --text: #e6edf3;
  --text-dim: #9da7b3;
  --orange: #f97316;
  --orange-bright: #ff8c33;
  --gold: #e8c266;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
nav .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
nav img { width: 32px; height: 32px; border-radius: 8px; }
nav .brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
nav a.link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
}
nav a.link:hover { color: var(--orange-bright); }

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 56px;
}
.hero img.icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(249, 115, 22, 0.25);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 24px 0 8px;
  letter-spacing: -0.02em;
}
.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--orange-bright);
  font-weight: 600;
}
.hero p.sub {
  color: var(--text-dim);
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}
.badges {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  border: 1px solid var(--border);
  background: var(--bg-raised);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.badge strong { color: var(--gold); font-weight: 600; }

/* Sections */
section { padding: 48px 0; }
section + section { border-top: 1px solid var(--border); }
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h2 .accent { color: var(--orange); }

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px 16px 60px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #0d1117;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

.carousel {
  position: relative;
  max-width: 340px;
  margin: 8px auto 0;
}
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { display: none; }
.shots img {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  border-radius: 24px;
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.carousel .arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(0,0,0,0.6); color: var(--text);
  font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.carousel .arrow.prev { left: -56px; }
.carousel .arrow.next { right: -56px; }
@media (max-width: 480px) {
  .carousel .arrow.prev { left: 8px; }
  .carousel .arrow.next { right: 8px; }
}
.carousel .dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 14px;
}
.carousel .dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: var(--border); cursor: pointer;
}
.carousel .dots button.active { background: var(--orange); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.88); padding: 24px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: 100%; max-width: 100%;
  border-radius: 24px; border: 1px solid var(--border);
}

/* Bio */
.bio {
  color: var(--text-dim);
  max-width: 640px;
}
.bio strong { color: var(--text); }
.bio.made-in {
  margin-top: 14px;
  color: var(--gold);
  font-weight: 600;
}

/* Prose pages (support / privacy) */
.prose { padding: 48px 0 72px; }
.prose h1 { font-size: 2rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.prose .meta { color: var(--text-dim); margin-bottom: 32px; }
.prose h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--text-dim); }
.prose p strong, .prose li strong { color: var(--text); }
.prose ul { padding-left: 24px; margin: 12px 0; }
.prose li { margin: 6px 0; }
.prose a { color: var(--orange-bright); }
.prose code {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9em;
}
.callout {
  background: var(--bg-raised);
  border: 1px solid var(--orange);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 20px 0;
}
.callout p { color: var(--text); }

.btn {
  display: inline-block;
  background: var(--orange);
  color: #0d1117;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 999px;
  margin-top: 12px;
}
.btn:hover { background: var(--orange-bright); }

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 48px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
footer .wrap {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer a { color: var(--text-dim); }
footer a:hover { color: var(--orange-bright); }

/* store buttons */
.stores {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.stores a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: var(--orange);
  color: #0d1117;
}
.stores a.alt {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.stores a:hover { background: var(--orange-bright); }
.stores a.alt:hover { background: rgba(255,255,255,0.06); }

/* faq */
.faq { margin-top: 8px; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "＋ "; color: var(--orange); }
.faq details[open] summary::before { content: "－ "; }
.faq p { color: var(--text-dim); margin: 10px 0 0; line-height: 1.6; }

/* read-next links */
.readnext { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.readnext a {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  flex: 1 1 240px;
}
.readnext a:hover { border-color: var(--orange); }
