:root {
  --primary: #ff6b6b;
  --primary-dark: #e55757;
  --text: #1d2733;
  --muted: #5f6b7a;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --border: #e7ebf1;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
.container {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}
.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--text); }
.hero {
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}
h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}
.hero p {
  max-width: 760px;
  color: var(--muted);
  margin: 0;
}
.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.section {
  padding: 3rem 0;
}
.section-muted {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.split {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}
.card h2 { margin-top: 0; font-size: 1.1rem; }
.feature-list {
  padding-left: 1.1rem;
  color: var(--muted);
}
.feature-list li { margin-bottom: 0.4rem; }
.related-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.related-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary-dark);
}
.faq-wrap h2 { margin-top: 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 0.8rem 1rem;
  margin-bottom: 0.75rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}
.faq-item p {
  color: var(--muted);
  margin: 0.6rem 0 0;
}
.cta-block {
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fff3f3 100%);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.68rem 1.1rem;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}
.plans-grid,
.post-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.plan-card,
.post-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
}
.plan-card.is-featured {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.15);
}
.plan-price {
  font-size: 1.6rem;
  margin: 0.25rem 0 1rem;
  font-weight: 700;
}
.plan-price span {
  font-size: 0.9rem;
  color: var(--muted);
}
.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}
.post-card h2 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
.post-card p { color: var(--muted); }
.post-link {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}
.article-container {
  max-width: 760px;
}
.article-section h2 { margin-bottom: 0.4rem; }
.article-section p { color: var(--muted); }
.article-cta {
  margin-top: 2rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
}
.demo-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.demo-form {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}
.demo-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.demo-form input,
.demo-form select,
.demo-form textarea {
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.7rem;
}
.fine-print {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.1rem 0;
  background: #fff;
}
.footer-inner {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(280px, 1fr) minmax(0, 1.5fr); }
  .demo-layout { grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .main-nav a:not(.btn) { display: none; }
}
