/* BRIX Scale v2 - partner-program landing page.
   Loads AFTER styles.css (which still styles the nav, buttons, footer and the
   application/booking overlay). Everything here is prefixed v2- so nothing collides. */

/* ---------- Shared ---------- */
.v2-section { padding: clamp(56px, 8vw, 96px) 0; }
.v2-section--wash { background: var(--cream); }
.v2-section--deep { background: var(--deep); color: #fff; }
.v2-h2 { font-size: clamp(28px, 4.2vw, 44px); margin: 10px 0 14px; max-width: 760px; }
.v2-h2--light { color: #fff; }
.eyebrow--light { color: var(--accent-soft); }
.v2-body { color: var(--grey); font-size: 17px; max-width: 620px; }
.v2-body--narrow { margin-bottom: 28px; }
.v2-note { color: var(--grey); font-size: 14px; margin-top: 12px; }
.v2-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px; box-shadow: 0 1px 0 rgba(22, 18, 15, .03);
}
.v2-full { width: 100%; }
.v2-link { color: var(--accent); font-weight: 700; font-size: 15px; }

/* ---------- Hero ---------- */
.v2-hero { padding: clamp(28px, 6vw, 72px) 0 28px; background: linear-gradient(180deg, var(--wash) 0%, var(--paper) 70%); }
.v2-hero__grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 48px; align-items: center; }
.v2-pill {
  display: inline-block; padding: 6px 12px; border-radius: 100px; background: var(--paper);
  border: 1px solid var(--wash-2); font-size: 13px; font-weight: 700; color: var(--ink);
}
.v2-h1 { font-size: clamp(32px, 5.4vw, 58px); margin: 16px 0 16px; }
.v2-lead { font-size: clamp(17px, 2vw, 19px); color: var(--grey); max-width: 600px; }
.v2-lead strong { color: var(--ink); font-weight: 700; }
.v2-ticks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.v2-ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 16px; }
.v2-ticks svg { width: 20px; height: 20px; flex: none; fill: var(--accent); margin-top: 2px; }
.v2-cta { display: grid; gap: 10px; justify-items: start; }
.v2-micro { font-size: 14px; color: var(--grey); }

.v2-proofcard { box-shadow: var(--shadow-card); }
.v2-proofcard__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.v2-proofcard__big { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; color: var(--ink); }
.v2-proofcard__big small { font-size: 16px; font-weight: 600; color: var(--grey); margin-left: 4px; letter-spacing: 0; }
.v2-proofcard__sub { font-size: 14px; color: var(--grey); }
.v2-proofcard hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.v2-proofcard__stat { font-size: 16px; margin-top: 6px; }
.v2-proofcard__stat strong { color: var(--accent); }
.v2-proofcard .v2-link { display: inline-block; margin-top: 12px; }

.v2-trust {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--grey); font-weight: 600;
}
.v2-trust b { color: var(--ink); }

/* ---------- Steps ---------- */
.v2-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v2-steps h3, .v2-apps h3, .v2-fit h3 { font-size: 20px; margin: 10px 0 8px; letter-spacing: -.02em; }
.v2-steps p, .v2-apps p { color: var(--grey); font-size: 15.5px; }
.v2-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--wash); color: var(--accent); font-weight: 800;
}

