/* ---------- tokens ---------- */
:root {
  --bg:        #1C1714;
  --surface:   #241D19;
  --text:      #FAF7F2;
  --text-mute: rgba(250, 247, 242, 0.75);
  --text-dim:  rgba(250, 247, 242, 0.55);
  --border:    rgba(250, 247, 242, 0.08);
  --accent:    #FF7849;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- base ---------- */
html {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: var(--bg);
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 24px 80px;
}

section {
  margin: 0 0 80px;
}

@media (max-width: 600px) {
  main { padding: 64px 24px 56px; }
  section { margin: 0 0 56px; }
}

/* ---------- typography ---------- */
h1 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--text);
}

p { margin: 0 0 12px; color: var(--text-mute); }

code, pre {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}

a:hover { text-decoration-color: var(--accent); }

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 0; }

.hero-icon {
  width: 280px;
  height: 280px;
  margin: 0 auto 32px;
}

.hero-tagline {
  color: var(--text-mute);
  font-size: 20px;
  margin: 0 0 8px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .hero-icon { width: 200px; height: 200px; margin-bottom: 24px; }
  h1 { font-size: 36px; }
  .hero-tagline { font-size: 18px; }
  .hero-sub { font-size: 14px; }
}

/* ---------- install ---------- */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 60px; }
.install-caveat { grid-column: 1 / -1; text-align: center; font-size: 13px; color: var(--text-dim); margin: 8px 0 0; }

.install-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.install-card code {
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-btn {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn.copied { color: var(--accent); border-color: var(--accent); }

.install-dmg {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.install-dmg:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.install-arrow { margin-left: 6px; }

@media (max-width: 600px) {
  .install { grid-template-columns: 1fr; }
}

/* ---------- demo ---------- */
.demo { margin: 0 0 80px; }
.demo-img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(250, 247, 242, 0.06);
  border-radius: 8px;
  display: block;
}

/* ---------- features ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  color: var(--text-mute);
  font-size: 16px;
}
.feature-list strong { color: var(--text); font-weight: 500; }

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
  flex: 0 0 8px;
}

/* ---------- faq ---------- */
.faq h2 { color: var(--text-mute); }

.faq-list { margin: 0; padding: 0; }
.faq-list dt {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  margin: 24px 0 6px;
}
.faq-list dt:first-of-type { margin-top: 0; }
.faq-list dd {
  margin: 0 0 0 0;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.55;
}
.faq-list dd code {
  font-size: 13px;
  background: var(--surface);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--text);
}

/* ---------- enable ---------- */
.enable-steps { padding-left: 22px; margin: 0; color: var(--text-mute); font-size: 15px; }
.enable-steps li { margin: 0 0 10px; }
.enable-steps strong { color: var(--text); font-weight: 500; }

/* ---------- privacy ---------- */
.privacy p {
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- footer ---------- */
.site-footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer span { color: var(--border); }
