/* Shared styles for standalone content pages (learn/, compare/, landing pages).
   Kept separate from style.css (the SPA's stylesheet) so these plain static
   pages stay fast and don't depend on app-specific classes. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0d0d0f;
  color: #e2e2e2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

a { color: #f97316; text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  background: #111114;
  border-bottom: 0.5px solid #1e1e22;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.logo { font-size: 16px; font-weight: 700; color: #f0f0f0; letter-spacing: -0.5px; }
.logo span { color: #f97316; }
.logo em { color: #555; font-style: normal; font-weight: 400; font-size: 12px; margin-left: 8px; }
.topbar .nav-cta {
  background: #f97316; color: #0d0d0f; font-weight: 700; padding: 8px 16px;
  border-radius: 6px; font-size: 13px;
}
.topbar .nav-cta:hover { text-decoration: none; opacity: 0.9; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.wrap.wide { max-width: 980px; }

.crumb { font-size: 12px; color: #666; margin-bottom: 20px; }
.crumb a { color: #999; }

h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; color: #f5f5f5; margin-bottom: 12px; }
h2 { font-size: 20px; font-weight: 700; color: #f0f0f0; margin: 36px 0 12px; }
h3 { font-size: 16px; font-weight: 700; color: #ddd; margin: 24px 0 8px; }
p { margin-bottom: 16px; color: #c8c8c8; }
ul, ol { margin: 0 0 16px 22px; color: #c8c8c8; }
li { margin-bottom: 6px; }
strong { color: #f0f0f0; }

.dek { font-size: 16px; color: #999; margin-bottom: 32px; }

.callout {
  background: #16161a; border: 1px solid #222226; border-left: 3px solid #f97316;
  border-radius: 6px; padding: 16px 20px; margin: 24px 0; font-size: 14px; color: #ccc;
}
.callout strong { color: #f97316; }

table.cmp { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
table.cmp th, table.cmp td { padding: 10px 14px; border-bottom: 1px solid #1e1e22; text-align: left; }
table.cmp th { color: #999; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
table.cmp td { color: #ddd; }
table.cmp tr:last-child td { border-bottom: none; }

.cta-box {
  background: linear-gradient(135deg, #1a1210, #16161a);
  border: 1px solid #2a1c10;
  border-radius: 10px;
  padding: 28px 28px;
  margin: 40px 0 8px;
  text-align: center;
}
.cta-box h3 { margin-top: 0; color: #f5f5f5; }
.cta-box p { color: #999; margin-bottom: 18px; }
.cta-btn {
  display: inline-block; background: #f97316; color: #0d0d0f; font-weight: 700;
  padding: 12px 28px; border-radius: 8px; font-size: 14px;
}
.cta-btn:hover { text-decoration: none; opacity: 0.9; }

.related { margin-top: 48px; padding-top: 24px; border-top: 1px solid #1e1e22; }
.related h3 { color: #999; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.related ul { margin-left: 0; list-style: none; }
.related li { margin-bottom: 8px; }

footer.site-footer {
  border-top: 1px solid #1e1e22; padding: 32px 24px; text-align: center;
  color: #555; font-size: 12px;
}
footer.site-footer a { color: #777; margin: 0 8px; }

@media (max-width: 640px) {
  .wrap { padding: 32px 16px 60px; }
  h1 { font-size: 24px; }
}
