/* Landing page and guides. Builds on style.css tokens (--accent, --line, dark theme). */

.site { line-height: 1.55; }
.site a { color: var(--accent); }
.site h1, .site h2, .site h3 { line-height: 1.2; }
.site .small { font-size: 14px; }
.site .center { text-align: center; }

.site-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: rgba(20, 20, 20, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-top .brand { text-decoration: none; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { margin-left: 20px; color: var(--text, #eee); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--accent); }
.btn-small { padding: 8px 14px; border-radius: 8px; color: #000 !important; background: var(--accent); }

.btn-primary, .btn-ghost { display: inline-block; padding: 14px 22px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.btn-primary { color: #000 !important; background: var(--accent); }
.btn-ghost { color: var(--text, #eee) !important; border: 1px solid var(--line); margin-left: 12px; }

.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--accent); border: 1px solid rgba(245, 179, 1, 0.4); }
.lead { font-size: 19px; color: #cfcfcf; }

.hero { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; max-width: 1240px; margin: 0 auto; padding: 64px 24px 48px; }
.hero h1 { margin: 18px 0 14px; font-size: 46px; }
.hero-cta { margin: 26px 0 14px; }
.hero-shot { margin-left: 40px; }
.hero-shot img, .app-card > img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }

.apps, .steps, .features, .pricing, .faq { max-width: 1240px; margin: 0 auto; padding: 48px 24px; }
.site section h2 { margin: 0 0 24px; font-size: 32px; text-align: center; }

.app-cards { display: grid; grid-template-columns: 1fr 1fr; }
.app-card { margin: 0 12px; padding: 20px; border-radius: 16px; background: #1b1b1b; border: 1px solid var(--line); }
.app-card h3 { display: flex; align-items: center; margin: 18px 0 6px; font-size: 26px; }
.app-icon { width: 34px; height: 34px; margin-right: 10px; border-radius: 8px; }
.app-card .best { margin: 0 0 8px; color: #cfcfcf; }
.app-card ul { margin: 0; padding-left: 20px; }

.step-list { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; list-style: none; counter-reset: step; }
.step-list li { margin: 0 10px; padding: 22px; border-radius: 14px; background: #1b1b1b; border: 1px solid var(--line); counter-increment: step; }
.step-list li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; font-weight: 800; color: #000; background: var(--accent); }
.step-list strong { display: block; font-size: 19px; }
.step-list span { color: #cfcfcf; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-grid > div { margin: 8px; padding: 20px; border-radius: 14px; background: #1b1b1b; border: 1px solid var(--line); }
.feature-grid strong { display: block; margin-bottom: 4px; font-size: 18px; }
.feature-grid span { color: #cfcfcf; }

.price-cards { display: flex; justify-content: center; flex-wrap: wrap; }
.price-card { width: 320px; margin: 10px; padding: 22px 24px; border-radius: 16px; background: #1b1b1b; border: 1px solid var(--line); }
.price-card h3 { margin: 0 0 14px; font-size: 22px; }
.price-row-site { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 18px; }
.price-row-site strong { color: var(--accent); }

.faq { max-width: 860px; }
.faq details { padding: 16px 20px; margin-bottom: 10px; border-radius: 12px; background: #1b1b1b; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.faq p { margin: 10px 0 0; color: #cfcfcf; }

.site-foot { display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1240px; margin: 40px auto 0; padding: 24px; font-size: 14px; color: #9a9a9a; border-top: 1px solid var(--line); }
.site-foot > div { margin: 4px 0; }

/* Guides */
.article { max-width: 820px; margin: 0 auto; padding: 40px 20px 60px; }
.article h1 { margin: 6px 0 4px; font-size: 38px; }
.article h2 { margin: 34px 0 10px; font-size: 26px; text-align: left !important; }
.article h3 { margin: 22px 0 6px; font-size: 19px; }
.article p, .article li { color: #dcdcdc; }
.article table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 15px; }
.article th, .article td { padding: 9px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article th { color: #fff; background: #1f1f1f; }
.article .note { padding: 14px 18px; border-radius: 10px; background: #1d1a10; border: 1px solid rgba(245, 179, 1, 0.3); }
.article kbd { padding: 1px 7px; border-radius: 5px; font: inherit; font-size: 0.9em; background: #2a2a2a; border: 1px solid #3a3a3a; }
.crumbs { margin: 0; font-size: 14px; color: #9a9a9a; }
.related { margin-top: 40px; padding: 18px 22px; border-radius: 12px; background: #1b1b1b; border: 1px solid var(--line); }
.related h2 { margin-top: 0 !important; font-size: 20px; }
.guide-cards { display: grid; grid-template-columns: 1fr 1fr; }
.guide-card { display: block; margin: 6px; padding: 16px 18px; border-radius: 12px; text-decoration: none; background: #1b1b1b; border: 1px solid var(--line); }
.guide-card strong { display: block; color: #fff; }
.guide-card span { display: block; margin-top: 4px; font-size: 14px; color: #bdbdbd; }
.guide-card:hover { border-color: rgba(245, 179, 1, 0.5); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero h1 { font-size: 34px; }
  .hero-shot { margin: 28px 0 0; }
  .app-cards, .step-list, .feature-grid, .guide-cards { grid-template-columns: 1fr; }
  .app-card, .step-list li { margin: 8px 0; }
  .site-nav a { margin-left: 12px; font-size: 14px; }
  .site-nav a:not(.btn-small):nth-child(-n + 2) { display: none; }
  .btn-ghost { margin: 10px 0 0; }
}

.site-top .brand { white-space: nowrap; }
@media (max-width: 480px) {
  .site-top { padding: 12px 16px; }
  .site-top .brand { font-size: 17px; letter-spacing: 2px; }
}
