:root {
  --bg: #f6f8fb;
  --panel-bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #d1d5db;
  --primary: #2563eb;
}

* {
  box-sizing: border-box;
}

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

/* Navigation */
.site-nav {
  background: var(--panel-bg);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-nav-logo img {
  display: block;
  height: 1.5rem;
  width: auto;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}

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

.site-nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.site-nav-cta:hover {
  background: #1d4ed8;
  color: #fff !important;
}

/* Page content */
.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* Hero */
.page-hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: #111827;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--panel-bg);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #111827;
}

.feature-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.65;
}

.feature-card code,
.feature-card kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: #f1f5f9;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* Page sections */
.page-section {
  margin-bottom: 3rem;
}

.page-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #111827;
}

/* Steps list */
.steps-list {
  margin: 0;
  padding-left: 1.5rem;
}

.steps-list li {
  margin-bottom: 0.75rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.steps-list li strong {
  color: #1f2937;
}

.steps-list a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* FAQ list */
.faq-list {
  margin-bottom: 3rem;
}

.faq-item {
  background: var(--panel-bg);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eef2ff;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item[open] summary::before {
  content: "\2212";
}

.faq-item summary h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #1f2937;
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem 3.25rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item code,
.faq-item kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: #f1f5f9;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* CTA section */
.page-cta-section {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--panel-bg);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.page-cta-section h2 {
  margin-bottom: 0.5rem;
}

.page-cta-section p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.page-cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s;
}

.page-cta-btn:hover {
  background: #1d4ed8;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .page-content {
    padding: 0 1rem 2rem;
  }

  .page-hero {
    padding: 2rem 0 1.5rem;
  }

  .site-nav {
    padding: 0.75rem 1rem;
  }

  .site-nav-links {
    gap: 1rem;
  }
}
