/* CreditFix Kit — deep navy + gold financial-trust theme. Mobile-first, vanilla. */
:root {
  --bg: #0a1128;
  --surface: #101a38;
  --surface-2: #16224a;
  --line: #24325f;
  --text: #f2f5fb;
  --muted: #9aa8c7;
  --accent: #f5b942;
  --accent-2: #8ea2ff;
  --accent-soft: rgba(245, 185, 66, .12);
  --grad: linear-gradient(135deg, #f5b942, #d98a1f);
  --gold: #f5b942;
  --ok: #34d399;
  --err: #fb7185;
  --radius: 16px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 15% -5%, rgba(245, 185, 66, .08) 0%, transparent 60%) fixed,
    radial-gradient(900px 420px at 85% 0%, rgba(142, 162, 255, .08) 0%, transparent 60%) fixed,
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  font-size: 16px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 17, 40, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.5px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav { display: flex; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 18px; }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
  margin-left: 18px; padding: 8px 16px; border-radius: 999px;
  background: var(--grad); color: #231600; font-weight: 700;
}
.nav .nav-cta:hover { color: #231600; opacity: .92; }
@media (max-width: 560px) { .nav a:not(.nav-cta) { display: none; } }

/* ---------- layout ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 72px; }
main section { margin-top: clamp(56px, 9vw, 96px); }
section[id] { scroll-margin-top: 76px; }
h1 {
  font-size: clamp(30px, 8.5vw, 54px);
  line-height: 1.06; letter-spacing: -0.03em;
  margin: 0 0 14px; text-wrap: balance;
}
h2 { font-size: clamp(22px, 5.5vw, 30px); letter-spacing: -0.02em; margin: 0 0 10px; text-wrap: balance; }
.sec-title { font-size: clamp(24px, 6vw, 36px); letter-spacing: -0.02em; text-wrap: balance; text-align: center; }
h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
p.lede { color: var(--muted); font-size: 17px; margin: 0 0 18px; max-width: 640px; }
::selection { background: rgba(245, 185, 66, .35); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}
.eyebrow {
  display: inline-block;
  color: var(--accent); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px; margin: 0 0 10px;
  padding: 6px 12px; border: 1px solid rgba(245, 185, 66, .4);
  border-radius: 999px; background: var(--accent-soft);
}
.eyebrow-wrap { text-align: center; }
.sec-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 8px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 12px; text-align: center; }
.hero-compact { padding: clamp(36px, 7vw, 68px) 0 4px; }
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .lede { margin-left: auto; margin-right: auto; }
.hero-sub {
  color: var(--muted); font-size: clamp(15px, 4vw, 18px);
  margin: 12px auto 0; max-width: 560px; text-wrap: balance;
}
.hero-cta { margin-top: 24px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { padding: 16px 34px; font-size: 17px; min-height: 52px; }
.trust-row {
  display: flex; gap: 10px 18px; flex-wrap: wrap; justify-content: center;
  margin-top: 20px; font-size: 13px; color: var(--muted);
}
.trust-row span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 12px;
  text-decoration: none; text-align: center;
  transition: transform .06s ease, opacity .15s, box-shadow .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--grad); color: #231600; box-shadow: 0 8px 28px rgba(245, 185, 66, .28); }
.btn-primary:hover { opacity: .94; box-shadow: 0 10px 32px rgba(245, 185, 66, .36); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 16px; margin-top: 26px; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
.card, .ba-card, .review-card, .bundle, .value-card, .steps li,
.faq details, .whatyouget, .unlock-box, .report, .factor-card {
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 6px 20px rgba(0, 0, 0, .22);
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(245, 185, 66, .45); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .tag {
  font-size: 11px; color: var(--accent); font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  display: inline-flex; align-items: center; gap: 6px;
}
.card .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.card h3 { margin: 0; font-size: 19px; }
.card .pitch { margin: 0; font-size: 15px; }
.card .teaser { margin: 0; color: var(--muted); font-size: 14px; }
.price { font-size: 22px; font-weight: 800; }
.price small { color: var(--muted); font-weight: 400; font-size: 13px; }

/* ---------- teaser ---------- */
.teaser-box {
  background: var(--surface); border: 1px solid rgba(245, 185, 66, .35);
  border-radius: 20px; padding: clamp(20px, 4vw, 36px); margin-top: 26px;
}
.factor-grid { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 720px) { .factor-grid { grid-template-columns: 1fr 1fr; } }
.factor-card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px;
}
.factor-card h3 { font-size: 16px; margin: 0 0 4px; }
.factor-card h3 .w { color: var(--accent); font-weight: 800; }
.factor-card p { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.factor-card p strong { color: var(--text); }
.locked-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.locked-list li {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface-2); border: 1px dashed var(--line);
  border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--muted);
}
.locked-list li strong { color: var(--text); display: block; font-size: 15px; }
.lock-ico { font-size: 18px; line-height: 1.4; }

