:root {
  --bg: #ffffff;
  --surface: #fffaf4;
  --fg: #22190f;
  --muted: #8a7f6f;
  --accent: #ff7a1a;
  --border: #f2e6d8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #201a12;
    --surface: #2a2117;
    --fg: #fbf3e7;
    --muted: #c2b39d;
    --accent: #ffa64d;
    --border: #3d3122;
  }
}
:root[data-theme="dark"] {
  --bg: #201a12;
  --surface: #2a2117;
  --fg: #fbf3e7;
  --muted: #c2b39d;
  --accent: #ffa64d;
  --border: #3d3122;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 22px 96px;
}

nav.site {
  max-width: 700px;
  margin: 0 auto;
  padding: 28px 22px 0;
  display: flex;
  gap: 20px;
  font-size: 0.86rem;
}
nav.site a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
nav.site a.current {
  color: var(--fg);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
nav.site a:hover {
  color: var(--fg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin: 40px 0 14px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin: 0 0 6px;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

.updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.lede {
  color: var(--muted);
  font-size: 1rem;
  margin: 24px 0 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: 1.05rem;
  margin: 48px 0 16px;
  color: var(--fg);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
h2 .mark {
  color: var(--accent);
  font-size: 0.9em;
}

p, li {
  font-size: 0.98rem;
  color: var(--fg);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 20px;
}
.row {
  display: grid;
  grid-template-columns: minmax(120px, 30%) 1fr;
  gap: 6px 20px;
  padding: 18px 0;
}
.row + .row {
  border-top: 1px solid var(--border);
}
.row dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}
.row dd {
  margin: 0;
  font-size: 0.95rem;
}
dl.card { margin: 0; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

/* --- support page specific --- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  display: flex;
  gap: 10px;
}
.faq-item h3 .icon {
  color: var(--accent);
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: pre-line;
}

/* --- landing page specific --- */
.hero-shot {
  margin: 8px 0 44px;
  text-align: center;
}
.hero-shot img,
.hero-shot video {
  max-width: 300px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.35);
}
.hero-video-caption {
  margin: 12px auto 0;
  max-width: 300px;
  color: var(--muted);
  font-size: 0.82rem;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.feature img.shot {
  max-width: 260px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
  margin-top: 16px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
}
.step .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step p {
  margin: 0 0 12px;
  white-space: pre-line;
}
.step img {
  max-width: 260px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
}

.how-to-video {
  max-width: 320px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
  margin-top: 8px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-card .label {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 2px;
}
.contact-card .email {
  font-size: 1rem;
  font-weight: 600;
}
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.store-cta {
  margin: -20px 0 44px;
}

@media (max-width: 480px) {
  .row { grid-template-columns: 1fr; gap: 4px; }
  .step { grid-template-columns: 28px 1fr; }
}
