/* ─── Base page tone ─────────────────────────────────────── */
.b2b-page { background: #f6f5f0; color: #23362d; height: auto; min-height: 100%; }
.b2b-page:before { display: none; }
.b2b-page header { position: relative; z-index: 10; }
.b2b-page h1, .b2b-page h2, .b2b-page h3 { color: #20342b; }
.b2b-page h2 {
  font-size: clamp(31px, 3.7vw, 53px);
  line-height: 1.13;
  letter-spacing: -1.5px;
  font-weight: 500;
  margin: 14px 0 30px;
}
.b2b-page h3 { font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -.4px; margin: 16px 0 12px; }
.b2b-page em { font-family: Georgia, serif; font-style: normal; font-weight: 400; color: #8250b3; }
.b2b-eyebrow { font-size: 10px; letter-spacing: 1.8px; font-weight: 600; text-transform: uppercase; color: #4d6559; }

/* ─── Hero: full-bleed 3D view, overlaid text ───────────────
   Matches the sticky-stage/hero-copy/bottom-bar pattern used on the
   other interactive service pages, instead of the reference's own
   boxed two-column layout. */
.b2b-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 30%, #d7e9e7, transparent 60%), linear-gradient(120deg, #d7e1d9, #b0cfd0);
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}
.b2b-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(215,233,231,.95) 0%, rgba(215,233,231,.8) 28%, rgba(215,233,231,0) 58%);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 768px) {
  .b2b-hero::before {
    background: linear-gradient(180deg, rgba(215,233,231,.96), rgba(215,233,231,.68) 34%, rgba(215,233,231,0) 62%);
  }
}

.b2b-experience { position: absolute; inset: 0; }
.b2b-experience #b2b-view {
  position: absolute;
  inset: 0;
  height: auto;
  touch-action: pan-y;
  cursor: grab;
}
.b2b-experience canvas { display: block; width: 100%; height: 100%; }
#b2b-load { position: absolute; top: 45%; text-align: center; width: 100%; font-size: 14px; z-index: 1; }