/* ---------- Calculator ---------- */
.v2-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.v2-calc__card { box-shadow: var(--shadow-card); }
.v2-calc__label { display: block; font-weight: 700; font-size: 15px; margin: 4px 0 10px; }
.v2-calc__label b { color: var(--accent); }
.v2-calc input[type=range] { width: 100%; accent-color: var(--accent); margin-bottom: 18px; height: 28px; }
.v2-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.v2-seg button {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; padding: 10px 6px;
  font: inherit; font-weight: 700; font-size: 14px; line-height: 1.3; cursor: pointer; color: var(--ink);
}
.v2-seg button small { font-weight: 500; color: var(--grey); }
.v2-seg button.is-on { border-color: var(--accent); background: var(--wash); }
.v2-calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v2-calc__out div { background: var(--deep); color: #fff; border-radius: 14px; padding: 14px 16px; }
.v2-calc__out span { display: block; font-size: 13px; color: var(--deep-muted); font-weight: 600; }
.v2-calc__out b { font-size: 30px; letter-spacing: -.02em; }
.v2-calc__card .btn { margin-top: 16px; }

/* ---------- Apps ---------- */
.v2-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.v2-list { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 6px; color: var(--grey); font-size: 15.5px; }
.v2-list li::marker { color: var(--accent); }

/* ---------- Calculator extras ---------- */
.v2-pricebox { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; font-size: 15px; }
.v2-pricebox b { color: var(--ink); }
.v2-pricebox .v2-note { margin-top: 6px; }
.v2-switch { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 15px; cursor: pointer; user-select: none; }
.v2-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.v2-switch__ui { width: 42px; height: 24px; border-radius: 24px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.v2-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.v2-switch input:checked + .v2-switch__ui { background: var(--accent); }
.v2-switch input:checked + .v2-switch__ui::after { transform: translateX(18px); }
.v2-switch input:focus-visible + .v2-switch__ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.v2-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.v2-result { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14.5px !important; color: var(--ink) !important; }
.v2-result b { color: var(--accent); }

/* ---------- Proof ---------- */
.v2-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 36px; }
.v2-stats div { background: var(--deep-lift); border: 1px solid var(--deep-line); border-radius: var(--r-card); padding: 22px; }
.v2-stats b { display: block; font-size: 36px; color: var(--accent-soft); letter-spacing: -.03em; }
.v2-stats span { color: var(--deep-muted); font-size: 15px; }
.v2-logos p { color: var(--deep-muted); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.v2-logos div { display: flex; flex-wrap: wrap; gap: 14px; }
.v2-logos img { height: 64px; width: auto; background: #fff; border-radius: 14px; padding: 10px 18px; }
.v2-logos img.v2-logo--dark { background: var(--deep-lift); border: 1px solid var(--deep-line); }

/* ---------- Fit ---------- */
.v2-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.v2-fit ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--grey); }
.v2-fit__yes { border-color: var(--accent-soft); background: var(--wash); }
.v2-fit__yes li::marker { color: var(--accent); }

/* ---------- Who you'll talk to ---------- */
.v2-h3 { font-size: clamp(22px, 3vw, 30px); margin: 8px 0 12px; }
.v2-person { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; box-shadow: var(--shadow-card); }
.v2-person__photo { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; background: var(--wash); display: grid; place-items: center; }
.v2-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.v2-person__initials { font-size: 48px; font-weight: 800; color: var(--accent); }
.v2-person__facts { margin: 14px 0; padding-left: 18px; display: grid; gap: 6px; color: var(--grey); font-size: 15px; }
.v2-person__facts li::marker { color: var(--accent); }

/* ---------- Privacy note under the form ---------- */
.v2-privacy { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; font-size: 13px; color: var(--grey); line-height: 1.5; }
.v2-privacy a, .v2-footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.v2-privacy svg { width: 16px; height: 16px; flex: none; fill: var(--grey); margin-top: 2px; }

/* ---------- FAQ ---------- */
.v2-faq { max-width: 820px; }
.v2-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-top: 10px; }
.v2-faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.v2-faq details[open] summary::after { content: "\2212"; }
.v2-faq details p { color: var(--grey); padding: 0 0 16px; }

/* ---------- Final CTA + footer ---------- */
.v2-final { background: var(--deep); color: var(--deep-muted); padding: clamp(56px, 8vw, 88px) 0; text-align: center; }
.v2-final .v2-h2 { margin: 0 auto 12px; }
.v2-final p { margin-bottom: 24px; }
.v2-footer { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.v2-footer__logo { height: 22px; width: auto; }

/* ---------- Sticky mobile CTA ---------- */
.v2-sticky { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .v2-hero__grid, .v2-calc { grid-template-columns: 1fr; gap: 28px; }
  .v2-steps, .v2-apps, .v2-stats, .v2-fit { grid-template-columns: 1fr; }
  .v2-person { grid-template-columns: 1fr; text-align: left; }
  .v2-person__photo { width: 112px; height: 112px; }
  .v2-person__initials { font-size: 34px; }
}
@media (max-width: 600px) {
  .v2-cta { justify-items: stretch; }
  .v2-cta .btn { width: 100%; }
  .v2-trust { flex-direction: column; gap: 6px; margin-top: 24px; }
  .v2-proofcard__big { font-size: 40px; }
  .v2-sticky {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s var(--ease);
  }
  .v2-sticky.is-on { transform: none; }
  body { padding-bottom: 76px; }
}
