/* ── Boop case study ── */

/* ─ Phone frame ─ */
.boop-phone__frame {
  background: #1C1C1E;
  border-radius: 32px;
  padding: 4px;
  box-shadow:
    0 24px 64px rgba(0,0,0,.4),
    0 0 0 1px rgba(255,255,255,.07);
}

.boop-phone__frame--lg {
  width: 280px;
  flex-shrink: 0;
}

/* ─ Screen base ─ */
.boop-screen {
  border-radius: 29px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem 1rem;
  gap: 0.5rem;
  min-height: 420px;
  position: relative;
}

.boop-screen--light {
  background: #ECF0F6;
  align-items: center;
  text-align: center;
}

.boop-screen--splash {
  background: linear-gradient(175deg, #F5F6F8 0%, #E8EBF2 100%);
  align-items: center;
}

.boop-screen--scanner {
  background: #F2F4F8;
  align-items: flex-start;
  overflow: hidden;
}

.boop-screen--home {
  background: #ECF0F6;
  align-items: flex-start;
  gap: .5rem;
  min-height: 520px;
  padding: 1rem .75rem;
}

/* ─ Logo ─ */
.boop-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #070707;
  display: flex;
  align-items: center;
  gap: 0;
}

.boop-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #070707;
  border-radius: 50%;
  margin: 0 1px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* ─ Splash ─ */
.boop-splash-headline {
  font-size: 0.75rem;
  font-weight: 500;
  color: #3A3A3A;
  line-height: 1.45;
  max-width: 140px;
  text-align: center;
}

.boop-splash-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 100%;
  padding-bottom: .25rem;
}

.boop-splash-hand {
  width: 64px;
  height: 72px;
  background: linear-gradient(160deg, #F5CAB8 0%, #EDAA90 100%);
  border-radius: 10px 10px 6px 6px;
  position: relative;
  bottom: -4px;
}

.boop-splash-hand::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 9px;
  width: 46px;
  height: 12px;
  background: linear-gradient(160deg, #F5CAB8 0%, #EDAA90 100%);
  border-radius: 4px 4px 0 0;
  box-shadow: -7px 2px 0 #F5CAB8, 7px 2px 0 #F5CAB8, -14px 4px 0 rgba(237,170,144,.7);
}

.boop-splash-scanner {
  width: 56px;
  height: 16px;
  background: #1A1A1A;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
}

.boop-splash-scanner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 2px;
  background: rgba(80,210,180,.7);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(80,210,180,.9);
}

.boop-splash-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 100%;
  margin-top: .5rem;
}

/* ─ Buttons (inside phone screens) ─ */
.boop-btn-dark {
  background: #070707;
  color: #fff;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.boop-btn-ring {
  background: transparent;
  color: #070707;
  border: 1px solid #C4C8D2;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

/* ─ Onboarding text ─ */
.boop-ob-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #070707;
  line-height: 1.2;
}

.boop-ob-body {
  font-size: 0.75rem;
  color: #6B6B70;
  line-height: 1.55;
  max-width: 170px;
}

/* ─ Illustration ─ */
.boop-illus {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boop-illus__circle {
  width: 130px;
  height: 130px;
  background: #E2E5EE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Identity figure */
.boop-illus--identity .boop-illus__figure {
  width: 52px;
  height: 62px;
  position: relative;
}

.boop-illus--identity .boop-illus__figure::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #5CBCB0;
  box-shadow: 0 0 0 5px rgba(92,188,176,.12);
}

.boop-illus--identity .boop-illus__figure::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 34px;
  border-radius: 38px 38px 0 0;
  border: 1.5px solid #5CBCB0;
  border-bottom: none;
}

