:root {
  --bg: #1e1e1e;
  --bg-elevated: #252525;
  --bg-card: #2a2a2a;
  --border: #444;
  --text: #f2f2f2;
  --text-muted: #aaa;
  --accent: #c9a227;
  --accent-hover: #dbb42e;
  --accent-soft: rgba(201, 162, 39, 0.14);
  --success: #4caf50;
  --max-width: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(37, 37, 37, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #1a1a1a;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

main {
  padding: 0 24px 64px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero {
  padding: 56px 0 40px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.15;
}

.hero p {
  margin: 0 auto 28px;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.section {
  padding: 40px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.section > .container > p.lead {
  margin: 0 0 28px;
  color: var(--text-muted);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  margin-bottom: 16px;
  padding: 18px 18px 18px 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 28px;
  background: linear-gradient(180deg, #2f2a22 0%, var(--bg-card) 100%);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 16px;
}

.pricing-card .price {
  margin: 8px 0 4px;
  font-size: 2.6rem;
  font-weight: 700;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-pricing-note {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-tagline {
  margin: 0 0 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.pricing-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.pricing-highlight {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-card ul {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
  text-align: left;
  color: var(--text-muted);
}

.pricing-card li {
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.faq details {
  margin-bottom: 12px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.page-hero {
  padding: 48px 0 24px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
}

.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 32px;
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
}

.callout p {
  margin: 0;
}

.site-footer {
  margin-top: 48px;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: 84px;
}

.guide-toc h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.guide-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.guide-toc li {
  margin-bottom: 8px;
}

.guide-toc a {
  color: var(--text-muted);
  text-decoration: none;
}

.guide-toc a:hover {
  color: var(--accent);
}

.guide-section {
  scroll-margin-top: 96px;
}

.guide-section h2 {
  margin-top: 0;
}

.guide-section + .guide-section {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.guide-content.prose h2 {
  margin-top: 0;
}

.screenshot-frame {
  margin: 28px auto 0;
  max-width: 920px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.screenshot-frame figcaption {
  margin: 0;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
}

.hero-screenshot {
  margin-top: 36px;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.screenshot-gallery .screenshot-frame {
  margin-top: 0;
}

.screenshot-gallery-wide {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 700px) {
  .screenshot-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }
}