/* ---------- how it works ---------- */
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 18px; position: relative;
  font-size: 15px;
}
.step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px; font-size: 22px;
  background: var(--accent-soft); border: 1px solid rgba(245, 185, 66, .35);
  margin-bottom: 12px;
}
.steps li strong { display: block; margin-bottom: 4px; font-size: 16px; }
.steps li p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- faq ---------- */
.faq { margin-top: 26px; display: grid; gap: 10px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.faq details p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- final cta ---------- */
.final-cta {
  margin-top: 72px; text-align: center;
  background: linear-gradient(180deg, rgba(245, 185, 66, .10), rgba(217, 138, 31, .05));
  border: 1px solid rgba(245, 185, 66, .3);
  border-radius: 22px; padding: 48px 24px;
}
.final-cta h2 { font-size: 30px; }

/* ---------- pricing ---------- */
.price-card {
  max-width: 560px; margin: 26px auto 0;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(245, 185, 66, .5);
  border-radius: 20px; padding: 32px 28px; text-align: center;
  box-shadow: 0 12px 40px rgba(245, 185, 66, .12);
}
.price-card .big { font-size: 52px; font-weight: 800; letter-spacing: -2px; }
.price-card .big small { font-size: 16px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price-card ul { text-align: left; max-width: 400px; margin: 18px auto; padding-left: 22px; color: var(--muted); font-size: 15px; }
.price-card li { margin-bottom: 8px; }
.price-card li strong { color: var(--text); }

/* ---------- forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; display: block; margin-top: 4px; }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font: inherit; font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 185, 66, .18);
}
.field textarea { resize: vertical; }
.field select option { background: var(--surface-2); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  font-size: 14px; font-weight: 400; cursor: pointer; background: var(--surface-2);
  color: var(--text);
}
.chip input { margin-right: 6px; accent-color: var(--accent); }
.chip.active { border-color: var(--accent); background: var(--accent-soft); }
.status { min-height: 22px; font-size: 14px; margin-top: 10px; }
.status.busy { color: var(--accent); }
.status.error { color: var(--err); }
.status.ok { color: var(--ok); }
#teaser-result { margin-top: 16px; }
.disclaimer-strip {
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  background: var(--surface); border-radius: 12px;
  padding: 14px 18px; font-size: 13px; color: var(--muted); margin-top: 26px;
}
.disclaimer-strip strong { color: var(--text); }

/* ---------- modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(4, 8, 20, .8);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.modal[hidden] { display: none; }
.modal .panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; width: 100%; max-width: 520px;
  max-height: 90vh; overflow: auto;
}
.modal .panel h2 { margin-top: 0; }
.modal .panel .muted { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.modal-close { float: right; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; }
#buy-error { color: var(--err); font-size: 14px; min-height: 20px; margin: 8px 0 0; }
#payload-pre {
  background: #060a18; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px; font-size: 13px; overflow: auto; white-space: pre-wrap; word-break: break-word; margin: 12px 0;
}
.dev-notice {
  border: 1px dashed var(--gold); color: var(--gold);
  border-radius: 10px; padding: 10px 14px; font-size: 13px; margin: 0;
}

/* ---------- success / deliverable ---------- */
.centered { text-align: center; padding: 64px 0 20px; }
.centered .check { font-size: 56px; }
.centered h1 { margin-top: 12px; }
.report { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 18px; }
.report h3 { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-top: 20px; }
.report h3:first-child { margin-top: 0; }
.report p, .report li { font-size: 15px; }
.progress-steps { display: flex; gap: 8px; justify-content: center; margin: 20px 0; flex-wrap: wrap; }
.pstep {
  font-size: 13px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: var(--surface-2);
}
.pstep.done { border-color: var(--ok); color: var(--ok); }
.pstep.active { border-color: var(--accent); color: var(--accent); }
.pstep.failed { border-color: var(--err); color: var(--err); }
.token-form { display: flex; gap: 8px; margin-top: 24px; }
.token-form input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); margin-top: 64px; }
footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 28px 20px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
.footer-grid { display: flex; flex-direction: column; gap: 20px; }
.subscribe-block { background: #0d1630; border: 1px solid #22305a; border-radius: 14px; padding: 20px; }
.subscribe-block strong { font-size: 16px; }
.subscribe-block .muted { margin: 6px 0 12px; font-size: 14px; }
.subscribe-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.subscribe-form input[type="email"] {
  background: #080d20; border: 1px solid #2a3a6b; color: #eef2fc;
  border-radius: 10px; padding: 10px 12px; font-size: 15px; flex: 2 1 200px;
}
.subscribe-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.subscribe-msg { font-size: 14px; color: var(--accent); margin: 0; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-disclaimer { font-size: 12px; color: var(--muted); max-width: 720px; line-height: 1.6; }
@media (max-width: 560px) { .subscribe-row .btn { width: 100%; } }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 20px 64px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); margin: 8px 0 6px; }
.legal-updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.legal-card { background: #0d1630; border: 1px solid #22305a; border-radius: 14px; padding: 24px; margin: 0 0 18px; }
.legal-card h2 { font-size: 20px; margin: 0 0 12px; color: #eef2fc; }
.legal-card p, .legal-card li { font-size: 16px; line-height: 1.65; color: #c7d2ea; margin: 0 0 10px; }
.legal-card ul { padding-left: 22px; }
.legal-card a { color: var(--accent); }
.legal-contact { margin-top: 28px; color: var(--muted); font-size: 15px; }
.legal-contact a { color: var(--accent); }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40; display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(16, 26, 56, .95);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 185, 66, .4); border-radius: 16px;
  padding: 10px 10px 10px 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta:not([hidden]) { display: flex; }
.sticky-cta-text { font-size: 14px; color: var(--muted); }
.sticky-cta-text strong { color: var(--text); font-size: 16px; }
.sticky-cta .btn { padding: 12px 20px; font-size: 15px; white-space: nowrap; min-height: 48px; }
@media (min-width: 720px) { .sticky-cta { display: none !important; } }

@media (pointer: coarse) {
  .btn { min-height: 48px; }
  .nav .nav-cta { padding: 10px 18px; }
  .faq summary { padding: 6px 0; }
}