/* Palm */
.boop-illus--palm .boop-illus__palm {
  width: 48px;
  height: 58px;
  background: linear-gradient(150deg, #F5C5B0 0%, #E8956A 100%);
  border-radius: 10px 10px 5px 5px;
  position: relative;
}

.boop-illus--palm .boop-illus__palm::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 8px;
  width: 32px;
  height: 12px;
  background: linear-gradient(150deg, #F5C5B0 0%, #E8956A 100%);
  border-radius: 4px 4px 0 0;
  box-shadow: -6px 2px 0 #F5C5B0, 6px 2px 0 #F5C5B0;
}

/* ─ Progress bar ─ */
.boop-progress-bar {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.boop-progress-bar__seg {
  flex: 1;
  height: 2.5px;
  background: #D5D8E2;
  border-radius: 2px;
}

.boop-progress-bar__seg--on {
  background: #070707;
}

/* ─ DOB picker ─ */
.boop-dob {
  width: 100%;
  position: relative;
  margin: .5rem 0;
}

.boop-dob__track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 32px;
  transform: translateY(-50%);
  background: rgba(0,0,0,.04);
  border-radius: 8px;
  pointer-events: none;
}

.boop-dob__cols {
  display: flex;
  gap: .25rem;
  position: relative;
  z-index: 1;
}

.boop-dob__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.boop-dob__item {
  font-size: 0.75rem;
  font-weight: 500;
  color: #A0A3AE;
  padding: 0.25rem 0;
}

.boop-dob__item--sel {
  font-size: 0.75rem;
  font-weight: 700;
  color: #070707;
}

.boop-dob__item--dim {
  opacity: .5;
  font-size: 0.5rem;
}

/* ─ Success ─ */
.boop-success {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boop-success__ring {
  width: 110px;
  height: 110px;
  background: #E2E5EE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─ Scanner screen ─ */
.boop-scanner-opts {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 100%;
  z-index: 1;
  position: relative;
}

.boop-scanner-opt {
  background: #fff;
  border-radius: 12px;
  padding: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.boop-scanner-opt__icon {
  font-size: 1rem;
  opacity: .5;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.boop-scanner-opt__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #070707;
  margin-bottom: .15rem;
}

.boop-scanner-opt__sub {
  font-size: 0.5rem;
  color: #888;
  line-height: 1.4;
}

.boop-scanner-opt__caret {
  font-size: 0.75rem;
  color: #C0C3CC;
  margin-left: auto;
  flex-shrink: 0;
}

.boop-scanner-wave {
  position: absolute;
  bottom: -60px;
  left: -40px;
  right: -40px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #D8C8B8 0%, #C8D0D8 40%, #D0C8D0 70%, transparent 100%);
  opacity: .55;
}

/* ─ Home / transactions ─ */
.boop-home-hd { width: 100%; }

.boop-home-title {
  font-size: 1rem;
  font-weight: 700;
  color: #070707;
}

.boop-home-sub {
  font-size: 0.5rem;
  color: #999;
  margin-top: .1rem;
}

.boop-empty-card {
  background: #fff;
  border: 1.5px dashed #CDD0D8;
  border-radius: 12px;
  padding: 0.5rem .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: .5rem;
}

.boop-empty-card__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #070707;
}

.boop-empty-card__sub {
  font-size: 0.5rem;
  color: #999;
  margin-top: .1rem;
}

.boop-pts {
  background: #E8F4E8;
  color: #3A8A3A;
  border-radius: 999px;
  padding: .1rem 0.25rem;
  font-size: .5rem;
  font-weight: 600;
}

.boop-add-btn {
  background: #070707;
  color: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.5rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.boop-tx-date {
  font-size: 0.5rem;
  color: #999;
  font-weight: 500;
}

.boop-tx-group {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.boop-tx {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem .75rem;
}

.boop-tx--border {
  border-top: 1px solid #F0F0F4;
}

.boop-tx__name {
  font-size: 0.75rem;
  font-weight: 500;
  color: #070707;
}

.boop-tx__time {
  font-size: 0.5rem;
  color: #B0B3BC;
}

.boop-tx__amt {
  font-size: 0.75rem;
  font-weight: 500;
  color: #070707;
}

.boop-tx__rejected {
  font-size: 0.5rem;
  font-weight: 500;
  color: #D94040;
}

.boop-tx__tag {
  display: inline-block;
  background: #7B5EA7;
  color: #fff;
  border-radius: 999px;
  padding: .1rem 0.5rem;
  font-size: .5rem;
  font-weight: 500;
  margin-top: .15rem;
}

.boop-tx-sigs {
  padding: .5rem .75rem;
  font-size: 0.5rem;
  color: #3B82F6;
  font-weight: 500;
  border-top: 1px solid #F0F0F4;
}

.boop-bottom-nav {
  margin-top: auto;
  background: #fff;
  border-radius: 20px;
  padding: .5rem 0;
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.boop-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #B0B3BC;
}

.boop-nav-item span {
  font-size: 0.5rem;
  font-weight: 500;
}

.boop-nav-item--on {
  color: #070707;
}

/* ─ Cover hero photo ─ */
.boop-hero-cover {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg, 1.5rem);
  overflow: hidden;
}

.boop-hero-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
}

/* ─ Boop initial sketch ─ */
.boop-sketch-wrap {
  margin-top: 1.5rem;
  border-radius: var(--radius, 1rem);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.boop-sketch-img {
  width: 100%;
  height: auto;
  display: block;
}

.boop-sketch-caption {
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  line-height: 1.55;
}

/* ─ First Approach block ─ */
.boop-first-approach {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.boop-fa__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin: 0.5rem 0 1rem;
}

.boop-fa__desc {
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* Individual sketch section item */
.boop-sketch-item {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.boop-sketch-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.boop-sketch-item__header {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: 1rem;
}

.boop-sketch-sec__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  flex-shrink: 0;
}

.boop-sketch-sec__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.boop-sketch-item__img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius, .75rem);
  background: #fff;
  margin-bottom: 1rem;
}

/* Multi-screen grid (registration etc.) */
.boop-screen-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
  margin-bottom: 1rem;
}
.boop-screen-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: #fff;
}

@media (max-width: 900px) {
  .boop-screen-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .boop-screen-grid { grid-template-columns: repeat(2, 1fr); }
}

.boop-sketch-item__desc {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.7;
  max-width: 560px;
}

/* ── Hi-fi screens sections ── */
.boop-hifi-screens-wrap {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.boop-hifi-section__header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.boop-phone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.boop-phone-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: #f5f5f5;
}

@media (max-width: 900px) {
  .boop-phone-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .boop-phone-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── iPhone demo + flow screens row ── */
.bd-demo-wrap {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin: 4rem 0;
}

.bd-flow-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.bd-flow-nav__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  opacity: .25;
  cursor: pointer;
  transition: opacity .15s;
}

.bd-flow-nav__item:hover       { opacity: .5; }
.bd-flow-nav__item.is-active   { opacity: 1; }

@media (max-width: 720px) {
  .bd-demo-wrap { flex-direction: column; align-items: center; }
}

/* ── Phone + Cards composition (boop.it) ── */
.boop-s3-wrap {
  overflow: visible;
  padding: 3rem 0 5rem;
  display: flex;
  justify-content: flex-start;
}
.s3-composition {
  position: relative;
  width: 640px;
  height: 640px;
  overflow: visible;
  flex-shrink: 0;
}
.s3-iphone-wrap { position: absolute; left: 160px; top: 30px; z-index: 10; }
.iphone17-frame {
  position: relative;
  width: 260px;
  background: linear-gradient(160deg, #2c2c2e, #1a1a1c);
  border-radius: 50px;
  padding: 13px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 0 2px #000,
              0 50px 100px rgba(0,0,0,.8), 0 20px 40px rgba(0,0,0,.5);
}
.iphone17-dynamic-island {
  position: absolute; top: 21px; left: 50%; transform: translate(-50%);
  width: 84px; height: 26px; background: #000; border-radius: 13px; z-index: 10;
}
.iphone17-btn-action  { position: absolute; left: -3px; top:  94px; width: 3px; height: 24px; background: #3a3a3c; border-radius: 2px 0 0 2px; }
.iphone17-btn-vol-up  { position: absolute; left: -3px; top: 130px; width: 3px; height: 34px; background: #3a3a3c; border-radius: 2px 0 0 2px; }
.iphone17-btn-vol-down{ position: absolute; left: -3px; top: 173px; width: 3px; height: 34px; background: #3a3a3c; border-radius: 2px 0 0 2px; }
.iphone17-btn-side    { position: absolute; right:-3px; top: 138px; width: 3px; height: 64px; background: #3a3a3c; border-radius: 0 2px 2px 0; }
.iphone17-screen { border-radius: 38px; overflow: hidden; line-height: 0; background: #f0f1f5; }
.iphone17-screen img { width: 100%; display: block; }

.s3-card {
  position: absolute; width: 300px; height: 189px;
  border-radius: 16px; overflow: hidden; will-change: transform, opacity;
}
.s3-card-texture {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(255,255,255,.018) 3px, rgba(255,255,255,.018) 6px);
  pointer-events: none; z-index: 0;
}
.s3-card-shine {
  position: absolute; top: 28px; left: -55%; width: 210%; height: 55px;
  background: rgba(255,255,255,.06); transform: rotate(20deg);
  pointer-events: none; z-index: 1;
}
.s3-card-shine--dark { background: rgba(0,0,0,.03); }
.s3-card-glint {
  position: absolute; inset: 0; width: 55%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0) 20%,
    rgba(255,255,255,.32) 42%, rgba(210,235,255,.28) 50%,
    rgba(255,210,230,.22) 58%, rgba(255,255,255,0) 80%, transparent 100%);
  transform: translate(-120%) skew(-8deg); opacity: 0;
  pointer-events: none; z-index: 20; border-radius: inherit;
}
.s3-card-chip {
  position: absolute; left: 24px; top: 58px;
  width: 44px; height: 34px; border-radius: 5px; z-index: 2;
}
.s3-card-chip--indigo { background: rgba(178,209,255,.38); border: 1px solid rgba(178,209,255,.8); }
.s3-card-chip--violet { background: rgba(217,184,255,.38); border: 1px solid rgba(217,184,255,.8); }
.s3-card-chip--dark   { background: rgba(128,128,128,.38); border: 1px solid rgba(128,128,128,.8); }
.s3-card-chip--white  { background: rgba(153,153,153,.38); border: 1px solid #999; }
.s3-card-mc { position: absolute; right: 20px; top: 18px; width: 48px; height: 30px; z-index: 2; }
.s3-card-mc::before, .s3-card-mc::after {
  content: ''; position: absolute; width: 30px; height: 30px; border-radius: 50%; top: 0;
}
.s3-card-mc::before { left: 0; background: #eb001b; }
.s3-card-mc::after  { right: 0; background: #f79e1b; opacity: .9; }
.s3-card-network {
  position: absolute; right: 20px; top: 20px; z-index: 2;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 20px; font-weight: 700; font-style: italic; color: rgba(255,255,255,.9);
}
.s3-card-number {
  position: absolute; left: 24px; bottom: 38px; z-index: 2;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px; color: rgba(255,255,255,.85); letter-spacing: 1.4px;
}
.s3-card-holder {
  position: absolute; left: 24px; bottom: 16px; z-index: 2;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 16px; font-weight: 500; color: rgba(255,255,255,.9); letter-spacing: .3px;
}
.s3-card-network--dark { color: rgba(10,10,10,.9); }
.s3-card-number--dark  { color: rgba(10,10,10,.85); }
.s3-card-holder--dark  { color: rgba(10,10,10,.9); }

.s3-card--festival,
.s3-card--active { background: transparent; border-radius: 11px; overflow: hidden; }
.s3-card--festival img { position: absolute; width: 139.84%; height: 130.32%; left: -20.78%; top: -15.62%; max-width: none; pointer-events: none; }
.s3-card--active  img { position: absolute; width: 139.38%; height: 131.53%; left: -20.51%; top: -15.77%; max-width: none; pointer-events: none; }

.s3-card--festival { left:   1px; top: 229px; z-index: 2; }
.s3-card--indigo   { background: #1a3a8b; left:  36px; top: 121px; z-index: 1; }
.s3-card--violet   { background: #3d1a6e; left:  40px; top:  53px; z-index: 3; transform: rotate(29.11deg); }
.s3-card--dark     { background: #2e2e2e; box-shadow: 0 0 8px rgba(255,255,255,.2); left: 199px; top: 37px; z-index: 4; transform: rotate(-69.94deg); }
.s3-card--white    { background: #fff;    left: 274px; top:  45px; z-index: 5; transform: rotate(-53.33deg); }
.s3-card--active   {                      left: 330px; top:  74px; z-index: 6; transform: rotate(-31.56deg); }

/* ─ Restaking hero screenshot ─ */
.rs-hero-cover {
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg, 1.5rem);
  overflow: hidden;
  background: #0f1117;
}

.rs-hero-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.boop-phone--left .boop-phone__frame,
.boop-phone--right .boop-phone__frame,
.boop-phone--center .boop-phone__frame {
  width: 185px;
}

.boop-phone--center .boop-phone__frame {
  width: 205px;
}

.boop-phone--left {
  transform: rotate(-4deg) translateY(18px);
}

.boop-phone--right {
  transform: rotate(4deg) translateY(18px);
}

/* ─ Onboarding flow ─ */
.boop-flow {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
}

.boop-flow__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.boop-flow__item .boop-phone__frame {
  width: 190px;
}

.boop-flow__label {
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  text-align: center;
}

.boop-flow__arrow {
  font-size: 1.25rem;
  color: var(--text-muted);
  padding-bottom: 3.5rem;
  flex-shrink: 0;
}

/* ─ Showcase (phone + copy) ─ */
.boop-showcase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-top: 2rem;
}
.boop-showcase__img {
  display: block;
  height: 420px;
  width: auto;
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.07);
}

.boop-showcase__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .75rem;
}

.boop-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.boop-feat-list li {
  font-size: 1rem;
  color: var(--text-sec);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.boop-feat-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .75rem;
  top: .15rem;
}

/* ── DS Color system ── */
.boop-ds-palettes {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.boop-ds-scale {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.boop-ds-scale__label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  width: 4rem;
  flex-shrink: 0;
}

.boop-ds-scale__swatches {
  display: flex;
  flex: 1;
  border-radius: .5rem;
  overflow: hidden;
}

.boop-ds-swatch {
  flex: 1;
  height: 36px;
  position: relative;
  cursor: default;
  transition: flex .2s;
}
.boop-ds-swatch:hover { flex: 2; }
.boop-ds-swatch:hover .boop-ds-swatch__tip { opacity: 1; }

.boop-ds-swatch__tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.85);
  color: #fff;
  font-size: .65rem;
  white-space: nowrap;
  padding: .2rem .4rem;
  border-radius: .25rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  z-index: 10;
}

/* Semantic token groups */
.boop-ds-token-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
  margin-top: 2.5rem;
}

.boop-ds-token-group__title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: .875rem;
}

/* Card-style token entry */
.boop-ds-token-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .625rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  margin-bottom: .375rem;
}
.boop-ds-token-card:last-child { margin-bottom: 0; }

.boop-ds-token-card__swatch {
  width: 44px;
  height: 44px;
  border-radius: .375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.08);
  letter-spacing: .02em;
}

.boop-ds-token-card__info { flex: 1; min-width: 0; }

.boop-ds-token-card__name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boop-ds-token-card__maps {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: .1rem;
}

@media (max-width: 900px) {
  .boop-ds-token-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .boop-ds-token-groups { grid-template-columns: 1fr; }
  .boop-ds-scale__label { display: none; }
}

/* ── Spacing ── */
.boop-ds-spacing {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.boop-ds-spacing__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr 3rem 3.5rem;
  gap: .75rem;
  align-items: center;
}
.boop-ds-spacing__name {
  font-size: .75rem;
  font-family: monospace;
  color: var(--text-sec);
}
.boop-ds-spacing__bar-wrap {
  height: 6px;
  background: rgba(255,255,255,.07);
  border-radius: 99px;
  overflow: hidden;
}
.boop-ds-spacing__bar {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  opacity: .85;
}
.boop-ds-spacing__px {
  font-size: .75rem;
  color: var(--text-primary);
  text-align: right;
  font-family: monospace;
}
.boop-ds-spacing__rem {
  font-size: .7rem;
  color: var(--text-muted);
  text-align: right;
  font-family: monospace;
}

/* ── Radius ── */
.boop-ds-radius-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1rem;
}
.boop-ds-radius-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
}
.boop-ds-radius-swatch {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  background: var(--surface);
}
.boop-ds-radius-name {
  font-size: .65rem;
  font-family: monospace;
  color: var(--text-sec);
  text-align: center;
  word-break: break-all;
}
.boop-ds-radius-px {
  font-size: .65rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .boop-ds-spacing__row { grid-template-columns: 5rem 1fr 2.5rem; }
  .boop-ds-spacing__rem { display: none; }
  .boop-ds-radius-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ── Typography scale ── */
.boop-ds-type-scale {
  display: flex;
  flex-direction: column;
}

.boop-ds-type-row {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--border);
}
.boop-ds-type-row:first-child { border-top: 1px solid var(--border); }

