/* BillStack marketing site — shared styles */

:root {
  --bg: #f2f5fb;
  --surface: #ffffff;
  --surface-2: #e9eef8;
  --surface-3: #dde5f4;
  --ink: #10192e;
  --ink-dim: #47526b;
  --ink-faint: #7c869c;
  --border: #e1e7f5;
  --accent: #2f6fee;
  --accent-dark: #1f4fc4;
  --accent-tint: #e8f0fe;
  --green: #16b978;
  --green-tint: #e3f9ef;
  --amber: #f5a623;
  --amber-tint: #fef3e0;
  --red: #f0475c;
  --red-tint: #fdeaec;
  --shadow: 0 1px 2px rgba(16, 25, 46, 0.04), 0 12px 32px -16px rgba(16, 25, 46, 0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  display: block;
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 245, 251, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--accent), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 800;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-dim); font-weight: 600; font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
.nav-cta:hover { background: var(--accent-dark); text-decoration: none; }
.nav-toggle { display: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -8px rgba(47, 111, 238, 0.55); }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 18px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px dashed var(--ink-faint);
  color: var(--ink-dim);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-display);
}
.store-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }

/* ── Hero ── */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(36px, 4.6vw, 56px); }
.hero-title .accent { color: var(--accent); }
.hero-sub { margin-top: 22px; font-size: 19px; color: var(--ink-dim); max-width: 46ch; line-height: 1.6; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 22px; display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-faint); font-size: 13.5px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

.phone-frame {
  position: relative;
  margin: 0 auto;
  width: min(300px, 78vw);
  border-radius: 42px;
  background: #10192e;
  padding: 12px;
  box-shadow: var(--shadow);
}
.phone-frame img { border-radius: 32px; }
.phone-frame::before {
  content: "";
  position: absolute;
  top: 26px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #10192e;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.hero-art { position: relative; }
.hero-art-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle at 60% 20%, rgba(47,111,238,0.18), transparent 60%);
  z-index: -1;
}

/* ── Benefit / pain-point sections ── */
.benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.benefit-row.reverse .benefit-copy { order: 2; }
.benefit-row.reverse .benefit-art { order: 1; }
.benefit-copy h2 { font-size: clamp(26px, 3vw, 34px); }
.benefit-copy .pain { color: var(--red); font-weight: 700; font-size: 14.5px; margin: 0 0 10px; display: block; }
.benefit-copy p.lede { margin-top: 16px; font-size: 17px; color: var(--ink-dim); line-height: 1.65; }
.benefit-list { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.benefit-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-dim); }
.benefit-list li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
.benefit-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 6px 12px;
  border-radius: 999px;
}
.benefit-art { display: flex; justify-content: center; }
.benefit-art .phone-frame { width: min(280px, 70vw); }

.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Trust strip ── */
.trust-strip { padding: 56px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; }
.trust-card .icon { font-size: 26px; }
.trust-card h3 { font-size: 18px; margin-top: 14px; }
.trust-card p { margin-top: 8px; color: var(--ink-dim); font-size: 14.5px; line-height: 1.6; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 800px; margin: 48px auto 0; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.price-card.hi { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.price-card.hi::before {
  content: "MOST POPULAR";
  position: absolute; top: -13px; left: 28px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 999px;
}
.price-name { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 40px; margin-top: 10px; }
.price-amount small { font-size: 15px; font-weight: 700; color: var(--ink-faint); }
.price-note { margin-top: 6px; color: var(--ink-faint); font-size: 13.5px; }
.price-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.price-list li { font-size: 14.5px; color: var(--ink-dim); display: flex; gap: 9px; }
.price-list li.no { color: var(--ink-faint); }
.price-list li::before { content: "✓"; color: var(--green); font-weight: 800; }
.price-list li.no::before { content: "–"; color: var(--ink-faint); font-weight: 800; }

/* ── FAQ teaser ── */
.faq-teaser { text-align: center; }
.faq-teaser .btn { margin-top: 28px; }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(155deg, #16233f, #0f1b33 60%, #0c1730);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,0.7); font-size: 16px; }
.cta-band .hero-actions { justify-content: center; margin-top: 28px; }
.cta-band .store-badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); }

/* ── Footer ── */
footer.site-footer { border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 10px; }
.footer-brand p { color: var(--ink-faint); font-size: 13.5px; line-height: 1.6; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-dim); font-size: 14.5px; margin-bottom: 10px; font-weight: 500; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--ink-faint); font-size: 13px; }

/* ── Support / FAQ page ── */
.page-header { padding: 64px 0 40px; text-align: center; }
.page-header h1 { font-size: clamp(32px, 4.4vw, 46px); }
.page-header p { margin-top: 16px; font-size: 17px; color: var(--ink-dim); max-width: 56ch; margin-left: auto; margin-right: auto; }

.jump-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.jump-nav a {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-dim);
}
.jump-nav a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-dim); font-size: 15px; line-height: 1.65; }
.faq-item .faq-body p + p { margin-top: 12px; }
.faq-item .faq-body strong { color: var(--ink); }

/* ── Walkthroughs ── */
.walkthrough {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.walkthrough:first-of-type { border-top: none; }
.walkthrough.reverse { grid-template-columns: 1.15fr 0.85fr; }
.walkthrough.reverse .wt-art { order: 2; }
.walkthrough.reverse .wt-copy { order: 1; }
.wt-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-tint);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.wt-copy h2 { font-size: clamp(24px, 2.8vw, 30px); }
.wt-copy > p.lede { margin-top: 12px; color: var(--ink-dim); font-size: 15.5px; }
.wt-steps {
  list-style: decimal;
  list-style-position: outside;
  margin: 24px 0 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wt-steps li {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.55;
  padding-left: 4px;
}
.wt-steps li::marker {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
}
.wt-steps li strong { color: var(--ink); }
.wt-note {
  margin-top: 20px;
  background: var(--amber-tint);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13.5px;
  color: #8a5a0d;
}
.wt-art { display: flex; justify-content: center; }
.wt-art .phone-frame { width: min(280px, 70vw); }

/* ── Responsive ── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-grid, .benefit-row, .benefit-row.reverse, .walkthrough, .walkthrough.reverse { grid-template-columns: 1fr; }
  .benefit-row.reverse .benefit-copy, .walkthrough.reverse .wt-copy { order: initial; }
  .benefit-row.reverse .benefit-art, .walkthrough.reverse .wt-art { order: initial; }
  .hero-art { order: -1; }
  .trust-grid, .pricing-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .cta-band { padding: 40px 24px; margin: 0 16px; }
  .footer-grid { flex-direction: column; }
}