.b2b-intro {
  position: absolute;
  left: 6%;
  top: 13%;
  width: 38%;
  max-width: 535px;
  z-index: 2;
}
.b2b-intro h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -3px;
  font-weight: 500;
  margin: 16px 0;
}
.b2b-lead { font-size: 15px; line-height: 1.7; max-width: 355px; margin: 0 0 10px; color: #445a4e; }
.b2b-copy { font-size: 15px; line-height: 1.7; max-width: 405px; margin: 0 0 26px; color: #445a4e; }

.b2b-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: #8250b3;
  border-radius: 30px;
  padding: 13px 22px;
  color: #fff;
  font: 500 13px/1.5 inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.b2b-button:hover { background: #643494; color: #fff; }
.b2b-button:disabled { opacity: .45; cursor: default; }
.b2b-secondary { background: transparent; color: #294236; border-color: #698276; }
.b2b-secondary:hover { background: #e9f0e9; color: #294236; }

/* ─── Demo panel: one bottom-anchored bar spanning the same
   width as the other pages' tabs, with its content in normal
   flow inside it (heading/title/state, then the full-width
   control row, then the AR note and micro copy). ───────────── */
.b2b-demo-ui {
  position: absolute;
  left: 6%;
  right: 5%;
  bottom: 18px;
  z-index: 2;
}
.b2b-demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 480px; }
#b2b-count { font-size: 11px; color: #4d6559; }
.b2b-demo-ui h2 { font-size: clamp(18px, 2vw, 23px); letter-spacing: -.4px; line-height: 1.15; margin: 4px 0 3px; max-width: 480px; }
.b2b-demo-ui #b2b-state { font-size: 12px; min-height: 16px; margin: 0 0 8px; color: #445a4e; max-width: 480px; }
#b2b-ar-note { font-size: 12px; color: #59396c; margin: 6px 0 0; }
#b2b-ar-note:empty { display: none; }

.b2b-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid #5b7c6955;
  padding-top: 10px;
}
.b2b-controls .b2b-button { padding: 10px 18px; font-size: 12px; }
.b2b-reset {
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  font: 12px inherit;
  color: #365343;
  padding: 0;
  cursor: pointer;
}
.b2b-micro {
  font-size: 10px;
  line-height: 1.6;
  color: #4c6657;
  margin: 12px 0 0;
  max-width: 410px;
}

/* ─── Content sections below the hero ───────────────────── */
.b2b-section { max-width: 1140px; padding: 66px 24px; margin: auto; }
.b2b-value { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.b2b-value p:not(.b2b-eyebrow) { line-height: 1.85; font-size: 15px; color: #506055; margin: 0 0 16px; }
.b2b-value > div:nth-child(2) { padding-top: 18px; }
.b2b-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.b2b-formats article { border-top: 1px solid #bdc7bd; padding-top: 22px; }
.b2b-number { color: #8250b3; font-size: 11px; letter-spacing: 1px; }
.b2b-formats p, .b2b-process p, .b2b-faq p { font-size: 14px; line-height: 1.8; color: #566159; }
.b2b-use { font-style: italic; }
.b2b-band { background: #e5e9e1; }
.b2b-textlink { color: #6e3f9b; text-underline-offset: 5px; font-size: 13px; }
.b2b-process { list-style: none; counter-reset: step; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.b2b-process li { border-top: 1px solid #bdc7bd; padding-top: 18px; counter-increment: step; }
.b2b-process li:before { content: '0' counter(step); color: #8250b3; font-size: 12px; }
.b2b-process h3 { font-size: 18px; }
.b2b-faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.b2b-faq details { border-bottom: 1px solid #cbd1c7; padding: 18px 0; }
.b2b-faq summary { font-size: 15px; cursor: pointer; padding-right: 16px; }
.b2b-cta { text-align: center; padding-top: 46px; padding-bottom: 80px; }
.b2b-cta h2 { font-size: clamp(36px, 4vw, 54px); }
.b2b-cta > p:not(.b2b-eyebrow) { max-width: 520px; margin: 0 auto 25px; color: #526357; font-size: 15px; line-height: 1.8; }
.b2b-page footer { margin-top: 0; }
.b2b-skip { position: absolute; top: -80px; left: 10px; z-index: 100; background: #fff; padding: 12px; }
.b2b-skip:focus { top: 8px; }
.b2b-page :focus-visible { outline: 3px solid #8250b3; outline-offset: 4px; }
.b2b-page [hidden] { display: none !important; }

/* ─── AR overlay ─────────────────────────────────────────── */
#b2b-ar-overlay { position: fixed; inset: 0; z-index: 10000; pointer-events: none; font: 14px/1.5 system-ui; color: #fff; }
.b2b-ar-top { display: flex; justify-content: space-between; align-items: flex-start; padding: max(18px, env(safe-area-inset-top)) 18px 0; gap: 16px; }
.b2b-ar-top p { background: #16291fdd; border-radius: 12px; padding: 12px; margin: 0; max-width: 75%; }
.b2b-ar-top button { pointer-events: auto; border: 0; border-radius: 50%; background: #16291fdd; color: #fff; width: 44px; height: 44px; font-size: 28px; cursor: pointer; }
.b2b-ar-bottom { position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); left: 16px; right: 16px; padding: 15px; background: #16291fee; border-radius: 18px; display: flex; flex-wrap: wrap; gap: 10px; pointer-events: auto; }
.b2b-ar-bottom label { display: flex; align-items: center; gap: 14px; width: 100%; font-size: 12px; }
.b2b-ar-bottom input { flex: 1; accent-color: #b696d6; }
.b2b-ar-bottom .b2b-secondary { color: #fff; border-color: #a3b5a7; }
.b2b-ar-bottom .b2b-secondary:hover { color: #20342b; }
.b2b-ar-canvas { position: fixed; inset: 0; z-index: 9990; }
.b2b-ar-active { overflow: hidden; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .b2b-intro { width: 55%; }
  .b2b-demo-ui { max-width: none; right: 5%; }
  .b2b-value { gap: 30px; }
  .b2b-process { grid-template-columns: repeat(2, 1fr); }
  .b2b-formats { gap: 20px; }
}
@media (max-width: 700px) {
  .b2b-hero { min-height: 100svh; }
  .b2b-intro { left: 6%; top: 10%; width: 88%; max-width: none; }
  .b2b-intro h1 { font-size: 36px; letter-spacing: -1.3px; margin: 12px 0; }
  .b2b-lead, .b2b-copy { font-size: 13px; max-width: 100%; line-height: 1.6; }
  .b2b-copy { margin-bottom: 16px; }
  .b2b-demo-ui { bottom: 14px; }
  .b2b-demo-ui h2 { font-size: 20px; }
  .b2b-controls { gap: 12px; }
  .b2b-micro { display: none; }
  .b2b-section { padding: 44px 22px; }
  .b2b-value, .b2b-faq { grid-template-columns: 1fr; gap: 10px; }
  .b2b-value > div:nth-child(2) { padding-top: 0; }
  .b2b-formats { grid-template-columns: 1fr; gap: 20px; }
  .b2b-formats p { margin: 10px 0; }
  .b2b-process { gap: 18px; }
  .b2b-page h2 { margin-bottom: 20px; }
  .b2b-cta { padding-bottom: 50px; }
  .b2b-page .container { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