.boop-ds-type-token {
  font-size: .7rem;
  font-family: monospace;
  color: var(--text-muted);
  white-space: nowrap;
  padding-top: .15em;
}

.boop-ds-type-sample {
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
}

.boop-ds-type-meta {
  font-size: .7rem;
  font-family: monospace;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: right;
}

@media (max-width: 680px) {
  .boop-ds-type-row { grid-template-columns: 7rem 1fr; }
  .boop-ds-type-meta { display: none; }
}

/* ─ DS sub-section wrapper ─ */
.boop-ds-section {
  margin-top: 3.5rem;
}
.boop-ds-section__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 .375rem;
}
.boop-ds-section__desc {
  font-size: .825rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 560px;
  line-height: 1.55;
}

/* ─ Button component demo ─ */
.boop-btn-demo {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}
.boop-btn-group {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.boop-btn-group__label {
  font-size: .7rem;
  font-family: monospace;
  color: var(--text-muted);
  letter-spacing: .03em;
}
.boop-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.boop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 9999px;
  min-width: 260px;
  padding: 4px 16px;
  font-size: .875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background .15s, color .15s, border-color .15s;
  letter-spacing: .01em;
}
.boop-btn--lg { height: 55px; }
.boop-btn--sm { height: 48px; }

/* Primary */
.boop-btn--primary {
  background: #FEFEFE;
  color: #070707;
}
.boop-btn--primary:hover:not(:disabled) { background: #E5E5E5; }
.boop-btn--primary:disabled { background: #A4A7AE; color: #FEFEFE; cursor: not-allowed; }

/* Secondary */
.boop-btn--secondary {
  background: transparent;
  color: #FEFEFE;
  border: 1px solid rgba(255,255,255,.35);
}
.boop-btn--secondary:hover:not(:disabled) { border-color: rgba(255,255,255,.6); }
.boop-btn--secondary:disabled { border-color: #A4A7AE; color: #A4A7AE; cursor: not-allowed; }

/* Tertiary */
.boop-btn--tertiary {
  background: transparent;
  color: #717680;
  border: none;
  border-bottom: 1px solid #717680;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  min-width: auto;
  height: auto;
}
.boop-btn--tertiary:hover:not(:disabled) { color: rgba(113,118,128,.8); border-color: rgba(113,118,128,.8); }
.boop-btn--tertiary:disabled { color: #A4A7AE; border-color: #A4A7AE; cursor: not-allowed; }

/* Specs table */
.boop-btn-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .375rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: var(--surface);
}
.boop-btn-specs__row {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.boop-btn-specs__key {
  font-size: .65rem;
  font-family: monospace;
  color: var(--text-muted);
}
.boop-btn-specs__val {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: monospace;
}
@media (max-width: 680px) {
  .boop-btn-specs { grid-template-columns: repeat(2, 1fr); }
  .boop-btn { min-width: 0; width: 100%; }
}

/* ─ Input component ─ */
.boop-input-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.boop-input-group__label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .5rem;
}
.boop-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.boop-input-box {
  height: 62px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  box-sizing: border-box;
}
.boop-input-box--default { border: 1px solid #A4A7AE; }
.boop-input-box--focus   { border: 2px solid #3B82F6; }
.boop-input-box--error   { border: 2px solid #EF4444; }
.boop-input-box--success { border: 2px solid #22C55E; }
.boop-input-box--disabled {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.boop-input-lbl {
  font-size: 12px;
  font-weight: 500;
  color: #A3A3A3;
  line-height: 1;
}
.boop-input-value {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1;
}
.boop-input-value--disabled { color: rgba(255,255,255,.25); }
.boop-input-placeholder {
  font-size: 15px;
  color: #A3A3A3;
  line-height: 1;
}
.boop-input-helper {
  font-size: .8rem;
  color: #64748b;
  line-height: 1.4;
}
.boop-input-helper--error   { color: #EF4444; }
.boop-input-helper--success { color: #22C55E; }
@media (max-width: 680px) {
  .boop-input-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─ Selector component ─ */
.boop-sel-demo {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.boop-sel-group__label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .5rem;
}
.boop-sel {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.08);
  height: 68px;
  border-radius: 100px;
  padding: 8px;
  width: 100%;
  max-width: 420px;
}
.boop-sel__item {
  flex: 1;
  height: 52px;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 12px;
  transition: background .15s, color .15s;
}
.boop-sel__item--active {
  background: rgba(255,255,255,.9);
  color: #070707;
  box-shadow: 0 0 4px 0 rgba(126,144,146,.2);
}

/* ─ Option Card component ─ */
.boop-optcard-demo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.boop-optcard-states {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.boop-optcard-group__label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .5rem;
}
.boop-optcard-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 420px;
}
.boop-optcard {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 80px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(203,213,225,.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color .15s;
}
.boop-optcard--selected {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.11);
}
.boop-optcard__radio {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.boop-optcard__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1;
}
@media (max-width: 680px) {
  .boop-optcard-states { grid-template-columns: 1fr; }
}

/* ─ Toggle component ─ */
.boop-toggle-demo { margin-bottom: 1.5rem; }
.boop-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-end;
}
.boop-toggle-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.boop-toggle-group__label {
  font-size: .7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.boop-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 62px;
  border-radius: 9999px;
  gap: 4px;
  box-sizing: border-box;
}
.boop-toggle--s { height: 28px; }
.boop-toggle--m { height: 32px; }
.boop-toggle--on  { background: #070707; padding: 2px 2px 2px 4px; }
.boop-toggle--off { background: #A3A3A3; padding: 2px 4px 2px 2px; }
.boop-toggle--disabled { opacity: .5; cursor: not-allowed; }
.boop-toggle__text {
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  user-select: none;
  white-space: nowrap;
}
.boop-toggle__knob {
  width: 24px;
  height: 24px;
  border-radius: 100px;
  background: #fff;
  flex-shrink: 0;
}
.boop-toggle__knob--m {
  width: 28px;
  height: 28px;
}
.boop-toggle__sublabel {
  font-size: 12px;
  color: #525252;
  white-space: nowrap;
}

/* ─ Transaction Item component ─ */
.boop-txn-list {
  max-width: 420px;
  margin-bottom: 1.5rem;
}
.boop-txn {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.boop-txn:last-child { border-bottom: none; }
.boop-txn__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.boop-txn__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: normal;
}
.boop-txn__time {
  font-size: 12px;
  color: var(--text-muted);
  line-height: normal;
}
.boop-txn__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  padding-left: 16px;
}
.boop-txn__amount {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}
.boop-txn__status {
  font-size: 16px;
  font-weight: 500;
}
.boop-txn__badge {
  font-size: 12px;
  font-weight: 300;
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
}
.boop-txn__badge--error   { background: rgba(153,27,27,.7); }
.boop-txn__badge--warning { background: rgba(245,158,11,.7); }
.boop-txn__badge--default { background: rgba(59,130,246,.7); }

/* ─ Stepper component ─ */
.boop-stepper-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.boop-stepper-group__label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .75rem;
}
.boop-stepper-rows {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.boop-stepper-row {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.boop-stepper-row__caption {
  font-size: .7rem;
  color: var(--text-muted);
  width: 2.25rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.boop-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.boop-stepper__seg {
  flex: 1;
  border-radius: 9999px;
  min-width: 1px;
}
.boop-stepper--sm .boop-stepper__seg { height: 4px; }
.boop-stepper--lg .boop-stepper__seg { height: 8px; }
.boop-stepper__seg--on  { background: rgba(255,255,255,.9); }
.boop-stepper__seg--off { background: rgba(255,255,255,.15); }
@media (max-width: 680px) {
  .boop-stepper-demo { grid-template-columns: 1fr; }
}

/* ─ Research benchmarking grid ─ */
.boop-research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.boop-research-grid__item--feature {
  grid-column: span 3;
}
.boop-research-grid__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 240px;
}
.boop-research-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.boop-research-grid__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 100%);
}

/* ─ Venta boxes (design principles) ─ */
.boop-venta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.boop-venta {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}
.boop-venta__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.boop-venta__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.boop-venta__desc {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ─ Steps ─ */
.boop-steps-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.boop-steps {
  display: flex;
  flex-direction: column;
}

.boop-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.boop-step:first-child {
  border-top: 1px solid var(--border);
}

.boop-step__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  min-width: 2rem;
  padding-top: .15rem;
}

.boop-step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.boop-step__body {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ─ Case study grid: sticky nav + content ─ */
.boop-case {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 5rem;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad) 8rem;
}

.boop-case__nav {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: .125rem;
}

.boop-case__nav-title {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  padding: 0 .75rem;
  margin-bottom: 1rem;
}

.boop-case__nav-item {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
  padding: .5rem .75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: color .2s, background .2s;
}

.boop-case__nav-item:hover  { background: var(--surface); color: var(--text-sec); }
.boop-case__nav-item.active { background: var(--surface); color: var(--text-primary); font-weight: 500; }

.boop-case__nav-item--sub {
  font-size: .75rem;
  padding-left: 2rem;
  position: relative;
}
.boop-case__nav-item--sub::before {
  content: '';
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--border-strong);
}

.boop-case__content { min-width: 0; }

.boop-case__block {
  margin-bottom: 12rem;
  scroll-margin-top: 90px;
}

.boop-case__block:last-child { margin-bottom: 0; }

/* ─ Section 2: Narrative grid ─ */
.boop-narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}

.boop-narrative-card {
  background: var(--surface, rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.boop-narrative-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ─ Quote placeholder ─ */
.boop-ph-quote {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--border);
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}

.boop-ph-quote svg { flex-shrink: 0; margin-top: 0.25rem; color: var(--text-muted); }

.boop-ph-quote__text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─ KPI list ─ */
.boop-kpi-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.boop-kpi {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.boop-kpi:first-child { border-top: 1px solid var(--border); }

.boop-kpi__num {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 3rem;
  padding-top: .15rem;
  flex-shrink: 0;
}

.boop-kpi__label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.boop-kpi__value {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ─ Section 3: Key Insight block ─ */
.boop-insight-block {
  background: var(--surface, rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  position: relative;
}

.boop-insight-block__label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.boop-insight-block__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-sec);
  font-style: italic;
}

/* ─ Placeholder block ─ */
.boop-ph-block { margin-top: 1.5rem; }

/* ─ Section 4: Iteration timeline ─ */
.boop-iter-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.boop-iter-step {
  flex: 1;
  min-width: 0;
}

.boop-iter-step__tag {
  display: inline-block;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--text-muted);
  margin-bottom: .75rem;
}

.boop-iter-step__tag--warn { background: rgba(251,191,36,.12); color: #FBBF24; }
.boop-iter-step__tag--ok   { background: rgba(52,211,153,.12); color: #34D399; }

.boop-iter-step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .5rem;
}

.boop-iter-step__desc {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.65;
}

.boop-iter-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
  padding-top: 1rem;
  flex-shrink: 0;
}

.boop-iter-connector__line {
  width: 1px;
  flex: 1;
  background: var(--border);
  min-height: 24px;
}

.boop-iter-connector__label {
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  padding: .5rem 0;
  white-space: nowrap;
}

/* ─ Section 6: Metrics ─ */
/* ─ Research & Usability Insights ─ */
.boop-insights { margin-bottom: 4.5rem; }
.boop-insights__heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 .75rem;
}
.boop-insight-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.boop-insight {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.boop-insight__num {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-top: .15rem;
}
.boop-insight__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1.125rem;
}
.boop-insight__block {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  margin-bottom: .875rem;
}
.boop-insight__block:last-child { margin-bottom: 0; }
.boop-insight__tag {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-muted);
}
.boop-insight__tag--pivot { color: var(--accent); }
.boop-insight__body p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 600px;
}

.boop-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.boop-metric {
  background: var(--surface, rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.boop-metric__val {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: .75rem;
}

.boop-metric__label {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─ Next Steps ─ */
.boop-next-steps {
  margin-top: 4rem;
}

.boop-next-steps__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.boop-next-steps__grid {
  display: flex;
  flex-direction: column;
}

.boop-next-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.boop-next-step:first-child { border-top: 1px solid var(--border); }

.boop-next-step__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  min-width: 2rem;
  padding-top: .15rem;
  flex-shrink: 0;
}

.boop-next-step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.boop-next-step__body {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ─ IA Steps ─ */
.boop-ia-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  counter-reset: ia-step;
}

.boop-ia-steps li {
  counter-increment: ia-step;
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.6;
}

.boop-ia-steps li:first-child { border-top: 1px solid var(--border); }

.boop-ia-steps li::before {
  content: counter(ia-step, decimal-leading-zero);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  min-width: 1.75rem;
  padding-top: 0.15rem;
  flex-shrink: 0;
}

.boop-ia-steps li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ─ IA Diagram ─ */
.boop-ia-diagram {
  overflow-x: auto;
  margin-top: 2.5rem;
  padding-bottom: 1rem;
}

.boop-ia-canvas {
  position: relative;
  width: 760px;
  height: 868px;
}

.boop-ia-svg {
  position: absolute;
  inset: 0;
  width: 760px;
  height: 868px;
  pointer-events: none;
}

.boop-ia-svg path {
  fill: none;
  stroke: rgba(255,255,255,0.22);
  stroke-width: 1.5;
  marker-end: url(#ia-arr);
}

.boop-ia-svg path.ia-no-marker {
  marker-end: none;
}

.boop-ia-svg path.ia-connector--error {
  stroke: rgba(220,90,70,0.5);
  stroke-dasharray: 5 4;
  marker-end: url(#ia-arr-err);
}

.ia-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 0.875rem;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--text-primary);
  font-weight: 500;
  box-sizing: border-box;
}

.ia-node--entry {
  background: var(--surface);
  border-color: rgba(255,255,255,0.22);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ia-node--highlight {
  border-color: rgba(204,255,0,0.35);
  background: rgba(204,255,0,0.05);
}

.ia-node--error {
  background: rgba(220,80,60,0.12);
  border: 1px dashed rgba(220,90,70,0.65);
  color: rgba(230,120,100,0.95);
}

.ia-node--feature {
  background: rgba(204,255,0,0.05);
  border-color: rgba(204,255,0,0.22);
  color: rgba(204,255,0,0.85);
}

.ia-node--sub {
  opacity: 0.75;
  font-size: 0.625rem;
}

/* ─ Responsive ─ */
@media (max-width: 1100px) {
  .boop-case { grid-template-columns: 1fr; gap: 0; padding-top: 3rem; }
  .boop-case__nav { position: static; flex-direction: row; flex-wrap: wrap; gap: .25rem; margin-bottom: 3rem; padding: 1rem; background: var(--surface); border-radius: 10px; }
  .boop-case__nav-title { display: none; }
  .boop-case__nav-item { font-size: .75rem; padding: 0.5rem 0.5rem; }
  .boop-showcase { grid-template-columns: 1fr; justify-items: center; }
  .boop-showcase__img { height: 300px; width: auto; }
  .boop-overview { grid-template-columns: 1fr; gap: 3rem; }
  .boop-venta-grid { grid-template-columns: repeat(2, 1fr); }
  .boop-research-grid { grid-template-columns: repeat(2, 1fr); }
  .boop-research-grid__item--feature { grid-column: span 2; }
  .boop-narrative-grid { grid-template-columns: 1fr; }
  .boop-metrics-grid { grid-template-columns: 1fr 1fr; }
  .boop-iter-timeline { flex-direction: column; }
  .boop-iter-connector { flex-direction: row; padding: 1rem 0; width: 100%; }
  .boop-iter-connector__line { width: 100%; height: 1px; flex: 1; }
  .boop-iter-connector__label { writing-mode: horizontal-tb; padding: 0 .75rem; }
}

@media (max-width: 900px) {
  .boop-flow {
    flex-wrap: wrap;
    justify-content: center;
  }
  .boop-flow__arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .boop-venta-grid { grid-template-columns: 1fr 1fr; }
  .boop-research-grid { grid-template-columns: 1fr 1fr; }
  .boop-research-grid__item--feature { grid-column: span 2; }
  .boop-cover {
    aspect-ratio: auto;
    padding: 2rem 1rem 0;
  }
  .boop-phone--left .boop-phone__frame,
  .boop-phone--right .boop-phone__frame {
    width: 140px;
  }
  .boop-phone--center .boop-phone__frame {
    width: 158px;
  }
  .boop-screen {
    min-height: 310px;
    padding: 1rem .75rem .75rem;
  }
}
