/* BoldPage Studio — sales funnel shared styles.
   Palette + type pulled from docs/design/boldpage-design-system.md so the
   funnel matches the live app (deep teal / warm cream / Literata+Nunito Sans). */

:root {
  --brand-50:  #e6f2f0;
  --brand-100: #cfe7e3;
  --brand-500: #0f766e;
  --brand-600: #115e59;
  --brand-700: #0d4f4a;
  --brand-900: #073430;
  --paper:  #faf6f0;
  --card:   #ffffff;
  --border: #e7ddd0;
  --sand-100: #f3ead9;
  --sand-400: #c2a37e;
  --ink-900: #292524;
  --ink-600: #57534e;
  --danger: #9f1239;
  --success: #3f6212;
  --success-bg: #ecf3df;
  --font-display: "Literata", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --radius-card: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font-body);
  line-height: 1.55;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; border-radius: var(--radius-card); }
a { color: var(--brand-700); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--brand-900); color: var(--brand-50); }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--brand-600); margin-bottom: 8px; }
.center { text-align: center; }
.btn {
  display: inline-block;
  background: var(--brand-500);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-body);
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(15,118,110,.28);
}
.btn:hover { background: var(--brand-600); }
.btn-sub { display: block; font-size: 13px; font-weight: 400; color: var(--ink-600); margin-top: 10px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  /* Below this width the 5-step row gets too cramped — flip the whole
     pipeline to one vertical column and rotate the → glyphs into ↓. */
  .mech-diagram { flex-direction: column; }
  .mech-step { flex: none; width: 100%; max-width: 320px; }
  .mech-arrow { transform: rotate(90deg); }
}
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius-card); overflow: hidden; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; font-size: 15px; }
th { background: var(--sand-100); font-family: var(--font-display); }
tr:last-child td { border-bottom: none; }
.check { color: var(--success); font-weight: 700; }
.cross { color: var(--danger); font-weight: 700; }
.badge { display: inline-block; background: var(--sand-100); color: var(--brand-700); border: 1px solid var(--sand-400); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h4 { margin-bottom: 6px; }
.disclaimer { font-size: 13px; color: var(--ink-600); font-style: italic; }
footer { background: var(--brand-900); color: var(--brand-100); padding: 40px 0; font-size: 14px; }
footer a { color: #fff; }
.ps { border-left: 4px solid var(--brand-500); padding-left: 16px; margin: 0 0 20px; }

/* countdown / urgency bar */
.urgency-bar { background: var(--danger); color: #fff; text-align: center; padding: 10px 16px; font-weight: 700; font-size: 14px; }
.urgency-bar strong { font-family: var(--font-display); }

.hero { padding: 64px 0 48px; text-align: center; }
.hero h1 { font-size: clamp(30px, 4.5vw, 48px); max-width: 900px; margin: 0 auto 20px; }
.hero .sub { font-size: 19px; color: var(--ink-600); max-width: 720px; margin: 0 auto 28px; }

.wall-card .num { font-family: var(--font-display); font-size: 32px; color: var(--brand-500); }

/* Single-row pipeline: 5 steps share the width via flex:1, so the row can
   never overflow into a mid-sequence wrap (the bug behind the last two
   attempts). NO flex-wrap here on purpose — below 860px the whole thing
   flips to one vertical column with the arrows rotated instead. */
.mech-diagram { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 24px 0; }
.mech-step { flex: 1 1 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 16px 10px; font-weight: 700; font-size: 15px; text-align: center; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.mech-arrow { flex: 0 0 auto; font-size: 22px; color: var(--brand-500); }

.countdown-box { margin: 28px auto; }
.countdown-digits { display: flex; align-items: center; justify-content: center; gap: 14px; }
.countdown-cell { background: var(--brand-900); color: #fff; border-radius: var(--radius-card); padding: 12px 18px; min-width: 72px; text-align: center; }
.countdown-cell span { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1; }
.countdown-cell small { display: block; font-size: 11px; letter-spacing: .06em; color: var(--brand-100); margin-top: 4px; }
