/* SuccessPath base components: nav, hero, buttons, cards, pricing, forms, footer. */

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 240, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: var(--s3) var(--s4); max-width: var(--maxw); margin: 0 auto; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: var(--ink); text-decoration: none; }
.logo .dot { color: var(--accent); }
.nav-links { display: flex; gap: var(--s4); align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: var(--text-sm); font-weight: 600; }
.nav-links a:hover { color: var(--brand); }

/* ---- Hero ---- */
.hero { text-align: center; padding: var(--s16) 0 var(--s12); }
.hero .eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; font-size: var(--text-sm); padding: var(--s1) var(--s4); border-radius: var(--radius-pill); margin-bottom: var(--s4); }
.hero h1 .hl { color: var(--brand); }
.hero p.lead { font-size: var(--text-lg); color: var(--ink-soft); max-width: 40rem; margin: 0 auto var(--s6); }
.hero-cta { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn { display: inline-block; font-family: var(--font); font-weight: 700; font-size: var(--text-base); padding: var(--s3) var(--s6); border-radius: var(--radius-pill); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform 0.08s ease, box-shadow 0.15s ease; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-accent { background: var(--accent); color: #2b1c00; box-shadow: var(--shadow); }
.btn-accent:hover { background: #e8930a; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { font-size: var(--text-sm); padding: var(--s2) var(--s4); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---- Cards ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: var(--s2); }
.grid { display: grid; gap: var(--s4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---- Steps ---- */
.steps { counter-reset: step; }
.step { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s4) 0; border-bottom: 1px dashed var(--line); }
.step:last-child { border-bottom: 0; }
.step-num { flex: 0 0 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s4); align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card .tier-name { font-weight: 800; font-size: var(--text-lg); }
.price-card .tier-price { font-size: var(--text-3xl); font-weight: 800; color: var(--brand); margin: var(--s2) 0; }
.price-card .tier-price span { font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
.price-card .tier-blurb { color: var(--ink-soft); font-size: var(--text-sm); flex: 1; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.price-card .flag { position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%); background: var(--accent); color: #2b1c00; font-size: var(--text-xs); font-weight: 800; padding: var(--s1) var(--s3); border-radius: var(--radius-pill); white-space: nowrap; }
.billing-copy { font-size: var(--text-xs); color: var(--muted); margin-top: var(--s3); padding-top: var(--s3); border-top: 1px dashed var(--line); }

/* ---- Locked / blur (upsell) ---- */
.locked { position: relative; }
.locked .locked-body { filter: blur(6px); user-select: none; pointer-events: none; }
.locked-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3); text-align: center; padding: var(--s6); }

/* ---- Forms ---- */
.field { margin-bottom: var(--s4); }
.field label { display: block; font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--s1); }
.field input[type="email"], .field input[type="text"] { width: 100%; padding: var(--s3) var(--s4); border: 2px solid var(--line); border-radius: var(--radius); font-size: var(--text-base); font-family: var(--font); }
.field input:focus { outline: none; border-color: var(--brand); }

/* ---- Badges ---- */
.badge { display: inline-block; font-size: var(--text-xs); font-weight: 800; padding: var(--s1) var(--s3); border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: 0.04em; }
.badge-high { background: var(--success-soft); color: #166b46; }
.badge-moderate { background: var(--accent-soft); color: var(--accent-deep); }
.badge-low { background: #f1ece0; color: var(--muted); }

/* ---- Credibility strip ---- */
.trust-strip { background: var(--brand-soft); border-radius: var(--radius-lg); padding: var(--s6); }
.trust-strip ul { margin: 0; padding-left: 1.25rem; }
.trust-strip li { margin-bottom: var(--s2); }

/* ---- FAQ ---- */
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s6); margin-bottom: var(--s3); }
details.faq summary { font-weight: 700; cursor: pointer; }
details.faq p { margin: var(--s3) 0 0; color: var(--ink-soft); }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); margin-top: var(--s16); padding: var(--s8) 0 var(--s12); font-size: var(--text-sm); color: var(--muted); }
.footer .credibility { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); margin-bottom: var(--s4); font-size: var(--text-sm); }
.footer nav { display: flex; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s3); }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--brand); }
