/* Bright Info — homepage v2 mockup additions.
   Loaded after styles.css; only adds blocks that v1 does not have. */

/* Mockup banner */
.mockup-banner {
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
}

/* Hero additions */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
  border: 1px solid var(--navy-outline);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 8px 14px;
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}
.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.checks svg {
  width: 20px; height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checks--center { justify-content: center; }

.cta-note { font-size: 14px; color: var(--muted); }
.cta-note--on-dark { color: var(--on-dark-muted); }

/* Stats strip */
.stats {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.stats__inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.stats__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 40px;
}
.stats__row .stat__value { font-size: clamp(28px, 1.4rem + 1vw, 36px); }
.stats__row .stat__label { line-height: 1.4; }

.buyer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.buyer-row__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.buyer-row__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.buyer-row__chips li {
  border: 1px solid var(--line-2);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 14px;
}

/* Section header centered variant */
.section__head--center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}
.section__lede--on-dark { color: var(--on-dark); }

/* Problem */
.problem {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.pains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pain {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pain__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.pain__icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--amber-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pain__title {
  font-size: 20px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.pain__body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* Comparison spacing tweak (problem section sits directly above) */
.compare--tight { padding-top: 0; }

/* Steps additions */
.step__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.step__time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--on-dark-muted);
  border: 1px solid var(--navy-border);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.how__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* Tiers highlight */
.tier--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

/* Terms, two columns */
.terms-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.terms--cols {
  flex: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0 48px;
  border-top: 1px solid var(--line);
}

/* Guarantee */
.guarantee {
  background: var(--navy);
  color: #FFFFFF;
}
.guarantee__inner {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(64px, 8vw, 96px);
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.guarantee__title {
  font-size: clamp(32px, 2rem + 1.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.guarantee__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--on-dark);
}
.guarantee__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

/* Founder + testimonial */
.founder {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.founder__main {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.founder__copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.founder__sig {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.placeholder-img {
  flex: 0 1 360px;
  min-width: 240px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, #E6EAF0 0 12px, #EEF2F7 12px 24px);
  border: 1px dashed var(--input-line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-img span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.testimonial {
  margin: 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--surface-3);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 820px;
}
.testimonial__quote {
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.testimonial__who {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.testimonial__who strong { color: var(--ink); }
.placeholder-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, #E6EAF0 0 6px, #EEF2F7 6px 12px);
  border: 1px dashed var(--input-line);
  flex: 0 0 auto;
}

/* FAQ head spacing */
.faq .section__head { gap: 10px; }

/* Final CTA */
.start__alt {
  font-size: 16px;
  color: var(--muted);
  margin-top: 4px;
}
.start__alt a { font-weight: 600; }

/* =====================================================================
   Centered layout variant (body.v2--centered)
   Remove the class from <body> to restore the left-aligned layout.
   ===================================================================== */

/* Hero: copy centered in one column, bid card below */
.v2--centered .hero__inner {
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.v2--centered .hero__copy {
  flex: 0 1 auto;
  width: 100%;
  max-width: 820px;
  align-items: center;
  text-align: center;
}
.v2--centered .pill { align-self: center; }
.v2--centered .hero__lede { max-width: 680px; }
.v2--centered .checks { justify-content: center; }
.v2--centered .hero__actions { justify-content: center; }
.v2--centered .bid-card {
  flex: 0 1 auto;
  width: 100%;
  max-width: 640px;
}

/* Stats strip */
.v2--centered .stats__row { text-align: center; }
.v2--centered .stats__row .stat { align-items: center; }
.v2--centered .buyer-row { justify-content: center; }
.v2--centered .buyer-row__chips { justify-content: center; }

/* Every section header centered */
.v2--centered .section__head {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}
.v2--centered .section__head .section__lede { max-width: 720px; }

/* Split sections (buyers): stacked, header on top, grid full width */
.v2--centered .split {
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
}
.v2--centered .split__copy {
  flex: 0 1 auto;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}
.v2--centered .split__copy .section__lede { max-width: 720px; }
.v2--centered .data-grid { flex: none; }

/* CTAs under how-it-works and guarantee */
.v2--centered .how__cta,
.v2--centered .guarantee__cta {
  align-items: center;
  text-align: center;
}

/* Terms: two centered columns */
.v2--centered .terms--cols {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

/* Founder block: centered column */
.v2--centered .founder { align-items: center; }
.v2--centered .founder__main {
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}
.v2--centered .placeholder-img {
  flex: none;
  width: 220px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}
.v2--centered .founder__copy {
  flex: none;
  width: 100%;
  max-width: 720px;
  align-items: center;
  text-align: center;
}
.v2--centered .testimonial {
  width: 100%;
  text-align: center;
  border-left: 1px solid var(--line);
  border-top: 4px solid var(--accent);
}
.v2--centered .testimonial__who { justify-content: center; text-align: left; }

/* FAQ */
.v2--centered .faq .section__head { max-width: none; }

/* Final CTA: copy centered within its column, aligned to the form */
.v2--centered .start__inner { align-items: center; }
.v2--centered .start__copy {
  text-align: center;
  align-items: center;
}
.v2--centered .start__copy .section__lede { max-width: 560px; }

/* Centered headings: avoid a single orphaned word on the last line */
.v2--centered .hero__title,
.v2--centered .section__title,
.v2--centered .guarantee__title,
.v2--centered .start__title {
  text-wrap: balance;
}

/* =====================================================================
   Connection diagram (How it works) and relocated bid card
   ===================================================================== */

.flow-wrap {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.flow {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  font-family: var(--font-sans);
  overflow: visible;
}
.flow__col {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--on-dark-muted);
}
.flow__in,
.flow__out {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.flow__in { stroke: #3A5170; }
.flow__out {
  stroke: var(--accent);
  stroke-dasharray: 6 8;
  animation: flow-dash 1.6s linear infinite;
}
@keyframes flow-dash { to { stroke-dashoffset: -28; } }
@media (prefers-reduced-motion: reduce) {
  .flow__out, }
.flow__src rect {
  fill: var(--navy-2);
  stroke: var(--navy-border);
}
.flow__src circle { fill: var(--on-dark-muted); }
.flow__src text {
  fill: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
}
.flow__node > circle:first-child { fill: var(--navy-2); stroke: var(--navy-border); }
.flow__ring { fill: none; stroke: var(--accent); stroke-width: 4; }
.flow__dot { fill: var(--accent); }
.flow__label {
  fill: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.flow__sub {
  fill: var(--on-dark-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}
.flow__buyer rect {
  fill: #FFFFFF;
  stroke: var(--line);
}
.flow__buyer text {
  fill: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.flow__buyer .flow__bid {
  fill: var(--amber-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}
.flow__caption {
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-dark);
  text-align: center;
  max-width: 640px;
}

/* Stacked fallback for narrow screens */
.flow-stack { display: none; }
@media (max-width: 760px) {
  .flow { display: none; }
  .flow-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .flow-stack__group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .flow-stack__label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    text-align: center;
  }
  .flow-stack__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .flow-stack__chips li {
    background: var(--navy-2);
    border: 1px solid var(--navy-border);
    color: #FFFFFF;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
  }
  .flow-stack__chips--buyers li {
    background: #FFFFFF;
    color: var(--ink);
    border-color: var(--line);
    border-radius: 10px;
  }
  .flow-stack__arrow {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    text-align: center;
  }
  .flow-stack__node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: var(--navy-2);
    border: 4px solid var(--accent);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
  }
}

/* Hero without the card: single centered column */
.hero__inner--solo { justify-content: center; }
.hero__inner--solo .hero__copy { max-width: 820px; }

/* Relocated bid card */
.comes-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.comes-back .bid-card {
  flex: none;
  width: 100%;
  max-width: 640px;
  box-shadow: 0 16px 48px rgba(11, 27, 46, 0.12);
  border: 1px solid var(--line);
}

/* Diagram: outbound data-sheet lines */
.flow__out {
  stroke-width: 2;
  stroke-dasharray: 7 7;
}

/* Founder photo: real image when present, patterned placeholder otherwise */
.founder__photo { position: relative; overflow: hidden; }
.founder__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
}

/* Live site: hide the founder photo circle until assets/founder.jpg exists.
   Remove the founder__photo--pending class once the file is in place. */
.founder__photo--pending { display: none; }
.mockup-banner { display: none; }
