:root {
  --bg: #fafaf7;
  --fg: #1a1a1a;
  --muted: #666;
  --line: #e5e3dc;
  --accent: #ee6f21;
  --accent-dark: #c95708;
  --card: #ffffff;
  --radius: 14px;
  --maxw: 960px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e0c;
    --fg: #f2efe9;
    --muted: #a8a39a;
    --line: #2a2824;
    --card: #17150f;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--fg); text-decoration: none; }

/* Hero */
.hero {
  padding: 72px 0 48px;
  text-align: center;
}
.hero img.icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(238, 111, 33, 0.25);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  font-weight: 700;
}
.hero .tagline {
  font-size: 21px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
}
.badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge.ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.requirements {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* Hero screenshot */
.screenshot {
  margin: 56px auto 0;
  max-width: 1040px;
  padding: 0 16px;
}
.screenshot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
  display: block;
}

/* Features */
.features {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  margin-top: 72px;
}
.features h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
  text-align: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: var(--radius);
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Content pages (privacy/terms/support) */
.content {
  padding: 56px 0 72px;
  max-width: 720px;
}
.content h1 {
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.content .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}
.content h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 36px 0 10px;
  font-weight: 600;
}
.content h3 {
  font-size: 17px;
  margin: 24px 0 6px;
  font-weight: 600;
}
.content p, .content li {
  color: var(--fg);
  font-size: 16px;
  line-height: 1.65;
}
.content ul { padding-left: 22px; }
.content li { margin-bottom: 6px; }
.content code {
  background: var(--line);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 14px;
}

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--card);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* Contact box */
.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  text-align: center;
}
.contact-box p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.contact-box a {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  margin-top: 48px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--fg); text-decoration: none; }

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 44px 0 32px; }
  .hero h1 { font-size: 34px; }
  .hero .tagline { font-size: 17px; }
  .features { padding: 48px 0; margin-top: 48px; }
  .nav { display: none; }
  .site-footer .container { flex-direction: column; text-align: center; }
}
