/* Shared styles for CleanStreak's standalone pages. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0f;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
strong { color: #f8fafc; }

.container { width: min(1100px, calc(100% - 48px)); margin: 0 auto; }
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(10, 10, 15, .86);
  border-bottom: 1px solid #1e293b;
  backdrop-filter: blur(20px);
}
.site-nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; white-space: nowrap; }
.nav-logo-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fb7185;
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(251, 113, 133, .2);
  border-radius: 9px;
}
.nav-logo-mark svg { width: 18px; height: 18px; }
.page-nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.page-nav-links a { color: #94a3b8; font-size: 14px; font-weight: 550; transition: color .2s; }
.page-nav-links a:hover, .page-nav-links a[aria-current="page"] { color: #f8fafc; }
.page-nav-links .nav-download { color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6); padding: 9px 16px; border-radius: 10px; }

.page-main { position: relative; padding: 140px 0 96px; min-height: calc(100vh - 130px); }
.page-main::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -120px;
  left: 50%;
  width: 620px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99, 102, 241, .13), transparent 70%);
  pointer-events: none;
}
.page-hero { max-width: 740px; margin: 0 auto 64px; text-align: center; }
.eyebrow { color: #a5b4fc; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(38px, 7vw, 64px); line-height: 1.08; letter-spacing: -2px; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(135deg, #f97316, #ef4444, #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero p { max-width: 620px; margin: 0 auto; color: #94a3b8; font-size: 18px; }

.page-section { margin: 0 auto 56px; max-width: 860px; }
.page-section > h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -.8px; margin-bottom: 12px; }
.page-section > .section-intro { color: #94a3b8; margin-bottom: 24px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.content-card { background: #111118; border: 1px solid #1e293b; border-radius: 18px; padding: 28px; }
.content-card h2, .content-card h3 { color: #f8fafc; line-height: 1.25; margin-bottom: 10px; }
.content-card h2 { font-size: 24px; }
.content-card h3 { font-size: 18px; }
.content-card p, .content-card li { color: #94a3b8; font-size: 15px; }
.content-card p + p { margin-top: 14px; }
.content-card ul { padding-left: 20px; }
.content-card li + li { margin-top: 8px; }

.platform-card { padding: 32px; }
.platform-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.platform-icon {
  width: 44px; height: 44px; flex: 0 0 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #a5b4fc; background: rgba(99, 102, 241, .12);
  border: 1px solid rgba(129, 140, 248, .24); border-radius: 13px;
}
.platform-icon svg { width: 24px; height: 24px; }
.platform-heading h2 { margin: 0; font-size: 22px; }
.platform-heading p { color: #64748b; font-size: 13px; }
.step-list { counter-reset: guide-step; list-style: none; }
.step-list li { counter-increment: guide-step; display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid #1e293b; color: #cbd5e1; font-size: 15px; }
.step-list li::before {
  content: counter(guide-step);
  min-width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  margin-top: -1px; color: #a5b4fc; background: #1e293b; border: 1px solid #334155; border-radius: 8px; font-size: 13px; font-weight: 750;
}
code { color: #c4b5fd; background: #1e293b; border: 1px solid #334155; padding: 2px 7px; border-radius: 6px; font: 13px 'SF Mono', 'Fira Code', monospace; overflow-wrap: anywhere; }
.text-link { color: #a5b4fc; text-decoration: underline; text-decoration-color: rgba(165, 180, 252, .4); text-underline-offset: 3px; }
.text-link:hover { color: #c4b5fd; }
.callout { margin-top: 22px; padding: 16px 18px; color: #94a3b8; background: #1e293b; border-left: 3px solid #6366f1; border-radius: 0 12px 12px 0; font-size: 14px; }
.callout strong { color: #e2e8f0; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6); font-size: 14px; font-weight: 650; transition: transform .15s, box-shadow .15s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99, 102, 241, .3); }
.button.secondary { color: #e2e8f0; background: #1e293b; border: 1px solid #334155; }

.faq-list { display: grid; gap: 12px; }
details { background: #111118; border: 1px solid #1e293b; border-radius: 14px; padding: 0 22px; }
details[open] { border-color: #3730a3; }
summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; color: #f8fafc; font-size: 16px; font-weight: 650; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 2px; top: 17px; color: #818cf8; font-size: 24px; font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { padding: 0 0 20px; color: #94a3b8; font-size: 15px; max-width: 720px; }

.policy h2 { margin-top: 34px; }
.policy h2:first-child { margin-top: 0; }
.policy p { margin-bottom: 14px; }
.policy ul { margin: 0 0 16px 20px; color: #94a3b8; }
.policy li + li { margin-top: 7px; }
.muted { color: #64748b; font-size: 13px; }

.site-footer { border-top: 1px solid #1e293b; padding: 32px 0; color: #64748b; font-size: 13px; }
.site-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: #818cf8; }
.footer-links a:hover { color: #c4b5fd; }

@media (max-width: 760px) {
  .site-nav-inner { min-height: 60px; }
  .site-logo { font-size: 18px; }
  .page-nav-links { gap: 12px; }
  .page-nav-links a:not(.nav-download) { display: none; }
  .page-main { padding-top: 112px; }
  .page-hero { margin-bottom: 44px; }
  .page-hero p { font-size: 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .content-card, .platform-card { padding: 24px; }
  .site-footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
